use an audited HKDF for deriving the quic reset key

In order to stop using a random reset key 3bcbd2cd5c3a8b9c1c57460fe0ad879d4949dfcb used the ed25519 private key as a seed to an rng in order to generate a 64 byte long reset key. This may not be cryptographically safe and should instead be replaced with an HKDF.
https://github.com/bmwill/anemo/commit/3bcbd2cd5c3a8b9c1c57460fe0ad879d4949dfcb#r90041540

This may not be cryptographically safe. Consider using an audited HKDF, as done e.g. in https://www.rfc-editor.org/rfc/rfc9001.html#initial-secrets.

Oh this is was already fixed :)


Don't overwrite logs

In MBExp.py, is there a reason you're saving logs.mat to the base log directory, and not the iter_dir? It seems like this overrides logs.mat at each iteration.
            savemat(
                os.path.join(self.logdir, "logs.mat"),  # <-- This line
                {
                    "observations": traj_obs,
                    "actions": traj_acs,
                    "returns": traj_rets,
                    "rewards": traj_rews
                }
            )

I would think you'd instead want
savemat(
    os.path.join(iter_dir, "logs.mat"),
    ...

but maybe I'm missing something.

Ah, I see now that traj_rets is the cumulative returns and not the last returns. Makes sense!


Error while reading GFF file

https://github.com/schneebergerlab/plotsr/issues/50#issuecomment-1584377737
Thank you very much/ Actually there were an empty line (sorry for the inconveniences).
However, now I get a new error:
track - WARNING - Reading GFF file Dtol_annotation_genes_polished.gff. Overlapping transcripts would be plotted as such without any filtering.
Traceback (most recent call last):
File "/home/bogaerts/miniconda3/bin/plotsr", line 4, in
import('pkg_resources').run_script('plotsr==0.5.3', 'plotsr')
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 662, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 1466, in run_script
exec(script_code, namespace, namespace)
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/EGG-INFO/scripts/plotsr", line 6, in
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/main.py", line 55, in main
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/plotsr.py", line 257, in plotsr
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 729, in readtrack
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 699, in readdata
File "/home/bogaerts/miniconda3/lib/python3.9/site-packages/plotsr-0.5.3-py3.9.egg/plotsr/func.py", line 688, in _readgff
AttributeError: 'NoneType' object has no attribute 'keys'
Thank you in advance.
@m-bogaerts

It seems that there is some issue in the formatting of the GFF file. Could you please compare your input GFF with the example GFF. Also, ensure that the transcripts have 'mrna' and 'cds' elements.

Hello again,
Thank you for your response, however y still have the same issue. I checked the example GFF file and I think it is very similar so I am not sure which could be the issue. I leave here some lines of m GFF file:
chr1	Liftoff	exon	15251069	15251169	.	-	.	ID=exon-XR_006747185.1-1;Parent=rna-XR_006747185.1;Dbxref=GeneID:123678035,Genbank:XR_006747185.1;experiment=COORDINATES: polyA evidence [ECO:0006239];gbkey=misc_RNA;gene=LOC123678035;product=protein disulfide-isomerase-like%2C transcript variant X2;transcript_id=XR_006747185.1;extra_copy_number=0
chr1	Liftoff	gene	15253501	15258586	.	-	.	ID=gene-LOC123677994;Dbxref=GeneID:123677994;Name=LOC123677994;gbkey=Gene;gene=LOC123677994;gene_biotype=protein_coding;coverage=1.0;sequence_ID=1.0;valid_ORFs=1;extra_copy_number=0;copy_num_ID=gene-LOC123677994_0
chr1	Liftoff	mRNA	15253501	15258586	.	-	.	ID=rna-XM_045614755.1;Parent=gene-LOC123677994;Dbxref=GeneID:123677994,Genbank:XM_045614755.1;Name=XM_045614755.1;experiment=COORDINATES: polyA evidence [ECO:0006239];gbkey=mRNA;gene=LOC123677994;model_evidence=Supporting evidence includes similarity to: 14 Proteins%2C 4 long SRA reads%2C and 100%25 coverage of the annotated genomic feature by RNAseq alignments%2C including 51 samples with support for all annotated introns;product=protein disulfide-isomerase A5;transcript_id=XM_045614755.1;matches_ref_protein=True;valid_ORF=True;extra_copy_number=0
Thank you in advance.

Difficult to say what are the issues with the GFF. I assume you have ensured that genes have mrna and cds elements. Also, remove any empty lines from the GFF.

Hello! I faced the same issue too.
Overlapping transcripts would be plotted as such without any filtering.
Traceback (most recent call last):
  File "/home/asan/miniconda3/envs/syri-env/bin/plotsr", line 6, in <module>
    main(sys.argv[1:])
  File "/home/asan/miniconda3/envs/syri-env/lib/python3.8/site-packages/plotsr/scripts/plotsr.py", line 334, in main
    plotsr(args)
  File "/home/asan/miniconda3/envs/syri-env/lib/python3.8/site-packages/plotsr/scripts/plotsr.py", line 276, in plotsr
    tracks = readtrack(TRACKS, chrlengths)
  File "/home/asan/miniconda3/envs/syri-env/lib/python3.8/site-packages/plotsr/scripts/func.py", line 857, in readtrack
    t.readdata(chrlengths)
  File "/home/asan/miniconda3/envs/syri-env/lib/python3.8/site-packages/plotsr/scripts/func.py", line 827, in readdata
    self._readgff(chrlengths)
  File "/home/asan/miniconda3/envs/syri-env/lib/python3.8/site-packages/plotsr/scripts/func.py", line 816, in _readgff
    k = list(model.keys())[0]
AttributeError: 'NoneType' object has no attribute 'keys'

There is no empty line in the gff.

@asan-emirsaleh Is your issue resolved?
@novigit Yes, theoretically that is possible. The tricky part is to find time to do that. Nevertheless, it would be great if you could list which feature types would be useful.


Overwrite Editor Font

Describe the bug
Changing the editor font doesn't work.
To Reproduce
Steps to reproduce the behavior:

Enable Rider's new ui (I haven't tried it with the current / 'old' ui)
Set the theme to VS 2019 Dark
Try to set the editor font to something else, e.g. JetBrains Mono
Editor font doesn't update to selected font

Expected behavior
The editor font should change.
Screenshots
n/a
Desktop (please complete the following information):

Build #RD-223.8617.53, built on January 25, 2023

Additional context
I'm able to overwrite the font when using other themes.

Nevermind, I found where to change it :)
It might be worth testing the theme with the new ui though.

@JacquesDoubell
Thanks for the question. Could you leave a little instruction for those who will face the same problem.
Thank you very much

It's under Editor - Font:


Prepare for 0.6.0 release

Codecov Report
Base: 86.45% // Head: 86.46% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (3028be5) compared to base (88b1afd).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3018      +/-   ##
==========================================
+ Coverage   86.45%   86.46%   +0.01%
==========================================
  Files          89       89
  Lines       34099    34099
==========================================
+ Hits        29479    29485       +6
+ Misses       4620     4614       -6

Impacted Files
Coverage Δ

src/rdo.rs
85.67% <0.00%> (-0.05%)
:arrow_down:

src/asm/x86/lrf.rs
94.11% <0.00%> (+0.63%)
:arrow_up:

src/context/transform_unit.rs
90.49% <0.00%> (+0.71%)
:arrow_up:

src/context/mod.rs
92.63% <0.00%> (+1.05%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

@lu-zero whenever you're ready to pull the trigger, since you have crates.io publish rights:

Merge this
Pull it down
cargo update (since we don't use lock files)
cd ivf && cargo publish && cd ..
cargo update again to pull in new ivf version
cargo publish for rav1e :tada:
Create and push git tag

You forgot the part about creating the branch for 0.6.x :)

Did the 0.6.0 release ever materialize? It would be great to have a new stable release!

I'll try to get it out, I hadn't time to prepare the release notes with all the benchmarks.

No worries, these things take a lot of effort.
Are the benchmarks the main culprit or the release notes itself? There are some tools for (semi-)automatic release note generation, I could suggest a setup if you did like that.
https://github.com/xiph/rav1e/projects/20 is an impressive looking list by the way!


Go 1.5 has a runtime dependency on go 1.4.2

This makes the go 1.5 closure about 171 MB larger than it needs to be.
$ nix-store -qR /nix/store/y4w3w7w7hhn087z8apd27swga11sigba-go-1.5
...
/nix/store/qkyzd4mh70rrg8zhsdwcmzrynij6m7qa-go-1.4.2
/nix/store/y4w3w7w7hhn087z8apd27swga11sigba-go-1.5

This appears to be caused by some references to source files in the go 1.5 executables:
$ strings /nix/store/y4w3w7w7hhn087z8apd27swga11sigba-go-1.5/share/go/pkg/bootstrap/bin/compile | grep qkyzd4mh7
/nix/store/qkyzd4mh70rrg8zhsdwcmzrynij6m7qa-go-1.4.2/share/go
/nix/store/qkyzd4mh70rrg8zhsdwcmzrynij6m7qa-go-1.4.2/share/go/src/text/tabwriter/tabwriter.go
/nix/store/qkyzd4mh70rrg8zhsdwcmzrynij6m7qa-go-1.4.2/share/go/src/hash/hash.go
...

@lethalman, @wkennington

Fixed by 645709eaa5a68da036132f274447b18198477e94


Screen Flickering

This is probably not something that can be fixed but I would like to know if that happens often before I buy another Jade.
I bought one of the first batches of the Jade but haven't been using it that much. I have been playing around with it recently and I noticed that the screen suddenly goes dark quite frequently, when clicking the button or scrolling.
Initially I thought the device died but after a few moments the display comes back up again. Sometimes it's dark for quite some time, though.
https://github.com/Blockstream/Jade/assets/18796117/e512362a-3701-48d7-9cbe-0e7707ec58d1
Is that a known problem? Is that still occurring in the newer models?

Thank you for your response. Yes, that's how it looks to me, too. I just wonder if that is something that is occuring often?

I am not aware ... @bitcoinhelp ?

Very strange, no that's not something I've seen before... If you want to reach out to help.blockstream.com we can look into a resolution here

All good, thanks. I ordered a new unit a few days ago.
As I said, I pre-ordered the current device when it came out, so it was one of the earlier batches and maybe had some shortcomings.


Feature/education

Added Patch Testing Instructions
:recycle: Current situation & Problem
In this tab, I put in a photo from Dr. Honari's slideshow along with the purpose and instructions of patch testing to serve as educational materials for users.
:bulb: Proposed solution
Describe the solution and how this affects the project and internal structure
:gear: Release Notes
Add a summary of the feature and possible migration guides if this is a breaking change so this section can be added to the release notes.
Include code snippets that provide examples of the feature implemented if it appends or changes the public interface.
:heavy_plus_sign: Additional Information
Provide some additional information if possible
Related PRs
Reference the related PRs
Testing
Are there tests included? If yes, which situations are tested, and which corner cases are missing?
Reviewer Nudging
Where should the reviewer start? Where is a good entry point?
Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[ ] I agree to follow the Code of Conduct and Contributing Guidelines.

@vishnuravi @PSchmiedmayer I had to manually disable a accessibility_label_for_image swiftlint error on line 28 of PatchTestingView. I tried to follow documentation here: https://realm.github.io/SwiftLint/accessibility_label_for_image.html but it seems that the fact that it is a return value inside a function makes it a bit more tricky. Modifying the line to return Image(uiImage: image).accessibilityLabel(Text("Infographic about allergy patch testing")) caused this build error: Cannot convert return expression of type 'ModifiedContent<Image, AccessibilityAttachmentModifier>' to return type 'Image'. I then tried to change the return type of patchImage but that caused more issues upstream in var body. Any ideas on how to best handle this accessibility error?


RSocketRequester should be a purely virtual class

We need to wrap the requester to due some application logic (specifically queue requests), but this isn't possible/easy due to it actually owning the state machine.

https://github.com/rsocket/rsocket-cpp/issues/490

cc @somasun @lehecka


Assume appscale-tools are installed as a Python package

https://ocd.appscale.com:8080/job/Daily Build/1454/


Update to opening paragraphs, citation of EDPB

Recognition of EDPB 1.0 guidelines into the opening paragraphs -- and some tweaking of language

I have reviewed and approve the changes.  Thank you.


Online checks should verify where the pods are running

Currently, we just verify that pods have at least one more sibling on the cluster. However, we don't verify where the pods are running. They could be running on the same node.

Closed via #418


Arbitrary notifier integrations with Jsonnet

Similar to Prometheus SD integrations, Alertmanager struggles with an increasing demand for more notifier integrations. We can only maintain so many of them ourselves, contributed integrations are often not great in quality and/or have no long-term maintainers.
Many requested integrations are not designed for reliable alert delivery, yet there's an understandable demand by people with low-risk environments (personal websites etc.). As Alertmanager really is only about making single API calls, which are generally REST APIs using JSON, it's not too crazy think about templating such calls.
Jsonnet is a JSON data templating language by Google. In the past there was no Go implementation but now there's one open sourced.
From my understanding it has reasonably matured semantics (certainly better than us providing something on top of Go templating).
I'd like to consider it to allow people templating of JSON payloads with it. Combined with templating of request URLs, this should be sufficient to let people integrate with almost anything today.
I realize its throwing another templating language into the game and even nesting them if some JSON fields should be templated additionally.
But generally those would be write-once per integration and are easy to share among users without us having any maintenance burden. Ultimately, we could probably even implement a lot of the existing integrations with it.
I'd like to investigate this. Would definitely need a proposal doc though.
@stuartnelson3  @leominov  @brian-brazil

One thing to consider is that errors are very inconsistently signalled. There's a good mix of 4xx, 5xx and message content - sometimes within the same integration.

It seems that accepting pull requests for new notifiers is no longer happening as the burden of maintaining them rests finally on the maintainers of alertmanager. In addition to the Telegram and Jira notifiers, AmazonSNS was not accepted (#709).
Having some kind of plugin system for these will help alleviate the burden off the alertmanager maintainers and back onto the plugin maintainer where it belongs. There will be an ever growing list of new notifiers or snowflake things users want so I would encourage moving that burden to those who can and want to have it.

https://github.com/hashicorp/go-plugin was recently brought to my attention, which seems like a well-used solution

How would that differ from the existing webhook? It looks like a slightly different way of doing the same thing.

It adds a degree of type safety since a plugin has to implement the interface we describe (in this case, the Notifier interface). I would initially propose using the basic rpc implementation, but defining the interface via gRPC would allow plugins in any language.
The communication is done via a unix socket within the system, which is managed by the library. Operationally I think this could be simpler than coordinating between AM config and the webhook's location. Deploying a single docker container packaged with the correct plugins could also be a win vs. deploying AM and various webhooks (in a kubernetes-like environment).
The bi-directional communication could (hopefully) make the connection between AM and a plugin feel like writing directly for the codebase.
Tangentially, success with this might lead to implementing a similar plugin SD architecture in prometheus (no idea if that has been mentioned at all).

That sounds like a more complicated and Go-specific way of doing things. There's nothing stopping users deploying all their webhooks into one binary today, the API/information a notifier gets is the same as what the webhook uses (i.e. there is no bi-directional communication), and Go plugins don't seem viable in our use case as we basically would have to distribute them all.
From Prometheus SD the plan is to stick with file_sd, but there'll be an example Go program that takes the internal SD API and writes out the file_sd file. A similar thing could work here, though given the simpler use case I'm not sure it'd save much effort.

I've written a design for how this could work with Jsonnet: https://docs.google.com/document/d/10PzPHOxrA9_3l0aYpmgt_j1NpGi1_o8f49IoEDB49Og/view
Still a little draft but I'm intending to prototype this as a webhook receiver.

Trying to do integration with IT helpdesk software Freshservice where it expects JSON in a fixed format. Since there is template support I thought I can modify the outgoing JSON content but  found only later that is not for Webhooks.
Similar to <email_config> text/html body template support, if we can also support Webhook json body template support, it would be useful or at least roll out this Jsonnet integration.
Thanks


Extend sysinfo to include instructlab packages

ilab sysinfo now prints versions of other InstructLab packages:
$ ilab sysinfo
...
instructlab-quantize.version: 0.1.0
instructlab-schema.version: 0.2.0
instructlab-sdg.version: 0.0.4
instructlab-training.version: 0.0.3
...

Checklist:

[x] Commit Message Formatting: Commit titles and messages follow guidelines in the
conventional commits.
[ ] Changelog updated with breaking and/or notable changes for the next minor release.
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.

instructlab-dolomite is an indirect dependency. I have only included direct dependencies.
I have now changed the code to auto-detect all packages with instructlab prefix in the current environment.


[idea for task] Can a language model drive a car?

In the US, more than 32 000 people are killed and 2 million are injured each year from motor vehicle crashes (source). Autonomous cars could greatly reduce the numbers.
Modern language models are general enough to solve some problems that are unrelated to text processing (for example, see this article). It would be interesting to apply them to the problem of autonomous driving.
In the simplest case, it could be a questionnaire (like the one you've probably encountered at your driving license test), with the questions about the rules, road signs, and specific driving situations. For example:
A driver on the right-hand side of the road who wants to turn left should do which of the following?
a. Move next to the center line, watch traffic to the rear, and give a directional signal.
b. Watch traffic to the rear, give a directional signal, and move next to the center line.
c. Give a directional signal, move to the center, and watch traffic to the rear.

In a more advanced implementation, we could use a toy environment similar to the famous Tetris racing game (maybe with more lanes and some road signals to make it more interesting):

As the input, we can use a text that corresponds to the front camera view of a car. For example, in the case of the Tetris racing, it could be a line like this: ######________#
As the target, we can use the driving decision, e.g. "turn left", "stop" etc

In the most advanced implementation, we can use one of the many open autonomous driving datasets, by automatically converting the street images into ANSI_art text:
  |

This is a really creative idea! Using ASCII art to convert things-like-seeing into things-like-language is  something I never anticipated.

I have made a simple autonomous car model powered by a Elegoo Uno R3 ( Arduino Variant ), 4 DC Motors, and an Ultrasonic sensor. And I coded a version of an autonomous car, so the Ultrasonic sensor senses a boundary and drivers from it. But, it has Half-Hazard Driving and not following a structure, just backing of from Obstacles. To make this more accurate and structured, we can add a line tracking module ( So that is in real life scenario staying on the road ), and MachineLearning Camera for accurate sensing of Cars, Pedestrians, and Obstacles. And of course more powerful motors, and finally coding in Algorithms to have a structured driving paths and if statements to add options, just like @RomanPlusPlus stated:
'''
A driver on the right-hand side of the road who wants to turn left should do which of the following?
a. Move next to the center line, watch traffic to the rear, and give a directional signal.
b. Watch traffic to the rear, give a directional signal, and move next to the center line.
c. Give a directional signal, move to the center, and watch traffic to the rear.
'''
Thanks for the Idea, I hope this helps with more Ideas.


add 'if exists' into MySQL DDL Creator

Same as postgresql
Please just discard this PR if you have any another plan about this.

Thanks!!!
DROP TABLE IF EXISTS MEMBER_ADDRESS;
Query OK, 0 rows affected (0.06 sec)

DROP INDEX IF EXISTS IX_MEMBER_MEMBER_NAME ON MEMBER;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF EXISTS IX_MEMBER_MEMBER_NAME ON MEMBER' at line 1

MySQL supports "IF EXISTS " for only table.
You cannot use for index.
The getIfExistsOption() is used by both table and index.
So it needs to fix logic of index DDL.
I will fix it after merging this pull-request.

I fixed it.
https://github.com/dbflute-session/erflute/commit/31fd9cbec695c38315b0ff174a93ab7a60ac0b3e
I will release later

I released it.
ERFlute-0.5.6
http://dbflute.seasar.org/ja/manual/function/helper/erflute/index.html#install


Building OpenCvSharpExtern unable to find project error

Hi when I open the solution and build openCvSharpExtern I get the build errors that OpenCvSharp.Extensions and OpenCvSharp.Blob project files may be invalid or missing targets required.
I manually added OpenCvSharp.Extensions to the solution and attempted to build.
My first error was "the type or namespace Mat can not be found. are you missing a using directive or an assembly?"
The files do include the using opencvsharp directive so im not sure what the problem is.

The error was with the .net framwork. The .csproj was set to net4.0 but the rest was compiled with net4.6. Im not sure what framework i should be using.

Hi @rijesha
Hmm... Did you trying to load OpenCvSharp.Tests? It is broken currently.
You should build OpenCvSharp.Tests.Windows for this project. Make sure your build platform is Win_x64. x64, x86, ARM, ARM64 is for Android build. And OpenCvSharp.Extensions's classes (bitmap converters etc) is in OpenCvSharp.Windows now.


[feature]: Preventing cascading force closes

In this issue issue I want to discuss potential approaches how to prevent potential cascading force closes on the lightning network and in particular LND.
So the general idea is to find a balance between the economic cost and the potential risk in doing so.

https://github.com/lightningnetwork/lnd/pull/9068 starts to cancel back dust before the commitment is confirmed because dust cannot be enforced anyways so this is purely a advantage to do, there is no more risk in doing so.
The second idea of mine is to cancel also non-dust htlcs. Here we are definitely in risk of loosing the amount if our peer decides to sweep the outgoing htlc with the preimage and we already have canceled back the incoming. So we need to be more specific how this should be done. In addition to this, force closing the incoming gives an attacker additional cost and also the lock-up of funds for the predefined csv period.

First question to ask: Is there any difference between waiting of the commitment transaction to be confirmed or even considering canceling non-dust back when the commitment is still unconfirmed?  I think we should wait until the commitment is confirmed because only then for anchor channels will we be able to see whether the remote party can sweep the preimage path (csv-lock of 1).
So if we have common ground that we wait for the commitment tx to confirm, to cancel back non-dust we should now define  rules when we should do this:

I think first we should only cancel the incoming back at almost the deadline limit (maybe +5 blocks) of the incoming timeout. There is no need to act immediately.
We should also only cancel back non-dust up to a certain amount: Here we should try to sort the outgoing htlcs according to their incoming channel so that we cancel back at least on the same channel to make it more likely to prevent FCs on the incoming links.
We should only attempt to cancel back incoming htlcs if we can be sure we at least tried to sweep the outgoing (enough wallet inputs available) and it is still unconfiirmed in the mempool, otherwise this might be too easy to exploit?

The third idea is to start not force-closing the outgoing channel due to dust htlcs, but this is only possible if the peer cancels the dust htlcs after the timeout passed, otherwise this would be exploitable, we need to make sure we force-close the channel as soon as our peer is breaking the rules (sending the preimage even after the timeout period). Maybe we should also only do this up to a certain amount so that its a balance between security and economic win.

We can probably also start non force-closing the outgoing for non-dust htlcs up to a certain amount. Maybe this should be done channel-specific, or even htlc specifc via an HTLC interceptor where the noderunner can decide whether he wants to force-close due to this htlc?

At the end these are all trade-offs but I want to kick of the discussion because the next mempool feespike might be around the corner and then those topics matter even more.

Related to 2-4:
I think another way of approaching this issue is to just give the node-runner the option to cancel a particular incoming htlc if the outgoing HTLC is already in the timeout period => so that the user does not have too much power. And also give the user  the ability to block force-closing an outgoing channel, this would then carnitine the outgoing htlc preventing it from resolving via the preimage path. So in case we are already passed timeout and all of a sudden the peer tries to resolve it with a preimage with force close the outgoing.
To sum it up, I think the user can make way more economical decisions (loosing inbound, current chain fees) rather than LND deciding it for every user?
thanks @feelancer21 for the discussion.

To sum it up, I think the user can make way more economical decisions (loosing inbound, current chain fees) rather than LND deciding it for every user?

Small addition: What also speaks in favor of leaving it to the user is that he can then also decide in the context of a cancelback how he wants to deal with this channel and possibly other channels of the peer for the time being. E.g. blocking further htlcs, not accepting new channels etc.

SGTM.

Seems reasonable.  The user could specify a cancel-back threshold in their config, beneath which upstream HTLCs would be cancelled on downstream force close.  Waiting until the deadline approaches seems best to me (which we could also do for (1) if we're writing the logic anyway).

3 & 4 seem sketchy.  The implementation sounds complex, and I'm not sure we should be jumping through hoops to keep a channel open when the peer has been unreliable lately.

1 and 2 yes, with a new config and a sane default which limits how much we could cancel. Not in favor of 3 and 4 tho as it violate the protocol, plus complexity, plus I think we should push for the direction of making channels more stable than enabling them to function still even if they are faulty.
Re 3 & 4, we could add a new whitelist config that, when set, the channels with them will never force close, given both nodes are managed by the same party.

Re 3 & 4, we could add a new whitelist config that, when set, the channels with them will never force close, given both nodes are managed by the same party.

Not sure. But economically, in my opinion, a decision will always be made in favor of an HTLC and not an entire node. If in doubt, we should leave features 3 and 4 alone for the time being.


Walk directories

Currently I can only fetch one file directly, but I'd like to be able to fetch all resources within a directory.
Some use-cases:

I want to be able to fetch all files in a directory, and filter them (for example, to only get files with a prefix test-a, or only get JSON files
I have a very organised directory structure, so that all subdirectories represent a test case with the same 4 files. I want to be able to

fetch all directories in commonTest/resources/test-cases/
convert each one to a 'test case' class with 4 properties (one for each file)
pass each 'test case' to my test

So, I would like to be able to load an arbitrary file-system item, and be able to determine if it is a file or directory (for example, the returned object is in a sealed-interface hierarchy, so I can use a type-check).

kotlinx-resources is modelled after Java's resources, so I'm tempted to approach it consistently… Boy, [is it ugly.] I(https://stackoverflow.com/a/3923685) I'm tempted to not include it for this reason, but your second use-case is somewhat compelling. I'm not certain how to design an API that is elegant and consistent under the same design principle. Suggestions welcomed. 🙂 I'll think more about this one, too.

I have two ideas:

Code generation
Define some interfaces interfaces.
sealed interface TestResource {
  val path: String

  interface Directory : TestResource {
    val contents: List<ResourceItem>
  }

  interface File: TestResource
}

Create a Gradle task that will generate some code for each discovered Directory, along with the file/dir contents.

Network-based filesystem

Use Okio's FileSystem. Using Ktor, create a server and client to send and receive file data. Use a Gradle Build Service to run the Ktor server.
This is less of an 'idea' and more of a 'total re-write'! But the advantage is that it's totally platform independent.

Vouch for a FileSystem-like API. It doesn't have to be overly complex.
For example java.nio.FileSystem exposes the root path, and from that you can explore sub paths, and check if they're directories or files.

@goncalossilva FYI https://github.com/Kotlin/kotlinx-io/pull/213, might be useful for this library use cases.

Nice! It definitely adds to your case above. Consistency is important. 👍


SapMonitor / Add backup charts, blocking processes

Added more charts for backup metrics and blocking processes

PR Checklist

[x] Explain your changes, so people looking at the PR know what and why, the code changes are the how.
[x] if updating templates, it is helpful to post a screenshot of what the changes look like.
[ ] if updating templates, ensure that your parameters and steps have meaningful names.
[ ] if adding new templates, ensure that your parameters and columns have display names.
[ ] if adding new templates, or changing items in a gallery, it's helpful to post a screenshot of what the gallery looks like now

The chart above is for one backup event?
What does the straight line for log mean?


Prevented current article showing in trending articles section

Hey!
This PRs only a small one, but it updates something that I just noticed while on the site.
Say if you go to an article, such as https://laravel.io/articles/using-database-transactions-to-write-safer-laravel-code, when you scroll to the bottom to the "Other articles you might like" section, the current article is in the list (the screenshot shows this).
I know that this isn't really a big issue and is probably unlikely to happen often. But, I've made a small PR which should prevent it in the future.
If this is something you might want to pull in, let me know if there are any changes I need to make :smile:

Thanks!


Git changes action always visible

When running with GIT enabled every editor gets a disabled "Open Changes" action. The command is enabled when the file in question has changes. This comes with a few concerns

We usually don't show disabled commands in prominent locations (editor context, title etc) because space is constrained
In past we only used to show the command for files with changes
The command shows for files that aren't under source control, like files that are explicitly git-ignored or files from my download-folder, etc

Fixed. Now, we should only show the action if the active file has changes.


[WIP] Symlinks for latest

Closes #86
Changes
Adds symlinks for projects we have content for.

Sensu core
Sensu enterprise
Sensu enterprise dashboard
Plugins

If your URL contains "latest" then the sidebar menu will be consistent and give you links that contain "latest", you can still navigate to the version numbers via the version dropdown.
Issues
On server start, there are a significant amount of warnings about duplicate menu items. This is because Hugo sees the symlinked files (identified by title) as duplicates being added to the menu, rather than the same item. Hugo only recently allowed symlinks 0.32, so I hope there's a way to suppress these eventually. Otherwise we would need to edit the front matter each time to change the menu they belong to (something like product-latest), which is not really sustainable. While these errors work locally, I don't believe they can be ignored on production.

I couldn't find any immediate solutions for this. Unsure if we should leave this for the time being, or just deal with the errors.

We've learned from the hugo community that symlinks won't work the way we want them to, in part because of how we have structured our menus.
This PR is superseded by #230 and https://github.com/sensu/heroku-buildpack-static/commit/ca2c0f210ad371ee5359ba92b6f6b1e202615599


WL-4661 - Quick links shouldn't display if there aren't any quicklinks.

Cherry-pick of SAK-31891

Could you leave it with the original SAK ref in the commit as it's much easier to spot that it's just a cherry-pick.
Putting WL-4661 at the end of the commit comment means jenkins picks it up.

Commit message changed.

Magic thanks, 🍰


select a complete calendar week when user taps on a date

we've set the firstWeekDay to 7. is it possible when a user taps on a single day/date --> to then automatically highlight a date range ? in our case we want to highlight from: the previous saturday and to: the following friday
following is a contrived example but would there for instance be any issue with calling calendar.select(xxx) from within the didSelect delegate method ?
func calendar(_ calendar: FSCalendar, didSelect date: Date, at monthPosition: FSCalendarMonthPosition) {

    let daysToAdd = 1

    var dateComponent = DateComponents()
    dateComponent.day = daysToAdd

    let futureDate = Calendar.current.date(byAdding: dateComponent, to: date)

    calendar.select(futureDate)
}

many thanks for this great library.

hi, sorted this out along the lines of above.

@SogoGolf @ajonno
how did you resolved it ?

put all the required dates into an array.
eg
private var newDates: [Date]
...
self.newDates = [
    day1, day2, day3, day4, day5, day6, day7
]

then just call the calendar components select method for each and every date
eg
self.newDates.forEach { (date) in
    self.calendar.select(date, scrollToDate: true)
}

hope that helps


Single CHANGELOG.md for the whole project

Motivations
In current shape it is possible to generate/update CHANGELOG.md per crate or to specify which crate is "special" and generate CHANGELOG.md only for it.
I would appreciate if there was an option to aggregate the changes to some root level CHANGELOG.md.
Let's say there is a workspace repo with 2 crates
Cargo.toml
project/
project-derive/
CHANGELOG.md

I don't want separate CHANGELOG.md files per crate and using the single-changelog I need to specify for which crate the changes will be considered to fill the CHANGELOG.md
What I want is for release-plz to allow me to specify the CHANGELOG.md in the root or maybe even have it set as default and update it with all the changes in the git project.

Would you like to implement this feature? n

Solution
It could be done either as:
[workspace]
changelog_path = "./CHANGELOG.md"

which would override the default settings and save the git changes to specified file
or maybe to allow specyfing multiple projects to use the same CHANGELOG.md
[workspace]
changelog_update = false

[[package]]
name = "project"
changelog_update = true
changelog_path = "./CHANGELOG.md"

[[package]]
name = "project-derive"
changelog_update = true
changelog_path = "./CHANGELOG.md"

Neither of those work in the current state unfortunately

Yes this seems about right. I'm thinking about mixing commits from both crates.
It could consider all the commits that match the conventional commits in the git repo and apply them in CHANGELOG.md.
The other solution in which user would define which crates changes should be added to CHANGELOG is also fine.

It could consider all the commits that match the conventional commits in the git repo

For this you would need to configure git-cliff accordingly. I'm not sure it's possible. Let me know.
By default, release-plz puts the non conventional commits under the "Other" section.

How would the resulting changelog look like?
Does it include commits for both the projects? Or does it distinguish the commits between the two projects?

For what it's worth, I would like to see the former. My project https://github.com/XAMPPRocky/rasn has one main crate, and a bunch of sub-crates that use the main crate to implement a standard. It would be great if it could any changes that affected a sub-crate as a separate heading in the CHANGELOG. Eg.
# 0.7.0

- Update Dependencies (#100) # Changes both `rasn` and `rasn-pkix`
- Fixed codec bug (#150) # Changes `rasn`

## rasn-pkix
- Update Dependencies (#100)
- Fixed CRL field tag (#200) # Changes `rasn-pkix`

This is not supported by git-cliff, the library we use to generate the changelog.
So we would need to replace it with our own changelog generation mechanism.

So we would need to replace it with our own changelog generation mechanism.

It's funny because I just added it to the project to see how it would look, and what the bot outputs to GitHub is basically what I want, so I assume that you use the same logic you're using for the bot, in the tool directly and have it output to one file rather than to each file.

when generating it for the first time, it's easy and your approach works.
The issue is updating it: we need to parse the markdown in the format specified by the user config.

The issue is updating it: we need to parse the markdown in the format specified by the user config.

Have you considered allowing users to specify a template for a release? That would mean you don't need to parse it and instead you could expose the abstract JSON to a template engine like Tera, and let the users generate the markdown, and then you just need parse enough to push it to the top of the CHANGELOG.

Isn't this what we already do?
Docs here.
We use git-cliff for changelog generation, which uses tera internally. 🤔

Isn't this what we already do?

Ah I guess, but what I'm more saying is to move the formatting generation inside release-plz, and then in tera you just provide the different projects as an array or map. Also in that documentation, it doesn't actually specify what context object's schema is (or show the default template as an example), so it's hard to know what fields are available.

then in tera you just provide the different projects as an array or map.

Does this require that release-plz scans the whole git history or similar?
Up until now the changelog mechanism was "append only".

Also in that documentation, it doesn't actually specify what context object's schema is (or show the default template as an example), so it's hard to know what fields are available.

100% agree. At the moment I link to the git-cliff config, but the git-cliff docs are huge. Most of the git-cliff docs are not relevant for release-plz. It would be nice to hide git-cliff to the user, managing the changelog configuration in release-plz.toml 👍

Does this require that release-plz scans the whole git history or similar?
Up until now the changelog mechanism was "append only".

I'm not entirely sure what you mean, what about providing the different projects in an array/map would require git history? I assumed that the changelog format would be for a "new entry", so the array/map would only contain projects who have new changes to be added.

Oh, I see! Maybe you want:
# Changelog

## crate1 [0.4.5] - 2023-06-09

### Added
- new awesome features

## crate2 [0.1.0] - 2023-06-09

### Added
- new fix

## crate1 [0.4.4] - 2023-06-09

### Added
- new features

I thought you wanted:
# Changelog

## crate1

### [0.4.5] - 2023-06-09

#### Added
- new awesome features

### [0.4.4] - 2023-06-09

#### Added
- new features

## crate2

### [0.1.0] - 2023-06-09

#### Added
- new fix

version 1 only changes the top of the changelog, so it's feasible 👍

@MarcoIeni Yes exactly, that the new crates are always appended to the changelog regardless of their actual version, because if I were to release a new crate in the same workspace at 0.1.0 I would still want it at the top of the changelog so people can see it, where as if I added a new crate to an existing workspace and it tried to match the position with the version position, then it would mean that recent changes would be buried under old changes.

We need it as well. Otherwise we get this instead of this (the second is manually constructed)

Maybe the changes of the second PR got lost?

@MarcoIeni My point is that we want to release a single package borsh, and when changes are only made to borsh-derive we still want to have the CHANGELOG to reflect those. We cannot simply pick one package to reflect the whole project changelog.
As you can see, there are only changes in borsh-derive crate since 1.0.0-alpha.1: https://github.com/near/borsh-rs/compare/borsh-v1.0.0-alpha.1...master, which is why release-plz does not  pick up anything useful into the automatically generated changelog.

would this fix your issue? Can you make an example of the changelog/changelogs you would like release-plz to generate?

@MarcoIeni That will probably work for borsh-rs, but it sounds like a more complex solution than just collecting all changes for the whole repo into a single CHANGELOG file. Do you have concerns about this approach? (This wouldn't work well for monorepos with several semi-independent crates, but will work great for borsh-rs, serde, tokio like repos)

Do you have concerns about this approach?

Yes, because as you said it doesn't work for everyone.
Not sure if the default behavior should be the one you described instead of the current one. Anyway, I think that the include option indicated in this issue should fix many issues. I'll try to find some time to work on it. In the meantime, if you want to see it sooner, PR is welcome!
Also, thanks a lot for your feedback, it helps me improving this project :)

@MarcoIeni I did not suggest to turn it by default (though, I would say that most often it is the desired behavior, and yet, I would not make this opinionated breaking change now)

I have implemented the changelog_include mechanism here. I released the new release-plz binary, but I haven't updated the GitHub action because one check is failing due to cargo. 😅

The changelog_include config option is not in release-plz action, too! (v0.5.17). 🥳
I'm closing this issue because this option seems to work for both frol and jawoznia. 👍
I wrote the feature request from XAMPPRocky in https://github.com/MarcoIeni/release-plz/issues/916 🙏

The changelog_include config option is not in release-plz action, too! (v0.5.17). 🥳 I'm closing this issue because this option seems to work for both frol and jawoznia. 👍 I wrote the feature request from XAMPPRocky in #916 🙏

there's a typo: is now in instead of is not in

Fixed, thanks!

@MarcoIeni You are the best! release-plz seems to be working as expected for borsh-rs now! https://github.com/near/borsh-rs/pull/197


feat(cmd/gf): add typeMapping and fieldMapping support in genpbentity

Introduced typeMapping to map database types to protobuf types.
Added fieldMapping for customizable field name conversion.

fixes gogf/gf#3685

@zishang520 It's aaaaaaaaaaaaawesome!👍👍👍👍


where is the SSI-DNN/pytorch_mobilevit_xs model?

Issue Type
Bug
Source
source
MCT Version
2.2.2
OS Platform and Distribution
No response
Python version
No response
Describe the issue
https://huggingface.co/SSI-DNN/pytorch_mobilevit_xs
Hello, when I try this "Model Quantization" part, the model cannot be downloaded ? where can I found the model?

Expected behaviour
No response
Code to reproduce the issue
/

Log output
No response

Hi @CYL0089,
Thank you for your feedback.
We are sorry, but at the moment we are no longer republishing pre-trained models.
Best regards
Idan


Option to pass http headers to registry

We have a request to be able to pass extra http headers for requests to a registry.
The docker CLI currently has this option in ~/.docker/config.json called httpHeaders, the client passes those to the dockerd, and dockerd passes those to the registries.
I suspect this could be something that can be put into the containerd config.
An example of what would be passed through: https://github.com/Azure/acr/blob/master/docs/http-headers.md#header-values

As registries work to help customers with end to end experiences, like where images are pulled from, or even correlation ids. Whether AKS customers pull from ACR, Docker Hub, Quay or other registries. Each registry would have optional header information to be more intelligent.
so a :+1:

I guess the question is what httpheaders, what content / scope, who manages them are they all constant strings or are they generated via switch. Could see a case for httpheaders being passed down from k8s, as well as a constant set of string configured for each registry passing over stuff that's not required by the distribution API.
example...
  # 'plugins."io.containerd.grpc.v1.cri".registry' contains config related to the registry
  [plugins."io.containerd.grpc.v1.cri".registry]

    # 'plugins."io.containerd.grpc.v1.cri".registry.httpHeaders'
    [plugins."io.containerd.grpc.v1.cri".registry.httpHeaders]
      [plugins."io.containerd.grpc.v1.cri".registry.httpHeaders."docker.io"]
        http_headers = []
        image_annotations = [] #don't have any yet will have to change CRI may already be WIP

Thanks @mikebrow, this was initially a pattern we wanted to enable with azure, with the belief there’s general purpose usage.
When using docker directly, this is pretty easy.  When using containerd, it apparently gets much harder.
While the question for a standard set of strings is great, we’re hoping to unlock a channel of communication.

right ok.. so if / when CRI has image annotations on the pull request... then we can add those too as a general communications route.  Make that stage 2. Stage 1 can be adding http headers to the config, ala the way it's done for docker. Down the road if/when docker starts using containerd for image pull/push/storage... It will then be one of two ways to configure http headers cri config/docker config. I suppose that makes sense. Moving to stage 2 we can come up with some pattern of adding/using annotations passed to CRI image pull requests. Note: With CRI kublet retrieves auth pairs from pod pull secrets and passes them to the container runtime pull request "attempts."  So one way to do http headers would be pod http headers or image annotations that kubelet passes to the CRI image pull request.

Looking at fitting in some time to work on this. Has the ship sailed for getting this into containerd 1.4?
Without having too much knowledge in how pulls are handled in in this repo, it seems like doing as you suggested, e.g.
[plugins."io.containerd.grpc.v1.cri".registry.httpHeaders."docker.io"]

Seems like a decent solution.
WDYT?
@SteveLasker

Or maybe switching the registry domain and the httpHeaders.

Looking at fitting in some time to work on this. Has the ship sailed for getting this into containerd 1.4?
Without having too much knowledge in how pulls are handled in in this repo, it seems like doing as you suggested, e.g.
[plugins."io.containerd.grpc.v1.cri".registry.httpHeaders."docker.io"]

Seems like a decent solution.
WDYT?
@SteveLasker

Ship hasn't sailed just yet but it is boarding:
https://github.com/containerd/containerd/pull/4242

Beta isn't a closed door. I forgot I still want to get the new namespace-specific config files into CRI before 1.4. If we want namespace/host-specific header support, we can probably add that there too with little effort. I think the RegistryHost type will have to support it anyway.

Or maybe switching the registry domain and the httpHeaders.

The out line i did is just a struct content type separation in the config... a place to separate desired headers by domain, see how mirrors config is done in the config https://github.com/containerd/cri/blob/master/docs/config.md

I would really like to just completely solve the problem to cover any possible configuration. Take the mirrors endpoints for example, they solve most use cases but still not all. So broken down, I want to be able to define at 3 levels...

global

http headers
TLS configurations (ca, algorithms)
authorizer

per-namespace level (i.e docker.io)

http headers
TLS configurations (ca, client, skip verify)
host capabilities (pull, push, resolve)
endpoint scheme://host/path
mirrors
authorizer

per-host level (upstream and mirrors)

http headers
TLS configurations (ca, client, skip verify)
host capabilities (pull, push, resolve)
endpoint scheme://host/path
authorizer

For the per namespace/host level, having an /etc/docker/conf.d approach is really useful. It allows changing those configurations without restarting and not have to make the global toml config super complicated.

Global config option here: https://github.com/containerd/cri/pull/1506/


Lruzicki/scheme fix

Fixed validation error for compliance.version since its no a required field.

This PR is closed due to missing rebase and branch conflict name


Update Catch to 1.9.6

Also could you poke us next time you change how our port is published? I spent some time wondering why our vcpkg update automation no longer works.

Right, sorry for forgetting about your automation!

Sorry, I might have been a bit snippy in the PR.
I don't think you had any way of knowing that we have semi-automated updating the package on release, but I ended up having to find out why things broke on a train, 5 minutes before my station, and that was not fun.
Incidentally, I think being able to flag package as "actively maintained", so maintainers are automatically notified by a bot if a non-maintainer wants to change them would be helpful.


Exported JSON contains wrong offsets for HTML Entity Recognition

Describe the bug
When labeling an HTML file using the HTML Entity Recognition template, the offsets produced when exporting the result appear to be wrong.
To Reproduce

Take the following HTML and save it to a .html file

<!DOCTYPE html>

      <meta charset="UTF-8">
      <title>Title</title>

 This is a trial document. Let's see if the offsets will be correct.

Here's some tricky names:
      David Höhler

Karl Köstler.

Some more tricky words

Geschäftsführer, München, Datenschutzerklärung.

Import it into a HTML Entity Recognition project
Label some entities

Export the data in the "default" JSON format
Run the following Python code using the exported file

from pathlib import Path
import json

file = Path("exported_file.json")
label_json = json.loads(file.read_text())

for doc in label_json:
    text = doc["data"]["html"]

    for annotation in doc["annotations"][0]["result"]:
        print("Real text:", annotation["value"]["text"])
        print(
            "Text according to offsets:",
            repr(
                text[
                    annotation["value"]["globalOffsets"]["start"] : annotation["value"][
                        "globalOffsets"
                    ]["end"]
                ]
            ),
        )
        print("----")

Expected behavior
What I'd expect to see:
Real text: David Höhler
Text according to offsets: 'David Höhler'
----
Real text: Karl Köstler
Text according to offsets: 'Karl Köstler'
[...]

What I actually get:
Real text: David Höhler
Text according to offsets: 's is a trial'
----
Real text: Karl Köstler
Text according to offsets: ' document. L'
[...]

Environment (please complete the following information):

Ubuntu 18.04 LTS
Label Studio v1.5.0 (Docker image)

This might be the reason:
"If the offsets for exported HTML labels don’t match your expected output, such as with HTML named entity recognition (NER) tasks, the most common reason why is due to HTML minification"

@wpnbos How do you import data exactly?
Do you use valueType="url" in you HyperText tag?

I use the interface of the webapp for importing the data, I'm using the stock labeling setup configuration for HTML Entity Recognition

Do you use valueType="url" in you HyperText tag?

I don't know, how do I check?

Ok, looks like you import html files directly to import window? In this case @obruker 's answer is right. There will be used html minification.
Let's try to switch to this branch
https://github.com/heartexlabs/label-studio/pull/2872
and check how it works there.

Yeah I import them directly to the import window. I'll try out the branch

Hi,
I think there is a bug with the offsets, regardless of the method to import the HTML files.
I have created a new project with the following Labeling Interface:
<View>
  <Labels name="ner" toName="text">

  </Labels>
  <HyperText name="text" value="$text" valueType="url"></HyperText>
</View>

In the Data Import step I added the following URL:
https://en.wikipedia.org/wiki/Ottery_St_Mary
Then I try to annotate that file, specifically this text as shown below:
The town as it now stands has several independent shops

When I export the file, I get this JSON:
[{
        "id": 1,
        "annotations": [{
                "id": 2,
                "completed_by": 1,
                "result": [{
                        "value": {
                            "start": "\/div[3]\/div[3]\/div[5]\/div[1]\/p[4]\/text()[1]",
                            "end": "\/div[3]\/div[3]\/div[5]\/div[1]\/p[4]\/text()[1]",
                            "startOffset": 0,
                            "endOffset": 55,
                            "globalOffsets": {
                                "start": 4486,
                                "end": 4541
                            },
                            "labels": ["Person"]
                        },
                        "id": "vaAXPxkauU",
                        "from_name": "ner",
                        "to_name": "text",
                        "type": "labels",
                        "origin": "manual"
                    }
                ],
                "was_cancelled": false,
                "ground_truth": false,
                "created_at": "2022-10-03T12:05:36.723291Z",
                "updated_at": "2022-10-03T12:05:36.723321Z",
                "lead_time": 21.639,
                "prediction": {},
                "result_count": 0,
                "task": 1,
                "parent_prediction": null,
                "parent_annotation": null
            }
        ],
        "file_upload": "a81371ea-Ottery_St_Mary",
        "drafts": [],
        "predictions": [],
        "data": {
            "text": "\/data\/upload\/1\/a81371ea-Ottery_St_Mary"
        },
        "meta": {},
        "created_at": "2022-10-03T11:23:08.997546Z",
        "updated_at": "2022-10-03T12:05:36.794640Z",
        "inner_id": 1,
        "total_annotations": 1,
        "cancelled_annotations": 0,
        "total_predictions": 0,
        "comment_count": 0,
        "unresolved_comment_count": 0,
        "last_comment_updated_at": null,
        "project": 1,
        "updated_by": 1,
        "comment_authors": []
    }
]

Now, if I download the original HTML file https://en.wikipedia.org/wiki/Ottery_St_Mary, open it with Notepad++ and press Ctrl+G (or Search > Goto) and set the offset to 4486, it doesn't take me to that text that I annotated. According to Notepad++ that right offset of that annotation is 94071 and not 4486.

Fixed: https://github.com/heartexlabs/label-studio/pull/2872/files

@wpnbos
import json
from lxml import etree
import lxml.html

for doc in data:
    text = doc["data"]["html"]
    tree = lxml.html.fromstring(text)
    entities = sort_entities_by_start(doc['annotations'][0]['result'])
    for annotation in entities:

        # Finding the start and end positions in the document using the XPath
        start_xpath = '/' + annotation['value']['start']
        end_xpath = '/' + annotation['value']['end']

        # Extracting text for start and end XPaths
        start_text = tree.xpath(start_xpath)
        end_text = tree.xpath(end_xpath)

        # Finding positions in the joined text
        start_position = data[0]["data"]["html"].find(start_text[0].strip()) if start_text else -1
        end_position = data[0]["data"]["html"].find(end_text[0].strip()) + len(end_text[0]) if end_text else -1

        annotation['value']['globalOffsets']['start'] = start_position
        annotation['value']['globalOffsets']['end'] = end_position

        print("Real text:", annotation["value"]["text"])
        print(
            "Text according to offsets:",
            repr(
                text[
                    annotation["value"]["globalOffsets"]["start"] : annotation["value"][
                        "globalOffsets"
                    ]["end"]
                ]
            ),
        )
        print("----")
    break


what should i do

/data/data/com.termux.nix/files/usr/bin/login[20]: /system/bin/pgrep: not found
Welcome to Nix-on-Droid!
If nothing works, open an issue at https://github.com/t184256/nix-on-droid/issues or try the rescue shell.

Seems like the following is happening inside the upgrade logic https://github.com/t184256/nix-on-droid/blob/2301e01d48c90b60751005317de7a84a51a87eb6/modules/environment/login/login.nix#L25:

/system/bin/pgrep is being used to check that nothing is using proot --- but on your device there is no /system/bin/pgrep and it prints an error above and fails in a way that assumes no proot is running
code that updates proot when there's a new one is triggered regardless of the non-functional check above

The only problem I can foresee is that when proot updates, new sessions might start failing until you close all of them first.
What's your device / android version / ROM?


Did you have example for confirm dialog using this package?

i want to make confirm dialog ok and cancle with this alert

As per my experience with the module it seems to only support alerts.

Should be fixed with the v2 release. A lot of issues here are really old, as the project was unmaintained, so I will close all issues. Feel free to ask to open it again if the issue persist after v2 update.

Would be awesome though to support confirm as well as it is the best library for react around


Add new section about style to User Guide

As discussed, would be useful to have a chapter about the syle in the User Guide, focusing on most basic things. We could then refer to this in the certificates syllabus.

Done in f92fce9aafa3e3f2d917b05be2f7f49fee62ee6b. Can be enhanced in RF 7.1 if needed.


Matrix animation

Added d3 transition to render the matrix smoothly

@JackWilb This branch is supposed to demonstrate animations for the matrix. I am currently working on another branch called interact-expand-supernode that plans to address your feedback


Adds support for redux devtools

https://github.com/zalmoxisus/redux-devtools-extension is dreadfully handy, well worth implementing, thoughts?

Closing this, because the rewrite of how we use the ReducerRegistry more specifically this https://github.com/RedHatInsights/insights-frontend-components/blob/master/src/Utilities/ReducerRegistry.js#L30 makes this thing a no go here


tests in es and lib directories

Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
$ find lib es -type d -name __tests__

lib/selectors/__tests__
lib/structure/plain/__tests__
lib/structure/immutable/__tests__
lib/events/__tests__
lib/__tests__
lib/util/__tests__
es/selectors/__tests__
es/structure/plain/__tests__
es/structure/immutable/__tests__
es/events/__tests__
es/__tests__
es/util/__tests__

What is the expected behavior?
No __tests__ directories in lib and es
What's your environment?

redux-form: master branch
node: 10.14.2
npm: 6.4.1
os: Ubuntu 16.04.5 LTS

Other information
Looks like bug in build:lib and build:es scripts. --ignore __tests__ is old format. New format is --ignore \"src/**/__tests__\".

Thanks for the report.
Since you already seem to know how to fix this, would you like to send us a PR? 🙂


Regression with saving barcodes

Hi Josh,
There appears to be a regression with barcodes being saved between sessions. I am attaching a recording. I discovered this as I am trying to refine the label setting to align properly.
Thanks,
Maggie
https://user-images.githubusercontent.com/81188041/115063176-388f8400-9eb9-11eb-9b75-d496f0460c35.mp4

Thanks for this report @MaggieMcGee . We indeed were not persisting selected items after pressing "back." This has been fixed in v0.4.2


The "size" parameter of LRN operator is handled inconsistently.

Some DL frameworks use "depth_radius" while others use "size". From the formal definition:

size = depth_radius * 2 + 1
depth_radius = size / 2 (rounded down)

This parameter is named by "size" in MMdnn. However, MMdnn handles it inconsistently in supported DL frameworks.

Fixed in PR https://github.com/microsoft/MMdnn/pull/814 .


Bug : CircularTimePicker with PyInstaller

Description of the Bug
After using PyInstaller to make a .exe file. If in my .py I have :
from kivymd.uix.picker import MDDatePicker
date_dialog = MDDatePicker(callback=self.get_date)
date_dialog.open()
or in my .kv I got :
#:import MDDatePicker kivymd.uix.picker
I will got the error :
Traceback (most recent call last):
File "mails_ACTA_GUI.py", line 17, in
from kivymd.uix.picker import MDDatePicker
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "C:\Users\A486972\Miniconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.dict)
File "site-packages\kivymd\uix\picker.py", line 632, in
File "site-packages\kivy\lang\builder.py", line 368, in load_string
File "site-packages\kivy\lang\parser.py", line 401, in init
File "site-packages\kivy\lang\parser.py", line 507, in parse
File "site-packages\kivy\lang\parser.py", line 482, in execute_directives
kivy.lang.parser.ParserException: Parser: File "", line 2:
...
1:

2:#:import CircularTimePicker kivymd.vendor.circularTimePicker.CircularTimePicker
3:#:import dp kivy.metrics.dp
4:
...
Unable to import package 'kivymd.vendor.circularTimePicker.CircularTimePicker'
[4360] Failed to execute script mails_ACTA_GUI

OS: Windows 10
Python: 3.8.3
Kivy: 1.11.1
KivyMD: 0.104.1

@JulienGervai
I had the same issue and fixed it by adding 'kivymd.vendor.circularTimePicker' to my hiddenimports.
Also ensure that all your paths are wrapped like this: "os.path.abspath()"

Thanks I personnaly did manage to solve this problem by editing the file picker.py and by commenting from line 631 to 736 because I didn't have utility of CircularTimePicker, but your solution is way better.


ValueError: Could not find reference genome file GRCh37 samtools

Hi,
After I install reference file using command line:
bcbio_nextgen.py upgrade --data --genomes GRCh37 --aligners bwa --aligners bowtie2,
I try to run the example of Cancer tumor normal.
run bcbio_nextgen.py ../config/cancer-dream-syn3.yaml -n 8, I get the error:
ValueError: Could not find reference genome file GRCh37 samtools
The whole message is:
bcbio_nextgen.py ../config/cancer-dream-syn3.yaml -n 8
[2017-04-17T13:35Z] System YAML configuration: /bcbio/data/test/cancer-dream-syn3/work/bcbio_system-merged.yaml
[2017-04-17T13:35Z] Resource requests: bwa, sambamba, samtools; memory: 3.00, 3.00, 3.00; cores: 16, 16, 16
[2017-04-17T13:35Z] Configuring 1 jobs to run, using 8 cores each with 24.1g of memory reserved for each job
[2017-04-17T13:35Z] Timing: organize samples
[2017-04-17T13:35Z] multiprocessing: organize_samples
[2017-04-17T13:35Z] Using input YAML configuration: /bcbio/data/test/cancer-dream-syn3/config/cancer-dream-syn3.yaml
[2017-04-17T13:35Z] Checking sample YAML configuration: /bcbio/data/test/cancer-dream-syn3/config/cancer-dream-syn3.yaml
[2017-04-17T13:35Z] Downloading GRCh37 samtools from AWS
Traceback (most recent call last):
File "/usr/local/bin/bcbio_nextgen.py", line 234, in
main(**kwargs)
File "/usr/local/bin/bcbio_nextgen.py", line 43, in main
run_main(**kwargs)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 42, in run_main
fc_dir, run_info_yaml)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 86, in _run_toplevel
for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 119, in variant2pipeline
[x[0]["description"] for x in samples]]])
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
return run_multicore(fn, items, config, parallel=parallel)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"], batch_size=1)(joblib.delayed(fn)(x) for x in items):
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 804, in call
while self.dispatch_one_batch(iterator):
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 662, in dispatch_one_batch
self._dispatch(tasks)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 570, in _dispatch
job = ImmediateComputeBatch(batch)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 183, in init
self.results = batch()
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 72, in call
return [func(*args, **kwargs) for func, args, kwargs in self.items]
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 51, in wrapper
return apply(f, *args, **kwargs)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 350, in organize_samples
return run_info.organize(*args)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/run_info.py", line 69, in organize
item = add_reference_resources(item, remote_retriever)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/run_info.py", line 161, in add_reference_resources
data["reference"] = genome.get_refs(data["genome_build"], aligner, data["dirs"]["galaxy"], data)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/genome.py", line 219, in get_refs
galaxy_config, data)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/genome.py", line 171, in _get_ref_from_galaxy_loc
cur_ref = download_prepped_genome(genome_build, data, name, need_remap)
File "/usr/local/share/bcbio-nextgen/anaconda/lib/python2.7/site-packages/bcbio/pipeline/genome.py", line 292, in download_prepped_genome
raise ValueError("Could not find reference genome file %s %s" % (genome_build, name))
ValueError: Could not find reference genome file GRCh37 samtools
I check the folder :/usr/local/share/bcbio-nextgen/genomes/Hsapiens/GRCh37. all reference files are at there.

in the folder: /usr/local/share/bcbio-nextgen/galaxy/tool-data
run cat *.loc and get:
GRCh37  GRCh37  Human (GRCh37)  /usr/local/share/bcbio-nextgen/genomes/Hsapiens/GRCh37/bowtie2/GRCh37
hg38    hg38    Human (hg38) full       /usr/local/share/bcbio-nextgen/genomes/Hsapiens/hg38/bowtie2/hg38
GRCh37  GRCh37  Human (GRCh37)  /usr/local/share/bcbio-nextgen/genomes/Hsapiens/GRCh37/bwa/GRCh37.fa
hg38    hg38    Human (hg38) full       /usr/local/share/bcbio-nextgen/genomes/Hsapiens/hg38/bwa/hg38.fa
GRCh37  GRCh37  Human (GRCh37)  /usr/local/share/bcbio-nextgen/genomes/Hsapiens/GRCh37/seq/GRCh37.fa
hg38    hg38    Human (hg38) full       /usr/local/share/bcbio-nextgen/genomes/Hsapiens/hg38/seq/hg38.fa
GRCh37  GRCh37  Human (GRCh37)  /usr/local/share/bcbio-nextgen/genomes/Hsapiens/GRCh37/seq/GRCh37.fa
hg38    hg38    Human (hg38) full       /usr/local/share/bcbio-nextgen/genomes/Hsapiens/hg38/seq/hg38.fa
index   GRCh37  /usr/local/share/bcbio-nextgen/genomes/Hsapiens/GRCh37/seq/GRCh37.fa
index   hg38    /usr/local/share/bcbio-nextgen/genomes/Hsapiens/hg38/seq/hg38.fa
I check all files in the loc file. All reference files are there.

Jin;
Sorry about the issues and thank you for the detailed report. I suspect something confusing is happening here with your use of Docker. It looks like you might be mixing use of bcbio_vm.py and bcbio_nextgen.py, as I see the run uses bcbio_system-merged.yaml. It's likely that points to a different set of genomes as bcbio_vm.py stores the genome data outside of the Docker container. Is it possible your update has some data inside and other outside the container?
Do you need to use Docker here or could you install bcbio isolated on your system? We're actively working to make Docker usage cleaner via the Common Workflow Language (http://bcbio-nextgen.readthedocs.io/en/latest/contents/cwl.html) and will probably be replacing the custom bcbio_vm.py and single large Docker container approach in the future.
The Docker parts are just in a lot of transition and more complex, so an isolated install might get you a cleaner path to running bcbio successfully. Hope this helps.

Stale, and should be working now so closing. Thanks!


Does the  architecture of Tiny NASNet-A in this code???

Does the  architecture of Tiny NASNet-A in https://github.com/XiaohangZhan/face_recognition_framework/blob/master/models/backbones/nasnet.py, and the NASNetASmall in the git link is the same with Tiny NASNet-A, right?

Yes you are right

thanks for your quickly replay. can you tell me the training details of Tiny NASNet-A? the epoch, iterations,and learning rate.

Please see https://arxiv.org/pdf/1809.01407.pdf Appendix A1 and A3. For Tiny NASNet-A, for supervised initialization (1/11 data), lr is 0.1, batch size is 256, M is 50; for joint training (full data), please see A3

thanks.


Windows Firewall Outbound Issues

I use Windows Firewall in highly restricted mode, preventing both inbound AND outbound connections unless explicitly allowed.
I've spent the last couple hours trying to get SyncThing via SyncTrazor and the CefSharp thing added to Windows Firewall outbound rules so that it can perform automatic updates and do its syncy magics.
Please create the necessary Windows Firewall Inbound & Outbound rules for me via push button.  Thanks!

It's possible. Normally Windows will prompt you the first time that Syncthing starts. SyncTrayzor/CefSharp itself don't need any special ports.

Windows Firewall does not prompt the user for outgoing restrictions.  Only for incoming restrictions.  Some people like to configure their Windows Firewall to restrict all outgoing traffic as well, but there is no clear indication as to which SyncTrayzor executables require internet access, since they wind up all over the place -- Install folder, AppData folder, Temp folder, and are constantly augmented.

There are two copies of syncthing.exe: one in AppData (which is the one which is run), and one in the install folder (which is copied to AppData if necessary). I'm not sure what "constantly augmented" means: the version in AppData will auto-update, and that's the point.


#256 Cannot extract async method

Fixes verbatim parsing of async def to preserve correct whitespace
Ensures extracted method bodies that use await generate async functions
Also fixes IronPythonDatabaseTest

:+1:


Allow to collect level up rewards

Currently bot doesn't collect level up rewards.
So, for example bot was level up from 1 to 20 and you login from the phone after this, you will have 1000/350 items in your bag :)
This PR fixed it, and you will get level rewards just after your level up.

[13:08:44]  Level up from 3 to 4!
[13:08:45]  Collected level up rewards:
[13:08:45]  Pokeball x 15

Yes, I like it.
👍

Finally! Thanks!


Unix domain socket and video on demand

Is it possible to use unix domain socket instead of directory path for video on demand?
I'm trying to get module working with Ceph RadosGW. For example:
application vod {
    play unix:/var/run/ceph/ceph.radosgw.gateway.sock;
}

I also tried connecting to localhost instead of connecting to socket directly
application vod {
    play http://localhost:80;
}

but
rtmpdump -r "rtmp://localhost:1935/vod//my-new-bucket/testvideo.mp4"
returns
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Even if file can be downloaded via
wget http://localhost:80/my-new-bucket/testvideo.mp4

@kamil-l Did you managed to find a solution to get this work with Ceph Radow GW ?

@ksingh7 unfortunately, no.


The left border of the Admonition plugin is not showing well.

Plugin Name:
Admonition markdown extension
Describe the problems:

The top of the left border is outside the box.

Describe your expectations:

The height of the left border should fit in with the top of the box.

Ok, got it! It will be fixed in the next update, thank you @JHTNT !

This issue has been fixed in the ReMoods Theme v4.5.0 updates.


tag commits for past build guides

This issue is blocking #16 . In order to move content for past build guides in a directory, we need their designated commits

Closing, as per nov_2020, jan_9th_2021, jan_31st_2021, & mar_2021


Code to replicate Figure 2 in the paper

You've all done an excellent job putting this together! I was wondering if you have a replication code somewhere for generating the Figure 2 (if not the figure, at least the numbers) before I start writing it from scratch.
My team is in the process of releasing a new benchmark with the texts coming from a period between 1920-1980 and we were hoping to see how different it is compared to the datasets in MTEB and also how things evolve over the years.
(Well, it's already out)
Dataset  | Paper
It was put together with the help of @nreimers ' sentence-transformers package)

Sure all plotting code is in the mtebscripts repo; Specifically Fig 2 uses this script: https://github.com/embeddings-benchmark/mtebscripts/blob/main/plotstables/dataset_sim.py

That was quick! Thank you!


[PH] WIP - Rule to verify UTXO spent on another chain

First PR for Rule to verify UTXO spent on another chain as per https://github.com/stratisproject/StratisBitcoinFullNode/issues/1790.
Preferred reviewers @dangershony or @noescape00

Just a note about DBreeze (I could open a generic Issue) I don't think it's right to pass/access dbreeze instance, we should instead have a IDBreezeTransactionFactory as a service, so we use that to create transactions when we need it
e.g. in RewindDataIndexRepository.cs
using (DBreeze.Transactions.Transaction transaction = this.DBreeze.GetTransaction())
could be
using (DBreeze.Transactions.Transaction transaction = IDbreezeTransactionFactory.Create())
passing DBreeze allow to mess up with DBreeze settings, folder, etc... and we don't want it to be exposed I'd say.

@MithrilMan I totally agree about factory pattern. I am just not sure if it is in scope for this PR and coinview will be refactored so we want to keep as less changes as possible. We discussed this at the standup and I already raised a concern about the current implementation being dirty.

ok fine, I had problem with speakers when it started :)

We'll need to double check the logics, but we can fix them later if needed, for now it's fine to merge this


Could not load session:404: Not Found error

It looks like the issue with the old Estimate board has not been resolved.  Would you be able to help with this issue?  Background the Project Collection was created before TFS 2019 Server, I recently upgraded the server instance to ADO Server 2020.
{"$id":"1","innerException":null,"message":"%error="1660002";%:The collection does not exist\r\n%error="1660002";%:The collection does not exist","typeName":"Microsoft.VisualStudio.Services.ExtensionManagement.WebApi.DocumentCollectionDoesNotExistException, Microsoft.VisualStudio.Services.ExtensionManagement.WebApi","typeKey":"DocumentCollectionDoesNotExistException","errorCode":0,"eventId":3000}
BTW, we are using HTTPS

It looks like the issue with the old Estimate board has not been resolved. Would you be able to help with this issue? Background the Project Collection was created before TFS 2019 Server, I recently upgraded the server instance to ADO Server 2020.

This is similar to our setup, which is an old TFS 2010 upgraded through Azure DevOps Server 2020.0.1. Are you getting the 404 when listing, creating or joining a session? Could try setting up the work item fields with the gear icon to see if that changes the error?

Does it need to all be filled?  Also, I assume it can be any field.  I also attach a screenshot so you will see some of the field names are not showing up as easy to read.  Minor thing.  BTW the issue is when you try to open it that when I get the 404.  The odd thing is the other projects collection works fine so trying to understand what is causing the issue with this project.

Are sure it's a different project collection, not a project created before v2019? https://github.com/microsoft/featuretimeline/issues/214 sounds similar,  and https://github.com/cschleiden/azure-boards-estimate/issues/86#issuecomment-705159925 is probably the same upstream.

Does it need to all be filled? Also, I assume it can be any field.

Reading the aforementioned issues, it doesn't seem to be related to that after all. Just the fields/types that are actually in use need to be defined.

The project was created before V2019 but I have other projects that was created before as far back as 2016 and even later that as well and those seems to work.  So I'm at a lost as to what is different with this project to not work.
The link that you mentioned is not the same for my case, I included a screenshot as to where it is happening.  Steps to recreate:

select 2 User Stories and select Estimates.
enter a name and the type of card to use the click create,

It will create it but when you click the name it gives you a 404 error.

tried creating the estimate using queries, same result will create but when you click it errors out.

Hi Hangy, I might have found something for you to try to recreate.  It seems like any of my project that has "Agile" as the process template is getting the 404 error.

Thanks for the repro idea, @ray-cuadra! As you've found out, the error loooks to be related to the process type. Apparently, for a project with this new "inheritance" model, the extension requests the workitems from two URLs:

https://tfs.example.org/SomeProjectCollection/{SomeGuid}/_apis/wit/workItemTypes
https://tfs.example.org/SomeProjectCollection/_apis/work/processes/adcc42ab-9882-485e-a3ed-7678f01f66bc/workItemTypes

The latter call is not present in older (XML?) based process configurations, and 404s in our "agile" project, probably causing the 404 error.

Will you be able to fix the issue?

Will you be able to fix the issue?

I'm looking into it. At the very least, it should be possible to ignore the 404, but this extension then probably would not work with derived process versions. I'll see what I can do and what might be incorrect upsteam/in AzDO Server, since the REST endpoint actually somewhat exists in the docs.

I appreciate all the help hangy.  Thank you!

I opened a new item on the MS Developer Community (https://developercommunity.visualstudio.com/t/Work-Item-Types---List-404/1424164?space=22) to see what the Microsoft engineering teams know about this. Feel free to add anything I may have missed. 🙂

Thank you hangy since I'm not a developer I do not have enough insight as to what else is needed :-) , it just so happen that when I look at the project I saw the difference between the non-working project and the working project.  The odd thing here is that 95% of our project are using Agile template so not sure why some will have it set and other are not.
BTW, one thing change recently is that in ADO Server 2019 the URL has "tfs" in it (i.e. https://someorg.com/tfs/defaultcollection) since in IIS it has an application directory called "tfs" with the most recent upgrade to ADO Server 2020, Microsoft seemed to phase out any reference to "tfs" and they decided to remove the application directory completely and now the URL is https://someorg.com/defaultcollection.
When I upgrade I usually upgrade my servers as well so it is easy to go back if and when something happens during the upgrade process that is the reason why the virtual directory will never be retained in my environment.

@ray-cuadra After some back and forth (which I had to mark as private because of internal URLs), MS is now looking into why the subresource doesn't work. I'm holding off of just swallowing the error a bit longer, until we hopefully get a response from MS.

No problem thank you Hangy for the update.

FWIW, updating to AzDO 2020.1 didn't change this situation.

Hi Hangy, have you heard anything as to when this can be resolved?

Hi @ray-cuadra, up until a few days ago, I had hoped that MS might do something about it, but MS has recently closed my question as not a bug. Since I'm pretty sure it's caused by an API issue and not this extension, I asked them to reconsider.
If there's no response soon, I'll see how/if it still works, if we skip the failing call.

Microsoft has recently moved the development of the original extension here, so there might be a chance to get this fixed if it happens with that version, too.

That is good news Hangy I'm not holding my breath , but I'm optimistic.


bring unbind back in Varaible const

https://github.com/tinygrad/tinygrad/pull/5681/files#r1690087335

@chenyuxyz do you think we can skip this https://github.com/tinygrad/tinygrad/actions/runs/10080557458/job/27870570213?pr=5687 - I think it's a bug, It's blocked me a couple times.

i think it's fine to lower the fuzz upper bound to a smaller number each time we see a failure. @hikettei might know better


genetic_algorithm

Note: not sure if it has actually ever been deployed. It is currently not on the evaluated branch.

It also needs a thumbnail.

_"[#ΣΤ]('I'm #²WøkE²JøĶ³ #Fyp
#Honest #Purple #LinkUp
#Go #New1017 #ForevaShiesty
#Siri #LambDa #Alexa #Cortana #Jarvis #Dalle2 #Pythia #Jayne #SigmaTau333 #SigmaTau33 #ΣΤ☥ #23Ducks® #Python® #PythonInc2022 #2Legit3®
#That1GuyOnTheCouch #That1GuyAgain #LeadWithLove thru #The
#PowerOfPerspectiveS
#DontQuitYourDayDreamS
#Love, #Marc'0');" _


Helidon SE: use jlink to create minimal Java 11 runtime

Environment Details

Helidon Version: 0.10.4
Helidon SE
JDK version: 11

Problem Description
We should determine the minimum set of modules needed to run a Helidon SE application and document it. Also, we should consider updating our quickstart Dockerfile to generate the JRE as part of a two stage docker build.
I did a quick experimentation and this seems to work, but I did not exercise very many code paths:
$JAVA_HOME/bin/jlink --compress=2 --output jre --add-modules java.base,java.logging,java.sql,java.desktop,java.management

Here as some examples of dependencies on modules of interest:
java.desktop:  java/beans/IntrospectionException (org.yaml.snakeyaml)
java.sql: java/sql/Date (org.yaml.snakeyaml)

Example Dockerfile to generate image with custom JRE:
# Multistage docker build.
# Stage 1: Build custom Java 11 JRE and put it in /linked
FROM openjdk:11-slim AS build
RUN ["jlink", "--compress=2", \
     "--add-modules", "java.base,java.logging,java.sql,java.desktop", \
     "--output", "/linked"]

# Stage 2: Build application image using JRE from Stage 1
FROM debian:sid-slim
COPY --from=build /linked /opt/jdk/
ENV PATH=$PATH:/opt/jdk/bin

RUN mkdir /app
COPY libs /app/libs
COPY ${project.artifactId}.jar /app

CMD ["java", "-jar", "/app/${project.artifactId}.jar"]

Yep; more stuff than you think pulls in java.desktop for the Java beans features.
Haven’t thought deeply about this but if we put together some kind of configuration in the sample app that does not use YAML etc. we might be able to use requires static or something similar to sever a branch off the dependency tree.

Ack! Because of bug https://github.com/docker-library/openjdk/issues/217 the above approach results in a docker image size >500MB. Need to look for a work-around.

The work-around for the bloated libjvm.so is to strip it. Ick:
RUN [ "apt", "update"]
RUN [ "apt-get", "install", "-y", "binutils"]
RUN ["strip", "-p", "--strip-unneeded", "/var/tmp/myjre/lib/server/libjvm.so"]

This is being documented in PR #182


Updated Ubuntu 18.04 + MOFED issue

Added more specific information on the issue and workaround strategy for running IB on Ubuntu 18.04.

I am the PM for these VM SKUs and author of the docs in this tree. I asked @vanzod to submit the PR.
Please merge.
#sign-off

@Karishma-Tiwari-MSFT for visibility and prompt approval to merge.

@vanzod : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@jborsecnik : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Added test cases for OfflineAreaViewerFragment

Fixes #2631

@shobhitagarwal1612  PTAL?

/gcbrun

/gcbrun

Please fix the build failures. You can see the errors by running checkCode.

/gcbrun


Added support for Quest buttons

Hi @NolaDonato .  I was wondering why your pull-request changes 425 files and looked into it.  It looks like a lot of your bullet work got thrown in here as well.  Can you reduce this to just the files related to changing things for Quest?  Thanks.

opened another one


Correct answer from new participant is not shown in internal leader board

Although (1+3+6)*(6^1+4) is a correct solution for 136614 and the solutions got favored and commented, in the database is a false in the correct field.
Therefore the answer is not counted in the leaderboard.

The problem was the bulk handling of notifications. The earlier notifications did not have their correct flag stored, if a later notification lead to an exception because it was syntactically unparsable in an unexpected way.
The wrong data in the db has been corrected and new notifications are processed one after another in the problematic function

Close


DOC-2109 Runtime Settings tooltips edit

Description
Deep tech writer review and edit of the tooltips/and some setting names in the Runtime Settings UI.
Tooltips enjoy a generally-accepted, industry-wide standard which we tend not to follow. I have edited the Runtime Settings to these standards. I await your comment and consideration.
If the team are happy with the approach, we can tend to the rest of the UI tooltips. If we are going to take on tooltips going forward, we will need to apply a decent workflow for it as currently we have none.
Important If the changes are acceptable, all the info I stripped out will go into regular documentation.
Tests/QA
I did not test this directly myself - as it is wording as opposed to functionality - but you can spin up the UI and check them.
Primary reviewers
@mironec @ElleEss @anyone else from the Unreal dev team who would like input.

<3
On Wed, Oct 6, 2021 at 4:56 PM Laura @.***> wrote:

This is a year old - closing this PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spatialos/UnrealGDK/pull/2639#issuecomment-936436598,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMAQI247P3WG2MBZHB3XHSTUFRPQDANCNFSM4S4T2SFA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Adding a share app feature in profile page

Is your feature request related to a problem? Please describe.
I'd implement a share the application feature in the profiles page, which would launch a share intent that would share application and rhymes to wider potential users.
Describe the solution you'd like
I'd use the share intent to share the app in aviliable platforms on user's device.
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Yash-Parsana please assign me this! Thanks

Can you share design of the feature means how it will look ?

I can implement this. Kindly assign me this issue.


HttpMessageController is not thread-safe

Hi Christoph,
During the investigation of the instability of our functional tests I found that Citrus' http server sometimes returns wrong responses for concurrent requests. After digging deeper I revealed that the cause of problem lies in not thread-safe handing of response in HttpMessageController. There is a field responseCache which was introduced for message tracing reasons but which is also used to return response entity.
Possible solution here is to use local variable for return instead of the field and set responseCache from the variable.
Please find in the attachments the test to reproduces the issue.
Tested on version 2.7.3.
http_controller_test.zip

Fixed thanks to #354


data augmentation

Hello,
I am currently trying to re-implement your network in PyTorch. Could you possibly list what kind of data augmentation (with parameters) you use, so that I could reproduce it.  You did not mention it in the paper so it is a bit confusing.. Thank you!

Do you have re-implemented the CRL network in Pytorch? I am trying to do the same thing. But I don't konw how to implement the "Remap_layer". Do you have some ideas? Thank you.

Hi,
If “remap” is left image warping according to the disparity then you can use pytoch  interpolation layer called grid_sample.

On 29 May 2018, at 08:52, EmptyCity1995<EMAIL_ADDRESS>wrote:
Do you have re-implemented the CRL network in Pytorch? I am trying to do the same thing. But I don't konw how to implement the "Remap_layer". Do you have some ideas? Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


add build artifacts to gitignore

after building these files were created which I take it should not be a part of the codebase

Yeah, correct. Thanks.


Sol-platform: Register a new inotify if /etc/locale.conf was deleted. v2

When one changes the locale using systemd's localectl, the systemd
will not simple open the /etc/locale.conf file and update its contents.
It will create a new file file and then replace the /etc/locale.conf.
(basically mv /etc/ANeWLocaleFile.conf /etc/locale.conf)
Since the old locale.conf was deleted, a new inode watcher must
be created.
Signed-off-by: Guilherme Iscaro<EMAIL_ADDRESS>

looks okay, we should keep an eye and eventually add sol_inotify to wrap these things and handle this case if it shows in another place (like timezone, etc).

@barbieri Thanks for the review. I will fix the typo before merging it.
I agree with you, if we start having to use iinotify in more parts of the code I think we should create an inotify wrapper.

merged


Update GitHub actions to avoid use of Node 12

Update GitHub actions to avoid use of Node 12, which is deprecated.
This PR does not fix warnings around usage of set-output, as these are coming from netlify/actions/cli, which has not updated in a year.

Closes https://github.com/devfile/api/issues/1230


[5.2] Laravel libsodium Encryption Library

First implementation of adding libsodium support to Laravel as an alternative encryption method.
https://paragonie.com/book/pecl-libsodium

Researching how to add libsodium to Travis.

I could probably use a little help getting Travis to play nice :(

:-1: for adding anything else. The only reason we have two encrypters, is for BC with laravel 4.

@GrahamCampbell This PR should be closed for the same reason as #10199
I'll package both up as separate packages to be released for optional use :)

Would you mind boxing this up with your hashing sodium package. Then we can have 1 convenient package to pull in if users want to use sodium for hashing / encryption.

Absolutely, already on it.

I have gone ahead and turned this into a package located here in case anyone wants it:
https://github.com/scrothers/libsodium-laravel

Sidenote: If anyone wants a simpler interface, I've been developing Halite (available on Composer as paragonie/halite) as a developer-friendly libsodium wrapper.
It's not Laravel-specific, it's more meant for wide PHP usage.
It hasn't been sufficiently peer reviewed, but in the future it may be of interest to Laravel developers.


Limit testing scope of infoview interactions to infoview_spec.lua.

Follows up on separation of testing functionality from #46.

Nice, thanks!


POLL: Platform Support

According to the README this project only supports iOS and macOS. It would be awesome to see this expanded to other platforms, mainly tvOS and watchOS. For me personally lower priority, but I'm sure others would also like to see Linux support as well.

Thank you for your suggestion! I've put your requests for new platforms on our list, we'll see if we can fit them in our schedule. Which platforms would be most important for you personally to have? Or to have first?

@uli-objectbox Awesome! For my personally the priority is the following (top being most important, bottom being least important)

tvOS
watchOS
Linux

Thank you! That'll help us prioritize.
I'll leave this issue open so others can pipe in with their hit list of Swift platforms they'd like to see supported.

Hi, for what it's worth, I'm interested in running Swift + Objectbox on Linux. Just registering my 2 cents here.

I'm currently investigating ObjectBox as a replacement for CoreData. But to make that change watchOS support is a must.

tvOS first for me too

@uli-objectbox Any updates or progress on this?

Any updates on this? Only reason I am not migrating yet to objectbox is because there is no support for tvOS and watchOS.

Linux support is unlikely, because we have other language bindings for that: https://objectbox.io/offline-first-mobile-database/
For anyone interested in watchOS and tvOS support, please thumbs up the first post. This helps us track interest!


#2684: Wrong filters are added if there are two views in some cases

v1.17.13
Steps to reproduce:

Open SPGIv2
Open filters > filter panel with default filters is opened
Open the 2nd view for the same table (not clone)
Use console command to add specific filters and open the filter panel:

grok.shell.v.filters( {
        columnNames: [
          'Primary Series Name',
        ],
      })

Expected results: Filter panel is opened, the columns specified in the command are added to filters.
Actual results: filter panel with default filters is opened.

Issue cannot be reproduced in v1.17.10

Dg 1.18.0