getBoundary method is Queuing api calls

Hey Team,
Seems there is an issue with Microsoft.Maps.SpatialDataService.GeoDataAPIManager.getBoundary() method available at Get Multiple Boundaries .
We tried supplying around 1000 zipcodes at one execution, while API draws boundaries of this initial request, We already triggered another request before the first one finished to the same method with another set of 1000 different zipcodes,
A strange behavior of API is observed, The api somehow caches the old requests and still loads the old set of Zipcodes even though we are supplying the new set of them.
Finally it loads it loads all two set of zipcodes i.e. 2000 in total.
Please let me know if we are doing anything wrong,
Below is the set of syntax we used.
                   Microsoft.Maps.SpatialDataService.GeoDataAPIManager.getBoundary(latlong, geoDataRequestOptions, map, function (data) {                         var polygon;                         if (data.results && data.results.length > 0) {                             map.entities.push(data.results[0].Polygons);                             polygon = data.results[0].Polygons[0];                             Microsoft.Maps.Events.addHandler(polygon, 'click', function () { highlight(polygon); });                         }                     }, polygonStyle, function errCallback(networkStatus, statusMessage) {                         console.log(networkStatus);                         console.log(statusMessage);                         //alert("e");                     });
Here in the above code we are supplying latlng as an array of zipcodes.
Any help would be appreciated.
Regards,
Shohil Sethia

Let me see if I understand. You're calling getBoundary() twice, with two different sets of 1000 zipcodes? Your callback is invoked 2000 times (once for each code in each of the two sets)?
If so, the method is behaving as designed. The second call to getBoundary() doesn't cancel or replace the first.

The scenario is,
There is a generic function which first gets 1000 zipcodes to draw, While the getboundary is still in progress, The impatient user wants to see another set of zipcodes boundaries, therefore that same generic function is called again with another set of zipcodes.
Therefore in middle of this, I am creating a new map to plot them and executing map.entities.clear() and proceeding further to draw boundaries, So ideally old set of zipcodes should not be drawn, But the opposite happens, Both are drawn now, If any third set comes before second set finishes, That will also be drawn irrespective of whether you draw a new map or clear the entities.
If and only if i wait for it to finish drawing those zipcodes and then trigger new request, Old zipcodes will not appear,
This can be confirmed here on this link Get Multiple Boundaries

Whether to show or ignore a boundary response in the callback is logic you will need to add. In your case, you want a second getBoundary() call to replace the first; others may desire the existing behavior - show all the boundaries from both calls.
One approach would be to add each boundary from a batch to its own layer, instead of the global entities collection. Then you can add/remove layers as desired to show some or all of the boundaries.
var zipCodes = [...];
var zipCodes2 = [...];
var activeLayer;

function getBoundaries(zips) {
  var layer = new Microsoft.Maps.Layer();
  map.layers.insert(layer);
  map.layers.remove(activeLayer);
  activeLayer = layer;

  Microsoft.Maps.loadModule('Microsoft.Maps.SpatialDataService', function () {
    Microsoft.Maps.SpatialDataService.GeoDataAPIManager.getBoundary(zips, geoDataRequestOptions, map, function (data) {
      if (data.results && data.results.length > 0 && activeLayer === layer) {
        layer.add(data.results[0].Polygons);
      }
    });
  });
}

getBoundaries(zipCodes);
setTimeout(function () { getBoundaries(zipCodes2); }, 500);

Hey @drwestco ,
Thank you for providing solution, I could understand that creating and replacing the new data layer does solves the problem,
But i could see the the old set set of zipcodes are still hitting the getBoundary API in the chrome developer tools under network tab, Though they are not populating on map, It is still blocking some bandwidth,
Is there a way to stop them as well.
Any help would be appreciated,
Thanks !

There is currently no mechanism to cancel a batch of requests made via the
getBoundary method. One possible workaround would be to issue getBoundary
calls in smaller chunks - 20 or so at a time, instead of all 1000. I think
you'd need to count the number of times callback or errorCallback is called
to know when each chunk is complete, though.
On Tue, Aug 7, 2018 at 9:07 AM shohil06<EMAIL_ADDRESS>wrote:

Hey @drwestco https://github.com/drwestco ,
Thank you for providing solution, I could understand that creating and
replacing the new data layer does solves the problem,
But i could see the the old set set of zipcodes are still hitting the
getBoundary API in the chrome developer tools under network tab, Though
they are not populating on map, It is still blocking some bandwidth,
Is there a way to stop them as well.
Any help would be appreciated,
Thanks !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BingMapsV8CodeSamples/issues/21#issuecomment-411111436,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtWdtAS6V9OdLoxmyC11EADThLdmu8tks5uObsugaJpZM4VszOu
.

Hey @drwestco ,
Thanks for providing the resolution, I figured to provide data in chunks,
Can you please provide an example for the usage with chunk counter,
Thanks & Regards,
Shohil Sethia


Magicmock for mocked modules

probably in the future the MagicMocks could be replaced by sth else
I.e. then I could tailor the error message if sth from it is used


RandomAccessFile setPosition not working as expected

I am trying to chunk a file into base 64 string parts but I am having an issue with streams read incorrectly & the length of the returned strings.
File file = File(result.files.single.path);
RandomAccessFile randomAccess = file.openSync(mode: FileMode.read);

randomAccess = await randomAccess.setPosition(0);
List<int> buff = randomAccess.readSync(10);
debugPrint(base64Encode(buff)); // outputs: /9j/4AAQSkZJRg==

randomAccess = await randomAccess.setPosition(10);
List<int> buff2 = randomAccess.readSync(10);
debugPrint(base64Encode(buff2)); // outputs: AAEBAAABAAEAAA==

// Correct string
// /9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRP...

The first string returned is correct but the length does not match, 14 characters are returned for the first base 64 string, I expected 10, one byte for each character
The seconds string is also 14 characters and is nowhere to be found in the complete base64 file string (which i obtained by converting the entire file) i.e. if I convert the entire file at once I cannot find a pattern matching buff2's base64 segment
I used this testing image.
Flutter 2.0.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c5a4b4029c (4 days ago) • 2021-03-04 09:47:48 -0800
Engine • revision 40441def69
Tools • Dart 2.12.0

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.7 19H114 darwin-x64, locale en-ZA)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.1)
[✓] Connected device (2 available)

• No issues found!

base64 encodes 6 bits of input per 8 bits of output data. That means the output might not be aligned if the input bits don't divide by six. base64 pads the output with characters like = to align the output in this case. That is why the first encoded fragment has two extra = characters.
Since the first fragment needed alignment padding, that means the base64 encoder would have mixed data from the first and second data into the 'A' character following '/9j/4AAQSkZJRg'. But by encoding the second fragment separately, you force the encoder to reset and not combine the encoding of the fragments. The result is that get another string.
In short, while base64 data can be concatenated, you can't split the data into two parts and encode them separately and expect to get the same as encoding them together.
If that doesn't explain your problem, then please reply on the bug with a reproduction case where you show the actual integer byte values read and what you expected to read, so we know there really is a RandomAccessFile setPosition bug.

Thanks for the explanation, could you please add this description to the documentation?
https://api.dart.dev/stable/2.12.0/dart-io/RandomAccessFile/readSync.html
https://api.dart.dev/stable/2.10.5/dart-convert/base64Encode.html

Also see 43577

The readSync documentation is already correct and says it reads up to the number of bytes requested.
The base64 documentation links to the base64 specification https://tools.ietf.org/html/rfc4648 that explains how base64 works. Potentially that documentation could gain a description of what base64 works although that can also be looked up at other sources.


🐤 Does Tekton support using Github/Gitlab token？

I'm sorry I encountered the same problem as #1983, it took some time but no solution was found.
In the document cited in this issue, I only found a way to pull the Git repository using ssh and  basic auth.
Does Tekton support using Github/Gitlab token to pull private repositories? Did I miss something?

This is me who read the document all afternoon

In the end I thought of a solution and shared it with developers who had the same doubts.
For Github, you can follow the instructions of document to configure Secret and ServiceAccount.
You can use the following two ways to support Github AccessToken:

Configure the username in Secret as AccessToken and set the password to an empty value.
Configure the username in Secret to any value and set the password to AccessToken.

The configuration method of Gitlab is similar to the above, no more details.
I think the documentation is inadequate, and this configuration method is also obscure. If possible, look forward to a more explicit configuration method.


Some tags cannot be installed

It turns out our way of fetching git repos doesn't work with all tags. This is because we use git init && git remote add origin .. && git fetch origin, and for some reason that doesn't fetch all tags.
It's possible to replicate with the following addition:
let additions =
  { graphql =
      mkPackage
        [ "prelude"
        , "console"
        , "effect"
        , "typelevel-prelude"
        , "aff"
        , "aff-promise"
        , "nullable"
        , "argonaut-core"
        , "maybe"
        ]
        "https://github.com/hendrikniemann/purescript-graphql.git"
        "v1.0.1"
  }

The v1.0.1 tag exists but it's not fetched by git fetch. To fix this we should just use git clone

If you pass the --tags flag, would that solve the issue?

Oh, nevermind. I see it was already addressed.


Buggy behaviour of dataset API

System information

Have I written custom code: yes, see https://colab.research.google.com/drive/1AeVRilpcGp8zb0hZijTIxGWdL9GkzfN_
OS Platform and Distribution: Google Colab (Ubuntu 18.04.3 LTS)
TensorFlow installed from (source or binary): provided by Colab
TensorFlow version (use command below): 2.2.0-rc3
Python version: 3.6.9

Describe the current behavior
At Dataset graph branching points, the node, which is the root of the branching is resampled for each branch during one round of execution. With non-randomized inputs to the Dataset, this does not cause any problems. If the root node is after a .shuffle() call, the branches will receive different inputs in the same computation round.
Describe the expected behavior
Downstream branches should receive the same data even if shuffle() is applied.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1AeVRilpcGp8zb0hZijTIxGWdL9GkzfN_
More info:
This behaviour is also present if the dataset is created from a generator, which handles the shuffling implicitly.

@csxeba
The code shared required access permission to view it, please provide with simple standalone code to replicate issue faced.

Right link

i am able to replicate this, please find the gist here

It is also affecting TF 2.0 if that matters.

@aaudiber could you please take a look? thanks

Hi @csxeba,
This is working as intended. Datasets can be much larger than the memory of a single machine, so Dataset objects act like blueprints for how to produce data (instead of trying to hold the entire dataset at once). Datasets provide a streaming API for consuming data through an iterator. If you want each iterator created on a shuffled dataset to produce elements in the same order, use the reshuffle_each_iteration argument to Datasest.shuffle:
index = index.shuffle(buffer_size=len(self.index), reshuffle_each_iteration=False)

Hi Audiber, thank you for the clarification!


use merge-friendly way of adding vars to genpost

What does this PR do?
Uses a list of strings to generate the regex for post-processing of cgo-generated types
Motivation
The regex was prone to causing merge conflicts.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


New package: MaskArrays v0.1.0

Registering package: MaskArrays
Repository: https://github.com/cscherrer/MaskArrays.jl
Created by: @cscherrer
Version: v0.1.0
Commit: db6807154438b64b86858b6aeac3bae289c2fc1b
Reviewed by: @cscherrer
Reference: https://github.com/cscherrer/MaskArrays.jl/commit/db6807154438b64b86858b6aeac3bae289c2fc1b#commitcomment-48243558

[noblock]
Can this be merged please? I think the name is clearly distinctive.

It’s kind of funny how similar the letters are but how different the words look on this one.
I think it might be that we (or at least I) read/parse “Mask” as a single token instead of a sequence of letters, and it has a very different sound and meaning to e.g. “Mesh” even if they share some letters in the same places.


feat: ForkChoiceNotifications for BlockchainProvider and NoopProvider

Ref: https://github.com/paradigmxyz/reth/issues/9521

Looks good? @mattsse


[WIP] Simplified getting button div id in JavaScript controller

Continuation of #11190
Simplified getting button div id in JavaScript controller
TODO:
rename controller to something meaningful, there is no paging in this controller, only the buttons are used in paging_div.
maybe it could be united with the button_grup_controller? -- @himdel

@miq-bot assign @himdel

@miq-bot add_label wip, ui, refactoring

related: #5821

LGTM so far, the rename is up to you :)
As for merging with button_group_controller .. the role of button group controller is to show the right buttons given some definition. The role of paging div controller is to show the buttons in the right place, using dark magic :). So.. it can't really be united, however, it can use button_group_controller to provide the buttons, and only handle the magic to put them in the right place.

Meaning.. right now, it hardcodes the button template, compiles it, and adds it to the right place. Instead of hardcoding the template, it could hardcode a template of <button-group></button-group> (or something) using that directive to handle the rest.

@miq-bot remove_label wip

@himdel I'll leave it for the next PR, so this one can be already merged

Euwe Backport details:
$ git log
commit 03a2b4d9341f373d24af023cf511fc76256819b0
Author: Martin Povolny<EMAIL_ADDRESS>Date:   Thu Sep 29 14:46:34 2016 +0200

    Merge pull request #11222 from romanblanco/js_cleanup

    Simplified getting button div id in JavaScript controller
    (cherry picked from commit be84eaba93ad8c621bdff9cdfb3f4be07cea9e38)


Support for Material bottom sheet

 Issue by collinjackson
Thursday Oct 22, 2015 at 23:43 GMT
Originally opened as https://github.com/flutter/engine/issues/1749

https://www.google.com/design/spec/components/bottom-sheets.html

@HansMuller Is this done?


Remove Form screen

From experience, forms and input elements is a varied, at times broken, and inconsistent experience across devices. As such, remove the form screen from the app.

https://github.com/JohnPaulHarold/crt/pull/321


Demo link in readme should link to nextzen, not mapzen.

README.md has a link to the demo page but links to the wrong domain.
Please change to:
https://nextzen.github.io/leaflet-geocoder

Fixed in https://github.com/nextzen/leaflet-geocoder/commit/d0f6bcb386fc1ac5c2a35bd313bdc28e8daaf755, but since Mapzen services are offline more changes will need to happen to make the demo work fully again.


Mic not released on iOS 16

Starting with iOS 16, Apple made some changes to AVAudioSession and now the microphone indicator doesn't turn off.

Should be fixed in next release .


Sending previously sent requests

I'm starting to learn TDLib. I have a receiveUpdates_ method that receives updates and fills in certain fields. I have compiled and run the program several times, sending requests to td_api::getOption(...), td_api::close() e.t.c. Now the situation is worse: when calling, for example, clientManager_->send(clientId_, requestId++, nullptr), I get the requests I sent earlier. The tdlib directory did not appear in my working directory. Here is how it looks like:
void TelegramApi::receiveUpdates_()
{
  clientManager_->send(clientId_, ++requestId_, nullptr);
}

TelegramApi::TelegramApi()
{
  clientManager_ = td_api::make_object<ClientManager>();
  clientId_ = clientManager_->create_client_id();
  requestId_ = 0;

  receiveUpdates_();
  // updateAuthorizationState_();
}

Output:
[ 3][t 0][1702398218.087361812][Client.cpp:280][&td_requests]   Begin to wait for updates with timeout 0.100000
[ 3][t 4][1702398218.088156700][Td.cpp:2609][#1][!MultiTd]      Create Td with layer 167, database version 14 and version 51 on 4 threads
[ 3][t 4][1702398218.088364124][Td.cpp:4123][#1][!Td][&td_requests]     Sending update: updateOption {
  name = "version"
  value = optionValueString {
    value = "1.8.22"
  }
}
[ 3][t 4][1702398218.088422298][Td.cpp:4123][#1][!Td][&td_requests]     Sending update: updateOption {
  name = "commit_hash"
  value = optionValueString {
    value = "3f00bebf63086020fa58ef0f0c9cc4692c30844e"
  }
}
[ 3][t 4][1702398218.088441848][Td.cpp:4123][#1][!Td][&td_requests]     Sending update: updateAuthorizationState {
  authorization_state = authorizationStateWaitTdlibParameters {
  }
}
[ 3][t 0][1702398218.088460206][Client.cpp:293][&td_requests]   End to wait for updates, returning object 0 0x7ff338000bb0
[ 3][t 4][1702398218.088475704][Td.cpp:3240][#1][!Td]   Receive Td::hangup
[ 2][t 4][1702398218.088497400][Td.cpp:3571][#1][!Td]   Close Td in state 0
[ 3][t 0][1702398218.088491439][Client.cpp:280][&td_requests]   Begin to wait for updates with timeout 0.100000
[ 3][t 4][1702398218.088513374][Td.cpp:4123][#1][!Td][&td_requests]     Sending update: updateAuthorizationState {
  authorization_state = authorizationStateClosing {
  }
}
[ 3][t 0][1702398218.088523626][Client.cpp:293][&td_requests]   End to wait for updates, returning object 0 0x7ff338001c80
[ 3][t 0][1702398218.088541746][Client.cpp:280][&td_requests]   Begin to wait for updates with timeout 0.100000
[ 3][t 0][1702398218.088551282][Client.cpp:293][&td_requests]   End to wait for updates, returning object 0 0x7ff338001d20
[ 4][t 4][1702398218.088551998][Td.cpp:3388][#1][!Td]   Decrease request actor count to 0
[ 3][t 0][1702398218.088569641][Client.cpp:280][&td_requests]   Begin to wait for updates with timeout 0.100000
[ 3][t 4][1702398218.088573455][Td.cpp:3390][#1][!Td]   Have no request actors
[ 3][t 0][1702398218.088582992][Client.cpp:293][&td_requests]   End to wait for updates, returning object 1 0x7ff338001ed0
[ 4][t 4][1702398218.088600397][Td.cpp:3257][#1][!Td]   Decrease reference count to 0
[ 3][t 0][1702398218.088608980][Client.cpp:280][&td_requests]   Begin to wait for updates with timeout 0.100000
[ 3][t 4][1702398218.088618278][Td.cpp:4123][#1][!Td][&td_requests]     Sending update: updateAuthorizationState {
  authorization_state = authorizationStateClosed {
  }
}
[ 3][t 0][1702398218.088624715][Client.cpp:293][&td_requests]   End to wait for updates, returning object 0 0x7ff338001f30
[ 3][t 4][1702398218.088642120][Td.cpp:3376][#1][!Td]   Stop Td
[ 3][t 0][1702398218.088652610][Client.cpp:280][&td_requests]   Begin to wait for updates with timeout 0.100000
[ 3][t 0][1702398218.088675022][Client.cpp:293][&td_requests]   End to wait for updates, returning object 0 0x7ff338001ff0
[ 3][t 0][1702398218.088687419][Client.cpp:280][&td_requests]   Begin to wait for updates with timeout 0.100000
[ 3][t 0][1702398218.088724374][Client.cpp:293][&td_requests]   End to wait for updates, returning object 0 (nil)

How do I prevent old requests from being sent?

What do you mean by "I get the requests I sent earlier"? send returns nothing, so you can't receive anything from it.
In the log you create a TDLib instance, which is closed immediately, because corresponding ClientManager is destroyed.

TDLib can send updates any time whenever appropriate. It has closed, because the corresponding ClientManager was destroyed and your app lost ability to send request to it, or receive updates and responses from the instance.

I was sending and receiving requests via the receiveUpdates_() method, so the ClientManager was not destroyed at that point.


task 3

@sumanth01A
Task -3
Code verified. Provide a annotations
Task -4
Code verified. Provide a annotations


Whites on a RGBWW are showing red and flashing

I am running hyperHDR with rgbww leds. When I have a pure
https://user-images.githubusercontent.com/16495657/126928573-91b923d9-6694-4099-96a4-d8fc6e94d3b6.mp4
white background the LEDs flash and show red instead of a warm white (the ww).
Hardware
TCL 4K TV, wiistar HDMI to USB 3.0 Video Capture USB C Video Card with HDMI Loop Out and 4K HDMI Splitter 1x2 4K@60Hz 4:4:4 HDR D-o-l-b-y Vision D-o-l-b-y Atmos Compatible into a Yamaha AVR.
Rpi4 running hyperhdr.

Seems like problems with your LED setup (flashing) or configuration (3 bytes RGB instead of 4 bytes RGBW). That's what I'm guessing without a logs, LED driver configuration, screenshot from HyperHDR's video live feed.

Where is the 4 byte located?
How can I share the information you are requesting?

@awawa-dev why did you close this?

Because your are missing basic details that could indicate an application issue and it's seems it's rather a software configuration issue or led strip build hardware problem. Please provide details your LED driver configuration, logs, how it's connected and video live feed screenshot to exclude problem with a video signal (dolby vision is not supported by any mainstream grabber on the market) and start a topic  in the discussion. If you have access to esp8266 or esp32 for a few bucks then using WLED it could be a great help for the diagnostic.

Sorry! I was not sure what to share.
Here are the logs https://pastebin.com/eYsYA0hE
Here is my config https://drive.google.com/file/d/1ywKt9Q1rOxyMKmNNqwTY0XwlmK2aDb8T/view?usp=drivesdk
Screenshot of live

WS281x

Thanks! That's much better :)
Just to confirm: RGBWW means RGB Warm White?
If that's true then you probably have sk6812 RGBW led strip and you should not use WS281x driver (although it has an option: 'use RGBW protocol' and you may give it a try and maybe it will work, because now it works in 3 bytes RGB mode) but  sk6812 driver. BTW use of external ESP8266/ESP32 is recommended to drive that types of led.
PS:
Please upgrade HyperHDR to v16 ;)

Yup that's warm white. Not my favorite but it was what I had.
SMD 5050 RGB LED Strip Waterproof 5M 300LED DC 12V RGBW RGBWW Fita LED Light Strips Flexible Neon Tape Luz Monochrome
I did try rgb protocol but it gave me funky results.
When I try sk6812spi the LEDs don't turn on.

WS281x in 3 bytes RGB mode is definitely no way to go: beside different protocol the data buffer is smaller than it should be with 4 bytes RGBW (that's why led strip last segment is not controlled by the application).
GPIO18 on the screenshot means that you try to use PWM mode with WS281x driver and you should use different clock pinout with Rpi when SPI sk6812 led driver is used: probably because of that you had no reaction from the led strip when you tried it.

And I hope your led strip is not similar to something like that:

By clock pinout you mean try a different pin line gpio 10?
Where do I change the 3 to 4 bytes in the settings? Or is that driven by the driver?

Yes, GPIO10. sk6812 driver uses 4 bytes RGBW on default (there are very rare sk6812 RGB led strips but that's not the case).
Make sure that you have a common ground between Rpi and the led strip also.

Thank you. That is working better. However a new issue arose. The signal from the HDMI handshake is getting interrupted and cuts the signal. The screen goes black and then the picture reappears. The lights do stop at that point.

The handshake could disrupt the video stream: all grabbers that I have behave in such way when my PC is renegotiating the HDMI protocol when the video resolution is change for a new movie. It can last for 2-3 seconds at most. But then the video stream is back and led strip should be back online. If your led strip remains off then probably the capturing stream encounter critical error during that phase but it's a particular hardware problem as the grabber can't resume the capturing. Again more details should be in logs.

The handshake could disrupt the video stream: all grabbers that I have behave in such way when my PC is renegotiating the HDMI protocol when the video resolution is changed for a new movie. It can last for 2-3 seconds at most. But then the video stream is back and the led strip should be back online too. If your led strip remains off then probably the capturing stream encountered critical error during that phase but it's a particular hardware problem as the grabber can't resume the capturing. Again more details should be in logs.

Does yours continue when watching the movie, because mine does. The LEDs do go back on but the disruption happens several times during the playback. Would any of this have to do with HRD to SDR tone mapping?
Is there a way to see past logs? Mine is only showing today and the issue happened last night.

HDR to SDR tone mapping has nothing to it. It's about driver/hardware that provides the video stream: tone mapping is done later. My mpc-hc with madVR filter change the output resolution almost before every movie to choose best. Dont have any problems with Ezcap 269,320,321 and macrosilicone ms2109. it's only 1-2 seconds at the beginning. Internal logs are lost after each restart of HyperHDR. It's possible to run HyperHDR in the console and redirect log output to a file but it's a last resort solution, a bit more complicated.

The LEDs do go back on but the disruption happens several times during the playback.

If I had to guess it's related to poor HDMI cables quality.

It just happened so here is the log
https://pastebin.com/n0WPZZi1
I see bad entries but not sure what it means. I have new cables on order and will look into ESP32

Logs look clear, but please upgrade to v16 because I can't support v14 which is quite different from the current one.
The MJPEG bad frames are typical for some USB grabbers under Linux. Not sure if it's a manufacture design flaw, kernel driver or USB bus problem. But their number is not significant.
The video stream and led driver worked without any disruption for about 12 minutes to the log's end. HDMI cables are main suspect. Especially if the signal is disrupted also on the TV. Less probably reason is damaged USB grabber. I don't think that there is a power supply problem with the grabber because such thing leaves a trace in the logs.

I have some new cables in order. What would I be seeing in the logs if the pi can't handle the LEDs?
I will have to research esp32 as I'm not familiar with it.

Usually it leaves no trace...it's just not working or you may experience some random flashing from time to time. But it doesn't disrupt the video signal or doesn't cause any HDMI handshaking.
Better solution than ESP32 is ESP8266 (for example wemos d1 mini clone with CH340G or CP2104 serial chip on board, avoid CP2102!).

it's cheaper and we do not need a dual core at all (in fact dual core can cause some problems with WLED sometimes)
you can connected it by the cable or WIFI and use WLED, HyperSerialESP8266 or HyperSerialWLED

Regardless if you using Rpi or ESP to drive a LED strip it's recommended to use a level shifter (not required in most case but it should be used). It's explained here: https://hyperhdr.blogspot.com/2020/12/my-build-log-using-sk6812-rgbw-led.html#chapter3 or you can use 74AHCT125 chip

Regardless if you using Rpi or ESP to drive a LED strip it's recommended to use a level shifter (not required in most case but it should be used). It's explained here: https://hyperhdr.blogspot.com/2020/12/my-build-log-using-sk6812-rgbw-led.html#chapter3 or you can use 74AHCT125 chip

I saw that when I was setting it up but I measured the voltage and didnt have an issue with the number of lights I am driving. I can look into it again but I do not believe it to be a voltage issue.


fixes issue with sample db not getting created on first use

fixes issue with sample db not getting created on first use.  This moves logic for checking for the db file from run_server.ap to app/init.py
https://github.com/flask-admin/flask-admin/issues/1897

I am currently unable to reproduce the problem you are trying to solve here.
I'm closing this PR for the moment, please open it again if the problem persists.


added Java version of the exercise

Fixed the example fields where the "*" characters had disappeared
When looking at the README for this repo, I noticed that the example fields were looking a bit odd. The reason was that the stars denoting the bomb location where taken as formatting characters and hence were disappearing (and some of the field was in italics). Changed to a monospaced code font.
You can see the adjusted output in the forked repo's README: https://github.com/tonvanbart/Minesweeper-Approval-Kata

Since I rather liked this little exercise I added a Java version. The logic follows the Python version as close as I could get it, although I had to add some inner classes to compensate for the Java types. Hope you like it. The bug I added is different than the one in the Python version.

Fixes to the readme are appreciated. The port to Java looks good. @emilybache unless you need the bug to be 100% the same this could be merged

Thankyou both!


Can’t get application "ImageOptim"

I get this error on OSX Sierra: 15:47: execution error: Can’t get application "ImageOptim". (-1728)
Do I need to install ImageOptim separately to use this tool?

You do yes 👍

Ok, thanks


add evaluation_style property to the Function class

When creating an instance of Function, the user should be able to indicate the evaluation style. The main evaluation styles are the following:
# NUMPY or UNIVERSAL or SEPARATE or MULTIVARIATE
def rosenbrock_1(x, y, a=1, b=100):
    """
    x and y can be scalars or arrays.
    """
    return (a-x)**2 + b*(y-x**2)**2

# SINGLE
def rosenbrock_2(x, a=1, b=100):
    """
    x is a 1d array
    """
    return (a-x[0])**2 + b*(x[1]-x[0]**2)**2

# BATCH or BULK
def rosenbrock_3(x, a=1, b=100):
    """
    x is a 2d array
    """
    return (a-x[:,0])**2 + b*(x[:,1]-x[:,0]**2)**2

An enumeration should be created for these, eg
from enum import Enum

class InputStyle(Enum):
    NUMPY = 1    # For scalar or element-wise array inputs (vectorized, supports NumPy arrays)
    SINGLE = 2   # For fixed-size 1D array (not vectorized, single input like a vector)
    BATCH = 3     # For 2D array inputs used for batch processing (vectorized, multiple inputs)

Mazbe a fourth type could be SYMPY dedicated for symbolic functions generated from SymPy expressions using sympy.lambdify.

There is another evaluation style that occurs eg. when using the lambdify method from SymPy.
from sympy.parsing.sympy_parser import parse_expr
from sympy import lambdify, symbols
import numpy as np

str_expr = "(x-300)**2 + (y-400)**2"
variables = symbols("x y")
expr = parse_expr(str_expr, evaluate=False).simplify()

f0 = lambdify([variables], expr, "numpy")

res = f0([300, 400])
print(res)

x = np.array([[300, 400],[300, 400],[300, 400]])
res = f0(x.T)
print(res)

When this is done, the BGA class has to be updated to account for different evaluation styles. Currently it only utilizes BATCH evaluation in the case of symbolic functions.


[third_party/rust] fix Cargo workspace path

In #12038, the sw/host/Cargo.toml was moved but the appropriate path was
not updated. This fixes such. Now, if you need to add a rust crate, you
can:

navigate to third_party/rust/crates/
update the Cargo.toml file, and
run cargo raze (from the third_party/rust/crates/ directory.

Signed-off-by: Timothy Trippel<EMAIL_ADDRESS>

Merged.


Random Colour?

how do you select 'random' for light colour? i cent seem to see it in the supported list of variables

You can activate random colors from v2.0.5+ by setting the value of the color property to "any" or "random" ;)


Support 1.21

In 1.21 Mojang renamed all datapack folders (aside from tags) to be singular nouns, meaning this no longer works properly.
Luckily, I've got you covered :)

No clue how I missed updating this pack, I did update my other one. Will publish this soon after testing, thanks a lot!

Released as 1.0.1


Update torch_engine.py from "loss = loss_fn(enc_output, dec_output" to "loss = loss_fn(dec_output, target_img)"

Absolutely right @JonathanSum . I missed this thing in val_step. It is correct in train_step.
Thnx for this !!

The reason for such bugs was because I trained on Kaggle, where I used the ipynb file and not the scripts. Such stuff fixed on fly might not be there in scripts.
Thnx for that !!


"Syntax-Directed Operations" pane is missing some links

E.g., go to https://tc39.es/ecma262/#prod-LabelledStatement and click for SDOs. The resulting pane is missing links into:

14.13.3 Evaluation
<IP_ADDRESS> HasCallInTailPosition

Evaluation and Early Errors I semi-intentionally excluded, but HasCallInTailPosition is just an oversight.
MV, SV, TV, and TRV are also excluded, in this case because they're not really treated like SDOs in general. I believe that's all of them.

For Early Errors, there's already #287.
For the "inline SDOs", I realize that would require some fairly different code.
But why exclude Evaluation?

The rationalization for excluding Evaluation is that it isn't really the same kind of SDO as others - it's, in some sense, the "top level program" rather than being a helper function.
The actual reason is that Evaluation is not defined in a single place and I didn't think it was worth teaching ecmarkup how to handle SDOs which are defined over many clauses (especially in light of the previous paragraph), so ecmarkup just doesn't treat it as an SDO.


Adding xVMNetworkAdapter resource

This change is

Hi @rchaganti, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Any idea when this will get reviewed or merged?

Review status: 0 of 8 files reviewed at latest revision, 7 unresolved discussions.

README.md, line 77 [r2] (raw file):

* **Id**: Unique string for identifying the resource instance.
* **Name**: Name of the network adapter as it appears either in the management OS or attached to a VM.

How is the Name parameter different from the Id parameter? Is it possible or desirable to have the same name for multiple adapters, for example, when teaming?

README.md, line 79 [r2] (raw file):

* **Name**: Name of the network adapter as it appears either in the management OS or attached to a VM.
* **SwitchName**: Virtual Switch name to connect the adapter to.
* **VMName**: Name of the VM to attach to. If you want to attach new VM Network adapter to the management OS, set this property to 'Management OS'.

Should this property name have a space in it? It might lead to confusion.

README.md, line 80 [r2] (raw file):

* **SwitchName**: Virtual Switch name to connect the adapter to.
* **VMName**: Name of the VM to attach to. If you want to attach new VM Network adapter to the management OS, set this property to 'Management OS'.
* **DynamicMacAddress**: Set this to $false if you want to specify a static MAC address.

Could the Dynamic/Static be inferred? For example, if no MacAddress specified, default to dynamic? This would remove an unnecessary parameter?

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 143 [r2] (raw file):

                    }
                }
                elseif ($NetAdapterExists.SwitchName -ne $SwitchName)

Should this not just be an 'if' statement as it will only currently trigger if the Mac address is correctly configured? If the Mac address setting is configured incorrectly, it looks like it would take 2 consistency passes to converge.

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 264 [r2] (raw file):

                    }
                }
                elseif ($netAdapterExists.SwitchName -ne $SwitchName)

I don't think this will trigger as both $DynamicMacAddress and $StaticMacAddress cannot be $null? Should just be an 'if'?

Tests/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.Tests.ps1, line 117 [r2] (raw file):

                }
            }

There are no tests for the $SwitchName/Connect-VMNetAdapter or updating/Set-VMNetAdapter calls (if you update the tests first, you should see the logic issues mentioned earlier highlighted).

Tests/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.Tests.ps1, line 175 [r2] (raw file):

                }
            }

Missing tests for determining whether DynamicMacAddress/StaticMacAddress, VMName and SwitchName are correct/incorrect (if you update the tests first, you should see the logic issues mentioned earlier highlighted).

Comments from Reviewable

All good questions. I am still not use to reviewable so I will respond here.
#1. A net adapter connected to either VM or management OS can have the same name as others. So, it will be impossible to add multiple adapters with the same name even to different VMs if Adapter name is the key property. THis is where Id is being used. Refer to https://github.com/rchaganti/DSCResources/issues/3
#2. Agree with you. I can change it to ManagementOS.
#3. Sure, makes sense.
I am still reviewing #4, #5, #6, and #7. I will let you know my feedback soon.

Review status: 0 of 8 files reviewed at latest revision, 7 unresolved discussions, some commit checks failed.

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 143 [r2] (raw file):
Previously, iainbrighton (Iain Brighton) wrote…
> Should this not just be an 'if' statement as it will only currently trigger if the Mac address is correctly configured? If the Mac address setting is configured incorrectly, it looks like it would take 2 consistency passes to converge.

Any  updates on this?

Comments from Reviewable

@mbreakey3, @rchaganti - do we want to make sure all new PR's to this module meet HQRM guidelines? There are a few minor bits that need should be addressed in this PR if we're wanting to meet HQRM. I'm happy to do a review with those guidelines in mind (I can't remember the old guidelines now so I can only do HQRM reviews :smile: )
But no big deal if not - I'll be working on getting this module to HQRM standards over the next few months anyway and will address any problems at that point. But it would help if there were less things to fix up :grin:

@PlagueHO I am trying to push all updates to my repo first. Let us review the code there and then I will submit a PR directly to the HQRM module. I have a couple of new resources as well in cHyper-V. So, I am trying to address the HQRM guidelines one step at a time in that repo.

@rchaganti - Ok cool! I'll leave the HQRM stuff for a bit on this repos. Will look at addressing it once you've merged all your modules in.

Since this isn't a whole new module submission, it does not need to meet all of the HQRM guidelines to be merged. Tests are required, general high code quality is required but it doesn't need to follow the strict HQRM rules yet.

OK! I am updating the tests to give some comprehensive unit test coverage. I will push the module updates this week.

Alright! I have incorporated all review feedback and updated the tests / examples to reflect new parameters. This build is passing. So, please review the code and let me know if there is anything that needs further change.

Review status: 0 of 9 files reviewed at latest revision, 7 unresolved discussions.

README.md, line 77 at r2 (raw file):
Previously, iainbrighton (Iain Brighton) wrote…
> How is the Name parameter different from the Id parameter? Is it possible or desirable to have the same name for multiple adapters, for example, when teaming?

Id ensures that there can be a VM adapter with the same name in multiple VMs. Without this unique key and Name being the key, we won't be able to have multiple resource instances even though they belong to different VMs.

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 7 unresolved discussions.

README.md, line 79 at r2 (raw file):
Previously, iainbrighton (Iain Brighton) wrote…
> Should this property name have a space in it? It might lead to confusion.

I removed the space. This will be now ManagementOS.

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 7 unresolved discussions.

README.md, line 80 at r2 (raw file):
Previously, iainbrighton (Iain Brighton) wrote…
> Could the Dynamic/Static be inferred? For example, if no MacAddress specified, default to dynamic? This would remove an unnecessary parameter?

Yes, this input made sense to me. There is only MacAddress property now.

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 7 unresolved discussions.

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 143 at r2 (raw file):

his?
Done! there as a logic error here.

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 7 unresolved discussions.

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 264 at r2 (raw file):
Previously, iainbrighton (Iain Brighton) wrote…
> I don't think this will trigger as both $DynamicMacAddress and $StaticMacAddress cannot be $null? Should just be an 'if'?

Fixed. There are no two parameters now. They are combined into MacAddress and we infer the need for static or dynamic from that.

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 7 unresolved discussions.

Tests/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.Tests.ps1, line 175 at r2 (raw file):
Previously, iainbrighton (Iain Brighton) wrote…
> Missing tests for determining whether DynamicMacAddress/StaticMacAddress, VMName and SwitchName are correct/incorrect (if you update the tests first, you should see the logic issues mentioned earlier highlighted).

These are not needed anymore

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 7 unresolved discussions.

Tests/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.Tests.ps1, line 117 at r2 (raw file):
Previously, iainbrighton (Iain Brighton) wrote…
> There are no tests for the $SwitchName/Connect-VMNetAdapter or updating/Set-VMNetAdapter calls (if you update the tests first, you should see the logic issues mentioned earlier highlighted).

This is mostly not needed.

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_ManagementOS.ps1, line 3 at r4 (raw file):

Configuration HostOSAdapter
{
    Import-DscResource -ModuleName cHyper-V -Name cVMNetworkAdapter

Should this be "xVMNetworkAdapter"?

Examples/Sample_xVMNetworkAdapter_ManagementOS.ps1, line 6 at r4 (raw file):

    Import-DscResource -ModuleName PSDesiredStateConfiguration

    cVMNetworkAdapter HostOSAdapter {

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleManagementOS.ps1, line 6 at r4 (raw file):

    Import-DscResource -ModuleName PSDesiredStateConfiguration

    cVMNetworkAdapter ManagementAdapter {

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleManagementOS.ps1, line 14 at r4 (raw file):

    }

    cVMNetworkAdapter ClusterAdapter {

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 3 at r4 (raw file):

Configuration VMAdapter
{
    Import-DscResource -ModuleName cHyper-V -Name cVMNetworkAdapter

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 6 at r4 (raw file):

    Import-DscResource -ModuleName PSDesiredStateConfiguration

    cVMNetworkAdapter MyVM01NIC {

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 14 at r4 (raw file):

    }

    cVMNetworkAdapter MyVM02NIC {

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 22 at r4 (raw file):

    }

    cVMNetworkAdapter MyVM03NIC {

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleVMMACAddress.ps1, line 3 at r4 (raw file):

Configuration VMAdapter
{
    Import-DscResource -ModuleName cHyper-V -Name cVMNetworkAdapter

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleVMMACAddress.ps1, line 6 at r4 (raw file):

    Import-DscResource -ModuleName PSDesiredStateConfiguration

    cVMNetworkAdapter MyVM01NIC {

"c" resource

Examples/Sample_xVMNetworkAdapter_MultipleVMMACAddress.ps1, line 15 at r4 (raw file):

    }

    cVMNetworkAdapter MyVM02NIC {

"c" resource

Comments from Reviewable

facepalm :) I will fix all that.

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_ManagementOS.ps1, line 3 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Should this be "xVMNetworkAdapter"?

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_ManagementOS.ps1, line 6 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleManagementOS.ps1, line 6 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleManagementOS.ps1, line 14 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 3 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 6 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 14 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleVM.ps1, line 22 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleVMMACAddress.ps1, line 3 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleVMMACAddress.ps1, line 6 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 18 unresolved discussions.

Examples/Sample_xVMNetworkAdapter_MultipleVMMACAddress.ps1, line 15 at r4 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> "c" resource

Done!

Comments from Reviewable

@rchaganti - when you're responding to comments on reviewable, can you write all of them and then press the green publish button in the top right of the screen rather than pressing the publish button in the corner of each comment? That way they all get condensed into one comment on gitHub rather than sending out individual messages. Thanks!

Sure! will do. @mbreakey3

Review status: 0 of 9 files reviewed at latest revision, 12 unresolved discussions.

Comments from Reviewable

Reviewed 1 of 1 files at r3, 4 of 10 files at r4, 4 of 4 files at r5.
Review status: all files reviewed at latest revision, 12 unresolved discussions.

Comments from Reviewable

Reviewed 1 of 1 files at r3, 8 of 10 files at r4.
Review status: all files reviewed at latest revision, 31 unresolved discussions.

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 15 at r5 (raw file):

#endregion

Function Get-TargetResource

Can you add help before each of the functions?

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 81 at r5 (raw file):

}

Function Set-TargetResource

Can you add help before each of the functions?

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 119 at r5 (raw file):

    }

    Write-Verbose $localizedData.GetVMNetAdapter

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 126 at r5 (raw file):

        if ($netAdapterExists)
        {
            Write-Verbose $localizedData.FoundVMNetAdapter

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 153 at r5 (raw file):

                if ($netAdapterExists.SwitchName -ne $SwitchName)
                {
                    Write-Verbose $localizedData.PerformSwitchConnect

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 159 at r5 (raw file):

                if (($updateMacAddress))
                {
                    Write-Verbose $localizedData.PerformVMNetModify

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 189 at r5 (raw file):

                $arguments.Add('SwitchName',$SwitchName)
            }
            Write-Verbose $localizedData.AddVMNetAdapter

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 195 at r5 (raw file):

    else
    {
        Write-Verbose $localizedData.RemoveVMNetAdapter

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 200 at r5 (raw file):

}

Function Test-TargetResource

Can you add help before each of the functions?

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 239 at r5 (raw file):

    }

    Write-Verbose $localizedData.GetVMNetAdapter

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 252 at r5 (raw file):

                    if ($netAdapterExists.DynamicMacAddressEnabled)
                    {
                        Write-Verbose $localizedData.EnableStaticMacAddress

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 257 at r5 (raw file):

                    elseif ($netAdapterExists.MacAddress -ne $MacAddress)
                    {
                        Write-Verbose $localizedData.StaticAddressDoesNotMatch

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 265 at r5 (raw file):

                    if (-not $netAdapterExists.DynamicMacAddressEnabled)
                    {
                        Write-Verbose $localizedData.EnableDynamicMacAddress

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 272 at r5 (raw file):

                if ($netAdapterExists.SwitchName -ne $SwitchName)
                {
                    Write-Verbose $localizedData.SwitchIsDifferent

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 277 at r5 (raw file):

                else
                {
                    Write-Verbose $localizedData.VMNetAdapterExistsNoActionNeeded

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 283 at r5 (raw file):

            else
            {
                Write-Verbose $localizedData.VMNetAdapterExistsNoActionNeeded

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 289 at r5 (raw file):

        else
        {
            Write-Verbose $localizedData.VMNetAdapterDoesNotExistShouldAdd

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 297 at r5 (raw file):

        if ($netAdapterExists)
        {
            Write-Verbose $localizedData.VMNetAdapterExistsShouldRemove

Add named param

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 302 at r5 (raw file):

        else
        {
            Write-Verbose $localizedData.VMNetAdapterDoesNotExistNoActionNeeded

Add named param

Comments from Reviewable

Reviewed 4 of 4 files at r5.
Review status: all files reviewed at latest revision, 31 unresolved discussions.

Comments from Reviewable

Review status: 8 of 9 files reviewed at latest revision, 31 unresolved discussions.

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 15 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Can you add help before each of the functions?

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 81 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Can you add help before each of the functions?

Done!

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 119 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 126 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 153 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 159 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 189 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 195 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 200 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Can you add help before each of the functions?

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 239 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 252 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 257 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 265 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 272 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 277 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 283 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 289 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 297 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

DSCResources/MSFT_xVMNetworkAdapter/MSFT_xVMNetworkAdapter.psm1, line 302 at r5 (raw file):
Previously, mgreenegit (Michael Greene) wrote…
> Add named param

Done

Comments from Reviewable

@mgreenegit  Good to go?

Review status: 7 of 9 files reviewed at latest revision, 33 unresolved discussions.

README.md, line 79 at r6 (raw file):
Previously, TravisEz13 (Travis Plunk) wrote…
Can you note that this is the key?

Done

Comments from Reviewable

I guess this one missed the last release. But, just checking. Are we all good here?


[Ionic v4] ion-datetime not binding data using ngModel

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
[x ] 4.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request

Current behavior:
ngModel Binding in <ion-datetime [( ngModel)]="data"> is undefined
Expected behavior:
Bind to "data" variable
Steps to reproduce:
ionic serve
Pick a date
Press button "Test"
Check Console Logs
Related code:

app.html
<ion-datetime [(ngModel)]="data"></ion-datetime>
<ion-button (click)="print()">Test</ion-button>

app.ts

public data:any
print() {
    console.log(this.data);
  }

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Ionic:

   ionic (Ionic CLI)          : 4.0.1 (C:\Users\lance.parcero\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.0
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.0

Did you import FormsModule in your corresponding page/component module?
If no, might be your solution

Thank you for the issue! I am going to close this as a duplicate of https://github.com/ionic-team/ionic/issues/14755 but please let me know if I am wrong. 🙂


Node and API Error Handling

Node errors should include:

Errors reported by the node api.
A non-responsive node api - smapp can't get response from api calls to node after few attempts.
Node process panicked.

All of these kind of node errors must be displayed in this screen. For non-responsive ai and node panic, always give the user the option to restart the node. For node errors, only enable restart button if error is critical and reported that a restart is required.
When a node error occurs:

Display node errors in the new network screen.
Enable restart node button on critical node errors reported by the api (all panics should be reported)
Restart node when user clicks on restart node button.

The network screen visual mocks consider all of the above.

This feature is one of the most important smapp features while the node is in beta. We know that user hate it when smapp stops working and 1. they don't know why. 2. they don't know how to recover smapp from the node error.

We need to remember to handle 2 types of critical node errors as currently implemented in the node:

Errors reported via the errors streams (which might include errors that panic the node after being reported).
Node panics which are not reported in the errors stream.

Both cases should be handled in the same way as described in this issue.

Updated issue description to consider 3 types of node errors that we need to deal with.

In terms of all smapp issues for the July 5th sprint - this is one of the most important ones in terms of impact on the user experience. Should be high-priority.

@avive should we notify the User about non-critical errors (level less than dpanic = 5)?

I don't think so. If a node error is not critical then it means that basically the node keeps functioning and doesn't need user restarted. We should log these in the app log.
I hope that you are seeing a descriptive short error description for critical node errors to display in the network screen. If not, please let me know so we can file node issues for these.


Select Distinct

I've tried several methods to select distinct, but I had to drop back to the SqlBuilder to make it happen.  Is the SelectDistinct method functional?  Also, how would I select more than one column using this method?
Attempt:
var requests = testDB.FetchBy<TEST_TABLE>(query =>
    query.SelectDistinct(x => x.Col1)
        .Where(x => x.Col2 == "001" )
);

Working:
var sqlBuilder = new SqlBuilder();
var template = sqlBuilder.AddTemplate("Select Distinct /**select**/ from Test.Table where /**where**/");

sqlBuilder
    .Select("Col1")
    .Where("Col2= @0", "001");

I figured out the SelectDistinct(x => new { x.Col1, x.Col2 }) formatting to return more than one column, but it's still not actually doing the distinct query.
Additionally, I'm getting the below error:
 A first chance exception of type 'System.InvalidOperationException' occurred in System.Core.dll

Additional information: variable 'x' of type 'AAADAL.POC_SERVICE_REQUEST' referenced from scope '', but it is not defined

There is now a Distinct Method on the Query<T> method on IDatabase.
Give it a try.
Have made the change in https://github.com/schotime/NPoco/wiki/Revision-History#2791-beta
It is in 2.7.91-beta on NuGet.
Let me know if it works for you.

I guess my PR https://github.com/schotime/NPoco/pull/143 can be closed?


⚠ AsianCinema has degraded performance

In ecbf81e, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 3784 ms

Resolved: AsianCinema performance has improved in ecdd88e after 10 minutes.


feat(flags): add isAsync flag for methods and functions

Relates #79
Closes #66

Codecov Report

Merging #92 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #92      +/-   ##
===========================================
+ Coverage    90.31%   90.33%   +0.01%
===========================================
  Files           63       63
  Lines          981      983       +2
  Branches       193      173      -20
===========================================
+ Hits           886      888       +2
  Misses          88       88
  Partials         7        7

Impacted Files
Coverage Δ

src/node-parser/interface-parser.ts
92.3% <ø> (ø)
:arrow_up:

src/node-parser/class-parser.ts
94.36% <ø> (ø)
:arrow_up:

src/node-parser/function-parser.ts
98.18% <100%> (ø)
:arrow_up:

src/declarations/FunctionDeclaration.ts
100% <100%> (ø)
:arrow_up:

src/declarations/MethodDeclaration.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add alarm manager

8ca80ce5348cb7a9731d6ad189e14a203d325f25 Fixes gradle wanting signing certificates when building debug builds.
0dd37c1bec0481385b6b5cb9e9135b80d7108978 Fixes Looking up a deactivated widget's ancestor is unsafe.. This can only be caught in debug builds as the check is removed for release builds. See here and here for more information. This commit also removes listeners and some state variables in exchange for context.watch<T>() as recommanded in Provider docs for reading values.
a39f9671a7d1528809477898e94e0e1d36180054 Adds changes from https://gitea.presley.nz/brandon.presley/Massive/pulls/236 and adapts them to work with here.
f298a159cb656cf16f974fcdf4798b4cd8c6a47b Fixes the issue that sendTickBroadcast() has some extra latency before the flutter ui receives it (compared to the notification UI). In order to mitigate against this - so that the timer page doesn't get out of sync - e.g. 29, 28, 26, 25.
Now when the app is open, it behaves the same way as android clock app does when it is open - max(0, startTime + 20 - SystemClock.elapsedRealtime()).
And when closed reverts back to previous behaviour of timer.getRemainingMillis() % 1000
abf49c7ed1355e83868137daf757e3322b6499fb Fixes an issue where the on screen timer page and the notification could get out of sync. It now updates mainActivityFocused variable in TimerService when it happens, instead of waiting for a broadcast. Additionally, the UI elements are only triggered to update when a second has passed.
f641ff274fd03f1cf674193a05f9422b864162ad Builds on abf49c7ed1355e83868137daf757e3322b6499fb by adding a timeStamp to the data sent via the MethodChannel, in order to account for any latency in said MethodChannel
9eeea66b5ad323cb1080d8e2be3564695c5a010f builds on f641ff274fd03f1cf674193a05f9422b864162ad and abf49c7ed1355e83868137daf757e3322b6499fb. Flutter App UI has its own timer class to keep track of state - NativeTimerWrapper. Now the MethodChannel only updates the Flutter UI on a timer State change - so when it changes from Running, Paused and Expired. The normal ticking of the timer no longer updates the Flutter UI as it has its own way to keep track. Both codebases now / use periodic timers to execute update functions. Kotlin uses fixedRateTimer instead of postDelayed. The Timer class was renamed to FlexifyTimer to avoid name conflicts.
84c322ae5f1ba479e19077c3720f5ea017ab9e13 makes the Flutter UI send a timeStamp with each request it makes. This way TimerService is always in sync with the UI and the UI doesn't seem to go backwards / be delayed at start of each timer. Also some minor refactoring in the way method channels are called and permissions are requested.
8e8ebb355413dcffebdb7635b468de6544abc2ca Fixes all discrepencies, reverts back to postDelayed as fixedRateTimer. Fixed UI bug making it seem timers were not in sync.
692d951c6c6ad94b12b3e7ff18b4a370461923d4 Reverts to previous behaviour, makes the notification refresh rate only 20ms when the app is open, so the timer and notification are in sync, otherwise it reverts back to timer.getRemainingMillis() % 1000.
I have left the getProgress method in MainActivity, and StopAlarm.kt which can both be safely removed if there are no future plans for them.
If you want me to squash these some commits together let me know.

I think this mr is feature complete now.

This mr should now be feature complete.

Seems to have an error when attempting to run:
PS C:\Users\brandon\flexify> flutter run
Resolving dependencies... (7.3s)
  _fe_analyzer_shared 64.0.0 (67.0.0 available)
  analyzer 6.2.0 (6.4.1 available)
  csv 5.1.1 (6.0.0 available)
  dart_style 2.3.4 (2.3.6 available)
  drift 2.15.0 (2.16.0 available)
  drift_dev 2.15.0 (2.16.0 available)
  ffi 2.1.0 (2.1.2 available)
  flutter_lints 2.0.3 (3.0.1 available)
  flutter_local_notifications 16.3.2 (17.0.0 available)
  js 0.6.7 (0.7.1 available)
  lints 2.1.1 (3.0.0 available)
  matcher 0.12.16 (0.12.16+1 available)
  material_color_utilities 0.5.0 (0.11.0 available)
  meta 1.10.0 (1.12.0 available)
  path 1.8.3 (1.9.0 available)
  provider 6.1.1 (6.1.2 available)
  sqlparser 0.34.0 (0.34.1 available)
  test_api 0.6.1 (0.7.0 available)
  web 0.3.0 (0.5.1 available)
  web_socket_channel 2.4.0 (2.4.4 available)
  win32 5.2.0 (5.3.0 available)
Got dependencies!
21 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Launching lib\main.dart on Pixel 5 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > Android resource linking failed
     C:\Users\brandon\flexify\build\app\intermediates\packaged_manifests\debug\AndroidManifest.xml:71: error: 'specialUse' is incompatible with attribute foregroundServiceType (attr) flags [camera=64, connectedDevice=16, dataSync=1, location=8, mediaPlayback=2, mediaProjection=32, microphone=128, phoneCall=4].
     error: failed processing manifest.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
Running Gradle task 'assembleDebug'...                             12.0s
Exception: Gradle task assembleDebug failed with exit code 1
PS C:\Users\brandon\flexify>

It was a local environment error. I needed to change:
C:\tools\flutter\packages\flutter_tools\gradle\src\main\groovy
static int compileSdkVersion = 33
to 34.
Great work as per usual King. Thanks a lot.

@josephnglynn any idea what I should do about this?
I had the debug build sign with the release config because flutter run will forcibly uninstall + reinstall the app and wipe all my data if i accidentally forget to export my sets before running it.

@josephnglynn any idea what I should do about this? I had the debug build sign with the release config because flutter run will forcibly uninstall + reinstall the app and wipe all my data if i accidentally forget to export my sets before running it.

Scratch that I figured it out here:
https://github.com/brandonp2412/Flexify/commit/1121f3db1c1d15a0bb84998d1d927b29a338fb3d


Added support for CheckBox and RadioButton drawable on right side.

Also updated the sample app to show these changes.

I don't think we should add this feature, because it may mess up with RTL layout direction which is already supported. If you really want this, you can always create custom widgets extend from my class.

Well I have seen in many many places specially in forms, CheckBoxes' and RadioButtons' drawables are right aligned. Its okay if you don't want to include this in your library.
Thanks for this wonderful library.


IAM-259-Add COS Integration to Hydra

Integrating Hydra charm with COS components: Prometheus and Loki
cos integrations manual testing instructions:
These instructions presuppose that you have a juju cluster with working hydra, prometheus-k8s, and loki-k8s integrated with hydra. Hydra charm uses the default relation names.
Prometheus:
curl 'prometheus_url:9090/api/v1/query?query=http_requests_total&app=hydra&code=200&endpoint=/admin/health/alive' | yq
If you get a list of metrics, then it worked.
Loki
curl loki_url:3100/loki/api/v1/label/juju_unit/values
If your unit shows up in the results, it should be good.

Can we have some example prometheus rule added? Sth like here


Updating constructors and errors

Documentation
Improving constructors
Improving errors

@goyox86

Current coverage is 93.46% (diff: 88.13%)

Merging #46 into master will decrease coverage by 0.79%

@@             master        #46   diff @@
==========================================
  Files            37         38     +1
  Lines          3047       3151   +104
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2872       2945    +73
- Misses          175        206    +31
  Partials          0          0

Powered by Codecov. Last update 4ffe2ff...a07b05e

@goyox86 merging this as its only readme and some improvements


The terminal becomes full back (including the fonts.)

Type: Bug
Recently, started using the VS code and my terminal is full black, text, anything i write etc.
I tried reinstalling the whole application, remove all extentions and tried to delete all the setting i have ever had on the VS code, nothing helped. I check all of the forums i could set a hand on, but nothing helped.
The terminal is running, i mean i see the cursor of what i am writing, i am able to copy from it, but i have to write blind and i dont see the results.
I will really appriciate if anyone give me a hand of fixing that.
Thank you in advance.

Thank you!


[BUG] save / edit bug

Describe the bug
Any subsequent macro saving wont work, only saves it the first time. It also creates strange blocks in the raw edit (blocks instead of spaces and "table:3123124124412" instead of steps, same goes for spellnames)
To Reproduce
Steps to reproduce the behavior:

create new macro
save
reopen
edit wont work

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10 64bit
Game Version TBCC latest

GSE Version

Version: 3, beta5
Downloaded From: github

Additional context
Add any other context about the problem here.

Can you give me a screenshot?  The strange blocks are expected and can be
ignored.  This is WoW going how do I render a "TAB" character.
Also if you are raw editing and don't have the format right it won't save.
(Block format is described:
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/wiki/GSE3.0-Block-Specification
)
On Thu, 17 Jun 2021 at 16:31, betterftr @.***> wrote:

Describe the bug
Any subsequent macro saving wont work, only saves it the first time. It
also creates strange blocks in the raw edit (blocks instead of spaces and
"table:3123124124412" instead of steps, same goes for spellnames)
To Reproduce
Steps to reproduce the behavior:

create new macro
save
reopen
edit wont work

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10 64bit
Game Version TBCC latest

GSE Version

Version: 3, beta5
Downloaded From: github

Additional context
Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/863, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEMCFP566FP22IDLIHXQSDTTGMVZANCNFSM463ADHVQ
.

--
Timothy Minahan**M 0406 413 680  |  E @.**

ok:
["table: 000002C01639B4C0"] = {             [1] = "~~KeyPress~~",             [2] = "/castsequence  reset=combat  217200, 193530, null",             [3] = "/use [combat,nochanneling]  13",             [4] = "/use [combat,nochanneling]  14",             ["Type"] = "Action"         }
Is it saving in the wrong place
On Thu, 17 Jun 2021 at 16:38, Timothy Minahan @.***> wrote:

Can you give me a screenshot?  The strange blocks are expected and can be
ignored.  This is WoW going how do I render a "TAB" character.
Also if you are raw editing and don't have the format right it won't
save.  (Block format is described:
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/wiki/GSE3.0-Block-Specification
)
On Thu, 17 Jun 2021 at 16:31, betterftr @.***> wrote:

Describe the bug
Any subsequent macro saving wont work, only saves it the first time. It
also creates strange blocks in the raw edit (blocks instead of spaces and
"table:3123124124412" instead of steps, same goes for spellnames)
To Reproduce
Steps to reproduce the behavior:

create new macro
save
reopen
edit wont work

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10 64bit
Game Version TBCC latest

GSE Version

Version: 3, beta5
Downloaded From: github

Additional context
Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/863, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEMCFP566FP22IDLIHXQSDTTGMVZANCNFSM463ADHVQ
.

--
Timothy Minahan**M 0406 413 680  |  E @.**

--
Timothy Minahan**M 0406 413 680  |  E @.**

Did you found the source of problem? :P nice

edit2: https://imgur.com/a/gYEIH6M
this is what happens if I change the pause block and resave it

Yeah its the same bug


HDDS-10990. Fix memory leak in native lib

What changes were proposed in this pull request?
Changing the patch file in native lib to clear ParsedInternalKey object.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10990

Thanks @swamirishi for the patch.


extend UnsplashBridge

Thanks @nel50n for his UnsplashBridge! The commit is mainly based on his work.
As I this new bridge is based on UnsplashBridge.php, I left the MAINTAINER in line 6 to @nel50n . What do you think, shall I change this to me or leave it as is?
Signed-off-by: langfingaz<EMAIL_ADDRESS>

In this bridge one can "follow" a username on https://unsplash.com receiving new images.
Here is one example of a running rss-bridge instance with this bridge enabled: https://rss.privacy1st.de/?action=display&bridge=UnsplashUser&u=h4mmiidd&m=20&w=1920&q=75&format=Html

And I'm not sure, but maybe one could merge this bridge into the already existing UnsplashBridge so that one can select if one would like to get the latest unsplas images or new images from a specific user. Help or ideas on how to do this are welcome!

I left the MAINTAINER in line 6 to @nel50n . What do you think, shall I change this to me or leave it as is?

Generally speaking, if you are making new bridge, you should set MAINTAINER to yourself.

And I'm not sure, but maybe one could merge this bridge into the already existing UnsplashBridge

You can add param like "Filter by Username (optional)" or "Username (optional)" and defaultValue = "". Then you can change api source depending if this param is given.

You can add param like "Filter by Username (optional)" or "Username (optional)" and defaultValue = "". Then you can change api source depending if this param is given.

All right, I did some more work on the UnsplashBridge and merged my new UnsplashUserBridge into the already existing UnsplashBridge.

Generally speaking, if you are making new bridge, you should set MAINTAINER to yourself.

And I'm now added as second MAINTAINER.

Hi, @langfingaz ! Could you please rebase your PR?
I have recently fixed Travis CI. It runs some tests and linting checks.

Well, I'm sorry that I somehow failed rebasing my changes... The master branch of my forked repo is now 26 (and not 3) commits ahead of RSS-Bridge:master.
I created a branch langfingaz/unsplash which is 3 commits ahead of RSS-Bridge:master.
Probably it better to create a new pull request from within that branch and close this pull request to keep it cleaner?
Sorry for the inconvenience.


octal: Implement canonical-data.json

We want to have a standard set of test inputs and outputs for each exercise to
make it easier to port them to new languages, as well as to help keep the
exercises in sync.
The Octal exercise can be found in the ./exercises/octal/ directory.
The step-by-step instructions for how to compile a canonical-data.json file is
described in this section of the contributing guide.
See http://exercism.io/contribute/canonical-data/octal for the up-to-date list of
language tracks that have an implementation of the Octal exercise.
The tracking issue has more context.

Hasn't this got deprecated in favor of all-your-base alongside of binary, trinary, and hexadecimal?

Yes, this exercise is deprecated as you indicated!

It should be deprecated, but it isn't yet. The open issue is https://github.com/exercism/x-common/issues/279


Error during generating change log.

Search first

[x] I searched and no similar issues were found

Description
HI Team,
I got this issue when generating the change log from the existing database.
also tried with the previous version issue persists.
Starting Liquibase at 13:48:00 (version 4.27.0 #1525 built at 2024-03-25 17:08+0000)
Liquibase Version: 4.27.0
Liquibase Open Source 4.27.0 by Liquibase
BEST PRACTICE: The changelog generated by diffChangeLog/generateChangeLog should be inspected for correctness and completeness before being deployed. Some database objects and their dependencies cannot be represented automatically, and they may need to be manually updated before being deployed.
ERROR: Exception Details
ERROR: Exception Primary Class:  UnexpectedLiquibaseException
ERROR: Exception Primary Reason:  Unknown boolean value: 0x01
ERROR: Exception Primary Source:  4.27.0
Unexpected error running Liquibase: Unknown boolean value: 0x01
;- database :aurora mysqlsql
:- class file :- mysql-connector-j-8.3.0.jar
liquibase-log.txt
Steps To Reproduce
liquibase generate-changelog --changelog-file=example-changelog.xml
from exiting Aurora Mysql database
Expected/Desired Behavior
it should create change log set file.
Liquibase Version
4.27.2
Database Vendor & Version
Mysql 8.3
Liquibase Integration
mysql-connector-j-8.3.0.jar
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
ec2 amazon linux 2
Additional Context
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

@mrinaljain11 I have responded to your request on Discord here: https://discord.com/channels/700506481111597066/1299332058417598577/1299383380437372949
In order to really troubleshoot, we would need to see your changelog file. It seems like you are trying to use a non-boolean value (0x01) in a place expecting a boolean (true/false).

HI team
Developer created table  with  b'0'  as the
ALTER TABLE tablename  ADD COLUMN XXXX BIT(1) DEFAULT b'0' NOT NULL ;

thus, does this mean we need to change all the bool to tinyint so that it considers it 1 or 0?
or is there any other workaround?

Hi @lbadam
I've included for you the change log from the database.change.csv
logs :- liquibase-log.txt


Flag for creating a new app with scss already configured

Which scope/s are relevant/related to the feature request?
create-analog
Information
I only noticed this as I started migrating an existing project over to include Analog, a new Analog app starts with styles.css, I found there is documentation on the website, but I believe this can be automated and will also make transition from vanilla angular setup much easier, especially if one is using angular material.
Would it be possible to include a styles flag/args for new apps where one can set the value e.g.
--styles="scss"
Describe any alternatives/workarounds you're currently using
Following manual setup in documentation
I would be willing to submit a PR to fix this issue

[X] Yes
[ ] No

I like it


Check node version against gaiacli version

UI Version: 0.6.2
Description:
The node we are connecting to might have another version of the SDK then we are using and therefor the LCD might produce unexpected results. We should check the version and display an error if the node is on another version.

LCD endpoint is /node_version