WIP]] Adding DWARF to Solana Move compiler

This is to set foot in Dwarf generating for Solana Move compiler.
DIBuilder is created and will be used to accumulate more Dwarf information.
With this patch we have something as simple as:
sol@dev-equinix-new-york-2:~/tmp/090623:$ less ~/tmp/090623/0x1__unit_test.ll.debug_info

; ModuleID = '0x1__unit_test.dbg_info'
source_filename = "/home/sol/work/git/move-090523/language/move-stdlib/sources/unit_test.move"

!llvm.dbg.cu = !{!0}

!0 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !1, producer: "move-mv-llvm-compiler", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, sysroot: "/")
!1 = !DIFile(filename: "unit_test.move", directory: "/home/sol/work/git/move-090523/language/move-stdlib/sources")

Since guessing the order and params to call the 'LLVM*' externs is all try and error process this still has some dbg!. This will be removed.

This is a bad merge. Closing it and opening instead #384.


docs: Fix link in 3.0 upgrade docs.

Noticed by neiljp (Neil Pilgrim<EMAIL_ADDRESS>

Hmm, I'm puzzled this wasn't caught by our link-checking tooling.  @drrosa FYI.


manual datacenter docker document

hi experts,
i'm wondering if any one provide me "manual document" to use docker image in datacenter as main machine.
i need to know some issues and for each one i should do googling for , spare long time and .... .
for example:

how can many users ssh to it?
how can share host machine path in docker image?
how to set doker container NIC get ip from dhcp?
how to run some web app like: jupyter,zeppeline,rstudio-server,.. ?
how to go back to exited image ?
and so many issues like these , that every one faced them in real work.

thanks in advanced.
Docker version 1.10.3, build 19b5791/1.10.3

docs.docker.com
In the future, please post questions to forums.docker.com.
Thanks.

many thanks,
i did know that, sorry


Add ext-dom to requirements

The use of DomDocument requires ext-dom.

Included in seblucas/cops#522 and release 1.3.4 at https://github.com/mikespub-org/seblucas-cops


Create the FAQs Page

@Maheshwari-Love I can also work on this issue

@Maheshwari-Love I can also work on this issue

Make sure to add output video of 20-30 sec ...

@unknown91tech Any update ?

yes working on it

@Maheshwari-Love @gupta-ritik Here is a video of the faq page that I have added
https://github.com/user-attachments/assets/585e413e-0c1c-4c29-a2e6-cbafd2ef5aa7
Can you review it and tell me if there are any changes that  are to be many or else I can create a pr

@unknown91tech made it creative little bit

@gupta-ritik @Maheshwari-Love Can you review this
https://github.com/user-attachments/assets/a6f6c97c-b766-479e-a829-8548905459af


About watermarks of physical memory allocation

In current verison of codes(0.1.1), I noticed that both the can_allocate() method and can_swap_in() method of the BlockSpaceManager class deal with watermarks while can_append_slot() doesn't. It seems that they should have the same mechanism on GPU memory management.

@LinPoly Thanks for the question! This is not a bug. The watermark is to prevent frequent preemptions (i.e., swapping or recomputation) which can be caused by accepting too many new requests in the batch. For the existing requests in the batch, we want them to use every slot in the KV cache.


Spillling for branch instructions with constrained register classes

There seems to be a problems with branch instructions that take register operands from a constrained register class. The problem is the global values live across the branch into the destination EBB. These values can't be temporarily moved because the destination EBB expects them in their global registers.
Normally, the spiller will make sure that there are enough free registers for the branch instruction's own operands, but it can't guarantee that there are registers free in a constrained register class.
An example is an Intel brnz.b1 instruction whose controlling b1 operand is constrained to the ABCD register class. We can't currently guarantee the live-ins for the destination EBB are not taking up the whole ABCD register class.

I don't think this is still relevant for the new backend framework.


Boolean property says "activated" but the checkbox isn't

Godot 3.0 alpha1 official
Windows 10 64 bits, language french
The checkbox here isn't ticked, but the label says "activated" in french. Checking or unchecking doesn't change the label.

In English, it says "On" regardless of its checking state.
Weblate

Needs to be fixed here: https://github.com/godotengine/godot/blob/25678b1/editor/property_editor.cpp#L3144

Never thought of this as a bug, just interpreted that "On" is only the case if the box is ticked. Changing labels always confuse me because if it says "Off", but the box in unticked, I never know if it means that it is actually off or it'll turn off when I tick the box. I've seen different behaviors in other software.

Hm, that's a good point. I'm not sure which logic is the best for such a checkbox.

@vnen now that you say this... I realize the "On" everywhere in Godot 2.1.3 never bothered me, but for some reason it did when the editor started showing it in my mother tongue...

TBH I'm more comfortable with previous behavior where label never changed. (that's why I put weblate link there because I think it's more of a translation bug)
Feel free to revert. :)

(that's why I put weblate link there because I think it's more of a translation bug)

Well if we agree that the previous behaviour was correct, then the translation was correct too. "Activé" means "activated", it's an ok translation for "On".

Maybe if we make "On" or "Activé" text a bit darker when property is false, it might be less confusing to user?

I've reverted the PR since we apparently misunderstood the feature.

Maybe if we make "On" or "Activé" text a bit darker when property is false, it might be less confusing to user?

That could work yeah.


Test templates by comparing output with existing formatters

I'm frequently pointing people to this library as a means to customize JSON output, with CompactJsonFormatter, RenderedCompactJsonFormatter, or JsonFormatter as the starting point.
This PR adds a test that attempts to replicate these formats byte-for-byte, so that we can identify gaps and inconsistencies.
Along the way:

Added @i and @r properties that mirror the CLEF built-ins with those names
Added UtcDateTime(d), Now(), ToString(x, f) (fixes #18)
Fixed wildcard comprehensions with unary conditions - IsDefined(@p[?]) now works as expected (any property is defined :-))
Spotted some instances of #19 and added comments
Re-targeted tests to net5.0
Bumped version to 1.1

🤔 PR isn't triggering CI; could be because I inadvertently PR'd from the repo itself? Going to live dangerously and see if I can get a build out of dev :-)


Deployed this zk-tree-vote project on testnet but encountered error

Hello, thanks for your earlier reply to the issue I raised.
The project worked perfectly on my local computer as expected.
Then, I decided to move it to testnet.
The voter validation aspect worked perfectly, but when to vote, it shows an error: "exceed maximum block range: 5000". I did some search, and I discover the error is due to "event" that is needed to be retrieved for computation. What can be done.
I think this code portion is the issue, there should be a way to mitigate.
export async function calculateMerkleRootAndPathFromEvents(mimc: any, address: any, provider: any, levels: number, element: any) {     const abi = [         "event Commit(bytes32 indexed commitment,uint32 leafIndex,uint256 timestamp)"     ];     const contract = new Contract(address, abi, provider)     const events = await contract.queryFilter(contract.filters.Commit())     let commitments = []     for (let event of events) {         commitments.push(BigNumber.from(event.args.commitment))     }     return calculateMerkleRootAndPath(mimc, levels, commitments, element) }

Can you send me the full stack trace? Which method throws this error?

I noticed the error when I click on "send to blockchain" on the Vote Page. After some Seconds, the console view on browser shows the error, nothing happens on the page itself. My metamask extension on browser is triggers the error.
Is it possible to abandon event and just use the commitment and nullifer logic alone to process whatever. Seem event is big overhead and causes huge gas fees. Just thinking aloud.
Note: I used bsc testnet, it may not be issue with ETH testnet or mainnet, but it is a issue.

I think, it is a restriction of the provider. Check this answer on STO: https://ethereum.stackexchange.com/questions/107590/contract-queryfilterfilter-giving-me-errors-in-ethers-js

Alright. Thanks. Appreciate.
On Fri, Apr 21, 2023, 8:43 PM Laszlo Fazekas @.***>
wrote:

I think, it is a restriction of the provider. Check this answer on STO:
https://ethereum.stackexchange.com/questions/107590/contract-queryfilterfilter-giving-me-errors-in-ethers-js
—
Reply to this email directly, view it on GitHub
https://github.com/TheBojda/zk-merkle-tree/issues/4#issuecomment-1518263050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2UACOH4VS5NC5T4IWWH2LXCLPOLANCNFSM6AAAAAAXG3U7AY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello, see what I was thinking.
I will Start another code, where what event is needed for will be stored on the contract. Then offchain, I can get this data, compute what is needed, then complete onchain. This way, I will bypass event and some of it's limitations.
As it is, it seem to me, for each vote transaction, it gathers all the events from block 0 to latest block. That is a very big data. I may be wrong though. Educate me.
How can I use your present code, to do the above stated, because it seem your code depends solely on event. Even when I comment out the section, it still showed the event error.
We can talk via telegram for easy communication.
https://t.me/Defi_Solutions

Hi!
The events are used to build the Merkle tree locally to calculate the Merkle proof. The code is in the calculateMerkleRootAndPathFromEvents method. It queries only the Commit events, and I think providers like Infura index these events, so I don't think that in this case, the provider reads all of the events from block 0. Btw, TC does the same thing with Deposit events (https://github.com/tornadocash/tornado-core/blob/master/src/cli.js). So, I think it should work in a production environment (by using Infura or other providers).

If I use infura for example, does it mean I will have to pay for the service if the free tier for example finishes. I have been doing blockchain apps without necessarily using custom providers.
Also noticed, it is slow to pop the metamask app because of heavy computation.
I changed to polygon test on metamask using alchemy api free tier, and it worked.
But it delays before pop up, I think due to heavy computation.

Yep, building the tree and calculating the zkproof can be CPU intensive.

I agree with you 100%.
Can you think of a cheaper solution? I have fully understood the project, but the second part of securely validating and completing the interaction is the issue for me. I am thinking of a cheaper, cooler solution. Cos this is damn complex but it works though.

Haha.


Auto Dependency Updates ...

Hey,  thank you for the update. Unfortunately upgrading async breaks the license generator. Bcc can you revert out to 0.x and the build should go green, thanks!

Awesome, thanks!
I know this isn't a code commit, but we have a policy for our CLA to be signed before we can merge anything into deepstream.io
Would you be okay with signing?

Signed!!!
Is that enought?
Bye

Perfect, thanks you


Change systemd KillMode to "mixed"

Based on #657
Paired with @alexispeter
Possible values are:

control-group: all remaining processes in the control group of this unit will be killed on unit stop
process: only the main process itself is killed
mixed: the SIGTERM signal is sent to the main process while the subsequent SIGKILL signal is sent to all remaining processes of the unit's control group

See https://www.freedesktop.org/software/systemd/man/systemd.kill.html#KillMode=
The current value of "process" will overlook any remaining forked/daemonized processes. When stopping or restarting such a process, child processes can become zombies.
When instead using "mixed" systemd will send a SIGKILL signal to all remaining processes of the same control group, and thus prevent zombies.
We should always try to prevent zombies.

@ddollar wdyt?

Thanks!
Would you be up for creating a new release with this change? :>

Would you be up to release the next version version 0.83?
Changes: https://github.com/ddollar/foreman/compare/v0.82.0...master

Pretty please?

Happy New Year! 🎆
How about an early January release?

@ddollar do you plan to still release new versions of foreman?

Just released 0.83.0, sorry for the delay!

Thanks a lot!


FIXES: #73

BUGFIX:

This will oscillate control state cool vs roast instead of heat_setting 0.  It appears that some roasters don't accept heat setting of 0, but I found that I can effectively mimic it by putting the roaster into cooling state.. which effectively is the same thing.

Only caveat is that this will cause the roaster to cycle displaying the C on the display on and off.

Note, this is actually for issue #73 on the OpenRoast repository.

Closed, realized I have a few more states to juggle.


How prediction confidence score is calculated?

Hi!
How is the prediction confidence score calculated?
Can you pls point this part in your code, my coding experience is not enough to go through all the code myself and find((

Sure @maksimovkonstantin no problem.
So in the "vanilla" unet version we simply weigh object predictions by area which is done here:
https://github.com/neptune-ml/open-solution-mapping-challenge/blob/master/src/postprocessing.py#L228-L236
That gets you to around 0.927 ish .
However, if you want to use second level model and get to that 0.943 you need to train your second level model. Basically what it does is it predicts iou per building and use those predictions as scores.
First features are extracted with this:
https://github.com/neptune-ml/open-solution-mapping-challenge/blob/master/src/postprocessing.py#L18-L25
then model is trained with this:
https://github.com/neptune-ml/open-solution-mapping-challenge/blob/master/src/models.py#L212-L249

@jakubczakon thanks a lot!


Support android tv

Hello,
I tried to launch the TWA on android TV, and I got this error :
I/OpenGLRenderer: Davey! duration=1588ms; Flags=0, IntendedVsync=85294375864, Vsync=85294375864, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=85300204600, AnimationStart=85300236800, PerformTraversalsStart=85300260700, DrawStart=85300629400, SyncQueued=85300648400, SyncStart=85300758100, IssueDrawCommandsStart=85300807700, SwapBuffers=85301335900, FrameCompleted=86882937700, DequeueBufferDuration=208000, QueueBufferDuration=409000,
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5470549
D/TWALauncherActivity: Using URL from Intent (https://xx/).
D/TWAProviderPicker: Found no TWA providers, using first browser: null
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2076314
D/EGL_emulation: eglMakeCurrent: 0xea644960: ver 2 0 (tinfo 0xea6c1550)
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@d15ce5f
D/TWALauncherActivity: Using URL from Intent (https://xx/).
D/TWAProviderPicker: Found no TWA providers, using first browser: null
D/EGL_emulation: eglMakeCurrent: 0xea644960: ver 2 0 (tinfo 0xea6c1550)
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@2adfb62
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5de11e5
D/TWALauncherActivity: Using URL from Intent (https://xx/).
D/TWAProviderPicker: Found no TWA providers, using first browser: null
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@1b55ae0
D/EGL_emulation: eglMakeCurrent: 0xea644960: ver 2 0 (tinfo 0xea6c1550)
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@40ec95b

then the application crash.
any idea how I could make it work ? I saw that google is pushing youtube and other in PWA to android TV.
Best regards.

Trusted Web Activity are not supported on Android TV.  I have created this issue to track this as a feature request on bugs.chromium.org. Closing the issue here in favour of that.


Create playback-issue.md (#1162)

Adding a template to facilitate troubleshooting HLS/DASH/Console playback failures.
Merging in develop branch's https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/pull/1162
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@niyatim23 This was already merged into develop, merging the cherry picked commit into master now so we can already have this option for new issues being made


Balancing: Item Nerfing

Nerfing list:

Legendary swords: Mugejin/Shin-Ushi
WS whole set
Emerald/Crimson Sword
Steel Warrior gem (duration nerf)

Note: The modification of the description for each item should also be made.

The following items were nerfed to better balance the game:
SPELLS:

Steel Warrior (Spell)

Duration: 12hs -> 3hs

WEAPONS:

Crimson Thunder (War Hammer)

Call Lightning: 5 times per day -> 3 times per day
Electrical damage: +2d6 -> +1d6

Mugenjin (Legendary Sword - Evil Path)

Sell price: $71000 -> $1000
Charisma Modifier: +3 -> +2
Wisdom and Intelligence Modifier: +2 -> +1
HP Modifier: +%15 -> +%10
Fire Damage: +3d6 -> +2d4
Vorpal Strike Chance: %25 -> %15

EVIL Dusk's iconic weapon

Crimson Sword (Bastard Sword):

Regeneration: 3 HP every 3 sec -> 1 HP every 6 sec
Fire resistance: 10% -> +5%
Drain: 3 HP per strike -> 1 HP per strike
Base Damage: 3D6 -> 2D5

Enhanced Crimson Sword (Bastard Sword):

Regeneration: 3 HP every 3 sec -> 1 HP every 6 sec
Fire Resistance: +15% -> +10%
Drain: 3 HP per strike -> 1 HP per strike
Base Damage: 3D6 -> 2D5

Ira (Bastard Sword):

Regeneration: 3 HP every 3 sec -> 1 HP every 6 sec
Fire Resistance: +25% -> +15%
Drain: 5 HP per strike -> 3 HP per strike
Base Damage: 3D6 -> 2D5
Fire Damage: 1D6 -> 1D4
Magical Damage: 2 -> 1D2

Ira Tenax (Bastard Sword):

Regeneration: 3 HP every 3 sec -> 1 HP every 3 sec
Fire Resistance: +30% -> +25%
Base Damage: 3D6 -> 2D5
Fire Damage: 3D6 -> 1D8
Magical Damage: 3 -> 1D3

GOOD Dusk's iconic weapon

Lux Triumphans (Bastard Sword):

AC: +3 -> +2
True Sight: 3 times per day -> 1 time per day
Magical Damage: 2d7 -> 2d4

WIZARD SLAYER SET:

Benork's Hope (Amulet)

MR: +%10 -> +%5

Aznagarb's Defense (Bracers)

Stone Skin: 3 times per day -> 1 time per day
Cure Critical Wounds: 5 times per day -> 2 times per day

Path of the Ancestors (Boots)

Cold Resistance: +%25 -> +%15
Electricity Resistance: +%25 -> +%15

Protection of Aznagarb (Mantle)

Charisma Modifier: +2 -> +1
Electrical Immunity: Removed

Benork's Fortitude (Sash)

Constitution Modifier: +3 -> +1
Dexterity Modifier: +3 -> +1
MR: +%15 -> +%5
Missile Damage Resistance: +%50 -> +%25

Iris of Tempus (Helmet)

Hit Points: +%10 -> +%5
Acid Resistance: +%25 -> +%15
Detect Invisibility: 3 times per day -> 1 time per day
True Seeing: 3 times per day -> 1 time per day

Breath of Lineage (Ring)

Fire Resistance: +%10 -> +%5

Calia's Heartbeat (Ring)

Fire Resistance: +%10 -> +%5

Royal Avenger (Quarterstaff)

Posion damage: +2d5 -> +1d4
Strength: Set at 25 -> Modifier: +2

NOTE: All WS items price sell were diminished.

Fixed in branch 25-complete-english-translation-for-amtgen01tra


Update eventing nightly (#3212)

bumping knative.dev/eventing ed05a35...de75496:

de75496 Function CopySecretWithName for creating secrets with specific name (# 7002)
6833ee6 Convert tls secret names to constants (# 7086)
90721ab [main] Update community files (# 7088)
4541f4f [main] Update community files (# 7087)

Signed-off-by: Knative Automation<EMAIL_ADDRESS>

/retest

OCF Webhook is merging this PR


Bottom corners of line text inputs don't follow "Corner Radius" editor theme setting

Godot version
4.1.1.stable.official
System information
Windows 10.0.22631 - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics - AMD Ryzen 5 5500U
Issue description
If interface/theme/corner_radius under Editor Settings is set to a value larger than 0, the majority of the rectangular controls in the editor should have their 4 corners rounded off rather than sharp.
The bottom left and bottom right corners of single line text input boxes do not follow this setting, only the top corners do. This behaviour is visible in their disabled and normal states, but not in the outline hint that appears over them when focused.

Steps to reproduce

Set "Corner Radius" to a value other than 0 under Editor Settings > Theme.
The phenomenon described above is seen.

Minimal reproduction project
N/A

See also #75823. Seems on purpose for the LineEdit. So maybe it's the focus box that needs adjustment.

See https://github.com/godotengine/godot/pull/48566.
This was added on purpose to prevent the LineEdit underline from having strange-looking tapers on its edges due to the rounded corners.

That PR is 2 years old. Would it be possible that something has changed and the "strange-looking tapers on its edges" may not even be an issue anymore? Something about clipping them?
Otherwise, yeah. I suppose the bottom of the focus box needs to be flat.

I just fixed this and everything seems to look fine...

But there's a catch: it doesn't look very good with any Tree you can rename an item on.


improve testing for advent downloader

Codecov Report
Attention: 109 lines in your changes are missing coverage. Please review.

Comparison is base (dfe564c) 27.51% compared to head (57a2b9f) 29.90%.

Files
Patch %
Lines

pkg/advent/solver.go
0.00%
32 Missing :warning:

pkg/runners/golangRunner.go
18.91%
30 Missing :warning:

pkg/advent/tester.go
0.00%
23 Missing :warning:

pkg/advent/exercise.go
0.00%
8 Missing :warning:

pkg/runners/pythonRunner.go
42.85%
8 Missing :warning:

pkg/advent/downloader.go
60.00%
2 Missing :warning:

pkg/euler/solver.go
0.00%
2 Missing :warning:

pkg/euler/tester.go
0.00%
2 Missing :warning:

pkg/runners/comm.go
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   27.51%   29.90%   +2.39%
==========================================
  Files          14       19       +5
  Lines        1025     1030       +5
==========================================
+ Hits          282      308      +26
+ Misses        739      718      -21
  Partials        4        4

Flag
Coverage Δ

Linux
29.90% <24.30%> (+2.39%)
:arrow_up:

Windows
?

macOS
29.90% <24.30%> (+2.39%)
:arrow_up:

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

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


[pytram] release 0.3.0

Failing: https://travis-ci.org/omnia-md/conda-recipes/jobs/132805080#L1416-L1519


Need to add more details on wait action in BBE

Description:
$subject
Affected Versions:
0.990.1-SNAPSHOT

Closing this since it has been fixed with https://github.com/ballerina-platform/ballerina-lang/pull/12796


Does brod support producing w/o specifying a partition?

Does brod support producing w/o specifying a partition?  It looks brod:produce/5 requires a partition, and I'm not seeing an alternative approach.

-spec produce(client(), topic(), partition() | partitioner(),
              key(), value()) -> {ok, call_ref()} | {error, any()}.

please have a look at the partitioner() spec.

Hi,
The partioner spec is the following:
-type partitioner() :: partition_fun() | random | hash.

It seems like a fun must return a partition (integer), and that random and hash will also return an integer. Is it possible to let Kafka pick the partition, based on the key ?
Thank you.

seems to be one here https://github.com/silviucpp/erl_hash/blob/1c6357eedfe999a3fdcb6e47406d5d18a8cd5853/src/erl_hash.erl#L11

Yep! I found that one too. Thank you.


unable to use the plugin with plsam/phar

Describe the bug
The plugin is not installable when using psalm/phar instead of vimeo/psalm
To Reproduce
Code to reproduce the behaviour: https://github.com/neutomic/neu
Expected behaviour
The plugin should be installable with the phar distribution of psalm.
Additional context
neu uses psalm/phar instead of vimeo/psalm because there's a dependency conflict with vimeo/psalm.
psalm relies on amphp/amp v2, while neu requires amphp/amp v3, the solution is to use psalm/phar, which prefixes all the dependencies, allowing neu to use amphp/amp v3, while psalm uses v2, however, php-standard-library/psalm-plugin requires vimeo/psalm as a dependency, one solution could be to move psalm to dev-dependencies instead, the down side of doing this is that people would be able to install the plugin with psalm v4, but this in my opinion is not an issue we should worry about.

@veewee wdyt?

Shouldn't the psalm phar 'replace' vimeo/psalm?
It doesn't seem to be doing this:
https://github.com/psalm/phar/blob/master/composer.json
This is how we do things in grumphp-shim:
https://github.com/phpro/grumphp-shim/blob/master/composer.json#L29
It should allow to require vimeo/psalm in here and still use psalm/phar downstream

no, it seems psalm phar conflicts with the package :/ https://github.com/psalm/phar/blob/master/composer.json#L9


Flutter release candidate branch postsubmit tasks not updating in dashboard

Type of Request
bug
Infrastructure Environment
Cocoon scheduler, Firestore/Datastore
What is happening?
Tasks for the commit '40f3a79429d8e48c67b7e209b0705956d2380404' are not being updated in the dashboard. It appears that the commit and the tasks were not saved correctly in the datastore and cocoon is unable to update them.
Here is one example:

Steps to reproduce
NA
Expected results
I expect to see the tasks updated successfully in the dashboard.

A new cocoon version was pushed. It caused errors when writing data to Firestore.
https://github.com/flutter/cocoon/pull/3635/files#diff-bb6959c7655c2a5b97a3f09154743dd42d0c9167cb7643bbe51fbeffca9a96e6R268 is the culprit.
Traffics have been switched to an earlier version, and hanging tasks have been reovered.


Add testcase for sender profile

Add testcase for sender profile creation

Test case to check valid attributes for the sender profile (kriti.gupta, nupur.mishra )
Test case to check invalid attributes for the sender profile (kriti.gupta, nupur.mishra )

Update testcase for sender profile info

Test case to check valid attributes for the sender profile (anushree.ranjeet, aaradhya.yadav, manisha.joshi)
Test case to check invalid attributes for the sender profile (anushree.ranjeet, aaradhya.yadav, manisha.joshi)

kriti.gupta, nupur.mishra working on Add testcase for sender profile creation
anushree.ranjeet, aaradhya.yadav and  manisha.joshi,  working Update testcase for the sender profile info

Added testcase for sender profile and has been merged.


Document improvements

Thanks for providing great open source resource.

Added inline code highlights
Removed period in summary, since they are not complete sentences
Fixed typo and changed wording in introduction

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Remove frame buffer manager

First of the changes falling out of the various conversations surrounding the Context. This change removes the FrameBufferManager and decentralizes FrameBuffer ownership/lifecycle, reducing the amount of shared state in the Graphics component.

I've tested this branch on Android with AR mode on. I only get a black display with this repeating error in the logcat:
2021-06-30 14:30:31.630 948-17516/? E/awb_mgr: sensorid = 1,handle_result gain r=859,g=512,b=1023 (handleCipAWB){#1533:vendor/mediatek/proprietary/hardware/mtkcam/aaa/source/isp_60/awb_mgr/awb_mgr.cpp}
2021-06-30 14:30:31.633 948-13145/? E/mtkcam-FeatureSettingPolicy: [evaluateRequest] updateMultiCamMetadataToApp failed! (evaluateRequest){#5031:vendor/mediatek/proprietary/hardware/mtkcam3/pipeline/policy/FeatureSettingPolicy.cpp}
2021-06-30 14:30:31.662 948-17547/? E/OcamMeta: [fill3AParamToAPS] Not MTK_STEREO_SYNC2A_MASTER_SLAVE tag

It doesn't make much sense so I've been testing master branch and everything is fine.

Related to #790


Connect: “Copy to clipboard” action is considered optional

Some users seem to believe they are done after storing their Secret Key. It reasons them to close the window, so their username is never set.

I'm closing this out since we're redesigning the entire authentication flow to omit Secret Key persistence entirely by default.


Align title in toc to title in article

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/8050

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@HowlinWolf-92 PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Remove generated/ files

This should be a pure source code repository.
The generated files make it difficult for reviewers. Plus they can fall out of sync.
Generated files should only exist when the project is built. They should be Git ignored.

This should be a pure source code repository.

Google developers working on a flutter plugin package (video_player) have committed generated files to their repository.
flutter run does not seem to support running codegen on compilation / build.
Flutter is different to Android / Gradle, and we should not try to make things consistent (standardise) at the cost of getting the lowest common denominator output. Flutter does not have a flutter sync command that is automatically run by the IDE when it launches.
Would a developer who clones this repo to start on the project need to manually run code generation then? In that case, we are adding overhead to the developer who works on this project.

@QuintinWillison, it would be great if you can justify your reasoning further, as the generated files in video player (and Ably Flutter) do not make it difficult for me, they actually inform me as to what the implementation is like and what is changing, based on configuration that is run.


better backtraces

Also the main problem is that I haven't figured out how to reliably pipe stderr to a place i can feed to Slack.

This just prints out a string?


⚠ Bofrost.es has degraded performance

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

HTTP code: 200
Response time: 1608 ms

Resolved: Bofrost.es performance has improved in 367accd after 13 minutes.


Error on addons grid styles, looks too close to each other

Has this issue been fixed? @LeoCaprile

I think It has been fixed


feat: add 1.4.1 contracts for Morph Holesky

relevant issue: https://github.com/safe-global/safe-deployments/issues/568

Could you please solve the conflicts?


Proposal for install page to include all supported languages

The current installation page only explains installation for Java Maven dependencies. This PR provides proposal including installation steps for all supported languages (java, python, c#, ruby, javascript).
The installation description of Selenium Grid is kept unchanged (although better description for it would be valuable).
Contributor Licence Agreement has been signed.

Python for pip looks fine, but we may also want to include instructions for using setup.py

Added alternative Python installation using setup.py.

Thanks for reviewing @hazmeister!

Thanks for your contribution @juperala!


removes unused arrangement code

@hafen not sure your thoughts on this since we are transitioning to the new UI, not sure if we need this anymore?

@hafen not sure your thoughts on this since we are transitioning to the new UI, not sure if we need this anymore?

In the new UI it will still be number of columns (will just move to the subheader), so we still want to not have the remnant number of rows code.


Include @ username tags on responses in channels

If two different users send @bot messages in the same channel the replies will sometimes come in immediately following one another and it's not clear which is which.
AC:

Each reply should include the @username for the Discord user that is being replied to.

NOTE: This will be problematic if the user asks the bot to tell someone else something... so there will need to be some form of check otherwise the response won't read properly.


yet another getting started guide

I'd like to contribute yet another hand-holding guide. I found your guide excellent but struggled because I haven't used sub modules before and needed to break it down a bit more. Once I got it working, I thought I could share what I did exactly. This is what I'd like to contribute:
Step by Step Guide with Nova & the Playdate SDK
The goal is to create your own comic using the template repo and experience it running in the Playdate Simulator via the Playdate SDK. The main repo is used as submodule within your template project.

Open a terminal and clone the template repo - click Use this template and then Create a new repository under your GitHub profile
cd into this new repo panels > source > libraries - go ahead and delete the existing panels folder
Clone the main repo into this libraries folder so that you have a new panels folder and can use it as submodule
from within this libraries directory: git submodule init which will initialize the panels folder

At this point, the template project is ready to be built with Nova using the Playdate extension task.
Within Nova, open your panels template project. Add the Playdate Simulator as new task and configure it.

Then click the hammer to build the project and it should build successfully.

Finally, click the Play button to see it in the Playdate simulator.

Thanks for this.
I'm trying to leave out directions for any specific tool, especially platform-specific ones like Nova. I don't want to mislead people into thinking Panels requires specific tooling (and I also don't want to have to try to field tool-related support questions).
Adding clearer instructions to the submodules portion is a good idea (though that can vary depending on git client vs cli, etc). I think if you're using the terminal and modern git the simplest method would be
git clone --recurse-submodules https://github.com/cadin/panels-project-template.git
(Sub in your repo if you copied the template).
I think it might make sense to create a separate page under Get Started that details in clearer language how to deal with the submodules bit. Then link to that from the submodules step on the main getting started page. What do you think about that?
If you're interesting in writing up a detailed guide to working with Panels in Nova on your devblog or elsewhere, I'd be happy to link to that from the main docs.

this makes a lot of sense - I'm going to close this and simply link to the closed issue via a larger Dev.to blog post about what I'm learning as a Lua n00b. Once published it could be the first of a potential new Community links section of your readme or wiki.
Currently, I'm finding the tooling challenging for VS Code and noticed you also a published a template to the help with that. With Nova, I was up and running within 10 mins but have now spent about an hour failing to do the same with my preferred editor VS Code so it feels like there is need of more documentation on that front.

That sounds great. Let me know when your post is done so I can link it.
Nova is definitely a smoother experience (of course). It took me a while to figure out how to get VS Code set up. I think there is a Playdate extension now that makes things easier(?). At the time I was starting the only extension I could find didn't seem to work.
But yeah, all of that is more "Playdate development" than "Panels development". Maybe it's dumb to try to separate the two, but my hope is that there are enough Playdate dev resources out there to help folks with that bit.


Openseadragon 2.1.0

It's probably time to release a new version! We still have a few items on the 2.1.0 milestone that would be nice to get taken care of; some are already in progress. Anyway, coming down the home stretch.

Don't forget to merge this in after the release: https://github.com/openseadragon/site-build/pull/87

Ok, we've finished all the tickets I had tagged with 2.1.0...unless anyone has any objections, we can publish the new version next week sometime.

:+1:

Done! https://github.com/openseadragon/openseadragon/releases/tag/v2.1.0


[v1.2][ISSUE-306]Add Sentence split & NER Redact interface

What changes were proposed in this pull request?

Sentence split & NER detect& redeact
Why are the changes needed?

Easy data integration
How was this patch tested?

UT

@chaojun-zhang , please split this PR to

one for sentence split
one for NER
one for pipeline (we need to discuss more on that)
=> I think current operator.py is too ray-ish, we want to provide super_class, it should be covering all base function and conversions.

@chaojun-zhang , please split this PR to

one for sentence split
one for NER
one for pipeline (we need to discuss more on that) => so let's put it as a seperate PR for more discussion
=> I think current operator.py is too ray-ish, we want to provide super_class, it should be covering all base function and conversions.

And after reviewing the pipeline folder, I think actually current existing RecDP pipeline in Cores are covering similar works. I'll work on a refactor PR for this part


Added srid keyword to wkb.dumps. Closes #592.

Added the srid keyword argument to wkb.dumps to include an SRID in WKB data, as suggested in #592.
I've added some tests for WKB in test_wkb.py (to match test_wkt.py). There are already some in test_persist.py which I've left alone. Perhaps this could be expanded in the future, but it's not essential.
An observation is that pickle uses wkb.dumps to store data. This defaults to not exporting the SRID (even if one is present in the geometry after loading with loads. This means that the round-trip for a geometry with an SRID isn't perfect. However I think this is acceptable as generally we're ignoring the SRID in Shapely.

Coverage increased (+1.9%) to 80.384% when pulling 89bd0780b9c79c2a1a1a38814287482ad1fc7ef7 on snorfalorpagus:wkb_srid into ad53583ee26e05f53ccd7db35c16cc0e8466ce5c on Toblerity:master.


[Bug]: The Sub Menu options are transparent when disabled in the table widget

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
It is observed that in the Menu button column type when the sub menu's are disabled the disabled sub menu are transparent

Steps To Reproduce
1.Launch Appmsith app in the release/Prod Environment
2.Drag and drop table widget
3.Change any of the column type to Menu button
4.Add sub menus to the menu button column
5.Choose colours to the Sub Menus
6.Disable any of the sub menu
7.Click on the Menu column button and observe

Environment
Release
Version
Cloud

Seems this is an expected behaviour and closing this


GlobalTrackableDAO - Advantages over interface?

Code Location:
https://github.com/CivMC/CivModCore/blob/00243ad09361361b46e808e3379eb739251a4365/paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/global/GlobalTrackableDAO.java#L9

Issue:
Class is abstract but may not offer anything that is worth inheriting instead of simply implementing.

Solution:
Eliminate class.

I'm closing this out as something that we won't fix. It could be revisited in the future, but it's not within our capacity to work on right now.


Can't reset pickle / cookie file

Describe the bug
Apologies, this might not be an Alexa_media_player bug, but a hassio one.
I'm trying to force the reset of the cookie, by deleting the pickle file (as advised in the FAQ), as authentication is failing.
I've tried deleting it using FTP and the configurator, also tried deleting the entire folder and re-uploading it, but I can't refresh the cookie file. It keeps getting replaced by a pickle file with the contents :"'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte"
Could anyone advise how to force the captcha process again?

I am also receiving this after upgrading to v2.0
deleted it and rebooted.... keeps going through loop trying to authenticate (never prompts) and then captcha.


Voter tournout lowering

Can we add something about the voter tournout?
https://www.idea.int/data-tools/data/voter-turnout

See also https://en.m.wikipedia.org/wiki/Voter_turnout#Trends_of_decreasing_turnout_since_the_1980s

http://www.politicalsciencenow.com/does-democratic-consolidation-lead-to-a-decline-in-voter-turnout-global-evidence-since-1939/


Optimize join ordering in query execution

[First Post, submitting as a SQL user, not a developer]
tl;dr feature request: optimize table ordering before executing joins
As an analyst, we often need to remember optimization tricks to get queries to run faster. One specific optimization is the ordering of tables in a Join. We find that with Presto SQL, it is important to always put the "large table on the left" (e.g. first in code order) to improve performance.
Feature request: could we solve for the optimal table ordering in the query execution process? e.g. optimize ordering by table size?

This functionality already exists. It requires enable stats collection in Hive, which the Presto CBO cost based optimized can then leverage.
https://www.starburstdata.com/technical-blog/introduction-to-presto-cost-based-optimizer/

@isanuk, as @billonahill explained join reordering functionality exists and is part of Cost-Based Optimizer in Presto.
This is a functionality we (the Starburst team, previously Teradata) developed back in 2017 and improved in 2018.
We've finally merged all the pieces into master, including documentation just recently (https://github.com/prestosql/presto/pull/127).
Last but not least, this functionality is not enabled by default yet.
See https://docs.starburstdata.com/latest/optimizer/cost_based_optimizations.html for docs & how to enable it.
(Docs will be published @ https://prestosql.io/docs/current/ with the next release).
@kbajda @martint, we enable CBO by default in Starburst Presto.
(@isanuk let me close the issue, you can still comment here if you have any feedback or questions)


Regexp tokens are out of order (this shows the error not the fix)

This is not present in upstream esprima (looks like this was forked from the harmony branch which has some ... uh issues).
Digging through some code I suspect this is the fix: https://github.com/ariya/esprima/commit/32ba2a27e65e8e7b6dd50cb843206ff00693c222
As it stands if your relying on the token ordering your going to have a bad time with regexp inside of an object (maybe other things as well)

This is correct now.


Fixed PySide workaround

What does this PR do?
A fix for a PySide2/6 workaround for Qt signal connect function.
And I've changed the function name for clarity.
Why was it initiated? Any relevant Issues?
A signal connect() in PySide/Qt actually has one more argument that wasn't covered, although used only occasionally.
Without it, it's possible to encounter exception like this:
Traceback (most recent call last):
  File "...", line 33, in <module>
  File "...", line 24, in start_app
  File "...", line 135, in __enter__
  File ".../qtinter/_contexts.py", line 36, in using_asyncio_from_qt
  File ".../qtinter/_base_events.py", line 250, in start
  File ".../qtinter/_base_events.py", line 268, in _qi_loop_startup
  File ".../qtinter/_base_events.py", line 75, in _create_notifier
  File ".../qtinter/_base_events.py", line 31, in __init__
  File ".../qtinter/bindings.py", line 66, in add_callback
TypeError: myconnect() takes 2 positional arguments but 3 were given

Relevant: #2162
PR Checklist

[x] Correct base branch selected? Should be develop branch.
[x] Enabled commit hook or executed ./bin/autoformat-nuitka-source.
[x] All tests still pass. Check the Developer Manual about Running the Tests.
There are GitHub Actions tests that cover the most important
things however, and you are welcome to rely on those, but they might not
cover enough.
[ ] Ideally new features or fixed regressions ought to be covered via new tests.
[ ] Ideally new or changed features have documentation updates.

I've run only basic, program and syntax tests for my concrete python 3.10.12.

Actually, let me rename arguments to canonical signature: connect(receiver[, type=Qt.AutoConnection]).
Because who knows, someone might pass them as kwargs.

Very impressive, going to merge that glady.

Alright, changed argument names to reflect the original signature.
And hunted some typos, sorry about them. Strange that it seemed to work with those typos (especially import PySide2 in code for PySide6), I did try to compile and run my PySide6 project before opening a PR... :confused:


Macro knobs issue

Looks like the APCkey 25 Script is having issues since BWS 2.4
This log is triggered by simply touching the macro knobs
"This can only be called during driver initialization
BJX: This can only be called during driver initialization
at rFU.hsu(SourceFile:332)
at com.bitwig.flt.control_surface.proxy.ControlSurfaceObject.checkIsInitializingDriver(SourceFile:256)
at com.bitwig.flt.control_surface.proxy.TrackProxy.getPrimaryDevice(SourceFile:872)
at jdk.nashorn.internal.scripts.Script$Recompilation$74$23132AAA$APCKey25_control.onMidi(APCKey25.control.js:949)
at com.bitwig.extension.callback.ShortMidiDataReceivedCallback$$NashornJavaAdapter.midiReceived(Unknown Source)
at TnR.z1N(SourceFile:199)
at rFU.z1N(SourceFile:796)
at rFU.z1N(SourceFile:59)
at lZ1.z1N(SourceFile:689)
at Cro.z1N(SourceFile:97)
at xCL.z1N(SourceFile:51)
at ZJw.z1N(SourceFile:33)
at QhG.z1N(SourceFile:927)
at Cro.dRn(SourceFile:45)
at HGo.z1N(SourceFile:213)
at Mtx.xKG(SourceFile:206)
at tbV.run(SourceFile:91)
at Mtx.run(SourceFile:102)"

UP!

hi, can you describe every step you did? I'm assuming the macro knobs are the knobs on the controller itself?

Hi,
I m running Bitwig 2.4.3 on Osx 10.13.
-replacing the APC25 script master folder by the one from the github. (Just to be sure).
-Open BWS, remove the previous script.  (Just to be sure).
-Plug Apc25 usb
-Controller page prompts "controller available". I accept.
-Controller is added.
-test notes: works
-touch rotary knob ( default mode is device mode): Script crashes
-restart script

press [shift + Volume] and try the rotary knobs as volume fader: success
press [shift + pan]and try the rotary knobs as pan knobs: success
press [shift + send] and try the rotary knobs as send knobs: success

So the Script crashes any time I try the Knobs in Device knobs.

are you using the version from osakared or baovuong?

Fixed in @baovuong's fork, which has been merged into this. It was due to a change in Bitwig's api.

Thanks for fixing it !
Cheers
M
On Sun, 26 May 2019, 19:50 Thomas J. Webb<EMAIL_ADDRESS>wrote:

Fixed in @baovuong https://github.com/baovuong's fork, which has been
merged into this. It was due to a change in Bitwig's api.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/osakared/apc-key-25-bitwig/issues/5?email_source=notifications&email_token=AGWC37L5KOBAHVE2B6OBWOTPXLEWZA5CNFSM4F7REXM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWIKLII#issuecomment-496018849,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGWC37ODABNWV2YXPZMYZP3PXLEWZANCNFSM4F7REXMQ
.


Update GR API to fit alpha export version and add example

The last commits allow to deal with both one base and several bases exports.
It is done by transforming the several bases exports to the one base export by changing the entries and adding some to have a similar structure (but not exactly the same).
Two ways of working exist:

the export file (one/several base-s-): the input is transformed to create the data request part and the vocabulary server part.
two files corresponding to the data request and the vocabulary server part are directly used
An example have also been added using @sol1105 contributions for entries.
The transformation of the export file to the two files corresponding to the DR and VS take about 2-3 minutes. Maybe, it would be great to generate them one the export file is downloaded so that it will be possible to use it directly. Do you think it could be done @sol1105? The example associated with this transformation is database_transformation.py

@rigoudyg My plan was to replicate the consolidation that Beth applies in Airtable to get from the common Airtable bases to the "release base" (eg. https://bit.ly/CMIP7-DReq-v1_0beta) in python so that the rest of the software essentially only has to deal with one base exports (https://github.com/CMIP-Data-Request/CMIP7_DReq_Software/blob/ms/sandbox/MS/dreq_api/consolidate_export.py - this script deals with mapping the 3 bases to one base while making sure the links between the tables resolve - which you do in transform_content_three_bases).
As a second step of this consolidation, one could apply (at least parts of) your transform_content* functions and save the resulting json files with the "export" ones, as you suggest. It makes totally sense to replace spaces etc. in the dictionary keys, use UIDs where available, etc., but I think that some of what transform_content* does, should already be done as part of the consolidation in Airtable before a release, or in the CMIP7_DReq_Content repo before the one-base json-export is tagged/released. At least one could discuss this, with the aim to keep the necessary consolidation in the Software repo (and with it the time that users have to wait for the dreq to "initialize") to a minimum.
For example, some of to_remove_keys (https://github.com/rigoudyg/CMIP7_DReq_Software/blob/gr_update_api/sandbox/GR/dump_transformation.py) would be something I would wish that it would be done already in Airtable / CMIP7_DReq_Content:
to_remove_keys = {
    "CF Standard Names": ["Physical Parameters", "Physical Parameters 2"],
    "Cell Measures": ["Variables", ],
    "Cell Methods": ["Structures", "Variables"],
    "Coordinates and Dimensions": ["Structure", "Variables"],
    "Experiment Group": ["Opportunity", ],
    "Experiments": ["Experiment Group", ],
    "Frequency": ["Table Identifiers", "Variables"],
    "Glossary": ["Opportunity", ],
    "MIPs": ["Variable Group", ],
    "Modelling Realm": ["Variables", ],
    "Opportunity": list(),
    "Opportunity/Variable Group Comments": ["Experiment Groups", "Opportunities", "Theme", "Variable Groups"],
    "Physical Parameters Comments": ["Physical parameters", ],
    "Physical Parameters": ["Variables", ],
    "Priority Level": ["Variable Group", ],
    "Ranking": list(),
    "Spatial Shape": ["Dimensions", "Structure", "Variables"],
    "Structure": ["Variables", ],
    "Table Identifiers": ["Variables", ],
    "Temporal Shape": ["Dimensions", "Structure", "Variables"],
    "Variable Comments": ["Variables", ],
    "Variable Group": ["Opportunity", "Theme"],
    "Variables": ["CMIP7 Variable Groups", ]
}
[...]
keys_to_remove.extend([key for key in list_keys if "(MJ)" in key or "test" in key.lower() or
      ("last" in key.lower() and "modified" in key.lower()) or "count" in key.lower()])

@sol1105 Sorry for the delay Martin, I will merge my branch right now and make an other pull request to complete the last tests.


[BANDWIDTH_THROTTLING] Create per quota resource metrics to capture if requests would have been throttled.

These metrics will help when running in TRACKING mode to validate if quota limits in QuotaResources can potentially lead to throttling.
These metrics can be retired when bandwidth quotas are running in THROTTLING mode.

Codecov Report

Merging #2134 (8875d32) into master (9b0fe9e) will decrease coverage by 31.02%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #2134       +/-   ##
=============================================
- Coverage     46.04%   15.01%   -31.03%
+ Complexity     5913     2288     -3625
=============================================
  Files           722      722
  Lines         55233    55244       +11
  Branches       6834     6835        +1
=============================================
- Hits          25431     8295    -17136
- Misses        27639    46465    +18826
+ Partials       2163      484     -1679

Impacted Files
Coverage Δ

...main/java/com/github/ambry/quota/QuotaMetrics.java
0.00% <0.00%> (ø)

...ambry/quota/capacityunit/AmbryCUQuotaEnforcer.java
0.00% <0.00%> (ø)

.../src/main/java/com/github/ambry/store/Message.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/KMSConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/SSLConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../main/java/com/github/ambry/quota/QuotaAction.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../main/java/com/github/ambry/quota/QuotaMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/com/github/ambry/commons/SSLFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/com/github/ambry/config/CloudConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 369 more

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 9b0fe9e...8875d32. Read the comment docs.


Provide better test navigation using GET method.

Currently HTTP POST method is used to navigate the tests (search, paging...)
This results the followings

it's not easy to use backward button in the browser. The browser requests the user to resubmit the form-data.
The use can not pass the URL to the others.

We may need to change the following line to
https://github.com/naver/ngrinder/blob/master/ngrinder-controller/src/main/webapp/WEB-INF/ftl/perftest/list.ftl#L71
<form id="test_list_form" name="test_list_form"
	      class="well form-inline search-bar" style="margin-top:0;margin-bottom:0;height:30px;"
		  action="${req.getContextPath()}/perftest/list" method="GET">

Fixed


python3-pyqt: add native support

PYQT_MODULES for native is customized to build just QtCore module,
since the point of native builds is to get the pyqt5 build tools,
not to run gui applications.
The custom configure block can be shared between target
and native if you just configure the sysroot option accordingly
and use STAGING_INCDIR to locate the python headers to build
against.
The custom install block has to be called separately from
target and native install function, thanks to qmake5 bbclass having
a native-specific override for do_install().
Also added a 'sed' into the install which cleans up hard-coded
paths in generated wrapper scripts.
Signed-off-by: S. Lockwood-Childs<EMAIL_ADDRESS>

No update from submitter in 2 years, closing.


[Bug]: console fetches lots of data after login

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[X] I have joined the ZITADEL chat

Environment
ZITADEL Cloud
Version
v2.56.0-rc.4
Database
PostgreSQL
Database Version
15
Describe the problem caused by this bug
When an instance has many (700k+) organizations, login as IAM owner is fetching a lot of data. This results in high memory consumption on the backend and a long response time before the console is completely loaded.
In my case, when the console is initially loaded, the zitadel.auth.v1.AuthService/ListMyProjectOrgs endpoint takes more than 20s to return all data. The size of all data returned during the console load is around 151MiB.
The console only loads the data once and then seems to cache it. We should evaluate where the data is used and if we really need to fetch so much data.
To reproduce

Import 700k organizations
Login as IAM owner to the console

The issue was reproduced on our QA environment and some zitadel engineers already have IAM rights to the affected instance, to reproduce the issue easier.
Screenshots

Expected behavior
Fetch only data that is required to render the current UI.
Operating System
Backend: Google cloud run, QA environment
Browser: Chromium 126.0.6478.126 built on Debian 12.5, running on Debian 12.5
Relevant Configuration
No response
Additional Context
Issue occurred after we optimized organization imports as part of the https://github.com/zitadel/zitadel/issues/7639 effort.

Closing this due to merged PRs #8273


Support the new Mistral Large model

https://mistral.ai/news/mistral-large/

To figure out the new model IDs:
export MISTRAL=$(cat "$(llm keys path)" | jq .mistral -r)
curl -s 'https://api.mistral.ai/v1/models' -H "Authorization: Bearer $MISTRAL" | jq '.data[].id'

Outputs:
"open-mistral-7b"
"mistral-tiny-2312"
"mistral-tiny"
"open-mixtral-8x7b"
"mistral-small-2312"
"mistral-small"
"mistral-small-2402"
"mistral-small-latest"
"mistral-medium-latest"
"mistral-medium-2312"
"mistral-medium"
"mistral-large-latest"
"mistral-large-2402"
"mistral-embed"

Current code: https://github.com/simonw/llm-mistral/blob/a4f64002880582e5b61e52c975f6a73db33c04ed/llm_mistral.py#L8-L12
A bit annoying that they don't have a mistral-large alias - the closest is mistral-large-latest.
I'm inclined to keep my existing mistral-tiny and mistral-small and mistral-medium aliases, add my own mistral-large that points to their latest, then make ALL of their model IDs available as things like mistral/mistral-medium-2312.
I'll fetch their JSON file the first time you try to call one of their models and cache it in mistral-models.json, then provide a llm mistral refresh command that refreshes it.

Extract from the end of that JSON:
  [
    {
      "id": "mistral-large-2402",
      "object": "model",
      "created":<PHONE_NUMBER>,
      "owned_by": "mistralai",
      "root": null,
      "parent": null,
      "permission": [
        {
          "id": "modelperm-d7f053a61bc14064b9b3a66c5e2735ed",
          "object": "model_permission",
          "created":<PHONE_NUMBER>,
          "allow_create_engine": false,
          "allow_sampling": true,
          "allow_logprobs": false,
          "allow_search_indices": false,
          "allow_view": true,
          "allow_fine_tuning": false,
          "organization": "*",
          "group": null,
          "is_blocking": false
        }
      ]
    },
    {
      "id": "mistral-embed",
      "object": "model",
      "created":<PHONE_NUMBER>,
      "owned_by": "mistralai",
      "root": null,
      "parent": null,
      "permission": [
        {
          "id": "modelperm-ccf99400057448afb0567916e545c8a0",
          "object": "model_permission",
          "created":<PHONE_NUMBER>,
          "allow_create_engine": false,
          "allow_sampling": true,
          "allow_logprobs": false,
          "allow_search_indices": false,
          "allow_view": true,
          "allow_fine_tuning": false,
          "organization": "*",
          "group": null,
          "is_blocking": false
        }
      ]
    }
  ]

The mistral-embed model doesn't seem to have any metadata that help distinguish it from the non-embedding models, so I'll have to special case that.


Possible way to start service / application?

Do you think it would be possible to start an application, like Chrome or youtube ?

I did not found any funtionality in the MTP implementation to do this.


Stepper update

Issue #: /bcgov/entity#
Description of changes:

Enabled stepper activation on wrapper element

Added hover and current step selected styling

Added tabbing through steps for accessibility.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

This is an improvement in click area but there's a bit of weirdness. See if you can figure this out. You're close but for now I prefer the hover/selection look of the original stepper.

I took one more crack at the hover/selection :). That being said, i can 100% set it back to how it was, no questions asked if that is still what you prefer!

I took one more crack at the hover/selection :). That being said, i can 100% set it back to how it was, no questions asked if that is still what you prefer!

LGTM!


Missing child entity

[X] I updated to the latest version available
[X] I cleared the cache of my browser

      - entities:
          - entity_id: sensor.shelly_shem_485519d70cf0_2_total_consumption
            name: Appartamento
            type: entity
            color: purple
            children:
              - entity_id: sensor.scrivania_lory_power_energy_spent
              - entity_id: sensor.zswtelevisione_energy
              - entity_id: sensor.scrivania_manu_energy
              - entity_id: sensor.lavatrice_energy_spent
              - entity_id: sensor.frigorifero_consumo
              - entity_id: rimanenza_appartamento
                type: remaining_parent_state
                name: Altro

I would like to have, with this entity, all those meters plus an "Altro" (other) with the remaining unmetered power, as per documentation
but i get a "Error: Missing child entity rimanenza_appartamento"
In the example in docs, it states:

- entity_id: whatever # as long as it is unique
  type: remaining_parent_state
  name: Other

What i'm doing wrong?

Found the logic i was missing.
i need to define remaining_parent_state in the last section


Style checks force code to go polymorphic or worse

width/height/top/left use isDimDefined and isPosDefined which checks for undefined. margin and padding properties use the "in" operator which isn't fast and also means you need to totally omit those properties from your object if you want them to have "no value" for layout.
ex.
if (pos in node.style) {
    return node.style[pos];
}
return 0;

should just be return node.style[pos] || 0;
For getSpacing it should do:
return node.style[key] || node.style[type + suffix] || 0;

This means your style object can have that property all the time and just use the value undefined to get the default. The current code forces you to have many different "types" of Style objects which makes v8 and other JS engines go slow.

Totally! The js version has not been written with performance in mind. If you send a pull request i'd gladly accept it :)

Hey!
Noticed that this has been sitting for a while and would like to go ahead and implement these optimizations. I can get started right away but want to make sure that @esprehn didn't already tackle this so as to avoid redundancy. I am a CS student who couldn't find an internship this summer so I saved up money to take the summer off and do as much work on open source projects as I can handle. :)

Please send out pull requests :)

:+1:

@JonathonSonesen were you going to PR with those fixes?

Hi Jared, after running the tests I found that there were no notable
performance improvements from my changes so I closed the pull request also,
I am not very experienced so I wasn't sure what I had done was even
correct. I started a summer class and its an accelerated course so my time
has been filled with calculus 2 for the last 7 weeks in addition to doing
udemy courses for js and python. I can definitely reopen the pull request
if you'd like to see what I added.  My final is next Wed. so I can take
another look at it after I wrap that up as well.
On Aug 5, 2015 4:05 PM, "Jared Forsyth"<EMAIL_ADDRESS>wrote:

@JonathonSonesen https://github.com/JonathonSonesen were you going to
PR with those fixes?
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/css-layout/issues/64#issuecomment-128178095.

Ok cool :) good luck with finals

Thanks man! I plan to slay them, with the sweet knowledge blades I've been forging ;)

Js version is gone, closing this.


Prevent changing storage location on itemizables if there has been an intervening audit of the items involved

Summary
Prevent changing storage location on donation/distribution/purchase if there has been an intervening audit on the items involved.
Why?
It's an extremely edge case, and we're not sure what the effects on inventory should be in this case.   It gets really messy if new items are added at the same time, for example!
Details
For each of purchase, donation, and distribution:
On edit, on save, if the storage location has been changed, and there has been an intervening audit on any of the items involved (either original or new)  for either of the storage locations,  give the error message as follows:
For distribution:  "Cannot change the storage location because there has been an intervening audit of some items.  If you need to change the storage location,  please reclaim this distribution and create a new distribution from the new storage location"
For donation:   "Cannot change the storage location because there has been an intervening audit of some items.  If you need to change the storage location,  please delete this donation and create a new donation with the new storage location"
For  purchases:   "Cannot change the storage location because there has been an intervening audit of some items.  If you need to change the storage location,  please delete this purchase and create a new purchase  with the new storage location"
Criteria for completion

[ ] functionality as described above
[ ] tests to support functionality as described above

I'd like to help with this issue.

Please do!

@jp524  Hrm.   I'm having trouble assigning you -- but please do assume you are assigned

@cielf I started looking at this and I saw that a warning is displayed on the edit pages for donation/distribution/purchase that have an intervening audit (please refer to #4026 and #4086).
I just wanted to confirm with you if the feature for this issue is to be added on top of the existing warning, or if the existing warning needs to be modified at all.

Do we need the warning at all if we have the error?

The warning is more wide-spread -- covering the items as well -- we will let them change the item levels,  so yes.


ServiceBus Track2 - User Renew message lock

Implement following feature

Read message lock value while receiving
User calls renewMessageLock API
Added test

/azp run java - servicebus - ci.data

Too old PR to resolve. Creating new PR  and incorporating all the comments from here.
https://github.com/Azure/azure-sdk-for-java/pull/9159


Video Size problem

Hello i was trying to chance the video size to:
cap.set(cv2.CAP_PROP_FRAME_WIDTH, 1280)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 720)

but when i did that the script crashes and when it works all boxes ate distorted.
How can i fix it ?

You’ll need to calibrate the camera (see cv2.calibrateCamera()).

i dont know how to use opencv calibrate code. could you help me?


fix(chat): update recent list on model use, reset filters on page load (Issue #2216, #2219)

Description:

update recent list on model use
reset filters on page load

Issues:

Issue #2216 #2219

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


VLAZ: Watch (+277) 320-48614

VLAZ requests the watch of the watch_number (+277) 320-48614. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ


Fixed time-step: How can I get desired fixed fps by world.setting ?

When I use carla-linux-build version, I can make launch the carla. And set the available or fixed fps by UE4 edit.

Edit->Project Settings -> Engine -> General Settings -> Framerate-> Use Fixed Frame Rate

And then I read the carla documentation. I want to modify fps in client-python-script.

settings = world.get_settings()
settings.fixed_delta_seconds = 1.0/15
world.apply_settings(settings)

But I cannot get the result.  The fps seems to be running in a way that available fps.

when i cut the python script. UE4 editor fps is

What mistake did I make? I want to control fps by client python script

Hello @liuyandong1988,
The settings.fixed_delta_seconds sets a constant simulation time interval between frames. This is important to have a correct simulation but it has nothing to do with the actual framerate. Please check this page for further documentation.
From the client, that option of the engine is not exposed. We can consider adding it but in the meantime, I see two options. You could modify the source of your CARLA version and add these options following what we are doing for substepping for example. Another option is to control the framerate in the client with pygame for example and then, use wait_for_tick() if you are in asynchronous mode or tick() if you are in synchronous mode.

Hello @liuyandong1988,
The settings.fixed_delta_seconds sets a constant simulation time interval between frames. This is important to have a correct simulation but it has nothing to do with the actual framerate. Please check this page for further documentation.
From the client, that option of the engine is not exposed. We can consider adding it but in the meantime, I see two options. You could modify the source of your CARLA version and add these options following what we are doing for substepping for example. Another option is to control the framerate in the client with pygame for example and then, use wait_for_tick() if you are in asynchronous mode or tick() if you are in synchronous mode.

Thank you for your reply. I can use the  wait_for_tick()  in asynchronous mode and make client and server have the same fps and use tick() in synchronous mode, server waits for the client. However, I can not fixed the server fps use the world.settings in page . I want fixed the server fps...


bug: is_full() panics with empty struct/enum objects

Tracked down some interesting behavior:
Using is_full on a producer or consumer that is backed by a "primitive" buffer like u8 works as expected:
let (prod, cons) = ringbuf::HeapRb::<u8>::new(256).split();
if prod.is_full() {
    // works
}

However with buffers of objects like zero-size structs/enums, is_full panics:
struct Message {}

let (prod, cons) = ringbuf::HeapRb::<Message>::new(256).split();
if prod.is_full() {
    // panics
}

Stack backtrace:
thread 'main' panicked at /Users/deermichel/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ringbuf-0.4.4/src/traits/utils.rs:22:42:
attempt to multiply with overflow
stack backtrace:
   0:        0x10b720313 - std::backtrace_rs::backtrace::libunwind::trace::hb4c5e3692fb6a0e3
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
   1:        0x10b720313 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d640b18da86d0c
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:        0x10b720313 - std::sys::backtrace::_print_fmt::h527f8414b59f1169
                               at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5
...

Probably that's expected with zero-size items and counts as a user error. As soon as you add a field to the struct or enum, the panic disappears - but maybe there's a nicer way to catch this, so nobody needs to repeat debugging this petty bug :)

Very interesting...
This is caused by the fact that Vec<T>::capacity() is undefined for ZST:

... if you store zero-sized types inside a Vec, it will not allocate space for them. Note that in this case the Vec might not report a capacity of 0

I've made a fix in https://github.com/agerasev/ringbuf/commit/9cf82af66a36942c202b2560bc26bd24da04445a.
Thanks for your report!

that was quick, thanks! now I learned something new as well :)


hello  How to get NSLayoutConstraint when use masonry .?

I only can get the MASconstraint, but I really want to get the NSLayoutConstraint when I use masonry.
I know masonry is base on apple.

@wy19901227 unfortunately it's not that simple. Masonry assumes ownership of the NSLayoutConstraints and uninstalls/re-creates/re-installs these at various times depending on the APIs you use.
If you need a NSLayoutConstraint for integration with another library I recommend you use the regular Apple API's just for that single constraint and then Masonry for everything else.
Masonry also won't ever touch non Masonry constraints so you don't have to worry about a mas_remakeConstraints mucking up one you've created and added with Apple's APIs directly.


08/27/2018 21:48 : Create Pull Request for branch master -> prTesting1_2018082721

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


TypeScript 3.4 Regresssion

In TypeScript 3.3.4000 the following would work:
createRouter({
  test: defineRoute(
    {
      hello: "path.param.string"
    },
    p => `/p/${p.hello}`
  )
});

In TypeScript 3.4.1 it does not. There's an error saying "Property 'hello' does not exist on type 'Record<never, string>'." Interestingly the following code works in both:
defineRoute(
   {
     hello: "path.param.string"
   },
   p => `/p/${p.hello}`
 )

So there is some weird interplay in the type inference between createRouter and defineRoute that is causing issues.

Created a bug for TypeScript: https://github.com/Microsoft/TypeScript/issues/30778. Will wait to see what they say before trying to fix it from this end.

Pushed a small fix that does most of the job but there are still issues - for now just set strictFuntionTypes to false in your tsconfig.json.


First revision of pool mining user guide

Add guide to user-guides index
Create first revision of guide
Add four screenshots to make guide easier to read

Yeah I agree it should be changed. The procedure is almost the same for
the xmr-stak GPU miners, so should I just change the title to "How to
mine on a pool with xmr-stak-*" or similar?


added support for dictionary and fixed bugs

This PR fixed some bugs and added support for encoding and decoding dictionary types.

I don't know if we talked about this, but should it be s8, s16, etc for consistency with Nx and Explorer?

I don't know if we talked about this, but should it be s8, s16, etc for consistency with Nx and Explorer?

Oh we haven't but I can change them in a minute! Should we keep the old ones for compatibility or just rename them and make it a breaking change?

let's just rename them and make it a breaking change, i don't think anyone is using them yet. But we can make it in a separate PR!

Ok I'll send a PR soon!


bug: back-button not displayed if the page is wrapped.

Bug Report
Ionic version:
[x] 5.x
Current behavior:
The <ion-back-button> is not displayed if the page is wrapped in a custom component. Maybe not a bug, but an unexpected behavior. We should find a solution.
Expected behavior:
The back-button and other page behaviors should work. Maybe it only works if there is a ion-header and ion-content close to the component inside of the router-outlet.
Steps to reproduce:
Just have an app with page router navigation. Nothing special build.
But I created a wrapper for the pages for DRY reasons.
I don't want the same code in every page. Esp. the 2-part header. (collapse-condense header).
Anyway... Here's some code:
Related code:
page.component.html
<ion-header [translucent]="true">
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-menu-button></ion-menu-button>
      <ion-back-button></ion-back-button>
    </ion-buttons>
    <ion-title>{{ title }}</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content [fullscreen]="true">
  <ion-header collapse="condense">
    <ion-toolbar>
      <ion-title size="large">{{ title }}</ion-title>
    </ion-toolbar>
  </ion-header>

    <ng-content></ng-content>

</ion-content>

page.component.ts
import { Component, Input } from '@angular/core';

@Component({
  selector: 'app-page',
  templateUrl: './page.component.html'
})
export class PageComponent {
  @Input() title = '';
}

some.page.html
<app-page [title]="title">

My Page

</app-page>

some.page.ts
import { Component} from '@angular/core';

@Component({
  selector: 'app-some-page',
  templateUrl: './some.page.html'
})
export class SomePage {
  title = 'My Page';
}

I've tested it. It works if I unwrap the app-page.
So I think it's a selector issue to the ion-header like A > B? but idk.
What's the logic of the back-button? When hide or show?
The alternative is that Ionic brings a build in page component. What do you think about?
Because a page always looks the same. Header and Body. Maybe with options to hide the header, etc. ...
No Stackblitz demo? Yes :( But I'm working on it. I can't promise it. How to create an Ionic 5 app in Stackblitz? I hope the code above is enough. Otherwise I append the code here as zip.
Ionic info:
Ionic:

   Ionic CLI                     : 6.8.0 (...\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 5.1.0
   @angular-devkit/build-angular : 0.803.26
   @angular-devkit/schematics    : 8.3.26
   @angular/cli                  : 8.3.26
   @ionic/angular-toolkit        : 2.2.0

Capacitor:

   Capacitor CLI   : 2.0.2

System:

   NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.4.1
   OS     : Windows 10

Thanks for the issue. Can you provide the reproduction as a GitHub repo and include the link to it here?

https://github.com/infacto/demo-page-back

Thanks for the follow up. I was able to reproduce this issue.
As a temporary workaround you can put the following CSS in global.scss:
.can-go-back ion-header ion-back-button {
  display: block;
}

Our code uses .can-go-back > ion-header ion-back-button which requires the ion-header to be a direct child of the element with .can-go-back.

As I suspected. Thanks. Another issue is the page height. Currently fixed by adding display: contents to the page component :host. Just for someone who is interested in this.


FIX: Revert to FAST

Closes #254.
Open question: This changes the workflow graph, but only by changing the branch that is followed. Is this acceptable to put in 0.7.x for use in fMRIPrep 20.2.x (ref Versions Matrix)?

Codecov Report

Merging #263 (2b9c491) into master (d160455) will decrease coverage by 3.27%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #263      +/-   ##
==========================================
- Coverage   68.64%   65.36%   -3.28%
==========================================
  Files          16       16
  Lines        1078     1077       -1
  Branches      155      155
==========================================
- Hits          740      704      -36
- Misses        288      326      +38
+ Partials       50       47       -3

Flag
Coverage Δ

ds005
59.05% <80.00%> (-2.64%)
:arrow_down:

ds054
50.97% <80.00%> (-1.44%)
:arrow_down:

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

Impacted Files
Coverage Δ

smriprep/workflows/anatomical.py
53.59% <100.00%> (-15.24%)
:arrow_down:

smriprep/interfaces/reports.py
77.21% <0.00%> (-15.19%)
: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 d160455...2b9c491. Read the comment docs.


Add Eclipse Guided Development component to installer

Codecov Report

Merging #1334 into master will decrease coverage by 0.49%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #1334     +/-   ##
=========================================
- Coverage   93.52%   93.02%   -0.5%
=========================================
  Files          46       46
  Lines        4784     4877     +93
  Branches      535      843    +308
=========================================
+ Hits         4474     4537     +63
- Misses        310      313      +3
- Partials        0       27     +27

Impacted Files
Coverage Δ

browser/model/guided-dev.js
95.49% <100%> (+0.39%)
:arrow_up:

browser/model/devstudio-autoinstall.js
97.29% <0%> (-2.71%)
:arrow_down:

browser/services/request.js
97.61% <0%> (-2.39%)
:arrow_down:

browser/pages/install/controller.js
91.86% <0%> (-1.75%)
:arrow_down:

browser/model/helpers/downloader.js
95.53% <0%> (-1.68%)
:arrow_down:

browser/model/che.js
95% <0%> (-1.62%)
:arrow_down:

browser/pages/account/controller.js
98.61% <0%> (-1.39%)
:arrow_down:

browser/model/cdk.js
97.6% <0%> (-1.16%)
:arrow_down:

browser/model/devstudio-p2-zip.js
64.4% <0%> (-1.12%)
:arrow_down:

browser/model/installable-item.js
92.28% <0%> (-1.03%)
:arrow_down:

... and 25 more

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 9a4cdc4...f2d49a3. Read the comment docs.


Use key to pan with rectangle tool

To make it easier to pan the map when using the rectangle tool, we should set up a key press that toggles a panning control.
AC:

When the rectangle tool is active, when the user presses the space key, the rectangle tool enables map panning.
When the space key is pressed, the cursor changes to grab (see comment below)

This would be great. I'd prefer to use the spacebar to do this function, which is a common pattern in every design tool. Shift already has a function in Mapbox GL and other mapping tools (shift zoom), so I think we should avoid that key in particular.
 It's also important for the cursor to change to grab while you have shift down.
The prototype has this for the paint brush tool, in case you want to check it out.

@jfrankl a question came up in RRP about how this should work if the user hits space while clicking down with the rectangle tool. The prototype doesn't cover this case because the rectangle works slightly differently from the paintbrush.
A user may want to move the map while they are making a rectangle selection, so they can continue making the same selection past the edge of the map. What happens if they hit the space key in the middle of holding down the mouse button?

Does it deactivate the tool and clear the selection?
Does it hold the selection in place where they pressed space until they release it?
Or does it follow their cursor as they pan with space?

As I write this, I'm wondering if we should just do nothing if the spacebar is pressed while the cursor is held. That means, wait until the user lets go of the cursor and then activate the grab hand. Until they let go of mouse button, the rectangle (and paintbrush for that matter) continue to function as they did before the spacebar is pressed.
If we want to handle the panning-while-selecting case, we implement the "edge proximity pan" we discussed a while ago.

As I write this, I'm wondering if we should just do nothing if the spacebar is pressed while the cursor is held. That means, wait until the user lets go of the cursor and then activate the grab hand. Until they let go of mouse button, the rectangle (and paintbrush for that matter) continue to function as they did before the spacebar is pressed.

Let's go with this approach. It is easier to implement than allowing to draw and pan simultaneously. Ideally, we'd allow the user to draw and pan simultaneously, but for resource allocation purposes I think we should save that for a future enhancement.


set Header Cache-Control max-age

It'd be need to be able to use Cache-Control.

I tried
router.use(function(req,res,next){res.set({'maxAge':'1d'});next();});

before useing quickthumb, but this apparently does not work.
I propose an option like for express.static.


memory available and max-mem pod schedulable capacity checks

@twiest: split out the cpu and byte conversions into python-openshift-tools. you can now pass in your own master-node.yaml location. converted to --dry-run. removed useless 'else' clauses.

:+1:


Folder and File /out/extension.js Not Being Created

VSCode Version: 1.28.2
OS Version: Windows 10

Steps to Reproduce:

Generate an extension scaffolding with yeoman generator-code
Edit extension.ts to implement a single command
Edit package.json to include a publisher field with a string value
Update activationEvents and contributes: commands: command entries to support the name of my implemented command
Run debugger, press Ctrl+P  in the new VS Code window and bring up my command in the palette, select it and hit Enter
Receive 'Activating extension . failed: Cannot find module 'Path\to\mygeneratedextension\out\extension.js'
The \out\extension.js is never created and my command is never executed

Please let me know any additional information required
Thank you!

Does this issue occur when all extensions are disabled?: Yes

@trebleCode actually this looks like a pretty old installation of the TSC compiler. I recommend that you uninstall it and install tsc using npm (e.g.npm install -g typescript).
The the compiler is automatically called when launching the extension.
Let me know if this helps.

That worked, thanks!

Closing the issue then.


Terragrunt not checking if source URL has a module correctly

It seems that Terragrunt doesn't properly show an error if you set the source URL to a folder path that doesn't actually exist.
For example, let's say you set source = "github.com/foo/bar//modules/invalid-path", where invalid-path doesn't actually exist. As soon as you run apply or init, Terragrunt should show an error. However, it seems to continue running silently, and you get more confusing errors later on. For example, one user had some .tf files in their local path, so those got copied to invalid-path in the Terragrunt cache, so Terragrunt treated it as if a module was there, but all the resources had been deleted.
Slack thread for context.

@denis256 could you look into this?

Fixed in #1797.


Korean: R2L flag

In https://github.com/lcnetdev/scriptshifter/blob/korean/scriptshifter/hooks/korean/Functions_KoreanRomanizer.au3#L1849:
   If $ConvertR2L = "On" AND $IsL_initial > 0 Then

$ConvertR2L is defined in L17 and looks like a user settings flag.
@hyoungl does ScriptShifter need to distinguish between the two settings (it would be a major framework change)?

Under the current rules, which I believe is wrong, it is not needed.
I just put this code here in case that that rules are modified later, but it has not happened yet.

OK. I will remove the test for $ConvertR2L = "On".


a call of argument 'done'  in a method 'up', migrator.add

by any reasons sometimes a callback 'done' may be not called and so our migration will work incorrectly, but a server console doesn't have any message about this problem. I suggest to show some message that has a description what was done incorrectly.

You've changed the generated JS file. Source files are in CoffeeScript, please update your PR by changing the source file and then regenerating the JS file using the build script https://github.com/emirotin/mongodb-migrations/blob/develop/package.json#L7

After having the second look I don't think this will work as expected.
The checkCallDone is se to true in the callback which may (and in the majority of cases will be called asynchronously). But then this variable is synchronously checked, so it will always be false and the warning will be printed.
In addition to that there's already the migration timeout feature that will reject your migration with the new Error("migration timed-out"); error, including the case when you just never call the callback. It's available since v0.8.5.
I'm going to close this PR but please correct me if I'm wrong with my understanding of the behavior in the first paragraph.


Clear abort event listener for all xhr completion states.

Clear event listener whenever xhr is done (not just on abort). Signal may be hanging without never aborting.

Hi @joaovieira ! Thanks for the PR!
I added you as a collabo to this repo. Feel free to merge and get feedback in the PR on the GitHub fetch project.
You should be able to see your invite here:
https://github.com/jmeas/fetch/invitations

Yep, easier that way 😄 thanks!


GPU Backend

Hi, Any plan for GPU support like DirectX11? or even better a backend that allow us to add our graphic api like ImGui
Thanks

Adding GPU backend support to LCUI's graphics library is expensive, so  I plan to make LCUI support drawing using other open source graphics libraries.
I've improved the graphics library of LCUI in recent weeks and wrote an example program to draw graphics using the Cairo graphics library.
https://github.com/lc-soft/LCUI/tree/add-cairo-example/lib/pandagl/examples/cairo
I also have plans to write an example  to draw UI widgets using Cairo, but it may take a long time.

why not [try vuilib](https://github.com/FSMargoo/VuiLib）(based  on d2d), it's a student project but is both pretty and performant!


Make listing servers default command

[root@adm ~]# /bin/iml server
+----+------------+--------------+------------------+
| Id | FQDN       | State        | Nids             |
+====+============+==============+==================+
| 1  | mds1.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 2  | mds2.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 3  | oss1.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 4  | oss2.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 5  | c1.local   | managed      | <IP_ADDRESS>@tcp0   |
+----+------------+--------------+------------------+
| 6  | c2.local   | unconfigured |                  |
+----+------------+--------------+------------------+

[root@adm ~]# /bin/iml server list
+----+------------+--------------+------------------+
| Id | FQDN       | State        | Nids             |
+====+============+==============+==================+
| 1  | mds1.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 2  | mds2.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 3  | oss1.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 4  | oss2.local | monitored    | <IP_ADDRESS>@tcp0 |
+----+------------+--------------+------------------+
| 5  | c1.local   | managed      | <IP_ADDRESS>@tcp0   |
+----+------------+--------------+------------------+
| 6  | c2.local   | unconfigured |                  |
+----+------------+--------------+------------------+

Closes #2041.
Signed-off-by: Igor Pashev<EMAIL_ADDRESS>

This change is

As an alternative: pull ServerCommand out of Option and match on it separately, break early if it's None. Avoids duplicated Some on all branches.

Updated. Thanks!


refactor

Description
Worked on restructuring and improving existing code to make it more efficient, readable, and maintainable without changing its functionality.
Fixes #19
Type of change
Please delete options that are not relevant.

[ ] Bug fix (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)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

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

📝 Changed routes:

/generator/arrayGenerator
/generator/graphGenerator

(view full size)
(view full size)

…rator/integerGenerator
…or/linkedListGenerator

(view full size)
(view full size)

…or/palindromeGenerator
…erator/stringGenerator

(view full size)
(view full size)

Commit eea56225854c186fa24abc19bbc07369029a414b (https://testcase-generator-3oqqfgqym-ank1traj.vercel.app).


NIFI-6558 Added Parameters to User Guide and Sys Admin Guide

Also made the following changes in the User Guide:

Made references to buttons consistent (used quotes instead of preformatted text)
Edited Variables section and included a Warning for functionality being removed in future release
Made some minor edits/additions to recently added Analytics Prediction content

Variable values cannot reference other variables or make use of Expression Language.

Thanks for updating the docs @andrewmlim! I pointed out a handful of notes that I think could be clarified slightly. It may also make sense to point out a few additional notes:

Parameters cannot be referenced in Reporting Tasks currently, or in Controller-Level Controller Services.
While most processor/controller service properties are not validated when referencing variables / using Expression Language, they will be validated (against the substituted value) when using Parameters. This is a nice advantage of Parameters over variables.
Variable values cannot reference other variables or make use of Expression Language.
It may be worth explaining how variables work when interacting with the Flow Registry. When exporting a flow to the flow registry, the name of the parameter context is sent for each process group that is stored. Additionally, the parameters (names, descriptions, values, whether or not sensitive) are stored with the flow (for sensitive params, the values are not stored). When a flow is imported / updated, if no parameter context is already set, NiFi will set the Parameter Context with the same name as the one stored in flow registry. If none exists with that name, it will create one. It will also add in values for any missing parameters, based on the values that were exported to the flow registry. Even though sensitive values are not stored in the flow registry, this is a huge improvement over variables, because of Parameters are used, it's very easy for the user, on import/upgrade, to just go in and define the values for the Parameters, including sensitive values. If using Variables, users had to search for sensitive properties to fill in the values, etc. And since all properties in the flow can now be parameterized, it is now easy, when designing the flow, to parameterize things that will change per-deployment, and then have just one place to fill in all of these values when importing the flow.

Thanks for the comments @markap14 ! I'll edit my PR with these Notes. For the last bullet re: Flow Registry integration, I agree we need to cover this topic in more depth, however I was planning on doing that in a separate Jira/PR.

Thanks @andrewmlim! This has been merged to master.


Typescript error when building

Describe the bug
I get a type error from typescript when using next build:
Type error: Type '((props: AppProps) => Element) & NonReactStatics<ComponentType, {}>' is not assignable to type 'ElementType'.
Type '((props: AppProps) => Element) & NonReactStatics<ComponentType, {}>' is not assignable to type 'FunctionComponent'.
Types of parameters 'props' and 'props' are incompatible.
Property 'pageProps' is missing in type 'Record<string, unknown> & { children?: ReactNode; }' but required in type 'AppProps'.
`
59 |   }
60 |

61 |   return hoistNonReactStatics(AppWithTranslation, WrappedComponent)
|   ^
62 | }
63 | `

Occurs in next-i18next version
8.0.2
Steps to reproduce
Not sure, we have a next project with next-i18next and typescript. It throws this error when trying to build.
Expected behaviour
No error
OS (please complete the following information)

Device: Razer Blade 15
Browser: N/A

Please post on StackOverflow for help. Good luck!

After succesfully creating a new project with the same npm packages I just tried bumping the versions and got it to work. I couldnt pinpoint the problem to two specific packages and versions that did not work well unfortunately. But here's a screenshot of the diff of my package.json. Before with error and after that works. Thanks for a great package!


Mistake

Hello, there seems to be an error with val.list and test.list in the MS-CMRSEG19 dataset. For example, test.list in mscmrseg19_split1 has only one file name. The test.list of mscmrseg19_split2 is the same as the val.list

Hi @BeiZhiRen, thanks for your interest in our work!
Different from ACDC that have both val and test, in MS-CMRSEG19 dataset and Decathlon Prostate, we actually only split the dataset into training and validation dataset. The performance are reported as the average of performance on the validation sets of two different splits. The test list are not used for these two datasets.
Hope this helps!

您好，感谢您对我们的工作感兴趣！
与 ACDC 同时具有 val 和 test 不同，在 MS-CMRSEG19 数据集和迪卡侬前列腺中，我们实际上只将数据集拆分为训练数据集和验证数据集。性能报告为两个不同拆分的验证集上的平均性能。测试列表不用于这两个数据集。
希望这有帮助！
Ok, I see, thanks for your answers and contributions in semi-supervised semantic segmentation, I will do my best to quote and promote your article

@BeiZhiRen Thanks again for bring this to our attention!