InvalidKeyMapError

Hey, since some days i get these error from react-geocode:
Google Maps JavaScript API error: InvalidKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key-map-error
But i didn't change anything. Does someone know the problem?

Official description of the error:

The API key included in the script element that loads the API is not found. Please make sure you are using a correct API key. You can generate a new API key in the Google Cloud Platform Console.

I think your Google Maps API Key is not valid. It is either deleted or not valid anymore.

@paddibr any success?

yes, I wrote to Google. Problem was the copyrights inside the suggets window. So google is blocking domains if not.

Okay then. As no issues left, I am closing it.


support middleware and nonce

Current dependencies on/for this PR:

main

PR #8   👈

This comment was auto-generated by Graphite.


Add more open per-inverter endpoint

First: As a recovering Sunpower user, thank you.  This integration brought back all of what I had with my sunpower integration and more.
I found one more endpoint that I haven't seen used before.  I think it has similar data to your per-inverter stats but I think its available for non-installer accounts (I can't 100% verify this, I don't have a non-installer account but it seems to work even when I don't fetch an installer token..  so I think it does).  This does change entity names in the backend which is a little frustrating as a user.
I pulled a bit more of the data into sensors
I made the sensors report 'unknown' when the envoy reports them 'gone' which seems the same as 'not communicating'.  The one thing I was seeing interestingly different was temperature going to 32f but I assume that is actually just a '0' which probably isn't really data.
Lifetime power seems like its 'lifetime' since it was last configured with the envoy (sunpower seemed to actually pull a true lifetime of the inverter somehow..  :shrug: )
This probably needs some debate before it goes in :-)

nice find on this url, how did you stumble upon this one ? 😃
There is also more information for iq relays here:
    "999999960": {
        "devName": "nsrb",
        "sn": "999999998177",
        "active": true,
        "modGone": false,
        "channels": [
            {
                "chanEid":<PHONE_NUMBER>,
                "created":<PHONE_NUMBER>,
                "wattHours": {
                    "today": 0,
                    "yesterday": 0,
                    "week": 0
                },
                "watts": {
                    "now": 0,
                    "nowUsed": 0,
                    "max": 0
                },
                "lastReading": {
                    "eid":<PHONE_NUMBER>,
                    "interval_type": 0,
                    "endDate":<PHONE_NUMBER>,
                    "duration": 953,
                    "flags": 16,
                    "flags_hex": "0x0000000000000010",
                    "temperature": 33,
                    "acCurrOffset": -15,
                    "VrmsL1N": 225868,
                    "VrmsL2N": 204,
                    "VrmsL3N": 0,
                    "freqInmHz": 50017,
                    "stateChngCnt": 1,
                    "vrmsB1L12": 0,
                    "vrmsB2L12": 0
                },
                "lifetime": {}
            }
        ]
    },

so now we finally know what voltage and frequency the iq relay is reading 😇

also, i have a installer account, so cannot verify if url https://envoy/ivp/pdm/device_data is a installer only endpoint

Tried it with my home-owner account on my Envoy non-metered and both ivp/pdm/device_data and /ivp/pdm/energy work fine.

This endpoint indeed works with an home owner account, great! I will see if we can switch over, preferably maintaining all the sensor IDs so people don't loose their history.
Thanks for you contribution and the new endpoint @krbaker ! 😃

This endpoint indeed works with an home owner account, great! I will see if we can switch over, preferably maintaining all the sensor IDs so people don't loose their history.
Thanks for you contribution and the new endpoint @krbaker ! 😃

Cool to see there is even more data here, I don't have an enphase battery system.
Just in case I don't want to get my source in trouble but it started from this thread: https://support.enphase.com/s/question/0D53m000095MFl3CAG/is-there-anywhere-where-i-can-view-full-local-api-documentation-for-my-envoy

Oh, one thing I should mention.  Things like the temperature and wattage 'stick' at the last reported value.  I used the 'gone' status to make the values change to 'unavailable' when a panel is offline.  This is I think slightly different than the other values (I noticed temperature goes to 0c when the panel is offline - I think).  Questionable if this matches what folks want from this plugin.


Add support for plug-ins

Support for data and view plug-ins. See #921 for examples.
Extra command to support plug-ins:
pip install -e $DIGITS_HOME

I'm reworking the setup.py script in https://github.com/NVIDIA/DIGITS/pull/1093. Let's merge that, then rebase this.

Rebased on top of envvar/setup.py PRs


CHG : Adding logging for the library on the way to platform independency

You can check if it works good :-)

Please update Readme.md how to use logging callback... also the example implementation in examples folder


Push notifs - Add Pushover support

Updated the config file so config options are organised into sections,

Added Pushover notification support,

Updated the read me to reflect changes.

I was looking to participate but I don't think I'll get all four PRs before the end of October so it's nothing to worry about. Honestly, I added the feature because its something I want for afking nightmare zone. Saved me making a whole new plugin plus I got to make my first PR which is very cool!


layer control

I did not use react in my project。Just javaScript code.
Now，I want to hide or show one layer in one canvas in page，
It seem that map.addLayer(layer)、map.removeLayer in arcgis or leaflet

You should use deck.setProps({layers: ...}) with your new list of layers. You can either omit the layer in the new layer list, or set its visible property to false (can be more efficient if the layer is showing a lot of data and you are frequently turning it on and off).
Here is an article in the new FAQ that may be helpful.
The FAQ will be part of the deck.gl website once we publish 6.1.

Ok,I found the that method yesterday.but how do I change the value of visible ?

You can't change a layer. You create a new Layer with the same id, but with the prop changed.
deck.setProps({layers: [
  new ScatterplotLayer({
    id: 'same-id-as-last-time',
    ...
  }),
  ...
]});

Layer instances are only "descriptors" describing what deck.gl should render, not actual objects you manipulate.


Plan for when new version is released?

Hi!
Wondering if there is a plan for when to release a new version with the fixes contained in master (https proxy specifically)?
Do you recommend to wait for a new release or are the changes in master safe to use?

+1


BHL-WIKI Chair Conference report for SPNHC TDWG 2024

Story: As a Wikimedian and Chair of BHL-WIKI, I want to compile a conference report for SPNHC TDWG 2024 so that the working group and other interested folks can have a thorough overview of the relevant sessions in the biodiversity informatics space to our group's charge.
Report Link: conference report

Thank you so much @SiobhanLeachman for this amazing recap!


Add support for Motion Spot Light

UME Smart WiFi LED Security Light Motion Sensor Outdoor, Work with Alexa/Google/SmartThings, 3000LM,2700-6500K,Waterproof,Dusk to Dawn Flood Light with APP Control Perfect for Yard,Exterio(Black)
https://www.amazon.com/gp/product/B09BZ24H17/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
device.txt
Please refer to the troubleshooting section to get device list info. https://github.com/0x5e/homebridge-tuya-platform#troubleshooting

Can we treat sensor light as a normal light? Currently code reuse acrossing accessories still need to improve, I need to copy code from Motion sensor to any accessory which need motion features.

Added in beta.29


Windows.Terminal.Wsl stopped working in update 1.9.1942.0 ?

Windows Terminal version (or Windows build number)
1.9.1942.0
Other Software
No response
Steps to reproduce
here is my settings.json:
{
  "profiles": {
    "list" : [
        {
            "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
            "hidden": false,
            "name": "Ubuntu",
            "source": "Windows.Terminal.Wsl"
        }
    ]
  }
}

I went to the terminal this morning and found that the wsl profile was missing from the list. What happened? Yesterday he was on the list
Expected Behavior
Windows.Terminal.Wsl profile will be displayed
Actual Behavior
does not appear in the profile list

If you manually start wsl.exe outside of the Terminal first, then open the Terminal, does it come back? WSL has a pretty hard time of starting promptly when we want to ask it what distros are installed, and that's lead to a variety of issues like this.

Yes. I solved this problem by rebooting. Sorry, I forgot to close the issue.


3p cookies 1.7.6

Issue #, if available:
Description of changes:
Patching Request Storage Access changes to enable 3p cookie access within CCP. This change also involves changes associated with updating from outdated gulp to web pack build system
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

PR looks good, just need to update to fix the merge conflicts


cilium ci: set l7proxy to false

Reason for Change:

L7proxy has been disabled in AKS cilium config for GA. Setting L7Proxy to false for ACN pipeline testing.
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

lgtm but why does it have @huntergregory's change in the commit log?

not sure, it showed up after I clicked rebase on the pr


Use Instance Metadata Service Version 2 as default

User Story
As a security engineer
I want users to use IMDSV2 in EC2 instances as default
So that they follow best practice
https://aws.amazon.com/about-aws/whats-new/2024/03/set-imdsv2-default-new-instance-launches/
This is to enable it in all accounts (on account level).
Value / Purpose
Encourage users to follow best practice
Useful Contacts
No response
Additional Information
No response
Proposal / Unknowns
Hypothesis If we... [do a thing] Then... [this will happ]
Proposal A proposal that is something testable, don't worry whether it works or not, it's a place for ideas.
Unknowns Potential pitfalls that could cause the story to expand beyond its original scope. Ideally this section will remain blank.
Definition of Done

[ ] Enable IMDSV2 by default on all member accounts
[ ] User docs have been updated
[ ] Another team member has reviewed
[ ] Tests are green

This can be done without too much difficulty on EC2 instances like so:
resource "aws_instance" "this" {
...
  metadata_options {
    http_tokens = "required"
  }
}

To deploy at account level...
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_instance_metadata_defaults

https://github.com/ministryofjustice/modernisation-platform/pull/6930 - Draft PR to default to IMDSv2

https://github.com/ministryofjustice/modernisation-platform-terraform-baselines/pull/446 - Draft PR to update the baselines module to include imdsv2 by default.

New release to Baselines module enabling IMDSv2 by default v7.1.0

Notice sent in the update channel https://mojdt.slack.com/archives/C02L5MCJ12N/p1715258727944999


Missing Username Checks

There is currently no indication of whether or not given username is already taken. Add server check that is reflected on client.

Fixed with bf7cdf9114d2594c87ad3b2823b2d102795b78df


Settings Page does not prompt user to save changes when navigating away.

Go to Settings.
Change any value.
Refresh page or click back.
Result: The changes are lost without warning the user.

This was fixed.


AssertionError assert(torch.min(y.data) >= -1)

I ran python3 prepare_data.py with my own data (22050, 16bit, mono), AssertionError occured.
HBox(children=(FloatProgress(value=0.0, max=28825.0), HTML(value='')))
Traceback (most recent call last):
File "prepare_data.py", line 103, in
text, char_seq, phone_seq, melspec, wav = save_file(k)
File "prepare_data.py", line 85, in save_file
melspec, wav = get_mel(wav_name)
File "prepare_data.py", line 75, in get_mel
melspec = stft.mel_spectrogram(wav.unsqueeze(0))
File "/works/Transformer-TTS/layers.py", line 72, in mel_spectrogram
assert(torch.min(y.data) >= -1)
AssertionError
Should I normalize wave data array into range [-1,1] before pass the array to FloatTensor in get_mel() function?
def get_mel(filename):
wav, sr = librosa.load(filename, sr=22050)
wav = torch.FloatTensor(wav.astype(np.float32))
melspec = stft.mel_spectrogram(wav.unsqueeze(0))

Hi, quangtt2016
I think that the preprocessing codes in this project are originally from Tactoron2 written by NVIDIA.
If you see the line #43 in the link, the audio values are divided by their maximum value.
https://github.com/NVIDIA/tacotron2/blob/master/data_utils.py
Unfortunately, this code is not written in the preprocessing codes in this repos.
Plus, when you store preprocessed mel-spectrograms, plz normalize them so that they are ranged to [-max_value, mav_value]. In Deeplearning, normalization of input values are very crucial due to stable training and fast convergence.
Hope that my comment is helpful to you.
Sincerely,


Document pypi updates

Updates are done with
python setup.py sdist
twine upload --repository pypi dist/*

No longer needed as pypi work is taken care of by a Github automation.


[9.x] Combine signed url fix and feature addition PRs

This PR combines the work of https://github.com/laravel/framework/pull/36974 (a feature addition to Laravel 9, later improved by https://github.com/laravel/framework/commit/7994795a89001505fa29199d0371d668b9fb9da7) and https://github.com/laravel/framework/pull/37432 (a bug and security fix in Laravel 8), as these two are conflicting when merging 8.x back into master. The original work was done by @introwit and @jelib3an
The added tests here are exactly the same as in https://github.com/laravel/framework/pull/37432 along with one additional test for the excepted parameters feature which was previously untested.
I decided to add a new macro in order to use the validation with exceptions, rather than adding another parameter to the existing macro. The reasoning for this is:

I wanted exceptions to be very explicit, such that they never apply by mistake.
I did not want to force the user to provide the $absolute parameter. This is supported in the new macro but as a second optional parameter.

I did change the variable names slightly from the previous implementation, specifically $exceptedParameters instead of $ignoreQuery. Let me know if I should revert that change.
If this is merged, I'd be happy to make a documentation PR for the added request macro.

I prefer ignoreQuery vs exceptedParameters...

Variable name has been reverted to $ignoreQuery now

I found a test case (added now) where the implementation for excepted parameters did break – when the excepted query parameter name was a prefix of another parameter in the query string. The regex has now been updated to handle this as well.


Warsong buildings cannot cast For the Horde!

Warsong doesn't have Bloodlust ability on Lumber Camp and Orgrimmar

I think I'll be able to get it done.

Checked in editor both buildings got ability "for the horde" which gives BL. Checked it also in-game.
I think nothing to be fix here, or I've looking for something else.

Checked in editor both buildings got ability "for the horde" which gives BL. Checked it also in-game. I think nothing to be fix here, or I've looking for something else.

Just had a quick look. Here's how I tested it:

Opened my appsettings.Zak.json file and modified the TestingPlayerSlot to 5, so that I can play as Warsong. I know that Warsong is 5 because of PlayerNumbers.txt.
Launched the game via the Test launch setting.
Typed "-complete to tame a land" to complete the quest that gives Orgimmar
Looked at Orgrimmar:

Confirmed that Orgrimmar can't cast For the Horde

Haven't checked to see what the problem is, but those steps should reproduce the issue.

Diving into it more then, thank you.

Checked in editor both buildings got ability "for the horde" which gives BL. Checked it also in-game. I think nothing to be fix here, or I've looking for something else.

So to fix this you would have to look in the Scenario Properties Abilities tab.

Checked in editor both buildings got ability "for the horde" which gives BL. Checked it also in-game. I think nothing to be fix here, or I've looking for something else.

So to fix this you would have to look in the Scenario Properties Abilities tab.

Well, sort of. We actually follow a pattern where all player information is controlled via Faction code. Ideally, all Faction-specific abilities (like this one) should be disabled for all players in that Abilities tab. I assume that until recently, this ability was enabled for everyone, but was disabled for everyone in this Issue: https://github.com/AzerothWarsLR/WarcraftLegacies/issues/2582
Then, if you go to FrostwolfSetup.cs, you'll see this line: Frostwolf.ModAbilityAvailability(Constants.ABILITY_A0GM_FOR_THE_HORDE_PINK_GREY_MAIN_BUILDINGS, 1);. That enables For the Horde for Frostwolf specifically. Sebas forgot to add it to Warsong as well, so all you need to do is port that over to WarsongSetup.cs.

Just noticed this was broken in 3.10 so this qualifies as necessary for the 3.10 full release.


Bump OT to 0.21.0

@adriancole or @devinsba could you please review?
I will need a nano release once this is merged.

go ahead and use your karma.. you should be able to push a release tag

thanks! tag pushed


Editing support

Summary
I want to be able to trim a video to a specific start and end time using Mp4Composer. This PR adds support for that functionality. I have been using a fork of the library with these capabilities and figured that they could be a useful to you or others as well.
These changes should not be breaking API changes, but may change the output format of the video the library creates depending on the device capabilities.
Changes
Video and Audio Clip Trimming
Trimming was added to the Mp4Composer builder. The function trim(long, long) was added, taking two parameters, trimStartMs and trimEndMs, representing the timestamp in milliseconds that the video should be trimmed to. The Mp4ComposerEngine was also updated to pass these parameters to the VideoComposer, AudioComposer, and RemixAudioComposer.
Video Trimming
Video trimming was straight forward in the VideoComposer class. First, to avoid unnecessary processing, we seek to the closest i-frame before the desired trim timestamp. Then, when draining the decoder, in the method drainDecoder(), we simply avoid rendering the frames that we want trimmed from the video. This is done by comparing the timestamp of the BufferInfo (retrieved via presentationTimeUs) with the timestamp. We exclude all buffers with timestamps less than the trim start time and greater than the trim end time.
Validating this functionality is straight forward using an FFmpeg test video. First, generate one via the following command:
ffmpeg -f lavfi -i testsrc=duration=30:size=1280x720:rate=60 testsrc.mp4

Then, trim the video using Mp4Composer to start at the timestamp 8940ms. The I-frame that this timestamp belongs to starts back somewhere around ~8500ms. Since the input video is a 60FPS test video, the last frame displaying the number 8 will begin at timestamp 8940ms. Trimming to this time should produce an output video that displays one frame with the number 8 before displaying the number 9.
Audio Trimming
Audio trimming with the AudioComposer was also straight forward. Similar to the VideoComposer, we just exclude buffers from being written out, this time excluding them from the MuxRender.writeSampleData call. The exclusion logic is the same as in VideoComposer. I tested the accuracy of this trim by trimming a video with sound and then comparing the frame and visualization of the audio track using QuickTime Player on MacOS. This allowed me to see when the audio started and ended and allowed me to compare it to the exact frame on which the sound started.
Audio trimming with the RemixAudioComposer was more complex. Since RemixAudioComposer actually re-encodes the audio, unlike AudioComposer, I discovered that delays could be introduced into the audio. Specifically, I found that AAC format has an intrinsic delay of approximately 2112 audio samples (documentation I read about this made it seem like the number might vary). These samples are called priming samples and are used to prime the player to play the audio. I was able to drop the priming samples by dropping the first 2 audio frames (~2048 audio samples) when re-encoding the video. It's not 100% accurate, as there are still some samples that are not dropped, but it increases the accuracy of the output file significantly. 2112 priming samples resulted in something like 43ms of delay between the audio and the video. Since the RemixAudioComposer is only used when the timeScale is not 1, I figured it would be acceptable to not perfectly drop samples.
Progress Calculation
Previously, progress was straightforwardly calculated by checking the timestamps of the written buffers and dividing by the total time. With trimming, since we may skip the end of the video, the calculation would get "stuck" at the last timestamp in the video until the rest of the video was processed. This was fixed by updating the timestamp to the "consumed" content in the case where we are not encoding the content. So when the extracted content is encoded, the encoded time is used as the progress, and when we are not encoding the content, then the extracted timestamp is used.
Support HEVC
Previously, the output video format was hardcoded to AVC. In order to be more flexible, I decided to open up the format to HEVC as well if the device supports it. The engine is now strongly opinionated on the output format of the video without always using the same format. The engine now looks for encoders for various formats in a specific priority, and if it finds one, uses that output format.
Using a hierarchy of video formats, we automatically select the highest quality format to encode to, and look for an encoder. If it exists, then we use that format and encoder. Otherwise, we will fall back to the next best format. The format preference hierarchy is as follows:

HEVC/h.265
AVC/h.264
mp4v-es/h.263
3gpp/h.263

According to the documentation about supported media formats, only newer devices will have an h.265 encoder available. All devices after Android 3.0 will have a base profile h.264 encoder, and Android 6.0+ devices should have a main profile h.264 encoder. Devices below Android 7.0 have an h.263 encoder. I opted to add h.263 fallback into the hierarchy just in case some device does not have an encoder handy. Let me know if you think the code should just stick to h.265/h.264.
An alternative approach would be to hardcode the format as it was before, and instead add an option to the composer to select the output format manually. The idea I was following in this PR was to always produce the highest quality file that the device could produce.
Audio Formats
I experimented with allowing different audio formats, similar to video, but ultimately decided to stick with AAC as the only supported audio format since there weren't many benefits in supporting other formats, and encoders aren't available for as wide a range of formats as with video.
Logging API
In order to be more flexible, a Logger interface was created and can be changed by the Mp4Composer builder. If the consumer chooses not to change the implementation, then we will default to using the AndroidLogger which uses the android.util.Log class - which matches the previous behavior.

Thanks, great pull request !!!!
As we want to confirm this PR well, please give me some time.

@MasayukiSuda Absolutely, let me know any changes that I should make.


markdown: Add yuin/goldmark-emoji

Fixes #7332
Fixes #11587

So, this works great, but right now you need to do two things in site config to use it:
enableEmoji = false
[markup.goldmark.extensions]
emoji = true # default is false

It would be better if enableEmoji were the primary on/off switch, with  goldmark/emoji enabled by default. The problem I'm having is in the page parser:
(https://github.com/gohugoio/hugo/blob/de4e466036026e9a5805155f00882b93267231b5/hugolib/page.go#L796-L801)
What I want to do is:
if this_content_will_be_rendered_by_goldmark {
  rn.AddBytes(it)
} else {
  if emoji := helpers.Emoji(it.ValStr(result.Input())); emoji != nil {
    rn.AddReplacement(emoji, it)
  } else {
    rn.AddBytes(it)
  }
}

But I can't figure out how to determine this_content_will_be_rendered_by_goldmark.

But I can't figure out how to determine this_content_will_be_rendered_by_goldmark.

So, the Emoji feature was added a long time ago. I'm tempted to make that into a Goldmark only thing. We need to reduce some of the complexity in Hugo, and, as the issues referenced above, what we have isn't really working so we might as well just cut it.
We should translate enableEmoji to the new Goldmark option.

Goldmark only thing

I'm fine with that, as long as we understand that existing emoji in org, pandoc, rst, asciidoc, and html will no longer render (breaking change). I just tested the first four to verify that the renders don't already have this baked in.
I'll update the PR.

enableEmoji in site config now enables/disables the yuin/goldmark-emoji extension. No other config setting required. For markdown users, there is one expected change that is covered in the test cases:
{{< sc >}}:smiley:{{< /sc >}}

The shortcode must now do this:
{{ .Inner | .Page.RenderString }}

Instead of this:
{{ .Inner }}

Shortcodes called with the {{% sc %}} notation continue to work as they did before.


Support complex types in solve_triangular

Fix #4448.

Nice! Thanks for being so quick. :)

Jenkins, test this please

Jenkins CI test (for commit 44f542cf5e8103825b7a974366f34cee52b433ee, target branch master) succeeded!


test: support node:test in node 18

:tada: This PR is included in version 3.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature Request: Go to source definition

Not sure to put this issue in this repo or in coc.nvim :sweat_smile:
It’s similar to Go To Definition, but it never returns results inside declaration files. Instead, it tries to find corresponding implementation files (like .js or .ts files), and find definitions there — even if those files are normally shadowed by .d.ts files.
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#go-to-source-definition

https://github.com/neoclide/coc-tsserver/issues/383

Thanks !


delegation - unstake instructions

I'm merging the contents by now, as the lockup pages were initially created by @ilblackdragon and I only fixed the 404 links.


yb_radio_mode 0 is not disable radio commands

Describe the bug
Given that I have blocked the bots from using radio commands and chat, when starting a new round, the sound is heard every time that they use radio commands without writing anything in the chat on their part.
yb_radio_mode 0
Environment details:

OS: [e.g. windows 10]
Engine: [e.g. rehlds <IP_ADDRESS>7 ]
AMX Mod X [<IP_ADDRESS>60 ]
GameDLL: [e.g. ReGameDLL version: <IP_ADDRESS>7-dev]
Metamod: [e.g. Metamod-r v<IP_ADDRESS>]
Bot Version: [e.g. v4.2.623]
Game mode: [e.g. zombie]

Sorry, can't reproduce. Can you record a video?

@jeefo The demo shows how they use radio commands at the beginning of each round, a green exclamation mark can be seen above the person and the sound can be heard without captions in the chat!

Demo 1 ---- https://www.mediafire.com/file/klypxunubg68kpq/radio.dem/file
Demo 2 ---- https://www.mediafire.com/file/lvbutl1uabjs9jp/radio3.dem/file

Given that you have banned all variants of bots to use the radio for sound and messages, but the demo shows how they get a radio command for each round at the beginning.
//  If '0', radio and chatter is disabled.

Sorry, i c an't play demos. Too much resources missing. Video ? or server IP to get the resources.

@jeefo Try now?
Video ----> https://www.mediafire.com/file/br5f1qeueg4y9is/radio2.avi/file

yup, this has nothing with bots. this ratio messages a played by gamedll on player automatically.

Without them, how can this thing not exist, only when bots are running and they use commands and this comes out!

It's gamedll feature. Bots can't control that.
Refer:
https://github.com/s1lentq/ReGameDLL_CS/blob/a54abba88f3d8b9cdf5b87769af24b699b00e677/regamedll/dlls/multiplay_gamerules.cpp#L2746
https://github.com/s1lentq/ReGameDLL_CS/blob/a54abba88f3d8b9cdf5b87769af24b699b00e677/regamedll/dlls/multiplay_gamerules.cpp#L2799


Tortuga Station

Tortuga Station
A med-pop map designed specifically for Nyano.
Hopeful debut on Ass Day!
1 known issue: Air Alarms are only 80% mapped. There is a bug when mapping them between sessions. I will finish mapping them as soon as that is fixed.

this window in armory is a bit ??? you can't see anything

don't map cap id, there's already a spare in his locker

no pod? also if you don't manage to get in linked leave a multitool in there

am I missing something with these sci doors in med?

this window in armory is a bit ??? you can't see anything
er yep, must have moved the wall

what is this room

 don't map cap id, there's already a spare in his locker

I was told on the last map to do it. But ok

 no pod? also if you don't manage to get in linked leave a multitool in there

Next room over

 what is this room

just a room for exploring. Nothing specific

 am I missing something with these sci/epi doors in med?

passage to morgue for Chaplain

even with a more sane minimum of 35 this seems to be a bit oversupply

is this a renderer bug or is this facing the wrong way

 is this a renderer bug or is this facing the wrong way

render bug

don't have nitriles anywhere except CMO room or viro

need a tad more firelocks in this area probably

👍

what's with the urist

 what's with the urist

Wait! Wha!, that was supposed to be a crate spawn

remove some of the crate spawns for stuff like butterflies

 no pod? also if you don't manage to get in linked leave a multitool in there

Next room over
if this is a render error you need to make sure it's within 4 tiles of the computer

replace the gloves with some radiation PPE maybe, the sword is whatever

really? I thought it would be nice to release them in the park?

Cloning Room

remove some of the crate spawns for stuff like butterflies

really? I thought it would be nice to release them in the park?

remove some of the crate spawns for stuff like butterflies

really? I thought it would be nice to release them in the park?

butterflies are bugged and annoying to clean up compared to like, mice

ok 😩

do not map bluespace, mg starts with some in their locker

do not map bluespace, mg starts with some in their locker

Oh ok, I saw someone complaining it wasn't mapped somewhere else so I thought it was needed.

implement the changes from feedback and raise proto mid players to 35 (same as box) and I'll merge

implement the changes from feedback and raise proto mid players to 35 (same as box) and I'll merge

OK, I kinda thought it was between Lighthouse and Box when we compared them. I do think it's effectively smaller than Box(which is at 30) but I don't mind them being the same. Would 30 be ok?

same as box probably probably, all the min players need a review

ok, oh and I mapped a BS cell (not the crystal) in Mystagogue office, is that ok?

that one is ok


What is the process to make home assistant show daily/hourly enegry stats from this plugin?

Hello,
I installed this plugin and it seems to be working good with my Sunpower PVS6. However, I could not find any documentation on how to configure the Home Assistant Energy dashboard so that it displays me daily/hourly consumption/production data generated by this plugin. Under the Energy dashboard config in Home Assistant, I need to select entities for Grid consumption, Return to grid and Solar production. I only see entities like KWH To Home and KWH To Grid which seems to be showing life-time values. And even then I do not know what to add for Solar production.
I would like to use the "Power" values reported by the two power meters - one ending with p and the other ending with c. Those values are the ones I see on my Sun Power app when I check the live data. Any guidance on how to do this?

This is a screenshot of my setup. My home consumption is a total of actual use plus any power taken to recharge the battery. Any power provided from the battery to the house is not currently being tracked.
All of my values are accurate, relatively speaking. They are off by a few Kilowatts here or there based on when I am viewing the information. The Energy Dashboard is refreshed hourly.
From what I have deduced the Energy Dashboard uses the lifetime values and does math to calculate daily use and hourly use and the value increases, hourly & daily.

I see. So then the live Energy Distribution animation it shows on the right side is for the whole day right? It kind of shows it as live animation with values flowing in and out even though at night the solar is not producing anything. I would have liked the animation like Sun Power's app where it gives an option to see values flowing "right now" instead of per hour or per day basis.

If you want a 'live' power flow display, you can use this: https://github.com/ulic75/power-flow-card.

@heyhewmike do you mind if I put that screenshot in the docs?

@heyhewmike do you mind if I put that screenshot in the docs?

@krbaker Please feel free to.

@heyhewmike I added each of my solar panel's inverters.

And I get per-panel reports on my energy dashboard.

My HA numbers tend to be off for the current day, but always appear to match up for historical data.


Adding overload to accept question mark parameter #3

A ParseQuery extension method to parse the query to a named parameter.
An overload for AsDbParameter which takes an array of object when working with index parameter is added.
The Create Command method has been updated to parse to named parameter if it's an index parameter

Thanks for the PR, but this functionality isn't an approach I'm looking to take in this library at this time. Forcing queries to be parsed is exactly the kind of thing I don't want Nanorm to do (at least not now) due to overhead it creates. I have some ideas for improving the experience of passing parameter values and again I'm looking to do it in a way that avoids as much overhead (e.g. allocations) as possible. If you have feature requests I encourage you to log an issue so it can be discussed.


disabling offset calc, when shadows (or mirror mod) are rendering

Lock body when rendering shadow or immersive portals mod.
I haven't found a boolean button...

To be honest I don't see any difference that this makes? The shadow is a bit offset compared to the body location because the body gets offset behind the camera. Also seems to work with the Immersive portals mod?

Using immersive portals' mirror:
without modify it (max offset)

with modification:

Of course, offset modification will be disabled if first-person model is turned off.

sometimes it was annoying to see my shadow moving...

Ah ok, I wasn't aware that there's mirror. Gonna check it, probably try to replace the int with a boolean and then this should be fine.

I'm just a beginner programmer (before university) and I don't know, how to do that...


Why are no instructions given about how to self-sign a certificate?

If i'm going to use this as my proxy, then why aren't there any instructions for how to self-sign a certificate / become your own certificate authority for using GateSentry?  That seems like a security hole in the software.
Anyway here is how to do that:

http://unix.stackexchange.com/questions/289706/images-and-stylesheets-not-loading-from-squid-due-to-a-bad-certificate - My Question on the topic
http://wiki.squid-cache.org/Features/DynamicSslCert - DynamicSslCert How to for Squid
https://jamielinux.com/docs/openssl-certificate-authority/create-the-root-pair.html#prepare-the-configuration-file - How to Become a Certificate Authority for yourself.

Thanks for that. Yes, self-signed certificates are encouraged. I'll add generation instructions to the README file.
Please understand, GS  is currently a one man operation, it's not possible for me to do every single thing right; the reason I shared the source here was to get more contributors to iron out bugs like these. If you're able to resolve any issues, just commit it here as well and I'd merge it into the existing code base.

Okay I didn't realize that.  I'm just saying that it looks shady to alot of people if you don't give them instructions to do so...

Sorry, super busy these days. I've added the command: https://github.com/fifthsegment/GateSentry/commit/4f1e7c8dc2effc422df6d0e3ca08810ec278aa44


Remove unneeded descriptions from MIAA deploy

Fixes https://github.com/microsoft/azuredatastudio/issues/12852

Pull Request Test Coverage Report for Build 298145366

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 39.893%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/jupyter/serverInstance.ts
4
74.52%

Totals

Change from base Build 298096262:
-0.01%

Covered Lines:
20093

Relevant Lines:
46189

💛  - Coveralls


Add init and wait times to activation record.

Annotate an activation record with its wait time, and init time if it's a cold start. This allows a client to know if an action was cold or warm and surfaces the time spent in init.
See https://github.com/apache/incubator-openwhisk/issues/2846#issuecomment-350173666 for more details.
The wait and init time are added for activations that are not part of a sequence since the transid start time for a sequence does not correspond with a specific component of the activation but the entire sequence. It will require some work to generate a new transaction id for a sequence component - however, because the trace of activations is recorded in the parent sequence, a client can determine the queue time for sequences that way.
Closes #2846.

Rebased - conflict free.

@csantanapr can you review the doc change https://github.com/rabbah/openwhisk/blob/6daea94b81563e6c1ec61c8f9ffb7bfe1ab7a45c/docs/annotations.md#annotations-specific-to-activations for clarity?


[gateway] Reset transaction locks upon last retry failure

When we have multiple gateways, it can happen when the object version in one gateway is out-of-dated. When this happens, a transaction might pass all local transaction lock checks on the gateway, but then fail to execute in authorities. We don't want to keep objects locked forever on the gateway.
This PR resets the transaction locks on the objects upon the last retry failure.
Sorry @velvia , this PR is adding one more function that will need to be copied into the lock service.

ping


RN 0.34 - Fetch CORS debug scheme on iOS 10 don't work

However, running it on iOS 9.3 simulator works on both debug and release schemes.  iOS 10 also works on release.
Issue is encountered only with iOS 10 sim on chrome debug.  It throws the same error as missing the ATS exceptions but they are defined.

@davidck I just tested RN 0.34.1 on simulator + chrome debug and it worked fine.

@khanghoang awesome, just upgrade it to 0.35 and it's resolved.  Thanks


It's hard to run targeted tests

Because ParserTest contains so many tests, making isolated changes and quickly testing with testOnly or testQuick is slower than you'd ideally want it to be.
Splitting up ParserTest would enable a tighter test loop. Are you OK with that?

I'm okay with that. But also this could be a feature request to munit.

I'm okay with that. But also this could be a feature request to munit.


Add a TypedDict class for error objects

Change Summary
This adds more specific typing for the dictionaries in
ValidationError.errors(). This shouldn't introduce any functional
change.
Related issue number

Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable (N/A)
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review


HBASE-26618 Involving primary meta region in meta scan with CatalogRe…

…… (#4321)
Signed-off-by: Michael Stack<EMAIL_ADDRESS>

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 21s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 43s
branch-2 passed

+1 :green_heart:
compile
3m 40s
branch-2 passed

+1 :green_heart:
checkstyle
1m  7s
branch-2 passed

+1 :green_heart:
spotbugs
2m 35s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  9s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 25s
the patch passed

+1 :green_heart:
compile
3m 35s
the patch passed

+1 :green_heart:
javac
3m 35s
the patch passed

-0 :warning:
checkstyle
0m 22s
hbase-client: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
8m 43s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m 41s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 17s
The patch does not generate ASF License warnings.

36m 30s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4326

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux b92d9ac10aa1 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 197b8d48ec

Default Java
AdoptOpenJDK-1.8.0_282-b08

checkstyle
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt

Max. process+thread count
69 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
4m  9s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 14s
branch-2 passed

+1 :green_heart:
compile
0m 58s
branch-2 passed

+1 :green_heart:
shadedjars
3m 53s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 39s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 18s
the patch passed

+1 :green_heart:
compile
0m 58s
the patch passed

+1 :green_heart:
javac
0m 58s
the patch passed

+1 :green_heart:
shadedjars
3m 49s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 41s
hbase-client in the patch passed.

+1 :green_heart:
unit
173m  4s
hbase-server in the patch passed.

198m 46s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4326

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux b68bb620f7be 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 197b8d48ec

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/testReport/

Max. process+thread count
2903 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 26s
Docker mode activated.

-0 :warning:
yetus
0m  4s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 21s
branch-2 passed

+1 :green_heart:
compile
0m 58s
branch-2 passed

+1 :green_heart:
shadedjars
3m 38s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  5s
the patch passed

+1 :green_heart:
compile
1m  0s
the patch passed

+1 :green_heart:
javac
1m  0s
the patch passed

+1 :green_heart:
shadedjars
3m 36s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m 31s
hbase-client in the patch passed.

+1 :green_heart:
unit
182m 37s
hbase-server in the patch passed.

202m 54s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4326

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 9fbdfded871d 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 197b8d48ec

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/testReport/

Max. process+thread count
2522 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4326/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.17.12 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update requirements.txt

Note: DefectDojo is now on Python3 and Django 2.2.1 Please submit your pull requests to the 'dev' branch as the 'legacy-python2.7' branch is only for bug fixes. Any new features submitted to the legacy branch will be ignored and closed.
Ownership of Django-custom-fields and Django-tastypyswagger has now changed to DefectDojo. Updates to corresponding install bases are necessary.
Update in dev takes place in #1713

[x] Your code is flake8 compliant
[x] Your code is python 3.5 compliant
[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the ReadTheDocs documentation folder. https://github.com/DefectDojo/Documentation/tree/master/docs or provide feature documentation in the PR.
[ ] Model changes must include the necessary migrations in the dojo/dd_migrations folder.
[ ] Add applicable tests to the unit tests.

@Maffooch ok for starter but can you add the tag name and commit hash too? thanks :)

Should we not better merge it to the dev branch? Does not seem to be super important.

Should we not better merge it to the dev branch? Does not seem to be super important.

It needs to be in both because there is no longer a repo at https://github.com/Maffooch/django-custom-field. It has been moved to https://github.com/DefectDojo/django-custom-field.
The change In dev is placed in #1713.


Discussion: WinRT Support

Since WinRT (Windows Store & Phone) don't use the normal .Net Subset, this Package (and its dependencies) doesn't work for WinRT
For example.
System.Type.GetFields()
AppDomain
System.Reflection.Assembly.GetTypes()

and also my #3 Set-Method doesn't work (yet)
I think many workarounds / helper methods will need an own package / base project so that all other packages can use them.
What do you think?
I'll help to fix as much as possible^^

I will look into this sometime in the next week.
Most of the reflection stuff is encapsulated in the Foundation.Databinding.Model.dll. The solution would be a new VS class library targeting the correct subset. I will probably reuse the same code files and use compiler directives for switching between the two api's.

I managed it to be compiled for WinRT but for now the binding doesn't work :smile:
I'll clean up and create a pull request tomorrow with my first changes.

I have a prototype fork for Windows Store. It builds but when I run the scene nothing happens. I tried building as a "Unity C# application" so that I could get debug support, however this resulted in missing reference exceptions. Take a look.
https://github.com/NVentimiglia/Unity3d-Databinding-Mvvm-Mvc/tree/WinSA

I added a new test method. I confirmed that the bug we are seeing is in the view portion of the code.
 IEnumerator Start()
    {
        Output.text = "Starting Tests";

        yield return StartCoroutine(TestEvent());
        yield return StartCoroutine(Update1());
        yield return StartCoroutine(Update2());
        yield return StartCoroutine(Update3());

        Log = "Ending Tests";
        Log = string.Format("Average {0} {1} {2}", average1, average2, average3);
    }

    IEnumerator TestEvent()
    {
        Log = "Testing Event";
        yield return new WaitForSeconds(2);
        OnBindingUpdate += DatabindingTester_OnBindingUpdate;

        Property1 = 1;
        yield return new WaitForSeconds(2);
        Property2 = 2;
        yield return new WaitForSeconds(2);
        Property3 = 3;
        yield return new WaitForSeconds(2);

        OnBindingUpdate -= DatabindingTester_OnBindingUpdate;

    }

    void DatabindingTester_OnBindingUpdate(ObservableMessage obj)
    {
        Log = string.Format("{0} : {1}", obj.Name, obj.Value);
    }

Did some more research. T
The BindingInfo (responsible for facilitating a property binding for the Binders) are not being serialized for WindowsStore. As a result, their values are deleted. If you look at the scene view, all 'values' are empty... the scene is totally unbound.
It is insane that WSA does not support editor serialization. I will need to think of a new way of serializing bindings within the editor.

Got it working.
I added a reference to the WinRTLegacy dll to the Databinding class library. After that everything worked even the [Serializable] annotation's used outside that library.

Oh nice! gonna try it right away

Finally it works on my end too xD

had to remove and readd the package multiple times
and remove the localization / binders

WinRTLegacy is added automatically by Unity Editor? (for the Build & Run Step)

The NoLocalization compiler directive (Edit/Player/OtherSettings) gets reset when you change platforms.
Whenever I built for WSA the binding info was cleared. It was as if the [Serializable] annotation was being ignored on the binding behaviors. I received no errors and nothing worked. I finally added WinRTLegacy as a reference to the library and everything started working. I did not expect anything to happen since the behaviors in question were not in the class library. I'm guessing adding the reference to the library forced the issue.


[question] Hotas support soon ?

Hello, i'm on Lubuntu 22.04 and i have try your soft with my X52 pro hotas (logitec)
have you any plan on futur for support it ?
thanks you, have a nice day

why close ?

@offalynne hellooo he's talking to you

@Fr-Dae @pengouin8140
From the README: A community sourced database of game controller mappings to be used with SDL2 and SDL3 Game Controller functionality

i have try your soft

this is a community sourced database of game controller mappings. if you want to contribute, do so yourself.

X52 pro hotas (logitec)

a HOTAS is not considered a game controller. take your issues up with SDL: https://github.com/libsdl-org


Ensure newline at end of _modidx.py

It is always nice that a file that we write is ended with an extra blank of line. I know that _modidx.py is automatically generated and we also can exclude pre-commit hook, but please consider to add a blank line in the end of _modidx.py to avoid error by end-of-file-fixer?
Below is my pre-commit regarding this.
  # nbdev clean and export
  - repo: https://github.com/fastai/nbdev
    rev: 2.2.10
    hooks:
    - id: nbdev_clean
    - id: nbdev_export

  # check yaml and end of file fixe
 - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.5.0
    hooks:
      - id: check-yaml
      - id: end-of-file-fixer
        exclude: LICENSE|^PACKAGENAME/_modidx.py

Good idea!

While you are at it, consider also apply it on sidebar.yml

What do you think about the sidebar.yml? It also didn't has the extra end of file line


Start error with Microsoft Bot Framework, Visual Studio 2015 and 2017

Pre-flight checklist

[X] I posted a question about this issue on Stack Overflow using the tag botframework.
[X] I have searched the existing issues before logging a new one.

System Information (Required)

SDK Platform:
SDK Version: 3.8.1
Development Environment: localhost (IIS Express)

Issue Description
Describe the issue here.
Example Code
The complete bot code that reproduces the issue.
Steps to Reproduce

Create a new bot project with bot framework template
Run the code

Expected Behavior
Web page needs to show up without any errors.
Actual Results
Server Error in '/' Application.
Specified argument was out of the range of valid values. Parameter name: site
(More details can be found at: https://stackoverflow.com/questions/44174102/start-error-with-microsoft-bot-framework-visual-studio-2015-and-2017)

@rudeGit is this resolved as the StackOverflow says?

Yes
Sent from my iPhone

On Jun 1, 2017, at 8:12 AM, Jason Sowers<EMAIL_ADDRESS>wrote:
@rudeGit is this resolved as the StackOverflow says?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


When selecting statix in Yeoman generator missing comma in Gruntfile

In V6 of Kickoff when using the Kickoff generator and choosing to use Statix a comma is missing from the complie task in the Gruntfile after images.
grunt.registerTask('compile', [
		/* 'checks', / uncomment this line if you want to run linting checks on your SCSS/JS as part of your build*/
		'browserify',
		'postscss',
		'images'
		'copy:statix',
		'assemble',
		'shimly',
		'copy:modernizr'
	]);

Thanks @tommaton, it has been fixed in v1.0.1 of the generator. FYI, generator-related issues should probably go in it's repo.


Is it works with decimal field?

wagtail 1.13.1
TypeError
Object of type 'Decimal' is not JSON serializable
c:\python36-32\Lib\json\encoder.py in default, line 180
python 3.6.4
This occur when you try to edit saved page
class ProductVariantBase(models.Model):
product = ParentalKey(Product, related_name='variants')
price = models.DecimalField(max_digits=12, decimal_places=2, verbose_name='variant price')

Yep, this was solved recently. See #30

So much thanks for support! but have some problem after reinstall wagtail-codensedinlinepanel. look please
(pizzaenv) C:\Pizzaproject\pizzamizza>pip uninstall wagtail-condensedinlinepanel
Uninstalling wagtail-condensedinlinepanel-0.3:
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel_init_.py
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel_pycache__init_.cpython-36.pyc
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel_pycache_\edit_handlers.cpython-36.pyc
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel_pycache_\wagtail_hooks.cpython-36.pyc
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\edit_handlers.py
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\dist.gitignore
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\dist\condensedinlinepanel.bundle.js
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\dist\condensedinlinepanel.css
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\src\components\card.tsx
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\src\components\cardset.tsx
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\src\components\formcontainer.tsx
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\src\components\gap.tsx
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\src\condensedinlinepanel.tsx
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\src\state.ts
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\static\condensedinlinepanel\src\types.ts
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\templates\condensedinlinepanel\condensedinlinepanel.html
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\templates\condensedinlinepanel\condensedinlinepanel.js
c:\pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\wagtail_hooks.py
c:\pizzaproject\pizzaenv\lib\site-packages\wagtail_condensedinlinepanel-0.3.dist-info\description.rst
c:\pizzaproject\pizzaenv\lib\site-packages\wagtail_condensedinlinepanel-0.3.dist-info\installer
c:\pizzaproject\pizzaenv\lib\site-packages\wagtail_condensedinlinepanel-0.3.dist-info\metadata
c:\pizzaproject\pizzaenv\lib\site-packages\wagtail_condensedinlinepanel-0.3.dist-info\metadata.json
c:\pizzaproject\pizzaenv\lib\site-packages\wagtail_condensedinlinepanel-0.3.dist-info\record
c:\pizzaproject\pizzaenv\lib\site-packages\wagtail_condensedinlinepanel-0.3.dist-info\top_level.txt
c:\pizzaproject\pizzaenv\lib\site-packages\wagtail_condensedinlinepanel-0.3.dist-info\wheel
Proceed (y/n)? y
Successfully uninstalled wagtail-condensedinlinepanel-0.3
(pizzaenv) C:\Pizzaproject\pizzamizza>pip install wagtail-condensedinlinepanel==0.4.1
Collecting wagtail-condensedinlinepanel==0.4.1
Downloading wagtail_condensedinlinepanel-0.4.1-py2.py3-none-any.whl (92kB)
100% |████████████████████████████████| 102kB 668kB/s
Requirement already satisfied: six>=1.10.0 in c:\pizzaproject\pizzaenv\lib\site-packages (from wagtail-condensedinlinepanel==0.4.1)
Installing collected packages: wagtail-condensedinlinepanel
Successfully installed wagtail-condensedinlinepanel-0.4.1
(pizzaenv) C:\Pizzaproject\pizzamizza>python manage.py runserver
Unhandled exception in thread started by <function check_errors..wrapper at 0x062A4C00>
Traceback (most recent call last):
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(args, **kwargs)
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django\core\management\commands\runserver.py", line 113, in inner_run
autoreload.raise_last_exception()
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django\utils\autoreload.py", line 249, in raise_last_exception
six.reraise(exception)
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django\utils\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django_init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django\apps\registry.py", line 108, in populate
app_config.import_models(all_models)
File "C:\Pizzaproject\pizzaenv\lib\site-packages\django\apps\config.py", line 199, in import_models
self.models_module = import_module(models_module_name)
File "C:\Pizzaproject\pizzaenv\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Pizzaproject\pizzamizza\longclaw\longclawproducts\models.py", line 18, in
from condensedinlinepanel.edit_handlers import CondensedInlinePanel
File "C:\Pizzaproject\pizzaenv\lib\site-packages\condensedinlinepanel\edit_handlers.py", line 15, in
import wagtail.VERSION
ModuleNotFoundError: No module named 'wagtail.VERSION'

What version of Wagtail are you using? (needs to be at least 1.7)

wagtail 1.13.1

Ahh, sorry I must've messed up when I merged #33. I've fixed this import and released 0.4.2

thanks, now reinstall has done

@Wladislav is everything working for you now?

Yes, now is all right. I will tell you, if i found something wrong.

Oh, litle problem Orderable not suppurt. video screen

I would like to see in the future like this img

These sound like separate issues, so please create separate tickets for them


Fix warning: control reaches end of non-void function

Given that frame should never be NULL, I think it's fine to return NaN if it is. Fixes issue #54.

I merged aae9ea8, but it looks like 322cc74 is handled by another pull request, so will look at that one separately.  Thanks!


Shortcodes addon

Just an FYI. I've just put a shortcodes add-on on github. It'll need the v0.11.0 release, which isn't available yet, or you can build/install Ponzu from current master branch.  Feedback welcome.
https://github.com/olliephillips/shortcodes

@olliephillips - very cool! Love seeing some of those addon features being put to use 😃
Is there anything you're waiting for to do a v0.11.0 release? Just making sure I'm not a blocker

Thanks steve, no nothing blocking, master is all set now, and might be worth waiting for pr #309 before release. That'll box off all the community contributions to Ponzu codebase as far as I can see


IE 11, Surface Pro 3, Difficult to click Markers with Surface Pen (usually triggers map drag)

Overview:
We noticed an odd issue now that some people have started using a site we are working on when using their Surface Pro 3 with a pen in IE 11.
I was able to repeat the issue using the leaflet tutorials (specifically, I tried Leaflet on Mobile and Markers with Custom Icons)
Issue:
When trying to use the Surface Pen in IE 11, most of the time it just moves the map around (just a tiny bit, maybe a few pixels) instead of registering the click event to show the popup. If I keep trying to tap the marker it will eventually show the popup
Using a finger to tap the markers works fine in the same scenario. Also, using the pen in Chrome on the same device works fine
Versions:
I was using 0.7.3, and tried upgrading to the latest 0.8-dev, but the issue remained

Hmm, I don't have a Surface device to confirm this... @danzel any ideas?

No people to help figure this out so out of scope.


Restarting a kernel in IW shows Restarted '' Kernel message in web

go to insiders.vscode.dev and connect to a remote jupyter server
start an IW and run a cell to connect to a kernel
restart the kernel

result:
The kernel restarts successfully, but the status message doesn't know the name of the kernel:

fixed


Add Gaussian Naive Bayes to the cookbook

Add Gaussian Naive Bayes cookbook page, remove undocumented Gaussian
Naive Bayes cookbook examples, update example Sphinx markdown file
directory in cookbook README, and update data version.

No need to open new PR btw

what you need to do is to git commit data from the shogun root dir

This is great. It can be merged after the minor fixes and the data version being updated. I will merge the shogun data PR now

Ahh, ok. I had no idea submodules existed prior to my last PR, so I was kind of fuzzy on how they worked, but I get the concept now.

Btw, if it's possible, feel free to delete my other PRs. Prior to this I'd only ever used git for small projects, so PRs were new to me. I tried to resubmit a pull request after fixing some errors, but saw I wasn't able to (which makes sense: why would you try to merge 2 different versions of the same branch with upstream?), so I (wrongly) assumed you had to cancel the current PR before submitting a new one. I understand now, though, that a PR just references the literal branches. Even with a simpler task like this one I've managed to learn all kinds of stuff about git and software engineering in general :)

You can just update your old PRs using git push -f on your fork. But you can also just close them yourself.

Learning is exactly the point of this exercise :)

BTW please squash all commits into a single one.

You still haven't updated the data version as I see this here

As a result traivs doesnt run the integration test for the gaussian naive bayes example, link

Ahh, had to pull from within the data directory as well. I'll keep my eye on Travis this time to be sure I've got it right.

Thanks


Examples 1 and 2 fail to compile

# Solve a linear system A x = b and compute the residual norm, ||b - A x||.
let vals =<EMAIL_ADDRESS>2.0, 3.0], @[4.0, 5.0, 6.0], @[7.0, 8.0, 10.0]]
let A = matrix(vals)
let b = randMatrix(3, 1)
let x = A.solve(b)
let r = A * x - b
let rnorm = r.normInf()
echo("x =\n", x)
echo("residual norm = ", rnorm)

#[
manu_ex2.nim(6, 19) template/generic instantiation of `randMatrix` from here
.nimble/pkgs/manu-2.2.0/manu/matrix.nim(157, 18) Error: cannot instantiate: 'T'
]#

and

template ff(f: float, prec: int = 3): string =
   formatFloat(f, ffDecimal, prec)

proc magic(n: int): Matrix =
   var m = matrix(n, n)
   # Odd order
   if n mod 2 == 1:
      let a = (n + 1) div 2
      let b = n + 1
      for j in 0 ..< n:
         for i in 0 ..< n:
            m[i, j] = float(n * ((i + j + a) mod n) + ((i + 2 * j + b) mod n) + 1)
   # Doubly Even Order
   elif n div 4 == 0:
      for j in 0 ..< n:
         for i in 0  ..< n:
            if (i + 1) div 2 mod 2 == (j + 1) div 2 mod 2:
               m[i, j] = float(n * n - n * i - j)
            else:
               m[i, j] = float(n * i + j + 1)
   # Singly Even Order
   else:
      let p = n div 2
      let k = (n - 2) div 4
      let a = magic(p)
      for j in 0 ..< p:
         for i in 0 ..< p:
            let aij = a[i, j]
            m[i, j] = aij
            m[i, j + p] = aij + float(2 * p * p)
            m[i + p, j] = aij + float(3 * p * p)
            m[i + p, j + p] = aij + float(p * p)
      for i in 0 ..< p:
         for j in 0 ..< k:
            swap(m[i, j], m[i + p, j])
         for j in n - k + 1 ..< n:
            swap(m[i, j], m[i + p, j])
      swap(m[k, 0], m[k + p, 0])
      swap(m[k, k], m[k + p, k])
   return m

proc main() =
   # Tests LU, QR, SVD and symmetric Eig decompositions.
   #
   #   n       = order of magic square.
   #   trace   = diagonal sum, should be the magic sum, (n^3 + n)/2.
   #   max_eig = maximum eigenvalue of (A + A')/2, should equal trace.
   #   rank    = linear algebraic rank,
   #             should equal n if n is odd, be less than n if n is even.
   #   cond    = L_2 condition number, ratio of singular values.
   #   lu_res  = test of LU factorization, norm1(L*U-A(p,:))/(n*eps).
   #   qr_res  = test of QR factorization, norm1(Q*R-A)/(n*eps).

   echo("    Test of Matrix object, using magic squares.")
   echo("    See MagicSquareExample.main() for an explanation.")
   echo("      n     trace       max_eig   rank        cond      lu_res      qr_res\n")

   let start_time = epochTime()
   let eps = pow(2.0, -52.0)
   var buf = ""
   for n in 3 .. 32:
      buf.setLen(0)
      buf.add(align($n, 7))

      let M = magic(n)
      let t = int(M.trace())
      buf.add(align($t, 10))

      let E =
         eig((M + M.transpose()) * 0.5)
      let d = E.getRealEigenvalues()
      buf.add(align(ff(d[n-1]), 14))

      let r = M.rank()
      buf.add(align($r, 7))

      let c = M.cond()
      if c < 1.0 / eps:
         buf.add(align(ff(c), 12))
      else:
         buf.add("         Inf")

      let LU = lu(M)
      let L = LU.getL()
      let U = LU.getU()
      let p = LU.getPivot()
      var R = L * U - M[p, 0 .. n-1]
      var res = R.norm1() / (float(n) * eps)
      buf.add(align(ff(res), 12))

      let QR = qr(M)
      let Q = QR.getQ()
      R = QR.getR()
      R = Q * R - M
      res = R.norm1() / (float(n) * eps)
      buf.add(align(ff(res), 12))

      echo buf

   let stop_time = epochTime()
   let etime = (stop_time - start_time) / 1000.0
   echo("\nElapsed Time = ", align(ff(etime), 12), " seconds")
   echo("Adios")

main()

#[
manu_ex1.nim(67, 20) template/generic instantiation of `magic` from here
manu_ex1.nim(6, 21) Error: cannot instantiate 'Matrix[T: SomeFloat]' inside of type definition: 'magic'; Maybe generic arguments are missing?
]#

nim --version :
Nim Compiler Version 1.5.1 [Linux: amd64]
Compiled at 2021-01-07
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 89a21e4ec71e705833d2aacd069e291cf41a19c6
active boot switches: -d:release

Seems like a bug I already fixed, but messed up with nimble somehow. Freakin nimble again

Seems like a bug I already fixed, but messed up with nimble somehow. Freakin nimble again

Try nimble update, if it still doesn't work please just clone the repository with git

Try nimble update, if it still doesn't work please just clone the repository with git

oh it's because of the switch to generic somefloat, the example code wasn't adapted.

oh it's because of the switch to generic somefloat, the example code wasn't adapted.

fixed, thank you for reporting


Pass information to apps about already inserted hexpansions

Currently apps need to loop over the hexpansion slots to see if hexpansions are present or users need to reinsert hexpansions for them to fire an insertion event.
I suggest we pass information about currently inserted hexpansions to app objects on init to avoid these loops.

Would it make more sense to provide an API through which the app can query the currently installed hexpansions whenever it likes? That way the app isn't limited to a snapshot of this information only on startup, and could re-request the info after an unplug or plugin event. The firmware itself could handle the task of searching for hexpansions and figuring out what's there, keeping a live registry of hexpansion data, then pass that back up the stack to avoid needing unnecessary I2C scans and re-implementations of the scanning code.

I'd agree with @gsuberland, having a way of getting a mapping of slots to headers feels more flexible than adding more things to init. Otherwise users will have to keep it up to date with hexpansion insert/removal event handlers.

That also sounds good

Have been playing with this here. I've taken the easiest path of extending the HexpansionManagerApp to keep an updated dictionary of hexpansion headers, and added a few methods to make accessing it simpler. This seemed like the most straightforward way of doing things since the HexpansionManagerApp is already responding to insertion/removal events.
There's also a function added to system.hexpansion.util to grab the running HexpansionManagerApp from the scheduler so it can be accessed in an app easily.
Thoughts appreciated, there might be a much better way of doing this!


push_proposal: double free or corruption while replaying

1722983ms th_a       db_block.cpp:267              push_proposal        ] push_proposal {"id":"1.10.0","expiration_time":"2016-02-11T15:29:00","review_period_time":"2016-02-11T15:28:30","proposed_transaction":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2016-02-11T15:29:00","operations":[[45,{"fee":{"amount":100000,"asset_id":"1.3.0"},"new_options":"max_supply":100000,"market_fee_percent":10,"max_market_fee":"1000000000000000","issuer_permissions":0,"flags":0,"core_exchange_rate":{"base":{"amount":0,"asset_id":"1.3.0"},"quote":{"amount":0,"asset_id":"1.3.0"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"","extensions":[]},"extensions":[]}]],"extensions":[]},"required_active_approvals":["1.2.0"],"available_active_approvals":["1.2.6","1.2.7","1.2.8","1.2.9","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15"],"required_owner_approvals":[],"available_owner_approvals":[],"available_key_approvals":[]}, before remove, eval_state.op_results=[[0,{}]]
1722983ms th_a       index.hpp:277                 remove               ] remove {"id":"1.10.0"}
1722983ms th_a       index.hpp:280                 remove               ] on remove {"id":"1.10.0"}
1722983ms th_a       index.hpp:282                 remove               ] der remove {"id":"1.10.0"}
1722983ms th_a       index.hpp:284                 remove               ] der removed {"id":"0.0.140737336874936"}
1722983ms th_a       db_block.cpp:269              push_proposal        ] push_proposal removed, session=(s)
1722983ms th_a       undo_database.cpp:127         merge                ] _stack.size=1
1722983ms th_a       db_block.cpp:285              push_proposal        ] 10 assert_exception: Assert Exception
_stack.size() >=2:
    {}
    th_a  undo_database.cpp:128 merge

*** Error in `/app/bts/bts2-test-pct-transfer-fee-debug/programs/witness_node/witness_node': double free or corruption (out): 0x000000
0005b05600 ***

Program received signal SIGABRT, Aborted.
0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6c050d8 in __GI_abort () at abort.c:89
#2  0x00007ffff6c3e394 in __libc_message (do_abort=do_abort@entry=1,
    fmt=fmt@entry=0x7ffff6d4cb28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff6c4a66e in malloc_printerr (ptr=<optimized out>, str=0x7ffff6d4cc58 "double free or corruption (out)", action=1)
    at malloc.c:4996
#4  _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5  0x000000000218ba4a in __gnu_cxx::new_allocator<fc::variant>::deallocate (this=0x5b07ac0, __p=0x5b05600)
    at /usr/include/c++/4.8/ext/new_allocator.h:110
#6  0x000000000218b59e in std::_Vector_base<fc::variant, std::allocator<fc::variant> >::_M_deallocate (this=0x5b07ac0,
    __p=0x5b05600, __n=57) at /usr/include/c++/4.8/bits/stl_vector.h:174
#7  0x000000000218a957 in std::_Vector_base<fc::variant, std::allocator<fc::variant> >::~_Vector_base (this=0x5b07ac0,
    __in_chrg=<optimized out>) at /usr/include/c++/4.8/bits/stl_vector.h:160
#8  0x00000000021899e5 in std::vector<fc::variant, std::allocator<fc::variant> >::~vector (this=0x5b07ac0, __in_chrg=<optimized out>)
    at /usr/include/c++/4.8/bits/stl_vector.h:416
#9  0x0000000002875122 in fc::variant::clear (this=0x5b07580)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/src/variant.cpp:177
#10 0x000000000287532e in fc::variant::operator=(fc::variant&&) (this=0x5b07580,
    v=<unknown type in /app/bts/bts2-test-pct-transfer-fee-debug/programs/witness_node/witness_node, CU 0x53f06b8, DIE 0x541264a>)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/src/variant.cpp:226
#11 0x00000000022878b9 in fc::to_variant<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> > (var=..., vo=...) at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/container/flat.hpp:66
#12 0x000000000227e90b in fc::variant::variant<boost::container::flat_set<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object>, std::less<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> >, std::allocator<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> > > > (
    this=0x7fffffffac70, val=...) at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/variant.hpp:528
#13 0x0000000002273db4 in fc::mutable_variant_object::operator()<boost::container::flat_set<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object>, std::less<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> >, std::allocator<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> > > const&> (this=0x7fffffffad60,
    key="@\253\377\377\377\177\000\005ຳ\005\000\000\000\000@\253\377\377\377\177\000\005\060\273\263\005\000\000\000\000@\253\377\377\377\177\000\005\200\273\263\005\000\000\000\000@\253\377\377\377\177\000\005л\263\005\000\000\000\000@\253\377\377\377\177\000\005\274\263\005\000\000\000\000@\253\377\377\377\177\000\005p\274\263\005\000\000\000\000@\253\377\377\377\177\000\005\300\274\263\005\000\000\000\000@\253\377\377\377\177\000\005\020\275\263\005\000\000\000\000@\253\377\377\377\177\000\005`\275\263\005\000\000\000\000@\253\377\377\377\177\000\005\260\275\263\005\000\000\000\000@\253\377\377\377\177\000\005\000\276\263\005\000\000\000\000<EMAIL_ADDRESS>var=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/variant_object.hpp:176
#14 0x00000000022772f9 in fc::to_variant_visitor<graphene::chain::proposal_object>::add<boost::container::flat_set<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object>, std::less<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> >, std::allocator<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> > > > (this=0x7fffffffad70, vo=..., name=0x2d3516f "required_active_approvals", v=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/reflect/variant.hpp:35
#15 0x000000000226cbfa in fc::to_variant_visitor<graphene::chain::proposal_object>::operator()<boost::container::flat_set<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object>, std::less<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> >, std::allocator<graphene::db::object_id<(unsigned char)1, (unsigned char)2, graphene::chain::account_object> > >, graphene::chain::proposal_object, &graphene::chain::proposal_object::required_active_approvals> (
    this=0x7fffffffad70, name=0x2d3516f "required_active_approvals")
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/reflect/variant.hpp:23
#16 0x000000000226160b in fc::reflector<graphene::chain::proposal_object>::visit<fc::to_variant_visitor<graphene::chain::proposal_object> > (v=...) at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/include/graphene/chain/proposal_object.hpp:90
#17 0x0000000002255ff1 in fc::if_enum<fc::false_type>::to_variant<graphene::chain::proposal_object> (v=..., vo=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/reflect/variant.hpp:67
#18 0x0000000002242786 in fc::to_variant<graphene::chain::proposal_object> (o=..., v=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/reflect/variant.hpp:100
#19 0x0000000002232f5b in fc::variant::variant<graphene::chain::proposal_object> (this=0x7fffffffb330, val=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/fc/include/fc/variant.hpp:528
#20 0x0000000002563163 in graphene::chain::database::push_proposal (this=0x5ace278, proposal=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/db_block.cpp:291
#21 0x000000000258d0c6 in graphene::chain::database::clear_expired_proposals (this=0x5ace278)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/db_update.cpp:176
#22 0x0000000002568b41 in graphene::chain::database::_apply_block (this=0x5ace278, next_block=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/db_block.cpp:522
#23 0x0000000002567dc8 in graphene::chain::database::__lambda19::operator() (__closure=0x7fffffffb9e0)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/db_block.cpp:478
#24 0x000000000259172f in graphene::chain::detail::with_skip_flags<graphene::chain::database::apply_block(const graphene::chain::signed_block&, uint32_t)::__lambda19>(graphene::chain::database &, uint32_t, graphene::chain::database::__lambda19) (db=...,
    skip_flags=1127, callback=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/include/graphene/chain/db_with.hpp:126
#25 0x00000000025681df in graphene::chain::database::apply_block (this=0x5ace278, next_block=..., skip=1127)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/db_block.cpp:479
#26 0x000000000257c510 in graphene::chain::database::reindex (this=0x5ace278, data_dir=..., initial_allocation=...)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/chain/db_management.cpp:92
#27 0x00000000021a141a in graphene::app::detail::application_impl::startup (this=0x5ace140)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/app/application.cpp:340
#28 0x0000000002192d3c in graphene::app::application::startup (this=0x5acded0)
    at /app/bts/bts2-test-pct-transfer-fee-debug/libraries/app/application.cpp:968
#29 0x0000000002168dad in main (argc=34, argv=0x7fffffffde98)
    at /app/bts/bts2-test-pct-transfer-fee-debug/programs/witness_node/main.cpp:161

First time when the proposal executes:
300002ms th_a       db_block.cpp:267              push_proposal        ] push_proposal {"id":"1.10.0","expiration_time":"2016-02-11T22:05:00","review_period_time":"2016-02-11T22:04:30","proposed_transaction":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2016-02-11T22:05:00","operations":[[45,{"fee":{"amount":100000,"asset_id":"1.3.0"},"new_options":{"max_supply":100000,"market_fee_percent":10,"max_market_fee":"1000000000000000","issuer_permissions":0,"flags":0,"core_exchange_rate":{"base":{"amount":0,"asset_id":"1.3.0"},"quote":{"amount":0,"asset_id":"1.3.0"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"","extensions":[[1,{"transfer_fee_mode":"asset_transfer_fee_mode_percentage_simple"}]]},"extensions":[]}]],"extensions":[]},"required_active_approvals":["1.2.0"],"available_active_approvals":["1.2.6","1.2.7","1.2.8","1.2.9","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15"],"required_owner_approvals":[],"available_owner_approvals":[],"available_key_approvals":[]}, before remove, eval_state.op_results=[[0,{}]]
300002ms th_a       index.hpp:277                 remove               ] remove {"id":"1.10.0"}
300002ms th_a       index.hpp:280                 remove               ] on remove {"id":"1.10.0"}
300002ms th_a       index.hpp:282                 remove               ] der remove {"id":"1.10.0"}
300002ms th_a       index.hpp:284                 remove               ] der removed {"id":"0.0.140737336874936"}
300002ms th_a       db_block.cpp:269              push_proposal        ] push_proposal removed, session=(s)
300002ms th_a       undo_database.cpp:127         merge                ] _stack.size=11
300002ms th_a       db_block.cpp:271              push_proposal        ] push_proposal session merged, session=(s)


readme: better build instructions

Everything is the same except for the building section.

I don't think we need Python 2 or need to install any specific Python packages anymore.

First of all, I really think we need to update the Readme section on how to build this project.
Now my thought on how to modify the build instructions and this PR:
Yes, we don't need python2 or any addition python packages.
Besides that, there are some other things that are not quite good:

The note that building is only supported on Windows 10 has been removed
The link to the google docs on how to setup Visual Studio and the Windows 10 SDK has been removed. The exact program versions required as well as the required features to install are described there. Without that info you won't be able to compile successfully.

I just setup a fresh Windows 10 installation to compile this project. I followed the setup instructions in the original document and it worked quite well. The only thing I had to do in addition to that is to create two copies of python.exe and rename it py.exe and python3.exe (which this PR does mention).
While setting up, I didn't need the Environment Variables section at all. I don't know if that section is required anymore.
When compiling, I don't use cmd.exe, I use the Developer Command Prompt for VS 2019 installed by VS2019. I think I read a note on that somewhere but I am not quite sure anymore. Administrator rights are not required for compiling.
An other quite usefull hint is to keep the project path as short as possible. Windows has a path length limitation, so compiling from your users home or downloads folder might not work. While setting up my machine, I clone the repo to my downloads folder, renamed it from ungoogled-chromium-windows to ucw and moved it directly to my system drive: c:\ucw. Checking out to the root of your system drive directly however might not work.
All in all I think we should not rework the complete build instructions but tweak them where needed.

Ah alright. Thanks for looking at my build instructions anyways tho.


Scope label has wrong background

STR:

Open the toolbox and select the Debugger panel
Create a breakpoint on the first line
Refresh the page to hit the breakpoint. You should see Variables side panel now.
There is a Global Scope section label in the Variables panel it has grey background
Click on the label to expand the section, the background changes to white (the element is active now).
It's confusing the background should stay grey.

Honza

$fixed firebug-3.0.0-alpha.7


chore: add release workflow

Adds release workflow that (1) creates a GitHub release and (2) publishes built artifacts to PyPI
Release Workflow

Checkout master locally and cut a new branch
Run poetry version <rule> to version bump (e.g., poetry version patch)
Commit changes and push to remote branch
Ensure all quality check workflows pass
Explicitly tag PR with release label
Merge to mainline

At this point, a release workflow should be triggered because:

The PR is closed, targeting master, and merged
pyproject.toml has been detected as modified
The PR had a release label

The workflow will then proceed to build the artifacts, create a GitHub release with release notes and uploaded artifacts, and publish to PyPI.
Example Workflow run: https://github.com/shoelsch/langchain/actions/runs/3711037455/jobs/6291076898
Example Releases: https://github.com/shoelsch/langchain/releases
--
Note, this workflow is looking for the PYPI_API_TOKEN secret, so that will need to be uploaded to the repository secrets. I tested uploading as far as hitting a permissions issue due to project ownership in Test PyPI.

this looks solid! im going to wait to merge it in until next week (i have a bit limited availability this weekend, so i dont want to risk anything going wrong)


updating sonar scan to watch defaut (2.4.0) branch

The sonarscan isn't up to date because it's only set to watch PRs and the 'main' branch. This should set it to also watch our current default branch named '4.2.0'.

This is where we should see the scans start to happen once this PR gets merged.
https://sonarcloud.io/project/overview?id=bcgov_nr-bcws-wfnews


Run test with Travis-CI

Also fixed spec, and added badges, fixed typos in README.md
Reviewers

[x] @akm

@minimum2scp Thanks a lot!


Update master version in antora.yml

What should be the new content?
Update the versions antora.yml of the SDK 3.x and 4.x docs. New master version is SDK 4.x docs.

Already merged


Create another login call my api

🔖 Feature description
Hi team.
I have api login. I want to custom form login to use my login API.
But I can't do it. Can you give me some suggestions ?
Thank you.
🎤 Context
Custom login form to call existed API login.
✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

What type of auth is it? If it's got a reverse authenticating proxy, then you may want to look into proxy auth. This usually gives by far the best end user experience.
But those auth docs in general contain a lot of useful information, like how to replace the sign in page with a custom one and making new auth providers if you need backend support, etc.

What type of auth is it? If it's got a reverse authenticating proxy, then you may want to look into proxy auth. This usually gives by far the best end user experience.
But those auth docs in general contain a lot of useful information, like how to replace the sign in page with a custom one and making new auth providers if you need backend support, etc.

Thank for response.
I'm bulding new project base on Backstage. And I have old project backend for store all user.
I want to pick user in this project and add to my backstage app. Each use must login before. When user login success, I register and manage it on backstage.
I read your docs, all provider is base on platform/software ( git, microsoft). But in my project, i must connect to  existing database, login with old api ( by email and password ).
Sr about my english. Thank you.

Do not add users to the catalog on sign-in; that's a distinct anti-pattern. Write an entity provider that ingests all users and groups and keeps them synced into the catalog, no matter if users sign in or not. I recommend that you expose those users and groups with an API that the catalog can consume, that does not require user sign-in.

@quan1997ap here a good post about entity providers 🙂 : https://backstage.io/blog/2023/01/31/incremental-entity-provider/#entity-providers

Do not add users to the catalog on sign-in; that's a distinct anti-pattern. Write an entity provider that ingests all users and groups and keeps them synced into the catalog, no matter if users sign in or not. I recommend that you expose those users and groups with an API that the catalog can consume, that does not require user sign-in.

Hey @freben would you also recommend that for very large enterprises, where potentially 20.000+ users could log into backstage? Sorry to hijack this this issue.

@durandom, yep, you should be able to ingest users into the catalog, would recommend this for any size organization and writing your own provider if these users are stored in a place where we don't already have integrations for.
Just as an aside, there's also this documentation about not having to have the users in the catalog if you didn't want to include them in the catalog at all for sign-in, but I guess that you might not want to go down this route.

I found solution in your docs. Thank you so much.


Homebrew centralized

I think this looks good. We can always change the interface and implementations as we integrate new state strategies. Let's work to get this merged soon so I can more easily start working on top of these changes!


Fix: recommended rules crash

Fixes ESLint Demo as it's currently broken (when opened without configuration in URL or local storage).
Hot to reproduce: clear cache and open demo.

Ah, I forgot to clear local storage while checking this. Thanks for fixing it!


⚠ Nebulance has degraded performance

In 290746b, Nebulance ($NBL) experienced degraded performance:

HTTP code: 502
Response time: 4779 ms

Resolved: Nebulance performance has improved in 2d4de92 after 5 hours, 59 minutes.


Enforce IMDSv2 in EKS-A Admin image builder AMI

Ensuring that IMDSv2 is enabled in the source AMI that gets launched when building the EKS-A Admin image.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve

/cherrypick release-0.14


one docker daemon can support how many docker containers??

I hava a physical machine，the machine has 512 GB memory and 64 core CPUS。
Now,I want to run the docker container on the physical machine，i will install the centos 7.2 os and the 1.12 docker vesion。
the one physical machine or one docker daemon can run how mach contaienrs at most??

Hello @zhu312542860
It's something that you can calculate but we have not enough information and it's hard to get a 100% correct answer. You can use cgroup to limitate the amount of resource used by each container. In this way you can have an idea about how many containers you can run.
Please keep in mind that the GitHub issue tracker is not intended as a general support forum, but for reporting bugs and feature requests. For other types of questions, consider using one of:

https://forums.docker.com
the docker community slack channel (https://blog.docker.com/2016/11/introducing-docker-community-directory-docker-community-slack/)
StackOverflow

Yes, GitHub is not the best place for this, so I'll close this issue, but feel free to continue the conversation


Fix ESM imports

This fixes ESM imports that were broken by the TypeScript upgrade in #45 (v2.0.0).
Closes #46
cc @MattIPv4 - Can you confirm this fixes your issue?
git clone git@github.com:mapbox/sphericalmercator.git && cd sphericalmercator
git checkout greenlaw/fix-esm-import
cd ..
mkdir smtest && cd smtest
npm init -y
npm pkg set type=module
npm link ../sphericalmercator
echo "import { SphericalMercator } from '@mapbox/sphericalmercator';" > index.js
node index.js

@mapsam  I think this does break CommonJS imports though. Looking for your feedback on why we should/should not preserve that, since 2.x.x is already a breaking change.

mkdir test
git clone git@github.com:mapbox/sphericalmercator.git && cd sphericalmercator
git switch greenlaw/fix-esm-import
npm ci
npm run build
cd ..
mkdir pkg && cd pkg
npm init -y
npm pkg set type=module
npm i file:../sphericalmercator
echo "import { SphericalMercator } from '@mapbox/sphericalmercator';" > index.js
node index.js

Seems to be behaving 👍

Thank you @greenlaw! 🙏

Looking for your feedback on why we should/should not preserve that, since 2.x.x is already a breaking change.

My intent was to support both since I know there's a fair bit of CommonJS usage out there and I didn't necessarily want to force people into ESM if it's not necessary. That said, since there isn't really any feature development on this library I think 2.x can be ESM-only and 1.x can be CJS for those that need it, both versions are effectively the same API.
Supporting both requires some sort of rollup/build system and distributing two entrypoints with the exports field in package.json.

Just a quick update - I haven't forgotten about this, but I'd like to try getting both the CommonJS + ESM imports working. Haven't had time to circle back to that yet, but hopefully some time this week.

Any update here @greenlaw ? Would love for this to get in. 🙏

Sorry for the delay. The latest commit should support both CJS + ESM imports.
CJS:
mkdir test && cd test
git clone git@github.com:mapbox/sphericalmercator.git && cd sphericalmercator
git switch greenlaw/fix-esm-import
npm ci
npm run build
cd ..
mkdir pkg && cd pkg
npm init -y
npm i file:../sphericalmercator
echo "const { SphericalMercator } = require('@mapbox/sphericalmercator');" > index.js
node index.js

ESM:
mkdir test && cd test
git clone git@github.com:mapbox/sphericalmercator.git && cd sphericalmercator
git switch greenlaw/fix-esm-import
npm ci
npm run build
cd ..
mkdir pkg && cd pkg
npm init -y
npm pkg set type=module
npm i file:../sphericalmercator
echo "import { SphericalMercator } from '@mapbox/sphericalmercator';" > index.js
node index.js