Unsupported architectures in 8.x

This issue is more-or-less related to #460, but seem to be specific to 8.x, while #460 was specific to 7.x. It's also related to a Debian bug report.
Can unsupported architectures be used in versions 8.x?
The old XSIMD_ENABLE_FALLBACK does not seem to be used anymore (although it's still referenced in the docs and in a unit test), and the automatically-defined XSIMD_NO_SUPPORTED_ARCHITECTURE seems to prevent loading the non-SIMD definitions.
I've tried compiling a code sample from the docs on a MIPS box, but the compilation fails:
(sid_mipsel-dchroot)lamy@eller:~/src/xsimd$ uname -a
Linux eller 4.19.0-20-octeon #1 SMP Debian 4.19.235-1 (2022-03-17) mips GNU/Linux
(sid_mipsel-dchroot)lamy@eller:~/src/xsimd$ g++ --version
g++ (Debian 11.3.0-3) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(sid_mipsel-dchroot)lamy@eller:~/src/xsimd$ g++ -I include/ foo.cpp -o foo
foo.cpp: In function 'void mean(const vector_type&, const vector_type&, vector_type&)':
foo.cpp:11:46: error: 'simd_type' is not a member of 'xsimd'
   11 |     constexpr std::size_t simd_size = xsimd::simd_type<double>::size;
      |                                              ^~~~~~~~~
foo.cpp:11:56: error: expected primary-expression before 'double'
   11 |     constexpr std::size_t simd_size = xsimd::simd_type<double>::size;
      |                                                        ^~~~~~
foo.cpp:16:23: error: 'load_aligned' is not a member of 'xs'
   16 |         auto ba = xs::load_aligned(&a[i]);
      |                       ^~~~~~~~~~~~
foo.cpp:17:23: error: 'load_aligned' is not a member of 'xs'
   17 |         auto bb = xs::load_aligned(&b[i]);
      |                       ^~~~~~~~~~~~

Can unsupported architectures be used in versions 8.x?

Basically no. On unsupported architectures, only the scalar version makes sense.

Got it, thanks!

Should we reopen this Issue, and use it to track patching ot xsimd/test/CMakeLists.txt to allow tests to pass on all architectures?(meaning running scalar-mode tests only on "unsupported" arches)
From the structure of test/CMakeLists.txt I think it will be straightforward t reorganise.  Just split XSIMD_TESTS into XSIMD_SCALAR_TESTS and XSIMD_VECTOR_TESTS, with some new cmake option to switch off XSIMD_VECTOR_TESTS when desired.
Or alternatively set a property XSIMD_VECTOR_SUPPORTED_ARCHITECTURES identifying known arches that support vector mode and used with CMAKE_SYSTEM_PROCESSOR (with an OSX caveat)

I'm getting confused over this scalar mode and how it appears in the unit tests: the tests I would intuitively expect to pass on scalar mode (e.g. test_basic_math.cpp) are templated on one of the types list defined in test/test_utils.hpp, and expect some kind of batch-like interface (e.g. static constexpr size_t size = B::size). So when compiling the unit tests on an unsupported architecture (ppc64el in my latest test), SFINAE kicks in: the tests compile fine, but no test suite is generated.
It seems that even though a scalar usage of xsimd works on unsupported architectures, it is not tested by the current unit tests.


UniqueKey API / docs

UniqueKey -

Remove partitioned collections from docs - change to containers.
Change constructor to take paths.

This is done.


DHT11 Example code

I received a message as follows.
I've pulled up the python script dht11.py in the EXAMPLES directory and ran it with a DHT11 attached to the gpio as described in the online manuals. After reformatting the Print statement to list the Temp and Rel Humid on one line, what I get is:

================================ RESTART ================================
T: 0 C, RH: 0 %
T: 0 C, RH: 0 %
T: 0 C, RH: 0 %
T: 0 C, RH: 0 %

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run()
File "/usr/local/lib/python2.7/dist-packages/pigpio.py", line 868, in run cb.func(cb.gpio, newLevel,
tick)
File "/home/pi/pigpio/EXAMPLES/Python/DHT11_SENSOR/dht11.py", line 69, in
either_edge_callback handler(tick, diff)
File "/home/pi/pigpio/EXAMPLES/Python/DHT11_SENSOR/dht11.py", line 91, in _edge_RISE
raise
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

T: 25 C, RH: 36 %
T: 25 C, RH: 36 %
T: 25 C, RH: 36 %
T: 25 C, RH: 36 %

=== I hit CTRL-C to kill it ===
So, the code returns 0's for Temperature and Humidity until it hits some exception and then it starts getting and listing the reasonable (actual?) values. Any idea what is going wrong at the start? Sometimes it gives 0's for quite awhile before it hits the exception and starts giving real values. Other times it will stay at T=0, but return low humidity values like 1% or 5% and continues on without hitting the exception, but this is much less common.
I will have a look at the problem but can't commit to a time-scale.

I have just got a DHT11 so can use the code.  It works fine with Python2 but does not work with Python3.  I'll assume this is by design.
I have had no other reports of errors so am closing this issue.


bot activated

Related Issue
Closes: #119
Describe the changes you've made
Added a script that can auto-label issues with the GSSOC21 label whenever contributors ask to work under that label.
Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Enhancement in the existing features
[ ] Other

Mention any unusual behaviour of your code (Write NA if not)
None
Checklist:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly whereever it was hard to understand.
[x] My changes generate no new warnings.
[x] I have verified/tested my code by running it locally.

Additional Info (optional)
Please merge my request and assign me a GSSOC tag and a level tag.

Nice work @aishux

Tha

Nice work @aishux

Thankyou :blush: Please give me a level tag.


[Performance] Do not use reflection to check if annotation is present

Cache the DeferUntilPostDiet flag instead of using reflection to check

This PR is included in #1771 - so I' closing this


support for links & buttons

creating one issue to track both.

This has been done for awhile. can't remember the PR.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-31-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4817

Questions ?
Please refer to the Backport tool documentation


HTTPRoute Resources Should Not Be Required for the Gateway API Runner

https://github.com/envoyproxy/gateway/pull/197 connects EG components using the watchable library. The gateway API runner requires gatewayclass, gateway, and httproute resources to be received over the snapshot channel to translate resources to the IR. However, httproute resources are not needed for the infra IR.
xref: https://github.com/envoyproxy/gateway/blob/main/docs/design/SYSTEM_DESIGN.md#design-decisions

This issue is a v0.2.0 release blocker since conformance test base manifests don't create an httproute before checking the Gateway conditions/addresses. The gatewayapi translator must create the infra without the need for an httproute.


Rendering exception: geometry of undefined

I frequently get the following exception when loading a page with a Cesium viewport:
An error occurred while rendering. Rendering has stopped.
TypeError: Cannot set property 'geometry' of undefined
TypeError: Cannot set property 'geometry' of undefined
at Object.M.unpackCombineGeometryParameters (http://localhost:8080/repos/devel/ng-web/master/assets/cesium/Workers/combineGeometry.js:231:19895)
at r (http://localhost:8080/repos/devel/ng-web/master/assets/cesium/Workers/combineGeometry.js:231:21981)
at i (http://localhost:8080/repos/devel/ng-web/master/assets/cesium/Workers/combineGeometry.js:231:21277)
at http://localhost:8080/repos/devel/ng-web/master/assets/cesium/Workers/combineGeometry.js:231:21418
It happens both with Cesium 1.56.1 and 1.57.0.  Haven't checked any older versions.
Browser:
Chrome v73
Operating System:
macOS Mojave

@heinerlamprecht can you please provide some sample code to reproduce the error in Sandcastle?  Thanks!

Feel free to re-open this with a reproducible example; there's no action we can take here without.


List of limitations in expression lambdas vs statement lambdas

Certain things cannot be used in expression lambdas, such as the null propagation operator, and dynamic. A list of such items would be useful here.

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

ID: 12c8b202-5b65-9d30-d57e-dd060a507b9a
Version Independent ID: 92cfc461-56ed-c046-bb03-cc5e46ebf5ba
Content: Lambda Expressions
Content Source: docs/csharp/lambda-expressions.md
Product: dotnet-csharp
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Note. By #11313, the referenced article was merged (and afterwards removed and redirected) into the following article:
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions

@pkulikov Do I need to move my feedback somewhere else?

Now, this issue is visible here, at GitHub, but not anymore on docs.microsoft.com. Would be "nice-to-have" to resubmit the issue under the actual existing article (and close this one in such a case).
By the way, as for the issue itself:

Certain things cannot be used in expression lambdas, such as the null propagation operator, and dynamic.

The following expression lambda is fine (compiles and runs):
Func<string, int> test = s => s?.Length ?? 0;
Console.WriteLine(test("t"));

@zspitz do you mean expression lambdas that are to be converted into expression trees? The following
System.Linq.Expressions.Expression<Func<string, int>> e = s => s?.Length ?? 0;
Console.WriteLine(e);

generates a compile-time error:
error CS8072: An expression tree lambda may not contain a null propagating operator.

If that's the case, then the article about expression trees might be more fitting one for the issue:
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/expression-trees/index

@pkulikov My understanding of the terminology is as follows:

lambda expressions means the actual syntax used by C# or VB.NET:
(string s) => s.Length
Function(s As String) s.Length
Depending on context, this might either compile to an anonymous method, or to an expression tree.

expression lambdas are expression trees generated by writing lambda syntax in a place where an Expression<TDelegate> is expected:
Expression<Func<string, int>> expr = (string s) => s.Length
Dim expr As Expression(Of Func(Of String, Integer)) = Function(s As String) s.Length

statement lambdas are anonymous methods generated by writing lambda syntax in a place where it is interpreted as a delegate:
Func<string, int> del = (string s) => s.Length
Dim del = Function(s As String) s.Length

If that's the case, then the article about expression trees might be more fitting one for the issue

Perhaps. If anything, it should be together with the section on generating expression trees using lambda expressions.

@zspitz That's not correct, and the sections you linked to contradict what you're saying.
The section on expression lambdas says:

A lambda expression with an expression on the right side of the => operator is called an expression lambda.

And it also lists Action line = () => Console.WriteLine(); (a lambda that is converted to a delegate) as an example of expression lambda.

@svick @pkulikov I stand corrected (not enough coffee...).


Make streaming concatenation rules check the style for compacting indexes

This PR adds a rule check for compact_indexing_and_selections in the streaming concatenation token annotation.
Fixes #1851

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (b5a2cf2) 93.13% compared to head (a82b9aa) 93.13%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1872   +/-   ##
=======================================
  Coverage   93.13%   93.13%
=======================================
  Files         354      354
  Lines       25827    25828    +1
=======================================
+ Hits        24053    24054    +1
  Misses       1774     1774

Impacted Files
Coverage Δ

verilog/formatting/token_annotator.cc
96.75% <100.00%> (+<0.01%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

It would probably good to also have a test in formatter_test.cc. The token annotation is the implementation detail, but the result should also be tested in the context of the #1851 expected output.

I have added a new test that covers this case with the mentioned flag turned off


Prompting for .watchmanconfig in "add" command is not script friendly

Running wml add always prompts for adding/updating .watchmanconfig with .git and node_modules ignores even if the watchmanconfig already exists. This makes it hard to automate the adding of wml links.

This workaround work for me:
printf 'n\nn' | wml add

this will say no for the two questions


Convert all configs to use new "error" style

Right now our configs do this:
{
  "rule-name": 2
}

But this can be rewritten to:
{
  "rule-name": "error"
}

The latter is more readable.

Agreed

I can take this one.

@joshuacolvin Actually, I think I should take this one, if you haven't started it yet. There are some pending rule change PRs that I need to merge for v9. They won't apply cleanly if we change every line of the config first. Hopefully you haven't started this uet.

No worries! I haven't started yet.

This is now resolved.


How to add Week 6 HUD into a custom stage

What is your question?
I was wondering, is it possible to add the Week 6 HUD into a custom Pixel Stage?

your stage's json has to have
"isPixelStage" = false
to
"isPixelStage" = true


Make Prepared Spells more Distinguished

Take another cue from Tidy5e sheet here and make Prepared spells easier to distinguish from unprepared spells.

fixed in 0.10.1


kernel: HAVE_EFFICIENT_UNALIGNED_ACCESS

bpf will fail when this feature is not enabled, and obviously Android won't support architectures where this isn't true, but the upstream situation seems unclear?
earlier lkml thread: https://lore.kernel.org/all/mhng-3469a0a8-a337-4b56-8e4f-b5a8bc47c4e9@palmerdabbelt-glaptop/

we've added a CTS test for this, and (in 6.6) the kernel actually checks at runtime whether unaligned access is fast or not, so no need to get kconfig right any more.

Just to double check, Android will require that unaligned loads and stores be fast for both scalar and vector?  The vector crypto code being added to OpenSSL and Linux relies on unaligned vector loads and stores for the input and output data.

Just to double check, Android will require that unaligned loads and stores be fast for both scalar and vector? The vector crypto code being added to OpenSSL and Linux relies on unaligned vector loads and stores for the input and output data.

yes. (though __riscv_hwprobe() doesn't distinguish between the two cases.)

The kernel does not currently probe/know vector unaligned access behavior, so we should probably check that along with adding a separate hwprobe key.

since i'm contractually obliged to read all the uapi header changes each release anyway, if/when i see that go in, i'll add it to our CTS test :-)


Cleanup code in main

Delete --karras-max argument as it's no longer used.
Mark regex strings, as without it there special characters may interfere.
Fix - in some places there tuples instead of values itself.
Delete get_learned_conditioning and channels from InvokeAIStableDiffusionPipelineOutput as it's methods for compatibility with legacy classes.
Delete bsgran/image_degradation as it's not referenced anywhere.
Also could someone look at:
https://github.com/invoke-ai/InvokeAI/blob/main/invokeai/backend/config/model_install_backend.py#L450
This logic looks strange, IMHO)
It's works as .startswith("/VAE/") + it's case sensitive + if it's for internal relative path it's should not starts with / + if we check for vae it's should be not in config path

@lstein @damian0815
Any thoughts on this PR? If we are holding on making any of these changes, would like to make sure we keep track of perspectives/thoughts in this PR

All of the syntax improvements look great :+1: . Can't comment on bsrgan, etc, deletions though (makes sense to me on the surface, but I don't know enough about that)

I'm going to review this later today - sorry I missed seeing it!

@lstein - Any chance you reviewed?

It looks good to me. I'm going to approve;  there are some conflicts that need fixing.

@StAlKeR7779 I've merged with main and resolved conflicts. The image_utils.py file was deleted in your PR but modified in main. Out of an excess of caution I added it back in.

@lstein It's intended deletion - all folder deleted and this just one file from it.
Conflict just due to small patch with new logging in main.


Whatsapp bot voice control

This feature in WhatsApp bot Where in the user could speak up the task to be done by the Whatsapp bot.
Updated requirements
resolves #34

Thank you for the label

Great work . Please star the repo 💫

Sure


Temporarily disable prop_outputsSatisfyMinAdaRequirement

[x] Temporarily disable failing prop_outputsSatisfyMinAdaRequirement

Comments

It is failing due to too-loose validation of user-specified outputs containing datum hashes.
The validation logic should take the full WriteTx.TxOut / Ledger.TxOut into account.

Was also thinking about just adding something like this to balanceTx:
    guardTxOutMinAda (Cardano.Tx (Cardano.ShelleyTxBody _ body _ _ _ _) _) =
        let outs = WriteTx.outputs (WriteTx.recentEra @era) body
        in mapM_ guardOut $ zip [0..] outs

      where
        guardOut
            :: (Int, WriteTx.TxOut (WriteTx.ShelleyLedgerEra era))
            -> ExceptT ErrBalanceTx m (Cardano.Tx era)
        guardOut (ix, out) =
            -- when not enough:
            throwE
                $ ErrBalanceTxSelectAssets
                $ ErrSelectAssetsSelectionError
                $ SelectionOutputErrorOf
                $ SelectionOutputCoinInsufficient
                $ SelectionOutputCoinInsufficientError
                    { minimumExpectedCoin = error "todo"
                    , output = toWalletOutput out
                    }

but doing nothing for now at least.
Issue Number
ADP-2347

Do we have a ticket to re-enable prop_outputsSatisfyMinAdaRequirement again, once we've produced a fix?

I mentioned ADP-2419 in the todo.
bors r+


feature/add link english document in to Japan document

What's this PR do? Please give a technical summary (required)

Add link english document in to Japan document

@at-suho
Please check this PR


Try to catch imports of gogo/proto during linting

List imports in fabric code and ensure gogo/proto is not directly imported.

+1

Hit known flake: added a comment on the Jira (which is already high priority)


Add new formatter "constraint"

Hi there,
I propose adding a new formatter called "constraints". My request is to have validate.js return ONLY the constraint names as the validation result. Ex:
var c = {
  foo: {
    numericality: true,
    length: {
      is: 23
    }
  }
};
var o = {
  format: 'constraint'
};
var errors = validate({ foo: "bar" }, c, o));

/*
errors = {
  foo: ["length", "numericality"]
}
*/

This is really useful because I can then create localized error messages in my UI based on the constraint that fails.I think doing this help solve #69 as well, so people don't have to rely on the message formatted by validate.js and can instead render their own error message.
I have the code change ready to merge this. If there's already a way to do it, then please let me know and I can close the issue. I know we can use { message: '^numericality' } to get a similar result but this essentially makes it much easier and less verbose.
Thanks!

My "hack" to achieve the custom error message is to change convertErrorMessages to return the keypath of the constraints object where validation fail. So instead of
errors = {
  foo: ["length", "numericality"]
}

I have
errors = {
  foo: ["length.is", "numericality"]
}

This way, I'm able to tell whether to display "{field} must be less than {count} characters", "{field} must be more than {count} characters" or "{field} must be {count} characters"

A fix has been released in 0.12.0


add more cash fusion resources

https://bitcoinmagazine.com/articles/do-coinjoins-really-require-equal-transaction-amounts-for-privacy-part-one-cashfusion
https://old.reddit.com/r/btc/comments/cuo3hi/cash_fusion_mini_simulator/exzu9eh/

NACK for the article. I don't think that adds anything to the combinatorics issue. Maybe you can reference specific parts only. ACK for the Reddit post.

I was just about to say the same thing for the article. Also the mini-simulation should just be a reference to the github link with the code (https://gist.github.com/fyookball/0b79a56b484063ac25d1ccaf22894dbb) and then we should demo it at the next meeting.


(OraklNode) Updates for fetcher 12 hrs run script

Description
Adds sync functionality to admin

Syncs information from https://config.orakl.network/ and adds entries to the table (adapters, feeds)

Adds entrypoints

./node/cmd/admin/main.go: entrypoint to run only admin api
./node/cmd/test_fetcher/main.go: entrypoint which runs both admin and fetcher
./node/cmd/test_aggregator/main.go: entrypoint to test run aggregatorNode

Adds admin api Run() function

Launches fiber app for admin api

Fetcher updates

Execution codes based on message bus

START_FETCHER_APP : starts all fetchers
STOP_FETCHER_APP : stops all fetchers
REFRESH_FETCHER_APP : stops all fetchers, initialize, start all fetchers

Added functions

startAllFetchers(): starts all loaded fetchers
stopAllFetchers(): stops all loaded fetchers

Task updates

local-admin: runs only admin api
local-fetcher-test: runs both admin api and fetcher

Script

script added(./cmd/test_fetcher/script.sh) which performs following 2 actions

call /adapter/sync from admin api, then sleep 10 seconds
call /fetcher/refresh from admin api

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

might add procedure to add proxy to the script

LGTM! just one question, does this mean you keep monitor this for 12hrs? Or you run it every 12 hrs?

I am planning to run it once for long term and see how it goes. I only have been testing it shortly just making few requests. but I'm trying to see how it'll end up if run for a long time, there might be memory leak or panic failure, or any other kind of runtime errors


Conda-based python debugging is broken

Issue Type: Bug

Install python and libraries via conda
Write a script that uses said version of python and libraries
Select the conda environment option in vscode
Launch debugger with config:
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
Expected:
program runs
Actual
Python throws an exception because it doesn't find the installed libraries. Program runs fine from an anaconda prompt.

VS Code version: Code 1.39.1 (88f15d17dca836346e787762685a40bb5cce75a8, 2019-10-10T23:31:28.683Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz (12 x 3592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.92GB (17.69GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.3.0

vscode-eslint
dba
1.9.1

gitlens
eam
10.1.1

vscode-npm-script
eg2
0.3.9

dotenv
mik
1.0.1

vscode-azurefunctions
ms-
0.19.0

python
ms-
2019.10.41019

remote-wsl
ms-
0.39.9

azure-account
ms-
0.8.6

csharp
ms-
1.21.5

powershell
ms-
2019.9.0

debugger-for-edge
msj
1.0.11

vscode-jest
Ort
3.0.2

vscode-hexdump
sle
1.7.2

Only seem to be able to get this to work when I launch vscode from the anaconda command prompt.

Please file this issue on the vscode-python extension's repo: https://github.com/microsoft/vscode-python/issues


⚠ TADA Wallet Web has degraded performance

In f9849b2, TADA Wallet Web ($WALLET_WEB_URL) experienced degraded performance:

HTTP code: 200
Response time: 8205 ms

Resolved: TADA Wallet Web performance has improved in 38e20d3.


flutter logs output does not match flutter run output

Flutter version 1.22.2
Running on Android Physical Device and Android Emulator.
I have noticed that using flutter run results in different output from flutter logs command.
The expected behaviour is that log output captured from the device would match in both flutter run and flutter logs
Here is a comparison of the same scenario on the device, producing different logs captured from the device.
flutter logs
Showing Moto G 5 Plus logs:

I/FlutterBluePlugin(11708): setup
I/flutter (11708): Observatory listening on http://<IP_ADDRESS>:41088/ges8GJXaKYU=/

flutter run
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on Moto G 5 Plus is available at: http://<IP_ADDRESS>:46703/ewlO1sM0cuY=/
W/ConnectionTracker(14181): Exception thrown while unbinding
W/ConnectionTracker(14181): java.lang.IllegalArgumentException: Service not registered: lv@417ba8c
W/ConnectionTracker(14181):     at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1493)
W/ConnectionTracker(14181):     at android.app.ContextImpl.unbindService(ContextImpl.java:1653)
W/ConnectionTracker(14181):     at android.content.ContextWrapper.unbindService(ContextWrapper.java:703)
W/ConnectionTracker(14181):     at ci.f(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(040308-0):1)
W/ConnectionTracker(14181):     at ci.d(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(040308-0):2)
W/ConnectionTracker(14181):     at lw.E(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(040308-0):9)
W/ConnectionTracker(14181):     at lg.a(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(040308-0):3)
W/ConnectionTracker(14181):     at eg.run(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(040308-0):3)
W/ConnectionTracker(14181):     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
W/ConnectionTracker(14181):     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/ConnectionTracker(14181):     at iz.run(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(040308-0):5)

Flutter run has captured a large amount of warnings from the device that flutter logs did not capture.

Hi @safield
Where you getting flutter logs? Please provide steps to reproduce the issue and does it reproduce it on the emulator as well?
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

flutter logs is a flutter command...lol
flutter run --verbose is not relevant here as the issue is literally related to the output of flutter run. There is no minimal complete code sample here, as you just have to run flutter run and flutter logs in parallel and observe their output.
Your response put about as much critical assessment into the issue as a bot...

Hi @safield
Tried both commands on latest stable (1.22.4) and noticed similar output using Android device (8.1.0) and an emulator (Pixel 3XL)

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.4 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 1aafb3a8b9 (11 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (3 available)
    • SM A260G (mobile)                   • 5200763ebcfa861f
      • android-arm • Android 8.1.0 (API 27)
    • sdk gphone x86 arm (mobile)         • emulator-5554
      • android-x86 • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!

Can you upgrade to latest stable and try again to see if issue still persists ?
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Overzealous escaping

(in Quickbook). Fix is in progress. See https://www.boost.org/doc/libs/1_76_0/libs/json/doc/html/json/ref/boost__json__object/operator_lb__rb_.html
operator\[\](

Might be due to a recent regression.
From Vinnie:
"I think the rule is, you need to escape unless you are in a code block (backticks)
or the triple backtick delimiter"

I found another broken test case: brackets in ref links. That problem has been around for a longer time. The one cited in this issue (brackets in code blocks) is due to a recent regression (in 407fa7163113cd8f52140f9b572c982651382ce9). They are two separate issues with two different fixes, but they're so closely related that I'll keep both of them in the same test file and fix both under the same issue.


feat(creds): Add edit credentials command

What does this change
Adds porter credentials edit command allowing the user to edit their credentials.
What issue does it fix
#890
Checklist

[ ] Unit Tests
[ ] Documentation

[ ] Documentation Not Impacted

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

Oh one thing I just realized after watching the gif (thanks for that, very cool 👍) is that this doesn't let the user change where the credential is found. For example, when they generated the credential set, they said "find my database password in an environment variable Then later they need to edit to to find it in another source, for example in a secret store, so they need to change the CredentialSource key from env to secret.
It would be preferable if either they can edit the entire CredentialSource (both key and value, right now this only lets them set the value) or even the entire CredentialSet at once as an option.

This is looking exactly like what I was hoping for!
I think this one may be difficult to unit test, due to the editor part. But I do have some tricks that I can help out with that we have used in other parts.
We use a helper method that needs to be present in the package (it gives us a test main that mocks out the executable being called on the file system)
https://github.com/deislabs/porter/blob/master/pkg/exec/main_test.go
Here's a test that uses it to verify that a command as called and that it received the expected arguments.
https://github.com/deislabs/porter/blob/master/pkg/exec/exec_test.go#L42
I see you still have this PR in draft still. Are you ready for a full review or do you still have more work/questions that you have first?

Thanks for the feedback Carolyn!
I still have some work to do, and to give it a good test before submitting it for review :) thanks for the hints on the unit tests, that's something I still need to do as well, and some manual testing on Windows. Speaking of which, I was having some troubles compiling porter on Windows, do you have a few pointers on doing that? Maybe there was a doc I missed, I'm not sure!
Good point on editing the entire credential set at once including the source. Do you think editing the entire set at once in a text representation, sort of like git rebase -i for interactively editing commits would be suitable, or am I overlooking a much simpler way of doing it?

Dang we really need to support compiling on Windows. Right now the way to test on Windows is to run make xbuild-all and then copy the resulting windows binary from your bin to a Windows machine.
What you just showed, opening the entire credential set in yaml is what I had originally imagined how the feature would work. 👍

Ah, gotcha! I did find make xbuild-all after poking around the CI to see how it builds for Windows :)
Good to see we're thinking the same things so far! I'll take the PR out of draft so you can have a review if you like? I've tested on Linux and Windows, as well as setting Visual Studio code as an editor with the --wait option. All seems to work pretty well. Some feedback would be good if you don't mind having a look :)

@carolynvs Thanks for all the feedback, should be sorted out now. Would you mind doing another review? Hopefully it's getting close to merge 😄

/azp run porter-integration


Update flash offset align check

Update flash offset align check
Description

There is flash start offset align check condition in unit test case of test_iot_flash.c
I think it assumes the flash start offset is less than block size.
If the flash start offset is set to the even multiple of the block size, the block size alignment check fails.
For example,

pxFlashInfo->ulBlockSize = 0x10000 (64K)

ultestIotFlashStartOffset = 2 * pxFlashInfo->ulBlockSize

Then the alignment check fails.

This update extends the alignment check condition to support the flash start offset larger than the block size.
Checklist:

[x] I have tested my changes. No regression in existing tests.
[x] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

/bot run checks

/bot run checks

The code style checks are failing which is blocking the merge of the PR. Can you uncrustify the file using the config here:
https://github.com/aws/amazon-freertos/blob/master/tools/uncrustify.cfg

/bot run checks

/bot run checks


@azure/test-utils-recorder in keyvault-secrets package

This looks good to me, but we should have @sadasant take a look


Change properties of Wizlogo

At Wizlogo we started offering free logotype packages, so no big changes, just a FREE icon:)
Checklist

[x] I made something good today 💐.
[X] I put links in the correct format: [Tool](link) — description.
[X] My description starts with the lower-case letter and ends with the full stop.
[X] I put the tool in the alphabetical order.

Optional

[X] I added the appropriate labels: free, open-source or mac.
[X] I put the tool only to one category.
[x] I followed Contribution Guidelines.

hey @benbi! sorry for delay from our side.
Free label goes when the project is totally free, not a freemium model. Adding a free logotype packages is a nice addition but it doesn't apply free icon :)
thanks for understanding


Should Metadata or BlobHTTPHeaders be Nullable?

consider both request and response.
https://github.com/Azure/azure-sdk-for-cpp/pull/213#discussion_r447457932
https://github.com/Azure/azure-sdk-for-cpp/pull/213#discussion_r447458155
also about range representation.
https://github.com/Azure/azure-sdk-for-cpp/pull/213#discussion_r447415779

@katmsft and I talked about this with @JeffreyRichter today. These shouldn't be nullable.


there is no invoicing tab in ITEM card

Module: 4
Lab/Demo: exercise 2
Task: 4
Step: 600
Description of issue
the guide is referring to invoicing tab in ITEM card, there is no such tab in ITEM card, the item.desc.group is found in the Price and sales tab
Repro steps:

Labs have been refreshed in January 2021


Auto import does not work when last import is type import

VSCode Version: 1.20.1
OS Version: macOS 10.13.2

Steps to Reproduce:

Have 2 imports where last import is a type import
Auto import from a file
Imports create syntax error

Does this issue occur when all extensions are disabled?: Yes
Before auto import:
import * as SCREEN_IDS from '../../../config/screens/screenIds';
import type { TNavigationProps } from '../../navigation/NavigationHOC';

After auto import:
import * as SCREEN_IDS from '../../../config/screens/screenIds';
import typeimport { SAVE } from '../../../config/screens/navigatorButtons';
 { TNavigationProps } from '../../navigation/NavigationHOC';

Type imports are a flow specific feature. Auto imports come from the TS/JS plugin so we don't offer built-in flow support
Try disabling auto imports by setting "typescript.autoImportSuggestions.enabled": false

For TypeScript it looks like this extension may be interesting (from a quick read through the features it seems like it supports types):
https://github.com/soates/Auto-Import


Unable to render Audio Segment component due to no annotations present

Background
I'm following this guide for Automatic Speech Recognition using Segments to port into my application. However, whenever I render the component, I get the empty state that says "No more annotations".
If I provide a dummy annotation object in the annotations array, the component will render with no issues. Ideally, I wouldn't want to hardcode an annotation that includes non-related data to my final data labeling.
I'm wondering if I missed a step with the guide that I'm currently using. I've been going through the documentation to help define Tasks, Annotations, etc. Even though I have come across Frontend references, they don't really help explain what's happening in this case.
I'm only using Label Studio Frontend since I have my own backend handling data management.
DataCollectionHome React Component
const DataCollectionHome = (): ReactElement => {
  const config = `
  <View>
  <Labels name="labels" toName="audio">
    <Label value="Speech" />
    <Label value="Noise" />
  </Labels>
  <AudioPlus name="audio" value="$audio"/>
  <TextArea name="transcription" toName="audio"
            rows="2" editable="true"
            perRegion="true" required="true" />
</View>
  `;

  const interfaces = [
    'panel',
    'update',
    'submit',
    'controls',
    'side-column',
    'annotations:menu',
    'annotations:add-new',
    'annotations:delete',
    'predictions:menu',
  ];

  const user = {
    pk: 1,
    firstName: 'James',
    lastName: 'Dean',
  };

  const task = {
    annotations: [],
    predictions: [],
    id: 1,
    data: {
      audio: 'https://igbo-api.s3.us-east-2.amazonaws.com/audio-pronunciations/5f90c35e49f7e863e92b72f2.webm',
    },
  };

  const messages = {
    DONE: 'Done!',
    NO_COMP_LEFT: 'No more annotations',
    NO_NEXT_TASK: 'No more data available for labeling',
    NO_ACCESS: 'You don\'t have access to this task',
  };

  return (
    <>
      <LabelStudioReact
        config={config}
        task={task}
        interfaces={interfaces}
        user={user}
        messages={messages}
      />
      <PersonalStats />
    </>
  );
};

export default DataCollectionHome;

LabelStudioReact React Component
import LabelStudio from '@heartexlabs/label-studio';

const LabelStudioReact = (props: any): ReactElement => {
  const labelStudioContainerRef = useRef();
  const labelStudioRef = useRef();

  useEffect(() => {
    if (labelStudioContainerRef.current) {
      labelStudioRef.current = new LabelStudio(labelStudioContainerRef.current, {
        ...props,
        onSubmitAnnotation: (LS) => {
          console.log('submit', LS)
        },
        onUpdateAnnotation: (LS) => {
          console.log('update', LS)
        },
        onSelectAnnotation: (LS) => {
          console.log('select', LS)
        },
        onEntityCreate: (LS) => {
          console.log('create ', LS)
        },
      });
    }
  }, []);

  return (
    <>
      <div
        id="label-studio"
        ref={labelStudioContainerRef}
      />
    </>
  );
};

export default LabelStudioReact;

Rendered Empty State

Thanks in advance 😊

Hey @ijemmao 👋 ! Maybe I can help with this. Looking at the code here, can you explain a bit what Component LabelStudioReact is? I just want to make sure what layer that is. Is it something you built or pulled from LabelStudioFrontend library directly?
As an aside, I also have a next app https://github.com/bmartel/ls-next-app I recently put up as a sample reference, which I am going to build out more around the integrations aspect of LabelStudioFrontend, but maybe this can help as a reference point as well. Even as a way to set a baseline understanding between what you are working with in your own application.

@bmartel thanks for getting back to me! I just updated my initial issue description to include the LabelStudioReact component which creates a div element that will be used to inject the Label Studio's audio segmentation component.
I can take a look at your project too to serve as reference 👏🏾

@ijemmao Thanks for the update and details! With regards to the task object having annotations in the initial state it was done strictly to demonstrate the ability to load an initial state. That's really the only reason, in a more fleshed out scenario you are 100% correct in thinking that you would load an empty state for the annotations, as your annotators will be filling that in as they do their work.
I am going to try a couple things on my end, see if I can replicate your scenario and provide some guidance from there. Once again, thanks so much for reaching out!

Hey! I was able to figure out what problem I was facing. Turns out that I wasn't strictly following the typical data structure for annotations, so the system didn't know how to handle it as I was expecting.
I created a PR that shows how I integrated the audio segmentation frontend into my project if others in the future are interested.
https://github.com/nkowaokwu/igbo-api-admin/pull/297


[Windows] Work better with Windows 10 Task Manager bar

Is your feature request related to a problem? Please describe.
If you pin the sleek.exe app to the Task Manager bar in Windows 10 and then click it to open then it opens a second icon in the Task Manager instead of using the pinned icon.
Describe the solution you'd like
It would be great if it used the pinned icon like other apps, rather than creating a new one.
Describe alternatives you've considered
NA
Additional context
NA

Also if you ,  the Sleek taskbar item and open "Sleek" from the pop-up menu it also opens a second instance of the last file.
Expected Behavior: Open one of a list of files, or open the last file if only one is available.

Hi @intrepidsilence, hi @shulist. I am not a Windows user myself, but have it running in a virtual machine. I will briefly look into it, what can be done about this, but can't promise anything.
If you have any knowledge about how to solve these issues on Windows, please feel free to share whatever you know.

@ransome1 While I would not classify myself as a windows programmer I do have limited experience.  Unfortunately my typical programming style is brute force and ignorance. However I'd be willing to help out in any way.

@ransome1 Unfortunately it is exactly the opposite for me. I must use Windows and that it where it ends. Sorry I cannot help more in this regard.

Hi everyone,
I looked further into this.
I don't have a definitive answer but here's what I've found:

Whenever you open sleek.exe, regardless of the directory you have saved sleek.exe in, it actually unpacks itself to "C:\Users\YourUsernameHere\AppData\Local\Temp\1r4TNnfGnwRLdsxPsuK2i8AQHYU", where "1r4TNnfGnwRLdsxPsuK2i8AQHYU" is likely a randomly generated string.
This might be a result of being a portable electron app that needs to unpack itself, rather than being installed like a traditional app.
When you pin something to the taskbar in Windows, it's linking directly back to the file that you used to pin. In this case, you are seeing 2 icons because in reality, a new instance of sleek.exe is being unpacked into the directory I mentioned above, then opened. Unfortunately, when you close that instance of sleek.exe, the temporary unpacked directory also gets automatically deleted so you can't just find that .exe and pin that to the taskbar.

I have never built an electron app so I can't actually comment on the fix but I can say that other electron apps that I've used have solved this, I think, by not being completely portable but by doing 1 of 2 things,

Including any necessary files with the application, rather than being a completely portable executable, and/or
Installing those files into somewhere more permanent, like "C:\Users\YourUserName\AppData\Roaming\sleek".

I'm not sure if this helps but it seems the 2nd last comment might be relevant:
https://discuss.atom.io/t/how-can-i-get-the-application-path-of-a-portable-electron-app-on-windows/43464/14
Hope this helps to get closer to a solution!

I've found a temporary solution until @ransome1 can provide a cleaner option!
Steps:

Open sleek.exe & keep it open.

Find out where sleek has been unpacked to.
It will certainly be in "C:\Users\YourUsernameHere\AppData\Local\Temp", but you'll have to search for the folder that contains sleek.exe from there. Quickest way to get here is to press Win+R on your keyboard, type in appdata and press enter. Open up the Local folder and start a search for sleek.exe.

Once you've found it, copy all the contents within that folder to somewhere else that you'd like to keep sleek in.
It should look like this:

Close the opened sleek, which will now automatically delete the folder it created in 'appdata'. Unpin sleek from your taskbar if you had tried to do it previously.

Open sleek.exe from the new location you moved it to, and then right click on it's icon in the taskbar and hit "Pin to Taskbar".

Voila, you should now only have one instance of sleek in the taskbar.

@blumpcus thanks for looking into it. So far I havn't had any chance to investigate and there is lot's more of code refactoring to be done, before I can.
For my understanding: Are you guys using sleek's exe file from Github or do you install it from Windows Store. I' asking because locally on my VM, when I start up sleek from it's sources, it gets put into a permant folder and there is random sub folder created.
I'm trying to understand if this is something that only occurs on installations from Windows Store.

Alright, I reproduced it on my VM. It only seem to occur on the portable exe. Let's see if I can find a solution to that.
For those of you who are really bugged by it and have the Windows Store installed, you can install the app from there too. Here it does not seem to happen. That could be a temporary fix until I found a proper solution for the portable file.

@shulist, @blumpcus, @intrepidsilence, I looked into it and I'm not sure if I fully understand all these Windows terms, so please help me out. Is it true that it is in the nature of a portable Windows file to create a new temp folder every time it starts up?
In any case I might have found different approach to solve this by not building a portable file, but an installer. From what I learned the installer will install sleek to one persistent path. Like this starting up sleek should not generate another instance of it. I gave it a try on my VM and it seems to work at least for me.
Can you guys please try out the installer and give me some feedback, if this solves this issue? You can download it here: https://github.com/ransome1/sleek/releases/download/v0.9.9/sleek-0.9.9.exe

Given all the work to be done in Sleek to deal with other important items I might suggest that this is a somewhat lower priority.  I suppose it would be tidier to only create one instance on the taskbar but if you have to jump through hoops to do this then for me its a very low priority.  I've noticed some other apps I use also do the same thing (Xming server, Vim, for example) and these also cause me not grief.

@ransome1 said not building a portable file,
I'd encourage you to consider keeping the portable format. I prefer not having to install smaller apps as its one more issue less to deal with. Further you may want to look at wrapping your portable version of Sleek in the https://portableapps.com/development/portableapps.com_format. If you want I could open a new issue for this outside of this thread, but just wanted to respond to your statement above.

Given all the work to be done in Sleek to deal with other important items I might suggest that this is a somewhat lower priority. I suppose it would be tidier to only create one instance on the taskbar but if you have to jump through hoops to do this then for me its a very low priority.  I've noticed some other apps I use also do the same thing (Xming server, Vim, for example) and these also cause me not grief.

As I use Github CI to build the releases, both a portable and an installer can be build and added to the release with no further effort for me.

@ransome1 said not building a portable file,
I'd encourage you to consider keeping the portable format. I prefer not having to install smaller apps as its one more issue less to deal with. Further you may want to look at wrapping your portable version of Sleek in the https://portableapps.com/development/portableapps.com_format. If you want I could open a new issue for this outside of this thread, but just wanted to respond to your statement above.

In a nutshell, what would be the advantage of that?

Well possibly two things. 1) The portable format PAF is a widely recognized format. 2) It has an ecosystem containing 400+ apps currently which might mean wider distribution for Sleek.
However, again, if it involves too much additional work for you  then I'm also happy with the portable format you have already created. Its no big deal to drop Sleek into the PortableApps (PA) folder and configure it run portable within the PA system.
FYI I currently have about 70 apps running within the PA environment on four different Win10 machines and have installed less than ten apps (those which offer no portable option) using the Win10 registry. Its eliminated many hours wasted at trying to resolve windows registry errors, conflicts and problems.

@intrepidsilence , @blumpcus , the installer is also added in the latest alpha release: https://github.com/ransome1/sleek/releases/tag/v1.0.0-Alpha
I'm looking forward to your feedback, if this solves your issue.

@ransome1 Awesome! The installer fixes this issue for me as I do not have access to the Windows Store on my corpo laptop. Thanks for doing this!

Well possibly two things. 1) The portable format PAF is a widely recognized format. 2) It has an ecosystem containing 400+ apps currently which might mean wider distribution for Sleek.
However, again, if it involves too much additional work for you then I'm also happy with the portable format you have already created. Its no big deal to drop Sleek into the PortableApps (PA) folder and configure it run portable within the PA system.
FYI I currently have about 70 apps running within the PA environment on four different Win10 machines and have installed less than ten apps (those which offer no portable option) using the Win10 registry. Its eliminated many hours wasted at trying to resolve windows registry errors, conflicts and problems.

@shulist, I stumbled upon a user who added a different todo app to the PortableApps.com project: https://github.com/uroesch/JoplinPortable
As I'm already maintaining the builds on Github, Flathub, Snap and AUR, I won't be heading into this direction, but if becoming a maintainer for sleek on the PortableApps.com project might be something of interest to you, I will of course encourage and support you.


Drop calendar should recognize links

this one:

On the drop calendar preview page, it has already supported markdown format.
The easy way to achieve that is to replace the description with the below text.
I'm not sure who has access to update the description. Maybe @JustLuuuu

H-Emitters is a software that runs in the browser and simulates the propagation of circular plane waves emitted by multiple point-sources. The setup allows for the observation of interfering plane waves that create new patterns. The « fringes » appearing on points where the waves meet often take the shape of large dots with diffuse contours.\n\nThis quasi-simulation encourages viewer to wonder about the dual nature of physical reality. How simple circular wave patterns can create localized perturbations when interfering allows to make direct observations of a class of phenomenons that are at the heart of all modern physics.\n\nThe animation consists of a slow evolution of the characteristics of the point-sources. The “emitters” spectral distribution (colors) evolve through time and space until all their energy is dissipated. Each emitter also has a specific gaussian intensity distribution, and all these characteristics make each iteration unique in brightness, composition, and color distribution.\n\n## Mint\n\nLIVE: An endless animation that runs in the browser and allows to observe interference patterns generated by multiple point sources with characteristics evolving through time and space.\nCAPTURE: A static 1080x1080px snapshot of the first instant of the animated version.\n\n## Controls\n\nPress ‘SPACE’ on the keyboard to generate a square signed 4K capture (2160x2160 px 24bits PNG)\nIn ‘stochastic’ distributions of point sources, press ‘P’ to generate a new spatial configuration of the emitters.\n\n## Technics\n\n- Javascript/WebGL handwritten software, runs in all modern browsers\n- Uses p5.js library and handwritten custom GLSL/WebGL shaders\n- Square 1:1 format animation (1080x1080) and square 1:1 4K capture\n\n---\n\n@HAL09999 – July 29th, 2024\nOfficial website: https://danslesnuages.xyz\nTEZ: tz1PgMiRHHCjLaJZPS739cJKnNHGaRXYnsCn\nETH: 0xE4d9C51F0fd017A3CFD31c1674f5C44864877f19\nDOT: 1HAL9SxxfyYSWk2o1gGM41AhJ6vTxZk1iQDex1znUvom6r9\nX/Twitter: https://twitter.com/HAL09999\nInstagram: https://www.instagram.com/hal09999/\nTikTok: https://www.tiktok.com/@hal09999\nFarcaster: https://warpcast.com/hal09999

Final Preview：


Cancel dbt Cloud run when cancelling the job on GitHub

When cancelling the job on GitHub Actions interface, an ongoing job in dbt Cloud continues. In such a scenario it would be best to also cancel the dbt Cloud run (API reference)

This seems like a great idea! Would you be willing to contribute this functionality?

+1 to this! Also, at the moment, you get served a message "You have successfully requested the workflow to be cancelled" and then the job continues running in dbt.


Publication date Normalized

Our data source includes the following information as:
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L1165
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L1181
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L2993
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L3048
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L3101
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L3708
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L3737
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L3756
https://github.com/NFDI4BIOIMAGE/training/blob/3d5346f828c289342b57f0b68914bea930185035/resources/nfdi4bioimage.yml#L3771
We should normalize them as YYYY-MM-DD
It seems that Webcrawler is not allowed, so we have to change it manually, right?

Maybe we could just list them as YYYY-01-01 then? If those are only those few entries I could change them manually.

We should normalize them as YYYY-MM-DD

May I ask why this is necessary?

We should normalize them as YYYY-MM-DD

May I ask why this is necessary?

In our new filter card, we will have filters for both publication_date and submit_date. To ensure consistency, we should normalize these dates so they all follow the format YYYY-MM-DD, rather than having a mix of YYYY and YYYY-MM-DD. However, if you’re okay with the variation, normalization isn’t necessary.

Maybe we could just list them as YYYY-01-01 then? If those are the only entries to change I could/would do it manually.

Seems on the original link(url) has the exactly date, but I'm not sure do we need to do that.

Maybe this makes it clearer?

We should normalize them as YYYY-MM-DD

May I ask why this is necessary?


some more validation and file format fixes

tries to solve #24 again

Great, well done! I especially like the autocompletion for the Forums, simply typing SC, pressing Return and you got the Security Council.
Also marking the false or missing content red is great.
The only thing I spotted while testing is that errors in the Co-Sponsors aren't marked red yet. I noticed this while downloading the .rso file which wasn't working due to the false content.
But apart from that detail it's fantastic!

You're probably referring to #31. This issue is known but is hard to fix because of how the library internally builds this kind of special field. (see there for more info)


A Primer on Bayesian Optimization to Optimize Hyperparameters

Article as index.md
Hero as hero.jpg
Other images; acquisition.png, and statistics.jpg
Article checklist
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

This fixes #1926

@collins-a This is a well-written article. Please make the requested changes then the article will be ready for the final review.

plagiarism check done


Replace os.path with pathlib

Overview
We should replace the use of os.path with pathlib wherever possible throughout the framework.
Requirements
see overview
Approach

TBD or Handle as part of other work (for example this was already done to the report and evidence modules as part of other related work)

Security and Privacy
N/A
Test Plan
TBD

For the binary stuff you have write_text and write_bytes.


Further Messbox bugfixes/changes

Fixes a bug introduced in #1018 where the resizing handle wouldn't be deleted when re-opening a minimized window where the messbox was selected. Now the handle is drawn correctly (I don't think it was before that pr)
shift-click doesn't output from messbox anymore (though honestly I'm not sure why this should be taken out?)
the outline of messbox is blue when selected now.
Also fixes a bug where in edit mode if clicking on another object's text after having selected the messbox the text would be entered in both. However, in order to fix this bug now messbox must be clicked after moving it in order to enter text again (similar to the number box or symbol box objects)
I was not able to restore the previous text when the messbox is in a window that's minimized or in a subpatch that gets closed. This is due to pd not having a mechanism to notify tcl objects that a window is being closed at the moment. this would be possible after pure-data/pure-data#1323.
closes #1020

THANKS!!!

shift-click doesn't output from messbox anymore (though honestly I'm not sure why this should be taken out?)

doing that usually just uninteentionally selects some text in the object... for clicking and getting an output, better to conect a bang to it ;)

@sebshader , it seems you have introduced a bug. Now messages with  a comma are not split into different messages anymor

@porres huh I can't imagine what might have caused that, I'll look into it..

@porres I cannot reproduce here. messages with commas are still output separately

The example from the help file doesn't work for me, moreover, if I 'set' the message, it also outputs it (which it shouldn't) and it only outputs the first message. If I send it a bang or hit enter I only get '1' in the [print]
any other way i try it, by creating a new object and typing it and hitting enter also gives me the same.

if I 'set' the message, it also outputs it (which it shouldn't if I 'set' the message, it also outputs it (which it shouldn't

forget about this, I have a 'bang' message afterwards

hmmm, I seem to be getting this in the last release as well, and sometimes it does print all three messages...
but I tested this well before creating the object, so... I dunno what happened, and it is even weirder that it works for you.
I guess I can create a new issue and maybe you can help me

@porres hmm I still can't reproduce it only outputting the 1.. for me it out puts 1, 2 and 3 all separately if I press enter or click the bang


sublimelinter: chdir not set or invalid

SublimeLinter: chdir not set or invalid, using D:\work\YQTrackV5\(V5)YQTrack.Web\res\kit\js
SublimeLinter: jshint: kit.js ['C:\\Users\\PPCC\\AppData\\Roaming\\npm\\jshint.cmd', '--verbose', '--filename', '@', '-']
Traceback (most recent call last):
  File "D:\Program Files\Sublime Text 3\sublime_plugin.py", line 256, in on_post_save
    callback.on_post_save(v)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\sublimelinter.py", line 442, in on_post_save
    self.file_was_saved(view)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\sublimelinter.py", line 464, in file_was_saved
    self.lint(vid)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\sublimelinter.py", line 120, in lint
    Linter.lint_view(view, filename, code, hit_time, callback)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 919, in lint_view
    linter.lint(hit_time)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1379, in lint
    output = self.run(cmd, self.code)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1785, in run
    return self.communicate(cmd, code)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1815, in communicate
    env=self.env)
  File "C:\Users\PPCC\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\util.py", line 1104, in communicate
    out = out.communicate(code)
  File "./subprocess.py", line 928, in communicate
  File "./subprocess.py", line 1206, in _communicate
BrokenPipeError: [Errno 32] Broken pipe

what happen?What should I do now?

This isn't a chdir error. I mean there IS a chdir message, but it's expected. It's actually the one below it. You are getting a BrokenPipeError, in Python this happens when a process stops before you can finish writing to it. Not sure what caused this. Does any other linter work for you? Can you link any file? Let me know so hopefully we can figure out the issue.

@limuyan I had this same error. I fixed it by adding the "chdir": "${project}" key pair to each linter in my settings, as documented here (It doesn't seem to have made it's way onto the readthedocs yet).

I was trying to write a plugin today and ran into this same issue. I was working within Windows. After running the command manually and noticing that it did not crash or otherwise behave badly, I did some digging. I found that if the file being checked is over 4096 bytes, it starts dying in this way. That is the pipe buffer size.
If you look at the documentation for popen:
https://docs.python.org/3/library/subprocess.html#popen-objects
You will see this note for popen.communicate:
"The data read is buffered in memory, so do not use this method if the data size is large or unlimited."
On Windows, that buffer is 4K. This is why I'm getting the BrokenPipeError exception, not because of the linter crash. Long story short, I quickly hacked up the code in util.py to use files and not pipes and it works beautifully now.
Yes, this code needs work...
def communicate(cmd, code=None, output_stream=STREAM_STDOUT, env=None):
    """
    Return the result of sending code via stdin to an executable.

    The result is a string which comes from stdout, stderr or the
    combining of the two, depending on the value of output_stream.
    If env is not None, it is merged with the result of create_environment.

    """

    # On Windows, using subprocess.PIPE with Popen() is broken when not
    # sending input through stdin. So we use temp files instead of a pipe.
    if os.name == 'nt':
        stdout = tempfile.TemporaryFile()
        stderr = tempfile.TemporaryFile()
        print(stdout.name)
        print(stderr.name)
    else:
        stdout = stderr = None

    if code is not None:
        code = code.encode('utf8')

    stdinFile = tempfile.TemporaryFile()
    stdinFile.write(code)

    cmd.append(stdinFile.name)

    out = popen(cmd, stdout=stdout, stderr=stderr, output_stream=output_stream, extra_env=env)

    if out is not None:
        out.wait()
        out = ['', '']

        if output_stream != STREAM_STDERR:
            stdout.seek(0)
            out[0] = stdout.read();
        if output_stream != STREAM_STDOUT:
            stderr.seek(0)
            out[1] = stderr.read();

        return combine_output(out)
    else:
        return ''

Getting the same error on Windows with my own Go linter. Error only happens on some .go files, others work great. Seems like the same 4k limit error with pipes.
My linter code:
import os
from SublimeLinter.lint import Linter, util
class Gotype(Linter):
	"""Provides an interface to gotype."""

	syntax = ('go', 'gosublime-go')
	cmd = None
	executable = 'gotype'
	regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<message>.+)'
	error_stream = util.STREAM_STDERR

	def cmd(self):
		project_folder = self.view.window().folders()[0]
		file_path = self.view.file_name()
		relative_file_path = file_path.split(project_folder)[1]
		gopath_file_path = os.environ['GOPATH'] + os.sep + 'src' + relative_file_path
		return (self.executable_path, '-e', '-a', gopath_file_path)

The default buffer size in my ST is 8k, btw. It might be lower on Windows.
>>> import io
>>> io.DEFAULT_BUFFER_SIZE
8192

The two possibilities are to either increase this or create files that are piped to manually. Since the former is considerably easier, I guess it's safe to just double or increase the bufsize by 50% to 8k/12k. The issue doesn't appear to be frequent.
If the latter is to be chosen, the files should be created in a with block.

Edit: Okay, I wasn't aware of how the current code looks like. It's a nightmare.

Haha, we inherited our mess.
FWIW
>>> io.DEFAULT_BUFFER_SIZE
8192

on Windows.

Otherwise, popen constructor takes a bufsize arg.

I'm closing this now as can't reproduce bc I can easily lint 'react.js' (uncompressed, dev version) which is > 600kB.

@kaste please read my post at https://github.com/SublimeLinter/SublimeLinter/issues/1061
I can reproduce this bug 100% of the time on Windows 7 x64 when I am trying to lint a Go (aka. golang) file.
The error I receive is this:
SublimeLinter: #2 gotype b2-pdf.go ERROR:
=========================================

Linter crashed.

Traceback (most recent call last):
  File "lint.backend in C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter.sublime-package", line 100, in execute_lint_task
  File "lint.linter in C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter.sublime-package", line 761, in lint
  File "lint.linter in C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter.sublime-package", line 1005, in run
  File "lint.linter in C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter.sublime-package", line 1054, in communicate
  File "lint.util in C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\SublimeLinter.sublime-package", line 226, in communicate
  File "./python3.3/subprocess.py", line 920, in communicate
  File "./python3.3/subprocess.py", line 1206, in _communicate
BrokenPipeError: [Errno 32] Broken pipe

Please consider re-opening this issue.
Thanks!

This can easily be a problem with gotype. Currently, we send buffer content via stdin, although gotype does not expect or uses that (It is configured to lint the dir of the file afair.)
You should try master first. But since you can repro 100% and @kakysha above also used gotype 💩 maybe gotypeplugin needs to be rewritten.

@kaste Thanks for the quick reply!
The funny thing is that despite the error, the linter works...
Do you want me to try the master of SublimeLinter or the master of SublimeLinter-gotype ? Or both ?
FYI, I have the following Go related SublimeLinter plugins installed:
SublimeLinter-golint
SublimeLinter-gotype
SublimeLinter-govet

I also have some other SublimeLinter plugins installed (e.g. for CSS, Javascript and PHP) but those seem to be working fine.

Only SublimeLinter master.
BrokenPipeError is not thrown synchronous but 'at some point' in python afaik. But the assumption is gotype closes stdin bc it does not expect data on stdin.
(The 'nice' languages js, php, python are probably not affected bc they handle this automatically.?)


how does the wiring goes without level shifter?

Guys as per my understanding it´s possible not to use the level shifter, if true how does the wiring goes?esp8266 supports 5v?

I think you cant if the Output pin has a 3.3 volts reference like NodeMCU

it´s that bruh said in the video, or a misunderstood that it wasn´t necessary


Use ament_cmake_uncrustify

We currently have the rmf_cmake_uncrustify package that is used for style checking with colcon test. The original reason for having this package and not using ament_cmake_uncrustify was that the latter did not support custom uncrustify configuration files. But this feature was merged upstream quite a while ago and has been part of foxy and galactic releases. Hence, switching back to ament_cmake_uncrustify for ease of maintenance and distribution.

I'll merge this in as the CI failure has nothing to do with uncrustify.


Parser: Fixes #3824 (html colors throwing errors)

Fixes issue where trying to parse an html template that contains colors such as "#fff" or  "#000000" results in exception preg_replace_callback(): Unknown modifier 'f'
Each pull request should address a single issue and have a meaningful title.
Description
Changed parse function to call 2 new functions (at start and end) that handle html color to avoid parsing errors due to the use of #
Checklist:

[ ] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[x ] Conforms to style guide

@eSkiSo you can run composer update && vendor/bin/rector process to fix the rector notice message. Also, please add unit test. Thank you.

We should be providing a long term solution to this. The # may not only be used for hex colors but on other instances as well which needs to be addressed too.

Closing PR, issue seems resolved on #3848


Test failures with Python 3.13

Hi!
Python 3.13 has changed the message associated with HTTP code 422 from 'Unprocessable Entity' to 'Unprocessable Content', which breaks three tests:
FAILED tests/renderers/httpdomain/test_render_response.py::test_render_response_content_custom[422]
FAILED tests/renderers/httpdomain/test_render_response_example.py::test_render_response_status_code[422]
FAILED tests/renderers/httpdomain/test_render_response_example.py::test_render_response_status_code_int[422]

So these tests require some sort of conditional to change the expected output depending on the Python version.  I don't know how to do this "nicely", though.

Actually, I spoke too soon; it seems quite straightforward, and I have made a PR to fix this.


Support for Maya 2015+

Viewport options doesn't seem to work in 2015+, it might be related to Viewport 2 and that it's the new default now.

It's not working at all? Is it ignoring the 'show' settings?
Could be the new playblast override settings that are under the show menu item for a modelPanel?
Not sure what version of Maya they popped up, could be 2015. :)

Are you sure this is Maya 2015 only? Seems like a typo in the code?
options = options = ViewportOptions()
as opposed to
options = options or ViewportOptions()
Changing that around fixes it.

I'm not sure, but that would be amazing if that's all it was!


TryHaxe doesnt work landscape on mobile

The textinputs are 1 line in height which makes it unusable to use. Can we se some minimum height?

I'll work on a new version today ;)

Should be fixed, now (no new version for now ;))
Feel free to close the issue.


Button node does not work with focus_neighbour_* properties

buttongrid.zip
Godot version:
3.2.3 stable
OS/device including version:
Windows 10 GLES 3
Issue description:
Button node does not have set_focus_neighbour function yet Control node does?
additionally you cannot set the focus_neighbour_* properties (or if you can they seemingly have no effect)
Steps to reproduce:
in my use case I had a gridcontainer with more than 1 column and more than 1 row. I was trying to get the right keyboard to cycle to the next row if you are at the end.
minimal project included

Sorry, having a look to you project you likely did not understand how set_focus_neighbour works. Button inherits Control so the function is indeed available for buttons too.
You are using the set_focus_neighbour function like that: child.set_focus_neighbour(focus_neighbour_right, NodePath(get_child(child.get_index()+1).get_path())), while you are supposed to use something like child.set_focus_neighbour(MARGIN_RIGHT, get_child(child.get_index()+1).get_path())). Or simply set the focus_neighbour_right on the node's property.
In any case, this is likely not a bug with the engine but with your project, so please ask for help on the other community channels first.

Interesting... Although I should mention it still does not work by setting focus_neighbour_* properties. or even by using MARGIN_LEFT or MARGIN_RIGHT

I mean, if you can provide a sample project, with the focus_neighbour_* set on only one node, where it does not work, instead of a complex script iterating over a node's children, I'm ok to reopen. But for now it looks more like a problem in your script than in the engine.

You dont have to look further than Button node does not have set_focus_neighbor function I would think?

Button node does not have set_focus_neighbor function

It does have a set_focus_neighbor function, it inherits from Control. Thus it has this function.


Request or suggestion: chapter enumeration in PDF's bookmarks

The PDF bookmarks do not include chapter numbers. I wonder if this is deliberate and if there is any chance the numbers could be included in the future? With the section/subsection/chapter bookmarks enumerated, the navigation would be a bit easier for those who use them.
Many thanks for your books, Prof. Murphy.

[2022-08-15 version]

how do I make this happen in latex?

how do I make this happen in latex?

Assuming your document uses hyperref (and no other fancy packages controlling specifically this behaviour), the numbering is added by the bookmarksnumbered option in hyperref:
\usepackage[bookmarksnumbered]{hyperref}
I found this answer, which explains the details. The example provided there works on my system (except that \usepackage{babel} is now required by lipsum).

ok, i've added this, it will appear in the next release (later tonight :)


Updates the kind cluster for v1.22 to v1.22.0-rc.0

See:
https://console.cloud.google.com/gcr/images/jetstack-build-infra-images/EU/kind@sha256:fa600aa4b8234235e141fab085126e2a72c3d8f05eed44d38bf343091c51d192/details?tab=info
NONE

/test pull-cert-manager-e2e-v1-22

Good to see the tests pass against that too 😄
/lgtm


feat: add output file in BED format

Description
WIP
Fixes #50
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation updated

Checklist:

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

I need to check how does the heatmap look on a full hsa/mmu before merging!


Module 'scores' for each sample to each module

Hey! So happy to be working with your package and work on WGCNA  in python!
I wasn't able to find a way to obtain the module 'scores' for each sample of each module.
I'm looking for something like this:
Module1   Module2   ...   ModuleX
Sample1  0.66      0.43      ...   0.33
Sample2  0.45      0.34      ...   0.2
Can you please help me locate this output?
Thanks,
Eden

Hi @EDENMEIDAN
thank you for your sweet comments.
Could you elaborate a little bit more about what you mean by module 'scores'? What's the equivalent of module 'scores' in the original WGANA?
If you mean module membership, you can use this function called: CalculateSignedKME()

Yes, I somehow missed this!
Thank you so much for the quick response :)


[Meta] Add CogFeeds cog

Type

[ ] Bugfix
[x] Enhancement
[ ] New feature
[ ] Documentation

Description of the changes
Still a massive WIP, but the PR should at least be created for now.

Re-opening at a more suitable time.


Can't compile on Rust 1.11.0

What version of Rust are you using (rustc --version)?

rustc 1.11.0

What operating system and processor architecture are you using?

Linux dcarol 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64 GNU/Linux

What did you do?

git clone https://github.com/pingcap/tikv.git
cd tikv
make

What did you expect to see?

Success compilation message

What did you see instead?

src/lib.rs:15:1: 15:18 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:15 #![feature(test)]
              ^~~~~~~~~~~~~~~~~
src/lib.rs:16:1: 16:34 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:16 #![feature(optin_builtin_traits)]
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:17:1: 17:44 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:17 #![feature(btree_range, collections_bound)]
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:18:1: 18:19 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:18 #![feature(fnbox)]
              ^~~~~~~~~~~~~~~~~~
src/lib.rs:19:1: 19:19 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:19 #![feature(alloc)]
              ^~~~~~~~~~~~~~~~~~
src/lib.rs:20:1: 20:20 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:20 #![feature(plugin)]
              ^~~~~~~~~~~~~~~~~~~
src/lib.rs:21:1: 21:28 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:21 #![feature(slice_patterns)]
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:22:1: 22:24 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:22 #![feature(box_syntax)]
              ^~~~~~~~~~~~~~~~~~~~~~~
src/lib.rs:23:1: 23:22 error: #[feature] may not be used on the stable release channel [E0554]
src/lib.rs:23 #![feature(const_fn)]
              ^~~~~~~~~~~~~~~~~~~~~
error: aborting due to 9 previous errors
error: Could not compile `tikv`.

To learn more, run the command again with --verbose.
make: *** [Makefile:23: release] Error 101

Hi @damiencarol
TiKV must use Rust nightly version to compile.

You may want to follow the instruction here: https://github.com/pingcap/tikv#build

"TiKV must use Rust nightly version to compile." It's true for me. Thanks.


ppc64le: bump golang back to 1.6

Despite the current issue with unix sockets and golang, I'm bumping this back up to 1.6.
Go <1.6 has major compatibility issues on ppc64* including not supporting dynamic binding,
so we would have to go back to gccgo, which is worse in a lot of other categories. Ultimately for us,
the amount of people affected by this issue isn't worth switching compilers.
ping @duglin @calavera
Signed-off-by: Christopher Jones<EMAIL_ADDRESS>

Normally, I'd want consistency across all builds, but given the issues with Golang < 1.6 I think this makes sense.
LGTM

/cc @tiborvass, @icecrime

Not ideal, but it doesn't hurt.
Do you mind adding a comment in the Dockerfile explaining why this is necessary? I just want to make sure that if we were to ship another release with 1.5.3, people understand why this one remains pegged at 1.6.
Thanks!

Good idea, updated.

Cool, LGTM

LGTM :+1:


Marking digests as "negative" in Skia Gold has no impact on pre-submit, causing post-submit breakages

When a test reports a digest (read: an image with some metadata) to Skia Gold, there is a tri-modal state of how it is considered:

State
What it means

✅  Positive
An existing digest was found that matches[^1] the image that was marked positive previously[^2].

❔Untriaged
No existing digest was found that matches the image.

🚫 Negative
An existing digest was found that matches the image that was marked negative previously[^3].

The way our (read: flutter/flutter and flutter/engine) trees work, is that when a test uses Skia Gold, and uploads a digest, the test passes regardless of what match state occurred[^4], and later[^5], asynchronously,  our Flutter Gold custom check runs and verifies that no untriaged digests exist at the current commit.
That is, the following workflow causes a post-submit build breakage:

User Octocat pushes a PR that, as a result, produces an update to draw_square_test.
The test suite/builder, a hypothetical linux: framework_draw_shapes, runs, and reports all tests passing.
The Flutter Gold check holds a pending state, and will report back pending untriage digests, similar to below:

The square test now draws a circle. Oops! It is marked "negative".
Now, all tests are passing (as they were in step 2), and Flutter Gold is also marked as passing.
Either manually, or via auto-submit, the PR lands.
... eventually, it's run on post-submit, which cause a tree breakage, because a test matches a negative digest.

[^1]: What that means is out of scope of this issue, but it's not necessarily a 1:1 pixel match, nor a specific match.
[^2]: I believe the heuristic also includes "and was seen in the last 100 landed commits".
[^3]: I'm not sure about the retention of negative digests, I'd assume they are 'forever' 🤞🏼.
[^4]: The context of this decision is in https://github.com/flutter/flutter/issues/48744.
[^5]: I believe it is a cron-job that runs every 5 minutes and checks if all other status checks are passing.

Possible improvements (to discuss):

Update our documentation on Skia Gold
Update the GitHub bot to print a scary message that "negative doesn't work like you think it does"
Update the Flutter Gold check to consider matching negative digests as a failure (note that from talking to @kjlubick, this currently is not something available in the Skia Gold API - we'd either need to request the API, help implement it, or find another way to get this functionality)
Update the Skia Gold Client logic to fail pre-submit on matching negatives (we could keep the current untriaged behavior)

/cc @Piinks @jonahwilliams @gaaclarke @goderbauer

Updated the docs and announced to the team.
https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter#known-issues

The bot comments live here: https://github.com/flutter/cocoon/blob/de7266b918899311cf6b0e52d6aeef56483c1146/app_dart/lib/src/service/config.dart#L265
I can look at updating the message tomorrow.
Kevin confirmed Gold does not have anything we can query in presubmit regarding negative images.

I can send you a PR for the bot, that seems trivial.

Let's sync on it tomorrow. I have some ideas about helpful links over scary messages. We could probably knock out https://github.com/flutter/flutter/issues/144347 too while we're at it.

Thinking about this with fresh eyes, it seems much easier to just have try-bots fail on negatives than try to teach folks via bot messages not to use negatives. At least on flutter/engine we're going to use that approach.
If the framework team would like a similar change, I'd be happy to send/review a PR there as well.

As noted elsewhere, it's not possible to treat negative digest failures differently than untriaged (example: https://github.com/google/skia-buildbot/blob/9b9adad0805e6da96c4939cbd3d3855ab59998ee/gold-client/cmd/goldctl/cmd_imgtest_test.go#L325). We'd have to file a feature request against gold, or continue to consider if making untriaged images a failure instead is a better overall behavior.


PinPlus only opens sometimes

Hi. I really like pinplus and the Alfred workflow; makes my life much easier except for one thing.
If I use ctrl-shift-alt-p which is the shortcut I assigned, then it does automatically add the url as an unread item, but I have to go in and edit the tags etc.
I'm not sure what the problem might be. Is there another way to launch the app, not through Alfred. Maybe I could make a shortcut for that. Or maybe you already have one.
Thanks

Thank you for the kind words, and for opening the bug report. I also noticed that happening lately, after upgrading to Mojave (I only did so recently). It was on my list to look into, but knowing someone else is using it and missing it gave me the motivation to do it sooner!
It should now be fixed. I haven’t done extensive testing, so if you still see the issue happening, please do comment again. I will ask that you restart your machine before doing so, just to be doubly sure.
You can fetch the new version from the releases page, or run :pinplusupdateapp in Alfred.
Thank you again.

Thank you Vitor
I will continue to use it and let you know if I encounter any further difficulties.
Jeremy
On Tue, 14 May 2019, at 12:57 PM, Vítor Galvão wrote:

Thank you for the kind words, and for opening the bug report. I also noticed that happening lately, after upgrading to Mojave (I only did so recently). It was on my list to look into, but knowing someone else is using it and missing it gave me the motivation to do it sooner!

It should now be fixed. I haven’t done extensive testing, so if you still see the issue happening, please do comment again. I will ask that you restart your machine before doing so, just to be doubly sure.

You can fetch the new version from the releases page https://github.com/vitorgalvao/pinplus/releases, or run :pinplusupdateapp in Alfred.

Thank you again.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/vitorgalvao/pinplus/issues/2?email_source=notifications&email_token=ABARRPDOEMPSM3IBBKC3TTDPVKLIRA5CNFSM4HMYGHWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLDPNY#issuecomment-492189623, or mute the thread https://github.com/notifications/unsubscribe-auth/ABARRPECKWDQWFZOIMJYYN3PVKLIRANCNFSM4HMYGHWA.


feat(resource): update resource's label (DSP-1801)

resolves DSP-1801

There are two issues which can't be resolved right now. Both are described in the Youtrack's task:

https://dasch.myjetbrains.com/youtrack/issue/DSP-1801#focus=Comments-4-3279.0-0
https://dasch.myjetbrains.com/youtrack/issue/DSP-1801#focus=Comments-4-3280.0-0

@mdelez what should we do with the two issues mentioned in previous comment? In second case it needs an update of the API or should I do a second request to get the necessary information? Any suggestions?

This is the first iteration. It has to be improved as soon as DSP-API resolved the "update metadata" response. At the moment it's not possible to edit the label twice without refreshing the whole page.
For the moment we can't wait for new release of DSP-API because this will be v14.0.0 which contains a lot of breaking changes.


storage_path() returns empty string

bootstrap/paths.php
	'storage' => 'gs://gaebucket/storage',

bootstrap/app.php
die(".".storage_path().".");

And it just returns
..

Yeh, this is a known issue with app engine. App engine does not allow you to use the filesystem.


Stream with same Schema registered mutiple times (count > 100) throws Error

Expected Behavior
Streams with same schema registered multiple times should not throw error.
Actual Behavior
When you update a Stream with the same Schema multiple times, it throws an error
java.lang.IllegalStateException: Too many schema objects created for ${subject name}

Steps to Reproduce
Option 1: Register a Stream with same Schema for 100 times. When we created the SchemaRegistryClient, we had set the initialCapacity to 100.
Our Deployment environment healthcheck reflects this behavior.
Option 2:The behavior is simulated in the test case.
https://github.com/prabhakar1983/stream-registry/blob/failing_healthcheck/core/src/test/java/com/homeaway/streamplatform/streamregistry/extensions/schema/SchemaManagerIT.java#L37
Additional Information
There is an open issue with confluent on this https://github.com/confluentinc/schema-registry/issues/894
https://github.com/confluentinc/schema-registry/issues/172
Gwen has a PR for this currently open
https://github.com/confluentinc/schema-registry/pull/827

Removing from active development until PR is done.
Will investigate possible workarounds.


security breach

https://github.com/fl4re/search_parser/blob/ca6fc579905ac114bf15b4da0aeb10cad63cea04/publish_patch_version.sh#L3
https://github.com/fl4re/search_parser/blob/ca6fc579905ac114bf15b4da0aeb10cad63cea04/publish_patch_version.sh#L4
https://github.com/fl4re/search_parser/blob/ca6fc579905ac114bf15b4da0aeb10cad63cea04/publish_patch_version.sh#L17

I removed publish script.


feature: Day-of-the-week options for kmail/gift/trade tabs

kmail:reverkiller,thursday would be used to kmail reverkiller on thursdays. trade:ssbbhax,sunday would be used to trade ssbbhax on sundays.
You could also add a monthly option, which would presumably just do the 1st of the month. You probably don't want to do kmail:reverkiller,14thOfTheMonth or whatever, that seems bad

Would this feature be based on KoL day or the user's local time zone?

Presumably kol day.
This is helpful imo because it lets you "batch" your sends--rever could send me source essence only on Thursdays, meaning that I don't need to send him meat as frequently.
In philter, I typically set up weekly trades as reminders


Terraform Errors: A resource with the ID "/subscriptions/..." already exists - to be managed via Terraform this resource needs to be imported into the State

When attempting to execute the Azure Pipeline to provision the Mission-Critical-Online environment, within the Deploy Terraform Global Resources stage, I'm running into a number of Terraform errors, with the leading part of the error message being the following:
A resource with the ID "/subscriptions/<RESOURCE>" already exists - to be managed via Terraform this resource needs to be imported into the State...
This error is consistently displayed even when deleting the failed deployment (and all dependent resources from my Subscription) and re-running the pipeline.
Other areas I've experienced have to do with the Terraform provider plugin for AzureRM and it throwing a number of unhandled exceptions, as referenced from my previous issue submission #549.
Tried following steps from the Troubleshooting Guide, but to no avail.

Thank you for reporting this issue @techmonte. The issue you're describing could be related to/caused by the crashed TF run you've reported in issue #549. This occurs usually when resources where deployed and haven't made it into the terraform state file OR when resources where deleted (outside of terraform) and some resources especially diagnostic settings (that are not getting deleted right away) were not cleaned up yet.
Would you mind sharing a few more details about the resources TF is complaining about? We've a cleanup script for the diagnostic settings available here: https://github.com/Azure/Mission-Critical-Online/blob/main/src/ops/scripts/Clean-StaleResources.ps1
And its also covered in our troubleshooting guide: https://github.com/Azure/Mission-Critical-Online/blob/main/docs/reference-implementation/Troubleshooting.md#infrastructure-deployment-stages
We'll look into the issue #549 you've reported as well.

Hi @techmonte, are you still hitting this issue?

Closing - no response.


Api Blueprint use Body and Attributes together but keeps specified Body's JSON

I have a apib file like this and I want the response body to show instead of the generated body from Attributes (SearchResult) but I can't remove Attributes (SearchResult) because I want to keep the generated schema from Attributes (SearchResult).
FORMAT: 1A
HOST: host.com

# Data Structures

## SearchResult
+ totalResults (required, number)
+ hasMore (required, boolean)
+ results (required, Record)

# Group Record Search

## Query [/api/graphql]

### Search Record [POST]

+ Response 200 (application/json)

    + Attributes (SearchResult)

    + Body
         {
           "data": "this is the response"
         }

The generated html from aglio would have the Responses body generated from Attributes (SearchResult) instead of showing this specified body.
Body

{
   "data": "this is the response"
}

Hi @angeloatleadiq, this is a question specific to Aglio as the parser behaves correctly in this matter. Other renders such as Apiary are rendering this correctly.
Aglio is specifically generating its own body from the attributes, there is an open issue tracking this at https://github.com/danielgtaylor/aglio/issues/357.


Add rgba color model

This adds a simple rgba color class and conversion methods. When converting rgba colors to other colors (that do not hold alpha information atm), the alpha channel data is dropped.
I needed the transparency functionality for a project and saw that it is still an open issue discussed in #4, so I decided to implement it myself. If this is not the solution you want to implement, just ignore it, but maybe it's something to start with.

@MichaelFenwick Hello, why you didn't merge this PR yet?