Update Blob URL path entries for children when we rename a directory

Found while fixing #353, we don't have recursive rename working for directories in BlobUtils.  When we do a rename for a path, we should be dealing with the fact that all children will have the old dir name in their cached path, but attempts to access them will use the new name.
The fix needs to happen in FilerFilesystem.rename and BlobUtils.rename.

Note that the only way you can have files in a deep dir is by calling move to. When you do the move, I think the blob urls update fine. When you rename the directory, we don't update the blob urls (we should be calling FileSystemCache.refresh) and the error manifests in two ways - first, if you referred to that file via it's old path in another file that is being currently rendered in the preview (for e.g. I have an img tag in my index.html file that refers to an image whose parent directory was recently renamed), it still shows up fine (because the blob url entry that exists is for the old path); and second, if you try to open the file (i tried with an image) whose parent dir you renamed, it breaks (in my case the image previewer 404'd and showed a broken link).

Unzipping an archive will also potentially create file in deep dirs, too.
I can't remember if FileSystemCache.refresh clears the existing entries first.  If it does, you'd also need to refresh the preview, since all the Blob URLs it uses would be deleted by this.

I would like to work on this bug.

go for it @evantsyferov.
@humphd do you know where this code change needs to be made? Looks like it might be in multiple places.

To be clear about what this bug is, and how you'd test it:

Create a directory (right-click the filetree) named folder
Add some files to the folder/ directory (again, right click the folder), for example folder/style.css and folder/script.js.
Rename folder to folder1

The way that our Live Preview works, we pre-render and cache files based on their path.  So we would have a cached version of a style sheet keyed on the path folder/style.css, but it now lives at folder1/style.css.
I might be wrong about this, but I think that our bug is in here:
https://github.com/mozilla/brackets/blob/master/src/filesystem/impls/filer/FilerFileSystem.js#L177-L202
As you can see, we call fs.rename(), and after that we check to see if the rename was of a file.  As discussed above, what we should probably do is call into this code instead:
https://github.com/mozilla/brackets/blob/master/src/filesystem/impls/filer/FileSystemCache.js#L16-L80
FileSystemCache.refresh should force the cache we use to invalidate and be re-created, such that all new paths are properly recorded as keys.
After that happens, we need to tell the Live Preview window to reload, which we can probably do via the reload method defined here:
https://github.com/mozilla/brackets/blob/master/src/LiveDevelopment/LiveDevMultiBrowser.js#L876-L883


⚠ Bofrost.es has degraded performance

In 7d1b552, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1803 ms

Resolved: Bofrost.es performance has improved in 8799af6 after 6 minutes.


changelog

Could You give us changelog file?
What was changed in 0.11?

You could check commits at https://github.com/angular-ui/ui-select/commits/master
But basically are some bug fixes and the new feature (to allow set focus to component https://github.com/angular-ui/ui-select/pull/728)
There shouldn't be breaking changes

setFocus is good option - thanks


Plus and minus  button pressed in form over map causes zoom

I've got a form input type=text floating over the map. If someone presses the plus or minus +- keys while typing in the box the map underneath zooms.
Would only expect the zoom to occur if map was in focus.
Also need some way of disabling/reenabling the functionality if the form box is not being used as well

@karldevinenetweather are you able to fill in the bug template? At minimum, can you publish a fiddle/codepen/plunkr that displays the behavior?

typically can't recreate on the latest version of leaflet so will close this. apologies


Refactor/move training files to own folder

Closes #49

Once you merge #78 this is just a couple of commits

Codecov Report

Merging #85 (a94f9a8) into main (e8decd8) will increase coverage by 0.48%.
The diff coverage is 98.75%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
+ Coverage   96.47%   96.95%   +0.48%
==========================================
  Files          17       30      +13
  Lines         510      591      +81
==========================================
+ Hits          492      573      +81
  Misses         18       18

Impacted Files
Coverage Δ

simplemma/strategies/defaultrules/de.py
100.00% <ø> (ø)

simplemma/strategies/defaultrules/en.py
92.30% <ø> (ø)

simplemma/strategies/defaultrules/fi.py
87.50% <ø> (ø)

simplemma/strategies/defaultrules/generic.py
100.00% <ø> (ø)

simplemma/strategies/defaultrules/nl.py
91.66% <ø> (ø)

simplemma/strategies/defaultrules/pl.py
87.50% <ø> (ø)

...tegies/fallback/lemmatization_fallback_strategy.py
80.00% <80.00%> (ø)

simplemma/strategies/lemmatization_strategy.py
80.00% <80.00%> (ø)

training/dictionary_pickler.py
92.10% <83.33%> (ø)

simplemma/__init__.py
100.00% <100.00%> (ø)

... and 16 more

Could you please sort out the conflicts? Then I think we're all set.

Conflicts are solved.
Still there is the problem with codecov

@juanjoDiaz the main code is fine but import locations changed so the tests need to be adapted.
There is also a minor mypy issue in the evaluation script which can be skipped if necessary.

All fixed!
This is the last PR. I'm still writing docs for all the new stuff


fix bug: TypeError: 'method' object is not subscriptable #14

Thanks man. I've coded this part blindly as I am on vacation and have no access to a pc to test with.


Inconsistancy fix v3

About the PR

Ported most of goob mrp tables and fixed most of cap clothes to fit cap jumpsuit, as well as some other stuff
Why / Balance

guys did i cook?
Technical details

Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

recolored some sprites
ported some sprites from goob mrp

Summary by CodeRabbit

New Features

Updated copyright attributions for various clothing and furniture textures, acknowledging contributions from InfinityPandaRed for recoloring.
Changed source references for several table textures to the Paradise project.

Bug Fixes

Corrected copyright information for multiple texture resources to ensure proper attribution.

love the furniture but I'm not a fan of the cap sprites


Update courses.md

Include codedamn.com as a paid resource to learn React.js and web development

Hello @mehulmpt!
As coruses are no longer kept in the latest of react.dev nor maintained in the page you modify in this PR, I will close it as outdated.
Thank you!


Include link back to dbt cloud job for dbt Cloud Provider

I noticed that the task logs using dbt Cloud Operators (in dbt_cloud_provider_example.py) don't print a url taking the user back to the dbt cloud UI (like cloud_example.py does) - would be great to include this to further enable sql analysts to troubleshoot their cloud jobs, reducing dependencies on data engineers.
(I couldn't figure out how to add to the operator without causing a syntax error either with print() or jinja's do log)

@belasobral93 are you able to click on the task and click the Monitor Run button?

You can see the loom video here for a live demo to see if there's something tacit to learn from!

yes!! I was using "Log" exclusively. thanks for the video


Improve multiline string wrapping.

This fixes a couple oddities in the way multiline strings were being
handled:

Previously, the entire text of the multiline string literal was
inserted as a single syntax node. This meant that the opening
quotes (and tokens preceding them up to the closest break) would
wrap unnecessarily if the string's total length was longer than
the column limit, even if the opening line wasn't.
Now, we treat each line of the string literal individually, so
the opening quotes only wrap if they would be the only thing that
didn't fit on the line.

The leading whitespace was also preserved before, so we made no
attempt at reindenting the multiline strings according to what the
pretty printer was doing. Now we compensate for that so the pretty
printer ensures that multiline strings line up with other tokens
based on the current indentation.

cc @dylansturg


update QRBasedTEBDEngine

Small update for the QR-based TEBD algorithm.
update_bond_imag is now implemented if we allow for SVD; it is not yet working using eigh but there is some code behind an error message that might be useful for the implementation using eigh.

thanks =)


Addon Disabled in new Firefox for Android 79

Yesterday my Android Firefox update to version 79.0.2 and Video Background Play Fix stop working (is disabled).
Most of my addons (except uBlock Origins) are disabled.
I try the workaround suggested https://github.com/mozilla/video-bg-play/issues/20#issuecomment-619529156 but sadly don't work.
There is any plan to make this compatible with the new Firefox? or at least any workaround possible?
Thanks!

Without this extension, I will use Edge or Chrome.


Notes on fixing graph sync through forks

Idea1:
Detect which events are missing or added after reorgs, (either on relay or py-eth-index) and react upon that on the graph.

Either via storing different states for each edge on the graph corresponding to the states from the unfinalised blocks + 1 finalised state.
Or via fetching the latest state of the impacted edge (-> we would still need to handle some concurrency then).

Idea2:
When applying an event, store the prior/post state together with the event. When a reorg occurs and events are missing, undo the missing events backwards and apply new events forwards.
Nothing is stored in the graph, only alongside the events in the data structure used to check for new / missing events.
-> potentially more encapsulated than idea1
How to check for missing / new events:
Pull and store all latest events every 5 seconds.
We have a set latest_events and latest_applied_events.
We pull and store all latest event since block reorg_safe_block_nr + 1 in latest_events.
We check for missing events by checking for every event in latest_applied_events if it is in latest_events.
We check for added events by checking for events in latest_events but not in latest_applied_events.
We handle the added/missing events.
We update latest_applied_events by removing/adding events.
Set reorg_safe_block_nr to latest_block - reorg_safety.
Delete all events in latest_applied_events that we consider finalised since we will not pull them in the next iteration.
-> this mechanism could replace the current way we pull / receive events.
-> This could be adapted to check for added events more often than for missing events

Project to fix the graph sync
Current way it works
When we start the relay, it will get the list of addresses from the file addresses.json and for each address will start _start_listen_network(address):
https://github.com/trustlines-protocol/relay/blob/master/src/relay/relay.py#L753-L776

Hard Solutions
Idea1
Detect which events are missing or added after reorgs, (either on relay or py-eth-index) and react upon that on the graph.

Either via storing different states for each edge on the graph corresponding to the states from the unfinalised blocks + 1 finalised state.
Or via fetching the latest state of the impacted edge (-> we would still need to handle some concurrency then).

Idea2
When applying an event, store the prior/post state together with the event. When a reorg occurs and events are missing, undo the missing events backwards and apply new events forwards.
Nothing is stored in the graph, only alongside the events in the data structure used to check for new / missing events.
-> potentially more encapsulated than idea1
Idea 3
Stop using filters to get events for the graph, but get them from the indexer. Since events are always describing the final state of a trustline, it is fine to reapply events multiple times as long as the last event applied is the last event chronologically in the chain.

Make a loop that queries the indexer for every ordered events in the non-finalised blocks every seconds, and apply them one by one.
Improve that by making the indexer push events to the relay instead of pulling them in a loop.
Improve again: the indexer could detect which events are new/missing. For new events, push them to the relay. For missing events, push the previous latest event describing the trustlines to the relay so that it is applied, allegedly reverting the removed event.

How to check for missing / new events:
Pull and store all latest events every 5 seconds.
We have a set latest_events and latest_applied_events.
We pull and store all latest event since block reorg_safe_block_nr + 1 in latest_events.
We check for missing events by checking for every event in latest_applied_events if it is in latest_events.
We check for added events by checking for events in latest_events but not in latest_applied_events.
We handle the added/missing events.
We update latest_applied_events by removing/adding events.
Set reorg_safe_block_nr to latest_block - reorg_safety.
Delete all events in latest_applied_events that we consider finalised since we will not pull them in the next iteration.
-> this mechanism could replace the current way we pull / receive events.
-> This could be adapted to check for added events more often than for missing events


apk add openssh-server

I think this script needs to be updated to install openssh-server instead of openssh

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1d385179-7730-3b99-aff6-75491deb070a
Version Independent ID: 7da429ea-5421-9d99-3e7c-af1b3fee5ca8
Content: Configure a custom container - Azure App Service
Content Source: articles/app-service/configure-custom-container.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@scowan
Thanks for your feedback! We will investigate and update as appropriate.

@scowan We have tested this our environment

The provided cmdlet in the Enable ssh section apk add openssh is to install the open ssh packages in Alpine Linux-Based only.

If you are using Debian Linux Based images, then you need to change the above cmdlet to below
 apt-get -y update && apt-get -y install openssh-server && echo "root:Docker!" for installing ssh packages.
Post making the above changes we are successfully able to build and publish the docker image to app service as shown below:

Feel free to reach back to me if you have any further questions on this.

It's hard to figure out which Dockerfile you're testing from this tutorial,
https://learn.microsoft.com/en-us/azure/app-service/configure-custom-container?pivots=container-linux#enable-ssh
Can you point me to the relevant Dockerfile?
On Mon, Oct 10, 2022 at 7:19 AM Venkateshdodda-MSFT <
@.***> wrote:

@scowan https://github.com/scowan We have tested this our environment

The provided cmdlet in the Enable ssh section apk add openssh is to
install the open ssh packages in Alpine Linux-Based only.
If you are using Debian Linux Based images, then you need to change
the above cmdlet to below
apt-get -y update && apt-get -y install openssh-server && echo
"root:Docker!" for installing ssh packages.
Post making the above changes we are successfully able to build and
publish the docker image to app service as shown below:
[image: image]
https://user-images.githubusercontent.com/103091186/194852473-ac4210c2-81d3-46be-9e40-e54d9339b79b.png
Feel free to reach back to me if you have any further questions on this.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/99653#issuecomment-1273161440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXHEFYFFXSV6X7VPNEFKXDWCP3THANCNFSM6AAAAAAQ74TQRY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@scowan I have followed this tutorial and I have used the docker file of this tutorial.

@scowan We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


checking if buffer is null terminated

Decided that it is better to just require null termination than try to handle both cases, as the null termination is not hard to achieve and check for contiguous buffers and it offers better performance.


Set initial camera position when CameraSensor is created

Fixes #1619.
In the traffic_histories_to_observations.py example, the first RGB image was not rendered correctly because the observations are taken before the camera sensor calls step() and moves the camera to the correct position.

This seems wrong in general if the camera position is not being updated with the current target location. It sounds like it would be a step behind its target.

This seems wrong in general if the camera position is not being updated with the current target location. It sounds like it would be a step behind its target.

I believe it's only an issue in this example script (and only on the first step) because of how observations are collected independent of smarts.step().


Demonstrate streaming live simulations to simularium viewer

Use Case
As a developer, I want to see outputs from vivarium simulations visualized live in the Simularium viewer as a proof of concept for viewing live simulations.
Acceptance Criteria
A vivarium simulation running locally can be visualized in a Simularium viewer client also running locally.
Details
This requires;

Vivarium to send simulation output data (via Kafka) (Ryan/Eran)
a Python app receives those outputs and streams them via websockets to the front end simularium viewer (+simularium team)

First demo use cases:

set position of something (work toward dragging agents in view)
change simulator with toggle button (work toward zooming to switch simulator)

@jsavieo add issues for:

simple simulator in octopus (in Python)
vivarium (maybe Kafka)


++!!Here's Ice Spice Leaked 2024 Video Viral On Soc𝚒al Med𝚒a (Tw𝚒tter)

++!!Here's Ice Spice Leaked 2024 Video Viral On Soc𝚒al Med𝚒a (Tw𝚒tter)
++FREE VIDEOS]**Ice SpiceVideo Viral On Social Media.
———————————————————-
🌐 CLICK HERE 🟢==►► WATCH NOW
🔴 CLICK HERE 🌐==►► Download Now
———————————————————-
Ice Spice Video Viral On Social Media.Ice SpiceVideo Viral On Social Media.Ice SpiceVideo Viral On Social Media.Ice SpiceVideo Viral On Social Media.Ice SpiceVideo Viral On Social Media.
Ice SpiceVideo Viral On Social Media 2024.Ice SpiceVideo Viral On Social Media 2024.
The recurrent theme of leaked tapes and the subsequent fallout serves as a reminder of the fragility of reputation in the digital era. As the lines between private and public life continue to blur, celebrities like Prison Officerfind themselves at the mercy of internet chatter, where a rumor can ignite a firestorm of speculation and judgment.
In the ever evolving landscape of celebrity culture, the Ishowspeedscandal underscores the relentless pursuit of sensationalism, a pursuit that often comes at the expense of truth and dignity. As we navigate the complexities of the digital age, the line between entertainment and exploitation remains perilously thin.
As the situation unfolds, the truth remains shrouded in mystery, leaving the public to ponder the authenticity of the rumors. In a world where fame and infamy are two sides of the same coin, the saga of Ishowspeedis a testament to the power of social media to shape narratives and challenge the boundaries of privacy and consent.
The viral video of Ice SpiceNude Leak emerging online has amassed tremendous views across fan accounts and social media sites with one video clip. The viral video circulating recently shows Ice SpiceNude Leak in an unexpected and hilarious moment while in public running errands.
Numerous fans have rushed to watch the viral video and share the clip amongst followers featuring Ice SpiceNude Leak caught in an amusing and awkward situation. While surprising, the authentic and candid video showing Ice SpiceNude Leak handling a real life blooper so genuinely has earned praise from viewers. Nonetheless, fans watch the current viral video of Ice SpiceNude Leak that emerged online with delight and clamor for what the celebrity icon’s reaction to the widely spread viral video will be.
The fan video showing Ice SpiceNude Leak first emerged on Twitter on Monday, posted by an amused fan who claimed to have captured the silly incident on their phone camera while out and about. The viral Clip of Ice SpiceNude Leak had garnered over 2 million views by Tuesday morning as more users on Instagram, Facebook and YouTube began uploading and sharing the embarrassing yet entertaining video.
Ice SpiceNude Leak Only Fans leak video
Ice SpiceNude Leak leaked pictures
Ice SpiceNude Leak explicit content leak
Only Fans account breach
Only Fans data hack
Ice SpiceNude Leak personal information exposed
Celebrity news outlets further spread the video across websites as fans could not get enough of watching Ice SpiceNude Leak in such a hilarious and eye-catching viral moment.
Discussion over the viral Ice SpiceNude Leak video showing the star candidly dealing with sudden wardrobe issues dominated pop culture chatter online. Fans watched and rewatched the short video, praising Ice SpiceNude Leak for taking the malfunction with grace and humor even as cameras captured the celebrity video now flooding timelines. Some fans have scrutinized the viral clip, trying to discern what exactly led to the star appearing in such a silly viral video, seemingly unaware they were being filmed.
The video shows Ice SpiceNude Leak suddenly facing trouble with their outfit coming undone while casually walking about and running errands. Despite the embarrassment most would feel at having a wardrobe malfunction publicly, viral footage shows Ice SpiceNude Leak simply laughing the incident off themselves. It is this down-to-earth reaction that has earned Ice SpiceNude Leak such positive responses rather than ridicule after surprised fans rushed online to see the video and share the celebrity blooper seen around the internet.
While reps for the star have not commented directly on the leaked embarrassing video, Ice SpiceNude Leak will likely have to address the viral clip rapidly spreading online featuring quite the comedic celebrity wardrobe malfunction. Fans eagerly watch and share the video showing Ice SpiceNude Leak handling the potentially humiliating public incident with such grace and humor, hoping the star also sees the humor in their candid moment going viral too. For now, footage of the celebrity video continues circulating with fans clamoring to know if Ice SpiceNude Leak will personally acknowledge their viral video being shared widely across social media this week.


Events are not triggering

Events related with Tips/Hosts (didn't test others) aren't triggering at all. Although OnConnected / OnAuthenticated / OnAuthenticationFailure / OnSent / OnReceivedRawMessage are working good

I believe I fixed it with this commit here: https://github.com/swiftyspiffy/StreamElementsNET/commit/2463327a939b16ff98e2bbdc2d21cdf34cc12a43 . Try pulling that change down and see if your events are working again. I left a comment in that commit, but basically the payload changed slightly, resulting in events not being detected.

Are not triggering by StremElements test(emulate)

OnReceivedRawMessage is catching that tho

Hovewer it works perfect with real events, thanks!


Add some functions

This PR is mainly to add some functions.

Add the manual control zoom function of the side navigation bar of the Databse page.

You can use the mouse to click on the right side of the sidebar to control its width.
It can't exceed 65px at least, but it doesn't limit its stretching to the right.

Change the directory structure of the side navigation bar of the database page.

The first level directory is group lists.
The second level directories are stream and measure.
The third level directories are the files of stream and measure respectively

Add the function of right clicking on the side navigation bar of the Database page to open the menu.

It only reflects the right-click event in the sidebar and does not affect other elements.
Right click different elements in the sidebar, and their menus are also different.

Add an introduction page when entering the database page.
Add label navigation and path navigation functions.

Click the file on the side navigation bar of the database page to open label navigation and path navigation.
Label navigation can be dynamically added and deleted.
Path navigation displays the currently open file.

I am feeling this PR carries old commits? Could you create a new branch from the current master for new PR, and cherry pick your changes to that branch?

I am feeling this PR carries old commits? Could you create a new branch from the current master for new PR, and cherry pick your changes to that branch?

of course


About plot in your article

I am so happy to gain the good result by using  your Salsa software,and  i want to show this plot in my article.this plot is no good by using your recommend coloredChromosomes software,This may be a problem with my usage，I would like to ask if you can provide code to me ?thanks~

The plots are generated using the same code as in the MHAP publication () so the code is available as supplementary materials from that publication here: http://www.cbcb.umd.edu/software/PBcR/MHAP/. However, coloredChromosomes is no longer maintained and it can be quite difficult to reconfigure it's display other genomes (e.g. not human).
More recently, we have been using https://github.com/bernatgel/karyoploteR which is an active project and has extensive documentation, including using it for custom genomes. It can visualize any intervals so you can reproduce the above plot assuming you have alignment blocks to a reference. I recommend learning/using karyoploteR instead of coloredChromosomes.


is curl_global_init handled safely? is the library thread-safe?

is the library supposed to be thread safe? note that curl_global_init() is NOT thread-safe, and curl_easy_init is threadsafe ONLY IF curl_global_init() has already been executed. if you start several threads that all call curl_easy_init() at the same time, before curl_global_init has been executed, you may run into problems, how does this reflect on go-curl?

go-curl is not supposed to be thread safe.
I haven't figured out How to restrict func calling order.

You can also use init function to load a module, that should load it only once.
Example: https://github.com/umurkontaci/go-curl-transport/blob/master/transport/transport.go#L21-L23

@umurkontaci will that also help protect threads from calling curl_easy_init() before the thread calling curl_global_init() has completed?

Possibly, init is executed as the first thing when you import a module. But also it's quite possible to execute curl_easy_init before you import a specific module.
If you import the module in the application entrypoint you would probably be okay, but it's quite hacky way to do. It'd be better to encapsulate everything together.

actually, if you go with the sync.Once.Do method, you don't have to do the for curl_global_inited != true loop at all, because sync.Once.Do blocks other callers until it has executed completely. (according to guys on irc://irc.freenode.net/#go-nuts , anyway)


chore: use duration.us for trace events

As a result of changes here - https://github.com/elastic/beats/pull/26248

:grey_exclamation: Build Aborted

Either there was a build timeout or someone aborted the build.'}

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

Expand to view the summary

Build stats

Build Cause: Pull request #315 opened

Start Time: 2021-06-21T23:02:49.735+0000

Duration: 27 min 54 sec

Commit: 638bdcde70c494c80a670cde7844ca76506f2349

Test stats :test_tube:

Test
Results

Failed
0

Passed
109

Skipped
0

Total
109

Trends :test_tube:

Log output
Expand to view the last 100 lines of log output

[2021-06-21T23:11:59.181Z] Cleaning workspace
[2021-06-21T23:11:59.238Z]  > git --version # timeout=10
[2021-06-21T23:11:59.241Z]  > git --version # 'git version 2.17.1'
[2021-06-21T23:11:59.246Z] fatal: bad object bbed8ab717206e63fa6cc1cef7d35f4a13f717ab
[2021-06-21T23:11:59.184Z]  > git rev-parse --verify HEAD # timeout=10
[2021-06-21T23:11:59.189Z] Resetting working tree
[2021-06-21T23:11:59.189Z]  > git reset --hard # timeout=10
[2021-06-21T23:11:59.204Z]  > git clean -fdx # timeout=10
[2021-06-21T23:12:02.212Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/src/github.com/elastic/synthetics
[2021-06-21T23:12:16.861Z] + set +x
[2021-06-21T23:12:16.861Z] => Downloading nvm from git to '/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/.nvm'
[2021-06-21T23:12:16.861Z]
=> Initialized empty Git repository in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/.nvm/.git/
[2021-06-21T23:12:17.435Z] From https://github.com/nvm-sh/nvm
[2021-06-21T23:12:17.435Z]  * [new tag]         v0.37.1    -> v0.37.1
[2021-06-21T23:12:17.435Z] => Compressing and cleaning up git repository
[2021-06-21T23:12:17.435Z]
[2021-06-21T23:12:17.435Z] => Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.
[2021-06-21T23:12:17.435Z] => Create one of them and run this script again
[2021-06-21T23:12:17.435Z]    OR
[2021-06-21T23:12:17.435Z] => Append the following lines to the correct file yourself:
[2021-06-21T23:12:17.435Z]
[2021-06-21T23:12:17.435Z] export NVM_DIR="$HOME/.nvm"
[2021-06-21T23:12:17.435Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-06-21T23:12:17.435Z]
[2021-06-21T23:12:19.343Z] => Close and reopen your terminal to start using nvm or run the following to use it now:
[2021-06-21T23:12:19.343Z]
[2021-06-21T23:12:19.343Z] export NVM_DIR="$HOME/.nvm"
[2021-06-21T23:12:19.343Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-06-21T23:12:19.343Z] Installing latest LTS version.
[2021-06-21T23:12:19.603Z] v14.17.1 is already installed.
[2021-06-21T23:12:19.862Z] Now using node v14.17.1 (npm v6.14.13)
[2021-06-21T23:12:19.971Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/src/github.com/elastic/synthetics
[2021-06-21T23:12:20.287Z] + chmod -R ugo+rw examples
[2021-06-21T23:12:20.312Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-21T23:12:20.628Z] + npm run test
[2021-06-21T23:12:20.628Z]
[2021-06-21T23:12:20.628Z] > e2e-synthetics@ test /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-21T23:12:20.628Z] > npm i && npm run setup &&  bash scripts/test.sh
[2021-06-21T23:12:20.628Z]
[2021-06-21T23:12:23.920Z] added 3 packages from 4 contributors and audited 178 packages in 2.643s
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z] 66 packages are looking for funding
[2021-06-21T23:12:26.459Z]   run `npm fund` for details
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z] found 1 moderate severity vulnerability
[2021-06-21T23:12:26.459Z]   run `npm audit fix` to fix them, or `npm audit` for details
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z] > e2e-synthetics@ setup /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-21T23:12:26.459Z] > bash scripts/setup.sh
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z] Temporary folder
[2021-06-21T23:12:26.459Z] Temporary files will be stored in: ./tmp
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z] Starting elasticsearch , kibana and synthetics docker
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z]
[2021-06-21T23:12:26.459Z] Waiting for synthetics docker to start...
[2021-06-21T23:12:26.459Z] Error: No such object: synthetics
[2021-06-21T23:12:38.677Z] Error: No such object: synthetics
[2021-06-21T23:12:46.803Z] Error: No such object: synthetics
[2021-06-21T23:12:56.790Z] Error: No such object: synthetics
[2021-06-21T23:13:06.800Z] Error: No such object: synthetics
[2021-06-21T23:13:19.019Z] Error: No such object: synthetics
[2021-06-21T23:13:27.152Z] Error: No such object: synthetics
[2021-06-21T23:13:37.140Z] Error: No such object: synthetics
[2021-06-21T23:13:47.136Z] Error: No such object: synthetics
[2021-06-21T23:13:59.357Z] Error: No such object: synthetics
[2021-06-21T23:14:07.512Z] ✅ Setup completed successfully. Running e2e tests...
[2021-06-21T23:14:08.906Z] Waiting for Elastic Search  to start
[2021-06-21T23:14:47.765Z] Waiting for Synthetics to send data to ES for test monitor
[2021-06-21T23:29:24.420Z] Cancelling nested steps due to timeout
[2021-06-21T23:29:24.426Z] Sending interrupt signal to process
[2021-06-21T23:29:40.078Z] scripts/test.sh: line 26:  5207 Terminated              SYNTHETICS_JUNIT_FILE='junit.xml' npx @elastic/synthetics uptime.journey.ts --reporter junit
[2021-06-21T23:29:40.078Z] npm ERR! code ELIFECYCLE
[2021-06-21T23:29:40.078Z] npm ERR! errno 143
[2021-06-21T23:29:40.078Z] npm ERR! e2e-synthetics@ test: `npm i && npm run setup &&  bash scripts/test.sh`
[2021-06-21T23:29:40.078Z] npm ERR! Exit status 143
[2021-06-21T23:29:40.078Z] npm ERR!
[2021-06-21T23:29:40.078Z] npm ERR! Failed at the e2e-synthetics@ test script.
[2021-06-21T23:29:40.078Z] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[2021-06-21T23:29:40.078Z]
[2021-06-21T23:29:40.078Z] npm ERR! A complete log of this run can be found in:
[2021-06-21T23:29:40.078Z] npm ERR!     /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315/.npm/_logs/2021-06-21T23_29_29_882Z-debug.log
[2021-06-21T23:29:40.084Z] script returned exit code 143
[2021-06-21T23:29:41.351Z] Post stage
[2021-06-21T23:29:41.386Z] Archiving artifacts
[2021-06-21T23:29:41.551Z] Recording test results
[2021-06-21T23:29:41.678Z] None of the test reports contained any result
[2021-06-21T23:29:41.686Z] [Checks API] No suitable checks publisher found.
[2021-06-21T23:29:41.934Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-21T23:29:41.970Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-21T23:29:42.052Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-21T23:29:42.724Z] Running on Jenkins in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-315
[2021-06-21T23:29:42.805Z] [INFO] getVaultSecret: Getting secrets
[2021-06-21T23:29:42.853Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-21T23:29:44.004Z] + chmod 755 generate-build-data.sh
[2021-06-21T23:29:44.004Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-315/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-315/runs/1 ABORTED 1614000
[2021-06-21T23:29:44.005Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-315/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-21T23:29:44.005Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-315/runs/1/tests/?status=FAILED -o tests-errors.json


Not getting Subscription List

5.3.1
Android
Should return all ACTIVE subscriptions
Getting only one
Real Device

only getting first item #3_month_subcription_test

have you solved?

have you solved?

No

have you solved?

How to solve this ?

No , I'm same situation like you 🤣

It might not help you guys but I faced a problem similar. I cannot get products if I pass only productID, I must pass productName also(or any string that I do not test) then I can get the products

It might not help you guys but I faced a problem similar. I cannot get products if I pass only productID, I must pass productName also(or any string that I do not test) then I can get the products

how to pass productName ?
could you show me example code?

I created the product with productName: Monthly Consumable and productID: consumable_monthly.
final  _productIds = ["consumable_monthly",  "Monthly Consumable"]
final products = await FlutterInappPurchase.instance.getProducts(_productIds)
Somehow if I set _productIds contains only productID then I cannot get any item from FlutterInappPurchase.instance.getProducts

It might not help you guys but I faced a problem similar. I cannot get products if I pass only productID, I must pass productName also(or any string that I do not test) then I can get the products

how to pass productName ?
could you show me example code?

I created the product in play console with name: Monthly Consumable and productID: monthly_consumable
final products = await FlutterInappPurchase.instance.getProducts(["monthly_consumable", "Monthly Consumable"]);
If I use FlutterInappPurchase.instance.getProducts with param is only productID then it returns list empty but with the params above it worked

@MdFarhanRaja, @yunchiri  I was having the same problem as you, it turns out we were using the wrong method to get signatures. I used getSubscriptions and it works fine.
I believe the getProducts method is made available only for consumable, not for subscriptions product.


趋势图高亮聚光灯效果失效🐛

🏷 Version

Package
Version

@antv/s2
^1.35.0

@antv/s2-react
^1.32.0"

@antv/s2-vue

Sheet Type

[ ] PivotSheet
[ ] TableSheet
[ ] GridAnalysisSheet
StrategySheet
[ ] EditableSheet

🖋 Description

趋势图高亮聚光灯效果失效，在官网示例中https://s2.antv.vision/examples/react-component/sheet/#strategy 设置了
interaction: {
selectedCellsSpotlight:true
}
效果不明显
⌨ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior
希望能和https://s2.antv.vision/examples/interaction/basic/#click-highlight 有一样的效果

😅 Current Behavior

💻 System information

Environment
Info

System

Browser
chrome: v105.0

:tada: This issue has been resolved in version @antv/s2-v1.36.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v1.33.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v2.0.0-next.2 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-react-v2.0.0-next.2 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add --force-generic-extractor

For some extractors that are hard to workout a good _VALID_URL we use very vague and unrestrictive ones, e.g. just allowing anything after hostname and capturing part of URL as id.
If some of these extractors happen to have a video embed of some different hoster or platform
and this scenario was not handled in extractor itself we end up with inability to download this embed
until extractor is fixed to support embeds of this kind.
Forcing downloader to use the generic extractor can be a neat temporary solution for this problem.
Example:
5-tv extractor with Tvigle embed (may be georestricted to Russia)
http://www.5-tv.ru/rabota/broadcasts/48/

I'd prefer to not introduce a global state with _force_generic_extractor_required. Implementing multiple concurrent downloads/extraction would be more difficult.
Do you think it can be implemented with a different approach?

Sure it can, we'll just need to pass it as argument all over.

Generally, I agree on concurrency, but we already have some global state that we'll need to get rid of if we eventually will implement parallel downloading.

Sure it can, we'll just need to pass it as argument all over.

I guess it could be a bit ugly, but I think we should compare both solutions

Generally, I agree on concurrency, but we already have some global state that we'll need to get rid of if we eventually will implement parallel downloading.

Form those, I think that the only two that are problematic are _download_retcode and _num_downloads, i wouldn't expect the rest to cause too much issues.

Replaced global state with argument passing in 61aa5ba36eea3b7cf8c3570ab33604dd2c13b855.

Works great on http://www.pbs.org/newshour/bb/terrorism-jan-june10-cia_01-05/
A --generic-fallback option would be great, too: it could be set as a default, and cause GenericIE to run if a site-specific extractor fails (and would likely require blacklisting said extractor, or just running everything after find_video)

A --generic-fallback option would be great, too: it could be set as a default, and cause GenericIE to run if a site-specific extractor fails

That's a great idea.

I'd merge this if nobody minds.

Only one comment, I would keep the warning so that users don't get surprised if it fails.

Well, generally this warning sounds little bit misleading when --force-generic-extractor is used since it does not actually fallback. Moreover, users who are going to use this have to clearly understand the intention and be aware of the consequences. However, probably different message will suit it better, like Forcing on generic information extractor.?

Using a different message sounds good.

Added custom message. Thanks.


Migrate Kunle's RESTful API and Elastic search tool

Pull Kunle's branch of petal https://github.com/kakinpe1u/PeTaL/tree/feature_elasticsearch
and https://github.com/kakinpe1u/PeTaL/tree/feature_indexer
Try to see how we can integrate Kunle's elastic search with Petal.
If we can't integrate then we need to know.
This needs to be done ASAP.

This cannot be integrated due to dependency issues!
Neomodel only supports neo4j versions 3.0, 3.1, 3.2, 3.3

See branch elastic_search for current PeTaL elastic search code. See elastic search wiki for more info.
Hint. It is not much.


Python testbenches should not be able to assign combinatorially driven signals

Found this by accident, as I don't really have a use case for overriding driven signals.  Nevertheless, pysim seems to allow this.
Consider:
from nmigen import Signal, Module
from nmigen.sim import Simulator

m = Module()
s = Signal()
m.d.comb += s.eq(1)

def process():
    yield s.eq(0)

sim = Simulator(m, engine="cxxsim")
sim.add_process(process)
sim.run()

I get:
$ python bug16.py
Traceback (most recent call last):
  File "bug16.py", line 15, in <module>
    sim.run()
  File "/home/cstrauss/src/nmigen/nmigen/sim/core.py", line 168, in run
    while self.advance():
  File "/home/cstrauss/src/nmigen/nmigen/sim/core.py", line 159, in advance
    return self._engine.advance()
  File "/home/cstrauss/src/nmigen/nmigen/sim/cxxsim.py", line 241, in advance
    self._step()
  File "/home/cstrauss/src/nmigen/nmigen/sim/cxxsim.py", line 231, in _step
    process.run()
  File "/home/cstrauss/src/nmigen/nmigen/sim/_pycoro.py", line 123, in run
    self.coroutine.throw(exn)
  File "/home/cstrauss/src/nmigen/nmigen/sim/core.py", line 84, in wrapper
    yield from process()
  File "bug16.py", line 10, in process
    yield s.eq(0)
  File "/home/cstrauss/src/nmigen/nmigen/sim/_pycoro.py", line 76, in run
    self.exec_locals)
  File "<string>", line 1, in <module>
  File "/home/cstrauss/src/nmigen/nmigen/sim/cxxsim.py", line 38, in next
    value |= part.next
  File "/home/cstrauss/src/nmigen/nmigen/sim/_cxxrtl.py", line 115, in next
    value |= self._next[chunk]
ValueError: NULL pointer access

I'm fairly certain this doesn't actually work in PySim either (the "override" is silently reverted the next time any inputs to the combinatorial function change), so I would classify the fact that it seems to be alloewd in PySim as a bug.

Though, both PySim and CXXSim need to be fixed: the former so that it is actually an error, the latter so that the error is nicer.


Cannot obtain the checkpoint

I follow the README to
Download the data subfolder from [this Google Drive link](https://drive.google.com/drive/folders/153pZfKPcr1-l8VaDPys29b1ElGLuoq3M?usp=sharing) and place at the root of the repository. This folder contains training and evaluation data, vocabularies and model checkpoints.
However, I do not fine the checkpoints and only the data.zip.

How can I obtain the checkpoint?
Thanks

@MingZhang7 Apologies for the delay in getting back to you. Checkpoints are located in the "data" subfolder of that google drive folder. This is a direct link: https://drive.google.com/drive/folders/1Yw9lMLxGNKPDK3zaKuQdrAw7KQqyOu5y


Plugin doesn't support this project's cordova-android version. cordova-android: 10.1.2, failed version requirement: >=12.0.0 Skipping 'cordova-plugin-file' for android

Bug Report
Problem
Trying to install this plugin because it is required for cordova-plugin-advanced-http to work
What is expected to happen?
Run cordova plugin add cordova-plugin-file and it installs
What does actually happen?
I get:
Plugin doesn't support this project's cordova-android version. cordova-android: 10.1.2, failed version requirement: >=12.0.0
Skipping 'cordova-plugin-file' for android
Information
I do believe android10.1.2 is the highest level currently on cordova
Command or Code
cordova plugin add cordova-plugin-file
Environment, Platform, Device

I am running
Windows 11
Cordova 11.1.0
Android Version 10.1.2
Checklist

[ x] I searched for existing GitHub issues
[ x] I updated all Cordova tooling to most recent version
[ x] I included all the necessary information above

939364970325


Automated testing of simple docker deployments

@philwinder can you add a brief description here, what is it that we want tested?

Fixed by https://github.com/microservices-demo/microservices-demo/pull/363


Mutation

Hi!
I'm trying to set a mutation as a 'string' but I'm getting NameError: wrong constant name createSomething
Here is an example of my code:
@client.parse <<-'GRAPHQL'
  mutation createSomething($name: String!, $filter: createSomethingFilterInput!, $frequency: SomethingFrequency!) {
     createSomething(name: $name, filter: $filter, frequency: $frequency) {
     success
     message
     __typename
     }
}
GRAPHQL

But the same mutation works using graphql playground.
  mutation createSomething($name: String!, $filter: createSomethingFilterInput!, $frequency: SomethingFrequency!) {
     createSomething(name: $name, filter: $filter, frequency: $frequency) {
     success
     message
     __typename
     }
}

I'm trying to avoid the use of Blocks as I want to maintain a standard on my code.

I'm not sure what you refer to by "as a string", but parsed results can only be set to constants, which in Ruby must start with a capitalized letter. Have you tried renaming mutation to Mutation?

this looks ok to me, the only thing I can think of is ' around GRAPHQL, can you try removing that? or switch to something like
%(
mutation createSomething($name: String!, $filter: createSomethingFilterInput!, $frequency: SomethingFrequency!) {
     createSomething(name: $name, filter: $filter, frequency: $frequency) {
     success
     message
     __typename
     }
})

I should've been more clear on what I was really referring to by mutation, but I was referring to the local variable mutation in Ruby, not the one in the actual GraphQL query:
-mutation = @client.parse <<-'GRAPHQL'
+Mutation = @client.parse <<-'GRAPHQL'

The single quotes around GRAPHQL is valid Ruby syntax:
foo = <<-'GRAPHQL'
  text
GRAPHQL
# => "  text\n"

Hello!
Thanks for the support.
I'm actually using a lambda function to define my constant. The problem is the name of the mutation itself...
I changed it from createSomething to CreateSomething (with capital letter) on my mutation request and it works @ graphql playground.
Now I'm getting the following error expected definition to be a GraphQL::Client::OperationDefinition but was GraphQL::Language::Nodes::Document
I'm calling this mutation like this:
response = @client.query(SomethingQueries::Create.call(@client), variables)

Just so you know how I define my Constant :
module SomethingQueries
 Create = lambda { |client|
 @client.parse <<-'GRAPHQL'
  mutation CreateSomething($name: String!, $filter: createSomethingFilterInput!, $frequency: SomethingFrequency!) {
     createSomething(name: $name, filter: $filter, frequency: $frequency) {
     success
     message
     __typename
     }
  }
GRAPHQL
}

One thing that I noticed is that when I change the mutation name to use a capital letter, it creates a  Module class.
My other queries on the project (to list everything, to find a specific id) are all defined as GraphQL::Client::OperationDefinition class.
Not sure its suppose to be like that.

interesting! so parse in Graphlient underneath uses graphql-client  to parse the query, if you pass in a block, it will first try to create query string from it and otherwise it will just pass it to the underneath parse method. Looking at their examples i don't  see them using mutation or query alias.
On the other hand, i don't think you'd need that mutation name necessarily, that only changes how you access the results of that mutation and adds a  createSomething to response path. so instead of response.data.data... you'd access thing using response.data.create_someting. Unless you are planning to have multiple mutation per one request, i don't think you'd need that alias. Hope this helps 💚

My team uses mutation names to track down possible issues @ datadog... if the operation doesn't have a name, it's a bit harder to debug* :)
Thanks again for the support!

@leoGalani , Sorry haven't had a chance to look at this yet, did you figure out how to fix it? I was hoping to create a failing spec and go from there.

I didn't have time to stop and look at how the parsing goes.
Once I finish my mid tasks, I will fork your repo and try some stuff out and then come with a PR :)
For now, I don't mind not having an operation name 😅

We have an around for this by using https://github.com/tools-aoeur/graphlient/pull/1.

We have an around for this by using tools-aoeur#1.

@ashkan18 - this fork works perfectly for me. I was encountering the same issue in trying to use query/mutation aliases and not getting the correct object type back (orphaned Module instance).
I'm guessing that graphql-client doesn't permit them as they expect the constant returned from parsing to function as the alias. However, as others have mentioned, for logging/debuggin/observability, the alias needs to be preserved in whatever is sent for execution.

Can someone PR the fix (and other changes on the fork) here?


Feature request: Revert window when closed

First, Tabli is great! It saves me a lot of time having to manage windows/tabs relating to different projects I'm working on.
The only thing that annoys me sometimes is that the "Revert" action for a saved window is only available when that window is open. Sometimes a window with a bazillion tabs open gets closed and I would like to open that window again but with the explicitly saved tabs only. Currently I have to open the window with its bazillion tabs and experience the lag that comes from loading all these tabs before having the option to revert it.
While being able to open the window in the same state it was closed is certainly useful, it would be nice to be able to revert the window before opening it again!

Thanks for the positive feedback!
I agree with you about not wanting to re-open bazillions of tabs when restoring a saved window.  That's why in Tabli preferences there is an option "Only re-open saved tabs when re-opening saved windows".  When checked this should be even more conservative than what you are requesting -- it will only open tabs that are both saved and that were open when the window was last closed.  Please make sure this option is checked in your Tabli preferences (available via the menu button on the toolbar).


Load a LORA using the API

First of all @aredden , great work! Thank you so much for everything
I don't have a capable GPU and I use vast.ai  a lot to rent 4090s, so this API is fantastic for my requirements. The only issue I have now is with lora loading.
Is there currently a way to load a lora using the API or to start the API with a parameter for the lora path? any of the solutions would work for me. I'm a C# guy and I don't want to mess with your FluxPipeline in python directly.
Thanks again!

Ah, have you tried the removable-lora branch here? https://github.com/aredden/flux-fp8-api/tree/removable-lora - it has exactly what you're asking. (I believe, unless I havn't pushed the api yet, unsure)

Ah, I guess I had not added it- but I just did.

I merged the changes into the main branch so hopefully that will help (also updated readme)


Fix features no longer checked at device creation

Hello !
Because of an error I made in #1478 features supported by the replaying device were not compared anymore to features requested by the capture when --remove-unsupported was not present.
This commit simply fixes it.

CI gfxreconstruct build queued with queue ID 260276.

CI gfxreconstruct build # 4876 running.

CI gfxreconstruct build # 4876 passed.


Get some minimal cdef classes working with Py_LIMITED_API

(A good chunk of these changes are actually to do with the auto-generated pickling functions for an empty class)

1ff67d3a8afd78619bbe0533c3141758fafce19e Comments from review
The second part of your change would be clearer if you moved the CYTHON_AVOID_BORROWED_REFS case first. Then it would align nicely with the DECREF condition (and avoid harder to follow this-but-not-that conditions).

Nice!


[BEAM-1964] Fix lint issues for linter upgrade - part 1/?

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @aaltay PTAL

LGTM

Coverage decreased (-0.003%) to 70.441% when pulling 78a2af166349460e2e3f1cf484a8c865e6c2e2ce on sb2nov:BEAM-1964-upgrade-pylint-1 into 8761d8642e20a7504504d479b8ffd70c55f1b43d on apache:master.


Window height adjustment doesn't work

The center bar is currently not movable, so the relative heights of the two visualization windows cannot be changed.

Deployed a quick fix, no need to update backend. For example: https://sortingview.vercel.app/workspace/sorting/R-2562bd03a29f/S-8906190e4b1b?workspace=af3bee331a971f57877f857a6da7c268bcef70dda0af70a8367cbae8675cb5de&channel=ccm


Zip packing/unpacking with GDScript

I'm looking for a way to zip files/folders and unzip .zip files in GDScript.

There's no way to do this specifically from gdscript, but if you want to
access the files you can do
Globals.load_resource_pack("res://path/to/file.zip"), then open the files
in the zip as if they were part of the filesystem with load() or File, etc.
You can't unload it tho, and you can't get a list of what files were in the
zip.
On 13 February 2016 at 15:48, AlexHolly<EMAIL_ADDRESS>wrote:

I'm looking for a way to zip files/folders and unzip .zip files in
GDScript.
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3701.

Is it not possible because it's not implementent yet or is there no way to support this for cross-platform?
Godot has some Project files from Minizip,  Minizip supports unzip...
http://www.winimage.com/zLibDll/minizip.html

Probably because it's not implemented as a "public" api, to be used from
gdscript. We already use it for a number of things (including loading them
as resource packs), and they're all cross platform if they use the
FileAccess class to open files.
On 13 February 2016 at 16:40, AlexHolly<EMAIL_ADDRESS>wrote:

Is it not possible because it's not implementent yet or is there no way to
support this for cross-platform?
Godot has some Project files from Minizip, Minizip supports unzip...
http://www.winimage.com/zLibDll/minizip.html
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3701#issuecomment-183733594.

I also found this maybe it will help to implement a public api.https://github.com/sebastiandev/zipper

We have minizip already within Godot, could add a wrapper API so GDScript
can access it.
On Sat, Feb 13, 2016 at 5:17 PM, AlexHolly<EMAIL_ADDRESS>wrote:

I also found this maybe it will help to implement a public api.
https://github.com/sebastiandev/zipper
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3701#issuecomment-183746998.

I also need this feature for my app - to save a collection of resources and data to a custom file type and load it

Just as an idea, maybe it would be cool to include libarchive (https://github.com/libarchive/libarchive) in the thirdparty dir and expose its api to GDScript? This would include support for many formats, and also fix the issue we have with setting permissions on a zip (minizip is bugged with permissions and libarchive is not).

¿What is the status on this?

Could be handy now and again.

Well at least with Godot 3.0.6 I found a way to compress text and could be extrapolated to a file.
#Receive a text and compress it, then encode to base 64
func compress(text):
	var byte_text = text.to_ascii()
	var compressed = byte_text.compress(COMPRESSION_MODE)
	var base_64_text = Marshalls.raw_to_base64(compressed)
	return base_64_text

#Receive a base 64 compessed text, decode base 64 then uncompress data
func uncompress(text):
	var compressed = Marshalls.base64_to_raw(text)
	var uncompressed = compressed.decompress(UNCOMPRESSION_BUFFER_SIZE, COMPRESSION_MODE)
	return uncompressed.get_string_from_ascii()

I think now we need a more clear way to do this.

Thanks for sharing that Hearto.   I was wondering about something similar, but considering zipping binary files.  In the end though I felt it was going to take a certain amount of tinkering and investigation that it would be considerably more time effective for me to use OS.execute() using a portable ZIP app, or running a python script.

See also #22440 for Zlib compression, which could likely be handled together with Zip archiving.

I have created a zip file browser / decompressor in pure GDScript. It works fine if your needs are modest: gdunzip

I would still very much like a proper open API to do this

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!

So, anyone care to tell me what is the status of this? Was this accepted then?? Is it doable somehow? TO compress and uncompress ZIPs using Godot 3.4.4, using only GDScript?? Will this be as addon or part of executable??


Exception: GetRoot is not part of the three 【get: ^5.0.0-release-candidate-9.2】

GetMaterialApp(
debugShowCheckedModeBanner: false,
enableLog: true,
defaultTransition: Transition.fade,
opaqueRoute: Get.isOpaqueRouteDefault,
popGesture: Get.isPopGestureEnable,
transitionDuration: Get.defaultTransitionDuration,
translations: TranslationLangs(),
locale: TranslationLangs.locale,
fallbackLocale: TranslationLangs.fallbackLocale,
supportedLocales: TranslationLangs.supportedLocales,
initialRoute: RouteNames.root,
getPages: RoutePages.pages,
builder: EasyLoading.init(),
)
Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (9 days ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3

It seems that you do something before the Get has been created, can you show more code?

When I open a screen from a push notification and the app is in closed state or the app is in background mode, I get this error. Can you help me?
@ZhuJHua

When I open a screen from a push notification and the app is in closed state or the app is in background mode, I get this error. Can you help me? @ZhuJHua

Are you using flutter_local_notifications plugin? Can you show more code?


Turn on “Always show nav labels” option by default

Describe your suggested feature
As the title says.

This option turned on by default
Why

Turned off, the nav bar response to actions is slower.
Users might take a while to figure out they can modify the nav bar labels
The first impression is important, so if it is faster => better.
An app should have by default options that give the best performance.
nyagami agrees with me

Other details
Also adding a description below: " turning on this option might make the app slower"
Something like that. Users don't know
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.19.
[X] I will fill out all of the requested information in this form.

implemented in 2.0


Remote unnecessary if statement

JerryScript-DCO-1.0-Signed-off-by: Tamas Keri<EMAIL_ADDRESS>

"Remote"? I think you wanted to write "Remove". :)

I am curious why this is unused?

Because the JERRY_CONTEXT (jmem_heap_list_skip_p) will overwrite in L521: https://github.com/jerryscript-project/jerryscript/pull/1978/commits/ef7e0ee51e9fcd8865c0f3cd747ca2928e80245b#diff-b6c30e4774fc34221a39be31b8bda838R515  .

LGTM


Currency formatting without symbols.

Hi,
Is there a way to get the currency formatter to omit the currency symbol in its output?
For instance, I'd like Globalize.currencyFormatter( "USD" )( 1 )  to return "1.00" (rather than "$1.00").
Thanks,
Makac

By using the numberFormatter :), see its maximumFractionDigits and minimumFractionDigits options.

Yup, using the number formatter would have that effect.
On Thu, Jun 9, 2016, 8:24 AM Makac<EMAIL_ADDRESS>wrote:

Hi,
Is there a way to get the currency formatter to omit the currency symbol
in its output?
For instance, I'd like Globalize.currencyFormatter( "USD" )( 1 ) to return
"1.00" (rather than "$1.00").
Thanks,
Makac
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jquery/globalize/issues/617, or mute the thread
https://github.com/notifications/unsubscribe/ADmyNcSHcPfoQPW9qOyXxJf6_HzgR0Lyks5qKAXwgaJpZM4Ix6k5
.

Yes, it's just that the fractions differ between languages and currencies. E.g for en/USD you get "$1.00" whereas for ja/JPY it's "￥1".

True. Why do you want it without the symbol? For layout purposes (e.g., different font size / color)?

It's for showing wins in a game. It's common that you want to show these without the currency symbol. I'm considering using String.replace and a regexp to strip everything but number and decimal characters from the currency string, but that would be a bit of a hack...

Ok, the correct is something like the formatToParts ecma-402 stage 3 proposal. I'm open to include any proposal in this line here.
One workaround would indeed be using regexps, inspect the generated formatter runtimeArgs for hack help. Try using {style: "code"} option to make your workaround easier, the stripping chars are more predictable:
Globalize("en").formatCurrency(1, 'JPY', {style: "code"})
// > '1 JPY'

Globalize("en").formatCurrency(1, 'USD', {style: "code"})
// > '1.00 USD'

the correct solution* (editted)

Text editted for clarity.


Make ClientID+Secret required when OAuth is selected

Removed the 'enhancement' labelas I am using that for "would be nice to have, but not a requirement" and consider this a requirement for release.


Fixed grammar

R=@petele

LGTM

Redirection
Robert Downey
Redirection
Sent from my MetroPCS 4G Wireless Phone
-------- Original message --------From: googlebot  Date:2015/11/18  02:05  (GMT-08:00) To: google/WebFundamentals  Cc:  Subject: Re: [WebFundamentals] Fixed grammar (#2298)
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Please visit https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
If you signed the CLA as a corporation, please let us know the company's name.
—
Reply to this email directly or view it on GitHub.


Use third party DNS service

Hi,
Is that possible to use this script with other DNS service  provider like namecheap, godaddy?

Sorry for the late reply, my github was not set up correctly.
I just added some customizations to a new untested develop branch including a way to specify an AUTH_HOOK, assuming you can write a command that updates the records from a bash command line then yes.

These should be en the master branch, please test and if you have issues re-open this issue.


[Bug] Memory importer fails to find p-items and skill cards on some screenshots

"iPadから画像読み込むことができないのですが解決策はありますか"
The memory importer currently relies on some specific rules regarding how the memory screen scales on different devices. This is a bit too fragile, and doesn't work for screenshots taken on certain devices like iPad.
Example:

In this case, the memory importer only detects the contest power and parameters, but not the skill cards and p-items.
We need a better way to determine where the p-items and skill cards are in the screenshot.
Previously, we also tried using the position of the section labels determined through OCR, but that was also a bit flaky, and much slower.

Fixed for this example, and checked it works for other samples, but still not perfect for some memories.


Toolbar Tooltip displays back after using alt + tab command

Mui Datatable Toolbar options tooltip issue.
For example, when we click on the download CSV option, the CSV gets download. Now without clicking anywhere on the screen open downloaded CSV. Once the CSV is opened. Now press Alt + Tab command the tooltip will still be displaying.
Expected Behavior
Once you remove your cursor from the icon the tooltip should disappear.
Current Behavior
It appears until and unless you click anywhere on the screen
Steps to Reproduce (for bugs)

Click the Download CSV option from the table toolbar
Now without any mouse events on the screen, click and open downloaded CSV file
Press Alt + Tab command and you will see the tooltip appears again
Now if you move your cursor on another icon, 2 tooltips will be appearing, the present one and the previous one

For reference, I am attaching a screenshot of the issue.

What web browser/version are you using? Also, what OS? I'm unable to recreate on Windows with Chrome 80.0.3987.132 or Firefox 66.

I found this issue on chrome and on firefox as well. I am sorry if my steps dint help you to recreate the scenario. If you follow the steps exactly you will find it. After clicking the Download CSV button just use Alt + Tab keys and it will appear.

Mui Datatable Toolbar options tooltip issue.
For example, when we click on the download CSV option, the CSV gets download. Now without clicking anywhere on the screen open downloaded CSV. Once the CSV is opened. Now press Alt + Tab command the tooltip will still be displaying.
Expected Behavior
Once you remove your cursor from the icon the tooltip should disappear.
Current Behavior
It appears until and unless you click anywhere on the screen
Steps to Reproduce (for bugs)

Click the Download CSV option from the table toolbar
Now without any mouse events on the screen, click and open downloaded CSV file
Press Alt + Tab command and you will see the tooltip appears again
Now if you move your cursor on another icon, 2 tooltips will be appearing, the present one and the previous one

For reference, I am attaching a screenshot of the issue.

Hi @patorjk

@sh4rm4 I missed that this was re-opened, I'll take a look in the next few days.


Add bower release

Done. Needed to rename it to algolia-autocomplete.js because autocomplete.js was already taken :/
bower info algolia-autocomplete.js


New fix metrics

Closes #67
In order for Travis to read the encrypted environment variables, the PR must come from a branch on the origin of the repo, not on a fork. Tests should now pass.

Coverage remained the same at 100.0% when pulling d60df22635d23793083e26ff24b65c0e3184568f on new-fix-metrics into 66a0263e14b473ba3acc5f40e57b5a34523043ee on master.


feat: workflows create js object code split

Description
Code split for the EE PR that introduces CRD of workflow JS collections. More details here: EE PR
PR fixes following issue(s)
Fixes #29634
Type of change

New feature (non-breaking change which adds functionality)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

Summary by CodeRabbit

New Features

Expanded the workflow integration with additional fields in the Workflow interface.
Enhanced JavaScript collections with new optional attributes for better workflow association.

Enhancements

Improved the JavaScript action fetching mechanism to be payload-based.
Updated sorting logic within the file explorer to prioritize main JavaScript collections.

Refactor

Streamlined action creation and collection fetching processes.
Updated selectors for better state management and data retrieval.

Bug Fixes

Fixed issues with context menu properties and handling within the JavaScript action entities.
Adjusted conditional rendering for editor components to ensure proper UI behavior.

/ok-to-test


Drawing while zooming on mobile

might have to do with the buffer for drawing while moving (which is currently 0). If we create some buffer, then placing a single finger won't draw immediately because phone detects the slightest of movements.

I had dealt with this already, forgot to close the issue


Only rebuild to GH Pages when releasing

Changes the workflow trigger to be on release rather than on every push to main. This gives us more control to release a build on GH Pages when we're happy.

Good to have open ready, I'm just checking a few other things before we can do the first release so we'll leave it open for any push onto main just a few more weeks I need to make.

Merged in #39 so all good. I'll accept in now.


ReactArrowFunctionComponent Snippet issue

Hi There.
The snippet doesn't populate on a black page. but If I type rafc followed by const for example, it works.

I'm also facing the same issue from last week.
Could be due to vsCode update.

Let me know, if you find any solution,

It is now fixed in the latest version 😀


Adding bors config file

This PR fixes https://github.com/quartiq/booster/issues/272 by locking MQTT to a tag
This PR fixes #162 by adding booster HITL support for booster
This PR fixes #297 by adding v1.6 identification support

bors try

bors try

bors r+

bors try

bors r+

bors try-

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors try

you'll also want to include the hitl run in the bors requirements for success

bors try

bors try

@jordens I've made a lot of changes since your last review. Mind re-checking things here before we merge? HITL is broken because we do not yet support v1.6 hardware, but that's not the fault of the HITL infrastructure that we're landing here.


[10.x] Add creation and update datetime columns

Add datetimes function to create "created_at" and "updated_at" columns using "datetime" columns instead off "timestamps" columns to add further future proofing.

If this is better way then all of migration stub should be updated with this

Most information I find online still suggests using timestamp for thing like created_at and updated_at timestamps.

https://stackoverflow.com/questions/409286/should-i-use-the-datetime-or-timestamp-data-type-in-mysql
https://bugs.mysql.com/bug.php?id=12654

@taylorotwell I fully agree for web applications that are going to be consistently maintained and updated. The reason for my PR was that I've come across many web applications that just aren't kept up to date, and I feel like that trend will continue. So for the sake of those web apps that probably wont be maintained but will continue to be used for many years I feel like this is a good option to ensure longevity.


Do you plan upgrade to ver0.6? thanks.

Do you plan upgrade to ver0.6? thanks.

I'll skip 0.6. I want to refactor it once Seed has stable basic API (https://github.com/seed-rs/seed/milestone/2) and Seeder is usable at least for build, auto-reload and release build.


discord.SetGame

This is more of help rather than an issue but iv'e been messing around with discord.NET and i cant seem to figure out the discord.SetGame to get the bit is playing...

RESET YOUR TOKEN
SetGame() takes a single string argument which represents the "game" you want your bot to be "playing." Also, you have to call SetGame() after a delay after your bot connects, so put it after an await Task.Delay(3000) after you connect.
These questions are better suited for our channel in the Discord API Guild (#dotnet_discord-net).

Closing as this looks like it has been resolved externally.


Add component for notifying the user about disabled Images

When an app wants images but is not receiving them, we should be able to display a warning to the user warning them that the application will not function correctly until images are enabled.  Optionally, we might be able to provide some sort of interface (a button for example) to enable images for the app for the duration of the application.

How important is it that we keep this issue around? It doesn't seem like a priority; applications that use images are few and far between, and we have changes coming down the pipeline for the image API as well. It's also been two years and I haven't seen this be a problem for anyone.
In the interest of closing issues, I vote "wont-fix" and close.

I'd agree, I think this could be a nice-to-have at some point, but we don't have an issue open for every nice-to-have concept.


Add ability to get content of a file

Adapt this code to accomplish this:
import requests

# Define the repository owner, repository name, and file path
owner = 'JesseRWeigel'
repo = 'mineflayer-chatgpt'
file_path = 'path/to/file.ext'  # Replace with the actual path to the file in the repository

# Construct the API URL
url = f'https://api.github.com/repos/{owner}/{repo}/contents/{file_path}'

# Make the GET request to the GitHub API
response = requests.get(url)

# Check if the request was successful
if response.status_code == 200:
    # Parse the JSON response
    file_data = response.json()

    # Decode the file content (which is base64 encoded)
    import base64
    file_content = base64.b64decode(file_data['content']).decode('utf-8')

    # Print the file content
    print(file_content)
else:
    print(f'Error: {response.status_code}')

51907dd


Symlink problem on Windows: use another method instead of ftplugin directory

Git on Windows does not properly handle symlinks (this can be seen in different issues, where only a file containing the name to the link target is reported).
This makes the Vim plugin probably not work as expected, where different filetypes link to the "html" directory.
The solution might be to not use the ftplugin mechanism, but provide a autocmd FileType ... mechanism instead, which would load the plugin?!

@rstacruz: The autocmd idea seems sane to me; should I prepare a Pull Request? Sparkup already offers <Tab> for navigating to the next empty tag, so that's not a concern. But if the augroup fixes shortcut problems for Windows users, maybe it should be switched.

There are problems even on Linux/Android, if the plugin is stored on a filesystem which does not support symlinks.


Failed to load registry bank

Hi
First of all, great library!  Thank you for all your hard work.
Please help me.  I am having an issue with validating IBANs on Windows.  For the IBAN GB84DEUT40508114998100, using the following code:
    from schwifty import IBAN     <-   Issue is here

I get the error: Failed to load registry bank.  I also have to add that this is part of a pyinstaller compiled application.
A traceback gives me:
File "modules\classes.py", line 1311, in __validate_ibans
File "modules\classes.py", line 482, in init
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "schwifty_init.py", line 6, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "schwifty\bban.py", line 9, in
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "schwifty\bic.py", line 465, in
File "schwifty\registry.py", line 93, in build_index
File "schwifty\registry.py", line 71, in get
ValueError: Failed to load registry bank
Could you please help me.
Kind regards
Cedric

Maybe this https://github.com/mdomke/schwifty/issues/187#issuecomment-2042523245 helps in your case as well?

@cedricscheepers could you verify that something similar to
$ pyinstaller schwifty-test.py --name schwifty-test --onefile --console --add-data=C:\Users\christi\AppData\Local\Programs\Python\Python312\Lib\site-packages\schwifty:. --copy-metadata schwifty

The canonical solution would be --collect-data schwifty --copy-metadata schwifty and to revert https://github.com/mdomke/schwifty/pull/92, because the bank_registry data directory is/should be collected as sys._MEIPASS/schwifty/bank_registry and not sys._MEIPASS/bank_registry and PyInstaller supports importlib.resources.files() since v4.6 (which predates #92), so no special handling is needed. (Alternatively, the package_path for frozen codepath should be fixed into package_path = Path(__file__).parent).

@rokm Thank you very much for the clarification. I'm not a pyinstaller user myself and should have paid more attention when integrating the changes in #92. The aforementioned pull-request has been reverted in release 2024.05.1. As I understand from pyinstaller/pyinstaller#8458 you would be willing to add a hook that simplifies the integration of schwifty to pystinaller? Otherwise, I could also add some instructions to schwifty's documentation.

@cedricscheepers with schwifty release 2024.05.1 you should be able to do
$ pyinstaller schwifty-test.py --copy-metadata schwifty --collect-data schwifty

Possibly, a custom pyinstaller-hook will make it even easier in the future. Can you confirm that this works for you?

@rokm Thank you very much for the clarification. I'm not a pyinstaller user myself and should have paid more attention when integrating the changes in #92. The aforementioned pull-request has been reverted in release 2024.05.1. As I understand from pyinstaller/pyinstaller#8458 you would be willing to add a hook that simplifies the integration of schwifty to pystinaller? Otherwise, I could also add some instructions to schwifty's documentation.

Thanks for promptly taking care of the problem!
We will indeed add a hook for schwifty that will automatically perform the equivalent of --copy-metadata schwifty --collect-data schwifty - see https://github.com/pyinstaller/pyinstaller-hooks-contrib/pull/742. After installing the release of pyinstaller-hooks-contrib that will include the linked PR, schwifty will work out-of-the-box with PyInstaller.


Cabal build fails

OS
Your OS:4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Versions
The db-sync version (eg cardano-db-sync --version): This is what we are trying to compile
PostgreSQL version:
Build/Install Method
The method you use to build or install cardano-db-sync: cabal build
Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none):
Additional context
Add any other context about the problem here.
Problem Report
Please do not include screenshots or images, but instead cut and paste any relevant log messages
or errors.
projects/cardano-db-sync$ cabal build all
Warning: Requested index-state 2022-11-11T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2022-11-10T22:18:27Z).
Warning: Requested index-state 2022-11-12T20:00:00Z is newer than
'cardano-haskell-packages'! Falling back to older state
(2022-11-11T00:24:50Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: cardano-api-1.36.0 (user goal)
[__1] next goal: base (dependency of cardano-api)
[__1] rejecting: base-<IP_ADDRESS>/installed-<IP_ADDRESS> (conflict: cardano-api =>
base>=4.14 && <4.15)
[__1] skipping: base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS> (has the same
characteristics that caused the previous version to fail: excluded by
constraint '>=4.14 && <4.15' from 'cardano-api')
[__1] rejecting: base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS> (constraint from
non-upgradeable package requires installed instance)
[__1] fail (backjumping, conflict set: base, cardano-api)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, cardano-api

Versions
The db-sync version (eg cardano-db-sync --version): This is what we are trying to compile
PostgreSQL version:

This was left empty

[__1] rejecting: base-<IP_ADDRESS>/installed-<IP_ADDRESS> (conflict: cardano-api =>
base>=4.14 && <4.15)

This is almost always a result of using an incompatible version of ghc. Db-sync currently expects ghc-8.10.*.

ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.7
So that is not the problem. But the error is still the same.

cabal: Could not resolve dependencies:
[__0] trying: Win32-network-<IP_ADDRESS> (user goal)
[__1] trying: base-<IP_ADDRESS>/installed-<IP_ADDRESS> (dependency of Win32-network)
[__2] trying: lobemo-scribe-systemd-<IP_ADDRESS> (user goal)
[__3] next goal: libsystemd-journal (dependency of lobemo-scribe-systemd)
[__3] rejecting: libsystemd-journal-1.4.5 (conflict: pkg-config package
libsystemd>=209, not found in the pkg-config database)
[__3] rejecting: libsystemd-journal-1.4.4 (conflict:
base==<IP_ADDRESS>/installed-<IP_ADDRESS>, libsystemd-journal => base>=4.6 && <4.13)
[__3] skipping: libsystemd-journal-1.4.3, libsystemd-journal-1.4.2,
libsystemd-journal-1.4.1, libsystemd-journal-1.4.0, libsystemd-journal-1.3.4,
libsystemd-journal-1.3.3, libsystemd-journal-1.3.1, libsystemd-journal-1.3.0,
libsystemd-journal-1.2.0, libsystemd-journal-1.1.0, libsystemd-journal-1.0.0
(has the same characteristics that caused the previous version to fail:
excludes 'base' version <IP_ADDRESS>)
[__3] fail (backjumping, conflict set: base, libsystemd-journal,
lobemo-scribe-systemd)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, libsystemd-journal,
lobemo-scribe-systemd, Win32-network
Try running with --minimize-conflict-set to improve the error message.

Versions
The db-sync version (eg cardano-db-sync --version): This is what we are trying to compile
PostgreSQL version:
This was left empty

You should mention what version (git hash or tag) you're trying to build

Versions
The db-sync version (eg cardano-db-sync --version): This is what we are trying to compile
PostgreSQL version:
This was left empty

You should mention what version (git hash or tag) you're trying to build

updated reply above.
git describe --tags
<IP_ADDRESS>

rejecting: libsystemd-journal-1.4.5 (conflict: pkg-config package
libsystemd>=209, not found in the pkg-config database)

Possibly this is the issue. Some mising library in your system. This seems related https://cardano.stackexchange.com/questions/4258/how-to-solve-cabal-could-not-resolve-dependencies-when-building-cardano-cli-c

rejecting: libsystemd-journal-1.4.5 (conflict: pkg-config package
libsystemd>=209, not found in the pkg-config database)

Possibly this is the issue. Some mising library in your system. This seems related https://cardano.stackexchange.com/questions/4258/how-to-solve-cabal-could-not-resolve-dependencies-when-building-cardano-cli-c

no success ...it really is frustrating ...

@reitcircles What does the command dpkg -l | grep libsystemd say?
On my (Debian) system its results in:
> dpkg -l | grep libsystemd
ii  libsystemd-dev:amd64                     252.5-2                         amd64        systemd utility library - development files
ii  libsystemd-shared:amd64                  252.5-2                         amd64        systemd shared private library
ii  libsystemd0:amd64                        252.5-2                         amd64        systemd utility library

Finally built both using nix & cabal succeeds.
Additional packages:
sudo apt install  zlib1g-dev
sudo apt install libicu-dev

cabal configure --with-compiler=ghc-8.10.4 <or whatever version you have>
cabal build cardano-db-sync

It always looks for  version of the libs.

If this can be closed, please do so.


left-click to follow url

It looks like from a UX standpoint it would work fine to be able to left-click and follow a URL. If you select text it shows both the formatting bar on the top and the URL bar on the bottom. If it just showed the URL bar when you left-click, I don't think that would get in the way of selecting. I think it would need to disappear when typing, until it gets clicked again.

A way to open a link with the keyboard would be handy.

Thanks for your suggestion! I thinks what you said makes sense so I'll optimize the UX.

Done in main branch.


Split Keys seem inconsistent

The documentation says:
prefix + |
split current pane horizontally
prefix + -
split current pane vertically
prefix + \
split current pane full width horizontally
prefix + _
split current pane full width vertically

I have two problems:

The vertical split documentation seems backwards to what actually works:
For me pressing _ gets a vertical split, and - gets a full-width vertical split. This actually makes more sense to me than the way it is described in the documentation.

The horizontal split is inconsistent from the vertical split:
For full vertical splits you press shift, but for full horizontal splits you don't press shift.
For in-pane vertical splits you do not press shift, but for in-pane horizontal splits you do press shift.

I suppose this depends on your keyboard (mine is standard US layout), but this seems inconsistent.
I tried changing the bindings in my tmux.conf file, but it doesn't work - is it possible to change the plugin so it doesn't overwrite customizations? I've seen that other plugins work that way.
Thanks!

This is probably due to the naming convention that tmux uses for the split direction.
Sent from my Google Pixel XL using FastHub

I tried changing the bindings in my tmux.conf file, but it doesn't work - is it possible to change the plugin so it doesn't overwrite customizations? I've seen that other plugins work that way.

I'd like something similar too. Navigation/move/resizing key bindings are nice, but I'd like to keep my split key bindings. Current "workaround" is to just adapt pain_control.tmux into my main tmux.conf.

You could probably add an override parameter for the plugin similar to how the recently opened pull request has. Otherwise it would be a good overall enhancement for the plugin to figure out how the other plugins avoid clobbering existing settings.


Consider native document hierarchy and/or indexes

Consider adding ImmutableArray<IDocument> IDocument.Children. This would allow any document to have a well-defined way of describing children and would be utilized by the following modules:

PaginateDocuments
GroupDocuments
CreateTree

AddDocumentsToMetadata would also need to be rewritten and renamed to something like AddChildren (or SetChildren - would a separate AddChildren be needed in that case? And for that matter, should AddMetadata be renamed to SetMetadata?)
It would also let modules like CombineDocuments treat children a little differently by concatenating them rather than overwriting them as with metadata.
Could also consider adding int IDocument.Index to indicate the document's index within a list. That would be useful to persist ordering after a module clones or other reorders documents. Extensions that rely on the index could be built to do things like get the next document given the current one, even if the input documents are out of order.

This is essentially done using a conventional metadata key for children and extensions that support it.


With Sensirion SCD41, only got "Received NACK on transmit of address"

Hello,
I am trying to use a T-Display-S3 to monitor a Sensirion SCD41 (CO2 sensor).
Instead of using JST, I connected/soldered SDA to GPIO43 and SCL to GPIO44.
According to this issue, I thought that it will work:
https://github.com/Xinyuan-LilyGO/T-Display-S3/issues/85
I configured my arduino software using this setup:
https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples/blob/main/T-DisplayS3_Setup.txt
And I confirmed the setup by running the included "Hot Head" example, and it worked.
I then tried to test the SCD41 with this:
https://github.com/Sensirion/arduino-i2c-scd4x
Unfortunately I only got the error messages:
Error trying to execute getSerialNumber(): Received NACK on transmit of address
Error trying to execute startPeriodicMeasurement(): Received NACK on transmit of address
Waiting for first measurement... (5 sec)
Error trying to execute getDataReadyFlag(): Received NACK on transmit of address

Trying another example "Example8_SCD4x_BLE_Gadget_with_RHT.ino" from here:
https://github.com/Sensirion/arduino-ble-gadget
I got a little further:
Sensirion GadgetBle Lib initialized with deviceId = 26:19
Error trying to execute startPeriodicMeasurement(): Received NACK on transmit of address
Waiting for first measurement... (5 sec)
CO2(ppm)	Temperature(degC)	RelativeHumidity(percent)
Error trying to execute readMeasurement(): Received NACK on transmit of address

What could be wrong in my setup ?
Thanks a lot in advance

OK, two things here

The app was written for the old Arduino boards and the Arduino IDE  can detect what EXACT board you are using! It picks the "correct" pins and quietly starts Wire in the background.

In the wild ESP32 world you need to add the SDA, SCL into the Wire.begin(43,44) if you are using the JST or whatever pins you chose to use.
-Terry

Thanks a lot @teastainGit, I changed to Wire.begin(43,44) and now I can see some values !


Added refactoring description of parse() in omitValue.java

Added a refactoring description of the method parse(). This is only one of two alternatives. The other being just splitting the function. However I felt that writing two methods would just be to much. Should resolve #29

Did a complete rewrite @francislaus

Codecov Report

Merging #80 into lab3 will increase coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             lab3     #80      +/-   ##
=========================================
+ Coverage   69.48%   69.7%   +0.21%
=========================================
  Files         107     107
  Lines        7334    7334
  Branches     1388    1388
=========================================
+ Hits         5096    5112      +16
+ Misses       1811    1796      -15
+ Partials      427     426       -1

Impacted Files
Coverage Δ

src/main/java/com/jsoniter/CodegenImplNative.java
77.27% <0%> (+12.12%)
:arrow_up:

Continue to review full report at Codecov.

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