[integration_test] Unsupported Android Plugin version: 7.1.2.

Steps to Reproduce
The app runs with its config on android but when I try to run integration tests I get Unsupported Android Plugin version: 7.1.2. error.
android/build.gradle
buildscript {
    ext.kotlin_version = '1.6.10'
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.1.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:4.3.10'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.2'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Run integration tests flutter test integration_test

Expected results:
Tests should run or there should be information on what gradle plugin versions are required.
Actual results:
Exception is thrown:
flutter.bat --no-color test --machine --start-paused -d emulator-5554 integration_test\auth_test.dart
Testing started at 10:54 ...
Running Gradle task 'assembleDebug'...                            129.7s

Exception: Unsupported Android Plugin version: 7.1.2.

package:flutter_tools/src/base/common.dart 10:3                    throwToolExit
package:flutter_tools/src/android/gradle_utils.dart 195:3          getGradleVersionFor
package:flutter_tools/src/android/gradle_utils.dart 133:10         getGradleVersionForAndroidPlugin
package:flutter_tools/src/android/gradle.dart 901:3                _exitWithExpectedFileNotFound
package:flutter_tools/src/android/gradle.dart 461:7                AndroidGradleBuilder.buildGradleApp
===== asynchronous gap ===========================
package:flutter_tools/src/android/gradle.dart 179:5                AndroidGradleBuilder.buildApk
===== asynchronous gap ===========================
package:flutter_tools/src/android/android_device.dart 579:7        AndroidDevice.startApp
===== asynchronous gap ===========================
package:flutter_tools/src/test/integration_test_device.dart 53:39  IntegrationTestTestDevice.start

Code sample

I have create a simple first test

import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

import "package:myapp/main_dev.dart" as app;

void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  group("auth:e2e2", () {

    testWidgets("should land on home screen if not authenticated", (WidgetTester tester) async {

      app.main();
      await tester.pumpAndSettle();

      expect(find.text("Home"), findsOneWidget);
    });

  });
}

Logs

[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.19044.1586], locale en-DE)
    • Flutter version 2.10.3 at C:\Users\User\fvm\versions\2.10.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (6 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\User\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Users\User\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\211.7628.21.2111.8193401\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.11)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.32228.343
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Users\User\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\203.7935034
    • Flutter plugin version 65.2.1
    • Dart plugin version 203.8452
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Users\User\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\211.7628.21.2111.8193401
    • Flutter plugin version 66.0.1
    • Dart plugin version 211.7811
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.66.1)
    • VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.38.1

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 31) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.19044.1586]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 100.0.4896.75
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 99.0.1150.46

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

• No issues found!

Edit
Ive also tried plugin version 4.2.0 it has the same effect.

@crtl
I believe you are getting the error because the flutter/plugins and packages don't yet support AGP 7.0 for which this open issue is created for tracking: https://github.com/flutter/flutter/issues/88666
Please follow-up in it for further updates. For now, you may have to downgrade to previous gradle version.
Closing this in favor of linked issue. If you disagree, write in comments and I'll reopen it.


[Windows] Drag does not start by stylus

Drag and drop functions well using mouse on Windows, but not pen / stylus.

Look's like a flutter issue and still not resolved today.
https://github.com/flutter/flutter/issues/102836
https://github.com/flutter/flutter/issues/65248


Place Name editing

Place name editing was designed to work on the County the member was managing.
With the ability to edit a place located in the Gazetteer search with assumption is now longer valid and mistakes can arise.

E0 U6 S7 C6: P19

@rhodamackenzie to test.

working well, closed


docs: correcting spelling and markdown syntax

JIRA Ticket(s) if any
N/A
Description
There was a markdown error when attempting to render the :rotating_light: emoji due to missing some characters.
Grammer fix for a paragraph later in the README.md documentation.
Test Steps
N/A

Hey @mprew97 , thanks for the review!
It seems like this PR is still unable to be merged despite being approved. Is there something else I'm missing that is preventing this from being checked off by Github? Let me know so I can address it!
Thanks!

Hey @mprew97 , thanks for the review!
It seems like this PR is still unable to be merged despite being approved. Is there something else I'm missing that is preventing this from being checked off by Github? Let me know so I can address it!
Thanks!

Hello, @hectorleiva! Seems I needed to approve the run on our CI/CD tests. I will merge this now. Thanks for the contribution!


empty load error when import 4.0.2 project to the new 4.0.3 engine

Godot version
v4.0.3_stable_mono_win64
System information
Windows 10 ver 22H2, Intel Core i5 10400f, rx 6650 XT
Issue description
i'm trying to move from 4.0.2 to new release 4.0.3, but when i open my 4.0.2 project in 4.0.3, it showing an empty load error at first and i could build though cannot run the game
i'm using godot mono version

Steps to reproduce
i'm stuck at importing project so...
Minimal reproduction project
https://github.com/fm39hz/Prototype

it was the scene script is missing due to my mistake, but still think you guys should fix that empty error prompt


Update http3.md

Link to preview features spec. There will be better documentation about this in the future, but link here for now.

@JamesNK ... I only made nit updates, but it's best if you look and confirm the updates are 😎 ... especially for the last added sentence. I felt when I read the info that I wouldn't know how to stay abreast of issues with HTTP/3, so I added a sentence with a link to the Announcements repo.


Groups in Default Attribute set gone missing

Hi There,
Thanks for making this fantastic script to export and import attributes and products for magento.
I've used this script to export attributes and is done successfully.
But, when I'm importing all gone well in terminal and ends up with a successful message. but I'm getting a blank Default Attribute set in backend, even default mandatory one are not showing. Attributes are available in DB because when I'm creating one with same name it says already exist. Also, all the default attributes are available in product page left menu.
Check below screenshots.

Can you confirm if the values are added to the  tables like eav_attribute

My current magento version is <IP_ADDRESS>.
Yes, I got new attribute entries in eav_attribute table and also respected option values in eav_attribute_option_value table.
One more thing I do not get option values for existing attribute added/updated.

@shashank-abacus
I have Fixed the issue and made some improvements to the script, remove the old code and try the new one form the repo.


Build iOS with BoringSSL to support Firefox 38+

Firefox 38 will require Perfect Forward Secrecy for DTLS. The current iOS library is built using the standard SSL library (NSS) which doesn't support PFS. The guys at &yet have verified that building with the OpenSSL fork BoringSSL (which Chromium has moved to, iirc) solves the problem with Firefox 38 interopability.
This should be a small matter of adding use_openssl=1 to the GYP_DEFINES in build.sh.

see here: https://code.google.com/p/webrtc/issues/detail?id=3605, it is still a work in progress

How about going from NSS to OpenSSL for now? It should solve the Firefox 38 problem according to those who have tried it (I have not built it myself, so I haven't verified it).

The discussion on the WebRTC issue above seems to go in the direction "switch to BoringSSL by default". Firefox 38 release is closing in quickly (1 month), and we soon need to start building WebRTC ourselves if the Pod doesn't switch to BoringSSL. The Pod is extremely convenient for us, so we'd love to avoid switching away from it.

Started a jenkins build now to build the latest ios build that includes boringssl
https://github.com/pristineio/webrtc-mirror/commit/7d89f80fd49c734c34374cdb2b618c48befcc3f1

should be finished in an hour or 2

9013 is available on cocoapods
https://github.com/CocoaPods/Specs/commit/eebfe7871e5374fd3e784dd756911a3af8bd216c

Thanks, I've verifies that it works on device! It seems the simulator binary doesn't build properly anymore, I get missing symbols in 9014. Maybe related?


MM-43626 -  update trial benefits modal first three cards

Summary
This PR updates the first three cards for the trial benefits modal, setting the new three cards with the values:

SSO (with OpenID, SAML, Google, O365)
AD/LDAP user and group sync
Controlled access with permissions

Ticket Link
https://mattermost.atlassian.net/browse/MM-43626
Related Pull Requests
n/a
Screenshots
https://user-images.githubusercontent.com/10082627/178751255-3c6b5c90-1766-4fb8-9e0a-1f6e7780a722.mp4
Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/218203


I use djinni about 6 years , but still not support inherit

For my understand, we can support inherit in future, also need follow OOO design.
std can support is_base_of / etc... meta programing, so we can use that to support inherit.
also we can forbidden c++ diamond inheritance

I am not sure I understand this correct

For my understand, we can support inherit in future, also need follow OOO design.
There are not a lot of things to inherit from in the support lib, but the whole implementation of djinni generated interface code is base on inheritance.

Can you please explain what you mean ?
Just 2 notes:
std::is_base_of is in the C++ standard since c++11
see  https://en.cppreference.com/w/cpp/types/is_base_of
C++ diamond inheritance is not an issue, it was always just a marketing FUD gag from Sun people to push Java.
It's always up to user to make what ever they want, if they want diamond inheritance, fine, then they hopefully know about virtual inheritance. An awesome intro and technical explanation to virtual inheritance can be found here: https://mariusbancila.ro/blog/2021/11/16/virtual-inheritance-in-c/

@a4z
Thank you for your reply.
If someone uses IDL for interfaces definition. Now all interfaces are flat, non-inherited relationship.
Eg:
parent = interface +j +o
{}
child : parent = interface +j +o
{}
In our practice, without inheritance, we need a lot of extra work to use these interfaces that are actually inherited.
I was going to refactor djinni next year, but I found that the community is maintained now, and I very much hope that the community will support this feature as well.

Not sure if it helps but there is a fork that supports inheritance for records: hiennguyenle/finn#extend-record.
If you are planning to implement interface inheritance, we are looking forward to your PR! 😊

Closed due to inactivity, please feel free to re-open this PR in case the topic is still actual.


Enable strict-casts (as replacement for implicit-casts)

The (deprecated) implicit-casts option was disabled in https://github.com/flutter/flutter/pull/100862 - unfortunately without enabling its replacement strict-casts.
See also https://dart.googlesource.com/sdk.git/+/6a54fdd46e2df14c9a7b4fd9d6b2d6e181ca0b7a.
This PR also updates some minor comments in the analysis_options file.

/cc @srawlins

test-exempt: is a test


100% CPU usage

   PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 32911 root       20   0 40608 19624  8136 S 100.  0.2  2:07.29 /usr/bin/python3 pykms_Server.py <IP_ADDRESS> 1688 -l 1033 -c 26 -a 120 -r 10080 -w 364F463A8863D35F -V ERROR
 32925 root       20   0 40608 19624  8136 R 100.  0.2  2:06.50 /usr/bin/python3 pykms_Server.py <IP_ADDRESS> 1688 -l 1033 -c 26 -a 120 -r 10080 -w 364F463A8863D35F -V ERROR

constant 100% CPU usage..

me too...have to kill it to recover. I used it on GCP.

Mine.

@SystemRage Can you start up the python3 docker container? That's how i am running it. On a fully up to date ubuntu 18.04, docker 18.09-6
I put LOGLEVEL=DEBUG but there is no logging at all

Try this patch:
diff --git a/py-kms/pykms_Server.py b/py-kms/pykms_Server.py
index 80c182a..2a1638d 100644
--- a/py-kms/pykms_Server.py
+++ b/py-kms/pykms_Server.py
@@ -10,6 +10,7 @@ import logging
 import os
 import errno
 import threading
+import time

 try:
         # Python 2 import.
@@ -57,6 +58,7 @@ class server_thread(threading.Thread):
                                     self.is_running = False
                                     self.server = None
                             self.queue.task_done()
+                    time.sleep(0.1)

 ##-----------------------------------------------------------------------------------------------------------------------------------------------

@@ -249,6 +251,7 @@ class kmsServer(socketserver.BaseRequestHandler):
                                 loggersrv.info("Responded to activation request.")
                                 ShellMessage.Process([-3, 18, 19]).run()
                                 break
+                time.sleep(0.1)

         def finish(self):
                 self.request.close()

ZIP file:
pykms-reduce-cpu.zip

Yeah that reduces the load for me. Ugly workaround but hey it works :)

Mine.

With the sleep in the while loop the 100% CPU usage is gone. Could you run the pykms_Server.py in a docker container?

I investigated problem and i noted that's dependent on how docker container is created.
So i created a docker container in this way:

and visualized some things:

Actually there's a cpu overload. (with commands  sudo docker stats --no-stream and   sudo docker exec -ti pykmshighload top)

Then i created another docker container with -it option, and this doesn't suffer the same problem.
(view previous image) and with  sudo docker exec -ti pykmslowload top:

With this commands i tested that py-kms process run good:
sudo docker exec -ti pykmslowload bash
python3 pykms_Client.py <IP_ADDRESS> 1688
cat /var/log/py3-kms.log
sudo docker logs pykmslowload

Note: environment variables must be called before container, so run-py3-kms.sh, run-py2-kms.sh and docker readme require correction.
I await feedback.

Seems to work pretty well 👍

I'm running master branch on a vanilla 18.04 install (not Docker-ized). Standard systemd unit file produces a 100% CPU utilization due to loop logic. Is this in pipeline to address, or is the best workaround to wrap in a screen -DmS shell?
[Unit]
Description=kms
After=network.target
Wants=network-online.target
[Service]
ExecStart=/usr/bin/python3 /opt/kms/py-kms/pykms_Server.py -V DEBUG --logfile /var/log/py-kms_server.log
Restart=always
KillMode=process
Type=idle
User=nobody
Group=nogroup
[Install]
WantedBy=multi-user.target

I'm running master branch on a vanilla Ubuntu 18.04 install (not Docker-ized). Standard systemd unit file produces a 100% CPU utilization due to loop logic. Is this in pipeline to address, or is the best workaround to wrap in a screen -DmS shell?
[Unit]
Description=kms
After=network.target
Wants=network-online.target
[Service]
ExecStart=/usr/bin/python3 /opt/kms/py-kms/pykms_Server.py -V DEBUG --logfile /var/log/py-kms_server.log
Restart=always
KillMode=process
Type=idle
User=nobody
Group=nogroup
[Install]
WantedBy=multi-user.target

I've the same issue. I think it's something about systemd, cause it always start 2 or more processes, but only one is needed (like in @SystemRage 's screenshot). I'll try to stop that, lets see what happens ...

I have the same issue and fixed it by reducing the load in the main busy-waiting loops.
Try this patch:
diff --git a/py-kms/pykms_Server.py b/py-kms/pykms_Server.py
index 80c182a..2a1638d 100644
--- a/py-kms/pykms_Server.py
+++ b/py-kms/pykms_Server.py
@@ -10,6 +10,7 @@ import logging
 import os
 import errno
 import threading
+import time

 try:
         # Python 2 import.
@@ -57,6 +58,7 @@ class server_thread(threading.Thread):
                                     self.is_running = False
                                     self.server = None
                             self.queue.task_done()
+                    time.sleep(0.1)

 ##-----------------------------------------------------------------------------------------------------------------------------------------------

@@ -249,6 +251,7 @@ class kmsServer(socketserver.BaseRequestHandler):
                                 loggersrv.info("Responded to activation request.")
                                 ShellMessage.Process([-3, 18, 19]).run()
                                 break
+                time.sleep(0.1)

         def finish(self):
                 self.request.close()

ZIP file:
pykms-reduce-cpu.zip

Valid fix, i guess.

Adding some timeout when getting from queue resolves cpu overload (similar to sleep(), but more elegant). The second timeout (in request handler) can be omitted, tested without it and cpu stays low.


AI Commit is not listed in the Tools modal of PHP Storm 2024.2

Steps to Reproduce

Open PHP Storm 2024.2
From the menu, navigate to Tools
Search for AI Commit

Environment

Distributor ID: Linuxmint
Description: Linux Mint 21.1
Release: 21.1
Codename: vera

IDE Info
protocol.version=1.1
os.name=Linux
java.version=21.0.3
java.vm.vendor=JetBrains+s.r.o.
app.name=PhpStorm
app.name.full=PhpStorm
app.name.version=PhpStorm
app.eap=false
app.internal=false
app.build=PS-242.20224.361
app.version.major=2024
app.version.minor=2
app.build.date=1723289700000
app.build.date.release=1723420800000
app.product.code=PS
app.build.number=242.20224.361

Hey @Nicolas-ps, thanks for opening this issue. Are there any related errors?
This seems like a possible duplicate of https://github.com/Blarc/ai-commits-intellij-plugin/issues/124, https://github.com/Blarc/ai-commits-intellij-plugin/issues/153, https://github.com/Blarc/ai-commits-intellij-plugin/issues/172 and https://github.com/Blarc/ai-commits-intellij-plugin/issues/182.
Are you using a Language Pack Plugin?

Hi, as you can see, language packs are disabled.

Shouldn't there also be other entries under Tools that are bundled with the IDE?
According to this, it might have a strange name. Can you please check?


Partial arguments

Adds support for passing arguments to partials.

That looks amazing :)

I've gave it some try, it looks really good.
One thing I'm wondering about the argument: do you think it would be interesting to allow for safe helper use ?
Something like that:
      it 'with helper as argument' do
        hbs.register_helper('wrap_parens') {|context, value| "(#{value})"}
        hbs.register_partial('with_args', "[{{fname}} {{lname}}]")
        expect(evaluate("Hello {{> with_args fname='jon' lname=(wrap_parens 'doe')}}")).to eq("Hello [jon (doe)]")
      end


Add Syntax Highligher for Java

Our Editor also supports Java language but unfortunately, the CodeEditor does not as a hack, we have added the C++ highlighter in Java, this works fine in some cases but in reality Editor should support full Java syntax highlighting.

Closed by Megaxela#38 (58dc90e725af73140ba2ba04489e834c73b4628d).


install always failed

[root@localhost src]# go get -u github.com/funkygao/dbus
package github.com/funkygao/dbus: no buildable Go source files in /data/workspace/src/github.com/funkygao/dbus

cd /data/workspace/src/github.com/funkygao/dbus/cmd/dbusd; go build; ./dbusd


Enums in query and MULTI

Hi,
The code generated ended up with an import import …yelpcodegen.tools.MULTI that does not exist.
I checked the swagger and the only places I found "multi" was on a query parameter that is an enum and contains "collectionFormat": "multi", (I didn't check what this meant). Looking at the generated code, the request contains a List in the place of the enum.
So, two questions. Is the import a bug? And could the request be generated with the enum class instead of a List?
Here's the generated code vs the swagger.

Hi @carlosefonseca, thanks for reporting this issue.

So, two questions. Is the import a bug?

To answer your first question: yes, it's a bug.
On the other hand, this comes as a side effect that we don't support collectionFormat: multi at the moment (you can find here some documentation on this property).
To support this we would need to extend the CollectionFormatConverterFactory to support encoding multiple parameters (like foo=value&foo=another_value). This can be a bit tricky given that we don't have access to the parameter name (foo) but only to the List<String> of the value you're passing (value, another_value). This makes encoding a string with multi more complicated. I don't think it's currently worth to spend effort implementing this at the moment.

And could the request be generated with the enum class instead of a List?

An enum class: no, as this won't comply with the specs.
We could extend the generator to generate a parameter that accepts a list of enum and that looks like this:
fun requestGet(
    @retrofit2.http.Query("State") @MULTI state: List<StateEnum>?
): Single<List<RequestDTO>>

This unfortunately comes with the complexity of having to define an inline anonymous enum (StateEnum). The generator currently doesn't support inline enums inside the Retrofit interface.
So the workaround is to probably deal with List<String> and accept to lose the type safety of having an enum, at least for now.
I'd love to keep this issue opened in case someone wants to pick it up.

If you have this issue I would recommend for now as a workaround use explicit type of parameters separation instead of multi ex. csv,ssv, tsv, pipes (https://swagger.io/docs/specification/2-0/describing-parameters/) in your swagger definition. This will get rid of MULTI issue in generated class.

If you have this issue I would recommend for now as a workaround use explicit type of parameters separation

Thanks for the input @tajchert
Sadly the collectionFormat to specify csv, ssv, tsv, pipes as you mentioned is affected by this other bug related to Retrofit https://github.com/Yelp/swagger-gradle-codegen/issues/139


TraceFeignRetryer overrides custom feign Retryer

I think there is a problem in TraceFeignRetryer which makes it always use the Retryer.Default implementation.
Shouldn't
@Override
public Retryer clone() {
	return new TraceFeignRetryer(this.tracer);
}

be something like
@Override
public Retryer clone() {
	return new TraceFeignRetryer(this.tracer, this.delegate.clone());
}

As it is my custom retryer (that tries to not retry at all) is taken into account by the FeignBeanPostProcessor but is discarded at the first call to clone().
There may very well be (lots of) things I didn't understand, all I'm trying to do is to stop Feign from retrying automatically, especially when Ribbon is also trying to retry... I think retrying should be an opt-in behaviour, but this is another matter :-)

Thanks @dpalita for the great analysis!! You were obviously right - the issue is fixed.

Thank you very much for taking this into account.
If I may add something, I think you should also be cloning the delegate in the clone method because the Retryer is not thread safe.
If you to not clone you will also reuse the int attempt; and long sleptForMillis; of the Default implementation. I guess that after a short while the Retryer won't retry anymore because attempt++ >= maxAttempts will always be true.

Again you're right :) https://github.com/spring-cloud/spring-cloud-sleuth/commit/0a0d36053d7fd77247c2da9af12d81e5a465b9ba

@dpalita can you check against latest snapshots that everything is working as expected?

Yes it does (as far as I can tell). Thanks a lot.


Add the ability to only trigger a request once

Not sure if this should be at all added to Intercooler, but it was useful to me - maybe I'm not alone:
I have a page where a user can click on an "expand" button to show some details about an item. These details can be toggled and should only be loaded once (these details change infrequently). Intercooler is a great fit for this feature:

When a user clicks on the button, the details are loaded. Now Intercooler does not know about my toggle, so naturally it would load the details snippet every time the button was toggled. That still works, but adds unnecessary requests to my application.
So I changed my html to this:

And added a little script to implement ic-once:
$(document).find('[ic-once]').on('success.ic', function(_e, element) {
    setTimeout(function() {
        element.data('ic-request-in-flight', true);
    }, 0);
});

This disables all but the first request. Because of #225 I had to use a bit of a hack to get this to work - otherwise I could probably get it to run by adding my own ic-on-before-trigger handler to stop the request from happening.
Anyway, maybe this is useful to other people. Also, if anyone knows a better way of accomplishing what I'm trying to do, let me know :)

We support a changed modifier on ic-trigger-on:
http://intercoolerjs.org/attributes/ic-trigger-on.html
What if we supported a once modifier as well?  Your HTML would look like this:

Hmm, maybe it should be a prefix, so it reads better:

I would think that 'once' is better than 'first' because I want the request to go through once. That might not be the first request (if the first one fails, the second one should still be made). In other words, a successful request should only be made once.

Cool will implement soon
Sent from ProtonMail Mobile
On Mon, Dec 11, 2017 at 11:51 PM, Denis Krienbühl<EMAIL_ADDRESS>wrote:

I would think that 'once' is better than 'first' because I want the request to go through once. That might not be the first request (if the first one fails, the second one should still be made). In other words, a successful request should only be made once.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/LeadDyno/intercooler-js","title":"LeadDyno/intercooler-js","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/LeadDyno/intercooler-js"}},"updates":{"snippets":[{"icon":"PERSON","message":"@href in #226: I would think that 'once' is better than 'first' because I want the request to go through once. That might not be the first request (if the first one fails, the second one should still be made). In other words, a successful request should only be made once."}],"action":{"name":"View Issue","url":"https://github.com/LeadDyno/intercooler-js/issues/226#issuecomment-350971973"}}}

Available in the 1.2.1 release.

Awesome, thank you! 😃


RFC: Add String::leak

Rendered

The right process for this was likely an ACP rather than an RFC, see https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html for more info. While going through an RFC is possible, it's probably overkill for something like this. You probably should file one here: https://github.com/rust-lang/libs-team/issues/new?assignees=&labels=api-change-proposal%2C+T-libs-api&template=api-change-proposal.md&title=(My+API+Change+Proposal) (unless going through the full RFC process sounds better to you...)

The right process for this was likely an ACP rather than an RFC

Oh, alright, thanks for letting me know. I'll go submit an ACP :)


UTIG ICECAP transects that show up in Bedmap but not NSIDC

Extrapolating from the typical PST naming scheme, the missing transects include:

ASB/JKB1a/R17W and R10E
NWZ/JKB1a/{Y21, Y17, 10, 8b}
a DDU -> DomeC transit
two MCM -> DomeC transits
A few smaller lines.

In the image below, tracks extracted from data hosted at NSIDC are in blue, and overlay the Bedmap data points in pink.

I emailed Duncan & Scott about this today, following up on my original query from a while ago =)


Firebase-arduino not work in PlatformIO

when i use firebase-arduino in platformIO IDE . it can not work with firebase but when i use the same code in arduino IDE. it is work
here my code :
#include <ESP8266WiFi.h>
#include <FirebaseArduino.h>

// Set these to run example.
#define FIREBASE_HOST "XXXXXX-281c0.firebaseio.com"
#define FIREBASE_AUTH "8miUWHWVrb5gTBxsraRs7Q60slKqrJRaXXXXX"

char* WIFI_SSID = "XXX";
char* WIFI_PASSWORD = "XXXXXX";

void setup() {
  Serial.begin(9600);

  // connect to wifi.
  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
  Serial.print("connecting");
  while (WiFi.status() != WL_CONNECTED) {
    Serial.print(".");
    delay(500);
  }
  Serial.println();
  Serial.print("connected: ");
  Serial.println(WiFi.localIP());

  Firebase.begin(FIREBASE_HOST,FIREBASE_AUTH);

}

void loop() {
  // set value
uint8_t val =  Firebase.getInt("switchLigth/l002/state");
  // handle error
  if (Firebase.failed()) {
      Serial.print("setting /number failed:");
      Serial.println(Firebase.error());
      return;
  }

  Serial.println(val);

  delay(1000);
}

here result from PlatformIO
�connecting......
connected: <IP_ADDRESS>
setting /number failed:
setting /number failed:
setting /number failed:
setting /number failed:

here result from Arduino IDE which it is work
connected: <IP_ADDRESS>
1
1
1
1
1
1
1

what happen about this problem ?.

Same issue for me. Running core 3.3.0.
Build is successful, but after flashing my NodeMCU, Firebase.failed() is triggered but Firebase.error() is blank

Same issue here.

Found a workaround 😃.
Instead of using the FirebaseArduino (ID#1259) library via the PlatformIO's library manager, clone the firebase-arduino repo and place in your project's /lib as a private lib.

Sound like someone published the library to platformio, maybe bumping the version number would ensure it get refreshed there?

Hi, I got the same issue, but don't know how to fix it.
@proppy, is there any way to ignore bumping version?
@makered, I've tried to clone, place in ~/Documents/Arduino/libraries/firebase-arduino-master but still doesn't work. Any ideas to double check on that case.
Hope receive some help from you guys 😄

@ngominhtrint
I cloned firebase-arduino in my PlatformIO project's lib. Full path:
project_dir/lib/firebase-arduino
see readme.txt in lib for more information
Also remove the PlatformIO instance of the lib:
pio lib uninstall FirebaseArduino
@proppy it appears that Firebase Arduino lib version in PlatformIO registry is already on latest (0.1)

who you remove the PlatformIO instance of the lib?
i have the same error :(

same problem here, any alternatives?

i am facing same problem. any workaround ?

same here..any solution ?

it is automatically add data in firebase when you set it in arduino?

sorry for the lack of followup.
@ngominhtrint I think this was to change the fingerprint.
I hope we can get a proper Platform.IO package after https://github.com/firebase/firebase-arduino/milestone/2 is done.
@Jackfr0zt I invite you to take a look at the examples:
https://github.com/firebase/firebase-arduino/tree/96eab42c654f2445fd467d32530a1b09013052e2/examples

This link ==> https://github.com/RaemondBW/firebase-arduino
I just found on RaemondBW repo. Look like they forked from firebase/firebase-arduino. And I am not sure where is the change log after they forked. But thanks @julpanzul

This worked for me. Thanks

@adamrabbani I think the only update of this fork is the change of the fingerprint.
If you have problem with the library it might indicate a regression with recent changes (like #330).
Can you comment with more details on #357 and maybe give a try to #353 and see if it fixes your issue.

I'm too facing the same problem,I tried this RaemondBW link..But it is not working for me
please say some other solutions

I had the same issue and fixed by clone to local lib dir:

open lib directory in the project folder
git clone https://github.com/FirebaseExtended/firebase-arduino.git
add import ArduinoJson by adding<EMAIL_ADDRESS>into lib_deps (for me worked only this version)


Inputting anything other than a number causes the calculator to break a little...

I tried finding a work around myself but as I am new to this I've been unsuccessful. I think including this in the tutorial would be beneficial as most users will try to see what happens when using an unexpected input.

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

ID: f51e5807-3f78-ff63-ef41-4629b7ae84d5
Version Independent ID: c1dbef6c-f895-a6d7-9d83-e2ac8f864327
Content: Create a C++ console app project
Content Source: docs/get-started/tutorial-console-cpp.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @corob-msft
Microsoft Alias: corob

Hi @cornax, I agree that this would be helpful, but we just don't have the bandwidth for this update given other document issues that need to be addressed. Sorry about that.


No implementation for org.apache.druid.query.QuerySegmentWalker was bound

Affected Version
0.17.0
Description
Add druid-moving-average-query extension, router throw
2020-03-09T07:37:24,035 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches], jars: druid-datasketches-0.17.0.jar, commons-math3-3.6.1.jar
2020-03-09T07:37:25,905 WARN [main] org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors:

1) No implementation for org.apache.druid.query.QuerySegmentWalker was bound.
  while locating com.google.inject.Provider<org.apache.druid.query.QuerySegmentWalker>
    for the 1st parameter of org.apache.druid.query.movingaverage.MovingAverageQueryToolChest.<init>(MovingAverageQueryToolChest.java:61)
  at org.apache.druid.query.movingaverage.MovingAverageQueryModule.configure(MovingAverageQueryModule.java:48) (via modules: com.google.inject.util.Modules$OverrideModule -> org.apache.druid.query.movingaverage.MovingAverageQueryModule)

1 error
	at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:72)
	at org.apache.druid.cli.ServerRunnable.run(ServerRunnable.java:58)
	at org.apache.druid.cli.Main.main(Main.java:113)
Caused by: com.google.inject.CreationException: Unable to create injector, see the following errors:

1) No implementation for org.apache.druid.query.QuerySegmentWalker was bound.
  while locating com.google.inject.Provider<org.apache.druid.query.QuerySegmentWalker>
    for the 1st parameter of org.apache.druid.query.movingaverage.MovingAverageQueryToolChest.<init>(MovingAverageQueryToolChest.java:61)
  at org.apache.druid.query.movingaverage.MovingAverageQueryModule.configure(MovingAverageQueryModule.java:48) (via modules: com.google.inject.util.Modules$OverrideModule -> org.apache.druid.query.movingaverage.MovingAverageQueryModule)

1 error
	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)
	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
	at com.google.inject.Guice.createInjector(Guice.java:99)
	at com.google.inject.Guice.createInjector(Guice.java:73)
	at com.google.inject.Guice.createInjector(Guice.java:62)
	at org.apache.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:431)
	at org.apache.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:69)
	... 2 more
2020-03-09T07:39:28,242 INFO [main] org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.2.5.Final

Another exception
If add druid-moving-average-query to broker as doc says, when query will throw

couldn't tell you why this is closed.
The extension doc clearly states to only enable on the broker. Doing that doesn't work.
#4835 states that you need to avoid enabling the extension on non-query nodes.
Using Druid's own docker-compose file I created a second environment for query node. Applied it to :

Historical
Broker

Meaning that

Coordinator
Middlemanager
Router

Don't have it enabled.
Still get the type id error.

Extension is loaded on historical node:

docker git:(master) ✗ docker logs historical | grep extension
Setting druid.extensions.loadList=["druid-moving-average-query","druid-histogram", "druid-kafka-indexing-service", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage"] in /tmp/conf/druid/cluster/data/historical/runtime.properties
2020-04-01T13:26:02,213 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-moving-average-query], jars: druid-moving-average-query-0.17.0.jar
2020-04-01T13:26:02,218 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram], jars: druid-histogram-0.17.0.jar
2020-04-01T13:26:02,221 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service], jars: kafka-clients-2.2.1.jar, lz4-java-1.6.0.jar, zstd-jni-1.3.3-1.jar, druid-kafka-indexing-service-0.17.0.jar, snappy-java-<IP_ADDRESS>.jar
2020-04-01T13:26:02,225 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches], jars: druid-datasketches-0.17.0.jar, commons-math3-3.6.1.jar
2020-04-01T13:26:02,227 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-lookups-cached-global], jars: druid-lookups-cached-global-0.17.0.jar, mapdb-1.0.8.jar
2020-04-01T13:26:02,229 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage], jars: postgresql-metadata-storage-0.17.0.jar, postgresql-42.2.8.jar
2020-04-01T13:26:02,545 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-moving-average-query], jars: druid-moving-average-query-0.17.0.jar
2020-04-01T13:26:02,549 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram], jars: druid-histogram-0.17.0.jar
2020-04-01T13:26:02,555 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service], jars: kafka-clients-2.2.1.jar, lz4-java-1.6.0.jar, zstd-jni-1.3.3-1.jar, druid-kafka-indexing-service-0.17.0.jar, snappy-java-<IP_ADDRESS>.jar
2020-04-01T13:26:02,560 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches], jars: druid-datasketches-0.17.0.jar, commons-math3-3.6.1.jar
2020-04-01T13:26:02,579 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-lookups-cached-global], jars: druid-lookups-cached-global-0.17.0.jar, mapdb-1.0.8.jar
2020-04-01T13:26:02,585 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage], jars: postgresql-metadata-storage-0.17.0.jar, postgresql-42.2.8.jar
2020-04-01T13:26:05,426 INFO [main] org.apache.druid.cli.CliHistorical - * druid.extensions.loadList: ["druid-moving-average-query","druid-histogram", "druid-kafka-indexing-service", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage"]

Extension is loaded on broker as well:

✗ docker logs broker | grep extension
Setting druid.extensions.loadList=["druid-moving-average-query","druid-histogram", "druid-kafka-indexing-service", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage"] in /tmp/conf/druid/cluster/query/broker/runtime.properties
2020-04-01T13:26:02,107 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-moving-average-query], jars: druid-moving-average-query-0.17.0.jar
2020-04-01T13:26:02,111 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram], jars: druid-histogram-0.17.0.jar
2020-04-01T13:26:02,114 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service], jars: kafka-clients-2.2.1.jar, lz4-java-1.6.0.jar, zstd-jni-1.3.3-1.jar, druid-kafka-indexing-service-0.17.0.jar, snappy-java-<IP_ADDRESS>.jar
2020-04-01T13:26:02,117 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches], jars: druid-datasketches-0.17.0.jar, commons-math3-3.6.1.jar
2020-04-01T13:26:02,119 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-lookups-cached-global], jars: druid-lookups-cached-global-0.17.0.jar, mapdb-1.0.8.jar
2020-04-01T13:26:02,122 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage], jars: postgresql-metadata-storage-0.17.0.jar, postgresql-42.2.8.jar
2020-04-01T13:26:02,441 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-moving-average-query], jars: druid-moving-average-query-0.17.0.jar
2020-04-01T13:26:02,448 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-histogram], jars: druid-histogram-0.17.0.jar
2020-04-01T13:26:02,457 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-kafka-indexing-service], jars: kafka-clients-2.2.1.jar, lz4-java-1.6.0.jar, zstd-jni-1.3.3-1.jar, druid-kafka-indexing-service-0.17.0.jar, snappy-java-<IP_ADDRESS>.jar
2020-04-01T13:26:02,464 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-datasketches], jars: druid-datasketches-0.17.0.jar, commons-math3-3.6.1.jar
2020-04-01T13:26:02,478 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [druid-lookups-cached-global], jars: druid-lookups-cached-global-0.17.0.jar, mapdb-1.0.8.jar
2020-04-01T13:26:02,483 INFO [main] org.apache.druid.initialization.Initialization - Loading extension [postgresql-metadata-storage], jars: postgresql-metadata-storage-0.17.0.jar, postgresql-42.2.8.jar
2020-04-01T13:26:05,371 INFO [main] org.apache.druid.cli.CliBroker - * druid.extensions.loadList: ["druid-moving-average-query","druid-histogram", "druid-kafka-indexing-service", "druid-datasketches", "druid-lookups-cached-global", "postgresql-metadata-storage"]

I'd be happy to provide a pull request for the doc if I can figure out what's wrong.
Regards

Followup, if I query the broker node directly it works. So I'm guessing I need a way to tell the overlord that my broker supports moving average.
How?

Tried it with the Helm chart on 0.18 Still an issue. Any pointer on how to resolve?
Thank you

Using 0.18.1, Wanted to add the moving average extension and i changed the load_extension in broker alone.
Here is my load_extention in _common, common.runtime.properties
druid.extensions.loadList=["druid-s3-extensions", "mysql-metadata-storage","druid-hdfs-storage", "druid-kafka-indexing-service", "druid-datasketches","druid-moving-average-query"]
Getting the following error in router.log when i restart the broker service
2020-08-06T13:52:10,538 WARN [main] org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors:
No implementation for org.apache.druid.query.QuerySegmentWalker was bound.
while locating com.google.inject.Provider<org.apache.druid.query.QuerySegmentWalker>
for the 1st parameter of org.apache.druid.query.movingaverage.MovingAverageQueryToolChest.(MovingAverageQueryToolChest.java:61)
at org.apache.druid.query.movingaverage.MovingAverageQueryModule.configure(MovingAverageQueryModule.java:48) (via modules: com.google.inject.u
til.Modules$OverrideModule -> org.apache.druid.query.movingaverage.MovingAverageQueryModule)
Should i include "druid-moving-average-query" in the overload also? right now its just the broker.

Any update on this? I have exactly the same problem as @marcboivin and @anandgm007

Any update on this ? I am also seeing same problem

Hello, i got the same problem...
btw, @marcboivin, how do you query the broker node directly?
Thanks

Followup, if I query the broker node directly it works. So I'm guessing I need a way to tell the overlord that my broker supports moving average.
How?


Add QA helper to delete request user identities.

@akatsoulas r?

Coverage decreased (-0.02%) to 90.652% when pulling e673dabbe27317da2fbd9e567b747d6e15bc9323 on johngian:idp-profiles-qa-delete into ec117e73441f17734e465cd09e33d0daa8f7dbdf on mozilla:master.


Getting a Requires a Java Runtime Environment 14 Error Message

Hi!
I just recently downloaded v1.2.2 of your program and I keep on getting this error message - even though I have installed the latest version of the Java Runtime environment, I am still getting this error message. I am running Windows 10. I appreciate any help on this.

Hi, I guess you just downloaded the 1.2.2 exe file and tried to run it? You need a "full version" that includes a JRE, you can get it from this post: pcu-game-manager-released, here is the direct download folder: spannernicks onedrive
When you have that you can just donwload the latest exe from here and replace it to run the latest version.

Hi,
Thank you for helping me out. I got it working with the links that you have provided. I sincerely appreciate it :-)

No problem, great that it works now.


feat: provide another way of creating the formatError handler which enables importing IoC dependencies

I tried to create a test case in which the IoC dependency is used but it does not seem possible to create a fake namespace that works with ioc.make()
@targos any pointers?


How to customize cell

Hi,
How can I customize the cell on my own project?
Thanks in advance.

What do you want to customize the cell?


Delara and farid from microsoft read aloud and Dariush vocalizer voices

Hi.
please append dariush tts from vocalizer voices. Its a very A middle-aged man's voice with sharp pronunciation of words. listen this:
dariush from vocalizer voices.zip
Moded version download links[with some trojans🫃🏼☠install in a virtual place if necessary]
https://t.me/JalebLog/5?single
also delara from microsoft readaloud service for persian (iran) فارسی (ایران)
https://github.com/jing332/tts-server-android/releases
we need them cuz haniyeh is angry and starts to shouting after a while in big texts!🫃
and don't undrestands any english word.

please append dariush tts from vocalizer voices

Please provide VITS pre-trained models for it. Otherwise, there is no way for us to support it.

It have a different technology I think...
I try to find some resources(like ganjoor website) to train a model for tts...also we need smaller and faster models for daily blinds life them needing faster speeds for use it as main screenreader. Otherwise pure espeak will be good option.
We need a mixture model from english and persian. Is it possable?! i can find some people that speaking two languages.
Like nosrat english learning mp3 files. I have them in my archive. Is it possable?!!!


⚠ Bofrost.at has degraded performance

In 4f1121e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1423 ms

Resolved: Bofrost.at performance has improved in 426b20e.


left-sidebar: Separate the logical and UI functioning part of pm_list.

Opened for introducing a preparatory commit for PR #21357,
FYI @showell , @timabbott

@jai2201 This looks great, but I a gonna close it in favor of my #21424.  I think you'll see my first commit was fairly similar to yours, although I decided to move all three data functions at once to avoid a bunch of churn related to imports.


sub-navigation

hi,
how would you handle 2 menus?
I got a top menu and a side menu showing/hidding items depending on that top menu.
I tryed like this:
// SideNav.js
import { h } from 'preact';
import { connect } from 'preact-redux';
import { navigate } from '../reducers/actions';
import { FormattedMessage } from 'preact-intl';

const SideNav = ({ user, dispatch }) => {
    const classes = (path) => {
        return (user.active === path) ? 'nav-link active' : 'nav-link'
    }
    const visible = (path) => {
        console.log('--> user.active:'+user.active +' path:'+path +' found:'+user.active.indexOf(path));
        return (user.active.indexOf(path) > -1)
    }
    return (

            {visible('/account/profile') ?

                     { dispatch(navigate('/account/profile')) }}>
...

// App.js

           top menu

        <SideNav /> side menu

        <Router>
          <Profile path="/account/profile" />
          <ProfileImages path="/account/profile/images" />
          <Crews path="/account/crews" />
          <CrewPublic path="/account/crew/public/:_id" />

Problem is, when I route by code from a click on a button, it doesn't execute the Sidenav visible function. so the SideNav menu doesn't get the right items.
Is there a better way?

would Link or Match help?


Can't fix note: ld: cannot find -leay32

I'm new to rust and cant seem to fix this error. When using this library.
note: ld: cannot find -leay32
I'm using the current stable release of rust(32Bit) along with Mingw-w64. Mingw-w64 is in the path environment variable.

That's part of OpenSSL. You have 2 options resolving this:

Trying to get rust-openssl to properly compile.
Disable openssl in hyper, by adjusting your Cargo.toml to have hyper = { version = "0.6", no-default-features = true }.

@seanmonstar Adding hyper = { version = "0.6", no-default-features = true } doesn't fix it.

It should actually be
hyper = { version = "0.6", default-features = false }

Switched languages. Solved :)

I think it a bug of rust-openssl ,you can put the libssl32.dll, and libeay32.dll to your:
target\debug\deps
or
target\release\deps
to solve this problem temporarily.

Same issue happened to me on Windows 10, Rust 1.14.0 (nightly) (GNU). Does anyone know which version of libssl32 and libeay32 I have to use? I'm getting errors about the dll's being uncompatible with every dll I've tried,


Cannot break from for loop

It seems that triton kernel cannot use break in for loops. I got error "unsupported AST node type: Break".
But it can be very useful sometimes. If there a way that I can break from the for loop based on the computation result of the program_id or something?

I am also curious if there is a way to achieve this functionality @Jokeren . Thank you in advance

Not until this RFC is landed. https://discourse.llvm.org/t/rfc-region-based-control-flow-with-early-exits-in-mlir/76998/17

Thank you so much for your prompt response. In that case, I wonder is there a walk-around for my special if-break case, which I believe is also commonly used in many sparse computations:
As shown in the figure, I have a large mask and its corresponding lookup table to store the values to be computed. It could be mask for SDDMM, sparse attention and so on. Note that the actual input matrix could be smaller than the mask ( for example, in sparse attention, the input length is always changing), which means that we can skip the computation of some out-of-scope blocks (e.g., block 3 in the figure). I wonder how should I do that without the if-break operation?

Thank you so much for your prompt response. In that case, I wonder is there a walk-around for my special if-break case, which I believe is also commonly used in many sparse computations: As shown in the figure, I have a large mask and its corresponding lookup table to store the values to be computed. It could be mask for SDDMM, sparse attention and so on. Note that the actual input matrix could be smaller than the mask ( for example, in sparse attention, the input length is always changing), which means that we can skip the computation of some out-of-scope blocks (e.g., block 3 in the figure). I wonder how should I do that without the if-break operation?

Use a while loop instead of a for loop, with a boolean flag controlling the loop.


change behavior when tab bar item tapped twice

Is there any method on which I can pop the root controller when a tab bar item tapped twice, similar to the behavioir on Instagram.

@alouanemed Hey, it seems that it already should work as you expect. Please take a look at source code:
            let previousItem = items.at(selectedIndex)
            let previousContainer: UIView? = previousItem?.iconView?.icon.superview
            previousContainer?.backgroundColor = items[selectedIndex].bgDefaultColor
            previousItem?.deselectAnimation()

            let currentItem: RAMAnimatedTabBarItem = items[currentIndex]
            currentItem.playAnimation()
            let currentContainer: UIView? = currentItem.iconView?.icon.superview
            currentContainer?.backgroundColor = items[currentIndex].bgSelectedColor

            selectedIndex = index
        } else {
            if let navVC = viewControllers?[selectedIndex] as? UINavigationController {
                navVC.popToRootViewController(animated: true)
            }
        }```

If user select on same item second time and current view controller is UINavigationController it will pop to root view controller. Please let me know if you have some problems with this logic

although I am using the latest version in my project, nothing happens when I tap multiple times on an item.  what do you think? How can I debug this?
Thanks.

Please take a look at double-tap-example branch, I've add example how it works.
Each time you tap on the screen next view controller will be pushed, and then if you press selected tab bar item it will pop to root view controller.

For the else statement when you say "If user select on same item second time and current view controller is UINavigationController it will pop to root view controller", how do we access that for a custom animation class?
Also, I tried to add print statements to see when the else statement runs but it doesn't run when I tap an already selected tab bar item. Why is that?


rusoto_kines: calling next on EventStream<rusoto_kinesis::SubscribeToShardEventStreamItem> fails after the stream is re-sharded

After reducing the number of shards I keep getting a parse error when calling next on the event stream. This error appears to be internal to rusoto as it is trying to parse the payload being sent into an SubscribeToShardEvent however the payload it's receiving is a ChildShard(which is optionally present in a SubscribeToShardEvent).

I think that a new struct needs adding to the SubscribeToShardEventStreamItem as when you re-shard and it reaches the end of the stream the payload sent from kinesis doesn't match any of the options. for it to work you would need to add a SubscribeToShardEventStreamItem::ChildShard and you know if you receive it when calling next on the event stream that there has been a re-shard and you may need to connect to the new shard


Having trouble to install on local

I have followed the guidelines that @tonyduckles gave in #92 but I still have an issue at the very beginning :
ubuntu@newsblur:/srv/newsblur$fab -H localhost setup_all
 ***> No role definitions found in /srv/secrets-newsblur/configs/hosts.yml. Using default roles.
 ---> You need to fix django's settings. Enter python and type `import settings`.
[localhost] Executing task 'setup_all'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
    *args, **kwargs
  File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 368, in execute
    multiprocessing
  File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 264, in _execute
    return task.run(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
    return self.wrapped(*args, **kwargs)
  File "/srv/newsblur/fabfile.py", line 210, in setup_all
    setup_common()
  File "/srv/newsblur/fabfile.py", line 186, in setup_common
    setup_installs()
  File "/srv/newsblur/fabfile.py", line 341, in setup_installs
    put("config/apt_sources.conf", "/etc/apt/sources.list", use_sudo=True)
  File "/usr/local/lib/python2.7/dist-packages/fabric/network.py", line 639, in host_prompting_wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/fabric/operations.py", line 346, in put
    ftp = SFTP(env.host_string)
  File "/usr/local/lib/python2.7/dist-packages/fabric/sftp.py", line 30, in __init__
    self.ftp = connections[host_string].open_sftp()
  File "/usr/local/lib/python2.7/dist-packages/fabric/network.py", line 151, in __getitem__
    self.connect(key)
  File "/usr/local/lib/python2.7/dist-packages/fabric/network.py", line 143, in connect
    self[key] = connect(user, host, port, cache=self)
  File "/usr/local/lib/python2.7/dist-packages/fabric/network.py", line 444, in connect
    sock=sock
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 273, in connect
    self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 387, in _auth
    key = pkey_class.from_private_key_file(key_filename, password)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/pkey.py", line 177, in from_private_key_file
    key = cls(filename=filename, password=password)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/rsakey.py", line 51, in __init__
    self._from_private_key_file(filename, password)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/rsakey.py", line 161, in _from_private_key_file
    data = self._read_private_key_file('RSA', filename, password)
  File "/usr/local/lib/python2.7/dist-packages/paramiko/pkey.py", line 249, in _read_private_key_file
    f = open(filename, 'r')
IOError: [Errno 2] No such file or directory: '/srv/secrets-newsblur/keys/newsblur.key'

I don't see any key file and no one seems to have the same issue.
I am trying to install NewsBlur in an ubuntu LXC container.
Any help ?
Thanks

You'll need to use the secrets-newsblur-skel project in /srv/secrets-newsblur. https://github.com/charlesflynn/secrets-newsblur-skel

Thanks for your reply.
And if I don't want to use vagrant but just install NewsBlur in LXC container ?

Well I don't use Vagrant, so I'm not sure. The fabric script doesn't use containers. I should get with the times, but it's not a priority yet.

I don't understand because I don't see where it's different from installing on host OS. I already have some webapps in LXC containers and one was installed using fabric. The only trick is to redirect from host to container using nginx/apache

Yeah, that's beyond my experience having never used Vagrant.

But I don't want to use vagrant. Let's assume it's an ubuntu os, I would still have the same problem as there is no key file right ?

You'll want to comment out that line if you can't provide your own certificates. That key file is a ssl certificate. But you don't need it, just comment out that line.
Also, there's an error at the top of the output. You'll want to run 'from django.conf import settings' to find out what's causing the error.

Thought nginx would handle ssl
Thanks a lot


Add R example to "typical workflow"

fix #1460

Draft for now.

Works locally.
The number of differences between the APIs make me hesitant to suggest to anyone that it's easy to translate code between the languages. At the same time,  I also don't think it does anyone much good to try to list all the differences, and expect the user to keep them straight.


Option for grey micro menu causes overlay

With the new option to enable the grey micro menu, it now just shows both styles, overlaying each other.
I already tried deleting the WDB folder.

Read the prompt when you hover over the option :)
Thanks for testing.


Dark (night) mode with TWA/PWA

Is there a way to achieve light/dark (day/night) theming with TWA?
My TWA/PWA uses the prefers-color-scheme media query to adjust the CSS theming as requested by the OS/user. However the llama-pack and TWA samples I have seen accept only single color/colorPrimary and color/navigationColor which makes status bar and navigation bar ignore any OS light/dark theme.

I don't see a reason why setColorSchemeParams and setColorScheme wouldn't work as expected on TWAs. We'd need to add support for it in android-browser-helper before adding this to llama-pack.
On the llama-pack side, I don't think there are fields dark-theme that can be extracted from the Web Manifest, but we can either generate the values from the light themes or ask users to provide colors for the dar theme (defaulting to using the same as the light theme).

Created an issue for android-browser-helper: https://github.com/GoogleChrome/android-browser-helper/issues/50

Changed from bug to enhancement, as this is not currently supported in the Web Manifest specification.

Hi @andreban in 1.2.0 CustomTabColorSchemeParams is supported how can i enable this for my TWA/PWA?

Closed via #287

Hi All,
In Samsung devices the Samsung WebView is used with an auto-dark mode that invert everything is a strange way, it is not using the regulars angular material light/dark theme in the same way that chrome does it. What can be done about that?


Fix python 2.7 build on windows

Checklist

[x] Used a fork of the feedstock to propose changes
[x] 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.

Finally found out the 'correct' file name..., let's see what happens :)

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.

Should be good to go.


The example_frontalize_dlib_camera.py file does not seem to work

Hi. Great work here.
I have an issue with the example_frontalize_dlib_camera.py file.
The single picture version works however upon running the example_frontalize_dlib_camera.py no webcam light comes on, and I see the below blank screen.

Only when I press 'q' the window disappears and only then, the webcam light goes on and I see this...

Could you please show me what I am doing wrong? I am running the source code as is.
I would love to get a live stream of this frontalize animation from the webcam.

Hi. Thank you for your interest in the project. This seems to be a problem of your camera's driver and OpenCV (which handles the communication with the camera). Since there is no light in your camera, it means that somehow the opencv camera object does not communicate with your camera as it should. Unfortunately I am not able to replicate your problem. In my Macbook it runs smoothly. What system are you running this on?
In the past, in another Windows machine, I remember I had a similar problem with a different application, and the solution (hack) was to run that other application 2 times! First time start the app and kill it -> the camera light turned on -> second time start the app, allowing access to the (now on) camera.
Can you try to rerun the script once your camera light is on (after you quit the first time)? Let me know how this goes...

Thank you so much for those suggestions. I will try it out with different
lighting conditions, and perhaps an external webcam. Interestingly I can
run all the other webcam Python examples which use webcam (0) and
dlib/opencv. I'll post how I go.
On Thu, 3 Jun 2021, 1:50 am Vassilios Vonikakis, @.***>
wrote:

Hi. Thank you for your interest in the project. This seems to be a problem
of your camera's driver and OpenCV (which handles the communication with
the camera). Since there is no light in your camera, it means that somehow
the opencv camera object does not communicate with your camera as it
should. Unfortunately I am not able to replicate your problem. In my
Macbook it runs smoothly. What system are you running this on?
In the past, in another Windows machine, I remember I had a similar
problem with a different application, and the solution (hack) was to run
that other application 2 times! First time start the app and kill it -> the
camera light turned on -> second time start the app, allowing access to the
(now on) camera.
Can you try to rerun the script once your camera light is on (after you
quit the first time)? Let me know how this goes...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bbonik/facial-landmark-frontalization/issues/3#issuecomment-853142476,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVWLWQYTJKUYQI423UZMKTTQZHN7ANCNFSM454DGLEA
.


fix: default sort option

Codecov Report

Merging #95 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #95   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          78     78
=====================================
  Hits           78     78

Impacted Files
Coverage Δ

lib/plugin.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Yep, missed that. Thank you!


Allow for adding artifacts to mavenPlugin and ivyPlugin publications

Without requiring the use of a software model rule source.
By making the existing plugin publishing rules use maybeCreate instead of create when creating the plugin publications.
See #2612

Branch Accept CI build


python312Packages.cvss: 3.1 -> 3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.cvss is: Library for CVSS2/3/4
meta.homepage for python312Packages.cvss is: https://github.com/RedHatProductSecurity/cvss
meta.changelog for python312Packages.cvss is: https://github.com/RedHatProductSecurity/cvss/releases/tag/v3.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.2 with grep in /nix/store/59s5rc00kghi6amjdn8qdrv7x2g4225z-python3.12-cvss-3.2
found 3.2 in filename of file in /nix/store/59s5rc00kghi6amjdn8qdrv7x2g4225z-python3.12-cvss-3.2

Rebuild report (if merged into master) (click to expand)

11 total rebuild path(s)

11 package rebuild(s)

First fifty rebuilds by attrpath

cve-bin-tool
dep-scan
python311Packages.appthreat-vulnerability-db
python311Packages.cvss
python311Packages.reptor
python312Packages.appthreat-vulnerability-db
python312Packages.cvss
python312Packages.reptor
reptor
vunnel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/59s5rc00kghi6amjdn8qdrv7x2g4225z-python3.12-cvss-3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.cvss https://github.com/r-ryantm/nixpkgs/archive/ebdbbe44ff79cbde996f83d263a9f9f4df40c661.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ebdbbe44ff79cbde996f83d263a9f9f4df40c661#python312Packages.cvss

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/59s5rc00kghi6amjdn8qdrv7x2g4225z-python3.12-cvss-3.2
ls -la /nix/store/59s5rc00kghi6amjdn8qdrv7x2g4225z-python3.12-cvss-3.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

18 packages built:

cve-bin-tool
cve-bin-tool.dist
dep-scan
dep-scan.dist
python311Packages.appthreat-vulnerability-db
python311Packages.appthreat-vulnerability-db.dist
python311Packages.cvss
python311Packages.cvss.dist
python311Packages.reptor
python311Packages.reptor.dist
python312Packages.appthreat-vulnerability-db
python312Packages.appthreat-vulnerability-db.dist
python312Packages.cvss
python312Packages.cvss.dist
reptor (python312Packages.reptor)
reptor.dist (python312Packages.reptor.dist)
vunnel
vunnel.dist

Maintainer pings
cc @fabaff for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 340317 run on x86_64-linux 1

18 packages built:

cve-bin-tool
cve-bin-tool.dist
dep-scan
dep-scan.dist
python311Packages.appthreat-vulnerability-db
python311Packages.appthreat-vulnerability-db.dist
python311Packages.cvss
python311Packages.cvss.dist
python311Packages.reptor
python311Packages.reptor.dist
python312Packages.appthreat-vulnerability-db
python312Packages.appthreat-vulnerability-db.dist
python312Packages.cvss
python312Packages.cvss.dist
reptor (python312Packages.reptor)
reptor.dist (python312Packages.reptor.dist)
vunnel
vunnel.dist


[No QA] Improve instructions for migrating away from underscore

Details
While reading this guide, I had some questions about the underscore migrating and Rory said that we are moving away from underscore and lodash and prefer vanilla code.
Fixed Issues
NA
Tests
NA
Offline tests
NA
QA Steps
NA
PR Author Checklist
NA - documentation only
Screenshots/Videos
NA - documentation only

We intentionally skipped the checklist for this documentation-only PR. Not an emergency

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/roryabraham in version: 1.3.47-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.47-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


command line flag for turning off security check (reopens #74)

Add a command line flag to disable the security check. It is always a false positive when running repomix on documentation.
https://github.com/yamadashy/repomix/issues/74

Thanks for the suggestion!
I'll add --no-security-check flag which follows the common pattern in Node.js ecosystem (like eslint's --no-eslintrc, biome's --no-git-ignore).
Example usage:
# Disable security check for this execution
repomix --no-security-check

# Can be combined with other options
repomix --no-security-check -o custom-output.txt

For permanent configuration, users can still use repomix.config.json:
{
  "security": {
    "enableSecurityCheck": false
  }
}

I'll implement this in a separate PR. Does this approach sound good to you?

@doctorpangloss
I've added the --no-security-check option in v0.2.6.
You can check out the release notes here:
https://github.com/yamadashy/repomix/releases/tag/v0.2.6
Closing this issue. Thanks for raising this issue!


Hope you can continue working on it

I'll be honest, I forgot about this. Just barely revisited it after getting a new Windows machine. Gonna try to finish it!

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1500 in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @123-code, @zn66665, @tnarla, @D4rkD0g, @8498549767, @odjhey, @Fsfche551, @ferizoozoo, @iadaria, @ygsgdbd, @UnderratedDev, @mortdeus, @rn-g, @aliirzid1992, @VegeBun-csj, @mahavirvataliya, @zoroblock, @ariskk, @guirkgumbo, @lobre, @diit, @javais, @luoq, @jonatasoli, @gspiteri, @Aakash-kun, @jiangbohhh, @tamsky, @MdRashid62, @robcodehub, @GeoffAbbott, @shubhamsingh28, @rongduan-zhu, @Vanni-Fan, @godinthegarage, @Tantatorn-dev, @PhakphumV, @mironnnn1, @TimvanScherpenzeel, @dazeddd, @donnol, @j-s-123, @whisperpine, @stevehu, @RedZadios, @24kgold777, @Vanessaishot, @adamtmorgan, @streamich, @piebaldyak


Update all git submodule remotes to use https and document local development workflow

Oops. I didn't mean to close this.


Enhanced Contributing guidelines

Changes Proposed
What
Revised the contributing.md document for improved clarity and structure, thus making easily understandable for the users.

🤖 Generated by Copilot at 636f6f5
This pull request improves the contribution guide for the crowd.dev project. It revises ./CONTRIBUTING.md to make it more clear, concise, and consistent. It also corrects some typos and formatting issues.

🤖 Generated by Copilot at 636f6f5

CONTRIBUTING.md
Revised with care and polish
A guide for springtime

Why
How

🤖 Generated by Copilot at 636f6f5

Rewrite and restructure the introduction and the ways to contribute sections of CONTRIBUTING.md to enhance clarity and engagement (link)
Use a markdown table instead of an HTML table for the issue priorities in CONTRIBUTING.md to improve readability and consistency (link)
Fix grammar, spelling, punctuation, and formatting errors in the setup the project section of CONTRIBUTING.md (link)
Clarify instructions and terms, and use consistent capitalization and indentation in the setup the project section of CONTRIBUTING.md (link)

Checklist ✅

[x] Label appropriately with Feature, Improvement, or Bug.
[ ] Add screenshots to the PR description for relevant FE changes
[ ] New backend functionality has been unit-tested.
[ ] API documentation has been updated (if necessary) (see docs on API documentation).
[ ] Quality standards are met.

@joanagmaia @sausage-todd
Please review my PR and merge it. It is a documentation Improvement PR

@loicsaintroch @joanagmaia @themarolt
Please review my PR and merge it. Suggest if any changes.

@loicsaintroch @joanagmaia @themarolt
Please review my PR and merge it. Suggest if any changes.

@loicsaintroch @joanagmaia @themarolt
Please review the PR. I have resolved the conflicts.

Hey @Arcturus22!
Thanks for your interest in contributing! I don't see any file changes. Do you have everything committed and pushed?

@joanagmaia
I'm sorry, but it wasn't updated/pushed. I have pushed the changes now. Please review and merge it.
Suggest if any changes.


X11: The DISPLAY environment variable is missing

VS Code Version: 1.55.0-insider
9b2ee7fb7d970b9a628fdb3545bdd01d67078d16
x64
OS Version:
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal

Steps to Reproduce:

Use VS-code with Cmake tools
Run any program that needs to open a window

Does this issue occur when all extensions are disabled?: Yes
I get the following error whenever trying to run an executable that requires window opening : X11: The DISPLAY environment variable is missing. The executable runs fine when launched from the terminal, but I find debugging in VS Code much more enjoyable.
Any ideas why this issue is and how to solve it?
Best,

This is fixed by this


Update sinon to avoid timeouts

This PR updates sinon. It's kind of hard to explain why it's important, but I'll give it a try:
My first test was timing out when calling the stub function of this library. I found out that this was happening when I had a lot of test files. My investigation revealed that

Calling the stub method in this library calls the sinon 4 stub function.
Sinon 4 creates an error stack ( https://github.com/sinonjs/sinon/blob/v4.1.3/lib/sinon/util/core/wrap-method.js#L110 )
Meteor uses the source-map-support npm package ( https://github.com/evanw/node-source-map-support ) which will change the error stack to map to the original files.
Since it's the first time (first test) it needs to do some bookkeeping first, part of this is a quicksort that takes a lot of time if there are a lot of files ( https://github.com/mozilla/source-map/blob/ff05274becc9e6e1295ed60f3ea090d31d843379/lib/source-map-consumer.js#L1077 )

This can be seen in the attached performance profile ( between 1100ms-1250ms)
sourcemaps - CPU-20180531T160228.zip
Sinon 5 no longer creates this stack trace in the wrapMethod function:
https://github.com/sinonjs/sinon/blob/master/lib/sinon/util/core/wrap-method.js#L110
Oh and interestingly enough. The slow piece of code (SourceMapConsumer) that resulted in this timeout is exactly what is being replaced by WASM, which you started working on https://github.com/meteor/meteor/issues/9568#issuecomment-359930688 . So if we can upgrade to source-map v0.7, we can probably also upgrade meteor's source-map-support package and avoid such issues in the first place.

ping @hwillson

Actually, I missed one deprecation, gonna do a quick follow-up PR.
And in the meantime sinon 6 came out (without breaking changes), but I'll give it a quick test anyway.

Awesome @sebakerckhof - thanks!

@hwillson . I opened a new one: https://github.com/hwillson/meteor-stub-collections/pull/31


Font changes

#317 Increased font size to 200%

Can you post screen captures with pull requests that change the UI? It makes it easier for more people to review without pulling the code. It looks like you branched from master again, which is why this pulled in the merging to master commit.

Closing to add PR to develop branch.


sphinx-multiversion with exhale

Hi all,
I try to use the sphinx-multiversion to create versioned documentation of maplab. I want to use breathe/exhale with Doxygen to create the code API. If I understand correctly, sphinx-multiversion uses folders in /tmp to build separate documentation for the branches which do not work with the requirement of exhale that the containment folder needs to be a subfolder of the source. I'm getting the following error:
$ sphinx-multiversion docs build/html
Failed load config for refs/heads/develop from /tmp/tmp4os_u6ib/0b7a48b9813033e54a78ae157ba9ed43629f084f/docs
Failed load config for refs/tags/initial_release from /tmp/tmp4os_u6ib/63ea0c8acb669904a711817b3cb74e314ecffec7/docs
Failed load config for refs/heads/master from /tmp/tmp4os_u6ib/618a0e0154d0c6e6cd84b5ac827140b5a9b84cb0/docs
Running Sphinx v2.4.4

Configuration error:
The given `containmentFolder` [/home/spadmin/tmp/maplab_ws/src/maplab/docs/api] must be a *SUBDIRECTORY* of [/tmp/tmp4os_u6ib/f309a5e108be51a1dc1dc5b93dc64e4bf0c637b5/docs].

Any idea how to fix this?
Thank you!

You probably need to override the containmentFolder variable on the command line to point to the correct path inside the /tmp directory. I'll look into exposing placeholders to do that.
By the way, making assumütions about directory paths looks like a bad design decision in exhale to me.


Please tag a version

Using a branch (even aliased with 1.0) leads to cloning this repository instead of downloading a version.
Tagging the current state will allow people to make use of this work easier. If you fear you are not ready yet, use an alpha tag like "1.0.0-alpha.1". This would even allow incompatible changes according to semver.org:

A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version. Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]. Identifiers MUST NOT be empty. Numeric identifiers MUST NOT include leading zeroes. Pre-release versions have a lower precedence than the associated normal version. A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as denoted by its associated normal version. Examples: 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7, 1.0.0-x.7.z.92.

:+1: on this

v1.0.1 is now tagged. Enjoy!


[macOS] Client continually re-adds the KBFS volume to Finder favorites sidebar

When the Keybase Client starts, it will add the KBFS volume to the Finder favorites sidebar, regardless if it's been manually removed before. I haven't found any way of disabling this behavior,  and it's rather annoying as-is.

Keybase GUI Version: 1.0.18-20161219185928+7868d49

cc @gabriel

There currently is no setting to disable this. We need to add one.
The Finder favorite is removed if you quit the Keybase app (and is added when Keybase is started up).

IMO just that it keeps putting it on the top is my main objection; perhaps an intermediate solution could be to add it to the bottom? I'm not sure if that's possible.

We need to add one.
Maybe this is what you mean, but I think it'd be enough to just keep it removed from the sidebar if one removes it, and then they could add it back (possibly via Keybase, or just via Finder as with other volumes).

We now remember the position of the finder favorite.. So if you move it to last item it will remember. We'll also have a setting for this soon.


Fix crash in release mode for mdns example

control_buffer was going out of scope
Closes #14

Thanks for the PR! I cant review it properly for the next few weeks tho,
but I'll check back as soon as I can
On Tue, Nov 28, 2023, 01:36 Will @.***> wrote:

control_buffer was going out of scope
Closes #14 https://github.com/bltavares/multicast-socket/issues/14
You can view, comment on, or merge this pull request online at:
https://github.com/bltavares/multicast-socket/pull/16
Commit Summary

5eca9a8
https://github.com/bltavares/multicast-socket/pull/16/commits/5eca9a8b3defab802715ca8367739ff3955fba7d
Fix crash in release mode for mdns example

File Changes
(1 file https://github.com/bltavares/multicast-socket/pull/16/files)

M src/win.rs
https://github.com/bltavares/multicast-socket/pull/16/files#diff-b63b84b571bbdfc96282bb5c880e95a18ecb7b23235d45a2e9c0b5b1c3236c0c
(2)

Patch Links:

https://github.com/bltavares/multicast-socket/pull/16.patch
https://github.com/bltavares/multicast-socket/pull/16.diff

—
Reply to this email directly, view it on GitHub
https://github.com/bltavares/multicast-socket/pull/16, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2XIXYBYNG72BZZWJ46J3YGUWX3AVCNFSM6AAAAAA743PIVSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTGMZXGQ2DCNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Sorry for taking too long to merge it, but I've tested it on my Windows dev enviroment and it looks good.
I might want to rethink how this code works so the control buffer moves along with the WSABuf so it does not happen again, but for now it's great. Thank you for your contribution.

Published multicast-socket v0.3.1


FHIR IG Publisher does not recognize LOINC answer list IDs (LL- and LA- codes)

Grahame Grieve states that the FHIR TX server used for the FHIR IG Publisher does support this.
While he pointed to the URL which shows the response to a ValueSet request for a given answer list (LL715-4), I was not able to get this response sending the request to tx.fhir.org/r4 nor tx.fhir.org.
cc: @cmoesel to help debug this issue.

Resolved - @cmoesel found that references to LOINC answer lists are authored in CIMPL using the following syntax:
http://loinc.org/vs/
Example Syntax: ObservationContext.ResultValue should be from http://loinc.org/vs/LL240-3

Related zulip chat: https://chat.fhir.org/#narrow/stream/99-IG-creation/topic/Supporting.20LOINC.20Answer.20Lists.3F

Grahame has confirmed that this is likely a bug in the tooling or terminology server and that it is "on the list" (but that list is long).

We are successfully using "LA" codes in mCODE. Closing.


fix(tlshandshake) check availability of self.sock.tlshandshake befo…

When both stream_listen and Postgres SSL is enabled. Kong gateway 2.8.x.x throws error as below.
2022/11/29 08:26:41 [error] 5590#0: *6685 stream [lua] init.lua:404: [cluster_events] poll() threw an error:
   /usr/local/share/lua/5.1/pgmoon/init.lua:875: attempt to call method 'tlshandshake' (a nil value), context: ngx.timer

Kong gateway 2.8.x.x uses Pgmoon 2.2.0.
As the Pgmoon 2.3.0 have high volume divergence from 2.2.0, there is no way to bump. So we choose to patch 2.2.0.
FTI-3998

Verified locally with Kong 2.8.x.x.


Error on installing gorouter

I tried to do go get -v github.com/cloudfoundry/gorouter and got
# github.com/cloudfoundry/gorouter /usr/local/go/src/github.com/cloudfoundry/gorouter/main.go:60: not enough arguments in call to cf_debug_server.Run
Looks like it is because of https://github.com/cloudfoundry-incubator/cf-debug-server/commit/be657922f24da3d7f2c1c5a7699f6c3dfb9da457

Hi @garagatyi,
Thanks for the notice. We will update the README so you do not see these errors. Gorouter itself should be fine as all of its dependencies are saved in godeps. If you run
go get -d github.com/cloudfoundry/gorouter
cd $GOPATH/src/github.com/cloudfoundry/gorouter
godep restore

and then follow the instructions for running tests everything should pass.
Thanks,
@utako && @DanLavine, The CF Runtime Team


support privileged operation directive in mgmt codegen

fixes https://github.com/Azure/autorest.csharp/issues/3819
support privileged operation directive in mgmt codegen

Please be sure to run the regen before you merge this PR. It should contain no change.


better behaving real time query of KDTree

In this first version, I fixed when (k * pointsize) > outbuf.numFrames - now it fills up to the size of the outbuffer.
We discussed outputing the size of the number of valid points, thus opening the door to using the radius in RT (always up to the size of the outbuffer) but I have questions on the code.
We can also merge this and keep the options for later.

test code:
a = Dictionary.newFrom([\cols, 3, \data, Dictionary.newFrom(4.collect{|i|[i.asSymbol, i.dup(3)]}.flatten)])

d = FluidDataSet(s)
d.load(a)
d.print

b = Buffer.alloc(s,6)
c = Buffer.alloc(s,3)

k = FluidKDTree(s)
k.fit(d)

x= {arg nb = 1; var poke = Impulse.kr(1); k.kr(poke,c,b,nb); FluidBufToKr.kr(b).poll(poke); Silent.ar();}.play

c.sendCollection(0.dup(3))

x.set(\nb, 4)


Bug "NaN%, 2 skipped"

Describe the bug
When not exists test, the status on bottom bar print a NaN%

To Reproduce
Steps to reproduce the behavior on the example project:

Create a basic suite test.

describe('test', () => {
  it('should be pass', () => {
    expect(true).toBeTruthy()
  })
})

Run only this suite

describe.only('test', () => {
  it('should be pass', () => {
    expect(true).toBeTruthy()
  })
})

Now, skip the test

describe.only('test', () => {
  it.skip('should be pass', () => {
    expect(true).toBeTruthy()
  })
})

See error

Expected behavior
I believe that in this case, it would be interesting to show something as: "0%, 2 skipped"

OS: Manjaro Linux
VSCode version: 1.76.2
Vitest version: ^0.30.1
Vitest plugin version: v0.2.39

I fix this issues :)


Updated countersampler to poll in UTC time. Also updated workbooks to…

Updated countersampler to poll in UTC time. Also updated workbooks to match the timestamp change.

:ship:

Fixed issue #109.


Minimize the use of any types

Right now TypeScript ESLint's no-explicit-any rule is turned off in our global ESLint config: https://github.com/MetaMask/eslint-config/blob/ec27156931a0cda1b34ff46937b8296742dcb1c0/packages/typescript/src/index.js#L39. While changing this setting globally is a different issue, we should consider enabling it just for controllers. We should be using any as little as possible, because using it indicates that something is not typed properly, whether it is a dependency or our own code.
Enabling this rule produces 335 violations across ~15 files.
This issue is partially blocked by #728.

@mcmire would it help to reactor the any keywords into unknown? It's more type safe than any

@BboyAkers We could, and that would certainly highlight the fact that we are using any. But if we are changing types, it would be even better to see if we can figure out more accurate types to use rather than defaulting to unknown.

@BboyAkers We could, and that would certainly highlight the fact that we are using any. But if we are changing types, it would be even better to see if we can figure out more accurate types to use rather than defaulting to unknown.

True, true, true! I can drive into a couple of places and start investigating 🙂

794 errors for @typescript-eslint/no-explicit-any are being reported in core as of today.

Fixed by https://github.com/MetaMask/core/pull/3660
Superseded by https://github.com/MetaMask/core/issues/3706


"A pending transaction requires your confirmation!" infinite loop

While testing I twice triggered a situation when "A pending transaction requires your confirmation!" is popping up again and again. Don't know yet how to find a 100% reproducible case.

probably this is somehow related to https://github.com/gnosis/safe-react/pull/402

@sche, were you able to reproduce this issue?
@francovenica, can you confirm a hunch? If you have several safes open, and one has a pending transaction. The modal will popup despite the safe you're looking at?
Say I'm looking Safe2, and I have a pending tx in Safe1. If I refresh, I'll get a 'pending tx' for Safe1 notification.

I didn't see it lately

I reproduced this recently

@pcowgill do you have any ideas about how to reproduce this?, thanks

Create a Safe for teams wallet with a few versions of yourself as signers (for testing) and send 5 tx in rapid succession from each account and approve some subset of them from the other account respectively, and you’re likely to get it in this state.

Thanks!


NodeModule definition doesn't support Hot Module Replacement

Hot Module Replacement is a webpack feature that add possibility to inject updated modules into the active runtime.
That feature extends a Module with addtiional property 'hot' that informs if something changed. Current definition of NodeModule (Node.ts file) doesn't have a property hot so it is impossible to read it in application. Mostly users don't have to read it but there are a situations like in React-Redux application where user needs to check if module was updated to pass a new redux state.
I'm quite new to Typescript so I don't know if there is a way to extend somehow NodeModule interface in Webpack definiton file with that additional property 'hot'

@tkqubo might be able to help since he wrote the webpack definition.

You can simply redefine (or override?) the module itself.  For example, the code below can compile
declare let module: number;
let value = 3 * module;

So I think this kind of redefinition will solve the problem:
declare var module: {
    exports: any;
    require(id: string): any;
    id: string;
    filename: string;
    loaded: boolean;
    parent: any;
    children: any[];
    hot: Hot;
};

interface Hot {
   // some implementation here...
}

@niba  If you can wait, I will do the definition of the module maybe by the end of this month.  Is that ok?

I temporary solved it in my project by adding
interface NodeModule {
    hot: any;
}

this definition to webpack.d.ts. It extended defined module in node.d.ts. I think its better to define this extension in webpack file, not in node

@niba is your problem fixed?  if so, I want wakame-san to close the issue, please? @vvakame

@tkqubo yes, it's fixed. Thank you :)


Enhancement : throw a 415 Unsupported Media Type when not the expected content type

Hello,
I think a small improvement of your enforcer could be to throw a 415 Unsupported Media Type statusCode when the content isn't one that is expected. Currently (on v1.7.1), I got this :
{
    "errors": [
        {
            "header": "Request has one or more errors",
            "children": {
                "at": {},
                "nest": [
                    {
                        "header": "In cookie parameters",
                        "children": {
                            "at": {},
                            "nest": [],
                            "message": []
                        }
                    },
                    {
                        "header": "In header parameters",
                        "children": {
                            "at": {},
                            "nest": [],
                            "message": []
                        }
                    },
                    {
                        "header": "In query parameters",
                        "children": {
                            "at": {},
                            "nest": [],
                            "message": []
                        }
                    }
                ],
                "message": [
                    "Content-Type not accepted"
                ]
            },
            "statusCode": 400,
            "status": 400
        }
    ]
}

Finally fixed and published to NPM as version 1.8.6. Thank you.


NPE thrown while validating Occurrence extension

Affects version 2.3.X
Stacktrace:
java.lang.NullPointerException
at org.gbif.ipt.task.GenerateDwca.validateExtensionDataFile(GenerateDwca.java:510)
at org.gbif.ipt.task.GenerateDwca.validateExtensionDataFiles(GenerateDwca.java:435)
at org.gbif.ipt.task.GenerateDwca.validate(GenerateDwca.java:374)
at org.gbif.ipt.task.GenerateDwca.call(GenerateDwca.java:952)
at org.gbif.ipt.task.GenerateDwca.call(GenerateDwca.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

The issue appears while trying to republish a resource that hasn't been modified for a long time.
To work around the issue, simply re-save the extension mapping, and republish again.

Thank you Kyle, I had the same problem with the MoF extension, and your work-around has saved me! :)

have also encountered this issue after an IPT software update (IPT Version 2.3.2-rea67259), and resolved in same manner.