Add script to add CLI into packages for Debian, RPM, Brew

We would like to distribute CLI with package management.  So we need a script which will prepare packages for Debian, RPM, Brew.
DoD:

Extend Makefile in order to build packages for

Debian
RPM
Brew

Need some guideline how to host these packages

@dimitrystd: debian and rpm packages can be built via make deb rpm.
To add package into Brew, homebrew-core (https://github.com/Homebrew/homebrew-core) should be forked and pull-request is created according to guidelines (https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md). Not a piece of a cake.

I added build step, so now we have
$ ls -l pkg/
total 4176
-rw-r--r-- 1 root root 1983992 Jun 29 13:37 smartling-141.a50b26a-1.el7.centos.x86_64.rpm
-rw-r--r-- 1 root root 2287142 Jun 29 13:37 smartling-141.a50b26a_all.deb

What's the next? Let's talk tomorrow.

I'll take a look at Homebrew

I created a pull request to preview formula on our end before submitting it to the Homebrew repository - https://github.com/Smartling/homebrew-core/pull/1


Extract the message determination code from _build_id_messages

Changes

Extracted message determination code from the _build_id_messages function
Added tests

Please review: @hefischer @andrewperkins-wf

+1

+1

QA Performed:

Generated new message catalog cleanly.
Unit tests are clean.

Result: +1 QA


Make header and body markup consistent with BS standards

This is a minor change that will allow for better presentation. The nav element should be exclusive of the container element for flow to be consistent with other sites using bootstrap.

@kevinglover, could you please create a JIRA ticket describing the issue and fix.
https://jira.duraspace.org/browse/FCREPO
Thanks for this PR!

Addresses: https://jira.duraspace.org/browse/FCREPO-1400


Added Fortune Teller Project

It solves issue #1401
Its working video,
https://user-images.githubusercontent.com/75881393/118239306-38ce6f80-b4b7-11eb-9b19-e20404e72eb0.mp4

Please @ridsuteri @991rajat @urvashi-code1255 review this PR.


Andriod Build 4.27 Unreal Issue with armv7

@hgamiel @shanecolb HI I mange to fix a few bugs and make it work with UE 4.27 and package as windows, however i am not able to package as andriod

UATHelper: Packaging (Android (ASTC)):     In file included from D:/Others/Sppechtest/Plugins/SpeechRecognition/Source/SpeechRecognition/Public\SpeechRecognitionSubsystem.h:6: UATHelper: Packaging (Android (ASTC)):     D:/Others/Sppechtest/Plugins/SpeechRecognition/Source/SpeechRecognition/Public/SpeechRecognitionWorker.h(4,10): fatal error: 'sphinxbase/ad.h' file not found UATHelper: Packaging (Android (ASTC)):     #include <sphinxbase/ad.h> UATHelper: Packaging (Android (ASTC)):              ^~~~~~~~~~~~~~~~~ UATHelper: Packaging (Android (ASTC)):     1 error generated. PackagingResults: Error: 'sphinxbase/ad.h' file not found
Issue with SpeechRecognitionWorker.h file. how I think you guys were able to port it to andriod. can you tell me what do i need to change for it to load it for andriod?

I am guessing i just need to add something in SpeechRecognition.Build.cs for armv7 ?


Add initial .travis.yml

https://travis-ci.org/tianon/gb/builds/90598178 build in progress

LGTM. I realised you have commit, so merge this when you're happy that it passed and we can setup the travis webhooks.

Everything's green!


fix: Record parameters for aggregations (nw.std, nw.var, cum_sum, and other cumulative operations) and raise if necessary for PyArrow / pandas

closes https://github.com/narwhals-dev/narwhals/issues/1606
What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Related issues

Related issue #<issue number>
Closes #<issue number>

Checklist

[ ] Code follows style guide (ruff)
[ ] Tests added
[ ] Documented the changes

If you have comments or can explain your changes, please do so below

closing in favour of #1614


Change the language code of bengali

Terms

[x] Before you openning this issue, i have checked if the issue has already been reported.

Issue Description
I found in the Webkul package that the bengali language code is ben but actually it should be bn

@heysagnik
I have fix this issue, Can you please verify this: https://github.com/bagisto/bagisto/pull/7088

Here it's not changed

@heysagnik
Changes done for customer package.

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.


add CI + regression tests for conversions

we should add samples and tests for conversions. it would be good to have some public samples to use in case the linc data remains embargoed. perhaps we could ask each lab for some small samples for testing.

+1 We should make sure that when creating a dataset the metadata match in the OME-Zarr sidecar json file and .zattrs file.
cc @jingjingwu1225

We have added this kind of test in the refactored branch.  It will make the repo size grow rapidly especially if we want to store both input and output. We can definitely added the real data if we found we need it later.

Can we close this, or does it need more discussing?

I will implement a more throughout test logic using some more real data. We can keep this open before that.


Adds Experiment Manager and executor service

Adds Experiment Manager initiation, creates the executor service, adds settings and constants which are used in the EM
Signed-off-by: bharathappali<EMAIL_ADDRESS>

Updated the branch with calculation for executors
null is placed left to the comparison
max pool size and the current pool size is checked with the limits placed in EM settings class
Renamed EMS to EMSettings
Renamed launch with start

@dinogun Can I please have this one reviewed?

Added constant for Minimum Pool Size check MIN_EXECUTOR_POOL_SIZE
Added definitions for the Multipiers via comments

@dinogun This PR is now ready to be re-reviewed. Thanks in advance.

Thanks, @dinogun for the review. I have made the changes mentioned.


Remove telemetry generated docs and commands #1598

This should remove the generated documentation that is coming from Cobra, also the telematry commands should now show a deprecation warning.
Let me know if you have questions.

@elbuki thanks for this!
We are in the process of changing Gauge's licensing from GPL v3 to Apache License Version 2.0. This PR will be merged immediately after that.

@elbuki can you resolve the conflicts? Will merge once that is done.

@elbuki can you resolve the conflicts? Will merge once that is done.

Done.


feat(mvp-ado-extension-behavior): Wire Up ADO extension

Details
This PR wires up the ADO extension parts.
This was tested in ADO for both comments and report generation.
In this PR i had to switch to webpack because the shared library wasn't found while running the action.
Motivation
Get the extension to work in ADO PRs/CI
Context

Pull request checklist

[ ] Addresses an existing issue: Fixes #0000
[ ] Added relevant unit test for your changes. (yarn test)
[ ] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[ ] Ran precheckin (yarn precheckin)
[ ] (after PR created) The Accessibility Checks (pull_request) check should fail. All other checks should pass.

Codecov Report

Merging #836 (275d35b) into main (073d976) will decrease coverage by 2.25%.
The diff coverage is 23.33%.

:exclamation: Current head 275d35b differs from pull request most recent head 6cfcdce. Consider uploading reports for the commit 6cfcdce to get more accurate results

@@            Coverage Diff             @@
##             main     #836      +/-   ##
==========================================
- Coverage   88.97%   86.71%   -2.26%
==========================================
  Files          38       39       +1
  Lines         762      783      +21
  Branches       79       82       +3
==========================================
+ Hits          678      679       +1
- Misses         84      104      +20

Impacted Files
Coverage Δ

packages/ado-extension/src/ado-extension.ts
0.00% <0.00%> (ø)

packages/ado-extension/src/module-name-mapper.ts
0.00% <0.00%> (ø)

...r/pull-request/ado-pull-request-comment-creator.ts
98.33% <100.00%> (+0.08%)
:arrow_up:

...s/ado-extension/src/task-config/ado-task-config.ts
100.00% <100.00%> (ø)

packages/gh-action/src/module-name-mapper.ts
0.00% <0.00%> (-20.00%)
:arrow_down:

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 073d976...6cfcdce. Read the comment docs.


CON-2137:File System Corruption Fix

We can have a common method to find the Filesystem type which can be used for Filesystem corruption checking and Filesystem repair.

These methods are kept separated because we detect the file system corruption first and then try to repair it only if the user has opted to repair it.

2. I think the method executeFilesystemRepair can be used in fsck repair with additional code for handling the exit status.

fsck has many return codes that need to be handled each one differently and it will be confusing to handle all of the file systems together.


Enhancement in Edit broadcast modal

SWOC
Issue that this pull request solves
Closes: #400
Proposed changes
All the requested change in all broadcast page is done
Brief description of what is fixed or changed
Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] 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
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Other information
Any other information that is important to this pull request


Hash non-index files while downloading

We need to record the hashes of non-index files, which we can do while downloading them:
https://github.com/astral-sh/puffin/blob/fbe28d3b7c51ed5bf27e4af7a7e1efde66b5114a/crates/install-wheel-rs/src/wheel.rs#L116-L144
This means that we need to download all url wheels after the resolve step to get the hashes, so we can also directly download and unpack them into the cache

We now do this.


Revert #53174 (applying the delta in move and collide) + doc improvement

See discussion in #53174

Thanks!

Should this be done to move_and_slide as well? It doesn't make sense to have some functions automatically multiply delta and some not. I often forget which variables I should and shouldn't multiply by delta when writing code, so I sometimes end up applying delta twice which isn't good. Removing any automatic delta multiplication would make this much easier to use.

@fire-forge In Godot 4.0, move_and_slide does not take any arguments.

@aaronfranke sorry, I wasn't aware of that. I've only used Godot 3's move_and_slide so I didn't know.

@aaronfranke sorry, I wasn't aware of that. I've only used Godot 3's move_and_slide so I didn't know.

Plus, move and slide needs to know the delta, it's better to manage it internally (otherwise we would have to add a new parameter to pass it).


Option to turn off auto focus in file treeview

I understand some may well benefit from the tree view focusing on the file selected in the working files list, but there are many times when a file is selected in the working files list just for a quick reference. The auto focus of the tree view then becomes a hinderance to the user who now has to scroll back to the place where he was before. An option to turn this off would be great.

#3062


Documentation for algo viewer

Describe the Feature you want to end
adding readme file

Expected behavior
helps in better understanding

Screenshots (optional)

Additional context (optional )

@MohitGupta121 Kindly,assign this to me.


Refactor KeyEvent and KeyEventEventArgs to simplify

The keyboard handling code has gotten super crufty over time.
We have:

KeyEvent - Originally designed to be passed to functions (before .NET event EventHandler stuff) as an abstraction above the drivers
KeyEventEventArgs - Recently (clumsily) renamed to match modern patterns. Basically just holds a KeyEvent
ProcessKey, etc... = Don't match our event pattern (should be named OnKeyPressed etc... Takes a KeyEvent
There is no KeyPressed event. There should be. It will use KeyEventEventArgs making ProcessKey/OnKeyPressed weird for taking a KeyEvent

This all results in a lot of confusing and ugly code that is ripe for hard to find bugs. E.g.

I want to simplify this. I did a prototype and it worked well, but I screwed up and lost the work.
Plan:

There will be one class, 'KeyEventArgsdefined in./Input/Keyboard.cs. It will merge KeyEventandKeyEventEventArgs. KeyandKeyModifiersdefns will move toKeyboard.cs too (Event.cswill be renamedMouse.cs`)
The Responder methods ProcessKey, ProcessHotKey and ProcessColdKey will

Be renamed to OnKeyPressed, OnHotKeyPressed, and OnColdKeyPressed and the signature will be bool OnKeyPresssed(KeyEventArgs args)
Be accompanied by new events (KeyPressed, KeyDown, KeyUp). There is no need to add Hot/Cold key events, because we want people to use the Command framework for that anyway.

All library code will be updated as needed. Where it makes sense, events will be used instead of overriding the On methods. In some cases I may move code to use Command to reduce code.
All Scenario code will be updated as well.

This will be a massive PR in terms of files touched.
We will also want to do the same thing to Mouse handling.
Thoughts?

All library code will be updated as needed. Where it makes sense, events will be used instead of overriding the On methods. In some cases I may move code to use Command to reduce code.

You need to pay attention with this one. If you use KeyPressed, KeyDown, KeyUp and Handled = true before Application class send them to the View class, users cannot handles them first. But if Handled is never set, then there is no problem. Just a note.

All library code will be updated as needed. Where it makes sense, events will be used instead of overriding the On methods. In some cases I may move code to use Command to reduce code.

You need to pay attention with this one. If you use KeyPressed, KeyDown, KeyUp and Handled = true before Application class send them to the View class, users cannot handles them first. But if Handled is never set, then there is no problem. Just a note.

Good call. Do you happen to know if there are any existing unit tests that ensure this?

Good call. Do you happen to know if there are any existing unit tests that ensure this?

To my knowledge, no. But we can make a View subscribing KeyPressed, KeyDown, KeyUp, MouseEvent. If any of them wasn't called, then something wrong happened. Maybe is need to do it for the SizeChanged too.

I'll make sure we have sufficient tests for this as part of this pr.


Add support for benchmarking D's std.regex

This PR adds support for benchmarking the runtime version of the D
programming language's std.regex using the dmd and ldc compilers.
Sample results on a Core i7-7280HQ:

Rust: rust.results.txt
Rust bytes: rust-bytes.results.txt
DMD: dmd.results.txt
LDC: ldc.results.txt

Comparisons:

Rust vs LDC: rust-vs-ldc.txt
Rust Bytes vs LDC: rust-bytes-vs-ldc.txt
DMD vs LDC: dmd-vs-ldc.txt

LDC is LLVM based, so should give the "most fair" results in terms of comparisons. I haven't checked that the exact flags/same optimisation levels are used.
This PR does not include the CTFE versions of the benchmarks - I may add these in a follow up PR. Older benchmarks did not show a definitive speed up - some benchmarks were faster (compared to runtime variants), some were slower. The compile times were noticably larger.
Closes #430

The build failure seems to be a single Travis build timing out - it looks unrelated to my changes. I don't have access to retry it, otherwise I would.

CI is on the fritz. I'll look into it. Definitely unrelated. I pulled this PR down and tried it myself. It worked perfectly! Thanks so much for doing this! (I think this would have taken me personally 100 times as long to do as you!)


Error getting ...

Describe the bug
all cards show error message. for instance "!Error getting Next Race!" or "!Error getting standings!"
To Reproduce
NA
Expected behavior
Cards to be shown as it always did
Screenshots

Additional context
Home Assistant 2023.4.6
Supervisor 2023.04.1
Operating System 10.1
Frontend-versie: 20230411.1 - latest

Your computer cannot reach the API. Do you have VPN running?
Can you reach this url? https://ergast.com/api/f1/2008/5/results.json

No clue what happened, but somehow everything is working now. I did restart HA, but that did not fixed it. But now it does.
my apologies.... I have no VPN, HA runs in VMWARE on a NUC.

Hi, found the source of the problem. The switch connected with the NUC did reboot itself about 45 min ago… no clue why, but should have caused the issue.
From: Marco Kreeft @.>
Sent: Monday, May 1, 2023 3:36 PM
To: marcokreeft87/formulaone-card @.>
Cc: jarube @.>; Author @.>
Subject: Re: [marcokreeft87/formulaone-card] Error getting ... (Issue #230)
Closed #230 https://github.com/marcokreeft87/formulaone-card/issues/230  as completed.
—
Reply to this email directly, view it on GitHub https://github.com/marcokreeft87/formulaone-card/issues/230#event-9136625299 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWFKNQQ33HJWQIOAAAWTMVLXD634BANCNFSM6AAAAAAXRY2SVU .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AWFKNQQHLCKV2KXURPDKBIDXD634BA5CNFSM6AAAAAAXRY2SVWWGG33NNVSW45C7OR4XAZNWJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XKUY3PNVWWK3TUL5UWJTYAAAAAEIEV22JQ.gif Message ID: @.*** @.***> >

No worries, glad its working now :)


Baking NavigationPolygon fails when two static body rectangular collision edges overlap for 1 pixel horizontally

Tested versions
Reproducible in Godot 4.2.stable
System information
Godot v4.2.stable - macOS 14.0.0 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
When static bodies are placed so that the edge of the outline overlaps exactly with another edge for 1 pixel horizontally baking fails.
modules/navigation/nav_mesh_generator_2d.cpp:819 - NavigationPolygon Convex partition failed. Unable to create a valid NavigationMesh from defined polygon outline paths.

(In editor or via NavigationRegion2D.bake_navigation_polygon()).
The Agents -> Radius affects how this error occurs. The larger the radius, the further away the "error sweet spot" is.
Baking with radius of 0px
Bake fail

Bake succeed by moving 1 pixel further along edge

Baking with radius of 5px
Bake fail

Bake succeed by moving 1 pixel further along edge

Bake succeed by lining up vertexes exactly

*This behaviour is a bit odd in my opinion, but it isn't the bake failing.
Steps to reproduce

Create a new NavigationRegion2D
Create a new NavigationPolygon for the NavigationRegion2D

Set Agents -> Radius to 0px, this makes the issue easier to reproduce

Add two StaticBody2Ds with rectangular collisions
Line up a horizontal edge so that a single pixel of the edge overlaps
Click 'Bake NavigationPolygon'

Minimal reproduction project (MRP)
TestingNav.zip

@smix8 I've seen that you've made significant contributions to NavigationRegion related issues in the past, I'm trying to fix this myself but I figure you may be interested in it

At the core these are all precision issues in the rasterization process amplified by a small scale.
https://www.angusj.com/clipper2/Docs/Robustness.htm
Coordinate upscaling or multi-error polygon checks have a siginificant performance cost and are not even capable of fixing "all" edge case bugs that can result from polygon path clipping operations.

At the core these are all precision issues in the rasterization process amplified by a small scale.

Would it be possible to optionally drop/leave out polygons that cause an issue so that the baking process doesn't have to fail outright?

The polygon partitioning needs the full polytree as it can not determine what is polygon and what is a "hole" without the full context of all involved paths that interact with each other.


ban appeal

can i please get unbanned plz this was my favorite server so plz can i get another chance

Your username isn't a Minecraft username, how can we unban you? You need to provide your username and the reason you were banned and why you think you should be unbanned.

The last time you appealed this ban, we declined you. No sooner was this done, you started lying and spamming our tracker with things like "my brother was on my account though". After all that, it's really difficult to trust on the grounds that you've changed.
Had you left it as it stood when we told you no for spamming racial slurs in our chat, I would be open to give a second chance. The fact you lied to us on the tracker though, it makes me uneasy about removing your ban at all. I suggest formulating a more honest and detailed appeal, and trying again some other time.


Deleting messages make them disappear

Expected behavior
When tapping the trash icon, the message should go to the trash folder and that should be reflected on the webmail too.
Actual behavior
Tapping the trash icon makes the message disappear comoletely from the app. Yet via webmail the messages are only marked as delete but still in the inbox.
Steps to reproduce

select a message
tap the trash icon
check app and webmail

Environment
K-9 Mail version: 5.717
Android version: 10
Account type: IMAP

There exist 2 settings in your Account settings under the 3rd submenu... Like "Message requests/Download" ... Delete when deleted in Server and Delete also in Server. I have non-English App, so translated by myself.

Ah and a 3rd "the folder expunge"...

This is a special feature of IMAP. You can configure K-9 Mail to not "expunge" messages marked as deleted by setting Settings > [Account] > Fetching mail > Erase deleted messages on server to Manually. K-9 Mail does not support displaying such messages or marking them as "not deleted".
Support for not expunging messages immediately will be removed in a future K-9 Mail version. If you need to be able to use this IMAP feature you'll have to look for another client.
The typical way of handling messages deletion is to move them to a Trash folder. K-9 Mail does this by default if a Trash folder is configured by the server or manually under Settings > [Account] > Folders > Trash folder.


[Feature Request] Custom Mixers

The ability to easily use custom mixer's would be nice, currently I see only x and xy supported, but there is a work in exploring more options. The input format could either be a qiskit circuit (depending on internal conversions) or some string based representation, but I think there would be value in this.

@lockwo, thanks for the feature request. I agree that having the choice of using more advanced QAOA mixers would be great. For this reason, we have been working on generalizing the ansatz layer of OQ for use with mixers other than x and xy. This feature is under-review and, hopefully should be available soon!

The changes or on dev, and will soon make their way to main :)


multilingual finetuning NLLB translation

❓ Questions and Help
What is your question?
How can I finetune the NLLB multilingual translation model on multiple language pairs together?
I find the document for finetuning NLLB but it only supports one language pair.
Anyone has experience or how should I adapt the training code to do it?
Thanks in advance! @elbayadm @vedanuj

Hi @edchengg!
For finetuning on a single pair we provided the command
DROP=0.1
python examples/nllb/modeling/train/train_script.py \
    cfg=nllb200_dense3.3B_finetune_on_fbseed \
    cfg/dataset=$DATA_CONFIG \
    cfg.dataset.lang_pairs="$SRC-$TGT" \
    cfg.fairseq_root=$(pwd) \
    cfg.output_dir=$OUTPUT_DIR \
    cfg.dropout=$DROP \
    cfg.warmup=10 \
    cfg.finetune_from_model=$MODEL_FOLDER/checkpoint.pt

If you want to finetune NLLB on multiple language pairs at the same time you can list all directions  with:
cfg.dataset.lang_pairs="$SRC1-$TGT1,$SRC2-$TGT2"
This assumes that the dataset config you point to with
cfg/dataset=$DATA_CONFIG has all those pairs in it.
Specifying cfg.dataset.lang_pairs in the command above overwrites the list of pairs in the data config; if you want to train/finetune on all pairs in the dataset, you can skip that line all together.

Thanks a lot!


Improve error message for UnknownTopicOrPartition

It's not really useful unless you know which topic is missing.

@tcrayford yeah, if there's a use case for it :+1:


Adding FreeBSD build support.

Making all changes required to build on FreeBSD.  Some CMake entries for Linux may have changed, but their functionality remains unchanged.

Requested changes made, should be ready for merge.


feat(sma): implement v2 GET /configs/{services} API

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?

Issue Number: fix #3472
What is the new behavior?
$ curl http://localhost:48090/api/v2/configs/core-data,core-metadata

{
  apiVersion: "v2",
  statusCode: 200,
  configs: {
    core-data: {
      apiVersion: "v2",
      config: {...}
    },
    core-metadata: {
      apiVersion: "v2",
      config: {...}
    }
  }
}

Does this PR introduce a breaking change?

[ ] Yes
[x] No

New Imports

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

Codecov Report

Merging #3481 (8161719) into master (f46290f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3481   +/-   ##
=======================================
  Coverage   40.40%   40.40%
=======================================
  Files         204      204
  Lines       16678    16678
=======================================
  Hits         6738     6738
  Misses       9461     9461
  Partials      479      479

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 f46290f...8161719. Read the comment docs.


Store integrity check failures

Trello: https://trello.com/c/A9GjvYyp
What's changed and why?
The integrity check added in PR #1602 has highlighted some discrepancies between how some of the fields are handled.
For example, if the image caption is blank, it's recorded in publishing-api as nil, however, the import process tries to replace this value with an empty string. Also, some fields are being sent to publishing-api with an extra space or newline at the end of them.
All of these discrepancies will cause the integrity check and therefore the import to fail.
Debugging integrity check failures is difficult. As the integrity check runs within a transaction, when the import fails and the transaction rolls back, all of the documents, editions and revisions the import created are obliterated, which means that the proposed payload that we wanted to send to publishing-api is also lost. Trying to recreate this payload in a console is quite difficult because of the need to also create all of the editions and revisions etc.
This change keeps a copy of this payload in the database, to make it easier for the investigator to find out what's failed and why. We're already storing a copy of the export taken from Whitehall in the whitehall_migration_document_imports table and the proposed payload will be stored along side it.
We don't need to store what publishing-api expects because it's easy enough to see that by calling the get_content, get_live_content and get_links api methods.

@kevindew Thanks for your initial comments. This PR is ready for a full review now.

Thanks @kevindew you're comments should be addressed now.


fix: :pencil2: Added dataset and projectId parameters to PortableText component

This PR implements the missing parameters projectId and dataset on the PortableText component

I was gonna add this haha, beat me to it

These props are actually already passed through without explicitly defining them. This part of the README documents it, but I'm happy to include the additional JSDoc documentation for them if you want to reduce the change to that and force-push (i.e. flatten to a single commit).

When you specify the values for the above parameters in a typescript environment, the compiler throws an unexpected props error.

These props are actually already passed through without explicitly defining them. This part of the README documents it, but I'm happy to include the additional JSDoc documentation for them if you want to reduce the change to that and force-push (i.e. flatten to a single commit).

@prince-appiah Hmm, changes to the JSDoc params is included in the function declaration in the auto-generated index.d.ts, but not the namespace. I don't use TypeScript enough to know whether or not it's necessary to have in the namespace as well. Can you advise?
export default PortableText;
export function blockContentToPlainText(blocks?: [any]): string;
/**
 * Renders an array of Portable Text blocks as React components.
 *
 * @param {object} props
 * @param {object[]} props.content Array of portable text blocks
 * @param {string} [props.className] Optional className
 * @param {object} [props.serializers] Optional serialization overrides
 * @param {string} [props.dataset] Dataset for your sanity project
 * @param {string} [props.projectId] Project ID of your sanity project
 * @returns
 */
declare function PortableText({ content, className, serializers, ...additionalOptions }: {
    content: object[];
    className: string;
    serializers: object;
    dataset: string;
    projectId: string;
}): any;
declare namespace PortableText {
    namespace propTypes {
        const content: any;
        const className: any;
        const serializers: any;
    }
}

@coreyward you should merge it!!

@coreyward you should merge it!!

Yeah, im getting errors when I run it without the node modules (but i've changed the node modules of portable text to add this) and it just gives me an error since projectId and dataset doesn't exist

@coreyward you should merge it!!

Yeah, im getting errors when I run it without the node modules (but i've changed the node modules of portable text to add this) and it just gives me an error since projectId and dataset doesn't exist

its comming error for me to!

@prince-appiah Hmm, changes to the JSDoc params is included in the function declaration in the auto-generated index.d.ts, but not the namespace. I don't use TypeScript enough to know whether or not it's necessary to have in the namespace as well. Can you advise?
export default PortableText;
export function blockContentToPlainText(blocks?: [any]): string;
/**
 * Renders an array of Portable Text blocks as React components.
 *
 * @param {object} props
 * @param {object[]} props.content Array of portable text blocks
 * @param {string} [props.className] Optional className
 * @param {object} [props.serializers] Optional serialization overrides
 * @param {string} [props.dataset] Dataset for your sanity project
 * @param {string} [props.projectId] Project ID of your sanity project
 * @returns
 */
declare function PortableText({ content, className, serializers, ...additionalOptions }: {
    content: object[];
    className: string;
    serializers: object;
    dataset: string;
    projectId: string;
}): any;
declare namespace PortableText {
    namespace propTypes {
        const content: any;
        const className: any;
        const serializers: any;
    }
}

It has to be in the namespace as well, that's where we have the PropTypes. So it will be made available without throwing errors when working with it

@prince-appiah Hmm, changes to the JSDoc params is included in the function declaration in the auto-generated index.d.ts, but not the namespace. I don't use TypeScript enough to know whether or not it's necessary to have in the namespace as well. Can you advise?
export default PortableText;
export function blockContentToPlainText(blocks?: [any]): string;
/**
 * Renders an array of Portable Text blocks as React components.
 *
 * @param {object} props
 * @param {object[]} props.content Array of portable text blocks
 * @param {string} [props.className] Optional className
 * @param {object} [props.serializers] Optional serialization overrides
 * @param {string} [props.dataset] Dataset for your sanity project
 * @param {string} [props.projectId] Project ID of your sanity project
 * @returns
 */
declare function PortableText({ content, className, serializers, ...additionalOptions }: {
    content: object[];
    className: string;
    serializers: object;
    dataset: string;
    projectId: string;
}): any;
declare namespace PortableText {
    namespace propTypes {
        const content: any;
        const className: any;
        const serializers: any;
    }
}

It has to be in the namespace as well, that's where we have the PropTypes. So it will be made available without throwing errors when working with it

Yup!!

@coreyward can you please merge this!

Y’all really rallyin’ behind this one! 😅 Merged and released in 0.4.1.

@prince-appiah @coreyward
https://github.com/coreyward/react-portable-text/issues/16


Drop python 3.7 support as aligned with PyTorch

First step for #971
per title

As far as I know, Python 3.8 introduced two good things:

asyncio becomes stable
Protocol is supported in typing


Do everything in the hijacked DLL

I picked the wrong library to hijack; it gets freed by the program basically instantly. This means we have to build two DLLs for the time being.
winmm.dll might be a better pick for hijacking, though it'd bring in a ton of code, since you can't really forward its functions to another library's.

Closed by 0ea7b3d8c08d5a21b6ac27bd7ec81cc476f1483a


Question - Where to find / edit git icons. Maybe not part of this codebase?

Are git related icons part of this codebase? or is that handled / managed somewhere else if using nvim-tree?

:h nvim-tree.renderer.icons.glyphs.git


Make ensureVisible return a Future

You should be able to wait for the scrolling to finish.

@axel-op Looks like it. Switching over required some changes as I mentioned previously 😅

@axel-op Wanna take a look? I am pretty certain that this is it then ☹

Why did you deprecate some functions and still use them?

@axel-op I did not deprecate a function. I deprecated the class parameters because they should be passed as function parameters. In order for this to not break existing code, I need to check them.

@creativecreatorormaybenot Could you please leave this PR open for now? I need to check your changes but don't have time now

Sure, I am fine using commits as dependencies anyways while the package is not merged to Pub.

(package_analysis is failing again)

This is because of another package to interact with GitHub I'm working on also 😓

@creativecreatorormaybenot I think this should be OK

Thanks, I think that the ignore comments are redundant as well then. I will quickly check and then merge.


Solution for 40 lucky number

solution for 40 lucky Number

@imdarshansingh  add solution link in readme under solution section


[1.10.2] Missing Descriptions on Blocks

The description on RFTools blocks does not show up in versions of RFTools higher than 5.62 on Minecraft version 1.10.2
This is what you see on version 5.62alpha2 and higher (taken on RFTools version 5.84 and mcjtylib 2.3.8)

RFTools 5.62alpha1 is also missing the description but I did not take a screenshot of that version
This is what you see on versions of RFTools 5.62 and lower (taken on RFTools version 5.62 and mcjtylib 2.2.0)

In Minecraft 1.11.2 the descriptions seem to work perfectly, also item descriptions work correctly in all the versions that I tested (aside from the Storage Tablet that does nothing when you press shift, but still displays the <Press Shift> message)
All tests were done with only RFTools, mcjtylib, and CompatLayer on the latest version of forge for that Minecraft version.

Hmm, that's at the time I ported RFTools to 1.11. I know about this bug but I have never been able to figure out what. Hopefully with your detailed version check I can find it now. Thanks

Fixed in McJtyLib 2.3.9


add winter coats to loadouts

resolves #27006
and also fixes minor bugs with loadouts too
:cl:

tweak: Most job loadouts now have winter coats available.

Needs winter shoes

Needs winter shoes

added them


Nuke: updated colorspace settings

Changelog Description
Updating nuke colorspace settings into more convenient way with usage of ocio config roles rather then particular colorspace names. This way we should not have troubles to switch between linear Rec709 or ACES configs without any additional settings changes.
Testing notes:

Create new project with some nuke task and keep colormanagement in global to be disabled
Open nuke in the project task and see all is working as expected - no colorspace issues.
Go to global colorspace management switch and enable it.
Open Nuke again and check if there is no colormanagement issue.

Looks as though you are still missing the custom ocio config selection. I made a PR for this a couple of days ago. Might be worth adding that to this PR?


Improve tests for txs with no change

Coverage remained the same at 94.766% when pulling b9977ee72e7f042da5c1d995ecf47525033996b9 on isocolsky:improve-no-change-test into 3f49a67ad58fe63ff9eedc40a558ea8d1d6b8bfd on bitpay:master.


[Improve][docs] Change the document to the correct project name

Correct the project name.

@Hisoka-X @CalvinKirs, please review, thx.


Draft: Add Support for Switzerland

TL;DR

Adds Support for Switzerland

Additional Information
until discussion about region support is wrapped up, this PR includes the holidays for switzerland that the public transport system, the post and nation-wide organisations follow.
Source

German Wikipedia

Hi @Martin-Welte
I am sorry to bother you, i already started forking your work and play around with the cantons based on the BFJ List. However something i noticed we haven't discussed: Language.
How is multilanguage support handled with this package? Right now the german variants of the holidays is present but we have 4 official languages in switzerland.
Any idea regarding this? Maybe @Nielsvanpach ?

@herpaderpaldent there is a discussion here about multi lang support: https://github.com/spatie/holidays/discussions/131

@herpaderpaldent I would love to see your shot at cantons. I am still pondering what the best solution would be here.

@herpaderpaldent I would love to see your shot at cantons. I am still pondering what the best solution would be here.

This is what i have been tinkering with tonight. Let me know what you think: https://github.com/herpaderpaldent/holidays/blob/feature/switzerland-with-regions/src/Countries/Switzerland.php

@herpaderpaldent Thank you for your PR.
Each canton has their own set of holidays, so it's unfortunateley not dependant on a language. I am also working on an approach that could then be translated easily in the future.
For now i was thinking something along these lines:
$regions = [
  'ZH' => [
    'Neujahr' => '01-01',
    'Karfreitag' => $easter->subDays(2),
    'Ostermontag' => $easter->addDay(),
    'Tag der Arbeit' => '05-01',
    'Auffahrt' => $easter->addDays(39),
    'Pfingstmontag' => $easter->addDays(50),
    'Bundesfeier' => '08-01',
    'Weihnachtstag' => '12-25',
    'Stephanstag' => '12-26',
  ],
];

return $regions[$this->region];

that way we could define each canton seperateley, and have it nice and tidy. Instead of using the german words i would opt for translation keys which we can then translate via a seperate locale in the future.

Hey
I cannot really follow your comment my attempt allready reflects the fact that every canton has its own set of holidays:
f.e.:
private function getCantonHolidays(string $canton, int $year): array
    {
        return match ($canton) {
            'vs' => $this->getVSHolidays($year),
            default => [],
        };
    }

    private function getVSHolidays(int $year)
    {
        $eastern_holidays = $this->getEasterHolidays($year, with_easter_minus_two: false, add_corpus_christi: true);

        return array_merge([
            $this->getLocaleHoliday('01-01') => '01-01',
            $this->getLocaleHoliday('01-02') => '01-02',
            $this->getLocaleHoliday('03-19') => '03-19', // St. Joseph
            $this->getLocaleHoliday('08-15') => '08-15', // Assumption
            $this->getLocaleHoliday('11-01') => '11-01', // All Saints
            $this->getLocaleHoliday('12-08') => '12-08', // Immaculate Conception
            $this->getLocaleHoliday('25-12') => '12-25',
            $this->getLocaleHoliday('26-12') => '12-26',
        ], $eastern_holidays);
    }

Although having slept a night i would aim for a better translation approach then the current. F.e. having the Translations in a single constant and use english as key for the translation. Fallback to the first language as default.
const HOLIDAYS = [
        'languages' => ['de', 'fr', 'it', 'rom'],
        'New Year' => ['Neujahrstag', 'Nouvel an', 'Capodanno', 'Nadal'],
.....
];

@herpaderpaldent I had time today to update it today, now we can discuss it.
What I wanted to ensure was having the variable holidays clearly defined, so that it's rather obvious which holidays will be used. It did take a bit of typing to ensure it though.

@Nielsvanpach btw, there is a rudimentary translation function in there, if you want to take a look. Right now it only translates into the 3 official languages of switzerland.

I don't like your solution. Way to much boilerplate.
Have you even checked out my approach? You have not even given feedback to it

@Nielsvanpach thank you for the info. I will update the PR End of Week
@herpaderpaldent not yet, i had limited time until now, but i will take a look. I wanted to make sure you can see how i pictured my version. I am sorry, but unfortunately I have quite the bussy week. If you have time in the meantime you could comment, what you would do differently and why. Which parts of your implementation would you say, would be most crucial to take into consideration?

New Year's Day
Ascension Day
Christmas Day

Hello guys, just dropping some info here about public holidays in Switzerland.
Swiss National Day (August 1) is the only federal public holiday. Cantons have their own additional public holidays.
The only holidays that every Canton has in common are:

New Year's Day
Ascension Day
Christmas Day

Labour Law


MAE only until 15th MAY

Metrics only show up to 16th of May,
need to look what happened, of what has changed.
Useful things to do

[x] check metrics task is not falling over
[x] check what happen round 16th May, was there an upgrade? went from 1.0.4 to 1.0.5 which added the adjuster metrics
[ ] Get SQL query that the page users

FOund the error, metrics currently runs at 01:00 in the morning, there are no "updated estimates" PV Live then. THey come in around 11:00.
Going to change the metrics runtime to 22:00 UTC

Now seems to stopped on the 29th of May, I will look into this

I found that the datetime_interval_id_seq was out of sync with the database, I updated them, and then it was fine

This was a different issue, so Ill close this


Dead?

Just dropping in to ask if there's any plan to renew this repo - it's a great idea and sorely needed!
Thanks

Hi @stephengardner, I don't work at Syrp any more sadly. It's probably not going to be happening.


Feature: Companies can add additional information

Companies can add information about internships they offer: 3rd or 4th year, international/dutch

Resolved in #433


gnumeric 1.12.25

@BrewTestBot test this please

Merged in https://github.com/Homebrew/homebrew-x11/commit/a90e4250fb0107d5e45862e1109f2a5ca20da74d. Thanks for the patience Tom; I think we've resolved the frequent X11 CI problem now.


GUID generation unclear for dynamic fragments

The section for "How to determine the GUID of an existing profile" states that a GUID is required and that this GUID has to conform to the UUID v5 standard with a specific namespace. A sample UUID for 'Ubuntu' is given to check the validity of a generator.
However, this section does not mentioned how to generate such a UUID e.g. using PowerShell. Using online generators as mentioned in #66 or #274 does not work as expected because of the caveat only mentioned as a comment in #274 .
The PowerShell method mentioned alongside the online generators also does not appear to support v5 generation.
So, to make things a little bit more straightforward I would kindly ask that more complete instructions are added to the documentation on how to generate and validate such a GUID.

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

ID: e7dd918e-788a-e3f5-379f-240d72b1e6ea
Version Independent ID: 341f8755-2701-601f-5b91-98527354b3e8
Content: Windows Terminal JSON Fragment Extensions
Content Source: TerminalDocs/json-fragment-extensions.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

So, uh it's been a while since my pull request was merged (thanks!) and I am wondering when the content changes will be published?

Looks like its live :)

Sorry for the delay - I was out of office for a while and we have this particular content set up for manual merges to the live site, not auto merges like some of the other docs content. Just makes it a bit easier not to accidentally push version updates before the actual product version releases.

No need to apologize! I just was just curious about the delay between the merge and the changes on the live site. Thanks for taking the time to explain.


Usage of new media fetch API breaks display of large articles

https://wikipedia.thottingal.in/page/en/India won't load anymore because https://en.wikipedia.org/w/rest.php/v1/page/India/links/media gives 500
{"messageTranslations":{"en":"Too many media links found on title India (100 allowed)"},"httpCode":500,"httpReason":"Internal Server Error"}

The old API worked good and didn't have this limitation

Tracked at https://phabricator.wikimedia.org/T265204

The '500' is still a limitation. Shouldn't there be no limitation or an API with no limitation be used instead ?


Question: cluster_connected_triangles

This is rather a request for some code examples.
How would one convert this Python code to Swift/PythonKit:
Python:
...
mesh_1 = copy.deepcopy(mesh)
largest_cluster_idx = cluster_n_triangles.argmax()
triangles_to_remove = triangle_clusters != largest_cluster_idx
mesh_1.remove_triangles_by_mask(triangles_to_remove)

Swift:
let clusters = mesh.cluster_connected_triangles()
let triangle_clusters = np.asarray(clusters[0])
let cluster_n_triangles = np.asarray(clusters[1])
let cluster_area = np.asarray(clusters[2])
let largest_cluster_idx = cluster_n_triangles.argmax()
let triangles_to_remove = (triangle_clusters != largest_cluster_idx).  // ERROR: Ambiguous use of operator '!='
let largestCluster = mesh.remove_triangles_by_mask(triangles_to_remove)

Any help appreciated! thanks

the answer is to wrap the code in PythonObject:
let triangles_to_remove = PythonObject(triangle_clusters != largest_cluster_idx)


Gracefully handle empty SAM prompts

What changes are proposed in this pull request?
Before this, if there were empty prompt fields, either detection or keypoint, the following errors would be passed to the user:
Batch: 64f8fb2b89625d1f64eb5449 - 64f8fb2b89625d1f64eb5449
Error: cannot reshape tensor of 0 elements into shape [0, -1, 256, 256] because the unspecified dimension size -1 can be any value and is ambiguous

Now, this case is handled separately by checking for the length of the Detections or Keypoints contents, and when 0, returning empty torch tensors to the InstanceSegmentationOutputParser.
How is this patch tested? If it is not, please explain why.
To test empty detection bounding box prompts:
import fiftyone as fo
import fiftyone.zoo as foz
dataset = foz.load_zoo_dataset("quickstart", max_samples=25)

### make some empty
view = dataset.take(10)
for sample in view.iter_samples():
    sample["ground_truth"] = fo.Detections(detections=[])
    sample.save()
view.save()

model = foz.load_zoo_model("segment-anything-vitb-torch")
dataset.apply_model(
    model,
    label_field="segmentations",
    prompt_field="ground_truth",
)

For keypoints:
dataset = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    label_types="detections",
    classes=["person"],
    max_samples=25,
    only_matching=True,
)

# Generate some keypoints
kp_model = foz.load_zoo_model("keypoint-rcnn-resnet50-fpn-coco-torch")
dataset.default_skeleton = kp_model.skeleton
dataset.apply_model(kp_model, label_field="gt")

### make some empty
view = dataset.take(10)
for sample in view.iter_samples():
    sample["gt_keypoints"] = fo.Keypoints(keypoints=[])
    sample.save()
view.save()

model = foz.load_zoo_model("segment-anything-vitb-torch")
# Prompt with keypoints
dataset.apply_model(
    model,
    label_field="segmentations",
    prompt_field="gt_keypoints",
)

Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[ ] No. You can skip the rest of this section.
[x] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[x] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[ ] Other

@brimoor just made the changes requested. Let me know :)

@jacobmarks when you change branches it's a bit tricky. As you can see from the Files changed view on this PR, it currently proposes to pull all 23 commits from develop that are not already in release/v0.22.0 into the release branch. But what you want to do is only merge in the specific commits from this PR.
One way to achieve what you need is to create a fresh branch off of release/v0.22.0 and then only add on the specific commits from this branch that include your work:
git pull
git checkout release/v0.22.0
git checkout -b your_new_branch

# I got these from the bottom of https://github.com/voxel51/fiftyone/pull/3500/commits
git cherry-pick 8fbe7b3a752f88ea1660675c863a136f63440191
git cherry-pick 025171fae3e6a45da3d368f7f05cdb5193b219d9
git cherry-pick 8481e05d7731f32998566b7fa8d7b0f259b06e7d

git push -u origin your_new_branch

Ah I see @brimoor, thanks for the clarification. That makes sense. Let me do that and try again


Ran ./script/update-gemspec

I'd love to be able to rely on dependabot but it doesn't seem to be working properly
To do:

[x] drop Ruby 2.6 support (so Capybara will install)
[ ] release CCK with new messages dependency
[x] re-release Gherkin with new messages dependency

We can't drop 2.6 until v9


Enhancement: Use SymfonyStyle to streamline console output

This PR

[x] uses SymfonyStyle to streamline the console application output

Follows #380.

Sweet! Thanks @localheinz.


Consider a Jenkinsfile

If we need this, it can be modified from that of mod-ldp; but hopefully it will not be necessary once we have the GitHub actions working (#13).

With GitHub workflows in place (#13) there is no need for Jenkins.
Closing as WONTDO.


demo: allow user to use device location as start point

so far, there are two options:

use hardcoded one (Moscow, Red Square). It is default as apk will be shipped with map data for this region.
use geocoding service to resolve geocoordinate by name

The third one can be additional button with action "use device location". Having reverse geocoding functionality for it is also nice.
Assumed that this class provides access to location data: https://docs.unity3d.com/ScriptReference/LocationService.Start.html

Done


Separate pkgaction into "pkgaction" and "serviceaction"

Right now the two are conflated because I keep forgetting to separate them.  They should be two separate modules with separate "enums".  One for pkgaction e.g. install, update, etc. and one for serviceaction e.g. stop, start, restart cc @sthulb @ehazlett

I will do this if no one else is working on it


Print the classpath in case of a ClassNotFoundException

When building projects on top of jenkinsfile-runner if you pass the wrong directories it just thows ClassNotFoundException with no hints to what's wrong
eg. https://github.com/carlossg/jenkinsfile-runner-lambda/blob/master/src/main/java/org/csanchez/jenkins/lambda/Handler.java#L172

@carlossg could you please create a JIRA ticket and explain how you got into this situation in it?

Yes, I'm confused because that class is from the Jenkinsfile Runner itself, so it's not something that should fail.

https://issues.jenkins-ci.org/browse/JENKINS-56079


updated reference to AddDownstreamWebApi to AddDownstreamApi in Entra ID "Call your own Downstream Api" page

fixes #112093

@cilwerner
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Create kimcartoon.li.js

Search broken, I don't have any idea how to fix either 🤧 @MiaoMint please look into this.

I'll try

   const res = await this.request("", {
      headers: {
        "Miru-Url": "https://kimcartoon.li/Search/Cartoon",
        Referer: "https://kimcartoon.li/",
        "Content-Type": "application/x-www-form-urlencoded",
      },
      data: {
        keyword: kw,
      },
      method: "Post",
    });

Content-Type should be  application/x-www-form-urlencoded

   const res = await this.request("", {
      headers: {
        "Miru-Url": "https://kimcartoon.li/Search/Cartoon",
        "Content-Type": "application/x-www-form-urlencoded",
      },
      data: {
        keyword: kw,
      },
      method: "Post",
    });

Content-Type should be application/x-www-form-urlencoded

Still same issue 302 or no more data

   const res = await this.request("", {
      headers: {
        "Miru-Url": "https://kimcartoon.li/Search/Cartoon",
        "Content-Type": "application/x-www-form-urlencoded",
      },
      data: {
        keyword: kw,
      },
      method: "Post",
    });

Content-Type should be application/x-www-form-urlencoded

Still same issue 302 or no more data

I tested everything fine

   const res = await this.request("", {
      headers: {
        "Miru-Url": "https://kimcartoon.li/Search/Cartoon",
        "Content-Type": "application/x-www-form-urlencoded",
      },
      data: {
        keyword: kw,
      },
      method: "Post",
    });

Content-Type should be application/x-www-form-urlencoded

Still same issue 302 or no more data

I tested everything fine

Yours search working?


[BUG] Calling fresh() on Store does not do anything

Sample app
Issue is recreated in sample app: https://github.com/dbobrzyk/StoreIssueSample
Describe the bug
When creating Store from the flow, data loads perfectly on init. But when requested to refresh the data (from button or swipe refresh) calling fresh() on store is doing nothing (nothing like the inside of the function was empty - just void).
Expected behaviour would be to get the new fresh data from repository and pass it to the VM.
To Reproduce

Launch the app
Wait for the data to load
Click Refresh button
Request to Fake Service is never made

Expected behavior
After clicking the refresh button there should be request made to the Fake Service and new data should be loaded.
Screenshots
Instead of screenshoot I created sample app.
Smartphone (please complete the following information):

Device: Pixel 5 (emulator)
OS: Android 11 (Api 30)
Store Version: 4.0.4-KT15

Additional context
After calling SampleRepository.kt line 42 inside of the function in line 23 is never called.

I have this issue as well and I think the problem is that a store with  Fetcher.ofFlow doesn't react to a .fresh(). It seems this is the case in the provided sample app and the test you have linked only tests a normal Fetcher.ofFlow for .fresh()

Hi sorry. I don't quite understand. Could you reword your comment please

Is it clear now? I accidentally typed Fetcher.ofFlow instead of Fetcher.of in the last sentence

Aha that explains it. I'll take a look in am and write a failing test

Seeing similar issue, but it's way worse for us since we are using rxjava:

store.freshSingle() would fail with an exception `"Expected at least one element"
store.observe() would complete without emitting any value
and most critical issue is that it will disconnect any active observer, they all receive onComlete() event, thus breaking all chains, even though per contract they should stay subscribed.

Additionally I've noticed that even though we are passing rxjava scheduler it still going to run Store.stream on dispatcher thread.

The issue with the wrong thread (dispatcher) could be reproduced by removing await() from RxSingleStoreExtensionsTest.
For example to confirm current thread:
store.getSingle(3)
    .doOnSuccess { println("getSingle thread=" + Thread.currentThread().name) }
    ...

Would print that we are on a wrong thread:
getSingle thread=DefaultDispatcher-worker-2 @coroutine#1

Similar test but with observe:
store.observe(StoreRequest.cached(3, false))
    .doOnNext { println("observe thread=" + Thread.currentThread().name) }
    .test()

Shows correct thread and works fine without using await:
observe thread=Test worker

But in my real app (Android) where I have a similar setup, even canceling the previous flow doesn't make the fetcher being called again.

An update regarding this. I actually subscribed to the same store's stream in two different places and I didn't cancel one of them while trying to call fetch again. When I cancel all of those before trying to do fetch again, fetcher is called properly.
So the issue is, when there is an active subscriber to the store's flow somewhere, fetcher is not being called when calling fetch/cache with refresh true.

Thanks @muthuraj57 👍🏽 Will take a look

Hey @muthuraj57 - Sorry to be slow. Spent a few hours on this today. @digitalbuddha and I are meeting tomo and can sync then. In the interim can you give more context on your use case? I can repro with your test as written. However AFAICT rewriting your test to map outside of fetcher gives the expected result.

Thanks for looking into this. My use case is, I have a Store let's call it DataFetchStore  in 2 ViewModels.
Both ViewModels have the same lifecycle owner. I call stream on both stores in both ViewModels from the init block, so two flow collectors for the same store are active at the same time.
Now at some point, I need to refresh the data from the first ViewModel, so I cancel the previous collect job and call stream again, and this doesn't emit anything other than the Loading state. This is my issue.
If I cancel the collect job from the other ViewModel too before calling stream again, the fetcher is being called and everything works perfectly fine.

That part makes sense to me 👍🏽. What is the use case for having a fetcher stream another store?

Let's say in a list and detail screen, I combine a few stores and fetch the data to populate the list screen.
Now in the detail screen, I need to get the same data to display the details. To not duplicate the combine operator and all the code inside that, I moved those into a new store and gave it inside fetcher.
So I'll use this new store to fetch data from the list screen and use the same store in the detail screen to get the cached data.

Can you share a sample with me? Pipeline use case is something we have thought about. My email is<EMAIL_ADDRESS>if you can't share publicly. I'd like to read closely to better understand real use case

But in my real app (Android) where I have a similar setup, even canceling the previous flow doesn't make the fetcher being called again.

An update regarding this. I actually subscribed to the same store's stream in two different places and I didn't cancel one of them while trying to call fetch again. When I cancel all of those before trying to do fetch again, fetcher is called properly.
So the issue is, when there is an active subscriber to the store's flow somewhere, fetcher is not being called when calling fetch/cache with refresh true.

This seems relevant to the issue I am seeing also on iOS https://github.com/MobileNativeFoundation/Store/issues/657. Basically if you cancel then start a stream fast enough, you also end up not getting any data from the store.


Look into HTTPS support

HTTPS is supported right now…kind of…
This should work reasonably well in recent PHP versions. Several changes to the underlying react/socket-client component and PHP itself contribute to quite a different behavior.
For example, accessing https://svn.apache.org does not work in PHP 5.3, because it does not use the correct SNI headers.
At the very least, this needs some documentation to raise awareness.

Also, HHVM doesn't support SSL/TLS connections at all: https://github.com/reactphp/socket-client/issues/27

See PR #51, this change depends on the newest SocketClient release which in turn requires https://github.com/reactphp/http-client/pull/55 (merged) and https://github.com/reactphp/http-client/pull/56 (pending).


CAMEL-20544 - Camel-AWS-Bedrock-Agent: Add a consumer for polling the status of ingestion or more ingestions

Description

Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

/component-test aws


Emmet support for css.unitAliases since emmet.preference been removed

VSCode Version: 1.15.0
OS Version: macOS 10.12.5

Steps to Reproduce:

setting.json
emmet.preferences css.unitAliases

Reproduces without extensions: Yes/No
The lastest version had removed emmet preference. emmet used to support setting css.unitAliases to custom unit variables like set the defualt rem to less recaculate variable @rem. For example:
 "emmet.preferences": {
    "css.unitAliases": "p:%, r: / @rem"
  },

Then i type w100p and tab could expand to width: 100%;
How to accomplish this feature now?

@whatifhappen Thanks for logging the issue.
I am making a list of commonly used emmet.preferences, so that I can propose the same to be supported by Emmet 2.0
Do let me know if there are any other preferences you use.
Until then, please use user snippets or custom emmet snippets for your most frequently used values.

@sergeche This can be implemented as addons correct? There are no css addons at the moment though.

Unit aliases are supported but not allowed to be customized yet: https://github.com/emmetio/css-snippets-resolver/blob/master/index.js#L11
Need an option to pass them to snippets resolver.
Also, as stated in original issue, w100p is broken in VS Code, as well as multiple values in CSS: p10-5, it works in Atom.

Thanks @sergeche
I see what the problem is.
Running the Emmet: Expand Abbreviation command from the command pallet or via a keyboard shortcut expands w100p to width: 100%
But in the suggestion list that item gets filtered out by viscose's internal filtering system since w100p doesn't fuzzy match with width: 100%.
@whatifhappen Until I come up with a way to get around this, bind a keyboard shortcut for the emmet command editor.emmet.action.expandAbbreviation and use it when suggestion list doesn't give you expected emmet suggestion

The other 3 css units work as expected

Just before this version updated, css custom unit is working as expected, like this one:
w100r -> `width: 100 / @rem;'

@sergeche I can add the option needed to customize the unit aliases. Would you prefer this option to be set via the addon or the format option?

@whatifhappen Customizing unitAlias is not supported in VS Code 1.15, but I'll get the feature in the Insiders soon.

Customizing the unit alias is now possible in the latest Insiders. See
w100p or an abbreviation using the percentage unit not showing up issue will be fixed in tonight's (Aug 31) Insiders
You can get the Insiders from https://code.visualstudio.com/insiders.


Default the store name to the model file name when creating stores

When writing fga store create --model mymodel.fga default the --name parameter to the file name.
fga store create --model mymodel.fga would be equivalent to  fga store create --model mymodel.fga --name mymodel

@aaguiarz I am start working on this issue

Hey @parikxxit, thanks for your interest! Just so you don't waste time, this actually went in with this PR
However, if you'd like to contribute tests for this or code enhancements, please feel free :)


Issue with Accessing MUG Dataset

I am currently facing an issue with obtaining the MUG dataset, which is crucial for my research. I have followed the necessary steps to request access, including using an educational email address and signing the required Non-Disclosure Agreement . Despite these efforts and multiple attempts to contact the lab via email, I have not received any response.
I am reaching out to the community to seek advice on how others have successfully acquired the MUG dataset. Your experiences and suggestions would be greatly appreciated.
Have you encountered similar issues while trying to access the dataset?
What steps did you take to resolve the issue and successfully gain access?
Are there any alternative methods or contacts that you would recommend for obtaining the dataset?
Any guidance or insights you can provide would be extremely helpful. Thank you in advance for your time and assistance.

Hi, @Chendaiping, it seems that the team of the MUG dataset sometimes replies to emails very slowly. You may directly contact someone in their lab. Someone else asked me a similar question  #43 before. You may also contact him/her.


Add test for faulty reparenting

This test will fail until the field ancestorBundleIds won't be introduced.
https://snowowl.atlassian.net/browse/SNRAY-283

Test case included in #891, closing PR.


Add installation instructions for Macs running on Apple Silicon

Adds information on installation for Mac users running on M1 / M2 systems (i.e. Apple Silicon). (Also adds a note about Windows support to FAQ).

LGTM. I personally would probably not read the docs before installing/trying, so I have an additional suggestion:
When someone is running zenml up, we could detect that they're on macos and then check whether this environment variable is set, and if not warn them?
Or maybe point them towards a page to read up on the environment variable? At least when I read it initially, I remember reading that setting this can have some negative effect as well, might be worth also linking in the docs. (Quite old info though, haven't done any recent research). If it's unproblematic, we could even set it ourselves when spinning up a server

Also think its great to have this here, but it should be a warning in the code as well in case we don't have that yet.

Not sure if it was too much to just error out of the process, but it felt better than just to emit a warning message...


Question: Understanding today's limitations?

Hi @Naimikan,
We have a production application that leverages https://github.com/angular-ui/ui-leaflet, which is a fork of https://github.com/tombatossals/angular-leaflet-directive.  On top of angular-ui leaflet we use https://github.com/Leaflet/Leaflet.markercluster for marker clustering, and https://github.com/Leaflet/Leaflet.label for advanced labeling needs.  Lastly, we have a huge implementation that overlays thousands of geoJSON shapes over the mapbox tiles so users can perform geospatial queries.
My question is, can your directive do any form of marker clustering, advanced marker labeling, and are there geoJSON click listeners so I can do things that change the colors of geoJSON shapes to indicated the user selected it?  Thanks for clarification here.
We're working hard to find a solution that combines mapboxGl + Angular1 + plus all the features our production application needs.

Hi @that1guy!
Hmmm... let me see if I can do a test with clustering and I tell you.
Thank you!


Unfortunately does not rund under KDE Neon Wayland

Hi,
I can start it - seeing the Icon in the Taskbar but it does not render any UI.
If I run it from cli I also do not get any error:
./qwiktape
/home/user/Apps/qwiktapes.db /home/user/Documents
tape [object Object]
tape [object Object]

System:
OS: TUXEDO OS 2 x86_64 (KDE Neon base)
Kernel: 6.5.0-10008-tuxedo
Resolution: 2880x1800, 3440x1440
DE: Plasma 5.27.9 (Wayland)
WM: kwin_wayland_wr
KWin version: 5.27.9
Qt Version: 5.15.11
Qt compile version: 5.15.11
XCB compile version: 1.14
Operation Mode: Xwayland

X-Server
Vendor: The X.Org Foundation
Vendor Release: 12201001
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Options
=======
focusPolicy: 0
xwaylandCrashPolicy:
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: false
placement:
activationDesktopPolicy: 0
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
focusStealingPreventionLevel: 2
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: true
latencyPolicy:
renderTimeEstimator:
allowTearing: true
Screen 0:
---------
Name: eDP-1
Enabled: 1
Geometry: 3440,120,1920x1200
Scale: 1.5
Refresh Rate: 90000
Adaptive Sync: incapable
Screen 1:
---------
Name: DP-4
Enabled: 1
Geometry: 0,0,3440x1440
Scale: 1
Refresh Rate: 100000
Adaptive Sync: incapable

If there is anything I can provide please let me know.

Sciter SDK the engine behind the GUI requires x11.

Waiting for Sciter SDK.GLX to be stable to run on other platforms.


return deactivation_token in dictionary of paste properties

return the deactivation token, useful when using the API to create a paste.

Coverage remained the same at 99.6% when pulling 6406d1965eacf5dabf53182816c20fdee83e2c9a on petong:master into be764c4eea8e7f67b3eab09a772345ff5f09817e on LINKIWI:master.

Thanks for the contribution!
Can you explain the motivation of this? The deactivation token is deliberately not included in the API details response because this would allow anyone to see the deactivation token for public pastes, which would allow you to deactivate anyone's paste.

Hmm, I guess that is not desirable. I was hoping to return the token just on submission, so even though it is anonymous, the creator has the token to deactivate.

We could instead include the paste's deactivation_token inside the data sent back to the client for the PasteSubmit endpoint: https://github.com/LINKIWI/modern-paste/blob/be764c4eea8e7f67b3eab09a772345ff5f09817e/app/api/paste.py#L79
Then you will have the token after submission via API.

brilliant, that sounds like the way to go


Millionjs CJS files breaking on webpack dev server

What version of million are you using?
2.6.4
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
The bug is crashing on reading cjs files in node:internals

What's the expected result?
It should compile
Checkout to million branch on repo for million setup
Link to Minimal Reproducible Example
https://github.com/jainChetan81/rspack-example
Participation

[X] I am willing to submit a pull request for this issue.

One more question, is there any plans for rspack plugin, because my organization will soon move to rspack and we'll love to sponsor this project if we see benefits from it


add documentation on performing a review

Following #33, documentation should include a how-to guide for performing reviews on GitHub

i have a shortlist for doing this, trialing with @thehannahfink this week

Suggestion for Change management page addition:
Lifecycle of an Issue/Pull Request:

Go to the repo and make a branch titled name-of-issue-# where # is the issue number.
Now make your edits. We are working in Asciidocs (https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/). Commit to the branch.
If you want to view your edits you need to clone locally and view in Docker. If you’ve already cloned first checkout the main branch, pull and then do git checkout -b name-of-new-branch-# to create a local branch. Push the edits for specific files you’ve worked on.
Create a pull request (PR) titled “Closes #: name of issue” where # is the issue number. Include multiple issue numbers if the PR closes multiple issues. Convert the PR to a draft until you are done editing, then mark ready for a review.
Review the changes - provide feedback on Github (you should get an email notification). If it looks good then approve. If not, give feedback and notify the person who needs to review changes.

(3) may need subbullets or a separate section for handling pulling and pushing while on cloned branches.

Suggestion for Change management page addition:
Lifecycle of an Issue/Pull Request:
1. Go to the repo and make a branch titled name-of-issue-# where # is the issue number.

2. Now make your edits. We are working in Asciidocs (https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/). Commit to the branch.

3. If you want to view your edits you need to clone locally and view in Docker. If you’ve already cloned first checkout the main branch, pull and then do git checkout -b name-of-new-branch-# to create a local branch. Push the edits for specific files you’ve worked on.

4. Create a pull request (PR) titled “Closes #: name of issue” where # is the issue number. Include multiple issue numbers if the PR closes multiple issues. Convert the PR to a draft until you are done editing, then mark ready for a review.

5. Review the changes - provide feedback on Github (you should get an email notification). If it looks good then approve. If not, give feedback and notify the person who needs to review changes.

(3) may need subbullets or a separate section for handling pulling and pushing while on cloned branches.

That documentation already exists. See https://tetrabiodistributed.github.io/project-tetra-docs/how-to-guides/contribution-guidelines/

i will look at website to double check overlap.
i think that most issues will be resolved by changing titles (aka #41 )

Draft of GitHub process for Hardware
Feel free to provide feedback on the document in the comments of this issue

@Burhan-Q comments (you wrote a lot, so i have a lot of comments in response): In general this documentation reads a lot more like an explanation of the details in going from issue to approved design than a how to guide - although the review section is closer to how to and there is some ordering of steps overall. Choosing to write this documentation as explanations or how to guide exclusively might tighten the flow of how it reads. I have suggestions for how to split this up since I think you can make documentation for BOTH explanations and how to from this draft. I just want my comments here to be focused on what you've already written. Also I HIGHLY recommend reading out loud when you revise, it helps catch weird wording and run on sentences. Now for more detailed feedback...
-I don't think the numbering is adding much to the content other than providing a break between lines. Like, the steps don't build on each other for each step to make a progression of tasks because some steps seem to be able to be performed in parallel. I would consider dropping the numbering for paragraphs and using bullet points if you want to make lists (for explanations) or keep the numbering but trying to separate steps in the order of progression (for how tos).
-I would shift your writing tone from passive to active if you choose to make this how to documentation. It makes the flow more like a to do list - more action oriented (for example: "1. When a design change, addition or modification is made, create a Github Issue (link to section describing how to make issue)."
-Instead of linking out to the definition of done sheet I would put the requirements in a bullet point list. Saves the trouble of moving to a separate page and also that sheet is publicly editable rn. Also the design changes are currently listed here so maybe you could reference this list/add on to it for design task def'ns instead of rewriting? https://tetrabiodistributed.github.io/project-tetra-docs/how-to-guides/internal-guides/change_management/#_how_to_make_design_changes
-Do you want to maybe take the expectations in the steps and put them in a separate blurb of their own before the to do list?
-For step 3 in github issues is there anything special to this other than assigning a task on github?
-"whoever is last assigned" what does this mean? (step 2 of assignments)
-is there a need to comment on the role of the assignee on an issue? maybe i'm unaware of something on hardware but it seems like the role is mostly to get the work done and/or provide feedback so is there any more specific distinction?
-in github labels section you have a typo in #2 "Currently the some key labels"
-have we done comments on reasons for label changes? that seems like it might be an extra step of commenting without much added value.
-i would love to hear feedback from the people designing hardware on #2 in the review process.
-this review section is the closest to a how to from all thats written so far
-in #5b what did you have in mind in terms of responsibilities?
-how much do we need to explain how to use the features on github in our documentation? (thinking about step 6b when youre talking about who the assignee needs to be changed to/from)
-#7 might be easier to say "in Step 3 from Assignments" and hyperlink to the assignments section (at least thats the format we're using for other references so far)
-is "scope of work" in 7a referring to scope creep?
-why isn't bundling of issues discussed as part of the review section?
-in the pull requests section i'm not quite sure what #4 is describing. are you saying there should be "Issue #444: closed" written somewhere in the PR?
-lol proper protocol we fancy. tbh i dont know if anyone other than @capsulecorplab is doing merging right now?
-also the labeling section is super helpful for me i have been wondering what those labels mean. love it.
lastly just want to drop two links that might help:
https://documentation.divio.com/how-to-guides/#how-to-write-good-how-to-guides
https://documentation.divio.com/explanation/#how-to-write-good-explanation


Cannot view my cluster

Hi, I'm new to Kafka so this might be me misunderstanding something, but I'm just trying to do a "Hello world" using Kafka in an existing project and something is not working. Currently I have this in my docker-compose:
version: '3.7'

services:
  # ...
  zookeeper:
    image: wurstmeister/zookeeper
    ports:
      - "2181:2181"
  kafka:
    image: wurstmeister/kafka
    ports:
      - "9092:9092"
    environment:
      KAFKA_ADVERTISED_HOST_NAME: kafka
      KAFKA_CREATE_TOPICS: "mytopic:1:1"
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
  kafka-manager:
    image: sheepkiller/kafka-manager
    ports:
      - "9000:9000"
    environment:
      ZK_HOSTS: zookeeper:2181
# ...

When I access localhost:9000, I see the interface, but I see nothing in my list of clusters. How can I make sure the cluster, topics, etc, are all created automatically when I run docker-compose up? Is this possible?

CMAK doesn't detect Kafka cluster from ZK. ZK is only used as a persistant storage for UI setting, aka local DB.
Clusters should be configured separately, see #244 for some workarounds.

@arielpontes you may also check cmak2zk tool I've release recently.

Hi does this still work with kafka 2.8.0 the latest release of apache kafka? and will this be recontinued?

The last version of Kafka that worked for was 2.4.x :(

I was hoping i can use this on my personal project :( what can you recommend for management of clusters, brokers etc? I'm having a hard time managing my apache kafka app on the command interface.

I was hoping i can use this on my personal project :( what can you recommend for management of clusters, brokers etc? I'm having a hard time managing my apache kafka app on the command interface.

Well :)
I'd recommend to use k8s and some existing k8s kafka operators :)
But if you're just asking for a good UI for a personal project - you could check https://akhq.io/

omg thank you so much! this is what i'm looking for :)

omg thank you so much! this is what i'm looking for :)

URW


arm: cortex-m: introduce option to allow non-blocking secure calls

Introduce a Kconfig option to allow Secure function calls
to be pre-empted.
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

By default this is set to "y" when building with TF-M.

Closing as it will be part of @oyvindronningstad 's work


Any concern for using math.sqrt instead of torch.sqrt

I find you use a lot of math.sqrt in your implementation. Any concern for not using torch.sqrt instead? I think math.sqrt is slower than torch.sqrt because it's on CPU.

I believe since those computations take float numbers as inputs (instead of tensor), it should not be a problem.

Got it, thanks


add calculator to find length of section cut by circle on y axis

Proposal
add calculator to find length of section cut by circle on y axis
(A clear and concise description of what the proposal is.)

i like to work on it


Make random seed monotonic in grid

If the random seed is '2', and the grid size is '2', then the base seeds for each image should be [2,3,4,5]. This allows you to select one image for a blow-up render.
Is this possible?


Software Engineering: Webcam Port Forwarding Access Denied

The project is finally done however webcam access to the internet has been denied by the router's administrator. The administrator believes port forwarding is dangerous because it reveals the general location of the router to users which is true. But without the webcam, the user cannot experience the model airport app to the fullest online anywhere in the world. The app can currently be used when around the model airport due to the restriction. Other alternatives must be taken to go around this issue until if port forwarding access has been granted.

Options that are available:

Skype
Data network/Mobile Hotspot?
Proxy server in LAN network

Skype is available on the Windows Phone and the Meet Now feature does allow browser meetings however this may not work for this project
Data network is not possible because the phone has been dropped from that feature and plus it's expensive. Same goes for mobile hotspot.
Proxy server seems possible and worthwhile to explore

Pursuing proxy server for webcam. The webcam uses an MJPEG stream format on browsers and apps. This format uses multipart/x-mixed-replace;boundary= mime content type when transferring over HTTP. This means that when the browser receives this header, it will keep itself open to new content until the stream ends. Trying to figure out how to pass the MJPEG stream to the proxy server so that it can pass it onto the user's browser. Currently toying around with node-mjpeg-proxy.

The documentation and examples for the node-mjpeg-proxy code are not clear and did not work for the webcam. There's no alternative to this proxy server and not much time to create my own. There may be a possibility to decode the mjpeg stream, extract the jpeg and send it to the proxy server. There is a mjpeg-decoder repo on npm to try out.

The mjpeg-decoder works however because of the CORS policy (localhost and MJPEG url are different), the code halts and errors are given on the console. The decoder uses the fetch function which works if the url is on the same domain as that of the served webpage.

Tried using html2canvas to take a snapshot of the iframe however this library reads the DOM and replicates it which can then be converted to an image. The documentation was not clear on how it worked until a StackOverflow post cleared the doubt.

Dropped html2canvas library idea. After tinkering with the code, I realized the problem was how the stream was embedded. Replaced the iFrame with Img tag. This removes unneccesary overhead caused by iFrame.

The img tag solved part of the problem however it introduced new problems which was CORS again. Canvas was used to copy the image and then convert to base64 format. That string would then be sent to the proxy server to be sent to clients. However, it proved to be rough and dirty solution. Before this solution was completed, it was understandable that the code used would have slowed down the server and the client's device. Best to convince the administrator again and explain all attempts to try other solutions proved fruitless

No chance of convincing. Will have to work with what is available if not best. The JPEG compression is an issue because normal file size is 300kb with compression of 150kb with lz-string.

Many of the strange solutions have been tried due to CORS issue. That's why dealing with HTTP servers were avoided. However, the solution of using a proxy server needs one more thing: another proxy server. The new solution comes from reading this stackoverflow post. This would require the webcam to connect to a device on the local network with server capabilities such as a laptop,desktop, or even the RPi itself (depending on CPU ability). The local server would then connect to a Heroku server to transfer the mjpeg stream to the user. All of this transferring will be done using the pipe function as explained here.

This current solution has its own problems and must be opened in a new issue.


Extract AppHelper, avoid RedisClient test failure on start

Makes assemble-app-test.js easier to read in preparation for testing more API methods.
Also, the 'returns null if a redirect doesn't exist' case was failing if there was a nonempty dump.rdb file from a separate redis-server run that contained relocation data for /foo. Since there doesn't appear to be a redis-server flag to instruct redis not to load the dump file, specifying a nonexistent dump file resolves this issue.

Coverage increased (+0.05%) to 92.903% when pulling dc9bff6c5f43e5b94a2407e6f97477d7c83082b5 on app-helper into 0cd31f32ba6f3c6ff59aec542addb9bb5bb3305f on master.


eiwd: init at 2.4-1

Description of changes
eiwd is iwd, minus the dbus dependency.  It consists of iwd, plus:

a bunch of #ifdef HAVE_DBUS lines added, and autoconfery to enable it
name resolution defaults to resolvconf instead of systemd (one-line change)
inability to access /etc/resolv.conf is not a fatal error (one-line change)
ell is vendored as a submodule to ensure consistent versions

That's it.
You control eiwd by simply editing files in its state directory, which it monitors for changes via inotify().
I use this to manage the wifi card on my daily-driver laptop (aarch64-linux) and it has been a huge improvement over wpa_supplicant.  It works very well under runit (soon to be replaced with s6).  My only complaint is the cryptic filenames used for SSIDs which contain characters other than [A-Za-z0-9 _-].
Things done

[x] Inspected git diff against upstream git.kernel.org/.../{iwd,ell}

[x] enumerated differences from iwd (see bulleted list above)
[x] confirmed there are no shenanigans

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux

[x] Tested basic functionality of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Would be really great if this could make the release...

Fixed merge conflict.

Moved into pkgs/by-name for easier rebasing.


Add support Windows

Hello! Okay, the analogue was removed where I asked to add my ideas, then you can add them here? ))
Replace/add from ":id.ts" to "$id.ts"
Thanks!

What do you think of a Next.js like workaround with wrapping [] e.g. [id].ts?

It`s good, i thought to offer this option)

Alright, I'll wait for @mathec-x Pull Request, which will include all the changes you already raised in his repo so I don't need to reimplement those solutions. So sorry for this inconvenience, hopefully we'll see a PR shortly!

Is @mathec-x ready to cooperate, did he say anything about it?

Yes, I reached out to him already and he said he's preparing a PR at the moment. Hopefully we'll see his changes merged into this repo by tomorrow.

@matthiaaas I hope that @mathec-x will be added as a core team member of this repo (if he wants of course)? I believe it will be fair and help boost maintainability of this nice project.

@PaulMaly How are your hopes? )))

I would be willing to make him a core contributor, but first of all he needs to respect some fundamental open source fairplay rules. He again released another copy of this package on his own GitHub & NPM without any credit or need for doing so.