fix bad substitution error

An error was being triggered build-all.sh: 16: build-all.sh: Bad substitution when running the script.

${var/Pattern/Replacement} is a valid bash command as explained here.
bash build-all.sh works fine for me with bash 4.3.30 on linux and 3.2.57 on OSX.


Add ngrok.io domain to trustedHostsPattern in TYPO3 config

with the implementation of the "ddev share" option accessing the page via *.ngrok.io
throws an exception and the trustedHostsPattern must be altered manually.

The former ".*" was really good enough for ddev's purposes. The problem was that TYPO3 complained that it was TOO open. Could we come up with a regex that didn't require constant maintenance, that also wouldn't trigger TYPO3's check? Could you take a look at the T3 code to see what might be an option?

Hi Randy, i agree that '.' was good enough, and i had thoughts about an all fitting regex, at first as well, but as ".' is a potential security issue wich throws a warning, a regex allowing all domains would lead to same problem (not with throwing a warning).
The intention of the PR was to provide uncomplicated access to the ngrok.io service out of the box, as ddev provides that possibility by command.
The trustedHostPattern would maybe never fit alle needs, but if someone would need a more fancy value, more advanced user will use application context anyway. In ApplicationContext you would only add some Context conditions - like here https://bit.ly/2GP0mWD (bottom of page)
So the offered solution with adding ngrok.io in that pattern would make usage of ddev possible from the start and would keep the T3 installation more secure (as i guess a lot of people wouldn't know what the regex would do) but further going configuration can be done by application context or removing the ddev comment in the head, so the configuration file wouldn't be overridden on each start.

I'm having trouble testing this manually though.
Basically, https://<IP_ADDRESS>: and http://<IP_ADDRESS>:port/ don't seem to work at all with current master typo3? And since that's what ngrok is trying to proxy, it doesn't work. I get a 404 on the ngrok url, the same as I get with the http://<IP_ADDRESS>

Latest artifacts for this one for testing are at https://circleci.com/gh/drud/ddev/16654#artifacts/containers/0

Hi Randy,
i'll give it a try and get back to you.
On Thu, Aug 8, 2019 at 4:16 AM Randy Fay<EMAIL_ADDRESS>wrote:

Latest artifacts for this one for testing are at
https://circleci.com/gh/drud/ddev/16654#artifacts/containers/0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/drud/ddev/pull/1761?email_source=notifications&email_token=AETMZR3EPOOSYQ33OI46D2TQDN6YRA5CNFSM4IJDMM22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD32G6IA#issuecomment-519335712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AETMZR2T5WAFT336RCCM76LQDN6YRANCNFSM4IJDMM2Q
.

--
Mit besten Grüßen
Benjamin Riezler
Tel. +49 151 156 11 746
E-Mail<EMAIL_ADDRESS>

I checked T3 in the following versions
version 8.7.27 -> ngrok worked
version 9.5.8 -> ngrok worked
version 10.0.0 -> ngrok failed
issue here is that in v 10 a site configuration for the domain xxxx.ngrok.io is required. The Backend is accessible via ngrok. I'll give it a try within the weekend and have a look if i can figure smth. out.

Thanks so much for this. I remain convinced that we can come up with a regex for TYPO3 that is simpler but still fools TYPO3 into thinking it's adequate.


Rename project from kubernetes-aws-authenticator.

The changes here are split into a few bits:

New GitHub page and Go import path: github.com/heptiolabs/kubernetes-aws-authenticator -> github.com/heptio/authenticator

New binary name (and shuffling the cmd package around so it's still go get-able): kubernetes-aws-authenticator -> heptio-authenticator-aws

New project name: kubernetes-aws-authenticator -> Heptio Authenticator for AWS

New image name: gcr.io/heptio-images/kubernetes-aws-authenticator -> gcr.io/heptio-images/authenticator

This change was already pre-reviewed in another repo.

Am I reading too much into this to assume there may be additional "pluggable" auth coming via the project?  Or will this still remain focused on AWS in the future?


Drop support for old python versions and add type annotations

Fixes #422
Dropping support for python 3.5 and earlier (3.5 reached end-of-life September 5, 2020)
This adds coverage for most of the public API, but there are still some
areas that aren't covered yet.

script_host.py is ignored entirely
host.py is ignored entirely
the msgpack_rpc submodule has partial coverage
there are some Any annotations sprinkled around on some of the more
complex functions

I recommend reviewing the commits in order

In general I agree with this, but I would suggest for this PR to only drop obsolete python version support, and adding annotations to existing methods where we find that useful. We should consider more wrapper methods (and to what detail we want to specify those) in a separate follow-up PR.

Sounds good to me! I'll force push this PR to remove the extra wrapper methods

This PR is awesome! Any way this can be reviewed/merged?

Any update on getting this merged?

If someone can rebase this and test it out, we can merge it.

Rebased


Setting the log level from the command line does not work

Setting the log level with the -v option in ./refine and /v in refine.bat has no effect.
To Reproduce
Steps to reproduce the behavior:

Run ./refine -v warn

Current Results
Observe that info-level logging statements are shown:
09:41:22.621 [            refine_server] Starting Server bound to '<IP_ADDRESS>:3333' (0ms)
09:41:22.624 [            refine_server] refine.memory size: 1400M JVM Max heap:<PHONE_NUMBER> bytes (3ms)
09:41:22.650 [            refine_server] Initializing context: '/' from '/home/user/Programmation/ORmaster/main/webapp' (26ms)
09:41:22.686 [            refine_server] Starting autoreloading scanner...  (36ms)
09:41:23.483 [                   refine] Starting OpenRefine 3.8-SNAPSHOT [94d063c]... (797ms)

Expected Behavior
Only logging statements with logging level warn or above should be shown. And similarly for other desired logging levels.
Versions

Operating System: Debian
JRE or JDK Version: 17
OpenRefine: master branch

Additional context
This seems to be a problem left over from my migration to Log4j2. In Refine.java, we use the Log4j API to set the level, but that has no effect as we are using Log4j2.

Hello, I am willing to work on this issue. Can you please assign this to me.

Hello @wetneb
I have created a PR to resolve this issue.
I am new to opensource contribution, hence please let me know if you have any suggestions/feedback.
Happy to learn!


[Bug]: IngestionPipeline 0.9.36 pipline.arun to Redis Not implemented Error

Bug Description
using IngestionPipeline  with docstore=RedisDocumentStore,   then running pipline.arun to Redis Not implemented Error  get Not implemented Error using llama-index 0.9.36. Downgrade to 0.9.30 allows me to run pipline.arun.  just using simpleDirectoryRead load_data documents and passing it to run or arun.
Version
0.9.36 llama-index
Steps to Reproduce
install llama-index 0.9.36
create IngestionPipeline:
pipeline = IngestionPipeline(
transformations=[
SentenceSplitter(),
embed_model,
],
docstore=RedisDocumentStore.from_host_and_port(
"localhost", 6379, namespace="document_store"
),
vector_store=RedisVectorStore(
index_name="redis_vector_store",
index_prefix="vectore_store",
redis_url="redis://localhost:6379",
),
cache=IngestionCache(
cache=RedisCache.from_host_and_port("localhost", 6379),
collection="redis_cache",
),
docstore_strategy=DocstoreStrategy.UPSERTS,
)
attempt pipline.arun to a redis vectorstore
Error "Not implemented"
Workaround:
downgrade to llama-index 0.9.30  and both pipline.arun  and pipline.run  work
Relevant Logs/Tracbacks
No response

Ah yea, need to implement the async methods here
https://github.com/run-llama/llama_index/blob/773a2fdcb4ecb06ceb26ee2f8322ec38b990d344/llama_index/storage/kvstore/redis_kvstore.py#L118

i believe it has to do with Docstore strategy in the pipeling.  i also traced it to start failing at 0.9.33.  it's works up to llama-index 0.9.32
ERROR:

NotImplementedError                       Traceback (most recent call last)
Cell In[18], line 2
  1 ## Async

----> 2 nodes = await pipeline.arun(documents=documents,show_progress=True)
  3 # nodes = pipeline.run(documents=documents,show_progress=True)

  4 print(f"Ingested {len(nodes)} Nodes")

File /opt/miniforge/envs/pytorch/lib/python3.10/site-packages/llama_index/ingestion/pipeline.py:570, in IngestionPipeline.arun(self, show_progress, documents, nodes, cache_collection, in_place, store_doc_text, num_workers, **kwargs)
565 if self.docstore is not None and self.vector_store is not None:

566     if self.docstore_strategy in (

567         DocstoreStrategy.UPSERTS,

568         DocstoreStrategy.UPSERTS_AND_DELETE,

569     ):

--> 570         nodes_to_run = await self._ahandle_upserts(
571             input_nodes, store_doc_text=store_doc_text

572         )

573     elif self.docstore_strategy == DocstoreStrategy.DUPLICATES_ONLY:

574         nodes_to_run = await self._ahandle_duplicates(

575             input_nodes, store_doc_text=store_doc_text

576         )

File /opt/miniforge/envs/pytorch/lib/python3.10/site-packages/llama_index/ingestion/pipeline.py:513, in IngestionPipeline._ahandle_upserts(self, nodes, store_doc_text)
509 """Handle docstore upserts by checking hashes and ids."""

510 assert self.docstore is not None

512 existing_doc_ids_before = set(

--> 513     (await self.docstore.aget_all_document_hashes()).values()
514 )

515 doc_ids_from_nodes = set()

516 deduped_nodes_to_run = {}

File /opt/miniforge/envs/pytorch/lib/python3.10/site-packages/llama_index/storage/docstore/keyval_docstore.py:524, in KVDocumentStore.aget_all_document_hashes(self)
522 """Get the stored hash for all documents."""

523 hashes = {}

--> 524 for doc_id in await self._kvstore.aget_all(
525     collection=self._metadata_collection

526 ):

527     hash = await self.aget_document_hash(doc_id)

528     if hash is not None:

File /opt/miniforge/envs/pytorch/lib/python3.10/site-packages/llama_index/storage/kvstore/redis_kvstore.py:140, in RedisKVStore.aget_all(self, collection)
138 async def aget_all(self, collection: str = DEFAULT_COLLECTION) -> Dict[str, dict]:

139     """Get all values from the store."""

--> 140     raise NotImplementedError
NotImplementedError:

As far as OSes:  i use docker workloads on an ML hardware platform
Redis-stack docker image.  redis version 7.2.3
Python env is basically ubuntu 22.04.  It's really using a nvidia/cuda-12.x-ubuntu22.04 image.  These has nvidia drivers and toolkits for hardware (GPU) passthrough.  i install mambaforge env within this workload "OS" and libs.  llama-index, langchain etc

Yea as mentioned above, async redis docstore operations just need to be implemented

@dosu-bot  Hi and sorry I rarely make bug so i'm new to this process.   Do I have to provided any more information or will this fix be implemented in upcoming releases?  I cannot run the pipeline without the async as it fills the GPU memory during reg ".run".  Thanks


Support dependencies

If a component specifies dependency components (on other components in the Registry):

The Inspector will install the dependency components before the main component.
angle will install the dependency components before the main component.

This will allow for components to build on top of each other (e.g., a component can use animations).

How do components specify the versions of the components they depend on

Registry handles versioning. When you install 0.4.0 version of component foo, it will install 0.4.0 version of component bar.

What happens if component foo uses version 0.2.3 of component bar and version 0.3.4 of component xyz?

How can components lock to a specific version of the dependencies?

Can two components x and y depend on different versions of the component z?

What happens if components bundle dependencies with them?

namespace clashes, which could be fixed if component map keys have versioning, and there is wildcard-like matching as npm does... ?


fix: restrict the buffer on autocmds created with FzfWin:_nvim_create_autocmd

Ty @idanarye!
Total oversight in my end, I had it in my head and forgot to add it lol


Allow querying orders by checkoutID

We're using orderCreateFromCheckout to create an order. Later on, we want to be able to fetch that order by the checkout ID used for its creation.
Quoting Patrys:

we should add a query to find an order using the checkout token, either as a separate Query.orderByCheckoutToken (we already have orderByToken so it would be consistent) or by adding another parameter to Query.order

@patrys  orderCreateFromCheckout has flag removeCheckout. It means that we can have multiple orders created from single checkout.
We need to have an interface that would handle such case.

We could create Query.ordersByCheckoutToken that will return a list of orders created from the same checkout.
We could also create Query.orderByCheckoutToken that will return the latest/oldest order.


v5.1.6 issue with caniuse-db

When building with the latest release v5.1.6, I got the error below:
No compatible version found<EMAIL_ADDRESS><2.0.0'

Very strange https://www.npmjs.com/package/caniuse-db
What is your OS?

I'm on Mac Yosemite. And yes, I did run it more than twice. The error message says the latest caniuse-db is ...00075, instead of ...00077.
Sent from iPhone. Please excuse brevity and typos.

On Feb 19, 2015, at 11:41 AM, Andrey Sitnik<EMAIL_ADDRESS>wrote:
Very strange https://www.npmjs.com/package/caniuse-db
What is your OS?
—
Reply to this email directly or view it on GitHub.

I think you have a issues with npm cache. You can check on npmjs.org, that latest version is 00077


Update to new release candidate for 1.13

Updated to indy-node-1.13.2 RC1
Signed-off-by: Christian Bormann<EMAIL_ADDRESS>

Close in favor of #114  (new version)


Is there a recipe for catching Kapacitor up after a crash?

I'm trying to come up with a solution that will allow me to replace a crashed Kapacitor instance with a new Kapacitor instance and catch it up to where the old instance was at. If it crashed while it was in an alert state, I want to get it back into an alert state, starting at the original time that the alert would have started.
I believe there's a way to do this with replay, but I'm not entirely sure how. Here's the flow/problem I see happening (I apologize if I have some of the nomenclature wrong):

Kapacitor instance A is running with a task
task enters an alert state
A crashes
Time passes
I start up Kapacitor instance B
B starts getting data from Influx
I post task to B
The data still is such that task enters an alert state immediately
I replay relevant data.
From the replay data, task detects the original alert condition and triggers another alert based on the original time

Am I thinking about this correctly? Is there a way to handle this scenario so that only the original alert state will be triggered? I thought about preventing Influx from talking to B until I could run the replay, but in the time that it takes to run the replay, task might miss something.
Please let me know if you would like any clarification. I would appreciate any advice you have to offer. Also, if this is just crazy outside the use case for Kapacitor, feel free to tell me so.

As of version 1.2 Kapacitor will store the state of alerts in its local database file. Is it possible after instance A crashes to recover its database file?
If it is possible to restore the kapacitor.db file then instance Kapacitor B should start with the same alert state as A.
Another thing to keep in mind is that when you perform a replay against Kapacitor it runs the task in a isolated environment such that it does not effect other running tasks. As a result only external effects of a replay are visible. For example storing data in InfluxDB or triggering an alert.  Meaning that if you want to use a replay to update Kapacitors internal state for a task, that is not going to work, only external state will be effected.
Also as of 1.2 you can use the API to query the state of alerts. If your end goal is to update an external alerting system state then it may be easiest to recover the db from A and then use the API to explicitly copy state over instead of using replays.
Let me know if I am headed in the wrong direction.

Thank you for the response @nathanielc. I was originally considering this approach to make a highly recoverable Kapacitor set up, rather than focus on high availability. However, based on this:

Meaning that if you want to use a replay to update Kapacitors internal state for a task, that is not going to work, only external state will be effected.

I don't think my idea is going to work. The main problem being the downtime between A going down and spinning up B. During that time frame, I might miss the start of an alert. Although I could replay in order to update my external alert state, when B comes up, it wouldn't know it should be in an alert state, and will therefore never update the external alert state when the reset condition would be triggered. Admittedly, this is an edge case; however, it's one we have to consider.
It sounds like making Kapacitor highly available is the ideal solution. I've done some poking around. However, it looks like this issue is all there is out there is out there about making Kapacitor HA. Are there any other HA resources you would be able to point me at?

This is a useful discussion on HA Kapacitor from the mailing list. https://groups.google.com/d/msg/influxdb/yImf4Uok2T4/EPa0liC-AgAJ
The quick summary is use the relay to duplicate data to multiple Kapacitor instances and then deduplicate alerts on the backend.

Thanks @nathanielc. We came to the same conclusion on HA. Any plans to allow replay to affect Kapacitor state? Maybe we're alone in this, but it would be a really useful feature so we can provide HA and HR.


Add missing XML documentation to Bot.Builder.Dialogs.Adaptive/TriggerConditions

Address # 4321
Description
This PR adds the missing XML documentation to all visible classes, methods, properties, and parameters in Bot.Builder.Dialogs.Adaptive/TriggerConditions, removing 75 errors.
Note: the NoWarn-CS1591 property is removed in the last PR of the series adding the documentation, to avoid build failures.
Specific Changes

Adds all missing documentation instances to all .cs files found within Microsoft.Bot.Builder.Dialogs.Adaptive TriggerConditions directory.

Testing
Below you can see the number of errors shown before and after the changes when de NoWarn-CS1591 property is removed.

Promoted


fix escaping

write to .fixturelibrary folder instead of .fixturelibrary

Hey there 👋 thanks for your contribution.
I almost feel bad now for having published this package since in hindsight i would have probably done everything different.
Just so you are aware of it, the official openFixtureLibrary has a JS package for using it within the repo. AFAIK its not typed though.


Cannot find capabilities with browserName=ie when grid hub url specified in -Dremote

Preconditions:
Configuration.remote = "<some hub url>";
Configuration.browser = WebDriverRunner.INTERNET_EXPLORER;

Failure when running tests with Selenide:
Caused by: org.openqa.selenium.WebDriverException: Error forwarding the new session cannot find : Capabilities [{nativeEvents=true, acceptSslCerts=true, requireWindowFocus=true, pageLoadStrategy=normal, browserName=ie}]
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
...

Root cause:
Selenium node recognizes capabilities with browserName "internet explorer", but not "ie"
Of course, I could just set browser as below:
Configuration.browser = "internet explorer";

But Selenide has different workarounds for IE which uses isIE() method. And they won't work in such case.

@baranoff-ivan @BorisOsipov Thank you! Fix with PR #531.


Implement 3ds Libretro cores & standalone emulator

Citra standalone with UI has no command line options and the headless version is way too rudimentary to be any useful.
Config & data directories can be adjusted with passing environment variables XDG_HOME_CONFIG & XDG_HOME_DATA to the headless version


eval_oods_polynomial impl

Yes there is :)
I left because i will develop it in stark-verify branch
It is not part of this issue

or maybe i should separate it as other issue rather, so not to large prs there

I think it would be good to have it here but up to you @Okm165

ok let's go with it
pls review additional function @tiagofneto


Added Send Sms and Send Sms Unicode code snippets

I've added these two code snippets so that I can work on getting this across to the NDP. If there are any issues please let me know.

I screwed up something in testing and then realised the error handling on the send function isn't all that .... so, sorry, can we review and merge https://github.com/Vonage/vonage-go-sdk/pull/53 and then update this? There's a blog post in the wild as well.

To make the snippets run locally I needed to add the dotenv library to turn the .env file into environment variables. Also Added a code update to take account of the library update linked above, so this PR is blocked until that merges.

Hi @lornajane  I've updated send-sms-unicode.go to make use of the environment variables, and calling the Send() function now has the error response return parameter defined.


Upgraded the slider + added new demo

Upgraded the slider to support both thumbnail navigation and regular control navigation. Also added a demo.

Added in v3.2, closing.


Aimation Player stutters when set to continuous between same frames for big sprite sheets and frame > 100

Godot v2.1 (tested on Linux and Windows)
When animating a sprite sheet with an Animation Player set to continuous interpolation and two key frames are inserted, both with the same value, the animation jumps to a different frame inbetween. This causes a stuttering in the animation.
Steps to reproduce:
Set up an Sprite Sheet with an animation Player.
Set interpolation to continuous.
Insert a frame at t = 0.1 and the same frame at t = 1.0 (or so).
Play the animation or scrub through the timeline.
The frame will change.

"Set up an Sprite Sheet with an animation Player. "
Do you mean a sprite with an attached animation player node, or a animated sprite node.
Can you please give an example file, thx :)

I mean a sprite with an attached animation player node.
I will upload an example later this evening :)

I've performed a bit more testing and found out that the bug only appears for very big sprite sheets and only if the frames of the animation are somehow over 100.
Please open the attached file and play the animation. You'll see that the frames in the middle of the animation change, although they shouldn't.
animsprite.zip

Can confirm with attached same project and 2.1/HEAD

Looks related to floating-point precision to me, though I'm not completely sure at this point.

Still reproducible/relevant in 3.1 master 9ad1800

@pixelriot Can you (or anyone else) still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?

This is fixed since at least 3.1.2


useFileScopedNamespace does not work

I set "csharpextensions.useFileScopedNamespace": true.
But a class is still generated like this:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyProject                                  // <---
{                                                    // <---
    public class Blorp
    {

    }
}

Instead of this:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyProject;

public class Blorp
{

}

Context
extension 1.7.0
vscode 1.69.2

Tested locally with the same configuration and works.
Anyway I've experienced once in the past and I've solved unistalling and then reinstalling the extension.
Let us know if it works.

Thanks.
Just tried it again

In the root of a simple project, it works
In a monorepo with multiple projects, it fails - it renders namespace Foo { } instead of namespace Foo;

My workspace is quite complex, but it's something like this:
workspace root
  src
    Organisation1
      Foo
        Foo.csproj
      Foo.Tests
        Foo.Tests,csproj
    Organisation2
      Bar
        Bar.csproj
      Bar.Tests
        Bar.Tests.csproj

Right click on project "Foo", New C# Class, ...
It will have the old namespace format namespace Foo { } instead of namespace Foo;
Hope that helps...

Are your projects using .net 6 or greater?

Yes. I also have a Directory.Build.props, I've updated the schema above to show its location.
If you can't replicate this, then it's "just me". So feel free to close. Maybe someone else will also have this problem and we can find a way to repro.

can you provide the content of you projects file, please?

Hey @bard83 I'm gonna close for now, and let's talk about this again if someone else has the same problem?
I feel like I've wasted too much of your time... :smile:
Thanks for your help!


[Enhancement] The colors of the observation graph change upon changing the year range

Feature title
Species information > observations
Description
The graph below the map changes color when you change the year range.
todo add screenshots

@SanderDevisscher You mean the legend colors should be fixed? Example below for Abies Alba: Flanders switches from green to blue

exactly


[SPARK-38723][CORE][STREAMING][TESTS] Add test for streaming query resume race condition.

@MaxGekk
What changes were proposed in this pull request?
Add a test for the CONCURRENT_QUERY error raised when multiple sessions try to simultaneously resume the same streaming query from checkpoint.
Why are the changes needed?
Improve testing coverage per https://issues.apache.org/jira/browse/SPARK-38723.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Change is itself a test - ran locally and confirmed the suite passes.
[info] All tests passed.
[success] Total time: 129 s (02:09), completed Oct 17, 2023, 2:11:34 PM

Was this patch authored or co-authored using generative AI tooling?
No.

Build failure is in pyspark tests, looks unrelated.
@MaxGekk will you review this, or is there someone else to tag?

@HeartSaVioR Could you take a look at the PR, please.

I see the test failure is not related. Thanks! Merging to master.

@PhilDakin Could you please let me know about your ASF JIRA account? It is needed to recognize your effort in ASF JIRA. Thanks!


Added possibility to create scopes and grants

Nice one, I'll add you to the contributors list in the readme.


Vb usage unused parameter

Fixes https://github.com/code-cracker/code-cracker/issues/291

@jwooley Did you check code commented in #291 ?

@carloscds Added unit test specific to check issue #291 . Test passed with the previously submitted PR. Removed #pragma directive in the analyzer.

@jwooley I have saw that you add many c# tests, but you add same tests in vb ?

@jwooley Hi Jim, do you have some news about this ?


Update cross-tenant-mailbox-migration.md

Removed Domain sharing Note as it is not available ATM
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12904

@kelleyvice-msft Please merge this PR. Thanks

@kelleyvice-msft Gentle reminder.


Deleted Itinerary Model and Fixed Typo for Description

closes #115

too many changes in this PR, I will make separate ones for each of these changes

Closing as PR split up


HTTP error 400. error when trying to export pdf.

get the following error when trying to export pdf.
Currently a sponsor.
HTTP error 400.

I can reproduce that with documents containing horizontal rules :
---

The problem is described here : https://github.com/jgm/pandoc/issues/5801
Not sure how to fix it yet but it should work if you remove the horizontal rules from your document.

Should be fixed with v5.15.2.


implemented reconnects for jetstream channels

Backport of PR https://github.com/knative-sandbox/eventing-natss/pull/408

@pierDipi , please take a look at this one, it is backport to release 1.10 of #408


[Do Not Merge]Republish World Locations to move them to /world

Part of the deploy process of the new Worldwide taxonomy. This should address step 13 (Republish all worldwide content)

👍  That's a much better idea! Closing in favour of https://github.com/alphagov/whitehall/commit/ae3337ab4863dffb049379e5619b169f9a88d514


Feature request: Texture viewer "Show data before draw"

RenderDoc seems to be missing a handy feature: Texture viewer should have "Show data before draw" checkbox. It would show the contents of the RT/UAV just before the selected draw call. This would allow you to quickly compare before<->after state of output RTs/UAVs.
History view already kind of implements this, but it opens slowly and is more complicated to use. Single click checkbox to switch between before<->after would be a nice productivity booster.

Maybe I'm misunderstanding, but what's wrong with just selecting the previous drawcall/event? That will show the same thing.
I get what you mean that it would be nice to have an explicit button to toggle back and forth, but I'm not sure if the extra UI is worth the marginal benefit over just going back and forth between two draws.
If you need a keyboard shortcut, you can create a bookmark on any event (in the event browser either the  button or Ctrl+B) and then the number key shortcuts Ctrl+1 through Ctrl+9 will work globally even if you are focused in the texture viewer.

Yes, it would just be a convenience feature. Being able to switch between before<->after directly in the texture viewer (one click). I do similar comparisons between two images regularly in other debugging tools and also in Photoshop (repeatedly toggling one layer on/off).
Currently you need to either open the history view or the event browser. And in event browser you don't always have a flat list open, so pressing up/down in event browser doesn't always switch between before<->after. Sometimes up/down jumps between more draws.
Not a high priority issue by any means. Just a small usability improvement for a common use case of mine.

Right, I see what you mean. One thing I could possibly do is add buttons to the event browser to jump to the previous and next drawcall regardless of where they appear in the marker hierarchy. Then you could set bookmarks or use those buttons directly, whatever works.
I'm not sure about having an explicit button to toggle this in the texture viewer. I'll have a think about it but I don't think it's above the value/cost cutoff (the cost here being mostly in avoiding a "kitchen sink" approach to adding features, buttons, etc).

I've added previous/next draw buttons which are mapped to a global shortcut ctrl-left and ctrl-right. I think that's generally useful and can be nice for stepping through a frame with complex marker hierarchy. I think it's not worth the drawbacks to add a specific toggle for it into the texture viewer.

The previous/next toggle is in v0.32 and I don't plan to add the toggle you were asking for originally, so unless there's a bug I'm going to close this down.


Remove mandatory dependency on node

Also some prereq fixes.
Fixes: #3

Thanks for pull request.
But please write an explanation. Why do you want to exclude node.js?

Its ecosystem has bad packaging practices.
The code written for node bundled with this lib is mostly redudndant. In the rewrite into python I got rid of most of it. If we eliminate node completely (by now I have kept that code, and allowed a user to choose, but it has some issues related to subprocessing) and the abstraction layer around a dict, we can get rid of even more, I guess the whole Netron-derived code can be excluded.
The redundant code is too large to audit and auditing it is unneeded cognitive load.

Managing a subprocess is additional burden

Also please note: this PR has some other commits solving some other issues (after they are landed and after we get the deps into Pypi, you can publish a pypi package), but I guess they won't properly commute with the commit of denodeing, so everything is bundled.

I do not intend to make a python package.
Do what you want with your own repository.


Possible fix for #4485

Description
This fixes an issue with getting a crash when passing in a null string to json::parse(). It instead throws an exception.
Also added in a testcase to check for this.
Link to issue.
https://github.com/nlohmann/json/issues/4485

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.
[x]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header files single_include/nlohmann/json.hpp and single_include/nlohmann/json_fwd.hpp. The whole process is described here.

coverage: 100.0%. remained the same
when pulling 530e063b963d3ab307af0a0cc9a66f62abbeabbc on jordan-hoang:fix-#4485
into ac8b22180db393d56f5f2954eb353967fad254e3 on nlohmann:develop.

(Also, please update to the latest develop branch to have a green CI)

Gotcha, ahh so that's what it is, I noticed errors going away when I updated / merged from develop.
Thanks for letting me know.

Note "make pretty" is not sufficient as it only indents the files in include and tests. You must run "make amalgamate" to create the single header files in single_includes.

Oh I see, I thought the single_include files weren't ever supposed to be changed.... Hmm seems like another check failed?

Sorry about all these tiny commits, I make the changes on a windows push em and then do the make amalgamate on a linux vm I have. Should really get make setup for windows so I don't have to do that.

Thanks a lot!!!


themes.textpattern.com not accessible from (.io) forum

When trying to access the 'themes' navigation tab from forum.textpattern.io there is a HSTS error in Firefox. Accessing it from the textpattern.com domain works as expected.

This relates to a link mismatch outlined in
https://github.com/textpattern/textpattern-forum/issues/224
@philwareham - let me know if we need a proper themes.textpattern.com site and I'll set the scaffolding up ASAP.

Closing - OP issue resolved by @philwareham in
https://github.com/textpattern/textpattern-forum/issues/224

Cheers. I won't need the scaffold for a while yet.


Refs/heads/trystanfirst

Add trystanwei's file

created a branch, created a file and made a commit, and opened a pull request

done finally


Create and Affirm Table A-6 Changes for 2024MY Effects

Create and Affirm Table A-6 Changes for 2024MY Effects.
Create with user community and review with CARB.
DM5 and DM26 status bit content changed for misfire in tables A-6-1 and tables A-6-2.
See #1098, #1062, #1014, #979, #978, #861

See #1142 for a current SI table complaint.

Will add new <IP_ADDRESS>-6 and <IP_ADDRESS>-6 text to “App-4-7” draft for Task 5 releases.
To also include Appendix “Sandbox” Changes

See proffer in https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/1152


Match field with regex

It could expand the functionality of the current deserialize field attribute and be something like #[serde(regex = "...")]

I would prefer not to build this into serde_derive, but someone could provide a different Deserialize derive macro in a different crate which could be more fully featured and handle this case.


JUnit 5 integration relies on Jupiter specifics

Recently I tried to implement a custom TestEngine (see https://github.com/TNG/ArchUnit/issues/34) and was wondering, that JUnit 5 tests were executed in IntelliJ and Maven, but not Gradle.
The reason seems, that Gradle makes some (in my opinion) unjustified assumptions in
org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestExecutionListener#getDescriptor

Namely that the chosen type of descriptor is based on
private boolean isClass(TestIdentifier test) {
    return test.getSource().isPresent() && test.getSource().get() instanceof ClassSource;
}

While on the other hand, the Javadoc of Optional<TestSource> getSource() seems to suggest, that it is valid to not provide any source. In my concrete case, I did not provide a ClassSource, which caused Gradle to use a DefaultTestDescriptor, that in turn always claims isComposite() -> false. On the other hand, within
org.gradle.api.internal.tasks.testing.results.AttachParentTestResultProcessor#started

Gradle expects isComposite() -> true, if the rootId is not yet set. This lead to a somewhat silent exception and Gradle reporting SUCCESS without any test being run (I don't know if I like this behavior, but maybe there is a reason for that, that I don't know about :wink:)
I don't know much about JUnit 5 / Gradle interna, but shouldn't isComposite() rather refer to
org.junit.platform.launcher.TestIdentifier#getType

? I.e. if the type of the descriptor is a CONTAINER or TEST.
I've "fixed" the issue in my case by providing the source (which I probably would have done eventually, anyway), but the behavior and assumptions still seem a little shady.
Might also be related to #4773, since I think this would affect the same places?

Thanks for reporting, that's definitely what we want to improve. We did make some assumption when integrating JUnit 5 with Gradle, because traditional Gradle test infrastructure is class-based (e.g. report is class-based). Your project is a perfect case for us to look into. I'll take a look at it.

Just to clarify, my TestEngine is class-based, too :wink:
So it's unfortunately not a good example for a file-based TestEngine. However, if you want to analyse the problem, I've pushed a branch with my original code:
https://github.com/TNG/ArchUnit/tree/junit5-support-gradle-problem
You can run ./gradlew install and then add the dependency to another Gradle project:
testCompile("com.tngtech.archunit:archunit-junit5:1.0.0-junit5-SNAPSHOT")

Then add a simple test
@AnalyzeClasses(packagesOf = MyArchTest.class)
public class MyArchTest {
    @ArchTest
    public static final ArchRule some_failing_rule = classes().should().bePrivate();
}

This test should run fine in IntelliJ Idea (violation at least by the test class itself), but if you run it from the command line with Gradle, it silently gets skipped (note that you need Gradle >= 4.6 with the new JUnit 5 support).
The version with the test source (https://github.com/TNG/ArchUnit/tree/junit5-support) works as expected.

Thanks @codecholeric , it's very kind of you. However I did as you said, seems your test engine didn't discover the test:

Am I wrong somewhere?
Here's my repository: https://github.com/blindpirate/MyArchTest

@marcphilipp Of course I don't mind, ping me if you need any help.

Hi, I'd like to add some comments to this. As one of the authors of KotlinTest which relieves very heavily on Junit5 and it's ability to arbitarily nest tests. You can use our repo as a good example of tests that have no limit on their structure.
I've ran into two problems. The first (as already reported by @codecholeric) is that we shouldn't have to provide a ClassSource or any source at all. In fact we should be able to use ClassSource in multiple places (nested tests) which you currently cannot. I don't think the implementation should assume that a test that has a ClassSourceis a class.
Secondly, in gradle 4.7, and something more urgent, is that if a nested test fails, and the test is a container, gradle assumes a start event will not have been fired and thus fires one. This means we get:
        at org.gradle.api.internal.tasks.testing.junit.GenericJUnitTestEventAdapter.testStarted(GenericJUnitTestEventAdapter.java:52)
        at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestExecutionListener.executionFinishedAfterTestClassStart(JUnitPlatformTestExecutionListener.java:107)
        at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestExecutionListener.executionFinished(JUnitPlatformTestExecutionListener.java:91)
        at org.junit.platform.launcher.core.TestExecutionListenerRegistry$CompositeTestExecutionListener.lambda$executionFinished$3(TestExecutionListenerRegistry.java:77)
        at java.util.ArrayList.forEach(ArrayList.java:1257)
        at org.junit.platform.launcher.core.TestExecutionListenerRegistry.notifyTestExecutionListeners(TestExecutionListenerRegistry.java:51)
        at org.junit.platform.launcher.core.TestExecutionListenerRegistry.access$100(TestExecutionListenerRegistry.java:27)
        at org.junit.platform.launcher.core.TestExecutionListenerRegistry$CompositeTestExecutionListener.executionFinished(TestExecutionListenerRegistry.java:77)
        at org.junit.platform.launcher.core.ExecutionListenerAdapter.executionFinished(ExecutionListenerAdapter.java:56)
        at io.kotlintest.runner.junit5.SynchronizedEngineExecutionListener.executionFinished(SynchronizedEngineExecutionListener.kt:12)
        at io.kotlintest.runner.junit5.JUnitTestRunnerListener.completeSpec(JUnitTestRunnerListener.kt:127)
        at io.kotlintest.runner.jvm.TestEngine.executeSpec(TestEngine.kt:112)

As far as I can tell, gradle is not supporting CONTAINER_AND_TEST which is a valid type of TestDescriptor. It assumes that it's either a CONTAINER (and fires a start event) or a TEST.  The CONTAINER_AND_TEST in JUnit platform allows nested test contexts to act as both a test case itself and a container of more tests.
In other words, this method makes incorrect assumptions.
    private void executionFinishedAfterTestClassStart(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) {
        // Generally, there're 2 kinds of identifier:
        // 1. A container (test engine/class/repeated tests). It is not tracked unless it fails/aborts.
        // 2. A test "leaf" method. It's always tracked.
        if (isFailedContainer(testIdentifier, testExecutionResult)) {
            // only leaf methods triggered start events previously
            // so here we need to add the missing start events
            adapter.testStarted(testIdentifier.getUniqueId(), getDescriptor(testIdentifier));
            testFinished(testIdentifier, testExecutionResult);
        } else if (isLeafTest(testIdentifier)) {
            testFinished(testIdentifier, testExecutionResult);
        }

        if (isClass(testIdentifier)) {
            reportTestClassFinished(testIdentifier);
        }
    }

I hope this helps.

@sksamuel Thanks for your feedback! I'm already working on this issue and #4252 and intend to remove these assumptions and report events for all nodes of the test tree to support arbitrarily nested structures. I'll make sure to add an integration test that uses KotlinTest.

No problem. If you need any early feedback I'm happy to help test your work.

See also #5678 for how our test filtering has similar problems.

Any news here?

We're a bit closer but there's still work to be done.

I think this issue is still valuable and worth tackling. :)

Any plans to support CONTAINER_AND_TEST ?


Fixed #19670 -- Applied CachedFilesMixin patterns to specific extensions

Thanks Simon Meers for the initial patch.

I just tried to update the patch attached to the ticket.

Windows test issue remaining.

Took too long, but found the reason: .gitattributes in the repository root. I think add a rule for JS files should do it.

Tim, good catch for the .gitattributes thing. Do you think it's fine to change it globally for all js (*css text eol=lf) or just for the staticfiles_tests directory (tests/staticfiles_tests/project/documents/cached/*js text eol=lf)?

I think *js text eol=lf is okay, but I don't have much experience there.


OpenLineage Spark extension interfaces without runtime dependency hell

Problem
Closes: #2784

[ ] Your change modifies the core OpenLineage model
[ ] Your change modifies one or more OpenLineage facets

If you're contributing a new integration, please specify the scope of the integration and how/where it has been tested (e.g., Apache Spark integration supports S3 and GCS filesystem operations, tested with AWS EMR).
One-line summary:
New Spark extension interfaces without runtime dependency hell
Checklist

[x] You've signed-off your work
[ ] Your pull request title follows our guidelines
[x] Your changes are accompanied by tests (if relevant)
[ ] Your change contains a small diff and is self-contained
[ ] You've updated any relevant documentation (if relevant)
[ ] Your comment includes a one-liner for the changelog about the specific purpose of the change (not required for changes to tests, docs, or CI config)
[ ] You've versioned the core OpenLineage model or facets according to SchemaVer (if relevant)
[x] You've added a header to source files (if relevant)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2024 contributors to the OpenLineage project

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.52%. Comparing base (a31cc8d) to head (d1d1a13).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2809   +/-   ##
=======================================
  Coverage   85.52%   85.52%
=======================================
  Files          58       58
  Lines        3413     3413
=======================================
  Hits         2919     2919
  Misses        494      494

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


connect to offline server map

I made the offline tiles with the QGIS software and I have several folders with different tiles, but I don't know how and with what address to connect to it.

you mean you create your own server tile or you want to have offline tile on  our map ?

I create my server tile.
My server is also running in Windows as xampp.
I also have the tiles file .mbtiles and folders as shown in the photo below

These folders are located at this address

And this is the address I put in the code :  "http://localhost/train_media/map/masder/{z}/{x}/{y}.png"
I know this is my mistake, but I don't know the right way to connect to my server

error in flutter:
W/OsmDroid( 2787): Problem downloading MapTile: /13/5453/3208 HTTP response: Not Found

error flutter:
W/OsmDroid( 2787): Problem downloading MapTile: /5/21/12 HTTP response: Not Found

error flutter:
W/OsmDroid( 2787): Problem downloading MapTile: /13/5453/3208 HTTP response: Not Found

I tested with the flutter_map package. It worked correctly with this package and showed the tiles!!

just to understand the issue only in that part its shown some tile or nothing is shown ? black view ?

show me the mapcontroller configuration

mapcontroller = MapController(
initPosition: GeoPoint(latitude: 36.304242, longitude: 59.6241052),
);

osmOption = OSMOption(
zoomOption: const ZoomOption(maxZoomLevel: 16, minZoomLevel: 5),
staticPoints: staticPoints,
);

just to understand the issue only in that part its shown some tile or nothing is shown ? black view ?

for customtile you need to force in mapController
how did you force to take
your offline you mean you have inner server in phone or another setup
how did you do the integration for offline side ?
i need more information about you setup and offline server

I have a Windows server to which Android boxes are connected via LAN. In the photo above, I showed that I started my server with xampp.
Everything works fine online, but when I enter the network address of my server to use with offline server tiles, it cannot load them.

mapcontroller = MapController.customLayer(
initPosition: GeoPoint(
latitude: 47.4358055,
longitude: 8.4737324,
),
customTile: CustomTile(
sourceName: "masder",
tileExtension: ".png",
minZoomLevel: 5,
maxZoomLevel: 16,
urlsServers: [
TileURLs(
url: "http://<IP_ADDRESS>/train_media/map/masder/{z}/{x}/{y}.png",
)
],
tileSize: 256,
),
);

now I can help you:
just fix customTile like this
mapcontroller = MapController.customLayer(
          initPosition: GeoPoint(
          latitude: 47.4358055,
          longitude: 8.4737324,
          ),
          customTile: CustomTile(
          sourceName: "masder",
                  tileExtension: ".png",
                  minZoomLevel: 5,
                  maxZoomLevel: 16,
                  urlsServers: [
                  TileURLs(
                        url: "http://<IP_ADDRESS>/train_media/map/masder/",
                  )
          ],
          tileSize: 256,
        ),
);

small note
make use in the manifest.xml you have this : android:usesCleartextTraffic="true" put it in application like this:
<application
       ...
        android:usesCleartextTraffic="true">...</application

Thankful. fixed!!!!!!!
My only mistake was that I had the wrong address

yep just added /z/x/y.png that handle it internally because raster server works like that but i will add a check to url that if z/x/y  will correct it and accep it internally

Thankful. It was great


elf: fail validation if writable .data sections are present

This extends the check we already do for .bss to all writable .data sections. Improves error messages for programs that use mutable global state, for which before we were returning access violation errors due to relocated addresses being invalid, eg:
Access violation in program section at address 0x1000a39b0 of size 8 by instruction #5065

Versus the error we provide now:
Found writable section (.data._ZN3std6thread8ThreadId3new7COUNTER17h88fd3fcacf16583cE.llvm.14438380808032992799) in ELF, read-write data not supported

The new error can actually help folks pin point the issue with their code (in my example, some hashmap code pulling in threading code).

One thing to note is that doing verification this way is obviously stricter, as it will fail at validation time vs run time when the data gets written to. But we've already decided to do it this way for .bss so I don't think it makes sense to treat writable .data sections differently.

I guess when this get merged I should bump version and tag?

This is the corresponding solana PR: https://github.com/solana-labs/solana/pull/21826. Marked as draft for now since we need to bump rbpf version before it can get in.

I guess when this get merged I should bump version and tag?

Yes, pushing a tag should publish the new version on crates.io automatically. If this fails, please, let me know.

But we still have to bump the version manually. Only the cargo publish happens automatically, right?

@alessandrod I added a few more changes to roll in a missing featurization from earlier, check them out.

@alessandrod I added a few more changes to roll in a missing featurization from earlier, check them out.

Looks good!


Cannot import as ES6 module

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Cannot import Pickr as an ES6 module on the browser side.
import Pickr from '/extlib/pickr/pickr.min.js'; results in this error: Uncaught SyntaxError: The requested module '/extlib/pickr/pickr.min.js' does not provide an export named 'default'
If the current behavior is a bug, please provide the steps to reproduce and create a JSFiddle.

What is the expected behavior?
Should be able to import as a module.
Your environment:
Version (see Pickr.version): 1.4.2
Used bundle (es5 or normal one): normal
Used theme (default is classic): nano
Browser-version:  Chrome 77.0.3865.90
Operating-system:  Win 10

Pickr is not designed to be imported as an ES6 module in the browser as stated in the documentation. In the browser, you will need to import it with a script tag in HTML.
For more information, please refer to the README.
Have a great day :)

Ok. I didn't see any explicit reference to ES6 modules in the docs. Thanks for the update.


rac-5340 Implement the immediate and  delayed rediscovery test for FIT

Add a single function to get IPMI user from node catalog
Added the test to preload unidentified compute sku

@jimturnquist


add a gpu scaling job with diagnostics

Purpose

To-do

Content

[ ] I have read and checked the items on the review checklist.

gpu build: https://buildkite.com/clima/climaatmos-target-gpu-simulations/builds/251
The simulation runs for a day, with daily averaged default output. The SYPD at the end of the simulation with and without diagnostics are 0.54 and 0.46, respectively. The SYPD during the time stepping is similar. @Sbozzolo @charleskawczynski Do you think it's useful to add a job like this in the gpu scaling pipeline?

In https://github.com/CliMA/ClimaAtmos.jl/pull/2646, I was trying to add a job like this, but also producing the flame graph, so that we have an actionable table of parts to optimize. However, I am running into limits for ProfileCanvas, and the HTML cannot be rendered because it has too many entries.
The difference in SYPD during runtime tells us that the online SYPD is not computed correctly for the last step. The SYPD is computed at the beginning of the step, so it does not account for the time spent in saving the output in the last step.
Is this job representative the ideal job you want to run? Does it have all the physics you want to run and diagnostics you want to save?

This job is a good representative for the atmosphere only without edmf (dyamond) run. The GPU scaling jobs only run for 1 day, with 1 day averaged diagnostics. I think in the end we want to run it with mostly monthly averaged diagnostics, so there may be some differences. But other than that I think this job is good.

Okay, I got a flame graph for this entre job, but it doesn't look good. I'll look into it

Do you think it's useful to add a job like this in the gpu scaling pipeline?

Yes, I think it'd be good. It'd be helpful if we add an nsysreport, too.

Passing here: https://buildkite.com/clima/climaatmos-target-gpu-simulations/builds/328#0190e35e-6107-4a91-846b-331244f89205


Independent triggering

Is it possible to accept multiple independent external triggers (HitOR) from multiple FE-I4 chips on a single MMC3 board? If so, how many chips are independently triggerable?

Do the FE-I4s on the FANGS staves not trigger independently?
We will have 8 FE-I4s reading out uncorrelated and asynchronous events, so all we can do with parallel triggering is trigger all 8 chips from the OR of all 8 HitORs. At high data rates, this seems like it will be quite inefficient. Can you foresee any solutions that might make independent triggering possible? TLU magic?
What about with FE-I4 self-trigger scans? Is asynchronous triggering/readout possible? (but we ideally need to use stop-mode scans for more than 16 BCs)

I can imagine a hack that may work but this is bit of work. To have 8 cmd_seq that have same address in the fpga and receive same data they can then be triggered independently. It would nee to be connected in way that only one modules is read back, If every chip has different address even even tuning/configuration may work ...

What about with FE-I4 self-trigger scans? Is asynchronous triggering/readout possible?

Sure that is possible, but not with more than 16 BCIDs.

OK, it's good to know at least that this is possible in firmware. Hardware-wise, how would HitOR be received by MMC3? I suppose we'd need to build a board that receives the 8 HitOR lines and talks to the TLU? (I guess this is probably done on some of the existing FE-I4 boards but we're using a homebrew one)

The firmware/software can modified to support multiple FE individually. But that needs significant changes in general. If you specify your use case more precisely a bespoke solution exist that doesn't need severe changes of the current system. If @themperek is right, and only slight changes of the firmware/software might be necessary. We have to look into that.

Our use case (for BEAST phase II):

8 independent time projection chambers (TPC)
One FE-I4B inside each TPC on a custom board (nothing fancy: standard LVDS via RJ-45, HitOR via LEMO, power via Molex, chip ID is settable via headers)
For each TPC, we have 2x15m cat7 cables to transmit power, receive HitOR (converted to 3.3V logic) and communicate via LVDS
One cat7 cable from one TPC is plugged into one of the 2x4 RJ-45 jacks on MMC3
HitOR (converted to 3.3V) is plugged into RX0 LEMO jack (obviously we can only do this for one chip at the moment)
DAQ via stop mode scans (right now we're using mmc3_r26_eth firmware, but modified to accept triggers on RX0 instead of TLU). Our tracks are in general much longer than 16 BCIDs, so FE-I4 self-trigger scans are not appropriate.
Communication with computer (SL6.4) via SiTCP

Important operational points:
a. There is no time correlation between tracks in different TPCs. That is, using a common trigger means that 7 of the 8 TPCs will be reading out nothing.
b. The firmware solution to rejecting short HitOR triggers is essential for our use case. Otherwise we're absolutely swamped with backgrounds.
c. We can't change anything at this point inside the TPCs. So if we need to add some hardware to talk to the TLU, this will have to be done next to the MMC3 board.
d. The trigger rate for one TPC is on the order of 10 Hz maximum.
I hope this paints a clearer picture. Thanks!

So, does this sound doable?

It should be possible.  Would be easier to have HitOr in the RJ45 cable (like BEAST).

No problem. Can the RJ45 pinout handle 8 single-ended HitOR inputs?

Yes, all HitOr via 1 single Ethernet cable (8x single ended) is possible or 8 differential pairs (similar to the BEAST/FANGS, which I prefer). @PatrickAhl We probably need a similar solution for BEAST/FANGS anyway.

@trogonpete I prefer a solution where we have clock, CMD, data and HitOR bundled in a single Ethernet cable for each FEI4 readout chip. An individual CMD line is necessary to independently trigger the FEI4 chips. The clock can be shared among the FEI4. But we never connected that many chips to a single output buffer. So I prefer also individual clock for each FEI4 chip.
We need to check if we can fit the I/O (8x 4x differential pairs) into the FPGA.

Summary from meeting on 12.05.2017

Requirements:

MMC3 readout for 8 ATLAS-FEI4
Each triggered independently via hitbus
Stop mode readout with 10 Hz trigger rate
Hitbus trigger veto for pulses between 50 - 500 ns (2 - 20 clock cycles with 40 MHz)
Compatibility to differential 3.3 V Hitbus signal
One patch cable per device with CMD, CLK, DATA, HITBUS

BEAST FANGS have different synchronous trigger
PyBAR multichip branch to be extended by additional BEAST TPC firmware
Programming of XILINX FPGA needed to be able to test different firmwares
Timeline

First single chip readout with correct pin assignment (few days)
Then async triggering with 8 x (CMD + TRG) module in FPGA (end of July)

@trogonpete I've some updates for you. We updated the multi_chip branch and have the firmware for 8x single chips ready and tested. The latest reference PCB design for the interconnectivity (CMD, CLK, DATA, HITBUS/HitOR) is available here: http://icwiki.physik.uni-bonn.de/svn/USBpixI4/pcb/SCC_FE-I4B/SCC_FE-I4B_v2-11/
Missing items are:

async triggering with 8 x (CMD + TRG) module in FPGA
so far we can only trigger on the first 7 modules. The 8th module has HITBUS/HitOR not connected and cannot be used for trigger

Both issues are due to limited space in the data header. These features require some more thinking how to do the implementation. The implementation should have minimal impact on firmware and software.

Excellent!
Unfortunately, I can't open the link ("authorization required") so I'm not sure how to wire the RJ-45 plug. We will be ready to test immediately once I can figure this out.

@trogonpete I've found a solution for the DAQ code and have code almost ready for independent triggering. I'll will soon finish a firmware that is supporting independent triggering of several modules.

This is done and available in the multi_chip branch as of now!


builtin_flatten_arrays: expected array, got string

I tried evaluating a complex jsonnet file using the latest from jrsonnet-unstable-builds:
jrsonnet 0.0.0-git.7f29d2da65f7623c71566a288af9988797d9691d
The error seems to dislike the std.flattenArrays usage in the code snippet.
The evaluation works fine in go-jsonnet. I was just doing a quick inspection for our team using go-jsonnet, where their evaluation times are taking 1-3 minutes and was curious if this implementation might assist them. Not sure if I can offer more insights, so you are welcome to close this issue if not detailed enough for you.
code
getIconForPlatform(iconName)::
  // Please add to this list as needed; this is not an exhaustive list of icons and you will need to define platform equivalents manually.
  // See app/Components/AtomicElements/Atoms/Icon/Icon.tsx for the list of available mobile icons and
  // node_modules/<EMAIL_ADDRESS>for the list of available web/mobile web icons
  local icons = [
    { mobile: 'done', web: 'pt-icon-tick-circle', mobileWeb: self.web, alternateNames: ['checkmark', 'check'] },
    { mobile: 'clock', web: 'pt-icon-time', mobileWeb: self.web },
    { mobile: 'edit', web: 'pt-icon-edit', mobileWeb: self.web },
    { mobile: 'map-pin', web: 'pt-icon-pin', mobileWeb: self.web },
    { mobile: 'chat', web: 'pt-icon-chat', mobileWeb: self.web },
    { mobile: 'chevron-right', web: 'pt-icon-chevron-right', mobileWeb: self.web },
    { mobile: 'arrow-left', web: 'pt-icon-arrow-left', mobileWeb: self.web },
  ];
  local getIcon = std.prune([
    if std.member(std.flattenArrays(std.objectValues(icon)), iconName) then icon[platform]
    for icon in icons
  ]);
  if std.length(getIcon) > 0 then getIcon[0] else iconName,

error
type error: expected array, got string
    argument <arrs> evaluation
    ../../library/uiHelpers/components/components.libsonnet:730:28-70:                            function <builtin_flatten_arrays> call
    argument <arr> evaluation
    ../../library/uiHelpers/components/components.libsonnet:730:17-81:                            function <builtin_member> call
    ../../library/uiHelpers/components/components.libsonnet:730:5-730:6:                          if condition
    <std>:223:53-55:                                                                              variable <x> access
    <std>:222:20-22:                                                                              variable <a> access
    argument <v> evaluation
    <std>:222:8-23:                                                                               function <builtin_is_array> call
    <std>:222:8-222:9:                                                                            if condition
    <std>:223:45-56:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:223:35-57:                                                                              function <isContent> call
    ../../library/uiHelpers/components/components.libsonnet:729:4-729:5:                          function <prune> call
    ../../library/uiHelpers/components/components.libsonnet:733:26-34:                            variable <getIcon> access
    argument <x> evaluation
    ../../library/uiHelpers/components/components.libsonnet:733:15-35:                            function <builtin_length> call
    ../../library/uiHelpers/components/components.libsonnet:733:3-733:4:                          if condition
    ../../library/uiHelpers/components/components.libsonnet:736:4-736:5:                          function <getIconForPlatform> call
    ../../library/uiHelpers/components/components.libsonnet:740:4-740:5:                          variable <icon> access
    <std>:227:32-34:                                                                              field <name> access
    <std>:222:20-22:                                                                              variable <a> access
    argument <v> evaluation
    <std>:222:8-23:                                                                               function <builtin_is_array> call
    <std>:222:8-222:9:                                                                            if condition
    <std>:227:20-36:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:227:10-37:                                                                              function <isContent> call
    <std>:223:45-56:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:223:35-57:                                                                              function <isContent> call
    <std>:227:20-36:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:227:10-37:                                                                              function <isContent> call
    <std>:223:45-56:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:223:35-57:                                                                              function <isContent> call
    ../../library/basebowl/helpers/basebowlUtils.libsonnet:463:19-463:20:                         function <prune> call
    <std>:227:32-34:                                                                              field <children> access
    <std>:222:20-22:                                                                              variable <a> access
    argument <v> evaluation
    <std>:222:8-23:                                                                               function <builtin_is_array> call
    <std>:222:8-222:9:                                                                            if condition
    <std>:227:20-36:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:227:10-37:                                                                              function <isContent> call
    <std>:223:45-56:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:223:35-57:                                                                              function <isContent> call
    <std>:227:20-36:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:227:10-37:                                                                              function <isContent> call
    <std>:223:45-56:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:223:35-57:                                                                              function <isContent> call
    <std>:227:20-36:                                                                              function <prune> call
    <std>:214:10-12:                                                                              variable <b> access
    <std>:214:13-214:14:                                                                          if condition
    <std>:227:10-37:                                                                              function <isContent> call
    ../../library/utils.libsonnet:59:5-59:6:                                                      function <prune> call
    ../../library/renderer/renderer.libsonnet:29:21-139:                                          function <pick> call
    ../../library/renderer/renderer.libsonnet:44:47-57:                                           variable <currProps> access
    ../../library/renderer/renderer.libsonnet:47:46-60:                                           variable <combinedProps> access
    ../../library/renderer/renderer.libsonnet:7:29-35:                                            variable <props> access
    ../../library/component/base.libsonnet:126:36-42:                                             variable <props> access
    ../../library/component/base.libsonnet:90:60-66:                                              variable <props> access
    ../../library/component/base.libsonnet:126:15-151:                                            function <normalize> call
    <std>:222:20-22:                                                                              variable <a> access
    argument <v> evaluation
    <std>:222:8-23:                                                                               function <builtin_is_array> call
    <std>:222:8-222:9:                                                                            if condition
    ../../library/component/base.libsonnet:126:5-152:                                             function <prune> call
    ../../library/renderer/renderer.libsonnet:7:3-68:                                             function <newFromJson> call
    ../../library/renderer/renderer.libsonnet:47:27-93:                                           function <mapComponent> call
    ../../library/renderer/renderer.libsonnet:76:5-21:                                            variable <mappedComponent> access
    <std>:222:20-22:                                                                              variable <a> access
    argument <v> evaluation
    <std>:222:8-23:                                                                               function <builtin_is_array> call
    <std>:222:8-222:9:                                                                            if condition
    ../../library/renderer/renderer.libsonnet:75:4-75:5:                                          function <prune> call
    ../../library/renderer/renderer.libsonnet:85:40-114:                                          function <render> call
    ../../library/basebowl/stories/driver/scenes/preArrival/preArrival.scene.libsonnet:388:19-55: function <mobile> call
    field <uiSchema> manifestification
    field <mobile> manifestification
    field <uiView> manifestification
    field <scenes> manifestification
    field <core_storyboard_plan> manifestification

In jrsonnet, std.flattenArrays only accepts array of arrays, while in go-jsonnet it works with strings too.
However, the way it works with strings in go-jsonnet isn't good nor intuitive:
std.flattenArrays(['a', 'b', 'c']) == "[ ]abc"
I don't think that's what you want here anyway?

I see there is flattenDeepArray in jsonnet standard library now, which work as expected (std.flattenDeepArray(['a', 'b', 'c', ['d', 'e']]) == ['a', 'b', 'c', 'd', 'e']), but isn't implemented in jrsonnet/go-jsonnet yet:
https://github.com/google/jsonnet/blob/master/stdlib/std.jsonnet#L883-L887
I will implement it in jrsonnet, but in meanwhile, you can just use it in your code
local flattenDeepArray(value) =
  if std.isArray(value) then
    [y for x in value for y in flattenDeepArray(x)]
  else
    [value];

flattenDeepArray(['a', 'b', 'c', ['d', 'e']]) == ['a', 'b', 'c', 'd', 'e']

Thanks! Perhaps it would make sense to have a compat mode and emit warnings to help teams transition?
I made the change it worked! I had to set the max-stack size, but it dropped the runtime from 145s to 12s. I know they run this in VSCode. Is there an ability to swap that to use yours?
time jsonnet deployment/heartland.plan.jsonnet -o /tmp/plan-go.json
jsonnet deployment/heartland.plan.jsonnet -o /tmp/plan-go.json  144.82s user 1.11s system 223% cpu 1:05.37 total

time ~/Downloads/jrsonnet deployment/heartland.plan.jsonnet -o /tmp/plan-rust.json --max-stack 10000
~/Downloads/jrsonnet deployment/heartland.plan.jsonnet -o /tmp/plan-rust.json  12.35s user 0.58s system 99% cpu 12.999 total

diff -q /tmp/plan-go.json /tmp/plan-rust.json && echo "identical" || echo "different"
identical

Thanks! Perhaps it would make sense to have a compat mode and emit warnings to help teams transition?

Maybe I can add reasons why functions are typed this way to error messages, but it isn't possible to implement the compat mode in general.
In this case, accepting strings isn't even the intended behavior, it is just upstream jsonnet lacking type checks.

I made the change and it worked! I had to set the max-stack size, but it dropped the runtime from 145s to 12s. I know they run this in VSCode. Is there an ability to swap that to use yours?

You mean, how to use jrsonnet for file preview in VSCode? As I can see, grafana language server uses embedded go-jsonnet for evaluation, and it is not possible right now to use jrsonnet instead. It should be possible to implement this feature, however.

That's all very reasonable. I think having improved warnings is always nice. For VSCode, we already use the Save and Run extension for scripts so writing a shortcut that invokes jrsonnet should be easy.
One last question while I'm bothering you, do you have any advice on how to profile / optimize jsonnet? Presumably our 2.5 minute evaluations are abnormal and perhaps trivial to fix if we understood what the root cause was. We tried profiling go-jsonnet (pprof svg) which showed flattenArrays as a bottleneck, but at the interpreter level rather than our own code.

That is complicated.
Some years ago I was trying to optimize my jsonnet deployments, and everything was bottlenecked at the interpreter. I did some domain-specific optimizations, but every time I came to conclusion that original implementations are optimized for conditions, that are wastly different from my code (And from code of kube-prometheus and other projects), so instead I just decided to write my own jsonnet implementation, and there it is :D
After couple of years, some optimizations were properly implemented in upstream, but jrsonnet/sjsonnet are still just much better.

In latest release I have also included faster implementation of std.prune, so some things might just start working faster for you (I see some time was spent in it on your stack traces).
Standard implementation of prune is evaluating everything exponentially more times, it is first calling itself for every element of array/object (recursively), and then doing the same thing to provide result.
As none of jsonnet implementations implement memoization, this is one of examples that will work poorly in other jsonnet implementations (In jrsonnet, prune is now much more optimized.)
  prune(a)::
    local isContent(b) =
      if b == null then
        false
      else if std.isArray(b) then
        std.length(b) > 0
      else if std.isObject(b) then
        std.length(b) > 0
      else
        true;
    if std.isArray(a) then
      [std.prune(x) for x in a if isContent($.prune(x))]
    else if std.isObject(a) then {
      [x]: $.prune(a[x])
      for x in std.objectFields(a)
      if isContent(std.prune(a[x]))
    } else
      a,

Shared with the impacted team this morning, lots of happy people thanks to your work 😁

Wow, just tested it out. That is incredible. The  plan took 500+ seconds to evaluate before and now   1.41s user 0.15s system 98% cpu 1.575 total

This is life changing.
Before: 418.64s user 3.89s system 220% cpu 3:11.63 total
After: ... 1.45s user 0.13s system 95% cpu 1.645 total

and the founder on Slack after I added it to the Sunday night company update,

can we talk about the JSONNET speedup, that’s huge
It takes our SE’s 3.5 minutes to just see if their change(s) work, our engineering got it down to 0.5 seconds
that’s such a huge improvement

I gave them this snippet to integrate into VS Code until we put something together nicer,
"saveAndRun": {
  "commands": [
    {
      "match": "\\.jsonnet$",
      "cmd": "jrsonnet ${file} -o /tmp/results.json && code --reuse-window /tmp/results.json",
      "useShortcut": true,
      "silent": true
    }
  ]
}

anyway, just wanted you know this project is greatly appreciated!


don't leave bin/riak-shell behind when making rel

Add a new entry in reltool.config to fetch deps/riak_shell/bin/riak-shell escript for release and packaging.

I've already got a directive to include riak-shell: https://github.com/basho/riak_ee/blob/riak_ts-rc-1.2.0/rel/reltool.config#L149
The script needs to be run through the preprocessor to do some constant replacements, so it must be a template.

@javajolt you are correct. Fixed and force-pushed.

Thanks, however 1.2 is EE only which has this change.  We'll need to same one on riak for 1.3, however.


Chaos when learning react-draggable as Dev

Hi,
I'm not happy about the doc because it make me confused and it SHOULD be more

effective for mainteners
easy to learn => more attractive
benefit for all (less issues and more easy to evolve)

By Exemples
I show some exemple for demonstrate react-draggable will earn to upgrade the documentation. So time to change for the "greater good":
https://github.com/wix/react-native-calendars ==> Good for exemple . Basic to Advanced usage with gif (bonus)
https://github.com/react-component/slider  ==> Showing tabs for props . Its effective .
In my opinion it is the best to achieve previous advice 2 rather than storybook but if you do a storybook it would be better.
Please make more easier to understand shortly and effictivly the documentation.
be concise about  "DraggableCore Vs Draggable"
when write "Controlled vs. Uncontrolled", "DraggableCore"  please reconsider in that format.

a concise (and clear) sentence is better than a philosophy dissertation. it is  written 3 times the difference between Draggable and DraggableCore and personnally being confused.
I have not the time to read all the note: we code as dev.
I'm new trying to using this package but maybe not ... When open the demo I try to found the more basic one but thats tired me because ther is no comments or it is the Huge block of code that make me tired.
I have no pleasure to work with this doc so the only way I can continue is to experiment without the doc and spend time for learning the package , it shouldn't be .
PS: Demo
for DemoS think about the possibility to make it via codepen.io or other platform.
Demos should be one by one, for simplicity.

The latest release was 2016 - I don't think this code base is maintained tbh.


framing/decoding related fixes

fixes #329

Coverage increased (+0.1%) to 58.446% when pulling e9522ffca5279f0303a962f2ee0310c841f4119c on jdef_decoding_fixes into befca3fb096f9b8a225436bcb3cfe7951a625f97 on master.

Coverage increased (+0.1%) to 58.446% when pulling e9522ffca5279f0303a962f2ee0310c841f4119c on jdef_decoding_fixes into befca3fb096f9b8a225436bcb3cfe7951a625f97 on master.

Coverage increased (+0.2%) to 58.487% when pulling ef9cc722f4e8db1a83cd9282b013d6322730c4c6 on jdef_decoding_fixes into befca3fb096f9b8a225436bcb3cfe7951a625f97 on master.


[connectivity_plus] Send events on main thread, macos too

Description
I stumbled on bug #845 on macOS and noticed that there was a PR to fix it (#846). However that PR only fixes the iOS plugin, so I replicated the change made to connectivity_plus/ios/Classes/SwiftConnectivityPlusPlugin.swift also to connectivity_plus_macos/macos/Classes/ConnectivityPlugin.swift.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[x] All existing and new tests are passing.
[x] I updated the version in pubspec.yaml and CHANGELOG.md.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Thank you! The CHANGELOG.md of the connectivity_plus_macos also needs to be updated in order for this PR to work. Can you update that?

Sure thing, sorry for the oversight!

thanks a lot! I will publish them later today


APEXMALHAR-2426 - RegexParser Documentation

APEXMALHAR-2426 : Regex Parser Documentation

@amberarrow  incorporated the review comments. As suggested by you I have given example for the parameters and how to set them. Added content for the users to derive relation between byte array to POJO.

Please verify that all parts of the document are rendered properly with mkdocs and Chrome.

@amberarrow Apologies for the rendering issues before. Please check now.

@amberarrow  added the images to show the pattern match as given in the review comments. Verified that there are no formatting issues in chrome. Please check and let me know if the doc looks fine now.

Made a couple of comments (one formatting issue remains). This is ready to merge after those are fixed.

@amberarrow Fixed the formatting issue. Incorporated the review comments. Thanks for patiently reviewing.

Found a couple more issues while merging, please fix:

The commit message does not have the ticket id and is not descriptive of the actual changes.
The regexparser.md file has a number of lines with trailing whitespace, please delete.

@amberarrow Updated the comment with the ticket ID and removed trailing white spaces in 6 places to be exact.

These lines still have trailing white space. This command will find them:
grep -n -e '[[:space:]]$' docs/operators/regexparser.md
123:
124:
129:
134:
139:
144:
149:
154:
159:
164:
169:
174:
179:
184:
189:

@amberarrow Thanks for the command Ram. It is actually highlighting the space between lines of code also and not just trailing white spaces which is strange. Nevertheless, I removed the spaces.


/spy resolution

Can we set the resolution on /spy command?
tks

This would be a nice feature. +1

This request belongs to https://github.com/SmartlyDressedGames/Unturned


Projects coverage is failing for specific folder name

I have a project with a module subrepo and the tests pass but coverage is missing. If I change the name of the folder and run it again I get coverage. Any ideas why this is happening?
➜  abide git:(dev) ✗ jest --projects=./packages/subrepo
 PASS  packages/subrepo/index.test.js
  ✓ subrepo (1695ms)
  ✓ subrepo: error (275ms)

----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |        0 |        0 |        0 |        0 |                   |
----------|----------|----------|----------|----------|-------------------|
Jest: Coverage data for global was not found.
Test Suites: 1 passed, 1 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        4.768s
Ran all test suites.

➜  abide git:(dev) ✗ jest --projects=./packages/subrepo-z
 PASS  packages/subrepo-z/index.test.js
  ✓ subrepo (1804ms)
  ✓ subrepo: error (305ms)

----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |      100 |    88.89 |      100 |      100 |                   |
 index.js |      100 |    88.89 |      100 |      100 |                19 |
----------|----------|----------|----------|----------|-------------------|
Jest: "global" coverage threshold for branches (100%) not met: 88.89%
Test Suites: 1 passed, 1 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        4.799s
Ran all test suites.

--no-cache fixes this for me https://github.com/vuejs/vue-jest/issues/56

 --clearCache cleared it permanently
https://facebook.github.io/jest/docs/en/cli.html#cache


Exception handler added to setClickListener

This is needed when content was infalted layout.

Hi,
Using try catch on an unknown situation does not seems a good way of handling errors. If there is an error on some line of code, we can fix it in exact place instead of try catching all function

When I try to use an infalted view in dialogplus these lines make error exceptions...

I saw your issue but could not figured out a solution for it. May be Orhan can help you

As Yekmer said, try catch will just ignore the real issue but the problem will be still there. The problem is actually dialogplus tries to put a different parent to the view but the view already has a parent.


Please update Docker Hub readme with a pointer to ghcr.io

I ended up following a merry chase of build script, actions ran (all outdated, no logs), github action definitions to figure out why the repo has updates from some months ago, while docker hub latest image is from 5 years ago.

Hello,
Sad to hear that you spent so much time on it, but I don't support docker images, the one on ghcr.io is only for my own usage.
I only support and maintain binary release, for everything else, it is up to you ;)


Document how to configure storage for harbor

storage secret / configMap?

@holyhope
Any progress updates for this task?


Nulled lastKey when table to export is empty.

Following from https://github.com/dfahlander/Dexie.js/issues/777, this allows exports to continue without errors when tables are present but have no entries.

Thanks!


SwiftLogMacro context parameter type updated

SwiftLogMacro context parameter type updated to confirm DDLogMessage context type.
Fix for Issue #422

:+1:

Sorry for the delay. This looks good however it needs to be updated/rebased before getting merged.

Also may not be longer needed after #437.

Replaced by #437


Callback Service Call

When the mock server gets a request after a while sends a request to the given url. This feature might be useful for 3rd API service which works with send notifications.  I prepared case:
    {
        "request": {
            "method": "GET",
            "endpoint": "/gophers/01D8EMQ185CA8PRGE20DKZTGSR"
        },
        "callback": {
            "request": {
                "method": "GET",
                "endpoint": "http://localhost:8089/v1",
                "headers": {
                    "Content-Type": "application/json"
                },
                "body": "{\"test\": \"test\"}"

            },
            "delay" : "5s:10s"
        },
        "response": {
            "status": 200,
            "headers": {
                "Content-Type": "application/json"
            },
            "body": "{\"data\":{\"type\":\"gophers\",\"id\":\"01D8EMQ185CA8PRGE20DKZTGSR\",\"attributes\":{\"name\":\"Zebediah\",\"color\":\"Purples\",\"age\":55}}}"
        }
    }
]

when request get by mock server after given delay, it will send request to "http://localhost:8089/v1""
As mentioned I prepared codes then it works.

Hello @guvense thanks for the idea, could you share a real use case for that purpouse, I understand what do you want to achive with this, but  I'm not sure is a real problem to solve using mock server, so if you can explain a little bit more the use case would be great :D

Hello @aperezg, in my case when the mock server gets a request, it should push the event to Kafka. Because I try to mock a service which put request to queue and process request in order. Therefore mock server returns a response after some time it should push the event to kafka. At the same time, my real application listens to kafka.
Another case, some third-party application. notify the status of the request. It can be the status of a money transaction. I will give an endpoint to the mock server, after some delay mock server sends a request about the transaction. Therefore I can simulate it. We can also add sse service, pushing events to Kafka sending HTTP request anything in the callback field.

We need that as well.
We are developing a payment system. We trigger another 3-rd party by HTTP call, and that API returns a callback to us.
The structure of the configuration is precisely the same, as @guvense suggested.

hai @guvense can u assign this to me


Pass protocol relative http requests on through

I'm not sure what the best way of doing this is yet, but we need to let protocol-less requests meant for http to pass through peerweb. Perhaps something as simple as testing if the url is a valid magnet uri or torrent hash and letting it pass through otherwise?

can we pass the request to the default http handler from the custom "peer://" protocol handler ?

I'm unsure. I know you can pass back custom error numbers for requests
(I.e. 304), but I haven't tried using that to redirect the browser request.
Sent from Android
On Jun 17, 2016 8:23 AM, "Abhishek Chopra"<EMAIL_ADDRESS>wrote:

can we pass the request to the default http handler from the custom
"peer://" protocol handler ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/retrohacker/peerweb/issues/14#issuecomment-226755425,
or mute the thread
https://github.com/notifications/unsubscribe/ABCA3YcwAX2AvgB2jW1bK13ZQHJdq2V3ks5qMpHNgaJpZM4I3meJ
.

You can pass the error codes , but as far as their docs can tell , the error code can't be used for redirecting of any kind both due to no additional parameters and due to the fact that external URLs in the page also have the torrent hash before them.
So , my guess is we need to write some custom code using fetch or other such api which can atleast handle basic requests to servers

This needs a bit more thought.
This may be something we can land upstream with the electron project.
When a torrent page contains HTTP content, we would need some sort of warning as the HTTP content isn't dependable over time (dns changes, servers fail, etc.) while the torrent is forever.

Tracking this here: https://github.com/electron/electron/issues/6582

Moved to https://github.com/electron/electron/issues/6582


Improves stability.

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[ ] New feature provided

[x] Improve performance

Related issues

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.
Consider that our mirroring is based on openjdk:8-jre-alpine.
And this version support for Docker CPU and memory limits(https://blogs.oracle.com/java-platform-group/java-se-support-for-docker-cpu-and-memory-limits) already.
So, we can improve the stability of the container and prevent unexpected situations caused by the inability to perceive the resource cap of the container.

CI breaks because of wrong submodule binding. After #2239 merged, this should be fixed.

CI breaks because of wrong submodule binding. After #2239 merged, this should be fixed.

Yeah, I got it.

Coverage remained the same at 14.303% when pulling a6749f042d9bccc95ec29832042eacf96b1d1ce8 on JaredTan95:docker-entrypoint into 450eb2a24ec9edb03f99d6e55ee019c560af1080 on apache:master.


Enable use of regex in .gradient_ignore

Could we add regexes to .gradient_ignore.exs in the same vein as .dialyzer_ignore.exs, i.e.
[
  ~r|apps/my_buggy_app/.*|
]

If you can show me where the code change would be I could take a crack at a PR myself :+1:

Hi, @alanvardy!
That's a great idea! If you could spare the time, then the parts to change would be https://github.com/esl/gradient/blob/2417d6f4d40592a0b827ebcde2399c69aab941b1/lib/gradient/error.ex#L381-L415 where we would have to introduce regex matches in the function body instead of just pattern matching by using the file variable in multiple patterns in the function heads.
There might be something to tweak in parse_applicable_ignores in the same file, depending on how we want to introduce regexes. In the snippet above you can see there are various ignore rules tagged as ignore_file, ignore_kind, etc. The simplest approach would be to introduce another one like them: ignore_regex. A different approach would be to allow for a regex wherever we currently expect a path, but it would require some more effort.
I'm glad you find Gradient useful!


React 20: Using props with ...

AFAICT, my code is exactly like the solution code, but it does not pass the test. I checked this several times. Actually, in my code, a "}" was on a different line than the solution code (but still correct), but when I altered the style of the solution code (but not its correctness) the solution code still passed the test. This is what I had originally:
const Camper = (props) => {
return(
{props.name}
)
};
Camper.defaultProps={name:'CamperBot'};
Camper.propTypes={name:React.propTypes.string.isRequired};

You need to include props.name within a p tag at least, or in a p in a div like in the solution, as noted in the test: 'The Camper component should contain a p element with only the text from the name prop'.
Also, there actually is a difference between your code and the solution code. In React.PropTypes.string.isRequired, PropTypes is capitalized — not propTypes.


fix debug launch

WHAT

🤖 Generated by Copilot at 8b62aaa
This pull request enhances the debugging experience for F# projects in the ionide-vscode-fsharp extension. It updates the activation and debugging logic to use the coreclr debugger type, fixes some bugs related to the debug settings and the syntax highlighting, and improves the logging and type compatibility of the Debugger module. It also updates the RELEASE_NOTES.md file to document these changes.

🤖 Generated by Copilot at 8b62aaa

We are the F# warriors, we debug with coreclr
We activate and launch our code, we resolve our variables
We log and box and unbox, we format with node.js
We fix the bugs and highlight the syntax, we write the release notes

🐛🚀📝

WHY
Instead of declaring that Ionide knew how to handle 'coreclr' launch types, all we really needed to do was have our debug adapter launch when 'coreclr' launch types are being queried. This fixes the breaking behavior for users.
HOW

🤖 Generated by Copilot at 8b62aaa

Add activation events for coreclr debugger in package.json (link)
Remove unused debuggers section from package.json (link)
Update logging statements in Debugger.fs to use node.js console formatting syntax (link, link, link)
Replace Seq.collect with List.collect in Debugger.fs for performance and readability (link)
Apply hack to convert promise to thenable in Debugger.fs to workaround type mismatch issue (link)
Add release notes for version 7.5.4 in RELEASE_NOTES.md (link)

This fixes #1870


ci: change deprecated workflow set-output command to new syntax

Current Behavior

The Github Action Create Draft Release workflow uses the set-output command to declare output parameters to be used in subsequent steps. This has been deprecated.
Proposed Changes

Resolves #3647
The deprecated syntax is replaced by the new syntax.
Checks

[x] All commits in this Pull Request are signed and Verified by Github.
[x] All commits in this Pull Request follow the Ockam commit message convention.
[x] I accept the Ockam Community Code of Conduct.
[x] I have accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository.

Thanks @bahelms for an amazing pull request

@bahelms Thank you for another awesome contribution! 🥳