Uncaught TypeError: o.queue.push is not a function

Uncaught TypeError: o.queue.push is not a function
    at analytics.min.js:8
    at u (analytics.min.js:2)
    at c (analytics.min.js:2)
    at i._reclaim (analytics.min.js:8)
    at analytics.min.js:8
    at analytics.min.js:8

I'm always getting this kind of error but I can't debug the reason.
Using the debug method  I can see that the requests its enqueued but never resolved.

Only the first time the user access after a few days without accessing, the event is sent google analytics. Events are properly tracked in Segment debugger.
The integration was working properly until the beginning of the year and it has been failing for 2 months without any change in the integration. Has anyone had any similar issues?

Yes. I just started to experiment with Segment using javascript but ran into this issue too.  When I switched to the uncompressed version of analytics.js, the error messages looked like below,
analytics.js:17055 Uncaught TypeError: our.queue.push is not a function
at analytics.js:17055
at arrayEach (analytics.js:3040)
at each (analytics.js:3098)
at Queue._reclaim (analytics.js:17054)
at analytics.js:17012
at analytics.js:17142

A bit more information. The version of analytics.js being used as of today is
analytics.SNIPPET_VERSION = '4.1.0';
After a bit more investigation, it looks like somehow the type of  our.queue turned into string, resulting in the problem of calling .push() and .sort() functions on it. One possible workaround is to check the typeof our.queue to make sure it is an array, perhaps with Array.isArray before making these calls. I am however, not sure if that will still produce the right end results.

@aabilio , not sure if your issue is caused by the same thing as mine. My problem is related to a reference to prototype.js. The problem went away for me once prototype.js is removed from my project. HTH.

Thanks for the information @ykliao.
But we are not using prototype.js in our project.
Did you debug the root cause of the problem? It will be useful to depurate my error.
What I discovered is that the "array" that the script it's trying to push is stored in localStorage as '"[]"' instead of "[]". So when it's parsed from the localStorage it's converted to "[]", so it's a string, not an array, and the push error method is raised. But I don't know which part is writing the localStorage with the incorrect value. And if try to edit it, or remove it, it's instantly created again with the '"[]"' value. 🤔

I hit what appears to be the same issue. I tried to work up the most simple Visualforce page I could that trips the problem. See the code snippets below (where the includeScript pulls in the JavaScript generated by Segment). This appears to likely be a conflict between Salesforce's generated HTML/JavaScript and Segment's.  Segment suggested a few workaround possibilities for me - using a HTTP endpoint (requiring writing some Apex in the page controller) or using the pixel image on the page. I am going to investigate those options as I feel like if it is a conflict that this will only change if Salesforce or Segment make a change in their products.
If anyone has come up with a way to get around the issue while still using the Segment JavaScript approach I'm all ears though!!!
this code does not log analytics
<apex:page >
<apex:includeScript value="{!$Resource.H1Analytics}" />
apex:tabPanel
</apex:tabPanel>
</apex:page>
This code does:
<apex:page >
<apex:includeScript value="{!$Resource.H1Analytics}" />
</apex:page>

Adding more info here, it seems that the source of issue is the use of non-native JSON.stringify in certain third party libraries. Some libraries override the .toJSON method of Arrays, Objects, etc. ( for compatibility with older browsers, and usually using Prototype library ). That  particular implementation adds extra double quotes around the stringified Arrays, which prevents converting Arrays between stringified/non-stringified version here.
I'm going to close this for now, unless there specific reproduction steps.

I'm going to close this for now, unless there specific reproduction steps.

I posted specific, clear and simple reproduction steps above. Definitely a reproducible, consistent issue. I implemented a workaround (using a different interface to Segment) but it would be good to have a fix to this issue if some one can come up with one. Can we reopen this given it hasn't been solved?

@branthanna our theory is that the issue is related to certain apps or libraries ( in your case VisualForce ) overriding JSON.stringify. The problem is we are not familiar with VisualForce or have access to a VisualForce environment to reproduce the issue. Happy to debug the issue further if there is an environment I can test the issue in ( either a live, publicly accessible website, or a codesandbox environment ).

+1 @pooyaj
@branthanna
I had the same issue, one of the libraries that I was using had prototype.js as a dependency which mutates the prototype of Array and adds a new function toJSON to the prototype of Array.
To confirm if the issue is the same try typing Array.prototype.toJSON on the console, and you'll see this ( or similar ) function
function() {
        var e = [];
        return this.each(function(t) {
            var i = Object.toJSON(t);
            Object.isUndefined(i) || e.push(i)
        }),
        "[" + e.join(", ") + "]"
    }

Now, it can be seen that this code is the culprit that causes issues with JSON.stringify and hence at times stores in localStorage as '"[]"' instead of "[]".
A hack to fix the issue ( that works, since ES5 JSON support is pretty much standard now ).
delete Array.prototype.toJSON

Just add this line once prototype.js is loaded, This will reset the behavior of JSON.stringify. However, a word of caution, this might break some very very old code relying on this function particularly.


Compability Python 3.11

The libreary is not compatible on python v3.11, is it possible to fix it?

@Frenz86 Please feel free to make required changes. It should be mostly on the dependencies side I believe.
Please feel free to create a pull request and I can take a look!

Hi, you're right the problem was related to  numpy-2.2.0, I used this version but luminaire required a version which is not compatible with Python 3.11.
Many thanks


Feature request: activeClassName, activeStyle, activeOnlyOnExact props to Link on react-router-dom

I propose adding the activeClassName, activeStyle, and activeOnlyOnExact props to the Link component in react-router-dom v4. I think the use cases for these props are common enough to warrant being added within the library instead of the library consumers making custom link components to accomplish styling when active needs. They have also been in multiple earlier versions of the library.

You can use the NavLink component for this. It's not yet documented but works well: https://github.com/ReactTraining/react-router/blob/v4/packages/react-router-dom/modules/NavLink.js

Yes, <NavLink> is what you want. I imagine that it will be documented soon, but for quick reference:
// set the class name
<NavLink to='/some-page' activeClassName='active'>Some Page</NavLink>
// set the style
<NavLink to='/some-other-page' activeStyle={{ color: 'red' }}>Some Other Page</NavLink>
// only when exact
<NavLink exact to='/some-exact-page' activeClassName='active'>Some Exact Page</NavLink>


Pipeline upload command failed to set float number environment variable

The pipeline upload command is failing to set float number environment variables. I was trying to upload a pipeline with the following parts:
steps:
	- command: echo 1
      env:
        STRING_VALUE: I can do it
        FLOAT_VALUE: 1.9

The intended outcome would be there are both environment variables STRING_VALUE and FLOAT_VALUE in the build, even though the FLOAT_VALUE would be converted to a string. While the actual case is I can only find STRING_VALUE in the build. To make it works, I need to add double quotes around the 1.9 and it will work fine.
Is that possible the agent can convert float number to string automatically? Thanks!

Hi @cuichenli thank you for opening this issue, I’m afraid we’re unlikely to fork the YAML behaviour for our particular pipeline format. We do expect env to be a map of string to string, and as you have noted in YAML syntax that value is a number 😅 given that we have a good work around for this I’m going to close this issue for now. Thanks again for opening this issue!


updated to newer packages, added typescript-base

Do not merge just yet pls. I want to know, what needs to be deployed in NPM first


Use in Arduino IDE

I am trying to use this in arduino IDE, using the version in the library manager, and I get this error with included example:
In file included from /var/folders/st/8nr02jks27zfr7tm73s2tvk00000gn/T/arduino_modified_sketch_487313/fauxmoESP_Basic.ino:7:0:
/Users/konsumer/Documents/Arduino/libraries/FauxmoESP/src/fauxmoESP.h:61:29: fatal error: ESPAsyncTCP.h: No such file or directory
     #include <ESPAsyncTCP.h>
                             ^
compilation terminated.
exit status 1
Error compiling for board Generic ESP8266 Module.

I tried to install ESPAsyncTCP, but it wasn't available in the library manager.
How do I need to install it, to make it work? Should I make an issue in their repo to add themselves to the arduino library manager so I can set it as a dependency?

 I will close it. I installed the library using this zip. Should this go in the README?


Update description and output info of Docker BBE

Update description and output info of Docker BBE

Codecov Report

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

@@          Coverage Diff          @@
##           master   #172   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          14     14
  Lines         540    540
  Branches       43     43
=====================================
  Misses        540    540

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 d8edc08...115bd94. Read the comment docs.


Add user search in Discover

There should be a way to find a user by their username. Maybe only finds Micro.blog users who have posted a photo?

Done.


Multiple race conditions fixed, code refactored, timeout parameter added.

Hey :wave: Here are my changes.

There are multiple race condition bugs in sendRequest function. I have implemented two functions for safely incrementing the counters and time with using a mutex lock. (This is still not the proper way to colect values from multiple go routines, best way would be using signal channels for collecting values. But since this is a small project it would be overkill :smiley: )
Here you give a *fasthttp.Response (pointer) to each sendRequest function, thus they all write the response into the same struct :) So, moved the fasthttp.AcquireResponse() call into sendRequest function.
Refactored the code by fixing coding convention naming, removing unnecessary allocations and type casting.
Added a timeout parameter. This is a necessary feature because net/http and fasthttp by-default has no timeout on requests, thus it hangs forever.

thank you for your great contribution


Benchexec support for the Impara tool

Impara is based on the CProver framework, and therefore
the Python script is almost identical to the one for CBMC.
Compared to CBMC, an additional command-line parameter is provided.

Is the --eager option always necessary or is it just the specific configuration you want to run in SV-Comp? The typical way to handle configuration options of tools within BenchExec is to allow the user to specify them in the benchmark configuration file, not have them hard-coded in the tool wrapper
(except if your tool absolutely requires these options).
This makes the wrapper script added to BenchExec useful for your tool in general, not only specifically for SV-Comp. Thus I would suggest to remove the --eager option and specify it in the system description together with your additional parameters (for machine model etc.).
Does your tool use the SV-Comp property files? If yes, you should use the propertyfile parameter in the cmdline function to pass it to your tool, if the parameter is not None.

Thanks, Philipp. I gladly take up your suggestion of moving the --eager option
into the config files.
My tool does not parse SVCOMP property files.
It just looks for VERIFIER_error calls inside the C code.


Remove mismatched license reference

The source code shows MIT license while the README lists it as Apache 2.0.
These are not the same, and the source code takes precedence over a badge.

Thanks @mbbroberg


Gradle build failed "Error:Problems reading data from Binary store"

Material Dialogs version: any version
Android Studio 2.3.3

Hello
I'm getting the following gradle compile error:
"Error:Problems reading data from Binary store in 'path/xxx.bin' (exist:true)"
Any ideas on how to fix it? I've attached the log
idea.log

That sounds like an issue with your local setup.


How does yaw interact with the real DOM?

Hello, forgive my ignorance, i have a doubt, yew interact directly with the DOM API through webassambly?, or access the elements of the DOM with javascript?
Do you have any benchmarks available?
Thanks for your time regards.

If you want to investigate how WebAssembly works you can look and this example: https://gist.github.com/cure53/f4581cee76d2445d8bd91f03d4fa7d3b
WASM lives as a JS extension and you have to prepare the environment for a compiled binary code. For example stdweb has own implementation of that bindings. Yew uses stdweb to interact with JS.
Two words about benchmarks. It's a hard topic and I have not implemented any good benchmark yet, but I believe that WASM versions will work faster than JS alternatives, because WASM is a low-level runtime and system programming languages like Rust/C/C++ don't use a garbage collector. It means WASM code has more efficient and compact runtime.
There is a good potential and we will utilize it in any case.

Interesting, thanks for the clarification, I will follow your repository, it looks very promising.
🏄♂


MSTEST0006: Add code fix

AB#2200928

I don't think we can provide a good codefix here is it mostly depends on user intent. We have a test method marked with ExpectedException attribute but can't statically "guess" at which line the exception is expected. The best the codefix can do is to wrap the whole test method with Assert.ThrowsException, but it's not ideal.

You are right but I was thinking to provide the following 2 codefixes:

Wrap all content
Wrap last statement. This is only an heuristic but this should be the last line of code actually executed in most of the "correct" scenario.

WDYT?


Question:  does livestreamer support using a local m3u8 rather than a web-based m3u8?

I've tried everything I can think of but to no avail.  Is it possible for livestreamer to use a local .m3u8?  If not, is that something that could be added?
Thank you.

No, you need to setup a local server to do this.
For example you can download QuickPHP and change the root folder to the folder you have the m3u8, and then call it via livestreamer with http://LOCALIP:LOCALPORT/EXAMPLE.m3u8

Thanks.  It would be hugely beneficial to many people if a local read were added.  Not everyone is equipped to set up a local server.

Yes, this would be a great feature, but sadly the livestreamer Project is innactive now :(
But you can try requesting this in a fork called streamlink: https://github.com/streamlink/streamlink


[BUG] VM scheduling failure not reflected in VM status

Harvester 0.3.0
Rancher 2.6.1

Create a VM that exceeds the available resources in a cluster (resulting in scheduling failure)
Inspect status of VM (VM Overview and VM detail page)

Expected:
Scheduling failure is reflected in the status shown in the UI
Actual:
The status of the VM shown to the user:

Guest VM is not reported as running****

Scheduling issue is only visible to user after navigating to VM -> Events

When resources are low, you should see a small alert icon and hover over it to see the alert message

Verified An alert icon with error message will appears when VM is not able to start.
[host information]

[over-committed VM]

[VM's Events]

[alarm messages]

Test Information

Environment: qemu/KVM 2 nodes
Harvester Version: master-119c2c48-head
ui-source Option: External

Verify Steps:

Install Harvester with any nodes
download a image to create VM
create a VM with over-commit (consider to over-provisioning feature, double or triple the host resource would be more reliable.)
VM should shows Starting state, and an alart icon shows aside.
hover to the icon, pop-up message should display messages like 0/N nodes are available: n insufficient ...


Saving 'paths' from vanishing in update ( pulsar )

Fixing a minor bug here.
Pulsar calls the "update" function once every 5 minutes. But in the update method, 'paths' attribute is lost.
But fortunately, the 'paths' attribute is set as soon as ConfigManager constructor is called ( this happens at this line https://github.com/hubblestack/hubble/blob/develop/hubblestack/extmods/modules/pulsar.py#L715 ).
And luckily, this constructor is being called every second.
The problem arises if a fim event is generated and this line ( https://github.com/hubblestack/hubble/blob/develop/hubblestack/extmods/modules/pulsar.py#L767 ) is hit within that second.
How to reproduce the error:
Just start a script to create fim events very fast ( once every 0.4 seconds worked for me ).
And you will see this error every 5 minutes:
2019-06-05 08:59:55 [hubblestack.daemon][ERROR   ] Error executing schedule
Traceback (most recent call last):
  File "hubblestack/daemon.py", line 165, in main
  File "hubblestack/daemon.py", line 357, in schedule
  File "/opt/hubble/hubble-libs/hubblestack/extmods/modules/pulsar.py", line 979, in top
    return process(configs, verbose=verbose)
  File "/opt/hubble/hubble-libs/hubblestack/extmods/modules/pulsar.py", line 757, in process
    config_path = config['paths'][0]
KeyError: 'paths'

Trying to fix this issue by preserving the 'paths' attribute.
I hope I am not messing with some original logic.
Have a look @jettero
[ Alternatively, I could use dictionary's get method at https://github.com/hubblestack/hubble/blob/develop/hubblestack/extmods/modules/pulsar.py#L767 to handle this error ]

@jettero I'm going to let you be the primary reviewer here since it's your code. Keep me posted if you need my input on anything.

I have to check this carefully. It was all a great deal easier before the memory leaks. I have a sneaking suspicion paths are missing so we don't accidentally propagate them to the next iteration ... growing ... growing ... until huge config messages are sent to splunk and lots of memory is consumed.


Set title based on resolved values

In my product detail state I will resolve an API call to get a product, as seen below. Can I use this resolved data to set my <title> to be the product name?
http://pastebin.com/pxHVyh42

Untested, but this should work
      .state('product.details', {
        url : '/{id}',
        templateUrl : '/views/pages/product.html',
        controller: 'productCtrl',
        resolve: {
          data: function ($stateParams, soApi, ngMeta) {
            return soApi.getProduct({
              'id': $stateParams.id
            }).then(function(response) {
              ngMeta.setTitle(response.product.name);
              return response;
            });
          }
        }
      })

Unfortunately no, because this code lives in the .config block of the app

Ok, I figured it out with a bit of logging: ngMeta can be injected into a resolve function, and setTitle is called properly, but right after the resolve function completes execution, ngMeta receives the $stateChangeSuccess broadcast and goes through the process of updating all tags, including the title, thus wiping out the title set in the resolve function.
As a temporary workaround, you can set the title from your productCtrl. I'm considering adding a freezeTags array property that can be optionally added to a state in cases involving resolve functions to keep some tags unaffected when the broadcast is received. Something like:
   resolve: {
     data: function($http, ...., ngMeta) {
       //Load data here
       ngMeta.setTitle('Some resolved value');
       ngMeta.setTag('description', 'Description of product - resolved from API call');
     }
   },
   meta: {
     freezeTags: ['title', 'description']
   }

What do you think?

Ah, I understand.
Actually I think a nicer solution for me would be if I could just disable the listeners.
In configuration phase I could do
ngMetaProvider.autoupdateOnStateChange(false); // Default: true
Your init function would look like
var init = function() {
  $rootScope.ngMeta = {};
  if (config.autoupdateOnStateChange) {
    $rootScope.$on('$routeChangeSuccess', update);
    $rootScope.$on('$stateChangeSuccess', update);
  }
};

...so listeners would still be on as default, but I have the option of disabling them.
As a bonus, having fewer listeners will also slightly improve my site performance :)
If this sounds good to you, I can set up a PR :)

I like the idea, but by disabling the listeners, you would lose the ability to update meta tags in the $routeProvider/$stateProvider configuration for all routes/states. You would have to programmatically set meta tags using setTitle and setTag through resolve functions, onEnter and controllers.
My intention with freezeTags was to allow meta: { } in state configurations while also preventing the $stateChangeSuccess listener from updating specific tags, so that in a case like this (based on the previous example)
   meta: {
     freezeTags: ['title', 'description'],
     image: 'http://example.com/image.png'
   }

The image tag would be set based on the state config, but title and description tags can be updated from resolve functions.

Perhaps the solution is to provide statewide update disabling (instead of app-wide update disabling) with disableUpdate: true and allowing users to set all meta tags programmatically for that particular state?
resolve: {
  data: function(..., ngMeta) {
    ....
    ngMeta.setTitle();
    ngMeta.setTag('description', '....');
    ngMeta.setTag('image', '....');
  }
},
meta: {
  disableUpdate: true
}

Your last suggestion with disableUpdate: true would work for me. I am not sure how to go about implementing it in your code though. Where would I add the condition check?

I appreciate your PR offer - You can check for this condition in readRouteMeta and return the function right away if it's set.

Thanks for including this feature. Definitely could use the disableUpdate feature. Any thoughts on when you'll push out a new release?

@alexg313 I just released v0.3.8 with disableUpdate support.


test(scheduling): add skeleton for allow empty selector settings

ref: longhorn/longhorn#4826

This pull request is now in conflicts. Could you fix it @ChanYiLin? 🙏

Conflicts resolved


test(e2e, playwright) editor components

Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

I plan to the editor drawer in a different pull-request.


[chore] update Go to 1.21, and update relevant pkgs

Desired Behaviour
Need to update Go to 1.21 in go.mod and in Dockerfile, and also Makefile

Minor chore on updating meshkit and meshery-adapter-library

Can this be assigned to me if open @Ghat0tkach @saurabh100ni ?


Add :TSNodeUnderCursor

Sometimes you don't want to see the full tree, but only get the node(s) for whatever is under your cursor. Opening the playground and scrolling through it to find your place can be tedious (since there's no locked view).
Would be nice to have a command analogous to :TSHighlightCapturesUnderCursor that pops up a float with that information, either as the leaf node, or as a full path from the root.

@clason, I was playing around with the tree sitter and implemented this feature. There are some details that I don't quite understand. I can open a PR if you wish.
https://user-images.githubusercontent.com/16160544/161361479-c939ab0c-2d7a-4880-acb5-027fffc71a7a.mp4

Sure, please do!


Roll Engine from 140bd9399e63 to 97b4cab81963 (2 revisions)

https://github.com/flutter/engine/compare/140bd9399e63...97b4cab81963
2021-11-13<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from Z6Jtle7_y... to Sg-XVB3Pw... (flutter/engine#29720)
2021-11-13<EMAIL_ADDRESS>Roll Dart SDK from 3d3512949729 to f4612ed462cf (1 revision) (flutter/engine#29718)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from Z6Jtle7_y2NV to Sg-XVB3PwRmk
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Unhandled Exception: MissingPluginException(No implementation found for method setup on channel FlutterCallKeep.Method)

Hi, I m testing example app of plugin. everything works fine when app is foreground but when app is in backround I am getting error below.
my firebase message  payload is :
{
	"registration_ids":["d08bLhJpQn6-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx3FGiY-"
],
	"data":{ "uuid": "xxxxx-xxxxx-xxxxx-xxxxx",
    "caller_id": "+8618612345678",
    "caller_name": "hello",
    "caller_id_type": "number",
    "has_video": false}

}

Error message:
/flutter (18141): backgroundMessage: message => {data: {caller_id: +8618612345678, uuid: xxxxx-xxxxx-xxxxx-xxxxx, has_video: false, caller_id_type: number, caller_name: hello}}
I/flutter (18141): backgroundMessage: displayIncomingCall (+8618612345678)
E/flutter (18141): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method displayIncomingCall on channel FlutterCallKeep.Method)
E/flutter (18141): #0      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:157
E/flutter (18141): <asynchronous suspension>
E/flutter (18141): #1      MethodChannel.invokeMethod
package:flutter/…/services/platform_channel.dart:332
E/flutter (18141): #2      FlutterCallkeep.displayIncomingCall
package:callkeep/src/api.dart:83
E/flutter (18141): #3      myBackgroundMessageHandler
package:callkit/main.dart:81
E/flutter (18141): #4      _fcmSetupBackgroundChannel.<anonymous closure>
package:firebase_messaging/firebase_messaging.dart:38
E/flutter (18141): #5      MethodChannel._handleAsMethodCall
package:flutter/…/services/platform_channel.dart:430
E/flutter (18141): #6      MethodChannel.setMethodCallHandler.<anonymous closure>
package:flutter/…/services/platform_channel.dart:383
E/flutter (18141): #7      _DefaultBinaryMessenger.handlePlatformMessage
package:flutter/…/services/binding.dart:283
E/flutter (18141): #8      _invoke3.<anonymous closure> (dart:ui/hooks.dart:280:15)
E/flutter (18141): #9      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (18141): #10     _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (18141): #11     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (18141): #12     _invoke3 (dart:ui/hooks.dart:279:10)
E/flutter (18141): #13     _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)
E/flutter (18141):
E/flutter (18141): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method backToForeground on channel FlutterCallKeep.Method)
E/flutter (18141): #0      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:157
E/flutter (18141): <asynchronous suspension>
E/flutter (18141): #1      MethodChannel.invokeMethod
package:flutter/…/services/platform_channel.dart:332
E/flutter (18141): #2      FlutterCallkeep.backToForeground
package:callkeep/src/api.dart:260
E/flutter (18141): #3      myBackgroundMessageHandler
E/flutter (18141): #4      _fcmSetupBackgroundChannel.<anonymous closure>
package:firebase_messaging/firebase_messaging.dart:38
E/flutter (18141): #5      _fcmSetupBackgroundChannel.<anonymous closure>
package:firebase_messaging/firebase_messaging.dart:31
E/flutter (18141): #6      MethodChannel._handleAsMethodCall
package:flutter/…/services/platform_channel.dart:430
E/flutter (18141): #7      MethodChannel.setMethodCallHandler.<anonymous closure>
package:flutter/…/services/platform_channel.dart:383
E/flutter (18141): #8      _DefaultBinaryMessenger.handlePlatformMessage
package:flutter/…/services/binding.dart:283
E/flutter (18141): #9      _invoke3.<anonymous closure> (dart:ui/hooks.dart:280:15)
E/flutter (18141): #10     _rootRun (dart:async/zone.dart:1190:13)
E/flutter (18141): #11     _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (18141): #12     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (18141): #13     _invoke3 (dart:ui/hooks.dart:279:10)
E/flutter (18141): #14     _dispatchPlatformMessage (dart:ui/hooks.dart:154:5)

I tried it samsung galaxy j6+ android 10
any idea will be appriciated.

implementing plugin to Application.java like below  solved my problem.
package com.xxxxxxxxx.callkit;

import io.flutter.app.FlutterApplication;
import io.flutter.plugin.common.PluginRegistry;
import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback;
import io.flutter.plugins.GeneratedPluginRegistrant;
import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService;
import io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin;
import com.github.cloudwebrtc.flutter_callkeep.FlutterCallkeepPlugin;

public class Application extends FlutterApplication implements PluginRegistrantCallback {

    @Override

    public void onCreate() {
        super.onCreate();
        FlutterFirebaseMessagingService.setPluginRegistrant(this);
    }

    @Override
    public void registerWith(PluginRegistry pluginRegistry) {

        FirebaseMessagingPlugin.registerWith(pluginRegistry.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin"));
        FlutterCallkeepPlugin.registerWith(pluginRegistry.registrarFor("com.github.cloudwebrtc.flutter_callkeep"));
    }
}

solution mentioned at this thread:  https://github.com/flutter-webrtc/callkeep/issues/21#issuecomment-718883312

You need to modify the Application.java code and manually register the plug-in.
Application.java
public class Application extends FlutterApplication implements PluginRegistrantCallback {
    @Override
    public void onCreate() {
        super.onCreate();
        FlutterFirebaseMessagingService.setPluginRegistrant(this);
    }

    @Override
    public void registerWith(PluginRegistry pluginRegistry) {
        FirebaseMessagingPlugin.registerWith(pluginRegistry.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin"));
        FlutterCallkeepPlugin.registerWith(pluginRegistry.registrarFor("com.github.cloudwebrtc.flutter_callkeep.FlutterCallkeepPlugin"));
    }
}


[CARBONDATA-1805][Dictionary] Optimize pruning for dictionary loading

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[X] Any interfaces changed?
NO
[X] Any backward compatibility impacted?
NO
[X] Document update required?
NO
[X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
NO TESTS ADDED, PERFORMANCE ENHANCEMENT DIDN'T AFFECT THE FUNCTIONALITY
- How it is tested? Please attach test report.
TESTED IN CLUSTER WITH REAL DATA. THE QUERY RESULT IS OK AND THE DICTIONARY FILE SIZE IS EXACTLY THE SAME AS THAT BEFORE OPTIMIZATION
- Is it a performance related change? Please attach the performance test report.
PERFORMANCE ENHANCED, DICTIONARY TIME REDUCED FROM 2.9MIN TO 29SEC
- Any additional information to help reviewers in testing this change.
NO
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NOT RELATED

COPY FROM JIRA
SCENARIO
Recently I have tried dictionary feature in Carbondata and found its dictionary generating phase in data loading is quite slow. My scenario is as below:

Input Data: 35.8GB CSV file with 199 columns and 126 Million lines

Dictionary columns: 3 columns each containing 19213,4,9 distinct values

The whole data loading consumes about 2.9min for dictionary generating and 4.6min for fact data loading -- about 39% of the time are spent on dictionary.
Having observed the nmon result, Ifound the CPU usage were quite high during the dictionary generating phase and the Disk, Network were quite normal.
ANALYZE
After I went through the dictionary generating related code, I found Carbondata aleady prune non-dictionary columns before generating dictionary. But the problem is that the pruning comes after data file reading, this will cause some overhead, we can optimize it by prune while reading data file.
RESOLVE
Refactor the loadDataFrame method in GlobalDictionaryUtil, only pruning the non-dictionary columns while reading the data file.
After implementing the above optimization, the dictionary generating costs only 29s -- about 6 times better than before(2.9min), and the fact data loading costs the same as before(4.6min), about 10% of the time are spent on dictionary.
I also tested the scenario that making the first, middle and last fields in the csv file be the dictionary column, the dictionary generating costs about 29s too.
NOTE

Currently only load data file will benefit from this optimization, while load data frame will not.

Before implementing this solution, I tried another solution -- cache dataframe of the data file, the performance was even worse -- the dictionary generating time was 5.6min.

nice job，loading performance is improved obviously。

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1438/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1543/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1547/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1945/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1947/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1548/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1588/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1615/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1666/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/437/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1707/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/537/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1795/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/654/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1885/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1905/

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/676/

retest this please

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/691/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1920/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/705/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1934/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/722/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1950/

@jackylk resolved~

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1983/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2302/

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/753/

retest this please

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2303/

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/756/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1986/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/758/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1988/

ok to test

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2354/

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/812/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2043/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/821/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/842/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2068/

ok to test

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/852/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2077/

retest this please

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2379/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2078/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/853/

LGTM


maven - failure to detect vulnerable dependency

Package ecosystem: maven

Manifest location:  /morf/pom.xml
I'm testing dependabot security alerts/updates feature.
I forked the repo, which is maven project with the known issue, created a branch from a buggy commit and made it default:
https://github.com/dima-v-v/morf
The issue is using obsolete version of Primetek Primefaces (v. 5.1) with know vulnerability: https://nvd.nist.gov/vuln/detail/CVE-2017-1000486 (Critical severity).
The dependency and its current version are correctly reported in the repo Dependency Graph but it's not marked as  known security vulnerability

@dima-v-v thanks for reporting, does indeed look like our advisory db doesn't include this CVE yet: https://github.com/advisories?query=CVE-2017-1000486
I've raised it with the advisory db team.

Thanks! The CVE is there (NVD) since 2018 and it's real. I have an app which was exploited this way. I wonder now if there is more NVD CVEs which are not in github advisory database.

@dima-v-v currently we do manual curation of the NVD, which is why some things aren't in our Advisory Database, though we're working on publishing more of them (and soon, all of them). I'm going to close this out now that the team is aware of the issue and will add this vuln, but please let us know if you're seeing any other discrepancies!


(Bug) SendTransaction error

 "message": "Error on unsubscribe!" - this is web3 error need to google it

not reproduce

@StanislavShevchenko you need to research what it is, understand when and why it would happen
obviously you wont reproduce it since it doesnt happen all the time

@sirpy @AlexeyKosinski
I tried to investigate the reasons for this issue - and it seems like the issue is not related to the Dapp. This is just a result from blockchain about some tx - so I think the issue is happening in contracts.
The bugsnag is not contained any valuable info about this issue except the error message:  "Error on unsubscribe!" what I tried to search on the internet, and I don't found something helpful concerning it.

ok closing for now


Hello please give like to roblox  game for players to ttest

Please give the game link as there are soo many games is roblox
Roblox name
TheLongestDisplayNam (@ Computerph1)
(Roblox game developer)

Give link

H O W your game has sooooo many visits please tutorial by my game has not that much visits and what program you use for thumbnail?

Give link

https://www.roblox.com/games/5202348042/Not-very-easy-Obby

H O W your game has sooooo many visits please tutorial by my game has not that much visits and what program you use for thumbnail?

Try advertise the game to your friends, make something that makes players wanting to stay longer in the game to achieve, do some Roblox advertising.
I use Adobe Photoshop for thumbnail.

OK
thx
On Sun, 23 Jan 2022 at 23:24, chicken-boil @.***> wrote:

H O W your game has sooooo many visits please tutorial by my game has not
that much visits and what program you use for thumbnail?
Try advertise the game to your friends, make something that makes players
wanting to stay longer in the game to achieve, do some Roblox advertising.
I use Adobe Photoshop for thumbnail.
—
Reply to this email directly, view it on GitHub
https://github.com/chicken-boil/Not-very-easy-Obby/issues/2#issuecomment-1019534706,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXNUPDGLNUOOFX7JP7DF5RLUXQ6E7ANCNFSM5MTDVOSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

And how much players you get when it was first public?

What is Photoshop alternative because I use mobile to make pictures

And how much players you get when it was first public?

10-15 players

What is Photoshop alternative because I use mobile to make pictures

https://photopea.com/


allow to build stable version of experimental

disable prerelease tag if ionide.isExperimentalRelease var is set in azure devops build

ready


Reverts usage to a redirect

I don't have time to figure out how to get this embedded properly. We
have bigger fish to fry!

merging as the link is broke!


Reduce the font.

-Reduce font to the same as NEW.

The two fonts are already the same size.

-Verified this issue on staging app v1.6.0(276)


Not able to see simple SVG example

My attempt to convert the simplest SVG example over to snabbdom-jsx here
<svg attrs={{width:100,height:100}}>
  <circle attrs={{cx:50,cy:50,r:40,stroke:"green",strokeWidth:4,fill:'yellow'}}/>
</svg>

Doesn't appear to be displaying anything but the generated actual dom does match the example.
<svg width="100" height="100"><circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow"></circle></svg>

Using Chrome and know SVG is working on the browser, have any ideas what I'm doing wrong?

did you follow the same approach as in the svg example in the repo.


Update net7.0 TFM references to net8.0

In order to be source-build compliant for the .NET 8.0 release.  All projects targeting a net7.0 TFM must be upgraded to net8.0.  It is preferred that a new NetCurrent Arcade property be utilized as it eliminates this type of maintenance work for every release.

We will do that as part of our arcade migration.


how to choose the 'correct' route

There are two rotes:
/:uid
/user
When get '/user', the '/:uid' router catch it first.
app.match.get('/user') returned two routes.
Execute the second matched router '/user' explicitly , the 'next' router seems not correct.
so How to choose the second '/user' route to handle the request,  just like 'res.location' ?

Thanks!
I have tried this way~
but I load the routers by recurring the /routers directory , the order is not in control~ any more suggestion?

not a whole lot you can do then, at that point it's more of a uri design issue if you cant fiddle with precedence

fine,thank you~


Translations

Translation messages for the generated stats report are located in app/translations using the Symfony Translation Component and in the YAML format. Variables in messages are in the format %variable%.
Pluralization for languages with multiple pluralization formats:

English and languages with 1 plural format:
"1 comment|%count% comments"

Russian and languages with 2 plural formats - first for 1 item, second for 2 items and third for 3 or more items:
"1 комментарий|%count% комментария|%count% комментариев"

Slovenian and languages with 3 plural formats - first for 1 item, second for 2 items, third for 3 and 4 items and fourth for 5 or more items:
"1 komentar|%count% komentarja|%count% komentarji|%count% komentarjev"

[ ] Add your translation. Every help is welcome.

[x] Afrikaans (af_ZA) @rossiza

[x] Arabic (ar) @stodar

[x] Belarusian (bl) @p0v1n0m

[x] Bengali (bn) @icic13

[x] Catalan (ca) @wolframtheta

[x] Croatian (hr) @mjurinic

[x] Czech (cs) @StrnadRichard

[x] Dutch (nl) @veloxy

[x] French (fr) @I-am-me, @Tititesouris

[x] German (de) @michaspiss

[x] Hindi (hi) @paraschadha2052

[x] Hungarian (hu) @Hunrik

[x] Indonesian (id) @justthegame

[x] Malay (my) @codegateau

[x] Norwegian (nb) @RainoBoy97

[x] Polish (pl) @Aylard

[x] Portuguese (pt_BR) @IgorAntun

[x] Russian (ru) @p0v1n0m

[x] Slovak (sk) @palosopko

[x] Spanish (es) @jslirola

[x] Swedish (sv) @kajes

[x] Tagalog (tl) @norvinyecla

[x] Turkish (tr) @bureken

[x] Ukrainian (uk) @andyps

Big thanks to all translators!

I'll take care of Portuguese (pt_BR) :)

Great. Much appreciated. Thank you @IgorAntun

I can translate it to Catalan if you want :)

Definitely, @wolframtheta
Help would be much appreciated :+1:

I translated it to Hungarian :)
#38

Thanks @Hunrik for Hungarian translation. It has been merged :+1:

Added pull request for Swedish translation.

Great. Thanks @kajes

I can translate to Bengali.

@icic13 Bengali language would be great... Any help is welcome. :+1:  Thank you.

Done Malay translation

@codegateau thank you, Malay translation merged as well.

Closing via f74548600145a6a30dd6ec43eb926c9fa4b5c9d2
Thank you again everyone who has participated in translating this application. :+1:


breaking change: replaces unlawful instances with similar named funct…

Hi,
this implements the changes proposed in #4 - it removes the unlawful instances and replaces them with just the instance-functions.
Added benefit: can drop dependency on control ;)

Oh and another thing: please bump the major version as this is a breaking change.

Hi - I'll have a look once I get home - should be no problem

Hi - I pushed the changes please have a look.
For the version you have to help me out a bit: I was under the impression that normally you'll use pulp (or I think spago can do as well) to bump up the version when you release the package - AFAIK that includes adding a Tag (pulp will do for you).
I don't actually see 1.0.1 mentioned anywhere - it's 1.0.0 in package.json - where do you want me to upgrade the version and what do you suggest? (SemVer should be 2.0.0 I guess)

Hi,
version in package.json is now at 2.0.0.
As far as I know for bower/purescript-package-set it's mainly done via Tags here. Psc-Package/Dhall will be fine with either commit/branch/tag but if you want to get this (re-)added to the current set it should have a current Tag I think.

Great, now the only thing that's left is release it I guess. By the way, if the release process can be deferred to another person, I hereby grant you, @CarstenKoenig a permission to do a 2.0.0 release of this version of the code currently visible in the "master" branch for package sets, effective strictly between 2022-08-18 and 2022-09-01
=)


[Doc] Add documentations for nightly benchmarks

FILL IN THE PR DESCRIPTION HERE
Add documentations for nightly benchmarks.
The latest results of nightly benchmark:
https://buildkite.com/vllm/performance-benchmark/builds/4068
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

@KuntaiDu By the way, why only test the cases of qps 2 and 4, without continuing to test qps 8, 16, etc.? I have tested vLLM before. My impression is that the performance deteriorates significantly during the increase in qps. I don't know if this meets expectations.

@KuntaiDu By the way, why only test the cases of qps 2 and 4, without continuing to test qps 8, 16, etc.? I have tested vLLM before. My impression is that the performance deteriorates significantly during the increase in qps. I don't know if this meets expectations.

I am not testing high QPS for now, to control the benchmark duration. Currently we are only testing one QPS per model. And the benchmark is already a bit slow (it takes 3.5 hours to run).
But yeah, it is definitely worthwhile to cover more QPS if we have more resources for CI in the future.

@KuntaiDu By the way, why only test the cases of qps 2 and 4, without continuing to test qps 8, 16, etc.? I have tested vLLM before. My impression is that the performance deteriorates significantly during the increase in qps. I don't know if this meets expectations.

I am not testing high QPS for now, to control the benchmark duration. Currently we are only testing one QPS per model. And the benchmark is already a bit slow (it takes 3.5 hours to run).
But yeah, it is definitely worthwhile to cover more QPS if we have more resources for CI in the future.

make sense

But yeah, it is definitely worthwhile to cover more QPS if we have more resources for CI in the future.

Using the SOTA within 10B parameters, namely GLM 49B Chat, tested on a single A100 80G. The benchmark script used is from vLLM, with 1000 prompts. LMDeploy and vLLM both use the latest version. Hi @KuntaiDu The 3.5 hours you mentioned is quite long, I understand. Perhaps we can conduct more QPS benchmarks on smaller models based on the above. As far as I know, the models deployed by large-scale domestic companies are mainly below 10B. If you have any questions or suggestions, please feel free to contact me. Thanks.

@KuntaiDu I've also done the benchmark with Qwen 2 72B Instruct with TP 4.
From the data in the graph, vLLM's prefill has a slight advantage when the request rate is low. I am quite curious because I understand that vLLM uses custom all reduce. Why is the decoding ITL so much worse? Is this expected? If necessary, I can raise an issue separately to discuss this. @youkaichao
Don't get me wrong, I'm not here to criticize vLLM completely. In fact, the current strong support of vLLM on MOE and the work of W8A8(FP8) are impressive. If we have business to use in the short term, I would also recommend them to use vLLM. Cheers.

In my impression, when the batch size was not large on FasterTransformer before, custom all reduce was much better than NCCL.

I'm not surprised. the decoding phase has lots of overhead, the full scheduling and batching, sampling logic is written in python, which is slow. that's one of our recent goal to improve. welcome to contribute :)

@KuntaiDu I've also done the benchmark with Qwen 2 72B Instruct with TP 4.
From the data in the graph, vLLM's prefill has a slight advantage when the request rate is low. I am quite curious because I understand that vLLM uses custom all reduce. Why is the decoding ITL so much worse? Is this expected? If necessary, I can raise an issue separately to discuss this. @youkaichao
Don't get me wrong, I'm not here to criticize vLLM completely. In fact, the current strong support of vLLM on MOE and the work of W8A8(FP8) are impressive. If we have business to use in the short term, I would also recommend them to use vLLM. Cheers.

Thanks a lot for the measurement, and I am not expecting such a large performance gap... You are right, we need to benchmark vllm at high QPS then. I will raise a new PR for that.


Problems Saving JSON

VSCode Version: 1.46.0
OS Version: MacOS 10.15.5

It seems like VSCode is taking the first line of unsaved input and trying to use it as a filename. If it is JSON or other input without any spaces, it will not be able to use the first line as a filename and will not allow the file to be saved. eg., {"swagger":"2.0","info":{"description":"Api Documentation",...}
Steps to Reproduce:

Paste the following input into VSCode:

{"swagger":"2.0","info":{"description":"Api Documentation","version":"1.0","title":"Api Documentation","termsOfService":"urn:tos","contact":{},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0"}

Try to save the document. Cmd-s

The application will stop responding, and return the error: "The save file operation failed. The save file operation failed to connect to the open and save panel service."

Does this issue occur when all extensions are disabled?: Yes

VSCode is built on top of a large number of components that are not maintained by the VSCode team directly. This includes:

Electron as the cross platform UI framework
node.js for most integration into the OS
Chromium as runtime and rendering engine (HTML, CSS, JS)
and after all, the operating system VSCode is running on

Reading this issue, it seems to originate not from VSCode itself but rather one of these upstream components. As such, in order to resolve it, it would need to get fixed in the upstream component. I will go ahead and close this issue and kindly ask to report this issue to the upstream component if possible:

for UI, OS integration: https://github.com/electron/electron
for Rendering: https://bugs.chromium.org/p/chromium/issues/list
for file IO: https://github.com/nodejs/node

Thanks for understanding.

Related: https://www.google.com/search?q=the+save+file+operation+failed+to+connect+to+the+open+and+save+panel+service&oq=the+save+file+operation+failed+to+connec&aqs=chrome.0.0j69i57j0.2387j0j7&sourceid=chrome&ie=UTF-8


Added mailtracking pixel

Added trackingpixel to check if mail has been opened, and display status on manage page.
See #219

The thing is that I want less code. This can be reduced.


Look into reducing syntax highlighting delay in the builtin previewer

Currently the builtin previewer first feeds the lines into the preview buffer and only then enables syntax highlighting which makes the preview window colors appear to “flicker” right as the highlights are enabled.
Explore if this can be solved by setting filetype before the lines are fed into the buffer (could be a perf issue?).

Seems to be no significant perf issue, https://github.com/ibhagwan/fzf-lua/commit/5bdb21355892c1cf87fe37456cb3b8488ff5960f closes this.

It definitely looks better now, thanks!


GSoC: Workflow Overview and Missing Functionalities for Glider QA/QC

Hi @ocefpaf @mwengren @MathewBiddle,
As I am delving deeper into the project, I believe having a clear understanding of the workflow would greatly enhance my productivity and ensure that my contributions align well with the project's goals. Could you please provide a brief overview of the current workflow for the project?
Additionally, it would be very helpful if you could highlight any specific functionalities or checks that are currently missing or need improvement. This will help me to focus my efforts more effectively and contribute in the most meaningful way possible.

Hi @ocefpaf,
I will make sure to list everything on this PR. And will update you by providing the list of functions that need to implement or modify.

Timing/Gap and Syntax will require some raw data examples that we request i tomorrow's meeting. The TS one is quite challenging to code and we should start with a simple case for it. The challenges are:

Coastal data may differ from classic TS fits.
There are two options there, fitted equation or a numeric table.
The tests are assuming that the temperature sensor is better than the salinity one, which is usually true, and compare the expected salinity based on temperature alone.

Can you updated your message above to list all tests, checkmark those that already exist and add a link in the code base so we can track them? Some, while may be already coded, may require some adjustments for the glider case and we need to check.
@leilabbb may have some insight for us here on which test is OK and which is not in the existing ones.

@Sakshamgupta90 following up from today's meeting. We should get the notebook and test data from #106 and run all the tests that are already implemented. According to @leilabbb some tests results are not working as expected and we need to fix them.

@ocefpaf  @Sakshamgupta90 can you put a link to the Slack channel to join the conversation?

Leila I invited you using the slack interface. In any case, see if this link works:

These are the tests the Glider DAC is interested in:
To be added to the QC workflow:
Test 3) Location Test (Required) -> Link
Already in the QC workflow:
Test 4) Gross Range Test (Required) -> Link
Test 7) Spike Test (Strongly Recommended) -> Link
Test 8) Rate of Change Test (Strongly Recommended) -> Link
Test 9) Flat Line Test (Strongly Recommended) -> Link
The links below give access to a notebook with the Glider DAC QC workflow, the example netCDF data file used in the notebook and the configuration yaml file needed to run the the QC process.
GLIDER-DAC QC Notebook
Example netCDF File
Configuration Yaml File
In the notebook, the last section checks the flags and you will see the differences I discovered implementing the QARTOD tests in two different ways.

Hi @leilabbb @ocefpaf,
I've observed differing results between the two methods used to implement the QARTOD flat line tests. I'm a bit confused because both methods show different outcomes. Could you please advise on which method you find most appropriate?

METHODE 2: Using the ioos_qc.qartod.flat_line_test is more accurate. It shows more reasonable test results.
For the Location test, it is on the list to add to the Glider DAC QC workflow, so I do not have any comment on that.

For the Location test, it is on the list to add to the Glider DAC QC workflow, so I do not have any comment on that.
You mean the list that I created above? If yes, then I listed Location test in the implemented section.

Hi @ocefpaf,
can you share some raw data so that I can start implementing timing and syntax test.


feat: update testnetPaymaster and Crown token addresses

What :computer:

updated testnetPaymaster address
updated Crown token addresses

Why :hand:

On Sepolia these addresses are different

LGTM


remove tensorflow dependency

Due to the tensorflow dependency, this package is not usable with tensorflow-cpu package.
Can you please make tensorflow dependency optional so that I can use it with tensorflow-cpu?

Hmm, there's basically no description on the PyPi package (other than some generic what is TensorFlow stuff). What is the tensorflow-cpu package, and how does it differ from the plain tensorflow package? Or can you link me to any relevant docs? Thanks!

@adriangb It is also maintained by Google and has the same api with tensorflow package. It doesnt include the compiled cuda binaries so that it takes less space and easier to deploy on machines without gpu.

It is especially useful when deploying an ML app to Heroku: https://stackoverflow.com/a/62356779

Interesting, I sure with the TensorFlow team had better descriptions. Also if they packaged it as an extra like pip install tensorflow[cpu-only] 😞
The main issue with just removing the dependency is that we actually do have minimum TensorFlow versions, and will probably bump them soon. Of course we can replace the requirement with a runtime check, but that has its own disadvantages.
For the time being, it should be possible to install scikeras with pip install --no-deps scikeras

For the time being, it should be possible to install scikeras with pip install --no-deps scikeras

That might be worth adding to the docs.

Agreed, I'll add it in the install section.

@fcakyon I opened #222 to add some guidance in the docs. Do you feel that this would be an acceptable solution?

@adriangb Unfortunately its not an acceptable solution in my case.
Im using this package in this web app project. Heroku creates the environment using [this requirements.txt](https://github.com/fcakyon/face-recognition-app-tutorial/blob/heroku/requirements.txt.
However since scikeras has tensorflow dependency, it downloads both tensorflow-cpu and tensorflow into the environment and fails the deployment due to limited storage.
Better solution would be to make tensorflow dependency optional: if tensorflow-cpu>2.4.0 is present then dont install tensorflow, else require tensorflow>2.4.0

I see.
It seems that then we are left with two options:

Do what you suggested in https://github.com/adriangb/scikeras/issues/221#issue-838138408 and make tensorflow optional so that it would need to be installed via pip install scikeras[tensorflow] or pip install scikeras[tensorflow-cpu]. However, I think this would be a breaking change, so it would have to wait for a major version.
Make a scikeras-core package that has no dependencies (only runtime checks). You could then use this scikeras-core package and other users could continue to use scikeras.

Would the second approach bring lots of maintenance cost for you? If not, it would be very useful for the ones that are in same situation with me.

It would carry some maintenance burden, I'm not sure how much, but I'll look into it and at least scope it out.

Would per-requirement overrides work?

@stsievert I tried adding --install-option="--no-deps" into requirements.txt but pip installation fails since pre-requirement commands disable wheel installation. Here is the full heroku deploy log:
-----> Building on the Heroku-20 stack
-----> Using buildpacks:
       1. heroku/python
       2. https://github.com/heroku/heroku-buildpack-apt
-----> Python app detected
-----> Stack has changed from heroku-18 to heroku-20, clearing cache
-----> Installing python-3.8.8
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
       /app/.heroku/python/lib/python3.8/site-packages/pip/_internal/req/req_file.py:200: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
         cmdoptions.check_install_build_global(options, line.opts)
       Collecting flask==1.1.1
         Downloading Flask-1.1.1.tar.gz (625 kB)
       Collecting gunicorn==19.9.0
         Downloading gunicorn-19.9.0.tar.gz (415 kB)
       Collecting opencv-contrib-python>=4.0
         Downloading opencv-contrib-python-<IP_ADDRESS>.tar.gz (148.8 MB)
         Installing build dependencies: started
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
           Preparing wheel metadata: started
           Preparing wheel metadata: finished with status 'done'
       Collecting matplotlib==3.1.3
         Downloading matplotlib-3.1.3.tar.gz (40.9 MB)
       Collecting imutils==0.5.3
         Downloading imutils-0.5.3.tar.gz (17 kB)
       Collecting requests==2.22.0
         Downloading requests-2.22.0.tar.gz (113 kB)
       Collecting scipy==1.5.4
         Downloading scipy-1.5.4.tar.gz (25.2 MB)
         Installing build dependencies: started
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: still running...
         Installing build dependencies: finished with status 'done'
         Getting requirements to build wheel: started
         Getting requirements to build wheel: finished with status 'done'
           Preparing wheel metadata: started
           Preparing wheel metadata: finished with status 'error'
           ERROR: Command errored out with exit status 1:
            command: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpp9jql2k3
                cwd: /tmp/pip-install-iqk9zng4/scipy
           Complete output (171 lines):
           setup.py:460: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /tmp/pip-modern-metadata-8vvfmt5g'), proceeding with generating Cython sources and expanding templates
             warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
           Running from SciPy source directory.
           lapack_opt_info:
           lapack_mkl_info:
           customize UnixCCompiler
             libraries mkl_rt not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
             NOT AVAILABLE

           openblas_lapack_info:
           customize UnixCCompiler
           customize UnixCCompiler
             libraries openblas not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
             NOT AVAILABLE

           openblas_clapack_info:
           customize UnixCCompiler
           customize UnixCCompiler
             libraries openblas,lapack not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
             NOT AVAILABLE

           flame_info:
           customize UnixCCompiler
             libraries flame not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
             NOT AVAILABLE

           atlas_3_10_threads_info:
           Setting PTATLAS=ATLAS
           customize UnixCCompiler
             libraries lapack_atlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries tatlas,tatlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries tatlas,tatlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib64
           customize UnixCCompiler
             libraries tatlas,tatlas not found in /usr/lib64
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib
           customize UnixCCompiler
             libraries tatlas,tatlas not found in /usr/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
           customize UnixCCompiler
             libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
           <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
             NOT AVAILABLE

           atlas_3_10_info:
           customize UnixCCompiler
             libraries lapack_atlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries satlas,satlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries satlas,satlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib64
           customize UnixCCompiler
             libraries satlas,satlas not found in /usr/lib64
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib
           customize UnixCCompiler
             libraries satlas,satlas not found in /usr/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
           customize UnixCCompiler
             libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
           <class 'numpy.distutils.system_info.atlas_3_10_info'>
             NOT AVAILABLE

           atlas_threads_info:
           Setting PTATLAS=ATLAS
           customize UnixCCompiler
             libraries lapack_atlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries ptf77blas,ptcblas,atlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib64
           customize UnixCCompiler
             libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib
           customize UnixCCompiler
             libraries ptf77blas,ptcblas,atlas not found in /usr/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
           customize UnixCCompiler
             libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
           <class 'numpy.distutils.system_info.atlas_threads_info'>
             NOT AVAILABLE

           atlas_info:
           customize UnixCCompiler
             libraries lapack_atlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries f77blas,cblas,atlas not found in /app/.heroku/python/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries f77blas,cblas,atlas not found in /usr/local/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib64
           customize UnixCCompiler
             libraries f77blas,cblas,atlas not found in /usr/lib64
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib
           customize UnixCCompiler
             libraries f77blas,cblas,atlas not found in /usr/lib
           customize UnixCCompiler
             libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
           customize UnixCCompiler
             libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
           <class 'numpy.distutils.system_info.atlas_info'>
             NOT AVAILABLE

           accelerate_info:
             NOT AVAILABLE

           lapack_info:
           customize UnixCCompiler
             libraries lapack not found in ['/app/.heroku/python/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
             NOT AVAILABLE

           /tmp/pip-build-env-jn9d_eos/overlay/lib/python3.8/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
               Lapack (http://www.netlib.org/lapack/) libraries not found.
               Directories to search for the libraries can be specified in the
               numpy/distutils/site.cfg file (section [lapack]) or by setting
               the LAPACK environment variable.
             if getattr(self, '_calc_info_{}'.format(lapack))():
           lapack_src_info:
             NOT AVAILABLE

           /tmp/pip-build-env-jn9d_eos/overlay/lib/python3.8/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
               Lapack (http://www.netlib.org/lapack/) sources not found.
               Directories to search for the sources can be specified in the
               numpy/distutils/site.cfg file (section [lapack_src]) or by setting
               the LAPACK_SRC environment variable.
             if getattr(self, '_calc_info_{}'.format(lapack))():
             NOT AVAILABLE

           Traceback (most recent call last):
             File "/app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
               main()
             File "/app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
               json_out['return_val'] = hook(**hook_input['kwargs'])
             File "/app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
               return hook(metadata_directory, config_settings)
             File "/tmp/pip-build-env-jn9d_eos/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 166, in prepare_metadata_for_build_wheel
               self.run_setup()
             File "/tmp/pip-build-env-jn9d_eos/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 258, in run_setup
               super(_BuildMetaLegacyBackend,
             File "/tmp/pip-build-env-jn9d_eos/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 150, in run_setup
               exec(compile(code, __file__, 'exec'), locals())
             File "setup.py", line 583, in <module>
               setup_package()
             File "setup.py", line 579, in setup_package
               setup(**metadata)
             File "/tmp/pip-build-env-jn9d_eos/overlay/lib/python3.8/site-packages/numpy/distutils/core.py", line 137, in setup
               config = configuration()
             File "setup.py", line 477, in configuration
               raise NotFoundError(msg)
           numpy.distutils.system_info.NotFoundError: No lapack/blas resources found.
           ----------------------------------------
       ERROR: Command errored out with exit status 1: /app/.heroku/python/bin/python /app/.heroku/python/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpp9jql2k3 Check the logs for full command output.
 !     Push rejected, failed to compile Python app.
 !     Push failed

Just as a sanity check,  I tried installing tensorflow followed by tensorflow-cpu to see if having tensorflow installed would satisfy the tensorflow-cpu dependency or if they would both get installed. They both get installed, which is unfortunate because if tensorflow was a superset of tensorflow-cpu we could just list tensorflow-cpu since SciKeras doesn't do anything specific related to GPU.

They both get installed, which is unfortunate

Yes, indeed. That results in oversized heroku deployment and failure. Trying to find  a way with per-requirement overrides but not successful at the moment.

I think maybe a good next step is to open an issue in tensorflow to look for some guidance. Would you like to do that @fcakyon  or would you prefer I do it?

I think you could express the situation better then me as a package maintainer. Would you mind opening the issue?

Sure, no problem, I'll tag you.

@fcakyon  I openend https://github.com/tensorflow/tensorflow/issues/48165

It looks like there was already an issue in tensorflow for the same thing: https://github.com/tensorflow/tensorflow/issues/7166
It seems like indeed the move is to make tensorflow an optional dependency. I think we're just going to have to bite the bullet on this one next major version bump @stsievert

What do you "bite the bullet"?

Sorry, I should have been clearer.
Accept that we will need to make a backwards incompatible change that has its own set of downsides.

Semantic versioning lays out the following:

Given a version number MAJOR.MINOR.PATCH, increment the:
*MAJOR version when you make incompatible API changes,

MINOR version when you add functionality in a backwards compatible manner, and
PATCH version when you make backwards compatible bug fixes.

So sounds like the minor version should be bumped from 0.2.1 to 0.3.0.

Ugh sorry yes, you are right, spaghetti in my brain. I meant minor. So what you are saying is spot on.

@adriangb thats great news!

Yep! Just decided to bite the bullet on it... If you can test off of master and confirm this fixes things for you, that'd be much appreciated!


the predicted gas is so small

hi,
I trained a model and use this to test, but the predicted throttle is so small, and the speed of the car is so small. Why this happen?

@margonotmango Hey, this means that your model didn't learning anything at least for the throttle. What about the other predictions? What is the final loss? which code you utilized in this repo to train the model? And, if you check the TODO, you will find out you have to make some minor changes to make everything work like a charm. I believe those TODOs are necessary for converging to a very good model.

hi, i have also met this problem, the loss is 3.53621,do you have solved this problem?

Hi, I re-collected my data so that the value distribution of gas is similar to the numerical distribution of carla

@Warsin
Hi, I re-collected my data so that the value distribution of gas is similar to the numerical distribution of carla


[Event request] Set additional filters in CalculateTotals on page 396 "Sales Shipment Statistics"

We have extended the Sales Line Type with a value which is a kind of "rich" comment line. Any value for lines with that sales line type should not be included in the Sales Shipment Statistics. To be able to skip these lines I would like to have the ability to set an additional filter on the SalesShptLine variable.
Below my suggested code change.
Existing code:
    local procedure CalculateTotals()
    var
        SalesShptLine: Record "Sales Shipment Line";
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeCalculateTotals(Rec, LineQty, TotalNetWeight, TotalGrossWeight, TotalVolume, TotalParcels, IsHandled);
        if IsHandled then
            exit;

        SalesShptLine.SetRange("Document No.", "No.");
        if SalesShptLine.Find('-') then
            repeat
                LineQty += SalesShptLine.Quantity;
                TotalNetWeight += SalesShptLine.Quantity * SalesShptLine."Net Weight";
                TotalGrossWeight += SalesShptLine.Quantity * SalesShptLine."Gross Weight";
                TotalVolume += SalesShptLine.Quantity * SalesShptLine."Unit Volume";
                if SalesShptLine."Units per Parcel" > 0 then
                    TotalParcels += Round(SalesShptLine.Quantity / SalesShptLine."Units per Parcel", 1, '>');
                OnCalculateTotalsOnAfterAddLineTotals(
                    SalesShptLine, LineQty, TotalNetWeight, TotalGrossWeight, TotalVolume, TotalParcels, Rec)
            until SalesShptLine.Next() = 0;
    end;

Suggested code:
    local procedure CalculateTotals()
    var
        SalesShptLine: Record "Sales Shipment Line";
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeCalculateTotals(Rec, LineQty, TotalNetWeight, TotalGrossWeight, TotalVolume, TotalParcels, IsHandled);
        if IsHandled then
            exit;

        SalesShptLine.SetRange("Document No.", "No.");
        OnBeforeSalesShptLineFind(Rec, SalesShptLine);
        if SalesShptLine.Find('-') then
            repeat
                LineQty += SalesShptLine.Quantity;
                TotalNetWeight += SalesShptLine.Quantity * SalesShptLine."Net Weight";
                TotalGrossWeight += SalesShptLine.Quantity * SalesShptLine."Gross Weight";
                TotalVolume += SalesShptLine.Quantity * SalesShptLine."Unit Volume";
                if SalesShptLine."Units per Parcel" > 0 then
                    TotalParcels += Round(SalesShptLine.Quantity / SalesShptLine."Units per Parcel", 1, '>');
                OnCalculateTotalsOnAfterAddLineTotals(
                    SalesShptLine, LineQty, TotalNetWeight, TotalGrossWeight, TotalVolume, TotalParcels, Rec)
            until SalesShptLine.Next() = 0;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeSalesShptLineFind(SalesShipmentHeader: Record "Sales Shipment Header"; var SalesShptLine: Record "Sales Shipment Line")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52721.


@conda-forge-admin, please rerender

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/traceback2-feedstock#5.


en: fix wrong section number

What is changed, added or deleted? (Required)
fix wrong section number

Which DM version(s) do your changes apply to? (Required)

[ ] master (the latest development version, including v2.0 changes for now)
[x] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

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

LGTM. Should we also change it in master?

OK, please edit label for me, I don't have permission

OK, please edit label for me, I don't have permission

No cherry-pick 2.0 Label. You may need to manualy cherrypick it after merged.

/run-all-tests

/merge


Invoice has name of approver and date stamp

Description
Manipulate PDF invoice submitted by vendor with the approver information and date stamp

On the 7th Sept standup, we discussed that there would be performance issues with invoice manipulation and invoices batch download(zip). We will need celery or background service to use these features fluently or else bigger files(files in mbs) may create issues for other requests.
However, we decided that we could give invoice manipulation for individual files a try and test how it would work. But for batch download(invoices zip), we can put it on hold and may try it later async or with a background service.

@fourthletter please share the avg. sizes of the pdfs and also number of pages they have in general. Also, what is the information that needs to be added to the last page of the invoice.

@frjo let me know if it fine for us to us pypdf for this:
See:

Adding annotations: https://pypdf.readthedocs.io/en/stable/user/adding-pdf-annotations.html
PDF streaming, reading/writing to cloud: https://pypdf.readthedocs.io/en/stable/user/streaming-data.html

@theskumar pypdf looks good and we already have it installed in Hypha. It is a dependency of xhtml2pdf.

@Techslammer please add the pdf format and text.


Fixed #153:  System.ArgumentException when clicking on Properties

I fixed this issue.
According to MSDN documentation, the active document property throws an exception when the project Properties window is opened.
I added exception handling to fix this. It should solve the issue.

@KarolAntczak Thanks for you fix.
I confirmed this #153 was fixed


Proposal: Add WASAPI support (Low priority)

We should be able to implement WASAPI rather easily.
https://managedbass.github.io/api/ManagedBass.html
I tried for a few hours and I hit the wall hard but it's probably because I'm not skilled enough. I could ask a million question but why bother when somebody else can do it for a tiny fraction of time one would spend answering me...
While Directsound only adds about 10 milliseconds of delay in most desktops, some laptops and tablets come with weird OEM-customized sound driver implementation that can add hundreds of milliseconds of delay depending on how poorly written the driver is. WASAPI is the only hope for these people.

You're welcome to submit a WASAPI implementation. We don't need proposals like this open though.

You're welcome to submit a WASAPI implementation. We don't need proposals like this open though.


Add mirror html template

ping @ewdurbin

@nlhkabu all yours now :)

Just reviewed the page, it looks fine as is :)
@ewdurbin I notice that the timezone isn't loading again?

Time stamp will only load on a mirror, as it requires the last-updated file to exist.

@ewdurbin I assume this needs to be a full stand-alone HTML page (not using the base template)?  The CI failures all seem to relate to the fact that this is not a standard Jinja template (inline CSS, no blocks, etc.). Do you have any advice on how to get around this?

@nlhkabu could it be as simple as moving the static page into warehouse/static/html/mirror.html?


help can't seed

index.zip

WebTorrent version: Newest
Browser name/version (if using WebTorrent in the browser): Chrome/newest

I'am just learning javascript and i see a lot of potential in webtorrent.
I cant seed. Can someone give me a example how to seed with webtorrent not using node.js but with the min.js file.
thanks

Change the line 10 to:
var x = document.getElementById("myFile").files[0]

That should make it work.

thank you it worked!!! you made my day :+1:

can you maybe explain why this code worked en the previous didnt

I recommend you to look at http://www.w3schools.com/jsref/prop_fileupload_files.asp and https://github.com/feross/webtorrent/blob/6b7bd3cfb48019a02be50d72c814038f3e1a47c2/index.js#L278


vuex modules error unknown action type

I have used vuex mudules  but when i used in page dispatch the action that defined in the module,this error happend: unknown action type. then, i change the action to be defined in index.js, it works correctly.
so,what happend?

Can you post snippets of the code @ouyangxiaoai?

directory:
example.js:

index.vue:
@@@@

@pauldariye

try dispatch('example/getExampleList')

@clarkdo wow~ it works! thanks a lot!


test: Fix tracking VMs

Cluster.Boot calls DumpLogs if bootstrapping fails, so the booted instances need to be added to Cluster.defaultInstances as soon as possible so that they are available for grabbing logs (and so that DumpLogs does not panic accessing Cluster.defaultInstances[0])

LGTM


Only set 'syn-sync' when we're the main syntax

This should avoid problems when the GraphQL syntax is embedded within an
outer syntax. In those cases, we don't want to change the syntax sync
setting.

I tested the commit but it didn't solve the problem. I looked at other syntax plugins and it seems usual to set syn sync in the syntax script, so I made another PR which skips this part if the syntax is included as a nested syntax: https://github.com/jparise/vim-graphql/pull/73

Closing in favor of #73 73


Unable to start an .exe application that is using .exe.config

Hello,
I've been trying to simply start an application using Application().start() method with no success, although the python code always finishes with exit code 0 and no errors. Tried both UIA and WIN32. The application has the .exe file and the configuration stored in .exe.config, and was written in C# (works perfectly when launched by clicking on .exe file). Pywinauto seems to be configured properly as it is able to start other ,,common,, apps like Total Commander etc. I always run my Pycharm session as Admin.
The code:
from pywinauto.application import Application

app = Application().start(r"D:\FILES\003_Test_MSS_NG\test_automation\SIM\SimuLAN.exe")

Thanks for any help
F. Spila

Hi, it seems that I found the problem.
When I lanched the Python script with console I found out that the application fails to load an icon image (this minor error obviously does not stop the .exe file from execution when launched by clicking on it in Windows, but it DOES block the execution when I use pywinauto). Now when I've rebuilt the .exe fixing the error, everything works perfectly.
Just for the record, is there a way to somehow ignore such Exceptions raised by the .exe file?
Thanks FS

@filipovyfusky probably built-in module subprocess can behave the same way as Windows explorer.exe, but I can't check it because the issue technical description is insufficient to reproduce on my side.
After starting the process by subprocess.Popen pywinauto can attach to the existing app using method Application(backend="<win32|uia>").connect(process=pid) (it has much more possible arguments to connect by executable file name, by main window title etc).

Hi, it seems that I found the problem.
When I lanched the Python script with console I found out that the application fails to load an icon image (this minor error obviously does not stop the .exe file from execution when launched by clicking on it in Windows, but it DOES block the execution when I use pywinauto). Now when I've rebuilt the .exe fixing the error, everything works perfectly.
Just for the record, is there a way to somehow ignore such Exceptions raised by the .exe file?
Thanks FS

Hello,
I am facing the same problem as you did. When I try to launch my app with Pywin, it shows up on the task manager then goes into a suspended state. No errors are thrown. What do you mean by the application fails to load an icon image? How would I know if I am facing the same issue?
Thank you very much.


feat: add geolocation data to Netlify Dev

Summary
Adds geolocation data to Netlify Dev when using Edge Functions. It retrieves the geolocation data from https://netlifind.netlify.app/ and caches it locally for 24h, to avoid making a request every time the app starts.
When the request fails, or when CLI is used with the --offline flag, we use a mock location (San Francisco).
A new --geo flag is added to the dev command with the following values:

cache (default): Uses the geolocation cached locally if it's not older than 24h. Otherwise, it retrieves it from the API.
update: Retrieves geolocation data from the API, even if there is a cached version.
mock: Does not make any requests to the API and uses the mock location.

It might be good to add a check for user-agent in the API, to stop somebody deciding to use it as a free, unlimited geoip service

It might be good to add a check for user-agent in the API, to stop somebody deciding to use it as a free, unlimited geoip service

The service will return geolocation data only for the requesting IP, as opposed to accepting an IP address as input, so it will be less useful as a service? Also, I'm not sure that checking the UA will help, since it can be easily spoofed.

The scenario I'm thinking about is somebody using it in their site to get the visitor's IP. It wouldn;t be spoofable then as it's the user's browser.

I do forget that CORS exists for purposes other than wasting mornings on broken header configurations.

It's not quite the same, but // @ts-check with JSDoc types are better than nothing.


Broken link to Geo package docs

Top of page, doc links to this address: https://docs.influxdata.com/flux/v0.x/stdlib/experimental/to/geo
I believe the indended is: https://docs.influxdata.com/flux/v0.x/stdlib/experimental/geo/

Thanks, @samhld
@lwandzura here we can search for all occurrences of /experimental/to/geo and replace with /experimental/geo


Added example_async file

Signed-off-by: saimedhi<EMAIL_ADDRESS>

Hello DB, please let me know if you want any other changes. And also do I need to add this file link in ReadMe.

I am surprised you can just run this example under pipenv. Can you? There are likely needed changes in Pipfile for dependencies. Maybe move the existing Pipenv* and example.py into sync/..., add another async/... folder, and document both in README?

https://github.com/dblock/opensearch-python-client-demo/commit/5ed7b24a4dce7e4e04ccc4ae68916b718b343333 has working code against opensearch-py HEAD. Needs an extra and asyncio in Pipfile.
If you add a refresh parameter, you'd hit https://github.com/opensearch-project/opensearch-py/pull/274
I'll merge that into this demo once we have serverless working, but feel free to reorganize these samples into maybe 2 directories in this PR if you have time.

Hello DB, I reorganized samples into sync and async folders and made changes to Readme file. Please let me know if I need to make any other changes.

Merged via https://github.com/dblock/opensearch-python-client-demo/commit/49edc2215b02e76b588ed4461d75b264fa1daefa and updated async demo to support serverless, thanks!


Adding Ready Count

I wanted to offer this change, this is something I would find very helpful when working with a fleet of clusters is seeing of the nodes on each cluster how much are currently Ready. It would be a great way to quickly find clusters that have downed nodes. I ran a quick test, but I don't have access to any clusters with non-ready nodes currently.

That's an excellent idea, thank you @baderbuddy!


Fix datastore endpoint

Coverage remained the same at 85.634% when pulling df86a444de86aefbd5b9cbb198976badc8438052 on ajkannan:fix-endpoint into e1a17f0e069b5b3d48e36890fcb18a02d675f898 on GoogleCloudPlatform:master.


Return full result on IBCPacketRecv

Merge after #275
This exposes more info for a better error handling with ibc v2 as per https://github.com/CosmWasm/wasmd/issues/697

@alpe happy for a review. this is what you requested I believe?
I could tag a beta3 after merge


Unable to update Github repos due to timeout error

Same thing happening for me, sourcerer successfully indexes 2 repositories and then hangs and indexing of all other repositories on github fails due to Timeout error

Same issue with me. index to 2 repos. then hangs and then timeout error


Set batch_size during conversion

How do i set the batch size when converting the model to tensortrt using
tflite2tensorflow \
--model_path tflite_from_saved_model/model_float32.tflite \
--flatc_path ../../flatc \
--schema_path ../../schema.fbs \
--string_formulas_for_normalization 'data / 255.0' \
--output_tftrt

https://github.com/PINTO0309/openvino2tensorflow#5-2-saved_model-to-tflite-convert

Thanks @PINTO0309  i had completely missed it, my bad :/