Incomplete capture when write blocker is used

Imaging a Double Density floppy with ddrescue, Windows, using write blocker:
ddrescue.exe -b 512 -r4 -v /dev/sdb1 whatever.img whatever.map

Result:
2022-09-20 16:39:46,167 - INFO - pct rescued:   48.88%, read errors:     7372,  remaining time:         n/a
2022-09-20 16:39:46,167 - INFO -                               time since last successful read:          3s

This happens with every DD disk (but not with any HD disks!)

Some additional tests:
Repeat imaging for same floppy without write blocker
Result: works fine!
Re-try with write blocker
First switched off/on, then inserted same floppy.
Result: works fine.
Remove DD floppy and insert HD floppy
Result:
Press Ctrl-C to interrupt
     ipos:   720896 B, non-trimmed:        0 B,  current rate:   16384 B/s
     opos:   720896 B, non-scraped:        0 B,  average rate:   28356 B/s
non-tried:        0 B,  bad-sector:        0 B,    error rate:       0 B/s
  rescued:   737280 B,   bad areas:        0,        run time:         26s
pct rescued:  100.00%, read errors:        0,  remaining time:         n/a
                              time since last successful read:          0s

But this is odd, since HD floppy image size is about 1.5 MB, not 732 kB!
Retry same HD floppy after resetting write blocker
Result:
     ipos:   786432 B, non-trimmed:        0 B,  current rate:       0 B/s
     opos:   786432 B, non-scraped:        0 B,  average rate:   23130 B/s
non-tried:        0 B,  bad-sector:   688128 B,    error rate:   3932 kB/s
  rescued:   786432 B,   bad areas:        1,        run time:         33s
pct rescued:   53.33%, read errors:     6731,  remaining time:         n/a
                              time since last successful read:          5s

Note that image is now slightly larger than previous read (which reported no errors!), but only 53% rescued!
Retry same floppy without write blocker
Result (after interrupting):
Press Ctrl-C to interrupt
     ipos:   973312 B, non-trimmed:        0 B,  current rate:       0 B/s
     opos:   973312 B, non-scraped:        0 B,  average rate:    2718 B/s
non-tried:        0 B,  bad-sector:   129024 B,    error rate:       0 B/s
  rescued:    1345 kB,   bad areas:        2,        run time:      8m 14s
pct rescued:   91.25%, read errors:      521,  remaining time:         n/a
                              time since last successful read:      5m 19s
Retrying bad sectors... Retry 2 (backwards)
  Interrupted by user

So from these tests it seems that:

Using the write blocker can result in incomplete capture because it only exposes part of the file system
Read results are generally worse with write blocker.

After updating the Tableau USB blocker to the latest firmware, the floppy drive is not recognised anymore at all!
Found this:
https://resources.culturalheritage.org/emg-review/volume-three-2013-2014/mckinley/
Quote:

PC-formatted 3.5” floppy disks are accessed via a USB floppy drive and imaged with FTK Imager. Although the Tableau USB Write Blocker is not compatible with the USB floppy drive, 3.5” floppy disks can be easily write-blocked by setting a small tab on the disk itself from read/write to read-only.

So perhaps write blocking just isn't feasible (at least not with the Tableau device)?

Update - I got in touch with Tableau (the manufacturer of the write blocker), and they confirmed the device may not work well with floppies. From their response:

To put it in basic terms, as things are right now, to me it sounds like the T8U
identifies that this is a floppy, so it tries to talk with it as if it is a floppy, but
in reality this is a USB to adapter device, and considering we might not
know its language, the two might not talk to each-other properly.

There's no easy solution for this, and they advised not to use the T8U for floppies at this point.


FeatureRequest: "Find all References" or the opposite of "Go to Defintion"

Description of your problem
In Microsoft Visual Studio there is a highly useful feature called "Find all references" (which works basically like the opposite of the "Go To Definition" feature), which I miss in Spyder a lot. It just shows every single line throughout all the files of a project, where a definition of something (variable, constant, function, etc.) is being used.
It has already been mentioned here and here, but it looks like no issue has been created for that so far.

Good idea! We're planning to improve our projects support in Spyder 3.3 (to be released by the end of the summer) and this would be a great addition to that effort :-)

@andfoy, I think we could use the improvements you've been working on for Find in files to implement this.
So the idea would to add context-menu action for this, then use Jedi or a regexp to find all use of foo(bar) for methods, or Foo(bar) for classes, and finally show the result in Find in files.

And the idea is to make this work for the current project or directory, depending on if a project is active or not, respectively :-)

@ccordoba12 I am 👎 cause this would be adding a python specific behavior to a plugin that (maybe the only one!) that is python agnostic

The idea is to add this to the Editor, not to Find in files. Find in files will be used only to display the result.

ok ;-)

Any update on this? Would be great to have a "find all references" feature to help with refactoring.

I am also interested in this feature.

@andfoy any updates/ideas on this work :-) ?

This is work for Spyder 5.

This feature is indeed a must-have for any serious IDE.

Hope this feature can be release soon : )
Then I don't have to use other IDE just for code searching
Thanks~~

Any news on this? Thanks!

Sorry, we haven't had time to implement this but we'll try to do it next year.


Upgrade the PyPI package

The package in PyPI repository should be upgraded (and maybe version number bumped?)

Absolutely. I just wrote a fix to use mermaid.cli instead of the old package only to discover that you already did that for the git version. My old pip installation didn't yet have this one. What a bummer.

Fixed in 0.1.6


can get limitation?

hi team, i know bing chat ai daily have limitation for next 24h. with this code, its can bypass that?

where cookie.json? send me sample file please

README.md provides methods to get the cookie.json

Not going to implement jailbreak. Decided that this should be vanilla


tickerlogreplay bug fails to create empty table

createemptytable call to savetabdatatrapped missing final param so empty table doesn't ever get created
should be updated to
savetabdatatrapped[h;p;t;0#value t;0b;td]

Hi,
Thank you for making us aware of the issues and the suggested solutions, both for this issue and #350.
All should be sorted now
Kindest regards
Elliot


Asm-includes

Added assembly files for builtin functions that are included in code gen / writing
Fixes / completes #1

I spent ages trying to do something, gave up, didn't do anything on it for a while, realised it was unimportant.


Feature request: programme a message to be sent in the future

Let's say I need to notify some contacts at midnight about something, this feature would allow me to set a date and an hour to send this mail automatically, while I can be working on something else or just sleeping.

Duplicate of #688


Change welcome title to project name

Proposal for the change of this very generic 'Welcome' banner in the navigation bar to the project name 'wg-access-server'.
Before:

After:

What do you think?

Sounds reasonable :).

It was only now that I found out that you guys are already using a cloud as icon:

Sorry for that... :smile_cat:

@nwaldispuehl the key is way better 😅


Option to set blade positions

Is your feature request related to a problem? Please describe:
I would like to have the option in apple homekit to set fixed blade positions, especially to change between the automatic swing and the upmost fixed position while automating
Describe the solution you'd like:
Can you add a switch for automatic swing or upmost fixed position?
Describe alternatives you've considered:
An alternative could be to switch between swing and fixed mode, but this case an option has to be set for where the fixed position should be
Additional context:
I have created an automation for when I sleep, the AC turns to silent, low fan speed and stops the swing, but it stops the swing at the position in which it is currently when I start the automation. I would like it to go to the upmost position before it stops the swing

How about I add a “custom configurable” switch that you can configure the values you want in plugins settings ? @leventesafrany

That sounds good! Will I be able to configure it to switch between upmost fix position and continuous swing?

Yes, I may also add a default swing position settings.

A new version just published.
"Default Vertical Swing Mode" is added.  When the  vertical swing switch turn off,  the air conditioner  vertical swing config will set to this default value.

Works perfectly! Thank you!


Crash on sending message

In a release build of v27.155 -- the release I tagged yesterday but haven't yet rolled out even to beta -- I had the app crash shortly after I sent a message.
See investigation in chat; I pulled the uncaught exception from the log, and we seem to have a diagnosis.

Thanks for catching this! I just sent #4271; I'll merge it in ten minutes or so (or at your approval) unless you'd like to change anything.


Added an access point for the Module and Route of the current request fro

Added an access point for the Module and Route of the current request from NancyContext.
It is useful when executing pre-request hooks, so as to perform per-route / module action. Much like ActionDescription and ControllerDescription in ASP.NET MVC.

Sounds like the Before and After hooks in a module?

I don't think I like this (or the metadata), they muddy the syntax and don't (to me) add any value beyond what you can already do with module level hooks and just inspecting the request in your app level hooks.

I'm with Steven on this one
Using
Before += ctx => {
};
After += ctx => {
};
is probably more than suffice for most use cases...rest can go to
Application level
2011/11/16 Steven Robbins <
<EMAIL_ADDRESS>

I don't think I like this (or the metadata), they muddy the syntax and
don't (to me) add any value beyond what you can already do with module
level hooks and just inspecting the request in your app level hooks.

Reply to this email directly or view it on GitHub:
https://github.com/NancyFx/Nancy/pull/400#issuecomment-2759245

I agree with you guys to some extent, but I have a use case (user access control checks) in which I need a global filter that would act only if the requested action (route) has certain attributes. Now if Nancy's routes were regular methods, I would just mark them with regular .NET attributes. But this is not the case. I think this is an easy (non-intrusive - it's just an overload after all) way of decorating your routes to achieve the same results you would get from using attributes, but a la Nancy. I rest my case! ;-)


chore(master): release 0.30.2

:robot: I have created a release beep boop
0.30.2 (2022-07-23)
Bug Fixes

remove useDocsPreferredVersion error log entirely (56f5ab5)
use debug instead of console.error for useDocsPreferredVersion message (3a09e39)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/easyops-cn/docusaurus-search-local/releases/tag/v0.30.2 :sunflower:


Warn on links which reference was removed

If list finds a link that is no longer valid, print a warning.

Should be closed with https://github.com/Serkonda/symlinker/commit/e1daf22154e143f8efa9ea8be48cd9ee1a43ffaa.
If this behaviour should be expanded to list without --real open a new issue.


Webhook Now

Hello, how I can get url of now? My url always updates after deployment...

Sorry. I can't able to understand your question.

you get your deployment url on your dashboard.

Closing this, since it is not related to the library but rather now.sh.


Drafts save flag - fixes #2206

This is a quick try at distinguish drafts saved by the user and autosaved.
This are the basics: just save. There are several things missing like shiny icons, better cutting and stuff like that.

:sunglasses:  ... I'll merge this and wait for some sparkly buttons


pip installation error

Hello MRIQC community,
I want to install MRIQC via following pip command:
pip install git+https://github.com/poldracklab/mriqc.git
At the beginning it had a C++ 14 error and after component installation, I face with following error:
Building wheels for collected packages: traits
Building wheel for traits (setup.py) ... error
ERROR: Complete output from command 'c:********\python37-32\python.exe'
...
...
..
Failed to build traits

Have you tried with a stable release? I.e.,
pip install mriqc


Basic docs for user contributions

Hi,
Can we get some docs for contributing, even if basic. I don't mind helping out and/or expanding on it.
Thanks

sure. feel free to work on


CacheableWidgetBehaviorTest enhancements

Better PhpDoc (removed PhpStorm warnings)
Small speed optimization: there is no need 42 iterations for counter increment test. 2 is enough.

I think you've left one iteration. That's not enough for the idea of the test.

No. There is two iterations: from 0 to 1.
I just checked again.

^ Updated the prev.comment...

OK.

Merged. Thank you!


Discrepancy between the paper and listed benchmarks in the repo

Flowers102 is not found in the paper...

Hi zhimin,
Actually we have included Flowers102 in the paper.
The table you listed is Table 6 in Page 18 about the statistics of datasets on visual cognition tasks. However, Flowers102 is a dataset that used to evaluate the coarse-grained perception ability of models. Thus, this dataset is included in Table 5, Page 17. You just have to scroll up to find the information.
Just for your convenience, I cropped the table here.


Sync source: handling idle/invalidated connection

This is a workaround for handling sqlalchemy error "idle-in-transaction timeout", which is seen rarely during the sync of sources with few thousands of resources. The DB interaction may need a rewrite to avoid prolonged idle transactions. Perhaps upgrading sqlalchemy to 1.4x may fix it.

Coverage decreased (-0.02%) to 62.368% when pulling c024232cd4fd5c7b5592464757c0897a2de56797 on charhate:sync_source into a8d1c68cb9e9aa89df1e90a1577796d6aef28529 on Netflix:master.


pkg/shelfice and pkg/gmredi

I simplified verification experiment shelfice_2d_remesh (turned off the remeshing, Non-Lin Free-Surf and commented out SHELFICEMassDynTendFile) and compile with pkg/gmredi to check how it works. I run for 10 days without GM and then turn on just GM (no Redi, GM_isopycK=0) using GM_background_K=30. and run it for 20 time-steps.
Then I compared this first run with a second one where I modify pkg/gmredi/gmredi_calc_psi_b.F as follow:

lines 113 & 115, I also multiply by maskW(i,j,km1,bi,bj)
lines 121 & 123, I also multiply by maskS(i,j,km1,bi,bj)
I see that the results of these 2 runs are different (only 4 digits match for cg2d).

If the GM stream-function was coded right for the case under an ice-shelf, assuming that the routine that compute the slope, in this case gmredi_slope_psi.F, account for the right mask, then my results should not have changed (I've just made the masking symetric regarding the vertical index k & km1).
So my conclusion is that there is a problem in pkg/gmredi when using pkg/shelfice.
Note: the 20 time-step run with only the Redi tensor (and no GM) does not look good at all, so there is likely some problems there too.

I am going to try this in a simpler set-up, in "front_relax" (no shelfice pkg), by specifying dry points at the top (using "topoFile=").
I am tempted to open a new PR with some fix in pkg/gmredi for dry point at the top with the addition of a new test in front_relax to test this. This would involve some overlap with current PR #590 so will need to decide how to manage this.

@jm-c will the "variation of front_relax" be part of PR #593? Will it also be a good test for ggl90 associated changes (eg. #588)?

@mjlosh Yes, I am working on adding this "variation of front_relax" as a new test (it will be the 4th one) in experiment front-relax, but not planning to change the executable. I mention this in the "Other information" but it's not that clear.
And I don't think this experiment is a good test for ggl90 because a) it's far too simple: no much shear, no forcing ... and b) it's nice to keep it simple to just illustrate the different GM-Redi options we have (BVP, SubMeso, FM07, or without any tapering).

Thanks @jm-c, I would be very interested in the test setup. Not to sound too dramatic, but essentially all of my thesis results used gmredi+shelfice in a fairly high resolution domain. I was never able to get the bolus velocity form of GM working, but the Griffies skew flux form "worked" fine. I never understood why the bolus velocity form didn't work, but perhaps the issues you and @owang01 et al are uncovering are the reason why.
Whenever it is available, I would like to use your gmredi+shelfice experiment to test the skew flux form of gmredi. My hope is that this is unaffected by these masking issues. From what I can tell from the various PRs, it looks ok... but I'll need to look at it a bit deeper when I get the chance. Of course I'd be happy to report any findings.

@timothyas I tried to estimate the (negative) impact of the few issues that got fixed in PR #593 :
a) the most damaging comes from gmredi_x/ytransport, and this is related to how tensor coeff Kuz and Kvz are applied. Now if you are using the skew-flux AND using the same Kappa for GM and for Redi, these 2 coeff are zero so the problem is gone.
b) the second one, i.e., related to wrong masking of psiX and psiY (in gmredi_calc_psi_b.F), is still annoying (potentially losing/gaining tracers) but much less damaging than (a).
This is based on this overly simple "front-relax" test but seems that it's still true in more complicated set-up too.

Thanks for letting me know @jm-c. After yesterday's meeting I went ahead and implemented the changes in #593 to my ice shelf setup, and I'm seeing no difference to my original results. Based on what you mentioned in (a) this is what we'd expect, but it's good to see it play out that way.
For reference, my setup is a ~600m horizontal 20m vertical resolution simulation of the Pine Island ice shelf cavity.
I had mentioned before that I was unable to get the advective form of GM working in my domain. With the changes in #593 that is still the case - the simulation blows up after 3 time steps. But that could just be due to numerical instabilities associated with the advective form of GM.

I tried to evaluate the effect of (b), i.e.,  wrong masking of psiX and psiY in gmredi_calc_psi_b.F, using the new simple test that is part of PR #593 with dry cells at the top. I only changed the tapering scheme from "ac02" (not much used) to a simpler and more common "linear" and run with code from this PR #593 (ref test "l23") and run again (test "l24") with same code except that use the original version (with wrong mask) of gmredi_calc_psi_b.F.
And as expected, the original version of gmredi_calc_psi_b.F does not conserve tracer but the fixed one does. Here is a plot to mean Temp & Salt evolution over 25.h, with "l23" in black and "l24" in blue: https://stuff.mit.edu/~jm_c/plots/fig_cons_01.jpg


BUG Explicitely define a dependency conflict with phpunit 6 and above

This PR updates composer.json to explicitly state that SilverStripe won't work with any version of phpunit 6 or above.
The issue here is that if you add phpunit with this command, composer will try to install version 7.5, which will not work at all: composer require phpunit/phpunit --dev.
The impetus for this is that it will make my life a bit easier for fixing https://github.com/silverstripe/silverstripe-upgrader/issues/86. They are other ways I could address this, but this one is probably the most elegant.
I've set the lower limit to phpunit 5.3. I ran some quick tests with 5.3 and it appears to work reasonably well, although I didn't throw the kitchen sink at it.

Doesn't it make more sense to limit the dependency on phpunit rather than declare a conflict? Technically this package is still installable with an unsupported version of phpunit if you're not planning on running the tests right?

Problem is that it's not a dependency on framework. You can create a project without unit test. The root composer project ignores dev dependencies.

Okay if my project is using framework right now (@stable) and in my project I'm using the latest bleeding edge version of PHPUnit. I've got all my weird PHPUnit 7 specific greatness going and it's all hunky dory.
Now I see there's a new version of framework - I'd better update. Oh but I can't because it declares a conflict with my version of PHPUnit that I've been using for months.
I feel like that'll be a genuine problem that might occur from this. Perhaps I'm misunderstanding or assuming something incorrectly?

Can you get phpunit 7 working with SapphireTest?

We use PHPUnit 7 already in SilverStripe 5, and our recipes and modules all declare PHPUnit ^5.7 as their constraints. How are you expecting people to add ^6 to their projects given that it's always defined as a dev dependency?

This would only be relevant for someone who started their composer file from scratch and/or decide to upgrade to a later phpunit version afterwards.
The reason why I would like to add this is so I can tell the upgrader to require phpunit without having to tell it a specific version. This would avoid me having to hard-code a specific rule for phpunit. If we decide to support a newer version of phpunit in a later release, the upgrader would still work because it would be driven by the conflict rule.
At least, that was the plan. Just ran some tests locally against the PR and it looks like composer is not as clever as I'm giving it credit for. If you try running composer require phpunit/phpunit --dev, it will still try to install PHPUnit 7.5. Composer doesn't seem to be smart enough to look for a version that doesn't match the conflict constraint. It just does a hard fail without even telling you about the conflict rule.
This won't do for my purposes.

Actually, it can work, but you have to use a wild card composer require phpunit/phpunit:* --dev. When you don't specify a constraint it seems to assume you're always after the latest stable release.

I think I'd rather document the phpunit versions that work with each major release more clearly to be honest

I'll close since there's no consensus ... I ended addressing my issue by hard-coding it the upgrader.
If we decide to upgrade to a later version of PHP unit we'll need to update the upgrager.


[Bug] [Master] Data-Complement Fail strategy CONTINUE not working

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When crontab set to:
0 20 8,20 * * ? *
Data-Complement ENABLE
Fail strategy Continue
Schedule for one month tasks
when TASK in some day failed, it won't continue.
Version: apache-dolphinscheduler-3.1.3
What you expected to happen
Data-Complement Continue run when Fail strategy set to CONTINUE
How to reproduce
0 20 8,20 * * ? *
Data-Complement ENABLE
Fail strategy Continue
Schedule for one month tasks
Try Fail task
simplely like a shell task
[[ $(date +%H) -eq 20 ]] && exit 1

Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

when TASK in some day failed, it won't continue.

Do you use serial complement or parallel degree complement? It seems some workflow instance fail, and it will not to add the next complement command.

Do you use serial complement or parallel degree complement?

I use parallel degree complement, parallel set to 5, 3 of them success, but two of them were blocked by a failed workflow instance(i.e.: 2022-02-06, this day original data is loss, it won't success) . I need to re-config schedule time to skip the failed one.
I read the document again, and realized the Fail Strategy is not for Data-Complement，just for workflow instance. Can this be a feature for Data-Complement? It will be useful for no data relation workflow, when a lots of task need to be complete.


Issue 752

Resolves: https://github.com/Islandora-CLAW/CLAW/issues/752
Supersedes: https://github.com/Islandora-Devops/claw-playbook/pull/26
Fixes Ubuntu after breaking it with https://github.com/Islandora-Devops/claw-playbook/pull/27.
This passes the environment variable for what linux distribution you want as an "extra_var" so it's available in bootstrap.yml.  This way we don't have to gather facts, which was breaking because ubuntu doesn't ship with python.
To test
vagrant up and if you make it past bootstrapping, you're :+1:

I'll test now.  Thanks.

@MarcusBarnes++

The Ubantu VM was successfully built.

Sure, these all sound like good improvements. It'll be a bit before I can get to them. Stay tuned.

@Natkeeran @MarcusBarnes @jonathangreen I've just updated the PR.   Take a look when you have a chance.


Fix for #120. Rename jakarta-commons-logging to apache-commons-loggin…

…g in centos7

@sbaryakov please fix lint tests.

any chance to get this one merged ?

@sbaryakov could you please rebase so that acceptance tests runs on Travis CI?

@sbaryakov thanks


bump quic-go

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (68fac77) 65.77% compared to head (ab04b91) 63.08%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
- Coverage   65.77%   63.08%   -2.69%
==========================================
  Files           1        1
  Lines         149      149
==========================================
- Hits           98       94       -4
- Misses         39       42       +3
- Partials       12       13       +1

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


Relnotes for Desktop Enterprise 2107

Release note updates for Desktop Enterprise <IP_ADDRESS> release

Deploy preview for docsdocker ready!
Built with commit 4832c5854480b509502dc4aea2a3c390c3a5ee03
https://deploy-preview-9681--docsdocker.netlify.com


When I take a picture, it is automatically sideways.

I believe this is just based on your phones oreintation, which it sometimes gets wrong. So maybe a button in the UI to rotate the image?


flutter test doesn't work even on default project, exception from package:stack_trace: NoSuchMethodError: The method 'pathFromUri' was called on null

Steps to Reproduce

flutter create test_project
cd test_project
flutter test

Logs

[  +24 ms] executing: [/Users/mhmdanas/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +37 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 27321ebbad34b0a3fafe99fac037102196d655ff
[        ] executing: [/Users/mhmdanas/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +13 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.13+hotfix.5-0-g27321ebba
[  +12 ms] executing: [/Users/mhmdanas/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/mhmdanas/flutter/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +67 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +74 ms] switching to directory LocalDirectory: 'test' to run tests
[   +1 ms] running test package with arguments: [-r, compact, --concurrency=2, --, /Users/mhmdanas/Desktop/test_project/test/widget_test.dart]
00:00 +0: loading /Users/mhmdanas/Desktop/test_project/test/widget_test.dart                                                                                [ +192 ms] test 0: starting test /Users/mhmdanas/Desktop/test_project/test/widget_test.dart
[  +20 ms] test 0: starting shell process
[   +4 ms] Stopping scan for flutter_test_config.dart; found project root at /Users/mhmdanas/Desktop/test_project
[   +3 ms] Compiler will use the following file as its incremental dill file: /var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_compiler.9rsLIv/output.dill
[        ] Listening to compiler controller...
[   +2 ms] Compiling /var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_listener.F2qvuK/listener.dart
[  +13 ms] /Users/mhmdanas/flutter/bin/cache/dart-sdk/bin/dart /Users/mhmdanas/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/mhmdanas/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill
/var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_compiler.9rsLIv/output.dill --packages /Users/mhmdanas/Desktop/test_project/.packages -Ddart.vm.profile=false
-Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --initialize-from-dill /Users/mhmdanas/Desktop/test_project/build/testfile.dill.track.dill
[  +26 ms] <- compile /var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_listener.F2qvuK/listener.dart
00:01 +0: loading /Users/mhmdanas/Desktop/test_project/test/widget_test.dart                                                                                [+1149 ms] <- accept
[        ] <- reset
[        ] Compiling /var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_listener.F2qvuK/listener.dart took 1190ms
[   +3 ms] /Users/mhmdanas/flutter/bin/cache/artifacts/engine/darwin-x64/flutter_tester --disable-observatory --enable-checked-mode --verify-entry-points --enable-software-rendering
--skia-deterministic-rendering --enable-dart-profiling --non-interactive --use-test-fonts --packages=/Users/mhmdanas/Desktop/test_project/.packages
/var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_listener.F2qvuK/listener.dart.dill
[   +4 ms] Using this directory for fonts configuration: /var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_fonts.WlRaws
[   +6 ms] test 0: awaiting initial result for pid 45684
[ +503 ms] Shell: [ERROR:flutter/shell/testing/tester_main.cc(301)] Unhandled exception
[        ] Shell: Exception: NoSuchMethodError: The method 'pathFromUri' was called on null.
[        ] Shell: Receiver: null
[        ] Shell: Tried calling: pathFromUri(Instance of '_SimpleUri')
[        ] Shell: Stack trace: #0      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
[        ] Shell: #1      Context.fromUri (package:path/src/context.dart:985:32)
[        ] Shell: #2      Context.prettyUri (package:path/src/context.dart:1046:26)
[        ] Shell: #3      prettyUri (package:path/path.dart:464:34)
[        ] Shell: #4      Frame.library (package:stack_trace/src/frame.dart:99:12)
[        ] Shell: #5      Frame.location (package:stack_trace/src/frame.dart:113:14)
[        ] Shell: #6      Chain.toString.<anonymous closure>.<anonymous closure> (package:stack_trace/src/chain.dart:248:33)
[        ] Shell: #7      MappedListIterable.elementAt (dart:_internal/iterable.dart:417:29)
[        ] Shell: #8      ListIterable.fold (dart:_internal/iterable.dart:197:30)
[        ] Shell: #9      Chain.toString.<anonymous closure> (package:stack_trace/src/chain.dart:249:12)
[        ] Shell: #10     MappedListIterable.elementAt (dart:_internal/iterable.dart:417:29)
[        ] Shell: #11     ListIterable.fold (dart:_internal/iterable.dart:197:30)
[        ] Shell: #12     Chain.toString (package:stack_trace/src/chain.dart:250:8)
[        ] Shell: #13     LazyChain.toString (package:stack_trace/src/lazy_chain.dart:32:31)
[        ] Shell: #14     RemoteException.serialize (package:test_api/src/util/remote_exception.dart:51:48)
[        ] Shell: #15     RemoteListener._sendError (package:test_api/src/remote_listener.dart:166:32)
[        ] Shell: #16     RemoteListener.start.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/remote_listener.dart:139:11)
[        ] Shell: #17     _rootRunBinary (dart:async/zone.dart:1150:13)
[        ] Shell: #18     _CustomZone.runBinary (dart:async/zone.dart:1039:19)
[        ] Shell: #19     runZoned.<anonymous closure> (dart:async/zone.dart:1481:21)
[        ] Shell: #20     _CustomZone.handleUncaughtError (dart:async/zone.dart:1005:19)
[        ] Shell: #21     Future._propagateToListeners (dart:async/future_impl.dart:596:16)
[        ] Shell: #22     Future._completeError (dart:async/future_impl.dart:532:5)
[        ] Shell: #23     Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:580:7)
[        ] Shell: #24     _rootRun (dart:async/zone.dart:1126:13)
[        ] Shell: #25     _CustomZone.run (dart:async/zone.dart:1023:19)
[        ] Shell: #26     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
[        ] Shell: #27     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
[        ] Shell: #28     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
[        ] Shell: #29     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
[        ] Shell:
[   +3 ms] test 0: process with pid 45684 crashed before connecting to test harness
[   +2 ms] test 0: waiting for controller sink to close
[   +7 ms] test 0: cleaning up...
00:01 +0 -1: loading /Users/mhmdanas/Desktop/test_project/test/widget_test.dart [E]
  Failed to load "/Users/mhmdanas/Desktop/test_project/test/widget_test.dart":
  Shell subprocess cleanly reported an error before connecting to test harness. Check the logs above for an error message.
  Test: /Users/mhmdanas/Desktop/test_project/test/widget_test.dart
  Shell: /Users/mhmdanas/flutter/bin/cache/artifacts/engine/darwin-x64/flutter_tester

[   +6 ms] test 0: deleting temporary directory
[   +2 ms] test 0: shutting down test harness socket server
00:01 +0 -1: Some tests failed.
[  +11 ms] test 0: finished
[   +7 ms] Deleting /var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_compiler.9rsLIv...
[   +4 ms] killing pid 45683
[  +30 ms] Deleting /var/folders/bg/vf7hd0vs49n39lcyk_s0smb00000gn/T/flutter_test_fonts.WlRaws...
[   +5 ms] test package returned with exit code 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:258:7)
<asynchronous suspension>
#2      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#3      _rootRun (dart:async/zone.dart:1126:13)
#4      _CustomZone.run (dart:async/zone.dart:1023:19)
#5      _runZoned (dart:async/zone.dart:1518:10)
#6      runZoned (dart:async/zone.dart:1465:12)
#7      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#8      FastFlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:814:20)
#9      CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#12     _rootRun (dart:async/zone.dart:1126:13)
#13     _CustomZone.run (dart:async/zone.dart:1023:19)
#14     _runZoned (dart:async/zone.dart:1518:10)
#15     runZoned (dart:async/zone.dart:1465:12)
#16     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#17     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#18     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#19     new Future.sync (dart:async/future.dart:224:31)
#20     CommandRunner.run (package:args/command_runner.dart:112:14)
#21     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#22     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
#23     _rootRun (dart:async/zone.dart:1126:13)
#24     _CustomZone.run (dart:async/zone.dart:1023:19)
#25     _runZoned (dart:async/zone.dart:1518:10)
#26     runZoned (dart:async/zone.dart:1502:12)
#27     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#28     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#29     _rootRun (dart:async/zone.dart:1126:13)
#30     _CustomZone.run (dart:async/zone.dart:1023:19)
#31     _runZoned (dart:async/zone.dart:1518:10)
#32     runZoned (dart:async/zone.dart:1465:12)
#33     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#34     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#35     run (package:flutter_tools/runner.dart:50:10)
#36     main (package:flutter_tools/executable.dart:65:9)
#37     main (file:///Users/mhmdanas/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#38     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#39     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale en)
    • Flutter version 1.12.13+hotfix.5 at /Users/mhmdanas/flutter
    • Framework revision 27321ebbad (5 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /Users/mhmdanas/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.0
    • Java binary at: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.8.4

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2019.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 42.1.4
    • Dart plugin version 193.5731

[✓] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Note: flutter test actually used to work before. Now it suddenly stopped working, not only in default project, but in other projects too.

If it has stopped happening and we don't have a way to reproduce it, lets close the issue for now.


implement task monitor

Codecov Report

Merging #227 (41f621c) into master (7fd6ac5) will decrease coverage by 0.78%.
The diff coverage is 35.00%.

@@            Coverage Diff             @@
##           master     #227      +/-   ##
==========================================
- Coverage   63.90%   63.11%   -0.79%
==========================================
  Files          41       42       +1
  Lines        6707     6981     +274
==========================================
+ Hits         4286     4406     +120
- Misses       1940     2069     +129
- Partials      481      506      +25

Impacted Files
Coverage Δ

base/parallel.go
78.46% <0.00%> (ø)

master/master.go
0.00% <0.00%> (ø)

master/rpc.go
77.41% <0.00%> (-6.06%)
:arrow_down:

model/click/model.go
58.49% <0.00%> (-2.16%)
:arrow_down:

model/click/search.go
53.70% <0.00%> (-2.61%)
:arrow_down:

model/model.go
0.00% <ø> (ø)

model/ranking/data.go
86.61% <0.00%> (ø)

model/ranking/knn.go
74.16% <0.00%> (-2.56%)
:arrow_down:

model/ranking/search.go
48.33% <0.00%> (-2.55%)
:arrow_down:

server/local_cache.go
58.33% <0.00%> (ø)

... and 13 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 7c213ee...41f621c. Read the comment docs.


Ammend small typo: Change from set_cs to set_reg

set_cs is deprecated according to: https://docs.rs/x86_64/latest/x86_64/instructions/segmentation/fn.set_cs.html
Also in the post the displayed code uses x86_64::instructions::segmentation::CS::set_reg instead of x86_64::instructions::segmentation::set_cs

Thanks a lot!
The change was merged as part #1218, which also included the link update.


Set request version in CreateACL ClusterAdmin method

Right now the request version is always set to 0 when using CreateACL method. And it is therefore ignores the ResourcePatternType value causing created ACLs to be always of LITERAL type.
This PR fixes the issue and allows to create ACLs of any pattern type on brokers with versions 2.0+.

Thank you!


Make schemaPath specific and remove message from errors

After #20
schemaPath now points to the specific property which failed validation.
message basically duplicated that in a non-machine-readable format, so I removed that.
Messages can be inferred from the last schemaPath path component by consumers, if needed (in their own wording/language).
Two things to note:

jsonCheck error still has a message field, let's keep it that way for now
Another bit of information that was present in mesage is format name when format failed validation, it was must be ${node.format} format -- but no reason to keep message just for that, I think.

[target] logic is removed in test/misc.js because it doesn't work with pointers to specific rules (as those could be strings, for example). Also, validating schemaPath does the same, but in a cleaner way.
Also, use named arguments for error().

Rebased.


Reintroduce compileElements/projectInternalView

In 7.6 and 8.0, we backed out changes to introduce a dependency-management based way of getting access to a module for testing.
We should find a way to reintroduce this or define some steps we can take to reintroduce this feature.
See

https://github.com/gradle/gradle/pull/22565
https://github.com/gradle/gradle/pull/23281

Here is the use case https://github.com/jzrebiec/jvm-test-suite-issue/commit/1ba571a4ac9e01e8c0d4ed5f8d9b759f7d8bd769 from the issue #24050

I filed https://github.com/gradle/gradle/issues/25269, but it was closed as a duplicate of this issue.
I don't understand why it's considered a duplicate, but the developer who closed it said to add my use case(s) here.
When it was closed, the developer said:
"Your test suite with a dependency on project() can see the api transitive dependencies of the main component at compilation time and the implementation transitive dependencies of the main component at runtime.
If your test uses json, explicitly declare the dependency in your test suite while the linked issue is unsolved."
But in fact, the test suites cannot see any of the dependencies in project(), which was the whole point of filing the issue.
It's really simple to reproduce. Just unzip this, and try to run the command in the readme:
gradle-upgrade-bug-main-classes.zip
The bug makes test suites unusable.

In addition, this shows a different problem, where the dependencies from project() aren't seen by the test suites:
gradle-upgrade-bug-dependencies.zip
That bug also makes test suites unusable.

I checked the codebase for Gradle, and while there are several unit tests that verify dependencies in test suites, there aren't any that actually try to build a project that uses test suites. If you add tests that try to build, they'll fail the same as the zipped examples posted here.

an irrelevant answer

Blocked until 1.9.20 of KMP is released

Any update on this? KMP 1.9.20 was already released. And how is kotlin multiplatform related to this fix?

I tried to move to a jvm-test-suite based solution for integration tests and while implementation project() adds the main classes, none of the dependencies are added to the test suite. Having to duplicate the dependencies for the test suites seems like an obvious problem to me.
I'll ditto the previous commenter: what does KMP have to do with this?

@matsandreassen The workaround for your problem is to extend the integration test configuration from the project one e.g.
configurations["testIntegrationImplementation"].extendsFrom(configurations.implementation.get())

if you use annotationProcesor or runtimeonly dependencies, you can also extend them e.g.
configurations["testIntegrationAnnotationProcessor"].extendsFrom(configurations.annotationProcessor.get())

Encountered this issue as well. @jzrebiec workaround worked with minor adjustment as dependencies were under testImplementation and get() was not needed:
            configurations["testIntegrationImplementation"].extendsFrom(configurations.testImplementation)


feat: creating fullnode messages integration to wallet service

Closing this as this was replaced by the sync daemon

Closing this as this was replaced by the sync daemon


apple adding subset of the most used libproc api

r? @JohnTitor
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 0fe1d89466a725f64f350f6177b2f5e88b3aa452 has been approved by JohnTitor

:hourglass: Testing commit 0fe1d89466a725f64f350f6177b2f5e88b3aa452 with merge 02887baad33f2a7ffadd89ff842eeef43557249c...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 02887baad33f2a7ffadd89ff842eeef43557249c to master...


Sign In via twitter show  message "You've successfully registered via twitter"

Sign In via twitter show  message "You've successfully registered via twitter" but shouldn't

Fixed in https://github.com/ZFury/ZFury/commit/b3ef44dac7dd2f9411c183fc07074cebe95739b2


[Search] [Docs] Add a guide for integrating search into plugins

Hey, I just made a Pull Request!
So far, the only plugin we have that leverages search APIs to offer a focused search experience is TechDocs (which offers per-site search).  ...It'd be great to see more!
Here is a new docs page that aims to encourage that.
:heavy_check_mark: Checklist

[x] Added or updated documentation
[x] All your commits have a Signed-off-by line in the message. (more info)

Here we introduce another type of "tutorial" or "guide" as a recipe I wonder if is worth trying to align the different ones a bit.

Also a good call-out, Thanks @emmaindal!  I decided to go with tutorial because guide feels more like a step-by-step to me, which these are not.


Align with latest template-multi project

Motivation:
The template-multi project has evolved since the codec-multipart was created from it, so, we need to align this project with the latest template-multi, like the .github workflow, etc...
All this is necessary in preparation for a release.
While aligning this project to the template-multi, I also found that the template contains a "leak" profile with this:
        <test.argLine>-Dio.netty.leakDetectionLevel=paranoid -Dio.netty.leakDetection.targetRecords=32</test.argLine>

I think it's wrong, and the following properties should be used instead of the above (when the tests must be run with leak detector):
+        <test.argLine>-Dio.netty5.leakDetection.level=paranoid -Dio.netty5.leakDetection.targetRecords=32 -Dio.netty5.buffer.leakDetectionEnabled=true -Dio.netty5.buffer.lifecycleTracingEnabled=true</test.argLine>

So, this PR is now using the correct leak detection properties (I will make another PR in order to fix this in the template-multi).
Motifications:
Aligned the .github/ dir, the parent pom.xml and the SECURITY.md with the one from the template-multi.
Also did minor fixes in README.adoc
Results:
the project structure is closer to the other netty-contrib projects and is in a releasable state.
Also, the tests can now be run with the leak detector using the "leak" profile.

There are some leaks ! so the CI build fail ... I'll investigate with probably another PR.

Rebased on top of main to pick up #15

rebased on top of main to pick up #17

@chrisvest ,
Can you take a look ?
It's just an alignment of the MP project with other netty-contrib project structures (.github files, etc ...), so it will bring the project closer to a releasable state (hopefully :sweat_smile:)
thanks.

thanks for the review,
I got some feedback from my team, so maybe I'll do another PR (hopefully the very last one before releasing :rocket:)


Unclosed AsyncClient warning

I am getting the warning
/opt/virtualenvs/python3/lib/python3.8/site-packages/httpx/_client.py:2012: UserWarning: Unclosed <httpx.AsyncClient object at 0x7fbff4298310>. See https://www.python-httpx.org/async/#opening-and-closing-clients for details.
  warnings.warn(

every time I execute a command. I installed postgrest-py via poetry.

How are you running this? The warning is because the underlying httpx.AsyncClient isn't being closed at the end; an easy way to ensure that it's closed is to use AsyncPostgrestClient with a context manager:
async with AsyncPostgrestClient(url) as client:
    # do queries here
    # the connection is closed when the 'with' block ends

Otherwise, you can explicitly call the aclose method at the end:
https://github.com/supabase-community/postgrest-py/blob/34fd1bda6893782a955340e39bcdba6633034a69/postgrest_py/_async/client.py#L56


Add ConnectCore 8X SBC Pro device type

Change-type: minor
Signed-off-by: Alex Gonzalez<EMAIL_ADDRESS>

@balena-ci I self-certify!
Reviewed by @vipulgupta2048

@balena-ci I self-certify!


Panic when annotation has smaller arity than function definition

If I write a function with 2 arguments, and annotate it with an annotation that has fewer than 2 arguments, the type-checker will panic. For example:
threeArgs : Int, Int -> Int
threeArgs = \a, b, c -> a + b + c # My annotation should have 3 args but it only has 2

This is because there's a call to zip() which zips the arguments in the function definition together with the arguments in the annotation, and if one is longer than the other, arguments in the definition will get silently dropped by zip. When the function body then goes to refer to those arguments, the lookup will fail even though it worked back in the name resolution stage of canonicalization.
The fix for this should include tests for all 4 of these cases: (note that the zip appears in differnent places for recursive vs nonrecursive functions)

[ ] Annotation has more arguments than definition (recursive function)
[ ] Annotation has more arguments than definition (nonrecursive function)
[ ] Annotation has fewer arguments than definition (recursive function)
[ ] Annotation has fewer arguments than definition (nonrecursive function)

They will both have different symptoms!

This doesn't seem to panic anymore - has this issue been satisfactorily resolved?
» threeArgs : Nat, Nat -> Nat
… threeArgs = \a, b, c -> a + b + c # My annotation should have 3 args but it only has 2
… threeArgs 7 8 9

── UNRECOGNIZED NAME ───────────────────────────────────────────────────────────

The #UserApp module does not expose anything by the name c.

── TOO MANY ARGS ───────────────────────────────────────────────────────────────

The threeArgs function expects 2 arguments, but it got 3 instead:

6│      threeArgs 7 8 9
        ^^^^^^^^^

Are there any missing commas? Or missing parentheses?

»

@rtfeldman This doesn't seem to panic anymore - has this issue been satisfactorily resolved?
» threeArgs : Nat, Nat -> Nat
… threeArgs = \a, b, c -> a + b + c # My annotation should have 3 args but it only has 2
… threeArgs 7 8 9

── UNRECOGNIZED NAME ───────────────────────────────────────────────────────────

The #UserApp module does not expose anything by the name c.

── TOO MANY ARGS ───────────────────────────────────────────────────────────────

The threeArgs function expects 2 arguments, but it got 3 instead:

6│      threeArgs 7 8 9
        ^^^^^^^^^

Are there any missing commas? Or missing parentheses?

»

Looks like it! 👍


Don't generate a diff image if there's no difference

As of right now, unless I have it configured wrong, an image will be created regardless if whether it's different or not.
imageDiff({
  actualImage: 'one.png',
  expectedImage: 'two.png',
  diffImage: 'diff.png'
}, function (err, imagesAreSame) {
  // If one.png and two.png are the same, a blank png gets created regardless
})

It would be nice, if in the example above, if one and two were the same, no image was created and saved to the system.
Reading through the source, it looks like this might be an imagemagick issue. Maybe not.

Yep, I don't think this is possible with imagemagick; either we provide an outfile or we don't (and ignore stdout/stderr). Can you explain your use case more? Typically people want consistent behavior for a low level library like this =/

I'm currently writing a CLI tool to take a bunch of screenshots on various webpages, and then compare them against a set of base images to catch any visual regressions from CSS/HTML changes. It's misleading to me to output an image to the diff directory, when there's actually no diff. I'm taking care of this on my end by watching for imagesAreSame and deleting it if they are the same, but I thought it would be nice to have an option here to not produce a blank image with no diff.
Sorry if that doesn't make sense, it's early :smile:

Ah, alright. Thanks for the clarification. Since there is a workaround and no easy/performant support, I think it's prob best to close this issue.
@mlmorg Can we close this issue?

Thanks @mlmorg =)


修改 defaultField ts 类型，支持递归

Coverage remained the same at 89.892% when pulling 83198adacf2d58bb179a6b1198f4e56f6561d47d on tolerance-go:patch-1 into 933acdd3888c47994c0b6677205e1d9161cd6a71 on yiminghe:master.

Coverage remained the same at 89.892% when pulling 83198adacf2d58bb179a6b1198f4e56f6561d47d on tolerance-go:patch-1 into 933acdd3888c47994c0b6677205e1d9161cd6a71 on yiminghe:master.


The official Semantic-UI-React library http://technologyadvice.github.io/stardust

Maybe merge your work to official repository?

@tearsofphoenix Thanks. I already receive the request. :) You could see #65 for more information.


feat(*): move workspace snapshots into layerdb

Moves storage and fetch of the workspace snapshot into its own layer cache and database (WorkspaceSnapshotDb). This enables us to use an Arc without extra copying when performing read-only graph operations.
Some changes were required to the blocking_commit and commit internals to ensure we perform a rebase even if no transaction has been opened in the Dal Postgres transactions state.

bors try

bors try

bors try

bors r+


Async mouse and keyboard input on windows

Closes: https://github.com/ppy/osu-framework/issues/6141
Should fix: https://github.com/ppy/osu-framework/issues/6181

Depends on:

[x] #6234

This PR simply handles relative mouse and keyboard events in the SDL_EventFilter i.e. HandleEventFromFilter.
This works because SDL queries raw mouse and keyboard inputs on a separate thread. Our SDL_EventFilter will intercept those events before they are pushed to the internal SDL queue, handle them, and then request SDL to drop them.
Testing
Apply the diff and toggle relative mouse mode in TestSceneInputManger.
This isn't a perfect simulation of SDL_PumpEvents() lag, but it shows the async input in action.
diff --git a/osu.Framework/Platform/SDL3Window.cs b/osu.Framework/Platform/SDL3Window.cs
index aac3baf44..737547203 100644
--- a/osu.Framework/Platform/SDL3Window.cs
+++ b/osu.Framework/Platform/SDL3Window.cs
@@ -460,6 +460,7 @@ private void setSDLIcon(Image<Rgba32> image)
         private void pollSDLEvents()
         {
             SDL3.SDL_PumpEvents();
+            Thread.Sleep(100);

             int eventsRead;

This seems to break input on my VM setup. Yes I have a weird setup but it did work, so something has potentially changed or broken. I haven't yet investigated why, but can if required (if the issue isn't obvious).
master:
https://github.com/ppy/osu-framework/assets/191335/4790d1b2-2fe9-490b-98f4-e2291c77040f
this PR:
https://github.com/ppy/osu-framework/assets/191335/44ab0dd0-4436-4f7f-8aca-4a291e68f1c5

Hmm, it's weird that the relative mouse movements align with the cursor in one scenario but not the other. But I wouldn't call it broken, the framework cursor is still moving proportionally to your mouse movements.
The weirder thing is that the mouse cursor isn't hidden when in relative mode.
I have no idea what could cause any of this. But if you'll be looking at this, don't forget to enable event logging with
SDL3.SDL_SetHint(SDL3.SDL_HINT_EVENT_LOGGING, "2"u8);

the framework cursor is still moving proportionally to your mouse movements

I tried to show this, but it's actually not proportionally correct either. I'll see what I can find.


Prune and document the docker packages

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
https://github.com/autowarefoundation/autoware/packages
Packages:

autoware-universe
autoware-openadk
autoware
autoware-openadk-modular
openadkit

@oguzkaganozt @youtalk could you please remove (if you don't have permissions, I can remove them too) unused packages from here?
And for the remaining, could you add a documentation to a suitable place where people can see and understand what to use when?
Right now this page is a mess and very confusing for newcomers.

Also we can't keep renaming these packages as people rely on these to be stable. Let's discuss what to keep in the open ad kit wg and move forward that way.
Also when these are renamed, the community should also be alerted through github, discord announcements.

I think these packages are no longer needed. @oguzkaganozt What do you think?

autoware-universe
autoware-openadk
autoware-openadk-modular

https://github.com/orgs/autowarefoundation/discussions/4555#discussioncomment-9933131

I've set the visibility of all other packages than autoware and openadkit to private ✅


Wrong display width/height with ST7735

I've got this cheap ST7735-based TFT module (DRV_DISP_ADAGFX_ST7735, INITR_GREENTAB, https://www.aliexpress.com/item/1-8-inch-TFT-LCD-Module-LCD-Screen-Module-ST7735-SPI-serial-51-drivers-4-IO/32964493983.html).
Even though it initializes correctly, the UI width and height is all wrong in every rotation. I've tried to edit the driver manually to a lower resolution, but I end up getting garbage (as expected).
Can you check this up, if possible?

Hi — thanks for the report. I will be able to test more thoroughly tomorrow evening but in the interim I have a couple suggestions:

What size & resolution display are you using? For example, if you have the 1.44” 128x128 display, could you try initializing DRV_DISP_ADAGFX_ST7735_INIT to INITR_144GREENTAB?

Can you confirm that the Adafruit_ST7735 example graphicstest runs properly? If so, what changes were required to have it run?

Thanks!

From your update I see that you have a 1.8” display: I understand from the Adafruit example that INITR_BLACKTAB might be a more appropriate initialization mode to use. I would be interested to know if that improves the resolution settings.

Hey @ImpulseAdventure,
1: it's a 1.8'', 128x160 SPI TFT display, green tab.
2: Yes, it runs properly, with both INITR_GREENTAB and INITR_BLACKTAB. Even the text is wrapped properly. (I only changed TFT_RST to 0 and TFT_DC to 9 so as to match your library.)

3: Same as above, the Adafruit GFX graphicstest runs perfectly.
4: All of the examples run successfully, but it seems that the library doesn't realise it's a small screen. See this picture (this is with GSLC_ROTATE set to 0):

Thank you for the details & photos! It looks like GUIslice is working properly, though that example requires a larger display.
In general, most examples are typically designed to place GUI elements on the common 320x240 display size and thus were not intended to “auto-size” to smaller resolutions.
That said, in light of your posting, I think I should create an example that targets smaller display resolutions (eg. 128x128), suitable for a ST7735.

Hi @amyspark -- I have now added example ex40_ard_ctrls_small to the repository. This example was designed to fit on small displays such as those supported by ST7735 (eg. 128x128). Hopefully this should enable you to confirm the library operation.

I'll test later with a bigger Arduino (the new example exhausts my Uno's memory). Thanks for the example @ImpulseAdventure !

Thanks for the followup. Extensive debug messaging is enabled by default in GUIslice. If you are running on a low-memory device like the UNO, you can disable error messaging by setting #define DEBUG_ERR 0 in Section 5 of the example config. Using a device with more memory would naturally offer greater flexibility.

Hi brightproject.
I also had the same issue and solved it by changing  ST7735_TFTWIDTH_128  and ST7735_TFTHEIGHT_160 variables in Adafruit_ST77xx.h library file.
The default values are 128 and 160. I increased each according to my screen. (131,161).
/
#define ST7735_TFTHEIGHT_160 161


Update google-cloud-trace to 1.3.4

Updates com.google.cloud:google-cloud-trace from 1.0.3 to 1.3.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-trace" } ]

labels: library-update, semver-minor

Superseded by #175.


test(vitest): added setup

Closes #143
Signed-off-by: Lukas Mertens<EMAIL_ADDRESS>
Stack:

#164
#161
#160
#154
#153
#140
#139
#138
#136
#148
#135
#147 ⬅
#134
#132
#129
#130
#128
#127
#126
#125
#146

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

@nzbr I know, that's why I chose this order: 1. add test setup, 2. add feature + tests, 3. add ci run. This way the diff stays clean/easy to understand but in no commit the pipeline breaks

✓ Commit merged in pull request #164


15.0.0^: cli issues with Git Bash (MINGW64)

When I install<EMAIL_ADDRESS>I'm running into a lot of unexpected behaviors.
It appears the shell script that's being installed during the global install process is being generated as such:
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac

#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac

if [ -x "$basedir/node" ]; then
  "$basedir/node"  "$basedir/node_modules/now/download/dist/now.exe" "$@"
  ret=$?
else
  node  "$basedir/node_modules/now/download/dist/now" "$@"
  ret=$?
fi
exit $ret

I'm not sure why the cases are being duplicated in this instance... But the biggest problem I was experiencing was that now spat out no output regardless of how I tried to use it. I think the bash script may have been why.
I modified the script a little bit and it seems to work from DOS or a terminal emulator like MINGW or CYGWIN:
#!/bin/sh
basedir=$(dirname "$(echo `which $0` | sed -e 's,\\,/,g')")

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
    *MINGW*) basedir=`cygpath -w "$basedir"`;;
esac

if [ -x "node" ]; then
  node  "$basedir/node_modules/now/download/dist/now" "$@"
  ret=$?
else
  "$basedir/node_modules/now/download/dist/now.exe" "$@"
  ret=$?
fi
exit $ret

Closing because we have moved away from the pkg pre-compiled binaries, so now this .cmd file generation is all being handled by npm/yarn.
Can you please try out Now CLI >= 16.0.0 and open a new issue if you are still experiencing any troubles? Thank you!


Can't set key binding to ctrl shift l

In previous versions I've used ctrl+shift+l to transform to lowercase and not had any issues. I just tried using on the bind on 1.33.1 and nothing happened. So I tried to rebind it but it won't let me type ctrl+shift+l. Shift+l and ctrl+l on their own work.
Versions I've reproduced this on:
Version: 1.33.1 (system setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134
Version: 1.34.0-insider
Commit: b7c5e104a44b65e937408a10cbb8b49d6dfd19bf
Date: 2019-04-12T11:20:43.178Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17134
Steps to Reproduce:

Open keyboard shortcuts
Attempt to bind CTRL+SHIFT+L to any command.

Does this issue occur when all extensions are disabled?: Yes
Here's me trying to bind it and failing.
https://gfycat.com/officialselfreliantfruitbat

I've since reinstalled my drivers and this seems to be resolved. I was trying to replicate this on linux and ctrl+shift+l would work but ctrl+shift+u wouldn't. I think it's fair to say that something was/is wrong with my keyboard but I think it's still worth someone else trying to replicate this.
https://gfycat.com/RegalReadyAfricangroundhornbill

I have tried to reproduce, but was unable to do so, therefore closing this issue for now.


[DOP-13010] - add owner_id to namespace, namespace_history

Change Summary

Add owner_id field to Namespace model to keep track of the owner of the namespace.
Add owned_by association to render owner in response data
Update following tests and documentation

Related issue number

Checklist

[x] Commit message and PR title is comprehensive
[x] Keep the change as small as possible
[x] Unit and integration tests for the changes exist
[ ] Tests pass on CI and coverage does not decrease
[x] Documentation reflects the changes where applicable
[x] docs/changelog/next_release/<pull request or issue id>.<change type>.rst file added describing change
(see CONTRIBUTING.rst for details.)
[x] My PR is ready to review.

Из вот этой строки убери : https://github.com/MobileTeleSystems/horizon/blob/07a6dd4c6478422939e03066068a257f47fdfbdc/pyproject.toml#L260C1-L260C26
Иначе coverage все еще включает down миграцию в проверку покрытия


folder: add offline prop to folder and make component

I made a component and a story shot for the component and a prop to the Folder component, but I'm not sure if the scope of this ticket includes calling that prop from somewhere. It seems to me like it probably should, but I'm not really sure how to get started on that or if the framework is in place yet.
Issue: KBFS-4018

Added top bar (without sort) to the offline folder, and I think I covered all the cases for the offline prop.


Summarize in a text file like license:aggregate-add-third-party

I have set the audit.failOnError=false but would like to get a report (using Jenkins) not in the console but in a text file. TXT, XML, JSON or HTML to be able to present this to the "users".
Maybe like the license:aggregate-add-third-party (http://www.mojohaus.org/license-maven-plugin/aggregate-add-third-party-mojo.html)

I like it. I will attempt to include a first cut at this during the rewrite. With a bit of back-and-forth we can tune it so that it works for you.

Thumbs up :-)

A straight port to the OSS Index 2.0 API is completed. Further testing is ongoing, and adding this feature is next. This will be 2.1 -- I expect to have it working by the end of the weekend, so ignore the 2.0.0 release for now.

A new version, 2.1.1 has been uploaded to Maven Central. I have added a new argument, -Daudit.output=<path> which will export the results in a variety of formats, depending on the file extension. You can output in multiple formats by providing a comma separated list of file paths (either relative or absolute paths will do). For example:
mvn install net.ossindex:ossindex-maven-plugin:audit -Daudit.failOnError=false -Daudit.output=test.json,test.xml,test.txt

You will get three different files output, each with a different format.
The structure of the JSON and XML formats follow the internal representation of the data in the maven plugin itself (I simply serialize the objects to disk). You will see every requested package, including their transitive dependencies, regardless whether there are vulnerabilities or not. If a package has known vulnerabilities then it will have the "vulnerability-total" field assigned a value greater then 0. If there are vulnerabilities that affect the requested version of the package, then the "vulnerability-matches" matches field assigned accordingly, and the "vulnerabilities" list will be filled with the details. Here is a sample with one non-vulnerable package and one vulnerable package in JSON:
[
  {
    "vulnerability-total": 0,
    "vulnerability-matches": 0,
    "groupId": "org.apache.commons",
    "artifactId": "commons-dbcp2",
    "version": "2.1.1"
  },
  {
    "parent": {
      "groupId": "org.apache.commons",
      "artifactId": "commons-dbcp2",
      "version": "2.1.1"
    },
    "vulnerability-total": 39,
    "vulnerability-matches": 1,
    "vulnerabilities": [
      {
        "id": 348558,
        "title": "[CVE-2011-5034]  Improper Input Validation",
        "description": "Apache Geronimo 2.2.1 and earlier computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters.  NOTE: this might overlap CVE-2011-4461.",
        "versions": [
          "1.0",
          "1.1",
          "1.1.1",
          "1.2",
          "2.0.1",
          "2.0.2",
          "2.1",
          "2.1.1",
          "2.1.2",
          "2.1.3",
          "2.1.4",
          "2.1.5",
          "2.1.6",
          "2.1.7",
          "2.1.8",
          "2.2",
          "2.2.1"
        ],
        "references": [
          "http://archives.neohapsis.com/archives/bugtraq/2011-12/0181.html",
          "http://cve.mitre.org/cgi-bin/cvename.cgi?name=2011-5034",
          "http://secunia.com/advisories/47412",
          "http://www.cvedetails.com/cve-details.php?t=1&cve_id=CVE-2011-5034",
          "http://www.kb.cert.org/vuls/id/903934",
          "http://www.nruns.com/_downloads/advisory28122011.pdf",
          "http://www.ocert.org/advisories/ocert-2011-003.html",
          "https://github.com/FireFart/HashCollision-DOS-POC/blob/master/HashtablePOC.py",
          "https://web.nvd.nist.gov/view/vuln/detail?vulnId=2011-5034"
        ],
        "published":<PHONE_NUMBER>610,
        "updated":<PHONE_NUMBER>500,
        "cve": "CVE-2011-5034"
      }
    ],
    "groupId": "org.apache.geronimo.specs",
    "artifactId": "geronimo-jta_1.1_spec",
    "version": "1.1.1"
  },
]

You'll note that the vulnerable package's "parent" is commons-dbcp2, this is not necessarily the direct parent but does indicate that geronimo-jta_1.1_spec is a downstream dependency of commons-dbcp2.
Take a look when you get a chance and let me know if this satisfies your needs sufficiently.

Note I am not particularly aware of the full capabilities of Jenkins, so am not certain whether you are looking for a particular file structure, or if the output as I have presented it here is sufficient. I'd also like to mention that over the next week or two I will be putting a fair amount of effort into updating the Java data in the back-end, so you might see a fair amount of churn depending on what dependencies you use.

Fantastic work :+1: It works brilliant ! I will try to dig into how it can be showned in a report on Jenkins.
Where do you fetch the information about security vulnerabilities from ?

Great to hear. I am quite interested to hear how it works out.
We pull in vulnerability information from a variety of sources, and are trying to expand our coverage over time:

National Vulnerability Database
Other vulnerability databases, which can have crossover even when they are ostensibly for other platforms (for example, databases that report on JavaScript projects for which there are webjars)
Issue tracking systems
Advisories and mailing lists
Blogs
Searching the web for various projects (manual searching currently)

Any time we can find a list of vulnerabilities somewhere we will endeavour to cross reference their data with ours, so if you have any favourite sources please do let us know and we can try to include that source as well.
Currently there is a mix of manual and automatic processing. We are working on increasing the amount of automation.

Thanks a lot for the info :-) Really really useful plugin you have created !


FR: export auth.tokenVerifier

https://github.com/firebase/firebase-admin-go/blob/be821cdc340e4dcaf1abf04910f727c8b8bda086/auth/token_verifier.go#L51
Export the tokenVerifier would be helpful for the use case when we just want to verify the token.
Another use case is user can override the idTokenCertURL or sessionCookieCertURL for testing
https://github.com/firebase/firebase-admin-go/blob/be821cdc340e4dcaf1abf04910f727c8b8bda086/auth/token_verifier.go#L42

We have no plans to add these types to the public API. In general we want to keep the internal implementation hidden, so we have control over it to make changes at will.
As for testing, you should define your own interfaces for these APIs so they can be mocked out easily:
interface TokenVerifier {
  VerifyIDToken(ctx context.Context, idToken string) (*auth.Token, error)
}

The auth.Client implicitly implements the above interface. You can specify your own custom implementation for unit testing.


"Item Stats" plugin does not recognise Bottle of Wine as food

Describe the bug
The item stats plugin does not show me how much health the bottle of wine will restore and does not show how much attack I will loose. I understand it isn't super game breaking but it was quite annoying. this might be an issue with other food but the bottle of wine was the only one I saw
To Reproduce

Put mouse over Bottle of Wine with the item stats plugin enabled

Expected behavior
does not show how much health it will restore
Screenshots

Environment

OS: windows
RuneLite version: 1.5.4
Launcher version: 1.6.0

Sorry I don't really know how github works but this bug was annoying me

Can you confirm that, per the wiki, it heals 14 hitpoints and has no other effects?

Can you confirm that, per the wiki, it heals 14 hitpoints and has no other effects?

it also takes away 3 attack levels

Ok, so just to be clear, it did heal 14hp as well?

Ok, so just to be clear, it did heal 14hp as well?

yes it heals 14 hp


Dapr Serialization Error with Dapr CLI Publish

In what area(s)?

/area runtime

What version of Dapr?

0.1.x

Expected Behavior
Publish with Dapr CLI and ASP.NET subscriber does not generate serialization error.
Actual Behavior
Publishing to a topic with the Dapr CLI and an ASP.NET subscriber generates a serialization error.
Steps to Reproduce the Problem

Run ASP.NET subscriber: dapr run --app-id my-subscriber --app-port 5000 -- dotnet run
Publish to a topic: dapr publish --publish-app-id my-subscriber --pubsub pubsub --topic bar --data '{"data":"bar"}'
Error: The JSON value could not be converted to Subscriber.Foo. Path: $ | LineNumber: 0 | BytePositionInLine: 24.

To reproduce, see this repo: https://github.com/tonysneed/DaprSerializationError

Note: No serialization error takes place when a simple string is passed to a subscription with a string parameter.

Duplicate of https://github.com/dapr/dotnet-sdk/issues/634. Problem solved. On Windows double quotes need to be escaped with backslashes. 🤦♂

Duplicate of dapr/dotnet-sdk#634. Problem solved. On Windows double quotes need to be escaped with backslashes. 🤦♂

If you are in Powershell on Windows those backslashes are not needed.
(Confusing I know)


close modal on escape

Codecov Report

Merging #594 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #594      +/-   ##
==========================================
+ Coverage   99.72%   99.72%   +<.01%
==========================================
  Files         259      259
  Lines        6510     6535      +25
  Branches     1523     1530       +7
==========================================
+ Hits         6492     6517      +25
  Misses         18       18

Impacted Files
Coverage Δ

src/components/modal/ModalBackdrop.tsx
100% <100%> (ø)
:arrow_up:

src/components/modal/ModalReducers.ts
100% <100%> (ø)
:arrow_up:

src/components/modal/ModalBackdropConnected.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


New Item Registry Breaks Backward Compatibility

The change in moving the item registries to its own class breaks backwards compatibility with any mods that access static fields previously found in Embers' RegistryManager class.
It may be a good idea to re-implement this class with fields linking to their respective registries.

Please report any broken compatibility you find. We already have an extensive list of mods were we re-established compatibility.
Moving the registration of blocks and items into their own classes was a choice made to declutter the  main register class and we won't add it back. We much rather implement specific compat on our end if a mod breaks with our fork.

It's for a new mod of mine Survival Tools. I can add the compat myself, but just wanted to mention the issue as the change in your fork breaks pretty much every mod accessing that class.

We are aware of that. That's why we keep a list of all the mods we fixed compatibility issues with.
If you don't want to do it yourself I can publish a fix for it tomorrow. Nonetheless, thanks for the heads up.

I'll handle the fix myself since my mod is still in development and the Mixin fix can easily break if I have to change the handler for some reason.


Add cleaner

Worked together with @HadiyahL on this. We added post and get routes for cleaners. Also frontend form to create new cleaner and post it to backend.

Nice progress @HadiyahL and @g1st 👏  I've left a few comments, sorry that I won't be able to properly review it.
One final point - would it be possible to add a bit more context to why you're making these changes? For instance, why do we need to add cleaners? Who will be using the form? Is there a Trello card related to this work?

Thanks @Harriethw for your comments, they are very helpful! I am just a little bit unsure where the the missing context of changes should go. Do you mean here in the PR comment or somwhere else (trello, miro, slack)? For now I'll just say here that we need to make it possible for administrator (or anyone from Spring Action Cleaning) to add new cleaners to the database so later one they can assign those cleaners for specific jobs and see their work history. I added Trello card for this.

Nice progress @HadiyahL and @g1st 👏
What am I doing wrong?

@GTabala I am not sure what do you mean by your last message. Sorry that I added only @HadiyahL to the initial commit message as we were working on this together with VS Live Share plugin. I just want to assure that you are doing great progress and contributing immensely to the project!


fix file-expand arrow direction

I think these arrow direction are reverse #173

@ArLEquiN64
Thanks for the PR. I cannot tell which one is the correct directions. Maybe that's because my eyes have get used to the old one ;)
Could you give me an example/screenshot of how these arrows look like in other apps?

@all-contributors please add @ArLEquiN64 for code


Bun text-based lockfile format (bun.lock) is not supported by the nuxi upgrade command

Environment

Operating System: Windows_NT
Node Version:     v22.12.0
Nuxt Version:     3.15.0
CLI Version:      3.17.2
Nitro Version:    2.10.4
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      default
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>pinia-plugin-persistedstate/nuxt
Build Modules:    -

Reproduction

Init project using Bun:

bun x nuxi@latest init example
cd example

Change lockfile to text-based bun.lock:

bun i --save-text-lockfile

Remove old binary bun.lockb:

rm bun.lockb

Try to upgrade:

bun x nuxi upgrade

Describe the bug
Instead of upgrade you got an error:
ERROR  Unable to determine the package manager used by this project.

No lock files found in ..., and no packageManager field specified in package.json.

Please either add the packageManager field to package.json or execute the installation command for your package manager. For example, you can use pnpm i, npm i, bun i, or yarn i, and then try again.

Additional context

In Bun v1.2.0 the default lockfile format will change to bun.lock
https://bun.sh/docs/runtime/bunfig#install-savetextlockfile

Logs

resolved in https://github.com/nuxt/cli/pull/614


Add support for markdown -> XAML parsing

This adds support to the Terminal for parsing Markdown to XAML. We're using https://github.com/github/cmark-gfm as our parser, so that we can support the fullness of github-flavored markdown.
The parser parses the markdown to produce a RichTextBlock, which covers just about all the scenarios we need. Since we're initially just targeting using this for "Release notes", I didn't implement everything in markdown. But headers, bold & italic, unordered lists, images, links, code spans & blocks - all that works. We can work on additional elements as we need them. The parser is encapsulated into Microsoft.Terminal.UI.Markdown.dll, so that we won't load it on startup, only when the pane is actually made the first time.
To test this out, I've added a MarkdownPaneContent pane type on x-markdown (the x- is "experimental"). Go ahead and add that with:
{ "command": { "action": "splitPane", "type": "x-markdown" } }

That's got the ability to load arbitrary MD files and render them. I wouldn't call that experience finished though[^2][^3](and it probably won't be in 1.22 timeframe). However, it is an excellent testbed for validating what we do and do not support.
We'll use the markdown parser SoonTM for the What's New panes.

Done in pursuit of displaying release notes in the Terminal.
Doesn't quite close out #16495
Should make #8647 possible
may help with #16484

[^1]: the most notable gap being "block quotes" with >. I don't think I can draw a vertical line in a rich text block easily. Footnotes are also missing, as well as tables.
[^2]: I say it's not finished because the aforementioned MD gaps. Also the UX there is not polished at all.
[^3]: I don't believe we'll have time to polish out the pure markdown pane for 1.22, but what the parser covers now is more than enough for the release notes pane in time for 1.22


Random test now available for the adder. Fails with a stack overflow …

…on examples with 650 bits

@mkorbel1 Is there a way to increase the stack size in Dart so that we don't hit a stack overflow error when working with 650 bit adders? Is there a lot of recursion inside the Dart simulator that might be causing this?
smburns@smburns-XPS-13-9370:~/ROHD/dart-pg/sklansky$ dart test test/sklansky_test.dart --plain-name 'adderRandom adder_650'
00:01 +0 -1: adderRandom adder_650 [E]
  Stack Overflow
  package:rohd/src/values/logic_value.dart 280:41  LogicValue.toString.<fn>
  dart:core                                        new _GrowableList.generate
  package:rohd/src/values/logic_value.dart 280:12  LogicValue.toString
  package:rohd/src/values/logic_value.dart 127:23  LogicValue.of.<fn>
  dart:core                                        new _GrowableList._ofEfficientLengthIterable
  package:rohd/src/modules/bus.dart 151:62         Swizzle._execute
  package:rohd/src/modules/bus.dart 143:9          new Swizzle.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/modules/gates.dart 207:9        _TwoInputBitwiseGate._execute
  package:rohd/src/modules/gates.dart 194:7        _TwoInputBitwiseGate._setup.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/modules/bus.dart 85:14          BusSubset._execute
  package:rohd/src/modules/bus.dart 76:7           BusSubset._setup.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/modules/bus.dart 152:9          Swizzle._execute
  package:rohd/src/modules/bus.dart 143:9          new Swizzle.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/modules/gates.dart 207:9        _TwoInputBitwiseGate._execute
  package:rohd/src/modules/gates.dart 194:7        _TwoInputBitwiseGate._setup.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/modules/bus.dart 85:14          BusSubset._execute
  package:rohd/src/modules/bus.dart 76:7           BusSubset._setup.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/modules/bus.dart 152:9          Swizzle._execute
  package:rohd/src/modules/bus.dart 143:9          new Swizzle.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  .                                                ...
  .                                                ...
  package:rohd/src/modules/gates.dart 194:7        _TwoInputBitwiseGate._setup.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/modules/bus.dart 85:14          BusSubset._execute
  package:rohd/src/modules/bus.dart 76:7           BusSubset._setup.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  package:rohd/src/logic.dart 271:7                Logic._connect.<fn>
  package:rohd/src/logic.dart 446:25               Logic.put
  test/sklansky_test.dart 145:11                   testAdderRandom.<fn>

To run this test again: dart test test/sklansky_test.dart -p vm --plain-name 'adderRandom adder_650'
adder:<PHONE_NUMBER>836812759313325637912508255537535214315586495879430796578571070866797883083557183765831691174296207740223668164073333337864819475213625961188542909505648205287396707218007041970145732200<PHONE_NUMBER>525067014820450385970580323274998194533180467780631588296854441716914817004833724537803739030759912953399505954458672186486717092210015017386647456960309740172996485603211241546754820001<PHONE_NUMBER>916751870245216299645990262121867417426241594746969246546567741362027056306336189514647116831726395690262501032386771889663088057212915787179643037695915398915481883936355110656378285577<PHONE_NUMBER>916751870245216299645990262121867417426241594746969246546567741362027056306336189514647116831726395690262501032386771889663088057212915787179643037695915398915481883936355110656378285577
...

I haven't seen this before.  From the stack trace, I think the chain of Logic.put is the signal propagating through the design.  I don't know of a way to increase the stack size but I haven't tried before.  I'll experiment a bit with this.

I don't think there's an easy way to just increase the stack size in Dart, though it is apparently possible (I think down this route: https://unix.stackexchange.com/questions/127602/default-stack-size-for-pthreads/127615#127615).
However, I have some paths to go down that I think should make this much harder to hit while also improving simulation performance.  I also might have a way to make it so you'll never hit this.  I'll keep you updated!
I think this only would affect really long combinational chains of logic.

I think that is right. However you might specify a really long combinational chain expecting that synthesis will fix it up.
There is a 512-bit priority mux in OpenROAD’s version of Black Parrot that is specified in a linear way like this (the output of sv2v).
You might also want to use an inefficient but easy to understand design as a reference in a miter simulation with a block you care about.
From: Max Korbel @.>
Sent: Tuesday, November 8, 2022 8:53 AM
To: stevenmburns/rohd_sklansky @.>
Cc: Burns, Steven M @.>; Author @.>
Subject: Re: [stevenmburns/rohd_sklansky] Random test now available for the adder. Fails with a stack overflow … (PR #6)
I don't think there's an easy way to just increase the stack size in Dart, though it is apparently possible (I think down this route: https://unix.stackexchange.com/questions/127602/default-stack-size-for-pthreads/127615#127615).
However, I have some paths to go down that I think should make this much harder to hit while also improving simulation performance. I also might have a way to make it so you'll never hit this. I'll keep you updated!
I think this only would affect really long combinational chains of logic.
—
Reply to this email directly, view it on GitHubhttps://github.com/stevenmburns/rohd_sklansky/pull/6#issuecomment-1307523690, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALRI7V34EOOOHG2UTPIM6TWHKAOHANCNFSM6AAAAAARZSLHFQ.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

@stevenmburns I didn't fully fix the issue yet, but the changes in this PR should significantly mitigate the issue and allow longer chains of combinational logic.  A full fix requires a bigger set of changes.
https://github.com/intel/rohd/pull/199


How can I listen data storage result ?

I want to listen data storage result, when it is true to do something, other not.

Do you mean reactivity in localStorage? Are you want to listen to value change?

Yes, I want to listen Whether the data is saved successfully, not the saved data.

@laobie how can it be not saved? Please, provide a pseudocode example.
I can make a localStorage variables like computed (something like mapGetters from vuex), but it will not see data changed outside current Vue instance

When I do like below:
this.$localStorage.set(KEY, token)
this.$router.replace('another_age')

And in another page, I get the saved value, but the value is not new.
OK, may I mistake design my code, I'm a beginner.

@pinguinjkeke I log the data, and found them are same. Sorry I make a mistake.


Treasure maps on trees...

I am curious as to why you took down the list of trees that can randomly spawn treasure maps..?  I have most of them memorized and took a map from in RIO on the tree in the lightning patch, the tree outside thieves landing, and the tree near stillwater creek.  I would love to see it go back up.  Thanks for all your hard work.

Treasure maps on trees have never been removed from the map. Go to Random Encounters category => Treasure map on tree
https://jeanropke.github.io/RDOMap/?q=tree_map


Produce both sierra json and casm when building a project

When running protostar build-cairo1, both sierra json and casm compiled contracts should be produced.
Outputs should be exactly equivalent to running
cargo run --bin starknet-compile -- /path/to/input.cairo /path/to/output.json and cargo run --bin starknet-sierra-compile -- /path/to/input.json /path/to/output.casm in new cairo compiler.

This is not a critical feature as declare will handle compilation under the hood, I am moving it back to next milestone. Let me know it that is an issue


Delete button from home page for anon not working

No more delete button from home page, uses navigate to Temporary Collection page and can delete from there.


Workspaces doesn't recognize firefox developer edtion

Microsoft PowerToys version
0.85.1
Installation method
WinGet
Running as admin
Yes
Area(s) with issue?
Workspaces
Steps to reproduce
Try to create new workspace

Open firefox developer edition while in capture mode in order to add it to workspace:

Default firefox version is added

✔ Expected Behavior
Workspace with firefox developer edition
❌ Actual Behavior
Workspace with regular firefox edition
Other Software
No response

The original version of Firefox also cannot be recognized.
A temporary solution is to directly edit the workspaces.json file located at:
C:\Users\{user_name}\AppData\Local\Microsoft\PowerToys\Workspaces\workspaces.json
and modify the "application" and "application-path" fields accordingly.


Add k8sDistro parameter and pass to DaemonSet

Allows the Kubernetes distribution name to be set during provisioning, and passes it to the node container using the K8S_DISTRO env var.
This will be used for pre-configuring for specific distributions and for telemetry.

rebased


Added line about availability

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Better than nothing, I guess - Thanks contributing @ronandev! and congratulations on your first contribution to freeCodeCamp!


https://t.me/nchatusers/544

Description:
How to reproduce it:
Environment:

Version:
OS / distro:

Insufficient information provided in bug report.
Please complete the bug report template and describe the bug in the title field.

[x]


KOGITO-8677: SWF Diagram Editor - i18n

Hello @LuboTerifaj, @romartin,
there are discussed changes about i18n of all string literals. Visually should be nothing changed, but now all literals can be changed in SWConstants.properties files and i18n if needed.

Hello @kiegroup/gatekeepers this PR is ready for merge. Thank you!


Fix minor stuff (and add dialyxir to CI)

Adds dialyxir to CI, fixes Dialyzer -issued warnings, and compile-time warnings.

@odo, hi. Is this lib. still maintained? Any chance this pull request gets reviewed? Many thanks.

(not sure if the lib. is still maintained). @odo, bump! 😄 Thanks.

Hi and thanks for contributing! I have no write access to this repo anymore (account of former employer).
But Im am happy to merge PRs on my fork at https://github.com/odo/eflatbuffers/

Is this repository no longer maintained? Do you know of a more recent FlatBuffers/Elixir library? I mean, I could also pull request to your, but then we'd have to change some other stuff to pull from the correct repo 😄

Hm... it seems the Hex.pm package is owned and published by you. So if I pull request there are you able to publish to Hex.pm?


[Core] Bump msal-extensions to 1.2.0a1

Fix https://github.com/Azure/azure-cli/issues/28737
Related command
az login
az account get-access-token
Description
Bump msal-extensions to 1.2.0a1 in order to adopt https://github.com/AzureAD/microsoft-authentication-extensions-for-python/pull/128.
Testing Guide
$ az login --service-principal
$ az account get-access-token
...
  "expiresOn": "2024-04-15 19:57:04.000000",
  "expires_on":<PHONE_NUMBER>,
...
$ az account get-access-token
...
  "expiresOn": "2024-04-15 19:57:04.000000",
  "expires_on":<PHONE_NUMBER>,
...

Notice executing az account get-access-token twice will return the same expiresOn and expires_on.

Core

Thanks for your cooperation. Sure, you have the right to merge the pull, and do as well.