Issue 849

Before submitting (must do checklist)

[ ] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Proposed Changes

Closing issues

Codecov Report

Merging #920 (4a4f217) into auto/optuna (7ae92be) will increase coverage by 0.21%.
The diff coverage is 93.54%.

:exclamation: Current head 4a4f217 differs from pull request most recent head 5e0a814. Consider uploading reports for the commit 5e0a814 to get more accurate results

@@               Coverage Diff               @@
##           auto/optuna     #920      +/-   ##
===============================================
+ Coverage        85.13%   85.34%   +0.21%
===============================================
  Files              145      147       +2
  Lines             7722     7801      +79
===============================================
+ Hits              6574     6658      +84
+ Misses            1148     1143       -5

Impacted Files
Coverage Δ

etna/loggers/base.py
94.91% <ø> (-0.86%)
:arrow_down:

etna/loggers/wandb_logger.py
55.42% <0.00%> (-1.90%)
:arrow_down:

etna/auto/auto.py
94.28% <94.28%> (ø)

etna/auto/__init__.py
100.00% <100.00%> (ø)

etna/loggers/file_logger.py
73.21% <100.00%> (+0.16%)
:arrow_up:

etna/metrics/utils.py
100.00% <100.00%> (ø)

etna/core/mixins.py
96.87% <0.00%> (+1.56%)
:arrow_up:

etna/libs/tsfresh/significance_tests.py
46.37% <0.00%> (+14.49%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Quality of life improvements in Requests tab

I'm using you're package quite often and wanted to give something back to this project 😄
This PR focuses on improving experience on Request tab - one improvement per commit:

Add message when there are no requests to display: when there are no matches instead of displaying an empty page, let user know that there are no filter results
Add 'Clear all filters' button - when user fills in a few filters, clearing them is rather tedious task so I thought it would be nice to have a button to clear filters.
Add small margin for filter selects: I think this change makes filter section looks much better.

This branch is based off 4.2.0 tag, please let me know if I need to rebase.

thank your for your contributions, lets see what the CI says :D

can you please share the screenshots of UI that changed with this PR?

Updated filters:

New message saying there are no matching results:

Changes not included in this PR
I also have some other changes to CSS which makes text inputs in filters easier to see (some of my colleagues did not notice that you can use filters like Executed n seconds ago). I can include those changes in the PR if you like it but of course for me it's fine to keep it as overrides in my project(s):

you can add the other improvements to this PR

@auvipy I've added those additional changes, the PR is good to be reviewed now.

This branch is based off 4.2.0 tag, please let me know if I need to rebase.

that should target main branch

PR was already targeting master branch, but now my branch is rebased against master branch.

btw, should'nt we mention the UI changes in the docs where necessary?

@auvipy I can add some docs regarding what has changed but I cannot see any section about filtering in the docs. Could you point me where I should add it?
There is also a changelog file, should I update it or will it be updated when creating a new release?

Hi @auvipy , should I do anything more to get this merged? I'm happy to improve this PR to meet your - and the whole Jazz Band's - expectations!

There's some docs under https://github.com/jazzband/django-silk/tree/master/docs/ which could be updated but none of them are invalidated by this change so I'll merge this as is.

There's some docs under https://github.com/jazzband/django-silk/tree/master/docs/ which could be updated but none of them are invalidated by this change so I'll merge this as is.


Add Merchant and Order models

Add Merchant and Order models:

Order
merchant: reference to Merchant
uid: string
disbursed:  boolean
amount: float
creation_date: date

Merchant
uid:  string
reference:  string
disbursement_frequency:  string
email: string
live_on: date
minimum_monthly_fee: float

Resolved in PR https://github.com/fernandesleticia/merchantsdisbursementspayouts/pull/6


pip install failed

D:\prog\comp.lang.python\代码>pip3 install --trusted-host mirrors.zte.com.cn  -i http://mirrors.zte.com.cn/pypi/simple mafan
Collecting mafan
Downloading http://mirrors.zte.com.cn/pypi/packages/b5/68/b2f0cef8ed9d1ee49f0fe03777413007969d123cd6523afca4a4bfcdcf0d/mafan-0.2
.10.tar.gz (69kB)
100% |████████████████████████████████| 71kB 2.9MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\10020252\AppData\Local\Temp\pip-build-nzk8boks\mafan\setup.py", line 37, in
long_description=open('docs/README.md').read(), ##█内有中文”麻烦“，导致出错。Chinese "麻烦" included in the file, which caused the failure.
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 1303: illegal multibyte sequence
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\10020252\AppData\Local\Temp\pip-build-nzk8boks\mafan\

Hi @yinzuojie, I just pushed version 0.3.1 to Pypi, which might fix this error (though I am unable to reproduce it on Ubuntu). Can you try again?

I'm going to go ahead and assume this is fixed now, feel free to re-open if that is not the case.

that worked! sorry for long time no response ;）


expression handler

Coverage increased (+0.04%) to 87.098% when pulling 1ab4e69301711dceb3ef9b149656bcb3dfe88a44 on fix/expressionhandler into 5289a3e36cf98b01125b5edf5472ee18f4c66dd9 on master.

Coverage increased (+0.04%) to 87.098% when pulling 1ab4e69301711dceb3ef9b149656bcb3dfe88a44 on fix/expressionhandler into 5289a3e36cf98b01125b5edf5472ee18f4c66dd9 on master.


Disabling default features from a distant crate

Currently, if crate B depends on crate A, and crate A has default feature f, crate B starts to depend on the feature (unless default-features = false). As a result, crate C dependent on B has no way of opting out of f (unless B is willing to reexport f as its own feature).
The motivation behind this behavior, I guess, is that, since B hasn’t disabled f, it really needs it in order to function properly. For instance, f might be enriching the API of A. Some features, however, are not like that. They don’t alter the API but instead switch between alternative implementations, for example. In such cases, it’s very unfortunate that C doesn’t have control over f. C’s developers have to kindly ask B’s developers to reexport and keep in sync A’s baggage.
A potential solution is to allow any crate in the dependency graph (in our case, C) to disable the default features of any other crate (in our case, A) by depending on that second crate directly and setting default-features = false. If B really needs some additional codes provided by f, the compilation will simply fail. It shouldn’t lead to serious logic errors. In any case, it’s C’s responsibility to make sure that everything works as it should.
I’m curious if there are any strong objections to the above. Thanks!
Regards,
Ivan

Yeah this is definitely one unfortunate aspect of default features but that's generally why they should be taken very lightly by crate authors as it's very difficult to turn them off. I wouldn't personally never expect Cargo to retroactively turn off default features as it's tough to separate out crates which actually depend on a default feature vs crates that just accidentally turned them off.
In general though if most crates don't actually need a default feature then it shouldn't be a default feature. Central crates should then be careful to depend on other crates with as few features as possible if it's generally required to have a feature but not always.

It seems nobody has anything to add here. I close the issue to do not encumber the issue tracker. Thanks!

Unfortunately this is a problem, though. Most packages depending on nom, for instance, aren't disabling the default features, making it impossible to use them in no_std because nom per default enables the std feature.

Are those crates declaring themselves #![no_std]? If forgetting to turn off nom's std feature is the only thing preventing them from being no_std then it seems like a bug on their end.

No, they are not. The real-world example at hand is ructe (compile-time templating engine) in a WebAssembly project; since it is not disabling the the default features, nom will not build. I subsequently forked the project and tweaked the dependency to disable those features: https://github.com/KenanSulayman/ructe/commit/d1008fb3b52ce62d5f92244135b426cc93f587de.
I'm sure before Rust had WebAssembly as an attractive target there wasn't a lot of time invested into supporting no_std (other than embedders, that is), which is understandable. But there are plenty of dependents of nom that don't actively declare default-features = false, even thought they don't actually need std to function.

I think I see what you're saying now. You're definitely correct that the problem already starts when the modules are not marked as #![no_std]. I can see that; changes will be required to that module either way in order to gain support, so it would be better to directly add default-features = false to that module then explicitly.


Getting errors on some urls from pics in the visual recognition call

Need to add a try/except to skip these and continue.  The example data is getting old.

Closed with #35


macOS with luajit crash

$ cmake ..
-- The C compiler identification is AppleClang <IP_ADDRESS>00037
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00037
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LuaJIT: /usr/local/lib/libluajit.dylib (found version " (2.0.5)")
-- Build in debug-mode   : Yes
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/Ryan/cpp/Demo1/build
Ryan@Ryans-New-MacBook-Pro:~/cpp/Demo1/build(master)
$ make -j4 install
Scanning dependencies of target Demo
[ 50%] Building CXX object CMakeFiles/Demo.dir/main.cpp.o
[100%] Linking CXX executable Demo
[100%] Built target Demo
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/bin/Demo
Ryan@Ryans-New-MacBook-Pro:~/cpp/Demo1/build(master)
$ lldb ./Demo
(lldb) target create "./Demo"
Current executable set to './Demo' (x86_64).
(lldb) t
error: invalid process
(lldb) r
Process 48700 launched: './Demo' (x86_64)
Process 48700 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
    frame #0: 0x00007fff04c57dd4 libluajit-5.1.2.dylib`lua_pushvalue + 4
libluajit-5.1.2.dylib`lua_pushvalue:
->  0x7fff04c57dd4 <+4>:  movq   0x18(%rbx), %rax
    0x7fff04c57dd8 <+8>:  testl  %esi, %esi
    0x7fff04c57dda <+10>: jle    0x7fff04c57dfd            ; <+45>
    0x7fff04c57ddc <+12>: movq   0x10(%rbx), %rcx
Target 0: (Demo) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
  * frame #0: 0x00007fff04c57dd4 libluajit-5.1.2.dylib`lua_pushvalue + 4
    frame #1: 0x000000010000485c Demo`sol::basic_reference<false>::basic_reference(this=0x00007fff5fbff2b0, L=0x0000000000000000, index=-10000) at sol.hpp:6242
    frame #2: 0x00000001000047ef Demo`sol::basic_object_base<sol::basic_reference<false> >::basic_object_base<lua_State*&, int&, (this=0x00007fff5fbff2b0, arg=0x00007fff5fbfef68, args=0x00007fff5fbfef64)0>(lua_State*&&&, int&&&) at sol.hpp:13671
    frame #3: 0x000000010000479d Demo`sol::basic_table_core<false, sol::basic_reference<false> >::basic_table_core(this=0x00007fff5fbff2b0, (null)=no_safety_tag @ 0x00007fff5fbfef78, L=0x0000000000000000, index=-10000) at sol.hpp:17865
    frame #4: 0x0000000100004763 Demo`sol::basic_table_core<false, sol::basic_reference<false> >::basic_table_core(this=0x00007fff5fbff2b0, (null)=no_safety_tag @ 0x00007fff5fbfefa8, L=0x0000000000000000, index=-10000) at sol.hpp:17865
    frame #5: 0x0000000100004703 Demo`sol::basic_table_core<false, sol::basic_reference<false> >::basic_table_core(this=0x00007fff5fbff2b0, L=0x0000000000000000, index=-10000) at sol.hpp:17912
    frame #6: 0x0000000100004397 Demo`sol::state_view::state_view(this=0x00007fff5fbff2a8, Ls=0x0000000000000000) at sol.hpp:18748
    frame #7: 0x000000010000413d Demo`sol::state::state(this=0x00007fff5fbff298, panic=(Demo`sol::detail::default_at_panic(lua_State*) at sol.hpp:19489))(lua_State*)) at sol.hpp:19530
    frame #8: 0x0000000100002a2d Demo`sol::state::state(this=0x00007fff5fbff298, panic=(Demo`sol::detail::default_at_panic(lua_State*) at sol.hpp:19489))(lua_State*)) at sol.hpp:19530
    frame #9: 0x00000001000024b5 Demo`main at main.cpp:33
    frame #10: 0x00007fffbea38235 libdyld.dylib`start + 1
(lldb)

cpp source:
#include <iostream>
#include <sol/sol.hpp>
#include <list>

struct Player {
    void log_logout()
    {
        double a = 1 / 243424.f;
    }
};

std::list<sol::function> playerEvents;

void RegisterPlayerEvent(int event, sol::function func)
{
    playerEvents.push_back(func);
}

void OnPlayerLogout(std::shared_ptr<Player> player)
{
    for (auto func: playerEvents)
        func(player);
}

void OnPlayerLogout(Player* player)
{
    for (auto func: playerEvents)
        func(player);
}

int main()
{
    sol::state lua;
    lua.open_libraries(sol::lib::base, sol::lib::package);

    lua.new_usertype<Player>( "Player", // the name of the class, as you want it to be used in lua
            "log_logout", &Player::log_logout
    );

    lua.set_function("RegisterPlayerEvent", RegisterPlayerEvent);

    lua.script(R"(
function OnLogout(player)
    player:log_logout()
end
for i=0,1000000,1
do
    RegisterPlayerEvent(1, OnLogout)
end
    )");

    //auto plr = std::make_shared<Player>();
    Player* plr = new Player();
    OnPlayerLogout(plr);
    delete plr;

    playerEvents.clear();
}

set_target_properties(Demo PROPERTIES LINK_FLAGS
  "${LUAJIT_LINK_FLAGS}"
)
# LUAJIT_LINK_FLAGS = -pagezero_size 10000 -image_base 100000000

With LUAJIT_LINK_FLAGS fixed this crash.

This has happened many times before and for others, so now I'm adding this information to the errors page so that others won't trip up, even if they forget to read the LuaJIT docs.

Using sol3 I add the flags but still the issue persists.
[sol3] An error occurred and panic has been invoked: stack index -1, expected table, received nil: value is not a table or a userdata that can behave like one (type check failed in constructor)
libc++abi.dylib: terminating with uncaught exception of type sol::error: lua: error: stack index -1, expected table, received nil: value is not a table or a userdata that can behave like one (type check failed in constructor)
Process 44061 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff6c9962c2 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff6c9962c2 <+10>: jae    0x7fff6c9962cc            ; <+20>
    0x7fff6c9962c4 <+12>: movq   %rax, %rdi
    0x7fff6c9962c7 <+15>: jmp    0x7fff6c990453            ; cerror_nocancel
    0x7fff6c9962cc <+20>: retq
Target 0: (zone) stopped.
(lldb) q

Do you have some example code @sagunkho? Maybe you should open a new issue so I can help you diagnose the problem.

@ThePhD somewhere around this line https://github.com/horizonxyz/horizon/blob/master/src/Server/Zone/Zone.cpp#L80 Sorry for not opening a new issue.


[Documentation] Add dataflow.md file to explain the dataflow of the bot.

Actually, the documentation will be set up differently from this


DISCUSSION: improvements needed by tools scorecard uses or recommends

This thread is a collection of issues and improvements we'd like to see in the tools scorecard uses or recommends. It was suggested by @evverx

Display vulnerabilities that are ignored in pull requests https://github.com/github/codeql-action/issues/811
Pinning by hash upgrade https://github.com/dependabot/dependabot-core/issues/3699
Support for dependencies for more CICDs https://github.com/dependabot/dependabot-core/issues/3675

I think I mentioned this elsewhere but since this issue is supposed to track issues in tools scorecard recommends I'd add a link to a couple of Dependabot issues that have been open for a long time and are unlikely to be fixed anytime soon in hopes it could maybe affect anything: https://github.com/systemd/systemd/issues/21343#issuecomment-970617711

Add pinning variable to GitHub starter workflows https://github.com/actions/starter-workflows/issues/1301

It's a long shot but it would be great if LGTM could be used to analyze projects that aren't hosted on GitHub. From https://sourceware.org/bugzilla/show_bug.cgi?id=28659:

At first I thought this was pretty useful to add to our own buildbot CI setup. But it comes with a horribly proprietary license :{ "CodeQL can’t be used for automated analysis, continuous integration or continuous delivery" Sigh.

I'm not sure if it helps but that was the "elfutils" project, which I think is pretty critical since it's one of those dependencies that's basically everywhere (including systemd as it turned out :-))

https://github.com/actions/starter-workflows/issues/1299, which may be on the way to be fixed by @varunsh-coder

If it still isn't possible to figure out whether the workflow permissions are set to "Read repository contents permission" using GH API I think it should be added to the list so that scorecard wouldn't penalize projects without explicit permissions but with that flag on much.


[DO NOT MERGE] prototype async invocation API implementation

Build against the following API branch: https://github.com/lorban/terracotta-apis/tree/async
This is a request for comments, it's far from ready to be merged.
Please pay attention to the new tests in ClientEntityManagerTest as well as the few TODO's I added.

Assuming we're happy with the new API, there is a ton of things that could be cleaned up and refactored, like reworking the sync impl on top of the async one. I would prefer that we move forward using this new API first.

I think this makes sense with one caveat.  We know that adoption of this API is unlikely to happen in the 10.5.0 release... are we comfortable that there are no adverse effects that could be seen by non-users?


Add new layout for the Archipelago run

2x 16:9 in upper row
1x 16:9, 1x 4:3 in lower row
Media box gone - no space :'(
Donation bar gone, don't need it

@Jugachi this worked fine i think? anything to change before merging?

This worked perfectly fine.


refactor: 💡 Refactor JWTTokenManager to introduce TokenManager

Currently, JWTTokenManager is the top-most token manager class which
does not allow introducing new token managers in code that uses the IBM
Python SDK Core.
This commit refactors JWTTokenManager into an abstract
base class of TokenManager and the JWT-specific parts to allow extending
the Python SDK Core with non-JWT token managers.
This PR is analogous to https://github.com/IBM/node-sdk-core/pull/89

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

Thank you for the review, @mkistler !
I think I've addressed all the comments you've added. Please let me know what you think.

Thank you for the review, @vmatyusGitHub !
I've left a response to your comments in https://github.com/IBM/python-sdk-core/pull/72#discussion_r429923545 . For some reason it doesn't show up here in the conversation tab for me.

Hi @mkistler ,
I think I've addressed all your review feedback so far. Is there anything else you'd like changed for this PR?

:tada: This PR is included in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

🎉!
Thank you for the review, @mkistler and @vmatyusGitHub !
Also, thank you for the merge, @mkistler


BoxxedWine does not work

boxxedwine doesnt launch any exe files and says it cant find the wine files in system32

Hi @ElytriGit,
I just tested BoxedWine and it actually is working, but there are caveats.

BoxedWine is very picky and only works under certain circumstances. The app needs to be Win 16/32, not x64 in any way. Also the exe needs to have all it's dependent files included, so if there are any dll's and such, it needs to be loaded as a zip and not directly as the exe.
If you take a screenshot of the error BoxedWine says we can figure out why it didn't work for you.


Screenshot RiveAnimationView all transparent

Screenshot RiveAnimationView all transparent
I would like to take a screenshot of my view (RiveAnimationView).
I tried to use the pause and stop before the screenshot, but it didn't work.
The screenshot always show transparent.
I tested it with different views and the bitmap is always generated.
private val avatarView by lazy(LazyThreadSafetyMode.NONE) { binding.avatar }
val bitmap = avatarView.drawToBitmap()

    fun View.drawToBitmap(config: Bitmap.Config = Bitmap.Config.ARGB_8888): Bitmap {
        if (!ViewCompat.isLaidOut(this)) {
            throw IllegalStateException("View needs to be laid out before calling drawToBitmap()")
        }

        val bitmap =  Bitmap.createBitmap(width, height, config).applyCanvas {
            translate(-scrollX.toFloat(), -scrollY.toFloat())
            draw(this)
        }
        return bitmap
    }

Device: Android Emulator, Pixel 4

'app.rive:rive-android:4.0.0'
Android
minSdk 24
targetSdk 33

Hi @flipnovidade, can you send us a complete minimal repro (e.g. a github repo with an example app)?
Also, you might want to try upgrading the runtime version as we're currently on version 4.3.2.


[4.0.Neutronium] Header from previous page on navigate back

Ionic version:

[x] 4.0 Neutronium
I'm submitting a ...

[x] bug report
[ ] feature request

Current behavior:

When I return from a page, the header of the previous page appears for some milliseconds and disappears.
Expected behavior:

Do not display the header of the previous page on the current page even if it is for a few milliseconds.
Steps to reproduce:

Related code:

ionic start bug blank
ionic cordova platform add ios
ionic g page example

add Go to Example to ion-content in home.page.html
add <ion-buttons slot="start"><ion-back-button></ion-back-button></ion-buttons> to ion-toolbar in example.page.html
ionic cordova run ios

Click in Go to Example then, click in back arrow.

Other information:

Example repository: https://github.com/ludufre/ionic-v4-back-bug
Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.9.0 (/Users/ludufre/.npm-packages/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0
   @angular-devkit/build-angular : 0.12.3
   @angular-devkit/schematics    : 7.2.3
   @angular/cli                  : 7.2.3
   @ionic/angular-toolkit        : 1.2.3

Cordova:

   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.2, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/ludufre/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 7.0.0
   NodeJS            : v10.15.0 (/usr/local/bin/node)
   npm               : 6.7.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Still not fixed yet in 4.0.1 update.

Still not fixed yet in 4.0.2 update.

Closing as a duplicate of #16988 please track this issue there, thanks!


boolean_gauge metric type has broken error graph

While building out an uptime SLO using a BoolGauge we performed some simple testing by forcing a failure and observed the following issues:

The promql expression linked from the errors graph starts with 100 *, which returns a true percentage
The errors graph expects a percentage represented as a decimal fraction (i.e. a float between 0 & 1), and are shared amongst all slos
The burn rates also depend upon this interpretation

This resulted in the error graph making sense for our Ratio SLOs, however for a BoolGauge SLOs would return 10000% failure in the error graph (as opposed to the expected 100%), and non-sensical burn rates.
Testing
v0.7.7
Here's an example of v0.7.7 running on our production cluster, with an erroneous graph:
Pyrra graph

Prometheus graph

SLO Config
apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
  creationTimestamp: "2024-08-14T13:09:58Z"
  generation: 1
  labels:
    pyrra.dev/indicator: bool_gauge
    pyrra.dev/owner: boolean
    pyrra.dev/service: transaction-service
    pyrra.dev/slo_type: internal-slo
    release: prometheus-stack
  name: flower-events-over-5m
  namespace: prometheus-stack
  resourceVersion: "939542613"
  uid: 628f2d0d-b534-4f1d-b68b-fa40b52b8a71
spec:
  alerting: {}
  description: |2
            Flower Events Over 5m. This SLO will fire if there are no flower events over a 5 minute period.
            The metric is a boolean gauge, and will fire if the value is 0. The metric is created from an additional prometheus rule which is found in additional.rules: 'increase(sum(flower_events_total)[5m:])  == 0 or vector(1)'
            This is a warning, not a critical failure.
  indicator:
    bool_gauge:
      grouping: null
      metric: boolean_flower_events_over_5m
  target: "95.0"
  window: 14d
status:
  type: PrometheusRule

Fix in #1255
Here's an example of pyrra running on a dev cluster with fixes in place, configured against an uptime metric
Pyrra graph

Prometheus graph

SLO Config
apiVersion: pyrra.dev/v1alpha1
kind: ServiceLevelObjective
metadata:
  creationTimestamp: "2024-08-29T11:16:49Z"
  generation: 4
  labels:
    pyrra.dev/indicator: bool_gauge
    pyrra.dev/owner: sre
    pyrra.dev/service: toucan
    pyrra.dev/slo_type: internal-slo
    release: prometheus-stack
  name: uptime-customer-platform-homepage
  namespace: prometheus-stack
  resourceVersion: "252857"
  uid: 2b613ec9-00ae-4d8c-a391-0c8304d2d637
spec:
  alerting: {}
  description: |2
          To indicate the success rate of the GCP Uptime Check _"Customer Platform - Homepage"_
          Uptime checks are performed from multiple locations, each check from each location is recorded in prometheus individually.
          The metric is a boolean gauge, and will fire if the value is 0.
          The metric is imported to prometheus from stackdriver metrics via grafana-alloy.
  indicator:
    bool_gauge:
      grouping: null
      metric: stackdriver_uptime_url_monitoring_googleapis_com_uptime_check_check_passed{check_id="customer-platform-homepage-Xn0TA_mvLKg"}
  target: "99.9"
  window: 14d
status:
  type: PrometheusRule

@metalmatze is there any chance this could be looked at? Understand you have been busy with promcon but we are quite keen to stop running from our fork :)


Adding custom material dimlets to Skyfactory 3?

Following another tutorial and a previous post here, I've created the userdimlets.json file to add Awakened Draconium Blocks as a dimlet material, but it has not shown up in the Dimlet Workbench and is not absorbed by the material absorber.
https://pastebin.com/wpc5Vhmu
Any help is appreciated. I'm pretty new to this mod (and modding/coding in general) and am honestly more interested in learning what I did wrong than just getting something to copy and paste... Thanks :)
Currently using:
rftools 1.1x-6.13
rftoolsctrl 1.1x-1.6.8
rftoolsdim 1.1x-5.04
Drac-Evolution 1.10.2-<IP_ADDRESS>2

Adding this for reference


[models] DrawPoint3D() draws a point using line segment

It is drawing a line segment instead of a point. Looking at the code, it looks like the intension was to draw a point as a very short line segment.
p.s I just saw the comment above the function and realized that the actual intension is to draw a line segment. But it still looks like a line. Need to shorten the line length?
https://github.com/raysan5/raylib/blob/bc9194690c43a6a72d0fc9d16e29bc9831b030f9/src/models.c#L148

@copark86 Yes, it's designed this way because raylib does not expose GL_POINTS, internal buffers for the batching system are just for lines, triangles and quads.
Actually, that function was contributed by a raylib user and I accepted it for convenience for other users, I'm not specially happy with it.

@raysan5 By the way, is there any reason why GL_POINTS is not provided?
In my environment, even with rlBegin(GL_POINTS), it did not work as expected.

@yukkysaito Points drawing was kept out of raylib for simplicity, at the time raylib was designed it was focused on gamedev education and drawing with points is hardly ever used in that environment, afaik.


ssh not working with sqlite3

Gogs version (or commit ref): <IP_ADDRESS>3
Git version: 2.10.2
Operating system: gentoo lxc container with aa_profile=unconfined, init - systemd
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gogs.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist (usually found in log/gogs.log):

2017/03/15 23:49:18 [TRACE] Log Mode: File (Trace)
2017/03/15 23:49:18 [ INFO] Gogs Git Service <IP_ADDRESS>3
2017/03/15 23:49:18 [ INFO] Cache Service Enabled
2017/03/15 23:49:18 [ INFO] Session Service Enabled
2017/03/15 23:49:18 [ INFO] Mail Service Enabled
2017/03/15 23:49:18 [ INFO] Git Version: 2.10.2
2017/03/15 23:49:18 [ INFO] SQLite3 Supported
2017/03/15 23:49:18 [ INFO] Run Mode: Development
2017/03/15 23:49:18 [TRACE] Doing: CheckRepoStats
2017/03/15 23:49:18 [ INFO] Listen: http://<IP_ADDRESS>:3000
2017/03/15 23:49:42 [TRACE] Session ID: b5bfe9af5e07e5b0

Description
When I try to use the ssh, with sqlite3 database, I get following error message:
Gogs: Internal error
SetEngine: Fail to connect to database: Fail to create directories: mkdir database: permission denied
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

serv.log:
2017/03/16 00:17:46 [FATAL] [...its/gogs/cmd/serv.go:87 setup()] SetEngine: Fail to connect to database: Fail to create directories: mkdir database: permission denied
2017/03/16 00:18:25 [FATAL] [...its/gogs/cmd/serv.go:87 setup()] SetEngine: Fail to connect to database: Fail to create directories: mkdir database: permission denied

Switching to PostgreSQL solves the problem, and ssh starts working fine.

I suppose you're using relative path, use absolute path for SQLite3 file.

You're right, my bad ,sorry.


React Native 0.20

Hi,
I have tried to implement this in React Native 0.20 and cannot get anything aside from a blank RTCView.  navigator.getUserMedia() appears to work properly, and the camera activates on Android (haven't tested iOS yet).  getUserMedia() returns a RTCMediaStream object, seemingly correctly, which contains a _streamID.  However, I cannot seem to be able to produce any video from it.  Any ideas?  Is this just not compatible yet with RN 0.20?

Hello again,
OK so I seem to have narrowed down the problem....

I have built and run the demo app on an Android phone, which aside from adding the onLayout: true fix mentioned in other posts, ran without a hitch.

I have run the demo app on the phone, and opened the https://react-native-webrtc.herokuapp.com/ app in Chrome.  In chrome, the local and remote streams render fine.

On the phone, the RTCView renders a black box only.

Is anybody else having similar issues?  A fix would be awesome..!

Hey Joe,
Did you set RTCView's streamURL?

Hey,
Yes, RCTView's streamURL is set to the the output of RCTMediaStream.toURL()
Joe

@JoeLogan1981
Two possible issues I can think of are

setting streamURL with wrong RTCMeidaStream. Are you getting RTCMediaStream from the event generated by onaddsteram?
everything is working except the UI isn't updating. Instead of setting streamURL directly. Save stream.toURL() to a state and set streamURL = {this.state.xyz}. This way the UI will re-render when stream.toURL() updates.

@voidvoxel
RTCMediaStream is being generated correctly, basically as per the demo app code.  The media stream is delivered fine through Websockets, and the stream can be viewed (and heard) on a browser client.
The issue does indeed seem to relate to the UI not rendering correctly.  I am setting the stream.toURL() to the state correctly, and setting the streamURL = {this.state.videoURL}.
I have also build and run the demo app which gives exactly the same result.  The camera activates correctly, transmits the stream perfectly, but does not render either the remote or local stream in the RTCView.
The only errors I had during the build was during npm install, where bufferutil and utf-8-validate were unable to be built due to the lack of an explicit libgcc compiler, which seems to be a known issue since Xcode Command Line Tools was updated.....

Hi @JoeLogan1981 I am also running into the same issue. Were you able to get it to work?

@liangmicha Unfortunately not.  It's probably some kind of incompatibility with the original implementation of react-native-webrtc in Android and the current protocol implemented by the WebRTC group.  Seems to relate to the RTCView component.  I am not an Android developer by any stretch, and I reckon we could use some input from somebody who is able to debug Android builds (in Android Studio?) and offer some pointers.

+1 Also seeing a similar result. Just gray / blank video rendered locally on Android. Have not tried sending the feed out, just want to get local stream working first.

@reactor81 hopefully someone should get this resolved soon. I will try and debug it tomorrow and at least get some idea of where the issue lies.

@JoeLogan1981  was this working with previous versions of react-native? If so, which one?

@liangmicha This was working on ios and android on version 0.1.5

I just update 0.3.0. Please try to see whether the problem is fixed. You can also try Demo project. It should work with RN 0.20.0 on iOS and Android.

@oney tested on RN 0.20.0 and working on both Android and iOS.  Closing now.


Timeouts on cold start via http-gateway

The FATS test suite occasionally fails because the http-gateway returns a 404 after waiting for a function response for 60 seconds. The root cause will need further investigation.

Now with logs:
https://travis-ci.org/projectriff/fats/builds/352982899
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:22 Recv loop terminated: err=read tcp <IP_ADDRESS>:36886-><IP_ADDRESS>:2181: i/o timeout
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:22 Send loop terminated: err=<nil>
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:23 Connected to <IP_ADDRESS>:2181
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:28 Authenticated: id=99678023186579456, timeout=4000
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:28 Re-submitting `0` credentials after reconnect
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:30 Recv loop terminated: err=read tcp <IP_ADDRESS>:37116-><IP_ADDRESS>:2181: i/o timeout
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:30 Send loop terminated: err=<nil>
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:31 Connected to <IP_ADDRESS>:2181
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:37 Authenticated: id=99678023186579456, timeout=4000
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:37 Re-submitting `0` credentials after reconnect
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:40 Recv loop terminated: err=read tcp <IP_ADDRESS>:37148-><IP_ADDRESS>:2181: i/o timeout
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:40 Send loop terminated: err=<nil>
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:41 Connected to <IP_ADDRESS>:2181
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:47 Authenticated: id=99678023186579456, timeout=4000
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:47 Re-submitting `0` credentials after reconnect
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:48 Adding topic fats-uppercase-node with 1 partitions
riff-system/control-riff-function-controller-584b87846b-vf5db[riff-function-controller]: 2018/03/13 18:33:48 Topic added: fats-uppercase-node
riff-system/control-riff-function-controller-584b87846b-vf5db[riff-function-controller]: 2018/03/13 18:33:49 Function added: fats-uppercase-node
riff-system/control-riff-topic-controller-6df78c9844-9ln97[riff-topic-controller]: 2018/03/13 18:33:49 Failed to add topic fats-uppercase-node: Replication factor must be between 1 and the number of brokers
riff-system/control-riff-function-controller-584b87846b-vf5db[riff-function-controller]: 2018/03/13 18:33:49 Deployment added/updated: fats-uppercase-node
riff-system/control-riff-function-controller-584b87846b-vf5db[riff-function-controller]: 2018/03/13 18:33:49 Deployment added/updated: fats-uppercase-node
riff-system/control-riff-function-controller-584b87846b-vf5db[riff-function-controller]: 2018/03/13 18:33:49 Deployment added/updated: fats-uppercase-node
riff-system/control-riff-http-gateway-596f79f444-9cr4k[riff-http-gateway]: 2018/03/13 18:33:49 Failed to send message  kafka: Failed to produce message to topic fats-uppercase-node: kafka server: Replication-factor is invalid.
riff-system/control-riff-function-controller-584b87846b-vf5db[riff-function-controller]: 2018/03/13 18:34:16 Deployment added/updated: fats-uppercase-java
riff-system/control-riff-function-controller-584b87846b-vf5db[riff-function-controller]: 2018/03/13 18:34:16 Deployment deleted: fats-uppercase-java

@ericbottard have you seen an error like this before?
Failed to add topic fats-uppercase-node: Replication factor must be between 1 and the number of brokers

No. Could it be that no broker is up at the time this is tried, hence 1 > 0?

Could it be that no broker is up at the time this is tried, hence 1 > 0?

FATS waits for Kafka to be fully up and running. Other functions have been invoked just before successfully. I see this error on ~5% of function deployments. It's possible that riff publish is being called too quickly (immediately) after riff create returns.

Seeing this error much more often now. Marking as a blocker

This issue has gone stale, we're on Knative now! Please reopen if still relevant.


Create patterns for words rather than sentences

When there is an error in extract_tf3eelav3 the pattern generation stops for the whole sentence. Maybe a better solution is to generate patterns for words and then merge them.

I really like this idea. Hope it will work fine with us. I even want to go further and decouple the tasks in that function into subfuctions.


Fix some warnings

Some work on #9. This fixes all warnings except dead code.

Thank you for your pull request! I really appreciate that you're interested in contributing!
I don't have time to review this right now, but I should be able to later today (my timezone is EST).


Distorded Icons.note

The icon Icons.note and its family Icons.note_outlined, Icons.note_rounded, Icons.note_sharp are distorded.
Steps to Reproduce

Create a Flutter project
Try to display an Icon widget with any of the mentionned IconData above.

Expected results:

Actual results:

Code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return  MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: const [
              Icon(Icons.note),
              Icon(Icons.note_outlined),
              Icon(Icons.note_rounded),
              Icon(Icons.note_sharp),
            ],
          ),
        ),
      ),
    );
  }
}

Reproducible on DartPad: https://dartpad.dev/?id=d8166c6a1f4c04dd23fbc25bd662671a

Logs
$ flutter analyze
Analyzing example...
No issues found! (ran in 3.4s)

$ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.3.1 21E258 darwin-x64, locale fr-FR)
    • Flutter version 3.0.2 at /usr/local/share/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (9 days ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /usr/local/share/android-sdk
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = /usr/local/share/android-sdk
    • ANDROID_SDK_ROOT = /usr/local/share/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (4 available)
    • iPad de Guillaume (mobile)          • 00008103-000250EA3CA0801E            • ios            • iOS 15.5 19F77
    • iPhone SE (3rd generation) (mobile) • C173C903-B118-41EB-AE22-3FF346AC054E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)                     • macos                                • darwin-x64     • macOS 12.3.1 21E258 darwin-x64
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome 102.0.5005.115

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

@TesteurManiak, thanks for filing the issue.
I can reproduce the issue on the latest stable and master channels with provided sample code.
As far as I can see, the Asset Studio from Android Studio has the same Note distorded icon.

And the same icon in https://fonts.google.com/icons?icon.query=note&icon.set=Material+Icons

Demo

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.0.2 at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (4 days ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Android Studio
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 102.0.5005.115

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.1312, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.1.0-0.0.pre.1312 at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4f034a4045 (2 hours ago), 2022-06-19 21:54:10 -0400
    • Engine revision 7327d809f9
    • Dart version 2.18.0 (build 2.18.0-190.0.dev)
    • DevTools version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 102.0.5005.115

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

The icon you're seeing in Flutter is a Material Icon, displayed correctly: https://fonts.google.com/icons?selected=Material+Icons+Outlined:note:&icon.style=Sharp&icon.query=note.
The vertical looking icon is actually a Material Symbol, which we plan to support soon #102560.


Elephant Taco Game

Describe the project you want to add with tech stack

This game is built with Html, CSS, JavaScript, React, SVG, and GreenSock. It's about a hipster elephant who wants to get tacos but his friends keep trying to change plans .
Once there was an elephant. He was excited to go out with his friends and get tacos, but they kept texting him to change the plans. Help the elephant get all the tacos and avoid flakey text messages to get to delicious glory!
Expected behavior

Player has to use up, down, left, right arrow keys to move the elephant to get the nuts and avoid the phone.
Screenshots (optional)

Additional context (optional )

Please assign me this issue under gssoc'23.


issues with ReadtheDocs - changes are not showing up

Not sure who to assign this to:
I made some changes to this file (https://github.com/monarch-initiative/mondo/blob/master/docs/editors-guide/f-entities.md) and the changes are not showing up in RTD here: https://mondo.readthedocs.io/en/latest/editors-guide/f-entities/
See this PR:
https://github.com/monarch-initiative/mondo/pull/2769

Another issue:
The image is not showing up in this file:
https://github.com/monarch-initiative/mondo/blob/master/docs/developer-guide/release.md

Do you mean mkdocs? We don't use rtd
On Thu, Mar 4, 2021, 14:11 Nicole Vasilevsky<EMAIL_ADDRESS>wrote:

Another issue:
The image is not showing up in this file:
https://github.com/monarch-initiative/mondo/blob/master/docs/developer-guide/release.md
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/monarch-initiative/mondo/issues/2774#issuecomment-790980964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOKA5MHUT5MAO3N3M4LTCAARHANCNFSM4YUCKYLQ
.

Yes, that is what I mean - the editors guide

to do:

[ ] don't do alphabetical

View Mondo:
AberOWL: http://aber-owl.net/ontology/MONDO/#/
BioPortal: https://bioportal.bioontology.org/ontologies/MONDO
OBO Foundry: http://obofoundry.org/ontology/mondo.html
Ontobee: http://www.ontobee.org/ontology/MONDO
Ontology Lookup Service: https://www.ebi.ac.uk/ols/ontologies/mondo
Monarch Initiative: https://monarchinitiative.org/disease/MONDO:0000001

[ ] For browsing prioritize OLS and Monarch, but emphasize Monarch is often out of date

[ ] presentations:
we should have just one canonical presentation

[ ] to do:
need to make it clearer which one you are in. You can't tell from these URLs which is for editors and which is for end-users. The banner on the editors guide just says "Mondo Documentation". And the editors guide contains sections like 'rare disease analysis' and a 'Developer guide' and 'changelog' that feel like they are in the wrong place.

to do - try logging into RTD and triggering

to do - try logging into RTD and triggering

this is fixed, thanks to @cmungall and @matentzn
I am going to close this ticket and move the website edits to another ticket b/c that is unrelated


Show phone numbers in Algolia search results in the client

With a recent change we have included phone numbers in the service data in Algolia. This story is about the client reading that data and showing it in the UX.
Acceptance Criteria

[x]  Search results contain phone numbers for services.

Tested Staging V1.13.0, Server V1.3.19 on iOS 13.3: phone numbers show up (see screenshots below)


Added re_safe selectors for Mode listicle containing div and logic fo…

…r force promoting this div when scoring elements.

:+1:


Roll engine 7ea9884ab00e..50bdbd769eee (3 commits)

git@github.com:flutter/engine.git/compare/7ea9884ab00e...50bdbd769eee
git log 7ea9884ab00e..50bdbd769eee --no-merges --oneline
2019-09-06<EMAIL_ADDRESS>Document dependencies and remove support-v13 (flutter/engine#11912)
2019-09-06<EMAIL_ADDRESS>Roll src/third_party/dart be66176534..ec7ec4ecf7 (37 commits)
2019-09-06<EMAIL_ADDRESS>Roll src/third_party/skia 080d210e7acc..c30f1a936d84 (21 commits) (flutter/engine#12031)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


refactor(nx-vite): remove fstree

@JakeGinnivan I created this PR to fix the issue with the previous one (fstree was still present)

Ah thanks for that, I'd seen the build fail and was going to sort it out in the morning.


Updating Partitioning Schema for Azure Functions

@viskri-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Upgrade nouislider

You should change the branch you're targeting to develop

There's no develop branch on this repo @Haroenv

sorry, thought this was another repo @iam4x

👌


Add API to inquire live nodes by clients

Adds an API endpoint to produce a list of live nodes for specific tools or client libraries.
This is a prerequisite for stress testing. It provides connect information for nodetool, cassandra-stress, cqlsh plus general-purpose JSON and plain text output.
General invocation:
http://host:port/live-endpoints/json/2   retrieves two live nodes via json
http://host:port/live-endpoints/cqlsh   retrieves one live nodes as a argument (list) for cqlsh
Available 'applications' are json, text, cqlsh, stress, nodetool

pure text can be useful for simple shell scripts - much easier than parsing JSON in bash for example.

Updated to use query-param and other endpoints & rebased

Needs rebase after merging #45

OK, rebased


WIP - caching for features

Addresses #17

q: why use pickle.loads() etc if using a BLOB datatype. Shouldnt we be able to get the binary representation rather than dumps/loads (string)?

sweet

I think this is all set to merge?

perfect, thanks! I already started using it for an IR class notebook


clean command fails

./nu clean fs-layout fails with error *** Error in ./nu': malloc(): memory corruption (fast): 0x0000000002474cc0 ***`
valgrind !! > err.txt 2>&1
gives:
==14907== Memcheck, a memory error detector
==14907== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==14907== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==14907== Command: ./nu clean fs-layout/
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x45CCC6: __linkin_atfork (in /home/ubuntu/workspace/nu)
==14907==    by 0x425413: ptmalloc_init.part.7 (in /home/ubuntu/workspace/nu)
==14907==    by 0x42579D: malloc_hook_ini (in /home/ubuntu/workspace/nu)
==14907==    by 0x48A4F2: _dl_get_origin (in /home/ubuntu/workspace/nu)
==14907==    by 0x45D55E: _dl_non_dynamic_init (in /home/ubuntu/workspace/nu)
==14907==    by 0x45E357: __libc_init_first (in /home/ubuntu/workspace/nu)
==14907==    by 0x40E111: (below main) (in /home/ubuntu/workspace/nu)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420E49: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x484000: fillin_rpath (in /home/ubuntu/workspace/nu)
==14907==    by 0x4846DE: _dl_init_paths (in /home/ubuntu/workspace/nu)
==14907==    by 0x45DA3C: _dl_non_dynamic_init (in /home/ubuntu/workspace/nu)
==14907==    by 0x45E357: __libc_init_first (in /home/ubuntu/workspace/nu)
==14907==    by 0x40E111: (below main) (in /home/ubuntu/workspace/nu)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420EAF: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x484000: fillin_rpath (in /home/ubuntu/workspace/nu)
==14907==    by 0x4846DE: _dl_init_paths (in /home/ubuntu/workspace/nu)
==14907==    by 0x45DA3C: _dl_non_dynamic_init (in /home/ubuntu/workspace/nu)
==14907==    by 0x45E357: __libc_init_first (in /home/ubuntu/workspace/nu)
==14907==    by 0x40E111: (below main) (in /home/ubuntu/workspace/nu)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x4222E7: _int_malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x4243FC: malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x483C1C: expand_dynamic_string_token (in /home/ubuntu/workspace/nu)
==14907==    by 0x483DAC: fillin_rpath (in /home/ubuntu/workspace/nu)
==14907==    by 0x4846DE: _dl_init_paths (in /home/ubuntu/workspace/nu)
==14907==    by 0x45DA3C: _dl_non_dynamic_init (in /home/ubuntu/workspace/nu)
==14907==    by 0x45E357: __libc_init_first (in /home/ubuntu/workspace/nu)
==14907==    by 0x40E111: (below main) (in /home/ubuntu/workspace/nu)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x4206B8: malloc_consolidate (in /home/ubuntu/workspace/nu)
==14907==    by 0x4223E0: _int_malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x424ED5: calloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x402CDC: getNuDir (cmds.c:107)
==14907==    by 0x40277F: parseOpts (nu.c:49)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420E49: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x4012F4: isNuDir (util.c:79)
==14907==    by 0x402DA2: getNuDir (cmds.c:121)
==14907==    by 0x40277F: parseOpts (nu.c:49)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420EAF: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x4012F4: isNuDir (util.c:79)
==14907==    by 0x402DA2: getNuDir (cmds.c:121)
==14907==    by 0x40277F: parseOpts (nu.c:49)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
ok 5
ok 6 rm -rf " /home/ubuntu/workspace/fs-layout/posts
ok 7 47
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x4222E7: _int_malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x4243FC: malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x40DCEF: strutil_append_no_mutate (strutil.c:11)
==14907==    by 0x401344: delDir (util.c:107)
==14907==    by 0x402BD1: cleanNuDir (cmds.c:81)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
ok 8.6 0x40027e0
ok 6
ok 6 rm -rf "/home/ubuntu/workspace/fs-layout/posts "
ok 7 48
ok 8.6 0x4002850
ok 7
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420E49: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x4013A7: delDir (util.c:112)
==14907==    by 0x402BD1: cleanNuDir (cmds.c:81)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420EAF: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x4013A7: delDir (util.c:112)
==14907==    by 0x402BD1: cleanNuDir (cmds.c:81)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420E49: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x4013B3: delDir (util.c:113)
==14907==    by 0x402BD1: cleanNuDir (cmds.c:81)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420EAF: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x4013B3: delDir (util.c:113)
==14907==    by 0x402BD1: cleanNuDir (cmds.c:81)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420E49: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x402C05: cleanNuDir (cmds.c:85)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x420EAF: _int_free (in /home/ubuntu/workspace/nu)
==14907==    by 0x402C05: cleanNuDir (cmds.c:85)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
ok
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x4222E7: _int_malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x424ED5: calloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x4011F8: dirJoin (util.c:49)
==14907==    by 0x402C2F: cleanNuDir (cmds.c:89)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
ok 1.5, 0, /home/ubuntu/workspace/fs-layout/special
ok 5
ok 6 rm -rf " /home/ubuntu/workspace/fs-layout/special
ok 7 49
==14907== Conditional jump or move depends on uninitialised value(s)
==14907==    at 0x46A544: raise (in /home/ubuntu/workspace/nu)
==14907==    by 0x413B47: abort (in /home/ubuntu/workspace/nu)
==14907==    by 0x4176CF: __libc_message (in /home/ubuntu/workspace/nu)
==14907==    by 0x41FFD2: malloc_printerr (in /home/ubuntu/workspace/nu)
==14907==    by 0x42335D: _int_malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x4243FC: malloc (in /home/ubuntu/workspace/nu)
==14907==    by 0x40DCEF: strutil_append_no_mutate (strutil.c:11)
==14907==    by 0x401344: delDir (util.c:107)
==14907==    by 0x402C6C: cleanNuDir (cmds.c:93)
==14907==    by 0x402808: parseOpts (nu.c:54)
==14907==    by 0x4028E7: main (nu.c:73)
==14907==
==14907==
==14907== HEAP SUMMARY:
==14907==     in use at exit: 0 bytes in 0 blocks
==14907==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==14907==
==14907== All heap blocks were freed -- no leaks are possible
==14907==
==14907== For counts of detected and suppressed errors, rerun with: -v
==14907== Use --track-origins=yes to see where uninitialised values come from
==14907== ERROR SUMMARY: 19 errors from 16 contexts (suppressed: 0 from 0)

issue may be in strutil_append_no_mutate, but it doesn't appear to be there...

note that the first directory successfully removed, but not the second one.

fixed. it was an issue with the joinDir function not null-terminating, I think.


Word Wrap Repeatedly Re-Enables Itself

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
I have disabled word wrap in settings. I want it to stay disabled - I never want to see lines wrap in code.
VS Code re-enables line-wrap despite this setting almost within seconds of disabling it using the view>Word Wrap menu. Every time I switch to a new file, or open and close a file, or even if I just wait a minute or two. So, I have to turn this back off again every 30 seconds to 2 minutes.

If not, please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.

Does #139340 apply to your situation? I don't think so, the code I'm updating on a new MacBook Pro was developed in VS Code a couple years back on a different MBP, and this issue did not occur, with a similar set of extensions loaded.
The maximum line length in files where this occurs is perhaps only 160 chars. Though, I do have other files where it might be closer to 400 chars. These are long tag-specification options in AWS CLI commands. I just don't want them to wrap. It did not do this before.

Do you have Settings Sync enabled? If so, does its log reveal anything?

@michael-crawford Does this reproduce when disabling all extensions? You can try the following:

run F1 > Help: Start Extension Bisect
(this will restart VS Code with half of your extensions disabled)
try to do the steps which reproduce the problem
if the problem reproduces, click "This is bad" (this narrows down the problematic extension to the half which was enabled)
if the problem does not reproduce, click "Good now" (this narrows down the problematic extension to the half which was disabled)
these steps will repeat until the problematic extension is found

initial
step
final

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[Outlining] Support for keyboard shortcuts

Support the standard VS shortcuts for outline blocks e.g. CTRL M + M collapses / expands a block.

I'm not using outlining keyboard shortcuts much. Could you give a detailed list of missing shortcuts?
If we do this, we should do all at once.

These are taken from VS2015 in C# projects - I believe that they are the same as older versions.

cool. looking forward to this!!!

@isaacabraham Just grab the latest build from AppVeyor.

already have :-)

This works like a charm by the way - brilliant stuff.


Update the style of the website

Currently the website uses a mix of light and dark colors,
it would be nice if the site was more consistent.
Currently

Full dark mode

Full dark mode with backdrop filter

That's indeed a nice idea, thanks @wjtje ! 👍
I would even suggest to use the browser theme (dark/light) by default with a button to switch to the other theme.
Would you have time to submit a PR for this ?

I've got the browser theme working now but implementing the button to switch the theme and changing the map theme would require modification to each city's index.html.

[...] would require modification to each city's index.html

Definitely not an issue!
You can update the index.html file from the template (with another PR).
Each city will then decide if they apply the update or not.


[WIP] try using kind instead of minikube

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


how to do transactions in papr?

Can we do transactions using papr? give an example code for testing.

A transaction example is now available: https://github.com/plexinc/papr/blob/main/example/transaction.ts


Could Samples extract information from the Kotlin compiler and feed them into Dokka?

📝 Description
I am working on Dokka support for Material for MkDocs. One reason is to allow joining the Dokka documentation with regular tutorials, an other is to try to improve the web experience when using Dokka.
One such case is around code samples. There are three very different kinds of code samples that can appear in Dokka documentation (visible with my plugin, but also in the default HTML format):

Header snippets
Embedded markdown snippets
Embedded playground samples

Playground samples are off-topic for this discussion.
Embedded markdown snippets are regular markdown documents. They feature code highlighting but no other features.
Header snippets are generated by Dokka for each symbol. For example, a class gets a small snippet at the start of its page that shows how it is declared in code. Functions, interfaces, etc all possess this header. While they look like regular markdown code snippets initially, they actually have a super-power: they can contain links. Users can click on the type of parameters and return values to navigate to their pages.
Since Samples extracts information from regular markdown snippets and pushes them through the Kotlin compiler, I wonder if it could be possible to extract type information from the Kotlin compiler to provide these additional features (embedded links) in all samples extracted by Samples.

@CLOVIS-AI For now, Kotools Samples inlines code samples, when referenced in the main sources, into regular Markdown code blocks with the corresponding language (Kotlin or Java currently). Like you know, it is not possible to provide links in Markdown code blocks.
I'm very curious about the header snippets. Do you have an example of a header snippet that can appear in the documentation generated by Dokka? I'm new to this topic, so a simple example would be very much appreciated. 😉

Open any Dokka HTML page for a class or method, and you'll see one :)
For example in the prepared documentation:

In the header comment, types are links to other pages. In the regular Markdown snippet, it's not possible to link to other places (yet? :eye:)

Okay, now I see what you mean @CLOVIS-AI.
After looking at the HTML page generated by Dokka on the link that you've sent, I see that headers and Markdown code blocks are rendered differently. Maybe, Kotools Samples could generate an HTML code block instead of using Markdown code blocks. This could be possible by using the symbol CSS class, and put text having a link in brackets. Also, this change could have an impact on color rendering for languages like Java. Using a Markdown block has the advantage of supporting this right of the box.

Yeah, definitely. I'll think about it some more and maybe send it as a feature request to Dokka itself.

That would be cool @CLOVIS-AI. Don't hesitate to share this request, when available, in this issue for linking them.


What is the resampling Algorithm used here?

Yeh, sorry bout that, I should've removed resampling from the readme. I was planning to do that, but when it came to implementing proper interpolation i decided that there is no use-case for it yet.
Please use other lib for now. I guess dsp.js may work.

Heh, no issues. I am probably going to use Secret Rabbit Code

For those who want to use a resampler you can use node-samplerate. It uses libsamplerate
To convert it to a stream you can use

import Streams from 'stream';
import libsamplerate from 'node-samplerate';

// Resamples 16Bit PCM at inSR to outSR
export default class Resampler extends Streams.Transform{
    static defaults = {
      inSampleRate: 16000,
      outSampleRate: 44100,
    };

    constructor(opts){
      /* Initialize resampling logic here */
      super(Object.assign(opts, Resampler.defaults));
      this.opts = opts;
    }

    _transform(chunk, encoding, done){
        /* Put resampling logic here */
        const opts = this.opts;
        const resampledData = libsamplerate.resample(chunk, opts.inSampleRate, opts.outSampleRate, 1);
        this.push(resampledData);
        done();
    }
}


Simplify stream modules

Is your feature request related to a problem? Please describe.
Can  ephys_modules fiber_modules and manipulator_modules be combined into one field?
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@mekhlakapoor we discussed this last week, correct? Can we close this ticket?

The different modules were separated for users. Closing this issue as not planned


Add Paraglide to i18n community libraries

Description (required)
This PR adds Paraglide to the community libraries in the i18n recipie.
Paraglide plays really well with islands due to it's treeshakeable output. It only ships messages for an island if they are actually used, making it a great fit for translating interactive components and site shells. The resulting bundle can be as small as 120bytes, depending on the message and number of languages.
The Paraglide team is also committed to maintaining good Astro guides  and examples.
Related issues & labels (optional)

Suggested label: site improvement

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Thank you all!


Fix: change transfer_to_output to transfer_to_address

forc 0.25 changed transfer_to_output (the Sway function) to transfer_to_address. This PR makes this change in our test contracts and documentation.

Currently blocked by some breaking behavior in ec_recover_address() introduced recently in forc 0.25.


Document benchmark results with visualization helper.

I added visualizing helper and added documentation page to collect the results.
It only contains the representing result with 63 cpu cores with 128 GB memory.
Other results will be added in a separate PR.
TODO:

[ ] Add plot of performance comparing between just workflow and beamlime

Closing this one in favor of #122


Build failure when activating the Thermostat cluster inside ZAP

Problem
Enabling the thermostat cluster in ZAP results in build failure. I would have expected linking issues, but not build failures.
It fails to build because of 2 reasons:

There is an conversion caught by -Wconversion
There is a name conflict between one of the thermostat command argument and the code generated by ZAP

Summary of Changes

Fix the conversion issue. The core tries to store an int16_t' as a uint16_t`. This is OK I guess
Change payload to encodedCommand inside the templates to generate the cpp API

I found out that the thermostat cluster also has commands on the client side. There is an issue with the templates that generates the callbacks for the controller. I have added the fix for that as well.


beforeOpen is not called in tests

Hey,
thanks for the awesome library.
Right now I'm having the issue that my data, which I pre-populate in beforeOpen, don't seem to be applied to the test database.
Is that the expected the behavior?
✌🏽

How are you creating a test database - with NativeDatabase.memory()? The beforeOpen callback should be called in tests as well (and I'm relying on this in drift tests too). If you're re-using a drift database across multiple tests, beforeOpen would not be called in every tests (just once when the database is opened)

I'll show you a few snippets from my code:
database.dart:
class AppDatabase extends _$AppDatabase {
  ...

  MigrationStrategy get migration => MigrationStrategy(
        onCreate: (m) async {
          await m.createAll();
        },
        onUpgrade: stepByStep(
          from1To2: _from1To2,
          from2To3: _from2To3,
        ),
        beforeOpen: (details) async {
          _populate(details);
          await customStatement('PRAGMA foreign_keys = ON');
        },
      );

  ...

  Future<void> _populate(OpeningDetails details) async {
    if (details.wasCreated ||
        (details.hadUpgrade &&
            (details.versionBefore != null && details.versionBefore! < 2) &&
            (details.versionNow >= 2))) {
      ... // run when migration for v2 is done
    }
  }
}

database_test.dart:
void main() {
  ...

  test('upgrade from v2 to v3', () async {
    final schema = await verifier.schemaAt(2);
    final oldDb = v2.DatabaseAtV2(schema.newConnection());
    await verifier.migrateAndValidate(oldDb, 2);

    var model = await oldDb.select(oldDb.models).get();

    expect(exercises.isNotEmpty, true); // This is failing

    ...
  }

  ...
}

Thanks for posting the snippets. I see three potential issues there:

You're not awaiting _populate in beforeOpen (ok, this is technically not a problem since drift will run queries in the right order with NativeDatabases. still, await your queries!).
You're calling schemaAt(2) followed by migrateAndValidate(...,2). There is no migration if the two versions are the same - the database will think it's up-to-date and just open.
You're passing DatabaseAtV2 to migrateAndValidate. These databases aren't capable of running a migration, they just create an older schema version. You should always pass your AppDatabase to migrateAndValidate.

Since your if statement matches upgrades from v1 to later versions, I guess you meant to test this in a test from v1 to v2?
void main() {
  ...

  test('upgrade from v1 to v2', () async {
    final schema = await verifier.schemaAt(1);

    final db = AppDatabase(schema.newConnection());
    // this runs the migration and should call beforeOpen
    await verifier.migrateAndValidate(db, 2);

    //
    final oldDb = v2.DatabaseAtV2(schema.newConnection());

    var model = await oldDb.select(oldDb.models).get();

    expect(exercises.isNotEmpty, true);

    ...
  }

  ...
}

Hey, sorry for the late reply.
Thanks for the info on the await - missed that 😅
I added the migrateAndValidate(...,2) to force the populate to run since without it it was failing aswell.
So what I actually did was:
test('upgrade from v2 to v3', () async
  final schema = await verifier.schemaAt(2);
  final oldDb = v2.DatabaseAtV2(schema.newConnection());

  var model = await oldDb.select(oldDb.models).get();
  expect(models.isNotEmpty, true); // it fails here with Expected: <true> Actual: <false>

  ...
}

I expect this to actually contain data if the _populate function ran, since the test for upgrading from v1 to v2 succeeds and the table is not empty. It should be populated by running the beforeOpen function of MigrationStrategy defined in the database.dart with the details.wasCreated being true.
I think I can't use AppDatabase since it is the latest version, which would be v3 in my case. I want to check if the changes to the table in v3 are also applied to the data, which is pre-populated.
Hope this narrows it down 😄

I expect this to actually contain data if the _populate function ran, since the test for upgrading from v1 to v2 succeeds and the table is not empty

Every time you call schemaAt(x), a new temporary database is created to test schema migrations in isolation. The upgrade from v2 to v3 test you've posted does not use AppDatabase at all, so _populate cannot be called.

I think I can't use AppDatabase since it is the latest version, which would be v3 in my case. I want to check if the changes to the table in v3 are also applied

The way to ensure migrations don't loose data is to just create an old schema, insert values into the old database, run the migration and check the data is still there, like this:
https://github.com/simolus3/drift/blob/258210961433b7dc1339f74bd5bbca7896db17f6/examples/migrations_example/test/migration_test.dart#L46-L65