Fix BoundsError

Fixes #3.

Thanks for the PR! This might be an off-by-one error though, because I basically copied the code from Python, see here:
https://github.com/cbrnr/sleepecg/blob/main/src/sleepecg/heartbeats.py#L449
So instead of adding an additional constraint, I think it would be good to try to stay as closely as possible to the Python implementation. Unless of course that implementation also suffers from the issue you are having with some of your datasets. Could you perhaps try and see if the Python implementation works for you?

The bug occurs unfortunately frequently, if you process only  short periods of ecg recordings.
The Python implementation works, because  searchback_index is always  >= 1.  Thus, array[searchback_index-1] does not cause this an error.
In Julia, however, indexing starts with 1 and not 0.

If you want to stay as close as possible to the Python implementation, you need to ensure in Julia at least that searchback_index  is never starts searching with a value  '<2'. because line 453
See here my updated pull request to make your script running with all data.
searchback_index = best_searchback_index < 2 ? 2 : best_searchback_index

Yes, the reason is definitely an error due to Julia being 1-indexed. However, I'm not sure if limiting the index like this is the best solution. Would not changing lines 53-54
    peak_index = -refractory_samples + 1
    previous_peak_index = -refractory_samples + 1

to
    peak_index = -refractory_samples + 2
    previous_peak_index = -refractory_samples + 2

perhaps also solve the issue? The + 1 is directly taken from Python, so given that this represents an index computation, I think it should be adjusted to + 2.

Yes, that fixes the issue as well and, I agree, it's the best solution. I changed my pull request accordingly.
Thanks a lot and sorry, for my late response.

Great! I would like to separate PRs from releases though, so could you please rebase, remove the version bump, and add a changelog entry under the [UNRELEASED] section? Something like
### Fixed
Fix off-by-one index error in `searchback_index` ([#4](https://github.com/cbrnr/HeartBeats.jl/pull/4) by [Oliver Lindemann](https://github.com/lindemann09))

Once this PR is merged I'll cut a new release.

I removed the version bump and updated the  CHANGELOG.md.

Thanks @lindemann09! I'll make a new release soon!


[Query] "Error: Execution reverted..." error appears on tapping “Test sendTransaction” button in browser on use-contractkit screen

Frequency: 100%
Repro on build version: Android Internal Build V1.20.2, Test flight Build V1.20.2
Browser: Microsoft Edge V 93.0
Repro on devices: Redmi Note 8 (10), iPhone 12 (14.7.1)
Does not Repro on build version: Android Internal Build V1.20.2
Does not Repro on devices:  Redmi Note 8 (9)
Pre-condition:

User must have installed the valora app & logged into app.
User must have opened URL https://use-contractkit-git-alexbharley-fix-wc-2-alexbharley.vercel.app/ in browser.
User must should have connected wallet to Valora successfully.

Repro Steps:

Launch the app & background the app.
Open browser where wallet connect screen appears.
Tap on “Test sendTransaction” button & observe

Current Behavior: "Error: Execution reverted..." error appears on tapping “Test sendTransaction” button in browser on use-contractkit screen
Expected Behavior: "Error: Execution reverted..." error should not appear on tapping “Test sendTransaction” button in browser on use-contractkit screen
Investigation: 1. On tapping “Test signTypedData” & “Test signPersonal” buttons and allowing from the valora app and again navigating to browser “Something went wrong” error appears.


TrustedNetworkDetection not working?

We use local dns-domain like "company.local" inside our corporate network. I set TrustedNetworkDetection to this domain, but laptops still try to connect with VPN every 5 minutes, as i see in event log (RasClient event 20227).
Is i`m do it wrong?

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

ID: 06629f78-c4b1-4345-578c-596e92dff977
Version Independent ID: e3686eef-c2c6-5a21-ac76-6bac575e7cfc
Content: Configure the VPN device tunnel in Windows 10
Content Source: WindowsServerDocs/remote/remote-access/vpn/vpn-device-tunnel-config.md
Product: windows-server-threshold
GitHub Login: @shortpatti
Microsoft Alias: pashort

Yes, i forgot, RasClient try to connect VPN when laptops are in corporate network already.

Hi @3apa3a-b-ta3e, the engineering team is working on a device tunnel bug.  You can find more details in this doc bug.

@shortpatti, i read that tread, but nothing there about my situation, it`s another bug or something.
Ok, seems to i found yet another bug (or bugs) - after i move laptop to the external network (simulate roadwarrior) device tunnel being triggered and connect to my VPN-server (its not MS RRAS, but working good). Ok, then i connect back to corporate network (Wifi or cable, doesnt matter) without reboot - device tunnel is still showed as active. VPN-server said that connection is brocken, but Windows still keep it up, with all mapped routes, of course. Nothing is worked until reboot Windows.
Next bug - device tunnel connection from Windows 10 (1803) is triggered, routes applied, i see it`s status, packets are sended to interface - but no packets return back (zero at "Received"). Network and Sharing center shows my VPN-connection as "Identifying..." for a minute or two, then changed to "Public network". If i wait another two minutes - status changed to "Domain Network" and in same time packets start running in both direction - everything is good now, connection worked.
I test with another, not domain joined Windows 10 and 2016, just add certificate to machine store and create very similar connection by hands - everything is worked without 5 minutes delay.
How i can fix it? Network Location Awareness make this problem or what?

@MihaiSP, can you take a look at this issue?  This is one of them that I mentioned a few weeks ago.

@shortpatti, i read that tread, but nothing there about my situation, it`s another bug or something.
Ok, seems to i found yet another bug (or bugs) - after i move laptop to the external network (simulate roadwarrior) device tunnel being triggered and connect to my VPN-server (its not MS RRAS, but working good). Ok, then i connect back to corporate network (WiFi or cable, doesnt matter) without reboot - device tunnel is still showed as active. VPN-server said that connection is broken, but Windows still keep it up, with all mapped routes, of course. Nothing is worked until reboot Windows.
Next bug - device tunnel connection from Windows 10 (1803) is triggered, routes applied, i see it`s status, packets are sended to interface - but no packets return back (zero at "Received"). Network and Sharing center shows my VPN-connection as "Identifying..." for a minute or two, then changed to "Public network". If i wait another two minutes - status changed to "Domain Network" and in same time packets start running in both direction - everything is good now, connection worked.
I test with another, not domain joined Windows 10 and 2016, just add certificate to machine store and create very similar connection by hands - everything is worked without 5 minutes delay.
How i can fix it? Network Location Awareness make this problem or what?
Also, can you remove "duplicate" tag?

I have this same set of issues - were you able to find any resolution?

I have this same set of issues - were you able to find any resolution?

@efbertos, no.
First issue with trying to connect even on internal network - never resolved.
Second, with 5 minutes delay - looks like it`s Kaspersky Endpoint Security issue, but even with disabled firewall and stopped services i cannot solve it. Only by stoping ALL Kaspersky services AND DRIVERS traffic start to pass without delay. Or complete uninstall KES.

Hi everyone!
As maybe you know in windows 1709 was an issue  with Device tunnel connection
Event ID: 1000
error message: Faulting application name: svchost.exe_RasMan
Then in 1803 MS resolved this problem but in 1903 this problem appeared again.
Who knows about this issue and resolved that?

@3apa3a-b-ta3e - Looks like you were right. KES was preventing me from connecting the first time around. I uninstalled and was able to connect consistently. The problem I am seeing now is the "Wan Miniport (IKEv2)" interface doesn't disconnect when I am on the trusted network. Heck I can even turn off wifi and unplug ethernet and the interface will sometimes stay connected. This of course leave the routes in for the interesting traffic resulting in packets being black-holed.

KES was preventing me from connecting the first time around.

Told ya :-). I faced this issue a year ago, then (as a corporate customer) i`v created ticket INC000009388250 to Kaspersky support, they ask me about a tons of  logs, ask me to to this and that, install some fixes, send them tons of logs again - NOTHING! Just nothing helps.
I gived up and never try to do that again.

The problem I am seeing now is the "Wan Miniport (IKEv2)" interface doesn't disconnect when I am on the trusted network. Heck I can even turn off wifi and unplug ethernet and the interface will sometimes stay connected. This of course leave the routes in for the interesting traffic resulting in packets being black-holed.

Yeah, different install - same ... issues.
Looks like MS drop support for this feature, and this makes me sad because i`m really enjoy that, the idea was actually an excellent.

Hi guys - does anyone have any more info on this issue?  We are experiencing exactly what @3apa3a-b-ta3e and @efbertos described above.

Hi everyone!
As maybe you know in windows 1709 was an issue with Device tunnel connection
Event ID: 1000
error message: Faulting application name: svchost.exe_RasMan
Then in 1803 MS resolved this problem but in 1903 this problem appeared again.
Who knows about this issue and resolved that?

This issue was apparently fixed in KB4505903.

Hello @3apa3a-b-ta3e, @tommagumma, @efbertos. For your reports regarding issues in Trusted Network Detection, would you be able to provide feedback and diagnostic logs using the Windows Feedback Hub app? In order to provide diagnostic logs you might need to enable “full diagnostic data” on your settings app. Here are instructions on how to submit feedback for VPN issues:

Open Feedback Hub app.
Select Feedback on the left side menu.
Click “Add new feedback”.
Add a title and details. Please make a note about your feedback title so that you can share it with us once feedback is submitted.
Select Problem.
Set problem Category: Network and Internet and subcategory: Connecting with a VPN client.
Click “Recreate my problem”.
Please leave the “Include data about Connecting with a VPN client (Default)” selected. Leaving “Include screenshots of each step” selected is also be helpful.
Click “Start capture”.
Please recreate your problem (for example, follow the steps you usually do when you expect Trusted Network Detection to disconnect the VPN interface).
Click “Stop capture”.
Click “Submit” and wait until you receive confirmation that diagnostics were submitted correctly. If asked, please mark that this is a new problem.

Please let us know when you have submitted your feedback. If possible, share its title.
Here are instructions on how to enable full diagnostic data:

Open Settings app.
Go to privacy.
Select Diagnostics & feedback.
Select “full” under Diagnostic data.

It is important that diagnostic logs are collected so that the issue can be investigated faster.
Here is a short video on how to send feedback (notice this does not show how to recreate your problem):
Also, here is the Feedback Hub app.
Thank you

@jabamsp we have a ticket open about this issue and cannot make any progress on this matter. Surely the official github should suffice for feedback. It's pretty clear to me something is wrong with the logic for trustednetworkdetection where it's not covering all 'network change' scenerios.
Wi-Fi to Wi-Fi network change seems to work best for trusted network detection. Disconnect from WiFi, or loss of internet from the wifi ssid while staying connected to the ssid does not work properly.

Hi guys - does anyone have any more info on this issue? We are experiencing exactly what @3apa3a-b-ta3e and @efbertos described above.

Did you manage to find anything? I can't get Microsoft support to do anything about this.  This is a complete joke.

@efbertos nope, we are still none the wiser.  We haven't had time to engage MS support properly yet so for now we are just not bothering with Always On.  It's a real shame!


[Impeller] font-icons rendering issue

I have found out an issue with rendering font-icons.
Tested it on master 3.7.0-15.0.pre.16, ios 16.1, iphone 13 pro.
Steps to Reproduce
Sample repo available here, required resources are inside assets folder.
https://github.com/delfme/impeller-font-icons
Main.dart
import 'package:flutter/material.dart';
import 'package:impeller_issues/app_icons.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
        fontFamily: 'Poppins',
      ),
      home: const MyHomePage(title: 'Font-icons rendering issue'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [

                const Padding(
                  padding: EdgeInsets.all(8.0),
                  child: Icon(
                    AppIcons.navbar_stories_sel,
                    size: 35.0,
                  ),
                ),
                const Padding(
                  padding: EdgeInsets.all(8.0),
                  child: Icon(
                    AppIcons.navbar_instant_sel,
                    size: 35.0,
                  ),
                ),
                const Padding(
                  padding: EdgeInsets.all(8.0),
                  child: Icon(
                    AppIcons.search,
                    size: 35.0,
                  ),
                ),
                const Padding(
                  padding: EdgeInsets.all(8.0),
                  child: Icon(
                    AppIcons.activity,
                    size: 35.0,
                  ),
                ),
              ],
            ),
          ],
        ),
      ),
    );
  }
}

Expected results:
This is the correct rendering of sample font-icons, there is no issue if Impeller is not enabled.

Actual results:
Font-icons are rendered wrongly when Impeller is enabled, they look ticker and not sharp.

Flutter doctor:

[✓] Flutter (Channel master, 3.7.0-15.0.pre.16, on macOS 12.2 21D49 darwin-arm64, locale en-IT)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

I might be wrong, but maybe this issue is somehow related to https://github.com/flutter/flutter/issues/118614

With impeller:

Without impeller:

I don't see much of a difference @delfme
I tried on iOS simulator (iPhone 13, OS 15.2)

Hi @darshankawar it seems issue occurs only on real device. I tested on ios 15.2 simulator and it doesnt occur there also for me

I see, yes, noticeable difference as reported running on iPhone 6s.

 master flutter doctor -v

[!] Flutter (Channel master, 3.7.0-22.0.pre.9, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.7.0-22.0.pre.9 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 780563ce05 (4 hours ago), 2023-01-18 09:55:33 +0900
    • Engine revision f790304409
    • Dart version 3.0.0 (build 3.0.0-122.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

Thanks for the report, we're tracking this issue in the following bug. (Font-icons use the same codepath as regular fonts)
Duplicate of https://github.com/flutter/flutter/issues/117428

Sorry, should probably be https://github.com/flutter/flutter/issues/118613 . These are the same issue


Lightcolor for Node-RED

Hello,
i want to ask how can i use the light color in node-red. I need a rgb value.
Thanks

Hi.
When you say "Alexa set the bedroom light to Red" the Emulated Hue device will send the message:
msg : Object
object
on: true
bri: 254
percentage: 100
hue: 43527
sat: 200
xy: array[2]
0: 0.13550301400290363
1: 0.03987867049354716
ct: 199
rgb: array[3]
0: 54
1: 57
2: 255
colormode: "hs"
meta: object
payload: "on"
deviceid: "abc"
topic: ""
_msgid: "abc.123"

If you are using Home Assistant like me then this is no good because the Home Assistant light service expects the RGB value in the msg.payload.data object.
So you will need to pass the output of the echo device into a function node. With something similar to this:
var data = {data:
    {
        "transition":0,
        //"brightness": msg.bri,
        "brightness_pct": msg.percentage,
        "rgb_color": [msg.rgb[0], msg.rgb[1], msg.rgb[2]],
        //"color_name": ,
        //"hs_color": [msg.hue, msg.sat],
        //"xy_color": [msg.xy[0], msg.xy[1],
        //"color_temp": msg.ct,
        //"kelvin": ,
        //"white_value": ,
        //"brightness_step": ,
        //"brightness_step_pct": 10,
        //"profile": ,
        //"flash": ,
        //"effect": "
    }};

//var data = {"data":{"transition":"1","brightness_pct":"100"}};

msg.payload=data

return msg;

This works by reading msg.percentage from the original message and also the RGB values and then creating a new data object and returning the amended payload.
msg :
object
domain: "light"
service: "turn_on"
data: object
transition: 0
brightness_pct: 100
rgb_color: array[3]
0: 54
1: 57
2: 255
entity_id: "room.light"

Regards,
Tom

Here's my function node code. Works with RGB Color and Colour Temperature:
if (msg.payload === "on") msg.payload ={"service": "turn_on",
    data:
    {"rgb_color": msg.rgb, "brightness_pct": msg.percentage}
};
if (msg.payload === "off") msg.payload = {"service":"turn_off"};

else if (msg.colormode === "ct")
msg.payload =
{
    "service": "turn_on",
    data:
    {"rgb_color": [254,254,254], "brightness": msg.bri}
}
return msg

In fact I did a whole series for Alexa | Home Assistant | Node-Red... but, here's the Node-Red tutorial:
https://www.youtube.com/watch?v=l1as3tYVy64&list=PLWRTMby105biP9gE08iGLab1FP6n7_mka&index=2


[Feature request] Add a function to execute a vendored binary/script (aka composer exec)

If I want to run a command from a vendored package (think: phpunit, phpstan, etc.), I have to prefix the command line by php vendor/bin/... which is a bit cumbersome.
// In the Castor documentation...
exit_code(["php", "vendor/bin/phpunit", "--filter", "MyTest"]);

// A better alternative for my use cases...
exit_code(["composer", "exec", "--", "phpunit", "--filter", "MyTest"]);

So I added this helper to all my projects:
// Executes a vendored binary/script.
function _exec(string $command, string ...$args): int {
    return exit_code(["composer", "exec", "--", $command, ...$args]);
}

// Then use it in a task...
return _exec("phpunit", "--filter", "MyTest");

It would be cool if this feature was built in.

Not quite exactly what you want, but you can use the run_phar function that should use the same php that was used for castor to run a php script, it even work on static castor binary (so it works everywhere)

And for this issue, i don't think we should provide default like this, we already handle a lot of commands, writing those kind of helper works really well for end user i don't think we want to handle all use cases.

OK! Not a big deal to add these 3 lines to each project.


Udev rules for dev environments

For some dev envronments, there is a use case to install udev rules for non-root device access (MODE="0666") to specific devices such as a particular arduino board.
The current nixos-specific workarround is to use services.udev.package = [ pkgs.platformio ];.
However, this does not properly encapsulate the desired state of the development shell.
Maybe this ultimately falls into the same problem category as managing PKI or DNS for development environments on the host system.
Further links:

https://wiki.archlinux.org/index.php/udev
https://man7.org/linux/man-pages/man7/udev.7.html

  The udev rules are read from the files located in the system rules
  directories /usr/lib/udev/rules.d and /usr/local/lib/udev/rules.d,
  the volatile runtime directory /run/udev/rules.d and the local
  administration directory /etc/udev/rules.d. All rules files are
  collectively sorted and processed in lexical order, regardless of the
  directories in which they live. However, files with identical
  filenames replace each other. Files in /etc/ have the highest
  priority, files in /run/ take precedence over files with the same
  name under /usr/. This can be used to override a system-supplied
  rules file with a local file if needed; a symlink in /etc/ with the
  same name as a rules file in /usr/lib/, pointing to /dev/null,
  disables the rules file entirely. Rule files must have the extension
  .rules; other extensions are ignored.

To manipulate potential candidate destination at /run/udev/rules.d, root access seems required (who would have thought :wink:):
➜  ~ ls -la /run/udev/
drwxr-xr-x root root 160 B  Mon Dec 21 11:15:39 2020  .

/cc @CarlosLuqueC

yeah, that's rather unfortunate. I think this fits into "we need a system configuration change tool" category, which is a separate but complementary project.

Do you want me to close? Or may I suggest a delegate-to-complementary-tooling flag?

what would delegate-to-complementary-tooling flag achieve that a script in shellHook (not sure what the equivalent is in devshell) or setting up a script in commands can't do?

My bad. Wording has been deficient. Updated my previous post. Thanks for making me realize.

Let's keep those around, it doesn't hurt to have the periphery of the project also be documented through issues like that.


fix(concurrency): ensure panel stays closed after blur

This fixes a concurrency issue with closing the panel by running an additional tracked promise without triggering a search.
Problem
When a user types a query that triggers network requests (for example, to Algolia), these requests could sometimes take longer to resolve (e.g., the service is slow, the network is slow). In the meantime, the user could decide to manually close the panel. However, a late resolving request could reopen the panel.
This doesn't make sense from a functional perspective: if you've purposefully closed the panel, it should be considered a cancellation.
The issue comes from late promises in onInput performing asynchronous state updates that cancel previous ones. This is a similar problem to #654.
Solution
Since we can't avoid asynchronous and potentially late state updates, we can schedule another one when we close the panel by calling onInput with { nextState: isOpen: false }. When a user closes the panel, it creates a new concurrent-safe promise that will follow any running ones and close the panel.
To avoid triggering an extra request when we do this, we make sure to return early (before calling getSources) in those situations.
This PR introduces a new isRunning private method on the function returned from createConcurrentSafePromise to know whether there are running promises. This is useful to control when we need to skip a search, or when to schedule the extra onInput call.
https://user-images.githubusercontent.com/5370675/143658311-c5410630-f28d-40b9-a276-ff586aef90f0.mov
I've left a couple inline review comments to explain some implementation details.
Next steps
No major new concept is introduced to fix this issue, but using onInput to schedule a later state update is a workaround. In the future, if we need to do this elsewhere, we might want to introduce a generic helper to do it (e.g., onAsyncUpdate(maybePromise, nextState)).
fix #806

@francoischalifour Yes let's do it (I left comment over there and there are conflicts to merge beforehand).


Reserved wheel greater than circumference of circle for a while when add a node

Version: Master 2.2 (3/4/19)
What kind of request is this (question/bug/enhancement/feature request):
Bug, Minor
Steps to reproduce (least amount of steps as possible):

Have a cluster with 1 node. Enable monitoring. View the Cluster page to see the wheels.
Add a node, quickly go back to the cluster page while the node is provisioned.

Result:
After a while you will see the CPU reserved wheel will probably circle around itself especially if your nodes only have a couple of CPUs. It looks like we don't have prometheus information yet so it's hard to see in the picture but we have 1.7 of 4 Reserved and 0.4 of 2 Used. This disparity likely is what causes the issue.

Once prometheus is up and we have info this is fixed without a refresh of the page. But it can look like this for 30-60 seconds.
Other details that may be helpful:
Master 2.2 (3/4/19) on HA Setup

What's happening is that as soon as the node appears we know how much is reservable, but it takes some time for Prometheus to have data for it.  (You can see below the hover that it's 1.7 of 4 reserved, so another 2gb node appeared)
So the scale of the wheel should go from 0 to max(usable, reservable) (in this case max(2,4) == 4).  That will make the "used" part only take up half of the wheel and its gray area stop at the top in this case, temporarily until prometheus stats come in.
I also think we should probably drop the black outline thing and the center dot in general.  They're too busy and nobody knows what they mean.  How about just a small marker at the min/max individual node point, if they're at least a far enough away from the average to be fully displayed? (maybe 5% different?  You'll need to play with it)
Top-quality artist's rendering:

@loganhz FYI I am now seeing this on latest master staying. It will never go away unless I manually refresh or leave the page and come back. Probably not completely necessary for v2.2 but if it's an easy fix would be nice to fix in my opinion:

sure, we will look at it today.

@davidnuzik fixed and moved into 2.2

This isn't the fix I was taking about, you're just capping it at 100%. Both wheels should be based on the same scale, from 0 to max(2,4) = 4 for the CPU example.

Then the inner wheel gray should end at the top of the wheel (2 is half of the max of 4) because the rest is not possible (yet), and the green fill 54% of that gray area (which is the same as 1.1/4 if the whole wheel).

Move it out from 2.2 as there is still something need to be changed.

Close it as the outline has been removed


Ionic 3/Angular 4: angular/platform-server, Angular Universal, server-side rendering, SEO

Ionic version:

[ ] 1.x
[ ] 2.x
[x] 3.x

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] support request

Current behavior:
No support for server-side rendering.
Expected behavior:
Server-side rendering with angular/platform-server (previously Angular Universal) to optimize initial load time and make a PWA SEO-ready.

Other information:

@jgw96, you mentioned in your PWA blog post;

We are currently considering support for server-side rendering to get a blazing-fast first render and convenient hosting with the Ionic Cloud.

In the Ionic Framework Meeting Notes: 2017-03-06 is mentioned:

Ionic 3 coming together with Angular 4, improved start-up time via lazy loading pages

Could you please share your plans for server-side rendering support?
Is there a chance to get this ready for 3.0 or later 3.x?
Can you already estimate whether this may become available until beginning of Q3/2017?
Thanks a lot! Any insights to your roadmap help to plan projects based on Ionic.

One more thing, a must have long waited feature: #5101 (Swipeable Tabs). Really hope to see it soon.

@NgYueHong, thanks for supporting this issue, but please do only post comments related to this issue. Thanks.

@Ionitron (and the rest of the Ionic Team 😃):
It would also help to know your estimation on the complexity of implementing the server-side rendering feature.
Is it comparable hard as the lazy loading feature?
Several Ionic users I talk to have this feature - together with lazy loading - on top of their wishlist. Mainly because of initial load performance and especially because of SEO. Every public service using Ionic has the need to be indexed properly by search engines, so all the new, brilliant PWA features for desktop and tablet use like Split Pane and Responsive Grid would benefit of server-side rendering support too.
Thanks for anything you share on this with us.

Hello everyone! Thanks for the feature request. Server-side rendering is not on our current dev schedule because lazy loading / code splitting gives a bigger boost to no only start up time but also time to interactive than server side rendering. We are still considering SSR support in the future, just not in an upcoming release. I'm going to move this issue over to our internal list of feature requests for now. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to driftyco/ionic-feature-requests#125

@jgw96, thanks for answering this, but I could not open the link to "ionic-feature-requests" (404).
You are right, related to performance this is not as important as lazy loading (which I would rate as top prio as well).
If you think of publically available PWA (e.g. an eCommerce platform) then SEO (not only performance) is a major issue. Without SSR SEO is almost impossible and therefore ionic can not be used for all these projects. I hope you will target this right after lazy loading will be available with ionic 3.x.
Again, thanks a lot for all your work! 😃

Does it already support code splitting

I did't understand if ionic 3 already suppors universal, but I actually think it is one of the most important thing to add.
Tt would improve the performace when a user requests an inner page (very common situation)
Ionic claims "Performance obsessed" !
Also, it is the best way to get the app indexed form search engines.

@danbucholtz:
The Meeting Notes mention:

Working with Angular team on improving start-up performance

Is this related to this feature request - to SSR?
Thanks.

Hi, we haven't spent much time investigating SSR yet. At some point we certainly will. It's on the todo list, there are just lots of other things on the list too that are super important.
Thanks,
Dan

@danbucholtz, thanks for your update.
The current meeting minutes mention:

Server Side Rendering (SSR) completed for Stencil

...which is assigned to @adamdbradley.
Are there any further infos available on this?
Thanks,
Michael

@mikezks,
No, not yet. Stencil is something different that we have cooking up independent from ionic-angular right now.
Stencil will power ionic-angular 4 and up.
Thanks,
Dan

Everyone interested in the future of ionic an SSR + Lazy Loading should take a look on STENCIL:
https://www.youtube.com/watch?v=UfD-k7aHkQE
Thanks for this big step forward, Ionic Team! 😄

Hey @mikezks, any clue on how to use Ionic + Stencil to allow a nice Facebook sharing through an Ionic PWA url ?

Hello, any news here?
I don't wanna be pushy and i totally understand the priority list, but developing a pwa is almost pointless if is not possible to get it indexed from search engines.
Is there already a plane about it or something I can do to help?
Thanks

As we get closer to the release of v4, more information will be published pertaining to the creation of PWAs, pre-rendering, suggested deployment practices, etc. Please stay tuned to the Ionic blog for details.

Thank you so much for the answer!
Where is it possible to follow the ionic4 development? I did not find the proper branch on github.
thanks

I try to create universal ionic https://github.com/Angular-RU/angular-universal-starter/tree/ionic , but I have a problem with providing Config. A few problem with build i resolved (https://github.com/ionic-team/ionic/pull/13464)

@Gorniv,@arpitrajpurohit12,@kensodemann,@danbucholtz,@jgw96
will we plane to integrate server side rendering on the next version-- ionic v4?
i search a lot ionic v4's ssr ,but can't confirm this feature. this blog  said that v4 will integrate ssr, is it true? thanks.

First of all, sorry for my poor English.
After searching through Deep Web (joking), I found the solution. And the coolest solution was that I was able to integrate my Pioneer Ionic application with Firebase Hosting using Cloud Functions.
After reading the following topic:
https://github.com/firebase/firebase-tools/issues/33
The @TheRoccoB user explains how to host the static Web application in Firebase Hosting and redirect traffic from a URL to Cloud Functions.
What I did was map the routes that I have to index as:
{
        "source": "/ shop / **",
        "function": "ssr"
      },
      {
        "source": "/ * / promotions / **",
        "function": "ssr"
      }
Since "ssr" is the name of my function in Cloud Functions. So I used the library https://github.com/prerender/prerender-node to check if the request is from a google crowler, in case I redirect the request to a https://github.com/prerender/prerender server.
const prerender = express ();
prerender.use (cors);
prerender.use (
    require ('prerender-node')
    // .set ('prerenderServiceUrl', 'http: // localhost: 3000')
    .set ('prerenderToken', '** TOKEN **')
);
prerender.use (require ('prerender-node'). set ('beforeRender', function (req, done) {
    // do you need to do?
    console.log ('Rendering URL:', req.path);
done ();
}));
prerender.use (require ('prerender-node') set ('afterRender', function (err, req, prerender_res) {
    // do you need to do?
    console.log (req.path + 'rendering completed!');
    console.log ('Errors:', err);
}));
prerender.get ('*', (req, res) => {
    console.log ('Calling function for URL:', req.path);
    res.set ('Cache-Control', 'public, max-age = 300, s-maxage = 600');
    res.status (200) .send (fs.readFileSync ('./ www / index.html'). toString ());
});
exports.ssr = functions.https.onRequest (prerender);

Very needed feature, any updates?

I would agree to at least learn if there is a plan to support this in Ionic 4 release scope?


[BUG] building app with windows-native rustup tool chain in MSYS2 shell will yield "process didn't exit successfully" "STATUS_ENTRYPOINT_NOT_FOUND"

Bug description
Please provide a code sample as small as possible which reproduces the bug.

Install Windows rustup, using the stable-x86_64-pc-windows-gnu toolchain
Open the MSYS2 Mingw64 shell.
modify the PATH in .bashrc: PATH="something:${PATH}"
Follow the book to set up everything and try the first example.
Cargo run
Error encountered: process didn't exit successfully: (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
However, if you build the app with window PowerShell, it works perfectly.

Workaround
Do not modify the PATH.
Backtrace
Backtrace looks normal, no additional errors found in the log.

Found out this is due to modified PATH in .bashrc, closing,


Can't "yum update" on Centos

When I try to "yum update" on Centos, I get the output below.
(...)
---> Package systemtap-sdt-devel.x86_64 0:3.2-8.el7_5 will be an update
--> Running transaction check
---> Package dotnet-runtime-2.1.x86_64 0:2.1.2-1 will be an update
--> Processing Dependency: dotnet-runtime-deps-2.1 >= 2.1.2 for package: dotnet-runtime-2.1-2.1.2-1.x86_64
---> Package python-requests-toolbelt.noarch 0:0.8.0-1.el7 will be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package dotnet-runtime-2.1.x86_64 0:2.1.2-1 will be an update
--> Processing Dependency: dotnet-runtime-deps-2.1 >= 2.1.2 for package: dotnet-runtime-2.1-2.1.2-1.x86_64
---> Package kernel.x86_64 0:3.10.0-693.17.1.el7 will be erased
--> Finished Dependency Resolution
Error: Package: dotnet-runtime-2.1-2.1.2-1.x86_64 (packages-microsoft-com-prod)
           Requires: dotnet-runtime-deps-2.1 >= 2.1.2
           Installed: dotnet-runtime-deps-2.1-2.1.1-1.x86_64 (@packages-microsoft-com-prod)
               dotnet-runtime-deps-2.1 = 2.1.1-1
           Available: dotnet-runtime-deps-2.1-2.1.0-1.x86_64 (packages-microsoft-com-prod)
               dotnet-runtime-deps-2.1 = 2.1.0-1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@li1296-24 ~]#

My "dotnet --info" is:
[root@li1296-24 ~]# dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.1.301
 Commit:    59524873d6

Runtime Environment:
 OS Name:     centos
 OS Version:  7
 OS Platform: Linux
 RID:         centos.7-x64
 Base Path:   /usr/share/dotnet/sdk/2.1.301/

Host (useful for support):
  Version: 2.1.1
  Commit:  6985b9f684

.NET Core SDKs installed:
  2.1.104 [/usr/share/dotnet/sdk]
  2.1.301 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download
[root@li1296-24 ~]#
[root@li1296-24 ~]#

Can anyone help me?
Thanks

They haven't properly released 2.1.2 on YUM. I'm sure they will fix it soon...
https://github.com/dotnet/core/issues/1765

Issue moved to dotnet/core-setup #4365 via ZenHub


Add unittest main in list_tests.py

I don't think we will accept this patch.
First, this code didn't came from CPython code base - we only update Lib/test by following CPython.
Second, the file is not designed to be run itself. use test_list.py instead.

Thank you for telling the reasons!


Allow es6 import

Support ES5/ES6 compatibility

Thanks.
Why wouldn't this be merged?

works for me, I don't know why is not merged yet, thanks @abbotto


Add additional check to keypoints annotations

Assert that KeypointsAnnotation.names has all unique names, otherwise there may be issues with the rendering later

Oops, that one slipped through the cracks on my end 😅


Migrate to TypeScript 2.0

what

Migrate to TypeScript 2.0
Use @types npm modules instead of typings

Coverage increased (+0.1%) to 85.577% when pulling 54a9139abe7873d5990ec83e41b1241bf08762d1 on typescript2 into<PHONE_NUMBER>1f405abfc1736a6d2c12210e70cda6 on master.

LGTM. Nice job, @seanchas116 !


add hello-thirdparty sample

/cc @claywilkinson @gguuss
Should partially address #26 as it shows how to use ldFlags to link to a pre-built third-party lib (play game services)

@gguuss I was under the impression we shouldn't update copyright year (unless we create new files, I guess we could consider that as new files even if they come from another repo).

PTAL

LGTM

PTAL, made a bunch of unrelated change to make travis happy and renamed the package.

LGTM.


Getting Segmentation fault in CI tests

See for example this line.

@jesper-friis is this something you could look into? I'm getting the same issue for oteapi-optimade now.


Error reported in Chrome after changing smb password

Hi,
When I tried to use smbpasswd-web to change a smb password with Chrome I've noticed that I always get an error reported, even when the password was successfully set.
Analyzing the issue, I found that the cause for it was not setting the Content-type header on api_set_password. The following patch fixes that issue:
--- a/app.py
+++ b/app.py
@@ -149,6 +149,8 @@ class SmbpasswdRequestHandler(http.server.SimpleHTTPRequestHandler):
             if self._call_smbpasswd(username, entries[1]) == True:
                 self.remove_token(entries[0])
                 self.send_response(200)
+                self.send_header("Content-type", "text/plain")
+                self.end_headers()
                 self.wfile.write(json.dumps("OK").encode())
                 return
             else:

I tested only on Firefox, I should have tested on chrome, will give it a try and report back to you. Thanks!

Nice catch. I just used application/json as content type, as it is the effective return. Fixed on master.


⚖ Register Validator: StakingCabin

Network Choice
nemeton-1
Who are you?
StakingCabin: Professional Staking Infrastructure provider
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"stakingcabin","identity":"C0522DF992B0C407","website":"https://stakingcabin.com","security_contact":"richard@stakingcabin.com","details":"StakingCabin"},"commission":{"rate":"0.050000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp41g5ldf92glxmjhnjv2fkeazy966ceak96sehf2l","validator_address":"okp4valoper1g5ldf92glxmjhnjv2fkeazy966ceak96978q57","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"qXoMb3jmqS1fbaAdpuUEQV4gT7qD0uPiHS4w9Jz0JV8="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"764bdf40cf88481313af5b88dd277ebdeade1c86@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AvbVn/5iKuxoy9zTxE0sWWD22dlVL5p0CDW0qngJIMrV"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["8m2oGeg8gFc//S+yTkN66+Qv2CrfyCyhrNwSUtM6njcgsoAcj1dJEsuzRTxUEo7IX5Llgr4C19wwfdtEfmDh+Q=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/177


Added nanoid() validation action

Added pipeline validation action for Nano ID.  v.nanoid() should work similarly to the other validation actions for ID generators like v.cuid2(), v.ulid() and v.uuid().
By default, Nano ID uses URL-friendly symbols (A-Za-z0-9_-) and returns an ID with 21 characters, but I modified it to a variable length of 2 to 36 characters instead (https://zelark.github.io/nano-id-cc/) while keeping the default alphabet/symbol set. This flexibility allows for people who want to use Nano ID with a reduced ID length and use v.length() to adjust.

Thank you for this PR! I will try to review and merge it next week.

I would recommend removing the 2 to 36 character limit from the regex and instead we could add the option to pass the length via the first argument of the function. If no argument is passed, it defaults to 21. What do you think?

I did take precedence from the existing v.cuid2() action, which didn't have the option to pass length. Correct me if I am wrong, Cuid2 and Nano ID are similar in that their lengths can be adjusted (default 32 for Cuid2 and default 21 for Nano ID).
I do agree with you though, I like
const NanoIDSchema = v.pipe(
  v.string(),
  v.nanoid(21, 'The Nano ID is badly formatted.')
);

over
const NanoIDSchema = v.pipe(
  v.string(),
  v.nanoid('The Nano ID is badly formatted.'),
  v.length(21)
);

I will make changes with your suggestions

I think I would try to create the regex dynamically using the passed length.

I made some changes so that it will accept length as the first argument of the function.
ESLint was complaining about the dynamic regex https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-non-literal-regexp.md so I opted to do it another way.
I am a little unsure how the generics should be set up now that length is the first argument.

I thought about what I wrote and I am no longer sure if we should bake the length into the action. Since the length is variable, it might be better to recommend using our length actions for more flexibility. This would also allow you to specify a length range. What do you think?

This would make it more in line with the rest of the other existing validation actions.
I think using v.length() to control length might be better in a long run to keep things standardized and not confuse users, which was what I had in mind initially, although it's convenient to have length parameter inside v.nanoid() itself.
I will probably reverse my previous commit, but I think I will still remove the 2 to 36 character limit, so it just checks for valid characters in the regex, leaving the option to check length entirely to the v.length() action if the user wants to do so. It will be similar to v.cuid2().
No length check
const NanoIDSchema = v.pipe(
  v.string(),
  v.nanoid('The Nano ID is badly formatted.')
);

With length check
const NanoIDSchema = v.pipe(
  v.string(),
  v.nanoid('The Nano ID is badly formatted.'),
  v.length(21)
);

Does it sound good to you?

Thank you for your changes. I will review everything soon and probably release it with our next minor release.

Thank you so much! You did a great job with this PR! Are you interested in helping me add more common string validators for JWT (#692) as well as Bitcoin and Ethereum addresses?

Thank you so much! You did a great job with this PR! Are you interested in helping me add more common string validators for JWT (#692) as well as Bitcoin and Ethereum addresses?

Thanks! Unable to help for now but I will look into it when I have more time.

v0.40.0 is available 🚀


Implemented ExtendedOpenSslSession.getStatusResponses() so it not thr…

…ows an UnsupportedOperationException.
Motivation:
6ed7c6c75d458047adc37470697f215e9d7436ea added support for ExtendedOpenSslSession but we did not override getStatusResponses(). This lead to test failures on java9.
Modifications:
Implement ExtendedOpenSslSession.getStatusResponses() so it just returns an empty list.
Result:
Test pass again on Java9.

I did not notice this as it only happens on Java9 and I would even argue that this may be a bug.


World/no trust

World now no longer trusts anyone that instance()'s it, it now REQUIRES a mutex to be locked which gets returned in an Acquire structure.
No more need to mutex on a low level becuase mutexing is enforced on a high level.

It seems like the lock locks forever in paintEvent. when ai gets a world, and it tries to run the first update, it gets stuck on this line. (That stacktrace is found by using the pause execution fucntionality from the debugger)


Composer.json Error

when running composer.json there is an error with Patchwork\UTF8
i get this output from terminal

Fatal error: Class 'Patchwork\Utf8\Bootup' not found in /Users/admin/sites/laravel/bootstrap/autoload.php on line 46
PHP Fatal error:  Class 'Patchwork\Utf8\Bootup' not found in /Users/admin/sites/laravel/bootstrap/autoload.php on line 46
Script php artisan optimize handling the post-install-cmd event returned with an error

  [RuntimeException]
  Error Output: PHP Fatal error:  Class 'Patchwork\Utf8\Bootup' not found in /Users/admin/sites/laravel/bootstrap/autoload.php on line
  46

dsfdsafdfds


[dv,sram_ctrl] Improve detection of init_done and key_scr_valid

The older scheme for this detection used csr_spinwait for the duration of init and key request. This only uses csr_spinwait once the request is satisfied, to detect the actual CSR updates. This is just as accurate as the older scheme, and by avoiding csr_spinwait for the full time it simplifies handling of random reset.

@rswarbrick This csr_spinwait is to synchronize the scoreboard to a hardware update of the corresponding CSRs, since dv can not accurately predict when that will happen, and if it tried it can easily end up as one of those very flaky mechanisms.

Thinking again this morning, I thought it would be "more passive" with .backdoor(1)... which I see is what you did! Sorry for the noise :-)


provider and management pods to check for auth-service readiness

https://github.ibm.com/IBMPrivateCloud/roadmap/issues/57010

test results:
https://github.ibm.com/IBMPrivateCloud/roadmap/issues/57010#issuecomment-53378553


QMAPS-565 Quick fix for browser not supporting navigator.permissions

Quick fix for browser not supporting yet navigator.permissions like Safari
See https://developer.mozilla.org/en-US/docs/Web/API/Permissions/query

Perfect thank's


Fixing packet loss

This implements a fix (https://github.com/containous/oxy/pull/48) that was done in Traefik to not have packet loss during websocket proxying.

Hi @seriousben
Thanks for sending the patch to us as well.
For the record, the explanation is here


Feature/es610

Support ES 6.1.0 which was released today.
Note that:

this will need this fix from ES: https://twitter.com/davidkarlsen/status/941262366699909120
it was based on the 6.0.1 branch, in order to get the README right

This change is

@vvanholl Maybe this is good to go as well now?

Done ! Thank you


Is it possible to obscure (in a progressive way) the cards that are not in the foreground?

Hi @delwar36
first of all, thank you for your contribution.
As the title suggest, I wanted to know if it is possible to obscure the cards (progressively) as they are more distinct from the center.
It would be a very convenient feature and I hope it will be possible to introduce it in the next version.
Thanks in advance and have a nice day!

APOLOGY!!! Due to some busy schedules I am not being to update and resolve the issues. I appreciate if anyone contributes to resolve the issues. Waiting for the PRs.

May I work towards this issue? @delwar36

May I work towards this issue? @delwar36

Sure, always welcome.

@delwar36 Solved in PR #4


Update deps

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #33 (3d41e6f) into main (4bbbc9b) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   31.88%   31.95%   +0.06%
==========================================
  Files          14       14
  Lines        5077     5066      -11
==========================================
  Hits         1619     1619
+ Misses       3458     3447      -11

Flag
Coverage Δ

test
31.95% <ø> (+0.06%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/server.rs
1.23% <0.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


dnu restore doesn't find the beta6 packages for NLog

I'm having an issue where the beta 6 packages can't be found when doing a dnu restore on a project. The main Microsoft.Framework.Logging package can be found but not the NLog package for beta 6.
"Microsoft.Framework.Logging": "1.0.0-beta6",
I've tried 1.0.0-*, 1.0.0-beta6, 1.0.0-beta6*, 1.0.0-beta6-11503... they all don't find the package anymore. Only if i had already cached it in my dnu package cache is the package resolved.

I have the same error.

@gnewtzie What feeds are you restoring from?
@victorhurdugaci Can you take a quick look at this and see what's going on?

/cc @shirhatti

We don't plan to ship a package for NLog
We have prototyped what using NLog might look like, but it is not officially supported. You are always welcome to grab the source from here and use it.

Ok, thanks, in this sample is use: https://github.com/aspnet/Identity/tree/dev/samples/IdentitySample.Mvc


[Help] feed ?

hello,
where can i find feed in home screen ?
i wanna look how does it work
regards,

@yas9999 I'd start looking on the FeedFragment

ok bro :) thanks


GAT with copy mechanism gives error token_id_oov doesn't exist

🐛 Bug
GAT with copy mechanism gives the error Node feature token_id_oov doesn't exist.
Traceback (most recent call last):
    prob, enc_attn_weights, coverage_vectors = self.model(graph, tgt, oov_dict=oov_dict)
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/graph4nlp_cu111-0.4.0-py3.9.egg/graph4nlp/pytorch/models/graph2seq.py", line 226, in forward
    return self.encoder_decoder(batch_graph=batch_graph, oov_dict=oov_dict, tgt_seq=tgt_seq)
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/graph4nlp_cu111-0.4.0-py3.9.egg/graph4nlp/pytorch/models/graph2seq.py", line 177, in encoder_decoder
    prob, enc_attn_weights, coverage_vectors = self.seq_decoder(
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/graph4nlp_cu111-0.4.0-py3.9.egg/graph4nlp/pytorch/modules/prediction/generation/StdRNNDecoder.py", line 572, in forward
    params = self.extract_params(batch_graph)
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/graph4nlp_cu111-0.4.0-py3.9.egg/graph4nlp/pytorch/modules/prediction/generation/StdRNNDecoder.py", line 602, in extract_params
    src_seq_ret = batch_graph.batch_node_features["token_id_oov"]
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/graph4nlp_cu111-0.4.0-py3.9.egg/graph4nlp/pytorch/data/views.py", line 147, in __getitem__
    return self._graph._get_batch_node_features(item)
  File "/mnt/volume1/anaconda3/envs/gat/lib/python3.9/site-packages/graph4nlp_cu111-0.4.0-py3.9.egg/graph4nlp/pytorch/data/data.py", line 939, in _get_batch_node_features
    raise Exception("Node feature {} doesn't exist!".format(item))
Exception: Node feature token_id_oov doesn't exist!

@nashid thanking you for reporting the error! Can you share more context to help us reproduce the error? Are you running one of the provided example applications or building your own application? Did you observe this error with other GNN variants besides GAT?

@hugochan I am running the provided example of the NMT but I enabled the copy mechanism as my source and target vocabulary is the same.
Currently oov_dict = None
Looks like I have to use the API prepare_ext_vocab. Probably something like:
            oov_dict = prepare_ext_vocab(
                batch_graph=graph, vocab=self.vocab, device=self.device
            )

Please correct me if I am wrong.


How to issue tokens with typ: jwt instead of at+jwt in Identity Server 4?

Question
Identity Server 4 in contrary to Identity Server 3 issues tokens with default value "typ": "at+jwt", however for some time I still need to issue older version of token, meaning "typ": "jwt".
Is there any way to overwrite default configuration of IS4 and issue JWT token of "typ": "jwt"?

There a setting on the options.


Closing browser for unhandled exception

For unhandled exception protractor immediately stops the execution but browser remains open
There is any workarond for this.

Hi @vinodkpasi
Which framework are you using , Jasmine, Mocha or Cucumber. I know protractor-cucumber-framework (which you use when you want to use CucumberJS) has the option 'ignoreUncaughtExceptions: true' which allows cucumber to handle the exception and record it appropriately. I don't know how this works with the other frameworks.
Since your question is better suited for StackOverflow or Gitter I would advice you to ask your question there with the 'protractor' tag or post in the Gitter Channel to get help.
From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow
(use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!


[UWP] Change namespace to AdaptiveCards.Rendering.Uwp

UWP implementation of #653
Consider making the namespace a #define so that we can have a different namespace when making renderer drops into Windows.

@riarenas this is done but so you want to use it to track the #define work? if not, feel free to close


Add legal_move or some other specific representation of piece movement legality

Closed (well started) in 1e0cc3817be799399723e7dc6dab7bf9020f165e.


Feature Request: Upload files to a bucket by passing url in place of a local path.

Create a new method for the Bucket class called uploadFromURL. Said method would work the same way as the upload method, but in place of a local path would take a url (http://exapmle.com/img.jpg).
This eliminates the need for a user to download the file, upload it, then delete it him or her self.
If approved I would build the feature my self and submit a pull request.

A PR would be awesome!

Awesome, I'll get started on an implementation.


Display proper printing target name in the label printing modal dialog

Fix #4717

@martonmiklos there's some janky stuff going on with github / CI at the moment. Can you please try merging master branch into your branch, and pushing again?

@martonmiklos there's some janky stuff going on with github / CI at the moment. Can you please try merging master branch into your branch, and pushing again?

Yeah I saw the CI failure, now rebased on master but still failing on the same step.

@martonmiklos there was another fix a few minutes again - that fixes the docs error


[jvm] Inconsistent prediction for dart booster in java for the same model trained and performing in python. Related issues #3015 #3485 #3540

I am using a dart booster trained in python and loading it in jvm, the prediction seem off. This issue is related to #3015  #3485 #3540 and I tried setting up all the parameters given here, but to no end. I am getting different results in python as suppose to in jvm.
The model and the request file are the same for both the tests as described below.
JAVA code used:
public class Model {
    static int batch_size = 50;
    static Booster booster;
    static List<Long> listOfTimers = new LinkedList<Long>();
    public static void main(String[] args) throws Exception{
        HashMap<String, Object> params = new HashMap<String, Object>();
        params.put("numtrees", 30);
        params.put("nthread", 1);
        booster = XGBoost.loadModel("./model_1.model");
        booster.setParams(params);
        File file = new File("./requests.csv");
        Scanner scanner = new Scanner(file);
        int i = 0;
        int size = batch_size*9;
        float[] data = new float[size];
        while (scanner.hasNext()) {
            if(i == batch_size) {
                hitRequests(data, batch_size, 9);
                data = new float[size];
                i = 0;
            }
            String str = scanner.nextLine();
            String [] s = str.split(",");
            for(int j = 0; j < 9; j++) {
                data[i+j] = Float.parseFloat(s[j]);
            }
            i++;

        }
        System.out.println(listOfTimers.toString());
    }

    public static void hitRequests(float [] data, int rows, int cols) throws Exception{
        long time = System.currentTimeMillis();
        DMatrix dMatrix = new DMatrix(data, rows, cols);
        float [][] result = booster.predict(dMatrix, false, 30);
        long end_time = System.currentTimeMillis();
        listOfTimers.add(end_time-time);
        System.out.println("result: " + (getResult(result)));
        System.out.println("timer: " + (end_time-time));
    }

}

results that i get:
result: [0.61936563], [0.5984782], [0.32919276], [0.5649111], [0.47643474], [0.3365553], [2.3018966], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245], [1.9958245]

Python code and results added below, when parsing the same model and request file:
python code:
from pathlib import Path
import xgboost as xg
import pandas as pd
import time

def request_hit(data):
    t1 = time.time()
    dmat = xg.DMatrix(data=data)
    pred = model.predict(data=dmat)
    t2 = time.time()
    print(str(pred))
    print(str(int((t2-t1) *1000)))

def parseFeatureFile(file_name: Path):
    with file_name.open('r') as file:
        feature = []
        for line in file:
            vector = []
            line = line.rstrip("\n")
            stringFeatures = line.split(",")
            for i in stringFeatures:
                vector.append(float(i))
            feature.append(vector)
        return feature

if __name__ == '__main__':
    model_file = "../../Model/model_1.model"

    model = xg.Booster()
    model.load_model(model_file)
    model.set_param("numtrees", 30)
    model.set_param("nthread", 1)

    request_file = parseFeatureFile(Path("../../Model/requests.csv"))
    i = 0
    data = []
    for row in request_file:
        if i == 50:
            request_hit(data=data)
            i = 0
            data = []
            time.sleep(1)
        data.append(row)
        # print(str(row))
        i += 1

python results:
[ 1.23176956  4.36962748  0.36619836  0.30802074  0.61152518  0.61152518
  0.69353884  0.8411895   0.63114357  0.63114357  0.36619836  0.63114357
  1.98527622  0.25395423  0.25061363  2.02189493  0.40367284  0.49325848
  0.61167997  0.61167997  0.4122296   4.18055201  0.35991892  0.59111851
  0.69077677  0.7807771   0.40367284  0.43420082  1.82767808  2.02189493
  0.59111851  0.75833762  0.31537506  2.37626696  0.3091521   0.76201147
  0.5229069   0.41403303  0.65020835  1.58646369  0.45272243  1.63795483
  0.77941149  0.17258394  0.17258394  0.29119542  0.5229069   1.83758581
  0.58843833  0.93746954]

sample request file:
18411.0, 12.0, 1.0, 0.0, 12.0, 0.0, 0.0, 4.0, 6.0
11198.0, 12.0, 1.0, 0.0, 80.0, 0.0, 0.0, 4.0, 6.0
23724.0, 7.0, 1.0, 0.0, 15.0, 24.0, 0.0, 4.0, 6.0
16737.0, 3.0, 1.0, 0.0, 59.0, 5.0, 0.0, 4.0, 6.0

Not sure with the there is bug in the java implementation or if I have done something wrong.

You should add the parameter ntree_limit to get deterministic prediction:
preds = bst.predict(dtest, ntree_limit=num_round)

(Java will probably behave the same)
Without ntree_limit, the predict() method will perform dropout. This behavior is documented in https://xgboost.readthedocs.io/en/latest/tutorials/dart.html.

Yes, treeLimit is the one.

@hcho3 Sorry for the late reply.
That didn't help either, I had tried it in the original test.
I think there might be a bug.

@jayantjain93 Did you specify ntree_limit on the Python side too?

@hcho3 , Yes I had specified it in python as well.
By not specifying it was giving inconsistent result in python.


Todo interactive

In this Todo list crud apply the following features 💯

Created Array of objects
Add Todo dynamically 👍
Update Todo 👍
Delete Todo 👍
single click to remove all list items 👍
setup the project according to webpack and ES linters 👍

Thanks sir for your time

@faisalakb  Please make sure you do the mandatory changes ok.

Sure, I will. Thanks for the approval.
On Sat, May 13, 2023 at 11:17 PM Kanu Mike Chibundu <
@.***> wrote:

@faisalakb https://github.com/faisalakb Please make sure you do
the mandatory changes ok.

—
Reply to this email directly, view it on GitHub
https://github.com/faisalakb/Todo_List/pull/5#issuecomment-1546724086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ2CV7FUGTIQEMLSVYAGYODXF7F3RANCNFSM6AAAAAAYALCD2Y
.
You are receiving this because you were mentioned.Message ID:
@.***>


Use with mocha

The script to use mocha with ts-node is:
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register '*spec.ts'"
Then how can I achieve that using ts-node-dev. I tried with: "dev": "set debug=* && ts-node-dev --respawn --transpile-only mocha -r script.spec.ts" and got no success. I'm unable to see reloading or even the mocha tests in the first run or change in the code.
I also tried with: "dev": "set debug=* && mocha -r ts-node-dev --respawn --transpile-only script.spec.ts" getting the following error:
> set debug=* && mocha -r ts-node-dev --respawn --transpile-only script.spec.ts

Error: No test files found: "test"
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>dev: `set debug=* && mocha -r ts-node-dev --respawn --transpile-only script.spec.ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-10-13T21_13_52_956Z-debug.log

As you can see ts-node-dev it self used mocha for a watched tests. I run it this way:
ts-node-dev -T --respawn --deps --watch lib node_modules/mocha/bin/mocha test/*.test.ts

As you can see ts-node-dev it self uses mocha for a watched tests. It can not be used via --require like ts-node, I run it this way:
ts-node-dev -T --respawn node_modules/mocha/bin/mocha test/*.test.ts

Thanks, this is what I'm looking for. Also sorry for not analyze the package.json so well in first step.


allow for the calculation and display of proximity between different hotspots

Meaning physical distance? What's the use case here?

Meaning physical distance?

Yes. Think it would just be useful/informative if proximity were displayed. Was a feature request from hacks happy hour.

Probably need to understand this use case more. A list of nearby hotspots and their physical distance from the selected point on the map? Or the ability to select two points on the map and calculate distance?

Both @radrob1. Was thinking of designing a new dropdown menu/card on the side of the screen with new toggle options (such as distance, topographic map, etc)

Helium explorer just added a measure tool. Could do something similar. Also had a request for the hotspot hover to show nearby hotspots and distance.

Helium explorer just added a measure tool. Could do something similar. Also had a request for the hotspot hover to show nearby hotspots and distance.

Agreed. Want both

Distance to nearby hotspots is now displayed on hotspot hover - #27


Fix mov r64, imm64

Hi, thanks for creating this crate. It's been very useful to me =)
As far as I could tell, this opcode (0xb8..0xc0) is the only one which defaults to 32-bit immediate when there are no prefixes but uses 64-bit immediate when operating with 64-bit registers.

Hey, thanks for the PR!
I apologize I haven't been giving this crate as much attention as it deserves...


Fetch Data from an API

Hey, I am new to open source community and would like to contribute my code snippet for Hacktoberfest on Fetching Data from any API using simple HTML CSS and JS.

go for it @Xaid-vfx!


Checkbox mapped to Yes/No value

Question
I have a particular field that I want to display as a checkbox. But the data in the field is being returned as either a Yes/No. The property in the schema is of type string and I can override it by setting the type in the form to be a checkbox. However, how do I convert the Yes to True and No to False? I tried using a title map, but I think i'm doing it wrong. Is this even possible?
Here is my code
 { "key": "StreamingBlackout", titleMap: [{ value: "yes", name: true }, {value:"no", name:false}] }
@json-schema-form/angular-schema-form-lead

Hi @karthiks3000, a schema data type of boolean will default to a checkbox in your form. You can see this on the example page in the "Basic JSON Schema Type" example.
Checkout this example of a schema that contains just a boolean element with key "StreamingBlackout" and a form that sets a title for it (code below also):
$scope.form = [
  {
    "key": "StreamingBlackout",
    "title": "Sreaming Blackout (please choose)"
  },
  {
    "type": "submit",
    "title": "OK"
  }
];

$scope.schema = {
  "type": "object",
  "title": "Types",
  "properties": {
    "StreamingBlackout": {
      "type": "boolean"
    }
  }
};

Hi @joelwkent, my problem is that I am consuming a service that is created by someone else. I can't alter the data type of the property. The service will always return a Yes/No for that property. If I set the schema to be boolean for that property, won't the binding fail?

Hi @karthiks3000, OK got it. I've had this exact problem in the past. Your options are to use a select field type with two options or radio buttons. You cannot use a single checkbox on a string enum. And field type checkboxes can only be used with arrays which I don't think will work with your data type.
If you really must use a single checkbox and you have no control server side you could parse the data you receive from the server in Angular/JavaScript before initialising the form. What I mean is you could convert the model value from "Yes" to Boolean true and "No" to false then display your form. But then the model would contain true and false going forward and being sent back to the server.

I thought as much... Thanks for the confirmation @joelwkent
Yes, I think I will probably need to use the select or radio button approach. I plan to use the schema generated by the service (which is also not in my control) and it has the property listed as a string.


Settlement for capped futures states that it has to be at the bounds...

... but if you need to settle a market early for any other reason this doesn't work.
Update needed.
For termination by oracle I guess we still want to adhere to the binary settlement.

https://github.com/vegaprotocol/specs/pull/2361


allow disabling automatic basebackups and trim systemd log format

Added a commit to tune down them amount of logs we generate for expected Swift errors (ie trying to download nonexistent files)


regen the discovery libraries

Regen the discovery libraries w/ the latest version of the discoveryapis_generator package.

Only whitespace changes -

But very nice whitespace changes. Is there a change to a dependency we need to continue picking these up?
lgtm.

The people who regen the libraries just need to ensure that they've run pub update locally.

There may be some min. dep we can set as well...


Type a head stop showing result when block ui is included

Hi,
I am doing performance testing in my project. It is taking to much time load data so i used block ui then type a head stopped showing result even it is getting data from server. When i removed block ui module then type a head shows result.
Is anyone faced this problem?
I want to make type a head working even though block-ui module included.
Please help me out.

duplicated


pdhalf

while we're in phase distortion land, might as well do this :>
https://github.com/csound/csound/blob/master/Opcodes/shape.c#L299
cranked to -1 and sandwiched between 2 resonators :drooling_face:

first time i use one of those bitches for it's actual intended use lol
(this video has sound)
https://github.com/tomara-x/quartz/assets/86204514/81884548-4e64-4779-86d7-64290b4a0202


Inline comment in sass makes the whole block gray instead of a single line

Good catch, thanks!


[LANG-1735] Fix Javadoc for FluentBitSet.setInclusive(int, int)

fixed documentation

https://issues.apache.org/jira/browse/LANG-1735

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.47%. Comparing base (f962e7b) to head (dbafd87).
Report is 176 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1222      +/-   ##
============================================
+ Coverage     92.07%   92.47%   +0.39%
- Complexity     7587     7749     +162
============================================
  Files           200      200
  Lines         15844    15913      +69
  Branches       2890     2818      -72
============================================
+ Hits          14589    14716     +127
+ Misses          682      659      -23
+ Partials        573      538      -35

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use name.text for argument error messages.

When the function arguments had their name property converted to an object containing location, these spots were missed, causing the error messages to contain '[object Object]' instead of the actual argument name
Fixes #196

Thanks for the PR bud! I’m not going to have access to my laptop for a few days but I’ll give this a look on Monday 🙂


Adding images to the N4 Bias Example

Resolves #1873

The input image isn't a very good example case for this algorithm, at least not with the defaults. We should find a better input that can benefit from the correction.
I was able to add Ziv's suggestion for the ..list-table and I think it looks pretty good!

I displayed the default mask, but can remove it if you prefer. I don't think the Log Bias Image needs a color map.


Hotfix for ArtistHub (Updates to video blocks after milo PR#478)

This pull request fixes the video issues reported by the Artisthub team where the video in the featured-columns block would sometimes not be the correct size, and the banner videos would sometimes not load in properly.
Test url: (before / after)

Can we have this merged ASAP? The videos are affecting the live site


Implement pytester_pretty fixture

In this PR I implement my proposition from, fix #7
This adds the option to use this plugin with these projects that contains pytest fixtures and would validate if they working in a clean way.
It also adds a basic test for this project.
If it looks ok to you I will also add text to the readme.

thanks so much, I'll make a release now.


ISPN-15147 DefaultExecutorFactory can create multiple ThreadGroups

https://issues.redhat.com/browse/ISPN-15147

Thanks for a quick fix @wburns !

Merged, thanks


add dscan to apps.yaml

What kind of PR is this?
Select only one to speed up review/approval; i.e., don't lump an addition and a removal into a single PR.

[x] Adding something new to awesome-ipfs
[ ] Editing something already listed on awesome-ipfs
[ ] Removing something from awesome-ipfs
[ ] Something else (if so, please explain in the "Additional details" section below)

Pre-submit checklist
Please confirm ALL of the following before submitting your PR.

[x] This PR includes only one addition, removal, or edit.
[x] I edited the /data directory instead of the README.md.
[x] I reviewed the content policy and the and the IPFS Community Code of Conduct to ensure my submission meets the requirements.
[x] I have followed the CONTRIBUTING.md guidelines.

Additional details
Is there anything else we should know about this PR?

No.
For new additions: What is your project's current size/reach?

DScan: 42 active users & 500+ daily impressions on chrome web store.
For new additions: What is your project's potential size/reach?

NA.
For new additions: How critical is IPFS to your project?

[x] Essential
[ ] Somewhat critical
[ ] Useful, but not critical

For new additions: What core goal(s) does your project address?

[ ] Big-data solutions
[x] Freedom from corporate/government interference
[ ] Data integrity
[x] Dev tools or other ways to enable developers
[ ] Disaster resilience/recovery
[x] File storage/retrieval
[x] File streaming
[x] Permanent archiving
[ ] Self-sovereign identity
[ ] Platforms that utilize consensus, reputation, or incentivization
[ ] Other (please list)

Is anything about IPFS blocking your project?

No.

Closing as this was added in https://github.com/ipfs/awesome-ipfs/commit/3265189a43b2d68b31e883f32e3144fea64fefa9

Closing as this was added in 3265189

Np, thanks @2color :)


On focus in search box we should suggest trending collections

On focus in searchbox we should suggest trending collections + search history, like last 3 searched terms
@exezbcz can edit this to add Figma link but I guess it was in original one?

Originally posted by @yangwao in https://github.com/kodadot/nft-gallery/issues/4127#issuecomment-1283751104

yup it's in the original landing page handoff
https://www.figma.com/file/3iOjW12ERFRDSVnpLuhQmf/landing-page-handoff?node-id=1305%3A5613

we already had search history in our current old implementation right or did we remove that?

You are right and we could bring them back.

On focus in searchbox we should suggest trending collections + search history, like last 3 searched terms

For now only on RMRK, the trending suggestion would be show.


Unexpected token on symlinks

I have my src directory symlink to node_modules
$ cd node_modules; ln -s ../src app

when i dont know if i require a component like this
var Input = require('app/component/input');

I get the Parsin file /home/rkmax/project/node_modules/app/component/input.js Unexpected token`
if i use the relative path works fine :(

@rkmax @jacklenox +1 I'm having the same issue using symlinks. Has anyone found a solution to this issue?

Again, I think it's worth filing an issue to browserify, because reactify alone doesn't resolve any modules and only applies tranform for .js or .jsx files.

Bumped against this one as well.
Some explanation available at substack/node-browserify#993

tkurki/browserify-reactify-symlink-test@c3a3223739a6321b84e4fe397bb537f101bc859b fixed the issue for my toy test project.

@tkurki :+1: Definitely going to give this a try.

Closing as this is not a reactify issue.


Autolinks in stream docs are broken

Is there an existing issue for this?

[X] I have searched the existing issues

Offending URL
https://mithril.js.org/stream.html#streamlift
Issue description
The headers aren't wrapped in anchors, breaking the links.

Fixed by https://github.com/MithrilJS/docs/commit/33328a120e7904dd8ea819a2ada52329391c4ff9


Looks like all is ok but no project is created.

It seem if you had https://azuredevopsdemogenerator-core.azurewebsites.net/Environment/createproject open for some hours and then try create a new template.
 Your project is successfully provisioned."
But when following the link there are no project.
I assume it is a session timeout but you forgot to validate it before trying to create a new project
AB#3650

Hi @hsm-endk-test Thank you for reviewing out test environment. This looks like session expiry issue. We will look into this.
Thanks.

This could be an intermittent issue, please try to refresh the page using CTRL+F5.


Documentation clarification: Support in iOS

The current README.md states that The component is still under development and only support Android. Is this still accurate as there's an installation guide for iOS now.
I'll test it over the weekends to personally confirm and make a PR if the doc isn't updated by then.

Good find, this is definitely not accurate. I'll take care of it, thank you!


Fix a wrong request path in CustomServerErrorHandlerTest

Motivation:
The test service is bound to /bar but the client sends a request to /foo.
https://github.com/line/armeria/blob/b16bc8d926e3b4ebb07b86b66a09cd1126121574/core/src/test/java/com/linecorp/armeria/server/CustomServerErrorHandlerTest.java#L78-L82 https://github.com/line/armeria/blob/b16bc8d926e3b4ebb07b86b66a09cd1126121574/core/src/test/java/com/linecorp/armeria/server/CustomServerErrorHandlerTest.java#L150-L154 I believe that is a typo. The test ensures an exception raised in a service is handled by an error hander at the virtual host.
The test has passed before #4552 is merged. Because FallbackService raised HttpStatusException that is recovered to 400 Bad Request.
Modifications:

Fix CustomServerErrorHandlerTest.defaultVirtualHost() to send a request to /bar.

AnticipatedException is used to ensure the error handler catches the exception raised by the test service.

Result:
Fix CI build failures.

/cc @yamamichid


"use_sudo_password" leaves "pyinfra-sudo-askpass" executable file on host after deploy finishes

Describe the bug
It seems that use_sudo_askpass does not clean up after itself. There aren't any real security issues caused by this, since the file is benign (although, maybe someone could inject a payload by modifying that file if it exists if pyinfra doesn't regenerate it each time?). It's more of an issue of not leaving clutter.
To Reproduce
Run a deploy that uses use_sudo_askpass.
Not sure if maybe this is only an issue on macOS.
Expected behavior
See above.
Meta
❯ pyinfra --support
--> Support information:

    If you are having issues with pyinfra or wish to make feature requests, please
    check out the GitHub issues at https://github.com/Fizzadar/pyinfra/issues .
    When adding an issue, be sure to include the following:

    System: Darwin
      Platform: macOS-10.14.6-x86_64-i386-64bit
      Release: 18.7.0
      Machine: x86_64
    pyinfra: v1.3.7
    Executable: /Users/----/.virtualenvs/----/bin/pyinfra
    Python: 3.9.2 (CPython, Clang 11.0.0 (clang-1<IP_ADDRESS>))

I've seen this before - it affects everywhere! Need to add a hook to remove it if created.

This is now fixed in https://github.com/Fizzadar/pyinfra/commit/3377c54789240b383a3e2c7fa4e396f10eb896fb and released in v1.3.8!


Init options not setting up custom notification icon. "module is not defined"

Expected Behaviour
When receiving a notification, the icon must be the one from res/drawable
Actual Behaviour
When receiving notifications the plugin will not set the custom icon (or icon color) specified into init options and will instead set the default app icon as the notification small icon, resulting into a white square.
When setting a white+alpha icon as the default app icon, it will draw correctly (affirming that the default app icon is being picked not the custom one).
When debugging (android studio to device) the following lines shows up in logcat:
D/SystemWebChromeClient: file:///android_asset/www/js/push.js: Line 348 : Uncaught ReferenceError: module is not defined
I/chromium: [INFO:CONSOLE(348)] "Uncaught ReferenceError: module is not defined", source: file:///android_asset/www/js/push.js (348)
Which refers to the module responsible for setting up init options
Steps to Reproduce
add to config.xml:
resource-file src="res/drawable/iconname.png" target="res/drawable/iconname.png" /
and specify on my-app.js init:
var push = PushNotification.init({
                android: {
                    "icon": "iconname",
                    "iconColor": "blue"
                },
                browser: {
                    pushServiceURL: 'http://push.api.phonegap.com/v1/push'
                },
                ios: {
                    alert: "true",
                    badge: true,
                    sound: 'false'
                },
                windows: {}
});

Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 5.1
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Motorola Moto G X
Cordova CLI version and cordova platform version
cordova --version 7.0.1
cordova platform version android    6.2.2

Plugin version
2.0.0-rc5

Logs taken while reproducing problem
log.txt

@RenanDresch it seems really weird you are getting Uncaught ReferenceError: module is not defined, that makes me think you are not waiting until you get the deviceready event before trying to load the push plugin.
I also, notice in your logs you have an error in your code as it complains about aler not being defined. So you should probably clear that up first.
Finally, your logs stop after the initialization of the plugin but don't show the reception of a new push so I can't tell what image the plugin loads when a message comes in. As well your push payload would really help.

@RenanDresch see https://github.com/phonegap/phonegap-plugin-push/blob/v1.x/docs/PAYLOAD.md#notification-vs-data-payloads


Adds clearTemplate() method

Sometimes you need to just clear one template, instead of refreshing everything.

Sorry this has been sitting too long, I'm not actively using this project and have been having trouble keeping up with maintenance, would be happy to add you if you're interested: https://github.com/HenrikJoreteg/ICanHaz.js/issues/81


Replace use of csv_export with django queryset csv

Replace so that we don't have to mess with migrating our own csv_export to GitHub/PyPI.

Done.


Recent change for memory type selection causes OOM crashes during replay

We have a heavy .rdc file that used to replay correctly. After recent renderdoc change (929bcfc0ce6b10e9479b842a86cff6b353bff2db), that trace now tries to allocate memory out of GPU memory (while before it was coming out of host memory) and renderdoccmd replay crashes with RDCASSERT because vkAllocateMemory from the driver returns VK_ERROR_OUT_OF_DEVICE_MEMORY

I can share an .rdc file with you privately, if needed

Hi there, your issue has been closed due to not correctly following the issue template. Please read the documentation about filing issues and open a new issue which does follow the issue template. Do not reply to this issue with more information or with a correctly formatted issue, as that will only lead to confusion.
I try to address all github issues and fix bugs quickly, but badly formatted issues or poorly described bug reports especially are a significant drain on project resources. Taking a few minutes to file a good issue makes a huge difference and will get it addressed faster - everybody wins!
In github when you first create a new issue the form is pre-populated with a template which you should read over and follow. As linked above there is documentation going into more detail about what makes a good issue.


Fix box audio layout shifting on hover

Fixes

Fixes #465 by @dhruvkb
Description

This PR fixes the shifting of the audio title/category/player on a small desktop screen when the filters sidebar is open.

the title is clamped to 1 line
category is not displayed
for the users who want to see the rest of the clamped audio title on hover, title is added to the audio heading link.

Current behavior

Fixed in this PR

Testing Instructions

Checklist

[x] My pull request has a descriptive title (not a vague title like
Update index.md).
[x] My pull request targets the default branch of the repository (main) or
a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible
errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

This bug relates to a suggestion I shared in #455. I would love your thoughts on it.

This bug relates to a suggestion I shared in #455. I would love your thoughts on it.

The solution you shared there is more sustainable and user-friendly, @panchovm ! I am closing this PR and will try to open the one for the linked solution tomorrow.


Create an script to update sample outputs

We need to create a script that run a series of commands like
java -jar /Applications/oxygen/lib/saxon.jar  ./ands.org.au/sampleInputCollection.xml ./ands.org.au/collection_to_researchgraph.xsl  > ./ands.org.au/sampleOutputCollection.xml
xsltproc cern_to_researchgraph.xsl sampleWithORCID-1-Input.xml > out.xml
Related info:

https://www.oxygenxml.com/pipermail/oxygen-user/2006-February/000749.html
http://saxon.sourceforge.net/saxon6.5/using-xsl.html

This is no longer required.


add dependency check script

Just wondering if this is a reasonable approach to check manim dependencies.

This looks like a good start for both a --check-deps option as well as a test suite.

What is sox for? I did not find any calls to the program. I don't have sox installed on windows and manim seems running fine.

My attempt at obtaining a working virtual machine running macos has not been successful. I will not be implementing the macos portion of the script.

@Kolloom the sox package contains the play binary which is run from manimlib/utils/sounds.py.

@eulertour seems sox is only used when --sound is set then? This dependency is optional

@Kolloom yeah it's only optional, it's left over from a long time ago.

patch ready for review

Can you open a new fork, a couple issues with the code.


Inline style does not get included in HTML

I use draftjs-color-picker version 1.0.2 and draftToHtml version 0.8.3 and this is my code:
const contentRaw = convertToRaw(this.state.editorState.getCurrentContent())
const contentHtml = draftToHtml(contentRaw)

contentRaw:
{
blocks: Array(1)
0: data: {}
depth: 0
entityRanges: []
inlineStyleRanges: Array(1)
0: {offset: 4, length: 4, style: "CUSTOM_COLOR_rgba(74, 144, 226, 1)"}
length: 1
__proto__: Array(0)
key: "2h4he"
text: "One blue color"
...

contentHtml:

One blue color

When I look at demo of https://jpuri.github.io/react-draft-wysiwyg/#/demo I can see that the same code produces styled HTML.
Why does it not work for me?

I found out the reason myself. The draftjs-color-picker has a different format of color inline style prefix, I assumed the editor used this plugin. I later noticed that it was not part of the DraftJS Plugins.

Are you able to come up with a solution with this?

I don't remember other than that I confused it for a draftjs plugin. But we moved from draftjs to other editor.
Cheers, Josef
On Fri, Jun 21, 2019 at 4:58 AM +0200, "JMA12"<EMAIL_ADDRESS>wrote:
Are you able to come up with a solution with this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Aww, I see.
Btw thanks, cheers

Well,, I have a similar problem and first demo here in this link also has this issue? I wonder if this is a limitation of the editor itself? In that case it's a major issue https://jpuri.github.io/react-draft-wysiwyg/#/demo


CI: update actions, linter, minor cosmetics

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.42%. Comparing base (3d138bb) to head (fbfa834).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
- Coverage   66.44%   62.42%   -4.02%
==========================================
  Files           6        7       +1
  Lines         295      322      +27
==========================================
+ Hits          196      201       +5
- Misses         71       93      +22
  Partials       28       28

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


time scale: "time.format" is deprecated. Please use "time.parser" instead

To reproduce open the browser console while the polling is active. Nothing else required.

Maybe i can have a look the days. Hope so.

I'm currently pretty busy with school work, so it would be great if you could take a look!

Available in 1.0.5