Turn on experimental parser by default

Pre-reqs:

[ ] Macros that override ref and source
[ ] Adding second flag to put this logic behind instead

Broke this out from the over-arching story: https://github.com/dbt-labs/dbt/issues/3502


ci(github-actions): add Prettier auto-correct for lint issues on PRs (#711)

Fixes Issue
My PR closes #711
👨💻 Changes proposed(What did you do ?)

Addition of formatting using Prettier and ESLint on Pull Requests using Github Actions.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title and description of the PR is clear and explains the approach.

Note to reviewers

📷 Screenshots

@joshua-jinu your lint fails

did you use chatgpt? looks like you didn't study the project structure to do this

Hey @Dun-sin , I've made the changes, could you please review them

Thank you @Dun-sin, looking forward to work on more such PRs


Ensure Proper Cleanup of Yorkie Initialization Process

What this PR does / why we need it:
This PR ensures that the Yorkie client and document are correctly detached and deactivated even if the component unmounts before the initialization finishes, preventing potential memory leaks and ensuring resource integrity.

Added logic to handle cleanup of the Yorkie client if the component unmounts before initialization completes. (Ref: https://react.dev/learn/synchronizing-with-effects#fetching-data)
Incorporated Yorkie cleanup within the useYorkieDocument hook to ensure comprehensive resource management.

Which issue(s) this PR fixes:

Fixes #203
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation:

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

 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.


object.cc: 16408: error: unreachable code when calling _typeOf<Provider>()

This code does not fail on startup, but during hot reload.
Flutter version
Flutter 0.3.0 • channel dev • https://github.com/flutter/flutter.git
Framework • revision c73b8a7cf6 (7 days ago) • 2018-04-12 16:17:26 -0700
Engine • revision 8a6e64a8ef
Tools • Dart 2.0.0-dev.47.0.flutter-4126459025
Repro code
//-------------------------------------------------------------------
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  final String title;

  MyApp({Key key, this.title}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "Flutter Redux Demo",
      theme: ThemeData(
        primarySwatch: Colors.red,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class AppState {

}

class Provider<T> {

}

abstract class PageState<W extends StatefulWidget, S> extends State<W> {
  // Workaround to capture generics
  static Type _typeOf<T>() => T;

  void init() {
    final type1 = _typeOf<Provider<AppState>>(); // works
    final type2 = _typeOf<Provider<S>>(); // DOES NOT WORK - object.cc: 16408: error: unreachable code
  }
}

class MyHomePage extends StatefulWidget {
  final String title;
  MyHomePage({Key key, this.title}) : super(key: key);

  @override
  _MyHomePageState createState() => new _MyHomePageState();
}

class _MyHomePageState extends PageState<MyHomePage, AppState> {
  @override
  Widget build(BuildContext context) {
    super.init(); // calls into method that causes failure

    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(

        ),
      ),
    );
  }
}

Log Failure:
Initializing hot reload...
E/DartVM  ( 3758): ../../third_party/dart/runtime/vm/object.cc: 16408: error: unreachable code
E/DartVM  ( 3758): Dumping native stack trace for thread ec6
E/DartVM  ( 3758):   [0x0000736d9c49df67] Unknown symbol
E/DartVM  ( 3758):   [0x0000736d9c49df67] Unknown symbol
E/DartVM  ( 3758):   [0x0000736d9c739786] Unknown symbol
E/DartVM  ( 3758): -- End of DumpStackTrace
F/libc    ( 3758): Fatal signal 6 (SIGABRT), code -6 in tid 3782 (Thread-2)

Build fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:7.0/NYC/4662066:userdebug/dev-keys'
Revision: '0'
ABI: 'x86_64'
pid: 3758, tid: 3782, name: Thread-2  >>> com.example.helloworld <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
rax<PHONE_NUMBER>000000  rbx 0000736d9b5654f8  rcx ffffffffffffffff  rdx<PHONE_NUMBER>000006
rsi<PHONE_NUMBER>000ec6  rdi<PHONE_NUMBER>000eae
r8<PHONE_NUMBER>000000  r9<PHONE_NUMBER>00001f  r10<PHONE_NUMBER>000008  r11<PHONE_NUMBER>000202
r12<PHONE_NUMBER>000ec6  r13<PHONE_NUMBER>000006  r14 0000736d9c7a2837  r15 0000736d9b55dbd0
cs<PHONE_NUMBER>000033  ss<PHONE_NUMBER>00002b
rip 0000736db7c93b67  rbp<PHONE_NUMBER>000000  rsp 0000736d9b55da38  eflags<PHONE_NUMBER>000202
backtrace:
#00 pc<PHONE_NUMBER>08db67  /system/lib64/libc.so (tgkill+7)
#1 pc<PHONE_NUMBER>08a601  /system/lib64/libc.so (pthread_kill+65)
#2 pc<PHONE_NUMBER>030241  /system/lib64/libc.so (raise+17)
#3 pc<PHONE_NUMBER>02877d  /system/lib64/libc.so (abort+77)
#4 pc<PHONE_NUMBER>78c695  /data/app/com.example.helloworld-1/lib/x86_64/libflutter.so
#5 pc<PHONE_NUMBER>a8078a  /data/app/com.example.helloworld-1/lib/x86_64/libflutter.so
#6 pc<PHONE_NUMBER>750ed2  /data/app/com.example.helloworld-1/lib/x86_64/libflutter.so
#7 pc<PHONE_NUMBER>704cf6  /data/app/com.example.helloworld-1/lib/x86_64/libflutter.so
#8 pc<PHONE_NUMBER>71e48f  /data/app/com.example.helloworld-1/lib/x86_64/libflutter.so
#9 pc<PHONE_NUMBER>82ea2c  /data/app/com.example.helloworld-1/lib/x86_64/libflutter.so
#10 pc<PHONE_NUMBER>00063a  anonymous:0000736d98940000
#11 pc<PHONE_NUMBER>020fa0  anonymous:0000736d8f580000
#12 pc<PHONE_NUMBER>020840  anonymous:0000736d8f580000
#13 pc<PHONE_NUMBER>002233  anonymous:0000736d8de00000
#14 pc<PHONE_NUMBER>008523  anonymous:0000736d8e100000
#15 pc<PHONE_NUMBER>00768c  anonymous:0000736d8e100000
#16 pc<PHONE_NUMBER>006f98  anonymous:0000736d8e100000
#17 pc<PHONE_NUMBER>03f2c6  anonymous:0000736d8e100000
#18 pc<PHONE_NUMBER>00687f  anonymous:0000736d8e100000
#19 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#20 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#21 pc<PHONE_NUMBER>00887b  anonymous:0000736d8e100000
#22 pc<PHONE_NUMBER>00768c  anonymous:0000736d8e100000
#23 pc<PHONE_NUMBER>006f98  anonymous:0000736d8e100000
#24 pc<PHONE_NUMBER>00687f  anonymous:0000736d8e100000
#25 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#26 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#27 pc<PHONE_NUMBER>031077  anonymous:0000736d8db80000
#28 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#29 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#30 pc<PHONE_NUMBER>031077  anonymous:0000736d8db80000
#31 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#32 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#33 pc<PHONE_NUMBER>031077  anonymous:0000736d8db80000
#34 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#35 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#36 pc<PHONE_NUMBER>031077  anonymous:0000736d8db80000
#37 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#38 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#39 pc<PHONE_NUMBER>00887b  anonymous:0000736d8e100000
#40 pc<PHONE_NUMBER>00768c  anonymous:0000736d8e100000
#41 pc<PHONE_NUMBER>006f98  anonymous:0000736d8e100000
#42 pc<PHONE_NUMBER>03f2c6  anonymous:0000736d8e100000
#43 pc<PHONE_NUMBER>00687f  anonymous:0000736d8e100000
#44 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#45 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#46 pc<PHONE_NUMBER>00887b  anonymous:0000736d8e100000
#47 pc<PHONE_NUMBER>00768c  anonymous:0000736d8e100000
#48 pc<PHONE_NUMBER>006f98  anonymous:0000736d8e100000
#49 pc<PHONE_NUMBER>00687f  anonymous:0000736d8e100000
#50 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#51 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#52 pc<PHONE_NUMBER>00887b  anonymous:0000736d8e100000
#53 pc<PHONE_NUMBER>00768c  anonymous:0000736d8e100000
#54 pc<PHONE_NUMBER>006f98  anonymous:0000736d8e100000
#55 pc<PHONE_NUMBER>03f2c6  anonymous:0000736d8e100000
#56 pc<PHONE_NUMBER>00687f  anonymous:0000736d8e100000
#57 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#58 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#59 pc<PHONE_NUMBER>031077  anonymous:0000736d8db80000
#60 pc<PHONE_NUMBER>0054b2  anonymous:0000736d8e100000
#61 pc<PHONE_NUMBER>0046af  anonymous:0000736d8e100000
#62 pc<PHONE_NUMBER>00887b  anonymous:0000736d8e100000
#63 pc<PHONE_NUMBER>00768c  anonymous:0000736d8e100000
Lost connection to device.

Tentatively targeting beta4

I am not able to reproduce this right away - hot reload seems to be working fine as I am making changes to 'Flutter Redux Demo' and 'Flutter Demo Home Page' string literals in the code sample above.
 $FH/flutter/bin/flutter doctor
[✓] Flutter (Channel master, v0.3.6-pre.113, on Linux, locale en_US.UTF-8)
    • Flutter version 0.3.6-pre.113 at /usr/local/google/home/aam/p/f/t11/flutter/flutter
    • Framework revision d820e5f3b1 (4 days ago), 2018-05-03 22:27:29 -0700
    • Engine revision e976be13c5
    • Dart version 2.0.0-dev.53.0.flutter-e6d7d67f4b

@affinnen can you share more details what you change when the hot reload fails for you?

My test was done in IOS 6 emulator.
Sent from my iPhone
On May 7, 2018, at 4:24 PM, Alexander Aprelev <notifications<EMAIL_ADDRESS>wrote:
Hot reloading while changing primarySwatch: Colors.red to primarySwatch: Colors.blue also works.
What device did you run this on? I'm running on Android Nexus4, with flutter dev running on Linux host.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dart-lang/sdk/issues/32942#issuecomment-387211363, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHK8PFEdHqAB5w1Gge0YWEzvbj_Xslp0ks5twLuZgaJpZM4Te3jQ.

Let me try to reproduce it again when I get home in like an hour to give you more details.
Sent from my iPhone
On May 7, 2018, at 4:24 PM, Alexander Aprelev <notifications<EMAIL_ADDRESS>wrote:
Hot reloading while changing primarySwatch: Colors.red to primarySwatch: Colors.blue also works.
What device did you run this on? I'm running on Android Nexus4, with flutter dev running on Linux host.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dart-lang/sdk/issues/32942#issuecomment-387211363, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHK8PFEdHqAB5w1Gge0YWEzvbj_Xslp0ks5twLuZgaJpZM4Te3jQ.

@aam, here are the exact repro steps.

Start Simulator iPhone 6 - 11.2
Create a new app from Visual Studio Code - hello_world
Start Debugging (you may have to set your debug configuration)
Finally, paste the code example I provided above and Save.
Hot reload should trigger and you will get the exception.

Visual Studio Code: Version 1.22.2
Mac OS: 10.13.4
Flutter 0.3.5 • channel dev • https://github.com/flutter/flutter.git
Framework • revision 7ffcd3d22d (13 days ago) • 2018-04-24 14:03:41 -0700
Engine • revision ec611470b5
Tools • Dart 2.0.0-dev.48.0.flutter-fe606f890b

/cc @crelier

Can't repro this on iOS simulator on mac neither.
Can you try flutter master channel?
Can you try running your app from command line(flutter run -v, then 'r' to hot reload)?

@affinnen wrote:

Create a new app from Visual Studio Code - hello_world
Start Debugging (you may have to set your debug configuration)
Finally, paste the code example I provided above and Save.

Can you please clarify whether it crashes for you only when you replace complete hello_world app with your sample and do hot reload, while hot reload works fine if you start from your sample and hot reload incremental change(like changing primarySwatch color)

Here is the stacktrace with line numbers
E/DartVM  (27829): ../../third_party/dart/runtime/vm/object.cc: 16493: error: unreachable code
E/DartVM  (27829): Dumping native stack trace for thread 6cce
E/DartVM  (27829):   [0xa3af498d] Unknown symbol
E/DartVM  (27829):   [0xa3af498d] Unknown symbol
E/DartVM  (27829):   [0xa3db4341] Unknown symbol
E/DartVM  (27829):   [0xa3a850e5] Unknown symbol
E/DartVM  (27829):   [0xa3a41835] Unknown symbol
E/DartVM  (27829):   [0xa3a89271] Unknown symbol
E/DartVM  (27829):   [0xa3a41835] Unknown symbol
E/DartVM  (27829):   [0xa3a574c3] Unknown symbol
E/DartVM  (27829):   [0xa3b32b45] Unknown symbol
E/DartVM  (27829): -- End of DumpStackTrace
F/libc    (27829): Fatal signal 6 (SIGABRT), code -6 in tid 27854 (Thread-579)
I/DEBUG   (  188): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  188): Build fingerprint: 'google/occam/mako:5.1.1/LMP/2348323:userdebug/dev-keys'
I/DEBUG   (  188): Revision: '11'
I/DEBUG   (  188): ABI: 'arm'
I/DEBUG   (  188): pid: 27829, tid: 27854, name: Thread-579  >>> com.yourcompany.sample <<<
I/DEBUG   (  188): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG   (  188):     r0 00000000  r1 00006cce  r2 00000006  r3 00000000
I/DEBUG   (  188):     r4 afa29dd8  r5 00000006  r6 0000000b  r7 0000010c
I/DEBUG   (  188):     r8 afa27fb8  r9 afa27fb4  sl 00000002  fp 00000000
I/DEBUG   (  188):     ip 00006cce  sp afa277b8  lr b6dbe989  pc b6de3fe4  cpsr 600f0010
I/DEBUG   (  188):
I/DEBUG   (  188): backtrace:
I/DEBUG   (  188):     #00 pc 0003bfe4  /system/lib/libc.so (tgkill+12)
I/DEBUG   (  188):     #01 pc 00016985  /system/lib/libc.so (pthread_kill+52)
I/DEBUG   (  188):     #02 pc 00017597  /system/lib/libc.so (raise+10)
I/DEBUG   (  188):     #03 pc 00013d3d  /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG   (  188):     #04 pc 000124ec  /system/lib/libc.so (abort+4)
I/DEBUG   (  188):     #05 pc 003e5567  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #06 pc 01007343  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #07 pc 00cd80e1  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #08 pc 00c94833  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #09 pc 00cdc26d  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #10 pc 00c94833  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #11 pc 00caa4bf  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #12 pc 00d85b41  /data/app/com.yourcompany.sample-2/lib/arm/libflutter.so
I/DEBUG   (  188):     #13 pc 0000031c  <unknown>
I/DEBUG   (  188):

../../third_party/skia/src/ports/SkMemory_malloc.cpp:41
../../third_party/dart/runtime/platform/assert.cc:43
../../third_party/dart/runtime/vm/object.cc:16493
../../third_party/dart/runtime/vm/object.cc:5425
../../third_party/dart/runtime/vm/object.cc:17809
../../third_party/dart/runtime/vm/object.cc:5425
../../third_party/dart/runtime/vm/object.cc:5301
../../third_party/dart/runtime/vm/runtime_entry.cc:376

Since we are having trouble reproducing this, I could add some defensive code to prevent this from happening. Hot reload is brittle anyway, so more robust coding cannot hurt. I cannot guarantee it would not crash later, though.
From the stack trace above, I see that a type argument vector is being canonicalized, and a type argument in the vector is null. This can happen for recursive types, when they are not yet finalized. But this should not happen at runtime. This is probably an issue with hot reload, but until we can reproduce it, I do not know why this is happening.
The fix would be to guard these lines in object.cc against a null type argument:
RawTypeArguments* TypeArguments::Canonicalize(TrailPtr trail) const {
  [...]
  if (result.IsNull()) {
    // Canonicalize each type argument.
    AbstractType& type_arg = AbstractType::Handle(zone);
    for (intptr_t i = 0; i < num_types; i++) {
      type_arg = TypeAt(i);
      if (!type_arg.IsNull()) {   // <<<<<< ADD THIS LINE
        type_arg = type_arg.Canonicalize(trail);
        if (IsCanonical()) {
          // Canonicalizing this type_arg canonicalized this type.
          ASSERT(IsRecursive());
          return this->raw();
        }
        SetTypeAt(i, type_arg);
      }  // <<<<<< ADD THIS LINE
    }
  [...]

What do you think?

Starting from the app below, then changing three lines marked with //HR will crash VM with the same error.
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  final String title;

  MyApp({Key key, this.title}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "Flutter Redux Demo",
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class AppState {

}

class Provider<T> {

}

abstract class PageState<W extends StatefulWidget, S> extends State<W> {
  // Workaround to capture generics
  static Type _typeOf<T>() => T;

  void init() {
    final type1 = _typeOf<Provider<AppState>>(); // works
    final type2 = _typeOf<Provider<S>>(); // DOES NOT WORK - object.cc: 16408: error: unreachable code
  }
}

class MyHomePage extends StatefulWidget {
  final String title;
  MyHomePage({Key key, this.title}) : super(key: key);

  @override
  _MyHomePageState createState() => new _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> { //HR: comment this line
//HR class _MyHomePageState extends PageState<MyHomePage, AppState> {
  @override
  Widget build(BuildContext context) {
    //HR super.init(); // calls into method that causes failure

    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(

        ),
      ),
    );
  }
}

Changing the super type of class _MyHomePageState should invalidate all code from this class, including the code for _MyHomePageState.build and its call to super.init().

Current theory is that hot-reload request should have been rejected because _MyHomePageState class got different number of type parameters(used to be 1, now it is 2). Since it was not rejected, that leads to the crash further down the pipeline.
cc @rmacnak-google

Fixed via 2ad715e


OLS-114: REST API call counter

Description
REST API call counter in metrics
Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #OLS-114

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

access /metrics/ endpoint to see new counter there

/lgtm

/approve

Hello @tisnik , excuse me for being late to the review ^^"
I have 2 comments:

Shall we label the metric rest_api_calls with the status code (200 ok, 500 internal error, etc. )?  It will be useful when we diagnose operational incidents.
We can follow the Prometheus naming convention by naming rest_api_calls as rest_api_calls_total for it is a counter without unit.

Hi @raptorsun. Yes good comments. I'm on it.


suggest export PlainFetcher in @nestia/fetcher

suggest export PlainFetcher from index.js in @nestia/fetcher for autocomplete!!

I'd heard from you that, you're using the PlainFetcher directly to your domain case. I think you should import it by yourself through import { PlainFetcher } from "@nestia/fetcher/lib/PlainFetcher"; statement. Another users are hoping to hide it from default export to avoid vulnerable node-fetch import.

i see. thank you


L.LatLng is not expandable by .include

The plugin guide states that:

If you want to add new methods to existing Leaflet classes, you can do it like this: L.Marker.include({myPlugin: …}).

However, this is not true to LatLng, which does not use the L.Class mechanism but traditional, bare bones JavaScript function-objects.
This is because of optimization reasons, right? I think the plugin guide should mention such exceptions (s.a. ", except for classes L.LatLng, ..."), and such classes' source code should have a comment, stating why they are not derived from L.Class.
git grep ".prototype =" shows the following classes to be non-extensible via .include:

L.LatLng
L.LatLngBounds
L.Bounds
L.Point
L.Transformation

Yes, this is for performance reasons. You're right that we should mention this in the docs.

This will be covered by #4356 - there's a handy UML class diagram there, showing inheritances.

I think a small note in the docs for L.LatLng won't hurt, one is probably not going to read the tutorial if getting error messages while trying to do .include() on L.LatLng


Classpath lookup performance fix

Check the individual commits for details.
This fixes #100 but doesn't bring the much needed refactoring that I mentioned in #100.

LGTM pending Travis


create-react-app.dev already using prerendering

In step 3 of tutorial: https://nextjs.org/learn/basics/data-fetching/pre-rendering
there is example of not pre-rendered website:
Enable JavaScript in your browser and check out this page. This is a plain React.js app built with Create React App.,
but this website is already prerendered (same result as for https://next-learn-starter.now.sh/)

Hello! I just checked and confirmed that the example linked (https://create-react-app.now-examples.now.sh/) does not work without having JavaScript enabled.
I was also able to confirm https://next-learn-starter.now.sh does work without JavaScript enabled.


Add missing bits needed for FreeBSD support in syz-ci.

This is a minimal set of changes that I've used to get syz-ci to manage FreeBSD targets.
For now the FreeBSD bits in pkg/build only support building on FreeBSD. In the next several months I hope that we will be able to support cross-compilation on Linux.
To run syz-ci, I used the latest 13-current GCE image from freebsd-org-cloud-dev. The gmake, go, git and gcc packages must be installed. To create the base image used for FreeBSD workers, download the latest raw image from [1]. Boot it using qemu:
$ sudo pkg install qemu
$ mv FreeBSD-13.0-CURRENT-amd64.raw image
$ qemu-system-x86_64 -hda image

When the boot menu pops up, hit "3" to get to the loader prompt, and enter 'set console="comconsole"' and then 'boot' at the prompt. Once booted, add 'console="comconsole"' to /boot/loader.conf, add 'sshd_enable="YES"' to /etc/rc.conf, and enable root logins in /etc/ssh/sshd_config. Configure an ssh key.  That preparation should be sufficient to enable booting in GCE.
[1] http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/13.0-CURRENT/amd64/Latest/

Codecov Report

Merging #1048 into master will decrease coverage by 0.21%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1048      +/-   ##
==========================================
- Coverage   67.46%   67.25%   -0.22%
==========================================
  Files         115      117       +2
  Lines       20501    20566      +65
==========================================
  Hits        13831    13831
- Misses       6018     6083      +65
  Partials      652      652

Impacted Files
Coverage Δ

pkg/vcs/vcs.go
41.41% <0%> (-0.86%)
:arrow_down:

pkg/build/netbsd.go
0% <0%> (ø)
:arrow_up:

pkg/build/openbsd.go
0% <0%> (ø)
:arrow_up:

pkg/build/build.go
21.62% <0%> (-1.57%)
:arrow_down:

pkg/build/freebsd.go
0% <0%> (ø)

pkg/vcs/freebsd.go
0% <0%> (ø)

Continue to review full report at Codecov.

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

To run syz-ci, I used the latest 13-current GCE image from freebsd-org-cloud-dev. The gmake, go, git and gcc packages must be installed. To create the base image used for FreeBSD workers, download the latest raw image from [1]. Boot it using qemu:
$ sudo pkg install qemu
$ mv FreeBSD-13.0-CURRENT-amd64.raw image
$ qemu-system-x86_64 -hda image

When the boot menu pops up, hit "3" to get to the loader prompt, and enter 'set console="comconsole"' and then 'boot' at the prompt. Once booted, add 'console="comconsole"' to /boot/loader.conf, add 'sshd_enable="YES"' to /etc/rc.conf, and enable root logins in /etc/ssh/sshd_config. Configure an ssh key. That preparation should be sufficient to enable booting in GCE.
[1] http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/13.0-CURRENT/amd64/Latest/

All of this would be useful to have somewhere in docs/freebsd/

All of this would be useful to have somewhere in docs/freebsd/

I reworked the README fairly extensively and added the commit to this PR.

Perfect! Thanks!

@markjdb
I wanted to start trying to setup a syz-ci instance, but currently busy deploying bisection for linux.
Could you upload the image and the key somewhere? It would save the most painful part for me and you presumably already have it. 1/2 GB image would do. FWIW for other OSes we use 2GB images.

@markjdb
I wanted to start trying to setup a syz-ci instance, but currently busy deploying bisection for linux.
Could you upload the image and the key somewhere? It would save the most painful part for me and you presumably already have it. 1/2 GB image would do. FWIW for other OSes we use 2GB images.

Could you give this one a try? The tarball contains a copy of the private key. https://people.freebsd.org/~markj/image.tar.xz


transfers/pipeline: encrypt and format ACH files

Additional config like:
pipeline:
  pre_upload:
    gpg:
      key_file: './internal/gpgx/testdata/moov.pub'
  output:
    format: encrypted-bytes

Codecov Report

Merging #497 into master will decrease coverage by 7.50%.
The diff coverage is 35.44%.

@@            Coverage Diff             @@
##           master     #497      +/-   ##
==========================================
- Coverage   52.92%   45.41%   -7.51%
==========================================
  Files          82       89       +7
  Lines        3142     3285     +143
==========================================
- Hits         1663     1492     -171
- Misses       1205     1540     +335
+ Partials      274      253      -21

Impacted Files
Coverage Δ

pkg/config/pipeline.go
0.00% <ø> (ø)

pkg/transfers/pipeline/aggregate.go
10.07% <0.00%> (-1.43%)
:arrow_down:

pkg/transfers/pipeline/transform/preupload.go
0.00% <0.00%> (ø)

pkg/transfers/pipeline/output/format.go
27.27% <27.27%> (ø)

internal/gpgx/keys.go
49.18% <49.18%> (ø)

pkg/transfers/pipeline/output/nacha.go
50.00% <50.00%> (ø)

pkg/transfers/pipeline/transform/gpg.go
50.00% <50.00%> (ø)

pkg/transfers/pipeline/output/base64.go
80.00% <80.00%> (ø)

pkg/transfers/pipeline/output/encrypted.go
100.00% <100.00%> (ø)

pkg/upload/sftp.go
14.65% <0.00%> (-54.46%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


[New Port Request] SDL3 prerelease

Library name
SDL3
Library description
No response
Source repository URL
https://github.com/libsdl-org/SDL.git
Project homepage (if different from the source repository)
No response
Anything else that is useful to know when adding (such as optional features the library may have that should be included)
This was originally requested here https://github.com/Microsoft/vcpkg/issues/32062 but closed for inactivity

Please don't close this for being stale

SDL3 is now ABI stable and a package would be much appreciated. Could this please be re-opened?

It is not necessary to re-open the issue. There is a PR: PR #40867.


Don't stop the game on browser extension's error

SceneManager.onError catches all errors including browser extension's errors.
But, game creators have no responsibility for browser extension's errors, and players want to continue the game without error.
So, showing these errors should be suppressed.

:+1:


When continously scrolling down, ItemsRepeater jumps back up on Xbox One

Describe the bug
I have 2 nested ItemsRepeaters to display a hierarchical list of data. When I press and hold the D-pad down key on the Xbox-controller the focus is moved down through the vertical lists but at one point jumps back to the top of the list and continues to move down until it jumps up again.
Steps to reproduce the bug

Download the attached demo app
compile it and deploy it to a Xbox One and run it
press and hold the D-pad down key

Expected behavior
focus is moved down continuously and is not jumping back up
Screenshots
I added a video illustrating the behavior. (Please pay attention to the scrollbar on the right for a clearer impression)
Version Info
NuGet package version:
Microsoft.UI.Xaml 2.1.190606001
Microsoft.UI.Xaml 2.2.190430003-prerelease

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2019 Update (18362)
Yes

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop

Mobile

Xbox
Yes

Surface Hub

IoT

Additional context

ItemsRepeaterDemo.zip
ItemsRepeaterScrollingIssue.zip

Can you try doing an UpdateLayout on KeyDown of the outer repeater? I believe what might be happening is that the scrolling is happening faster than we can run layout and XYFocus logic is unable to find an element because none have been realized further down. Doing an UpdateLayout during keydown provides an opportunity for layout to run.

Thanks for your answer.
I added an UpdateLayout on KeyDown, but unfortunately it didn't change anything. It still starts jumping at one point if I press and hold the D-Pad down (or up) key.

can you please share your repro app ?

@ranjeshj: You'll find the application to reproduce the issue in the ZIP-file attached to my original post above.

I just tried the app on xbox with rs5_release bits and once i added a key_down on TopList in which i did UpdateLayout(), i never hit the jumping issue. Which build of xbox are you running ?

Once i add the udpatelayout to keydown, I see the issue when it first loads and if i immediately press and hold the down button. But after a few seconds it is hard to repro. Is that what you see as well ? The first load might be an issue where the cache pages have not been loaded yet.

@ranjeshj It's kind of what I experience. But it's not only on first load. I can reproduce it in most cases when scrolling up or down. I already played with the cache length but it doesn't change this behavior.

I think there is an issue with the way the repeaters outside the visible range realize elements. It looks like we get to a point were the repeaters outside the visible range don't realize any elements (because their realization window is empty) and that causes XYFocus to not find a reasonable candidate.


Grabbing the same object with both hands causes NaN velocity and angular velocity

Hey guys, first of all, thank you for making this! The interaction system is so kickass
I ran into an issue when attempting to grab an object with both hands at the same time. Unity gives this error:
rigidbody.velocity assign attempt for 'NVRExampleDrawer' is not valid. Input velocity is { NaN, NaN, NaN }.
UnityEngine.Rigidbody:set_velocity(Vector3)
rigidbody.angularVelocity assign attempt for 'NVRExampleDrawer' is not valid. Input angularVelocity is { NaN, NaN, NaN }.

Closing, this will be fixed when we implement multi-handed item interaction, see Trello card (https://trello.com/c/B0axSuZ6)

Thanks! Is there anything I can do to prevent the game from crashing in the meantime?

Has there been any progress on this?

pretty sure we implemented two handed interaction a couple versions ago

Ah okay. Might want to update the Trello then

Good point, thanks


[11.x] Add bug Command

This PR adds a new command called bug. This command is about reporting a bug for the framework. In GoLang we have a command named bug, I think it's a good command for Laravel.
How is working
When running this command, this command automatically opens your browser and redirects to the issue page. But it's not enough, this command fills the Larave, PHP input, and DB info input from your project.
Why
This command helps to just focus on your bug and you don't need to check the Laravel, PHP, ... version, because this command fills the inputs auto. This helps others avoid entering wrong information.
depended: https://github.com/laravel/framework/pull/50950
@themsaid @GrahamCampbell

I would rather see something with the about command. Perhaps a --export option or similar.

Heya! We were having some failures in the testsuite at the base branch. Could you rebase this PR and make sure tests pass again? Thanks!


Packaging update

If the build succeeds for py3.6, I'll also update the package classifiers in setup.py

Coverage remained the same at 100.0% when pulling f47797b2d5e564952f6b9e74c6ae695159c82a9b on zipsafe into 0b477bd7295a49c9869eeac7d4f04ccde48351c9 on master.

Coverage remained the same at 100.0% when pulling f47797b2d5e564952f6b9e74c6ae695159c82a9b on zipsafe into 0b477bd7295a49c9869eeac7d4f04ccde48351c9 on master.

Coverage remained the same at 100.0% when pulling f47797b2d5e564952f6b9e74c6ae695159c82a9b on zipsafe into 0b477bd7295a49c9869eeac7d4f04ccde48351c9 on master.

Coverage remained the same at 100.0% when pulling 1a6f38851234035f5cdf7377a2bf68d7797d3772 on zipsafe into 0b477bd7295a49c9869eeac7d4f04ccde48351c9 on master.


refactor: :recycle: UI Enhancements

Resolves https://github.com/biodiv-platform/biodiv/issues/465
Resolves https://github.com/biodiv-platform/biodiv/issues/325
Resolves https://github.com/biodiv-platform/biodiv/issues/463
Resolves https://github.com/biodiv-platform/biodiv/issues/417
Resolves https://github.com/biodiv-platform/biodiv/issues/342

Closing PR due to conflicts


simbl install failed!

First popup when starting SIMBL:
SIMBL Manager has determined that SIMBL is not installed or outdated on your system.
SIMBL is latest version as is OS X.
Trying to d&d afloat to the simbl (there's no plugins section visible) and it gives me error message:
simbl install failed!

What version of the osax is installed?
The SIMBL tab should look like this:

You probably just need to disable System Integrity Protection to update the osax.

Hi,
10.12.5
Best,
Vesa
On 19 July 2017 at 00:31, Wolfgang Baird<EMAIL_ADDRESS>wrote:

What version of the osax is installed?
The SIMBL tab should look like this:
[image: screen shot 2017-07-18 at 2 20 04 pm]
https://user-images.githubusercontent.com/1920148/28340735-a1ec50f2-6bc5-11e7-8466-8036bff4ca68.png
You probably just need to disable System Integrity Protection to update
the osax.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/w0lfschild/mySIMBL/issues/53#issuecomment-316204059,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI25mFXl-FHpVvZABDLPhiZnmCgW3zagks5sPSQsgaJpZM4ObGwb
.

he asked for the version of SIMBL.osax

Thanks, just edited it:
EDIT: mySIMBL version 0.5.3 (29)
On 20 July 2017 at 12:52, npyl<EMAIL_ADDRESS>wrote:

he asked for the version of SIMBL.osax
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/w0lfschild/mySIMBL/issues/53#issuecomment-316655258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI25mFvgv9D-N66XG4mT5e3gXVLWMKdZks5sPyNAgaJpZM4ObGwb
.

That's the app version not the version of the simbl.osax you have installed.
Once again I will state that you probably just need to disable System Integrity Protection to update the osax.

Sorry to necro this thread...
@vesputs Which version of Mac are you running? I've just installed 10.13b9 on a system and encountered the same issue you've described, although no error message.
To resolve the issue, I had to manually copy the file (SIMBL.osax) to its correct location. SIP is disabled, and 'Allow apps' was forced to 'Everywhere' for testing.

Uninstalled the app.

@vesputs Regardless, do you remember if you were on a High Sierra beta?

Nope, Sierra only.
On 9 September 2017 at 14:23, Joshua Putnins<EMAIL_ADDRESS>wrote:

@vesputs https://github.com/vesputs Regardless, do you remember if you
were on a High Sierra beta?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/w0lfschild/mySIMBL/issues/53#issuecomment-328271122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI25mOQxfRxolHA6axJsAEj1ZfpcbXxbks5sgnUqgaJpZM4ObGwb
.

@vesputs Okay, thank you for replying.


SSCS-8932 - Panel Members for IIDB

SSCS-8932 - Panel Members for IIDB

The sscs-common change was merge as part of SSCS-9041


Category label get broken if there's a url on it's description

First of all, thank you for this awesome work!
I just discovery it yesterday and I'm really liking it. :)
So, I noticed that if I put a url inside of the description field of a category, the category label in the board get broken due to the quotes generated by the hyperlink.
Playing around I managed to fix locally, by replacing those additional quotes with "
On /app/Template/board/task_footer.php
! empty($task['category_description']) ? str_replace("\"", """, $this->text->markdown($task['category_description'])) : t('Change category')

Not sure if it's a proper workaround, but seemed to work. :stuck_out_tongue:
Once again, thank you for your awesome software! :+1:

It's now fixed in the development version.
Thanks.


matomo: 3.6.0 -> 3.6.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/matomo/versions.
meta.description for matomo is: '"A real-time web analytics application"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/bin/matomo-console had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 3.6.1 with grep in /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1
directory tree listing: https://gist.github.com/88839ec7c06e07b40f16e7d066c90649
du listing: https://gist.github.com/23da73bef2150dfa5b47372aec76bea2

Outpath report (click to expand)

Outpath difference report
4 total rebuild paths
1 package rebuilds
1 x86_64-linux rebuilds
1 i686-linux rebuilds
1 x86_64-darwin rebuilds
1 aarch64-linux rebuilds
First ten rebuilds by attrpath
matomo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A matomo https://github.com/r-ryantm/nixpkgs/archive/d4029e79354c30a6f9a16142b9c32d037d6e689c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1
ls -la /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/bin

cc @florianjacob for testing.

Success on aarch64-linux (full log)
Attempted: matomo
Partial log (click to expand)
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1/bin
patching script interpreter paths in /nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1
/nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1/share/vendor/pear/archive_tar/sync-php4: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1/share/vendor/leafo/lessphp/package.sh: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1/share/misc/cron/archive.sh: interpreter directive changed from "/bin/sh -e" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh -e"
/nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1/share/misc/composer/clean-xhprof.sh: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1/share/misc/composer/build-xhprof.sh: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1...
/nix/store/h9619p1k6hfc75vb3kqqv47d7d31h2fi-matomo-3.6.1

Success on x86_64-linux (full log)
Attempted: matomo
Partial log (click to expand)
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/bin
patching script interpreter paths in /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1
/nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/share/misc/cron/archive.sh: interpreter directive changed from "/bin/sh -e" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh -e"
/nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/share/misc/composer/build-xhprof.sh: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/share/misc/composer/clean-xhprof.sh: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
/nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/share/vendor/pear/archive_tar/sync-php4: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
/nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1/share/vendor/leafo/lessphp/package.sh: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1...
/nix/store/4fb6l3r5kqsip2skqsy41abima096237-matomo-3.6.1

Success on x86_64-darwin (full log)
Attempted: matomo
Partial log (click to expand)
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1/bin
patching script interpreter paths in /nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1
/nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1/share/misc/composer/build-xhprof.sh: interpreter directive changed from "/bin/bash" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/bash"
/nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1/share/misc/composer/clean-xhprof.sh: interpreter directive changed from "/bin/bash" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/bash"
/nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1/share/misc/cron/archive.sh: interpreter directive changed from "/bin/sh -e" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh -e"
/nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1/share/vendor/leafo/lessphp/package.sh: interpreter directive changed from "/bin/sh" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh"
/nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1/share/vendor/pear/archive_tar/sync-php4: interpreter directive changed from "/bin/sh" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/sh"
/nix/store/vsyc8pi3jahjm0c0ys1by6ck8b3rkvdg-matomo-3.6.1

Just tested, works fine, and doesn't break a thing. :+1:
As this is a security-critical release (see [the changelog(https://matomo.org/changelog/matomo-3-6-1/), we should backport this to 18.09. @timokau could you take care of that?

Done (https://github.com/NixOS/nixpkgs/commit/68cf714d23374c1a7f3a87a6a4ba1f2b8771938c), thanks for paying attention to that.


Fixed #27828 -- Fixed crash when subtracting DateField and IntegerField on PostgreSQL.

#27828

Just to clarify for the release notes, does this fix a crash only for DateField -- or are DateTimeField and TimeField also fixed?

I have tried various combinations and found that this patch fixes a crash only with a DateField on the left side, and IntegerField, TimeField or DurationField on the right side.
I could rewrite the test to use DateField - DurationField. This expression should work on all backends, but the return type varies: datetime on PostgreSQL and MySQL, date on SQLite and Oracle (if I'm reading the docs right).

If regression tests that work on other databases could be added, that would be useful. You can also draft a note for docs/releases/1.10.6.txt.

I've updated the test and added a release note. Thanks.


Display gets crazy after left clicking preview and moving mouse.

When I left click on preview and move mouse weird thing happens. With each mouse move the document is scrolling, even if I release left mouse button.
It does not stop if I left click in some different area.
Ok, it stops when I left click in preview again. Is it desirable behavior?

Thanks for logging this, @m-kru ! Definitely a bug 👍

Should be fixed now with #819

It is much better, however this buggy behavior still occurs, but is much rare. Like once per 20-30 times.


Minor fixes.

Coverage increased (+0.1%) to 59.948% when pulling a23d4eca5f5bbcbf6cf82c4fc5b2259c49f88760 on michakraus:master into 1cb37bbb096a82fa1cb997155734ce8bb9c4d7dc on DDMGNI:master.

Coverage increased (+0.1%) to 59.948% when pulling a23d4eca5f5bbcbf6cf82c4fc5b2259c49f88760 on michakraus:master into 1cb37bbb096a82fa1cb997155734ce8bb9c4d7dc on DDMGNI:master.


Not able to login thru termux

Sir i am not able to login even after entering right credentials

Screenshot

What is this?

Challenge required

Instagram issue try to fix error free your id than try


Endpoint gives error attempting to return 200 status

Getting this 500 error from an endpoint that does have a valid 200 response defined:
The Open API document does not specify a response for status code 200

Well, I stripped my OpenApi doc down to just the failing endpoint and it works fine. Digging in further to find out why it fails as part of the larger set and then I'll report back.

Ok, I have it now. Use the attached open spec. There is a single endpoint starting with MyCompanies. If you run the swagger UI execute function it will work correctly. However, if you execute the command as a cURL call and change the case of the path it fails. Note the call below where MyCompanies is written as myCompanies.
curl -X 'GET' \
  'http://localhost:3100/myCompanies/4817/Accounts?type=createDomestic' \
  -H 'accept: application/json'

The Counterfact dispatcher assumes an exact match in the operationForPathAndMethod function so when it looked for /myCompanies/{id}/Accounts it found no match, but if you issue the curl against /MyCompanies/{id}/Accounts it works just fine.
I realize that case sensitivity in url paths is not consistent on the web. Windows servers such as IIS are case insensitive but often other platforms would consider /MyCompanies and /myCompanies as different paths. So I'm not sure what CF should do here. From what I've researched it seems most REST API developers recommend assuming your paths are case insensitive so that a server won't really care about casing. That helps for users who might enter the wrong case.
I recommend we just change dispatcher to ignore case when looking in the paths object. I'll put together a PR if that seems good to you.
openapi-v2.json

I know we've chatted about case sensitivity before. I think it's better to be conservative by default and assume production will be case sensitive.
But I'm not opposed to an option that turns off case sensitivity.

I agree that we should be conservative by default. I'm going to go ahead and add a PR to add the option since it is a valid use case and we can't always ask the upstream consumers of an API to change their call points.

Got a good way into this PR (all the dispatcher.ts changes) when I realized we are already attempting to be case insensitive on paths. Check out module-tree.ts:
  private buildMatch(
    directory: Directory,
    segment: string,
    pathVariables: { [key: string]: string },
    matchedPath: string,
  ) {
    const match =
      directory.files[segment.toLowerCase()] ??
      Object.values(directory.files).find((file) => file.isWildcard);

In there we match directory.files on the lower case of segment. This appears to me that part of the codebase cares about case and part does not. I noticed this because of the tests I was adding to dispatcher. It was still passing on invalid-case paths because the module-tree matcher was finding the paths.
Thoughts? Do we just make it case-insensitive across the board without a config option or do we add the config option and update module-tree to care about case?

Actually, the real place in module-tree is line 75 and following where it adds the segment to the directory as lower case:
this.addModuleToDirectory(
      directory.directories[segment.toLocaleLowerCase()],
      remainingSegments,
      module,
    );

Given the above I think we just drop the idea of an input option and just make dispatcher not care about case.

To aid discussion, I added a PR that just updates the logic without the new option for ignoring case. This just brings dispatcher into line with the already case-insensitive matching of the Registry


Cannot find module or its corresponding type declarations.

Application not starting if have this imports from examples.
Module installed with npm i steam-session

Any idea how to fix it with installed package?
Also noticed that no proxy support yet?

Also wondering if its possible to get refresh or access token from steam-user or steamcommunity packages?


How useful is informationWithheld

@tucotuco how useful is informationWithheld for sampled down datasets, if the only information in that field for all records is see metadata?

I would argue that "see metadata" is far less useful in an aggregated setting than it is when looking at a data set in isolation. If the information is with every record, it will not be lost when a result contains data from lots of data sets. In other words, it helps the end user.
For sampled down data sets though, I think what you want is dataGeneralizations, unless something is simply being omitted as opposed to being made less specific.

Ok, let me clarify with an example
tracking dataset

dataGeneralizations: subsampled by hour: first of 2 record(s)
informationWithheld: see metadata could refer to the fact that e.g. acceleration records are not included that might be available in source dataset

camera trap dataset

dataGeneralizations: (no example yet)
informationWithheld: see metadata could refer to the fact that e.g. observations of humans and non-animal objects are excluded from this dataset, but maybe that is a generalization?

So for a generic mapping procedure (i.e. a function), I think I would argue that dataGeneralizations is really useful to set when the function samples down, but that informationWithheld: see metadata depends a bit on dataset per dataset and is less useful to set by the function?


kernel32: Use fstat in GetFileSize

Improves mwldeppc performance significantly.
Before:
real    0m30.322s
user    0m7.800s
sys     0m22.495s

After:
real	0m16.679s
user	0m4.693s
sys	0m11.965s

Wine (for comparison):
real    0m24.625s
user    0m0.048s
sys     0m0.034s

I don't think so, Wine doesn't appear to use one & also uses fstat. The log output after this change also remains the same.

Adding fflush resulted in even more improvement!
Before:
real    0m20.800s
user    0m5.694s
sys     0m15.082s

After:
real	0m16.679s
user	0m4.693s
sys	0m11.965s


Version number in design assets URL

The design assets in DXA are versioned, i.e. /system/v1.6/assets/css/main.css. The design version suggests we can put any value as a version numner, but something short like v1.6.1 is not matched and breaks. Resources loaded with such a version number result in a 404.
I propose to flex the regex used for the design assets, and make it consistent in the .NET and the JAVA implementation.
There are two options

Fully flexible; Accept any string, including empty, as version number
Allow version numbers; starting with v and followed by a semantic version number, or part of a semantic version number.

Of course the design version number does not have a meaning, the sole purpose is to have a different URL so that all clients/browsers will reload the design assets. So the string between /system/ and /assets could be anything as long if it is different from previous versions.
I think we can easily change the code to accept option 1, and not care too much about what kind of version number is used. This way the implementor cannot go wrong.
I did do a study on variantions of regexes for the design asset URLs, see https://gist.github.com/jhorsman/57f359efee6df50491209c5bcc6ebba1. It includes a strict and flex way to only allow semantic versioning in the version number.

TSI-2193 (Internal issue ID for tracking purposes)

Thanks for the extensive analysis!
Note that the .NET version regex is currenly quirky (i.e. more lax than originally intended): the dot character is not escaped and hence stands for any character. Futhermore, the digits are optional, so currently the following URLs will also match for the .NET implementation:
system/v/whatever
system/v12345/whatever
system/vx/whatever
system/v12-34/whatever


Need help with curl request

how do i do this, from what device? (desktop or iphone)

please can you help guide me through the process

Of course! curl is a command line tool you can use to send specific web requests. You should run it from a desktop (or basically, any device in your network), by opening your terminal / command prompt.
The homebridge web interface also provides a terminal by the way! If you click the menu button on the top right of the homebridge web interface, you can open a terminal. And run the curl command from there.
As listed, you will need to know the IP address and device name of your air conditioner. Do you know these?
Let me know if you need more help!

thanks for your reply!
I can try it in the homebridge terminal, didnt think of that.
I have the IP, what would the device name be? The one my Wifi AP has it?
The one i've called it in the app? Or something else?

Message ID: @.***
com>

what would the device name be?

It's the name of the device in the app after you first installed it. It looks something like "e8165600c13b" (for me, at least).
Let me know if you can't find it, because there are ways to discover it (but they are a bit more complex)

You shouldn't use the airconID as operatorID, but you should use one of the ID's from the remoteList.
The curl should return something like:
{
    "command": "getAirconStat",
    "apiVer": "1.0",
    "operatorId": "12345",
    "deviceId": "e8165610d23f",
    "timestamp":<PHONE_NUMBER>,
    "result": 1,
    "contents": {
        "airconId": "e8165610d23f",
        "airconStat": "AADqj6//AAAAAIAQCwAAAAAAAf/////F5IEESAcvsQAAiAAAAAEAAAAAAAOAILH/gBDV/5QQAQDZAw==",
        "logStat": 0,
        "updatedBy": "e8165610d23f",
        "expires":<PHONE_NUMBER>,
        "ledStat": 1,
        "autoHeating": 0,
        "highTemp": "AB",
        "lowTemp": "66",
        "firmType": "WF-RAC",
        "wireless": {
            "firmVer": "010"
        },
        "mcu": {
            "firmVer": "131"
        },
        "timezone": "Europe/Amsterdam",
        "remoteList": [
            "F691DD55-0975-4C56-AED0-15DCD40FB9E3",
            "",
            "",
            ""
        ],
        "numOfAccount": 1
    }
}

In which case the operatorID to configure should be F691DD55-0975-4C56-AED0-15DCD40FB9E3
Did you do that?

i have used the remote list id now and it seems to be working, thank you!
On Tue, Aug 6, 2024 at 10:51 AM Job Doesburg @.***>
wrote:

You shouldn't use the airconID as operatorID, but you should use one of
the ID's from the remoteList.
The curl should return something like:
{
"command": "getAirconStat",
"apiVer": "1.0",
"operatorId": "12345",
"deviceId": "e8165610d23f",
"timestamp":<PHONE_NUMBER>,
"result": 1,
"contents": {
"airconId": "e8165610d23f",
"airconStat": "AADqj6//AAAAAIAQCwAAAAAAAf/////F5IEESAcvsQAAiAAAAAEAAAAAAAOAILH/gBDV/5QQAQDZAw==",
"logStat": 0,
"updatedBy": "e8165610d23f",
"expires":<PHONE_NUMBER>,
"ledStat": 1,
"autoHeating": 0,
"highTemp": "AB",
"lowTemp": "66",
"firmType": "WF-RAC",
"wireless": {
"firmVer": "010"
},
"mcu": {
"firmVer": "131"
},
"timezone": "Europe/Amsterdam",
"remoteList": [
"F691DD55-0975-4C56-AED0-15DCD40FB9E3",
"",
"",
""
],
"numOfAccount": 1
}
}
In which case the operatorID to configure should be
F691DD55-0975-4C56-AED0-15DCD40FB9E3
Did you do that?
—
Reply to this email directly, view it on GitHub
https://github.com/JobDoesburg/homebridge-mhi-wfrac/issues/1#issuecomment-2270865935,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMISLL7FSSMT7TVYFEGCNXLZQCMAPAVCNFSM6AAAAABMA3K2ROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQHA3DKOJTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Great!


add auto delete old bot messages

please add auto delete old messages by bot like when user added a new song & that song got played successfully then there is no need to show playlist.
the old playlist messages must got automatically deleted & only 1 valid playlist message always exist in the chat rather than its multiple copies.
For example i added an song & bot shows playlist that your song added. Now after some time either that song got finished OR someone else added an new song OR someone manually trigger /playlist command then that old message should auto delete & only 1 valid & uptodate one remains in chat.
same can be done with error/info messages like it should auto delete themselves after 120secs approx.
Implementing this could reduce the bot spam alot. I want to suggest some other UI improvements too but as of now this needed much & stability matters more than features.
At last thanks for making awesome music bot.

Thak you for the feedback and suggestions.
Auto deleting the previous playlist before sending the old one already exist in the Playlist messages sent to LOG_GROUP. But i will implement it in request-reply also.
Refer here https://github.com/subinps/MusicPlayer/blob/master/utils.py#L92

I'm getting  (Song not found.Try inline mode.) Error. What may be the problem.

Its already there for messages sent to LOG_GROUP (requested in bot PM). I will to implement the autodelete in next release

@subinps facing some ffmpeg file not found error for an song in latest code commits. Search query "grandson blood water"


native: on-network and lure invites

Fixes TLON-2526, using mostly the same zustand store for lure we used on web, requires https://github.com/tloncorp/landscape/pull/277 to go in as well if we want it to be a bit quicker (not having to wait on a timeout for the token-link/${flag} subscribeOnce call).
Also fixes:

an issue where our our subscribeOnce in the api/urbit module was attempting to use subscribeOnce on client rather than clientInstance (this was causing the true to appear to return for the token-link subscribeOnce call, it was actually the response from the group-enabled subscribeOnce)
an issue where we weren't passing contacts into the AppDataContext for the AddGroupSheet, so you couldn't actually search by contact to find a group.
lack of verbosity on logging from the urbit api module (we turn on verbose if we're in dev mode now, will only be seen if you turn on the logger in the urbit module).

Note: this automatically enables lure invites any time you attempt to invite someone to a group. We need a way for admins to override this somewhere else in the app (cc: @jamesacklin)
Also note that this can't be tested on android at the moment because no chat list options work on Android in develop for some reason.

FYI, I didn't use zustand persist w/AsyncStorage because of this issue: https://stackoverflow.com/questions/78262236/import-meta-is-currently-unsupported-in-eas-build
We're already on 3.7.2, so I'm not sure why that worked for them. It looks like we need to update to the latest zustand, and I thought that might open up a can of worms with our other uses of zustand.


Where is the libfuzzer c/c++ source code used by  jazzer tag 0.16.1 ?

I downloaded the jazzer(tag 0.16.1) source code in  https://github.com/CodeIntelligenceTesting/jazzer/tree/v0.16.1 .
I tried using cmake to reorganize the code and compile it into a DLL. I downloaded libffuzeer from ** https://github.com/llvm/llvm-project/blob/27cc31b64c0491725aa88a6822f0f2a2c18914d7/compiler-rt/lib/fuzzer**, but the compiled DLL's running results are different from yours. I think all the big shots must have modified libfuzzer. So where is the libfuzzy c/c++ code you are using? thank you.
If it is not publicly available, could you please send a copy to my email<EMAIL_ADDRESS>or<EMAIL_ADDRESS>? Thank you very much.

It should be this: https://github.com/CodeIntelligenceTesting/llvm-project-jazzer/archive/refs/tags/2022-12-07.tar.gz
In repositories.bzl, all the way down.

@oetr  Ok, thank you.
But a new problem has arisen:  ERROR: Function "LLVMFuzzerInitialize" not defined 。

@yongxin3344520 It's generally hard for us to debug such errors without clear steps to reproduce them. Since we don't use CMake to build Jazzer, we also may not be able to help with these issues.

Ok,  ok,  thank you !
There are some necessary and unimplemented methods used in jazzer.dll, such as:
void __msan_scoped_enable_interceptor_checks()
void __msan_unpoison(const volatile void*, size_t size)
void __msan_unpoison_param(size_t n)
void __sanitizer_purge_allocator()
size_t LLVMFuzzerCustomCrossOver     (const uint8_t* Data1, size_t Size1,         const uint8_t* Data2, size_t Size2,         uint8_t* Out, size_t MaxOutSize, unsigned int Seed)
__sanitizer_set_death_callback(void (*)(void))
__sanitizer_install_malloc_and_free_hooks(void (*malloc_hook)(const volatile void*, size_t),         void (*free_hook)(const volatile void*))
etc.
Where can I find the implementation of these methods ?

The Jazzer build doesn't mess with any of these methods, so I don't really know why they would be missing. Some of them are related to MemorySanitizer, which isn't linked in by default though - are you sure these methods are really required and not just undefined symbols that libFuzzer checks for at runtime?


added callback main

Why this change? This seems like a lot of refactoring, and anything with a "main" is a bit too C-like for my tastes.

hahah totally c-like, you have a couple of undefined variables (doSomethingWithError, callback, fsWriteFileCallback). I just added async support to evalMd (unreleased). I'm going through your repos and testing it out (in case you haven't noticed lol). There needs to be a better way of demonstrating a async callback or promise without just calling these undefined vars.

Guess you could just add var callback = function (err, value) {}; but it doesn't really demonstrate good usage.


Microsoft ASP.NET 5 RC1 Update 1 - Uninstallation Failed

I cannot uninstall Microsoft ASP.NET 5 RC1 Update 1 (1.0.11125.0 - most probably installed by Azure SDK 2.8).
Installation fails with error "0x80070001 - Incorrect function"

Full installation log:
https://gist.github.com/jozefizso/4d5d23a39ff5da9c4ea9134cc9091e2a

Possible duplicate. See https://github.com/aspnet/Home/issues/1449#issuecomment-219578445

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


feat: directly check sshkey passphrase after input

fixes #72
tested locally

Cool stuff. Now it's a question how to deal with the PR as I already started work on the redesign. I can add your fix to the new lib under pkg or you open a PR to my redesign branch. Which one is better?

I can open a PR to the new lib this evening.


Enhance Domain Model: allow any Object as AggregateIdentifier

What are the limitations you encounter in the current version? Please provide a simple use-case.
The application's domain model is "polluted" with Axon specific classes and interfaces. While most of these classes have limited scope (like the aggregates), some have a more public function.
The identifiers of aggregates are an example of such objects. They currently need to implement an Axon-specific interface, which makes them less re-usable on systems that don't need Axon.
Please describe the enhancement you would like to have.
Instead of relying on the AggregateIdentifier interface, Axon should accept any Object as aggregate identifier. When components rely on a String (e.g. JpaEventStore) for lookup purposes, a converter should be used to convert the Object to a String (a default converter will accept Number and String instances, and will call toString() on other objects).

Yay!

Merged to master branch. Requires a change in documentation in order to be closed.


Listing nearby phones that have bluetooth on (question)

So I'm trying to get a list all bluetooth devices (phones specifically) but Flutter doesn't seem to be seeing the phones.
I have this method called on a button press just to test what gets output. Here is the code for it
//Listen to scan results
flutterBlue.startScan(timeout: Duration(seconds: 4));

var subscription = flutterBlue.scanResults.listen((scanResult) {
  for (ScanResult scan in scanResult) {
    BluetoothDevice device = scan.device;
    print('${device.name} found! rssi: ${scan.rssi}dBm');
  }
});

After pressing the button I get this:
I/flutter (12864): Device1 found! rssi: -94dBm
I/flutter (12864): Device1 found! rssi: -94dBm
I/flutter (12864):  found! rssi: -70dBm
I/flutter (12864): Device1 found! rssi: -94dBm
I/flutter (12864):  found! rssi: -70dBm
I/flutter (12864): Jabra Evolve 75e found! rssi: -70dBm
I/flutter (12864): Device1 found! rssi: -94dBm
I/flutter (12864):  found! rssi: -70dBm
I/flutter (12864): Jabra Evolve 75e found! rssi: -70dBm
I/flutter (12864): Inspire HR found! rssi: -86dBm

Some weird things are happening. I seem to be getting duplicate listings and there seems to be a device with no name. But the phone I enabled discoverability on does not show up. I'm expecting something like this:  Moto G5 found! rssi:##dBm
I also connected directly to the phone and tried to list all connected devices with no luck:
for (BluetoothDevice device in await flutterBlue.connectedDevices) {
    print('Connected device: ${device.name} ${device.id}');
});

Output:
D/FlutterBluePlugin(12864): mDevices size: 0
D/FlutterBluePlugin(12864): mDevices size: 0
I/Surface (12864): opservice is null false

Does flutter_blue not support scanning for phones? I just started using this so I'm not sure what I'm doing.
Thanks for the help!

I just came here for the same problem.
I can find my PC, TV, even by Samsung Watch but it can't detect a single phone.
I really hope there is a solution for this.

You guys got any solution?

I put up a stack overflow post about this a while ago. I haven't tried this but it seems promising: https://stackoverflow.com/questions/61492642/listing-nearby-phones-with-bluetooth-on-flutter-blue-package/62351551#62351551


added /etc/network/routes persistence for route provider.

This extends route persistence to ubuntu and debian instead of just the redhat flavors.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@popsikle

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

I had a CLA signed back in the echosign days, I re-signed on the new fancy website.

I think I'm :-1: on this. I'd much rather we totally refactor the route provider to clean this up properly and provide an extensible way of progressing here.
Does that make sense? I appreciate that our technical debt is going to wind up making your life harder, but I think long term this is better.

https://github.com/chef/chef/issues/3994


minify_html strips empty attributes, which produces an error for django select widgets with blank=True

Python Version
3.9
Django Version
4.0
Description
Hey Adam 👋
Quick FYI I noticed for you (although this is probably more of an unintended feature rather than a bug).
When using minify_html on a Django template with a select widget that can accept a blank value, minify_html will strip the blank option, which means an exception is caught in the field clean method. E.g:
class MyModel(models.Model):
    struct_org_type = models.CharField(
        default="",
        blank=True,
        max_length=255,
        choices=SCHEMA_ORG_CHOICES
    )

Would normally render something like:
<select id="id_struct_org_type" name="struct_org_type">
    <option value="" selected="">---------</option>
    <option value="example_1">Example 1</option>
    <option value="example_2">Example 2</option>
</select>

However, minify_html will strip the empty value="" attribute in the first option. Without this, django won't recognise the input as valid (being null rather than a blank str) if this is the selected option. It produces:

Select a valid choice. --------- is not one of the available choices.

I'm not sure there's any way around this, other than to wrap some conditional logic around should_minify() to prevent its use on views with forms, but thought it worth pointing out.

This seems like a bug in minify-html, I've reported it upstream: #71.
Doesn't seem like there's anything we could do here, none of the configuration values look like they'd prevent this behaviour, so closing this issue.

Can you link to the report so we can stay up to date?

The link is above my message

I think this is the link to the doc. I was talking about the link to the bug report but it is OK.

If the problem can't be fixed because the upstream library has to be the one to make the fix, this library should at least warn the user in the readme and/or add a workaround in should_minify.
Leaving the bug out there for your users to encounter is cruel. Hunting this bug cost me a full day and most of my sanity.

Everything has bugs all the time, it's impractical for packages to list all the known bugs in dependencies, and it's hard hard to gauge the impact.

Leaving the bug out there for your users to encounter is cruel.

Making entitled comments on free open source projects, provided "without warranty", is cruel.
Feel free to actually try and help instead, by making a PR adding some kind of warning to the documentation.


DLL load error - incompatible libiomp5md.dll

Both this (openmp) package and the defaults intel-openmp install libiomp5md.dll into /Library/bin:
λ ls C:\Miniconda3\pkgs\openmp-6.0.0-vc14_0\Library\bin

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a---l       11/03/2018     10:48         615424 libiomp5md.dll
-a---l       11/03/2018     10:48         615424 libomp.dll

λ ls C:\Miniconda3\pkgs\intel-openmp-2018.0.0-8\Library\bin

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a---l       23/03/2018      2:22        1343744 libiomp5md.dll
-a---l       23/03/2018      2:22        3755008 libiomp5md.pdb
-a---l       23/03/2018      2:22          81664 libiompstubs5md.dll

This means that installing one when the other is already present will overwrite the existing libiomp5md.dll.
Unfortunately these two dlls do not appear to be compatible as using the libiomp5md.dll provided by the openmp package will break pytorch, resulting in a DLL load error:
ImportError: DLL load failed: The operating system cannot run %1.

Tested on win64/py36

Repro:
Create a clean pytorch environment from defaults:
λ conda create -n torch --override-channels -c pytorch -c defaults python=3.6* pytorch-cpu --yes

Activate and test:
λ activate torch

(torch) λ  python
Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> exit()

Install openmp from conda-forge and pytorch breaks:
(torch) λ conda install --force conda-forge::openmp --yes
Solving environment: done

## Package Plan ##

  environment location: C:\Miniconda3\envs\torch

  added / updated specs:
    - conda-forge::openmp

The following NEW packages will be INSTALLED:

    llvm-meta: 6.0.0-0      conda-forge
    openmp:    6.0.0-vc14_0 conda-forge [vc14]

Preparing transaction: done
Verifying transaction: /
SafetyError: The package for openmp located at C:\Miniconda3\pkgs\openmp-6.0.0-vc14_0
appears to be corrupted. The path 'Library/bin/libiomp5md.dll'
has a sha256 mismatch.
  reported sha256: 2945f98e342aaedf335dee679e66e786f336d4bea47c50d99cbbc220786cf74e
  actual sha256: 46f32172318c305e29edf907f6cc9e8e810bdff41943f2ee76e3f10abc554caf

ClobberError: The package 'conda-forge::openmp-6.0.0-vc14_0' cannot be installed due to a
path collision for 'library/bin/libiomp5md.dll'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.

Ok, that didn't work! :stuck_out_tongue_winking_eye:
I guess it's very good that conda doesn't allow you to shoot yourself in the foot, however that begs the question as to how I ended up with both in my environment :confused:
Maybe there's an install path that doesn't trigger the ClobberError.

Thanks @dhirschfeld.
When I read this was thinking, "Huh? That's weird. Why would openmp, which installs libomp.dll (or similar on other OSes), install libiomp5md.dll?" However it does seem to be the case it does this and it even installs libgomp.so (or similar) on Unix-y platforms. On Unix platforms, these are installed as symlinks. Expect the same sort of thing is being done here on Windows (though likely through hard linking/copying).
FWIW this isn't some custom build step we added in. It is something that openmp seems to do all by itself. That said, I'd be in favor of disabling or manually removing these symlinks as part of the build.
How do you feel about doing a PR?

Just checked - if I install an older conda 4.3.34 you don't get the clobber error:
(torch) λ conda install --force --override-channels -c conda-forge openmp --yes
Fetching package metadata .....................
Solving package specifications: .

Package plan for installation in environment C:\Miniconda3\envs\torch:

The following NEW packages will be INSTALLED:

    openmp: 6.0.0-vc14_0 conda-forge [vc14]

(torch) λ python
Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Miniconda3\envs\torch\lib\site-packages\torch\__init__.py", line 78, in <module>
    from torch._C import *
ImportError: DLL load failed: The operating system cannot run %1.
>>> exit()

...so it's likely I clobbered my environment using an older conda.

I'm not 100% sure I understand what's required but I can see if I can make a start...


                                }
                        }]
                }
...

very strange.
try cleaning homebridge cachedAccessory

Thanks, I’ve tried that.
Dumb question but I assume that the plugin dosen’t also reference the setting stores in the e-control app correct?

I don’t think so!
Sent with GitHawk

It is strange - one of the fans (the correct one) includes all the oscillation settings in the details section. The "Ghost" fan on is just an on off switch. Very strange

try cleaning cache, removing bridge from Home, changing Homebridge MAC address, then re-add it to Home. I would try something like that

I have the same problem. For me, both fan icons are fully functional.

Please re-open if you're still seeing these issues.


Remove trailing commas and semi-colon to confirm to code standard and reduce warnings

#Request Template Witsml Explorer
Fixes # (issue)
Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Remove trailing commas and semi-colon to confirm to code standard and reduce warnings
...
Type of change
Put an x in the boxes that apply. You can also fill these out after creating the PR.

[ ] Bugfix
[ ] New feature (non-breaking change which adds functionality)
[ ] Enhancement of existing functionality
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Impacted Areas in Application
List general components of the application that this PR will affect:

Checklist:
Put an x in the boxes that are fulfilled.

[ ] PR is related to an issue
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have used descriptive naming on components, functions and variables to avoid additional explanatory comments in the code
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

I'm using Rider with default setup. I ran the code inspection and picked some low-hanging fruit.


APP-705 Integration-commons Remove Symphony dependencies

These dependencies have to be removed:

pod-api-client
agent-util

@dnsymphony please review it.


Build: Switch to pnpm package manager

https://pnpm.io/
https://dev.to/ayoub3bidi/lets-settle-things-out-2-npm-vs-yarn-vs-pnpm-5e04

publish is failing:

https://github.com/glensc/gitlab-webhook-listener-bot/pull/88


[docs] Two audio backends are available, not four as stated in docs

📚 The doc issue
Is ffmpeg backend also implemented? Something else?
https://pytorch.org/audio/stable/backend.html#backend :

Regarding an ffmpeg backend, it would be rather useful, currently both sox and soundfile don't seem to be able to read webm+opus audio files

ffmpeg backend would be useful, even just for info function

a feature request: info function should have an option to demux all packets and to return latest pts_time. Certain webm+opus files may not have a duration in headers

Any comments about ffmpeg backend in general? (it would also be nice to accept an explicit backend= argument to dispatching torchaudio.load to not rely on fishy global backend variables)

Hi @vadimkantorov, thanks for sharing the post. Since FFMpeg is cross-platform, it is not necessary to set it as a backend, instead users can use it via torchaudio.io class regardless of the types of operating system.

info function should have an option to demux all packets (without actual audio decoding) and to return latest pts_time. Certain webm+opus files may not have a duration in headers. This can certainly be done with ffprobe/ffmpeg in-process

cc @mthrok is adding pts_time in the info function doable?

It also would be nice if docs clarified that Python's pysoundfile bindings to libsndfile is used, and not libsndfile directly (right?)

That's right. It is mentioned in the backend doc and has a link to the PySoundFile webpage.

Well, it's more

thanks for sharing the post. Since FFMpeg is cross-platform, it is not necessary to set it as a backend, instead users can use it via torchaudio.io

How is backend / io-function API related to cross-platformedness? both sox and soundfile are probably also cross-platform. By backend I mean having a single interface of torchaudio.load / torchaudio.save / torchaudio.info being able to work with sox/soundfile/ffmpeg, where the library ("backend") can be chosen by the user.
Regarding fetching duration from pts_time of the last packet - this is more relevant for webm and other general containers. This requires some form of seek or full input stream demuxing (hopefully without decoding). This can be easily done with ffmpeg, but also probably with other "backends" depending on what API they provide. Sometimes even having a full extra decoding pass is practical. This is related to avoiding OOM / denial-of-service by checking input size and capping it. An alternative could be some load functions that support out= argument and let check if overflow was needed. Then probably load function with a start time seek would be useful to be able to read audio from the last ended moment. A small compressed audio can generate a huge decoded audio (e.g. if there is a lot of silence in it).

The backend was introduced to handle the situation where libsox is not available on Windows. This attempt IMHO was unsuccessful as the pysoundfile and libsox do not provide the same coverage, it made the library stateful, and it's hard to know what project sets what backend. So I am hoping to get rid of the backend somehow (and when doing so perhaps make the current backend implementation public APIs). So I do not plan to add a new backend.
FFmpeg features are all put in torchaudio.io, since FFmpeg is available on all platforms that torchaudio supports (Windows, macOS, Linux) and the current FFmpeg-based features do not fit in simple load/save/info function scheme.

I agree about being stateful as a bad design decision.
As a backend I mean only having a stable / similar load/save/info API supporting different IO libraries.

How is backend / io-function API related to cross-platformedness? both sox and soundfile are probably also cross-platform. By backend I mean having a single interface of torchaudio.load / torchaudio.save / torchaudio.info being able to work with sox/soundfile/ffmpeg, where the library ("backend") can be chosen by the user.

Interesting about SoX not available on Windows, from what I understand, there is no official distributed dll on Windows, but people manage to build it on their own...

The thing is we need to automate the build process. For this I obtained Windows machine and learned Windows development from scratch (and succeeded to automate FFmpeg-related CI job that was necessary to include FFmpeg features in binary distributions) but Windows support of libsox is not maintained well. It does not compile on recent Visual Studio. I believe the last VS version the official build script supports is something like 2013, I come back to this from time to time, and I try but I never succeed.

As a backend I mean only having a stable / similar load/save/info API supporting different IO libraries.

Sure, but there are other issues on the existing API so I am not sure how much we should mimic the current API, notably, normalize argument is confusing for audio experts as they think its volume/power normalization while in reality it's just type (and value range) conversion. For this reason, I am thinking that FFmpeg-based implementations of such APIs can be put in torchaudio.io with fresh signature, but then I am sure some ppl will find it confusing to have multiple APIs. So I am somewhat in a pickle.


Update broken README documentation hyperlinks

Fix the hyperlinks by updating the URL that they are pointing to on the intervention.io website.

Thanks.


Importing components results in 'undefined'

I did: npm install react-modal-image --save
When I import a component e.g. import { Lightbox } from "react-modal-image"; and use it I get the following error when the render() method is called:
React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check the render method of Lightbox.
I looked at the compiled code in node_modules and it looks OK to me. Not sure what could be going on here as I probably use close to 50 react components in this project and have never seen this behavior before. Very strange.

Versin 2.3.2 has been published. Now React 15 works with it. Sorry for the trouble @fastingsamurai.


Slack notification owners

Hi folks, we are enabling slack notifications for regression tests. Here is a list I have of each t3000 test owner for each of the models. Please let me know if something is incorrect or should be reassigned. @dimitri-tenstorrent I'm not sure if we should have one owner per workflow or each individual test (if the later, we will need to separate the pipelines in the workflow file)
T3000 unit tests: https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/t3000-unit-tests.yaml

run_t3000_ttmetal_tests @SeanNijjar
run_t3000_ttnn_tests @arakhmati
run_t3000_falcon7b_tests @cfjchu
run_t3000_falcon40b_tests @johanna-rock-tt @skhorasganiTT
run_t3000_mixtral_tests @mtairum

T3000 profiler tests: https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/t3000-profiler-tests.yaml

@mo-tenstorrent

T3000 model perf tests: https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/t3000-model-perf-tests.yaml

run_t3000_falcon7b_tests @cfjchu
run_t3000_mixtral_tests @mtairum
run_t3000_llama2_70b_tests @cglagovich

T3000 frequent tests: https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/t3000-frequent-tests.yaml

run_t3000_ethernet_tests @SeanNijjar
run_t3000_tteager_tests @SeanNijjar
run_t3000_falcon40b_tests @johanna-rock-tt @skhorasganiTT
run_t3000_llama2_70b_tests @cglagovich
run_t3000_mixtral_tests @mtairum

T3000 demo tests: https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/t3000-demo-tests.yaml

run_t3000_falcon40b_tests @johanna-rock-tt @skhorasganiTT
run_t3000_falcon7b_tests @cglagovich
run_t3000_mixtral_tests @mtairum

cc: @tt-rkim
Remaining open workflows needing an owner (fyi @aliuTT @ubcheema )
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tg-unit-tests.yaml
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tg-model-perf-tests.yaml
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tg-frequent-tests.yaml
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tg-demo-tests.yaml
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tgg-unit-tests.yaml
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tgg-model-perf-tests.yaml
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tgg-frequent-tests.yaml
https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/tgg-demo-tests.yaml

cc: @dimitri-tenstorrent
Should we start splitting up these workflows into smaller jobs ? Like https://github.com/tenstorrent/tt-metal/blob/main/.github/workflows/fast-dispatch-full-regressions-and-models.yaml so that organizing this is easier

Could you add @pavlejosipovic @pavlepopovic and me for all Falcon 7b and 40b tests?

@dimitri-tenstorrent sounds good. I'll let you decide on who to put as owners for each pipeline based on the owners in the ticket.


[Machine Learning] Implementing Bagging Algorithms in Python

Proposal Submission
Proposed title of article
[Machine Learning] Implementing Bagging Algorithms in Python
Proposed article introduction
Bagging, also known as bootstrap aggregation, is the ensemble learning method that is commonly used to reduce variance within a noisy dataset. In bagging, a random sample of data in a training set is selected with replacement, this means that the individual data points can be chosen more than once.
After several data samples are generated, these weak models are then trained independently. Depending on the type of task (regression or classification) the average or majority of those predictions yield a more accurate estimate.  Bagging algorithms create several subsets of data from training samples chosen randomly with replacement. Each collection of subset data is used to train their decision trees.
In this tutorial, we will use the BaggingClassifier algorithm to train our model. We will build a diabetes prediction model. BaggingClassifier algorithm will fine-tune the model until we have a model with the best accuracy score.
Key takeaways

Data preprocessing.
What is a bagging algorithm?
Initializing the BaggingClassifier algorithm.
Using the BaggingClassifier algorithm to build a diabetes prediction model.
Comparing the results when using an individual algorithm such as Decision Tree and Random Forest algorithms.

Article quality
This tutorial is unique because we will use two approaches in building the model. The first approach is to use an individual algorithm such as the Decision tree algorithm or the Random Forest algorithm in building the model. The second approach is to build the same model using the  BaggingClassifier algorithm. We then compare the accuracy scores of the two approaches. This will enable us to see how the Bagging algorithm improves the model's accuracy score.
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Seems like a helpful topic. Let's ensure that it adds value to the community.  It should be different from existing illustrations such as https://insidelearningmachines.com/build-a-bagging-classifier-in-python/ Thanks


Refactor method definitions in vm/ for readability

I hope this change might be good this time.

Moving method name up is a good idea, but I'm not sure if this would effect document generation. @adlerhsieh can you check this?

Currently it will not effect the parser, although the style might need some tweak. If putting Name above Fn, then the comment for this method still needs to come right above Fn. For example:
var builtinIntegerMethods = []*BuiltInMethod{
  {
    Name: "+",
    // Returns the sum of self and another Integer.
    Fn: func(receiver Object) builtinMethodBody {
      // ...
    },
}

But we're still in an early stage so changing this style won't take too much time. Comments can come either above Name or  bracket {.

@adlerhsieh I think you can decide the style, although I prefer comment upon the name.

Updated my master branch with the style as adlerhsieh suggested.
(I was just wondering how to update the PR yesterday)

To update a PR, just push to the branch again. In you case, push to master will do.
However, some general guidelines to follow if you want to keep contributing:

Checkout to a new branch when working on a new feature. When opening a PR, it means your things are stuck with that branch. Sometimes a PR could take a week of discussion before merge. If you have something new in mind, you won't be able to progress if you always work on master. In your case, modifying Integer#prev including 0688a04a5288e4f72b69910e608de232b0aa064f and c836f7466e89652bc5cacbb3c9d687edfb6e1160 are not related to this PR.
Use git commit --amend and git push --force to overwrite commits. If you add a line and commit, and after discussion you add another line and commit. In my experience doing this 10 times in a PR is common, and it makes the commits very dirty. It's better to overwrite the same stuff.

Sorry, I should've PR with a new feature branch, instead of merging to my local master branch. I'll be careful next time.


tests that execute envoytest.RunKill are flakey

Tests that include lines like below can fail because they execute in the same directory
		err = envoytest.RunKill(r, filepath.Join("testdata", "null.yaml"), time.Second*10)
		require.NoError(t, err, "error from envoytest.RunKill")

    --- FAIL: Test_retrieveAdminAPIData/creates_all_non-empty_files (0.33s)
        admin_test.go:47:
            	Error Trace:	admin_test.go:47
            	Error:      	Received unexpected error:
            	            	error killing runner: reading file in tar archive: file already exists: /home/circleci/.getenvoy/debug/1617156514287771521/certs.json
            	Test:       	Test_retrieveAdminAPIData/creates_all_non-empty_files
            	Messages:   	error from envoytest.RunKill

This is no longer broke as they don't execute in the same dir anymore


add workspace

添加指定工作目录指令，使用
hip start -w ~/work/
hip start --workspace ~/work/

Codecov Report

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

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   92.18%   92.19%   +<.01%
==========================================
  Files          26       26
  Lines         845      846       +1
==========================================
+ Hits          779      780       +1
  Misses         66       66

Impacted Files
Coverage Δ

src/index.js
85.04% <100%> (+0.14%)
:arrow_up:

Continue to review full report at Codecov.

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


Adding s390x/s390-unknown-linux-gnu samples patch

This patch will allow other vendor name to pair with s390x/s390.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Can you send this to https://github.com/conda-forge/crosstool-ng? And then update https://github.com/conda-forge/crosstool-ng-feedstock?

Can you send this to https://github.com/conda-forge/crosstool-ng? And then update here?

Looks like I cant create a personal fork for conda-forge/crosstool-ng because same name repository is already exists.
Once it will merge , I will create PR https://github.com/conda-forge/crosstool-ng . For time being, I have created PR for conda-forge/crosstool-ng-feedstock#15 and added it as patch for now . I will clean it up from here later. Please let me know if you are fine.

Looks like I cant create a personal fork for conda-forge/crosstool-ng because same name repository is already exists.

You don't need to create a personal fork. You can send a PR from your already existing fork

@isuruf created a PR - https://github.com/conda-forge/crosstool-ng/pull/2.  So here in crosstool-ng-feedstock , I have to increase the build number and request for re-render. Let me know if I missed out anything.

You only have to increase the version to <IP_ADDRESS>_gc74611b1

Thanks


Support / Best Practice question

This isn't a bug or issue with laravel-mongodb, but rather a best-practice style question for both the library and Mongo. I am used to using a pivot to handle belongsToMany relationships between a User and Role model. As the doc shows, laravel-mongodb doesn't use that pivot table but rather embeds the ID's in the record on both sides of the relationship.
With my use case of User and Model it is likely that records on Role side are going to become enormous over time. Will that cause performance issues for Mongo as that grows?

This issue should be closed, since it is not a bug.

Hi
Removing the pivot table leads to an unbounded array problem in some situations. Is there any option to use a pivot table in a many-to-many relationship?

There is no option to use a pivot table, and I'm currently struggling to see use-cases where bi-directional references that keep growing over time would become big enough to become an issue that doesn't point to a serious mistake in schema design. If you run into such a use case, please create a discussion explaining your use case so we can discuss. Thank you!


Feature - Select which feature to disable.

Hello,
Thanks for this great plugin.
I would like to select which feature to disable. Is it possible ?
Thanks.

Hello Pascal, I'm glad you like the plugin. Currently, there are no settings to enable or disable filters. This plugin is designed to be plug-n-play and comes with sensible defaults. Could you please let me know which feature(s) you would like to disable in the plugin and provide the reason behind it?

I was just curious to know if it was possible ^^.
It would be nice if I could enable Gutenberg styles. I'm going to spend a lot of time recreating a part of them.
PS: I'm a beginner in wordpress development.

Yes, it should be possible to [remove the action](Yes, it should be possible to remove the action by using the remove_action function.) by using the remove_action function.


How to use the operators in CPU mode

Hi,
I have a graph as shown below

How to use these CPU operators on the DPU output tensor in CPU mode?
I'm using vart.Runner.create_runner(dpu_subgraph, "run")
Thank you

you can implement these op in customer op mode.
please refer to
https://docs.xilinx.com/r/en-US/ug1354-xilinx-ai-sdk/Custom-Operator-Implementation-and-Registration

Hi @lishixlnx,
thanks for the reply,
I believe that these operators are prebuilt.

I needed to know how to use them in my python application code to run on board.

you need use the graph-runner mode.
Please refer to below link:
https://docs.xilinx.com/r/en-US/ug1414-vitis-ai/Deployment?tocId=hOzwBJoHpy5vmUxppUrc6Q

Closing since no activity for more than 1 month, please reopen if you still have any questions, thanks