Hotkeys do not work on the version for BepInEx IL2CPP

I have "BepInEx-Unity.IL2CPP-win-x64-<IP_ADDRESS>-be.691+3ba398f" installed, as well as "XUnity.AutoTranslator-BepInEx-IL2CPP-5.3.0". Unfortunately, I can't adjust the font size from the config. And when I try to use hotkeys in the game, they don't work (all hotkeys in general).

Вот дополнительная информация которая, я надеюсь, поможет решить проблему:

Я пытаюсь перевести игру: "Salt 2: Shores of Gold".
На сколько я успел понять, это игра(64-bit) использует IL2CPP.

Here is some additional information that I hope will help solve the problem:

I'm trying to translate the game: "Salt 2: Shores of Gold".
As far as I could understand, this game(64-bit) uses IL2CPP.

Also, the same error keeps popping up in the console:
[Error  :XUnity.AutoTranslator] An unexpected error occurred during maintenance.
System.MissingMethodException: Method not found: 'IntPtr Il2CppInterop.Runtime.IL2CPP.il2cpp_gchandle_get_target(UInt32)'.
   at XUnity.Common.Extensions.ObjectExtensions.IsCollected(Il2CppObjectBase that)
   at XUnity.Common.Utilities.ExtensionDataHelper.Cull()
   at XUnity.Common.Utilities.MaintenanceHelper.MaintenanceLoop(Object state)

I'll join in too...I can't start the quick menu to deactivate the translation without turning off the game..alt+0 doesn't work, so is there any way?

From what I understand, Unity has updated IL2CPP, TextMeshPro, and possibly something else. I'll provide the full text from the console. Hopefully this will help resolve this issue. My knowledge is not enough to do anything here.
`
[Message: Preloader] BepInEx 6.0.0-be.691 - Salt2
[Message: Preloader] Built from commit 3ba398f269961fe6721f918423df399d0b481d7e
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 64-bit (x64)
[Info   :   BepInEx] Running under Unity 2022.3.24f1
[Info   :   BepInEx] Runtime version: 6.0.7
[Info   :   BepInEx] Runtime information: .NET 6.0.7
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Info   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info   :   BepInEx] 2 plugins to load
[Info   :   BepInEx] Loading [XUnity Auto Translator 5.3.0]
[Info   :Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.PluginLoader+AutoTranslatorProxyBehaviour in il2cpp domain
[Info   :   BepInEx] Loading [XUnity Resource Redirector 2.1.0]
[Message:   BepInEx] Chainloader startup complete
[Info   :XUnity.AutoTranslator] Force loading ALL proxy assemblies.
[Warning:XUnity.AutoTranslator] Failed creating fast reflection delegate through with cecil. Retrying with reflection emit...
System.ArgumentException: FieldInfo type does not match return type.
at XUnity.Common.Utilities.CecilFastReflectionHelper.CreateFastFieldGetter[T,F](FieldInfo fieldInfo)
at XUnity.Common.Utilities.CustomFastReflectionHelper.CreateFastFieldGetterForCecil[T,F](FieldInfo fieldInfo)
[Warning:XUnity.AutoTranslator] Failed creating fast reflection delegate through with reflection emit. Falling back to standard reflection...
System.ArgumentException: FieldInfo type does not match return type.
at XUnity.Common.Utilities.ReflectionEmitFastReflectionHelper.CreateFastFieldGetter[T,F](FieldInfo fieldInfo)
at XUnity.Common.Utilities.CustomFastReflectionHelper.CreateFastFieldGetterForCecil[T,F](FieldInfo fieldInfo)
[Warning:XUnity.AutoTranslator] Could not find 'UnityEngine.TextMesh' in IL2CPP domain even though it could be found in the managed domain.
[Warning:XUnity.AutoTranslator] Could not find 'UnityEngine.WWW' in IL2CPP domain even though it could be found in the managed domain.
[Warning:XUnity.AutoTranslator] Could not find 'UnityEngine.GUI+ToolbarButtonSize' in IL2CPP domain even though it could be found in the managed domain.
[Info   :XUnity.AutoTranslator] Version of TextMesh Pro: 1.4.0.
[Warning:  HarmonyX] AccessTools.Method: Could not find method for type TMPro.TMP_Text and name SetCharArray and parameters (Il2CppInterop.Runtime.InteropTypes.Arrays.Il2CppStructArray, int, int)
[Warning:XUnity.AutoTranslator] Could not hook 'TMP_Text_SetCharArray_Hook3'. Likely due differences between different versions of the engine or text framework.
[Info   :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2022.3.24f1] game.
[Info   :Il2CppInterop] Registered mono type XUnity.AutoTranslator.Plugin.Core.Il2CppManagedEnumerator in il2cpp domain
[Warning:XUnity.AutoTranslator] Input API is not available!
System.TypeLoadException: Could not load type 'UnityEngine.Input' from assembly 'UnityEngine.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInput()
at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.HandleInputSafe()
[Info   :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered.
[Info   :XUnity.AutoTranslator] Attempting to load TextMesh Pro font from asset bundle.
[Message:     Unity] Upgrading font asset [ARIALUNI SDF] to version 1.1.0.
[Info   :XUnity.AutoTranslator] Loaded TextMesh Pro font uses version: 1.1.0
[Warning:XUnity.AutoTranslator] TextMesh Pro version mismatch. Font asset version: 1.1.0, TextMesh Pro version: 1.4.0
[Message:     Unity] loaded 328000 bytes.
[Message:     Unity] salt steam friends: steam manager is initialized. Invoking update event
[Message:     Unity] loading scene MenuScene
[Warning:     Unity] Trying to unload PlayerScene but it wasn't loaded to begin with.
[Error  :XUnity.AutoTranslator] An unexpected error occurred during maintenance.
System.MissingMethodException: Method not found: 'IntPtr Il2CppInterop.Runtime.IL2CPP.il2cpp_gchandle_get_target(UInt32)'.
at XUnity.Common.Extensions.ObjectExtensions.IsCollected(Il2CppObjectBase that)
at XUnity.Common.Utilities.ExtensionDataHelper.Cull()
at XUnity.Common.Utilities.MaintenanceHelper.MaintenanceLoop(Object state)
`

Hi everyone...I open this discussion....to ask you for help on this...the game in question is PC bunding simualor 2 translated with the Italian translation...the game translates well...but when I do the tutorial, every tutorial gives me the damn error...
[Message: Unity] Loading a case with customization data version: 0
[Error : Unity] NullReferenceException: Object reference not set to an instance of an object.
[Error : Unity] NullReferenceException: Object reference not set to an instance of an object.
and the game freezes...please help me..is it a plugin error? Is there a way to resolve the situation? and since May 25th I've been trying to resolve...
I need to put something in the config file, can you enlighten me? Thanks in advance
LogOutput.log
I attach the log file..
after I try the tutorial the game doesn't progress and I have to close the game
EDIT
Can you help me? What causes this error? Thank you for your answer
LogOutput.log

Fixed in #531


Cannot add Google TV device  in MA configuration

What version of Music Assistant has the issue?
2022.8.4
The problem
I do have multiple chromecast devices, but my new Google TV does not show up whenever I want to add it to MA
How to reproduce
MA - Configure
Configure which Home Assistant media players you would like to use with Music Assistant.
Player entities:
all chromecast entities shown , except the Google TV  (device is known in HA and up and running)
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.9.2
What type of installation are you running?
Home Assistant Supervised
On what type of hardware are you running?
Linux

Hi @wmwnd
Google TV is supposed to work as is has chromecast support.  Please have a look at:
https://github.com/music-assistant/hass-music-assistant/discussions/622
Can you please report back if your player works via de media browser (as described in the first option).
Best Eric

tested based on #622 , the player can play files direct from media , see sc

I added the device ID media_player.chromecast manually into the drop-down field , then an error was displayed :
User input malformed: value must not be one of ['media_player.chromecast', 'media_player.desktop_qm356q0', 'media_player.harmony_remote', 'media_player.icybox', 'media_player.mass_0_woonkamer', 'media_player.mass_chromecast_v1', 'media_player.mass_lenovo_cd_4n341y7001', 'media_player.mediacenter_772a0a84', 'media_player.spotify_wmwnd'] @ data['player_entities'][1]

This indicates the player is not supported for some reason.

Hi
Manually entering the player in the list won't work (only the recognised players will be accepted). For some reason the Google tv player is not recognised as a compatible player.
In order to allow @marcelveldt to look into that, it would like help if you share the player entity properties. You can easily look then up in de development tools.
Should look similar to this:
device_class: speaker
friendly_name: Woonkamer
supported_features: 456639
is_volume_muted: false
media_content_type: music
media_position: 0
media_position_updated_at: '2022-09-15T13:48:01.075405+00:00'
app_id: media_player.audio57woonkmr
app_name: Audio57WoonKmr
shuffle: false
repeat: false
active_child: media_player.mass_audio57woonkmr

If I understand the supported features correctly the TV is reporting it doesn't support volume_set or volume_mute and they might be required?

Yes, thanks for reporting the properties back. That is what van help.
One open question still: is this Google TV player provided via the Google Cast integration, or via the Android TV integration?!

Hi, I used google cast integration

If I understand the supported features correctly the TV is reporting it doesn't support volume_set or volume_mute and they might be required?

I think this is the issue... It is supposed to support volume commands. I do not own a Google TV device so not possible to test. This is not a simple fix but I can make sure to add it in the refactor stuff I'm working on where I actually touched some parts that are related to this.

I will wait and see whenever this fits your schedule. Please close this ticket, no rush with it.


Breakage alert

alert the maintainers about a breakage

I think this'd be easy to implement, hence adding as a stretch goal.
@jayvdb do we have periodic builds on master, that and using API of travis(I assume it provides one) can be used to see the breakage.
This becomes not so useful if all the deps are pinned, fwiw if requests was pinned then the breakage would've went unnoticed with this ^^ method

A breakage in corobo, or any repo?
With travis, there is build status, and build log.  And the log is a nightmare to parse ;-)

https://github.com/daenney/err-travishook


Implement libcloud-based dns-01 challenge responder.

Fixes #59.
Putting this up for review so people can take a look, but the following things still need to happen before this is merged:

[x] Wait for a new acme release, and remove the git stuff from tox.ini etc.
[x] Write some prose documentation about DNS challenges.
[x] Document that most libcloud providers are not tested, and some are likely broken (eg. Route 53 is broken)
[x] If no zone is configured, then try to enumerate zones to figure it out.

This change is

Current coverage is 99.45% (diff: 91.66%)

Merging #63 into master will decrease coverage by 0.48%

@@             master        #63   diff @@
==========================================
  Files            21         22     +1
  Lines          1561       1652    +91
  Methods           0          0
  Messages          0          0
  Branches        143        152     +9
==========================================
+ Hits           1560       1643    +83
- Misses            1          7     +6
- Partials          0          2     +2

Powered by Codecov. Last update 0fedd66...b2e028f

@glyph I guess this is relevant to your interests ;) I'd appreciate if you could cast your reviewer's gaze over at least the libcloud/threading junk (either on Reviewable or here, although Reviewable would be preferred).

Thanks for doing this. I'll try to look at this when I can :)

@mithrandi - since you asked specifically about the threadpool… the Twisted side of it looks right, but I have no idea if the driver objects in libcloud are threadsafe.  you might want to do an initial release with a threadpool max of 1, just to be on the safe side initially, and then come up with some way to load-test it for a follow-up change.
Unless of course you happen to know that it is totally thread-safe, in which case 👍 .

In fact, the libcloud docs specifically say that it is not threadsafe, so that's a good catch; I'll adjust the max to 1. To support multiple threads, we would probably need separate driver objects; I don't think supporting concurrent requests here is super important, though, so I'll leave it for now. (We're still creating some objects in the reactor thread instead of a threadpool thread which isn't strictly correct, but I think as long as there's no concurrent access, we should be okay?)

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

src/integration/test_client.py, line 37 [r2] (raw file):
Previously, mithrandi (Tristan Seligmann) wrote…
> I like `ImmediateClock`, I'll use that.

Errr... apparently I didn't end up using this class anywhere, so I'm actually going to delete it instead.

Comments from Reviewable

twisted._threads has a better API for doing stuff like this (a resource with a dedicated, associated thread), but no good high-level way to initialize it.

Reviewed 4 of 7 files at r1, 1 of 3 files at r2, 1 of 2 files at r3, 2 of 2 files at r4.
Review status: all files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

Comments from Reviewable

OK so, I tried to provision a bunch of certs with the code in this branch, and my main feedback so far: dang this needs to log a lot more stuff.  I just get:
2016-08-30T00:23:37-0700 [txacme.service#info] Requesting a certificate for 'vimes.lan.glyph.im'.
2016-08-30T00:23:37-0700 [txacme.service#info] Requesting a certificate for 'milly.lan.glyph.im'.
2016-08-30T00:23:37-0700 [txacme.service#info] Requesting a certificate for 'rem.lan.glyph.im'.

and it's not clear to me if the provisioning is just taking a really long time, or of it's hung, or if something is going wrong.
Given that ^C doesn't interrupt the process, "something is going wrong" seems like a distinct possibility.

Okay!  A little bit later:
Traceback (most recent call last):
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop
    self.runUntilCurrent()
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/twisted/internet/base.py", line 798, in runUntilCurrent
    f(*a, **kw)
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/twisted/internet/defer.py", line 393, in callback
    self._startRunCallbacks(result)
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/twisted/internet/defer.py", line 587, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/txacme/service.py", line 191, in <lambda>
    csr=csr_for_names([server_name], key))))
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/txacme/util.py", line 152, in csr_for_names
    x509.NameAttribute(NameOID.COMMON_NAME, common_name)]))
  File "/Users/glyph/.virtualenvs/getmesomecerts/lib/python2.7/site-packages/cryptography/x509/name.py", line 22, in __init__
    "value argument must be a text type."
exceptions.TypeError: value argument must be a text type.
2016-08-30T00:27:04-0700 [txacme.service#critical] PANIC! Unable to renew certificate for: 'milly.lan.glyph.im'

which I think means... I passed the wrong type to a constructor somewhere?

Aah. Looks like there is an undocumented requirement to call .asTextMode() in some places...

Wow this really takes a minute doesn't it.

2016-08-30T00:35:27-0700 [txacme.service#info] Received certificate for u'rem.lan.glyph.im'.

WOOOOOOOOOOOOOOO

OK. I just provisioned some real live certs from real live LE for a couple of internal on-my-LAN machines.  This is pretty dang amazing.  Feel free to pester me to share the script I used, I do need to clean it up and open source it.  Perhaps I should just contribute it here.

Wow this really takes a minute doesn't it.
There is a literal time.sleep(60) in there, so, yes :) (You can reduce it, but the actual delay I was seeing when testing with Rackspace DNS was around 30-40 seconds, so you probably can't reduce it much without starting to see failures)

@mithrandi - what do you think about inferring "zone" from the domain name passed in, rather than asking the user to name it?

@glyph Do you mean as a default? In the general case, I think this is impossible (eg. when I was testing this, I used the hostname txt.rackspace.mithrandi.net, with a zone of rackspace.mithrandi.net; there's no way to determine that statically from the hostname).
You could enumerate the available zones based on the credentials provided, but you might be using a set of credentials that doesn't allow this, or a set of credentials that doesn't have access to every zone in the account.
The zone is what your credentials are tied to; handling multiple responders for different zones isn't solved yet, but #64 covers this case; so that's also something to keep in mind.

You could enumerate the available zones based on the credentials provided, but you might be using a set of credentials that doesn't allow this, or a set of credentials that doesn't have access to every zone in the account.

Hrm. I didn't realize "enumerating zones" was a thing that could be restricted.  In any case, you could still make a pretty clear "best effort", and just give up if the necessary things aren't available to perform the heuristic.

As it turns out, the API of libcloud doesn't allow for not being able to enumerate zones, so this point is moot. I implemented auto-detection in the case of zone_name = None which should be suitable for almost all use cases.

👏 👏 👏
(I can't add emoji reactions to individual commits, apparently?)

Reviewed 2 of 4 files at r5, 2 of 2 files at r6, 5 of 5 files at r7.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[3.4.0] Performance drop with composer/xdebug-handler 2.0.4

Hi :)
Bug report
We're facing a surprising performance drop in our PHP CS Fixer CI routines since our last update of FriendsOfPHP/PHP-CS-Fixer to version 3.4 (as we're stuck on PHP 7.3 for now, with no way to upgrade to PHP 7.4+ or PHP 8+ unfortunately).
After further investigation, it seems like this is caused by composer/xdebug-handler 2.0.4 that came out the 4th of january 2022.
Tested with:

PHP 7.3
Composer 2.1
Git 2.20
PHP extension ext-pdo_sqlite (sudo apt install php7.3-sqlite)
PHP CS Fixer 3.4.0

Code snippet that reproduces the problem
Here is how to reproduce the performance drop caused by composer/xdebug-handler 2.0.4 on FriendsOfPHP/PHP-CS-Fixer 3.4.
Deploy a demo Symfony project:
git clone -b v1.8.0 --single-branch git@github.com:symfony/demo.git
cd demo
composer install

Install PHP CS Fixer the recommended way:
mkdir --parents tools/php-cs-fixer
composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer

SIDE NOTE
When writing these lines, at this stage composer/xdebug-handler 2.0.4 gets installed, which we believe is the version that causes the problem. If you end up with another version, the issue may or may not be still present.
Checked as follows:
composer show --working-dir=tools/php-cs-fixer composer/xdebug-handler

Resulting output:
name     : composer/xdebug-handler
[...]
versions : * 2.0.4
[...]

END OF SIDE NOTE

Run PHP CS Fixer with  composer/xdebug-handler 2.0.4:
# Clear cache to be sure:
rm -f ./var/.php_cs.cache
# Run PHP CS Fixer:
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src

Resulting output:
Fixed all files in 16.637 seconds, 6.000 MB memory used

--> The run takes 16 seconds on my machine.
Run PHP CS Fixer with  composer/xdebug-handler 2.0.3:
Downgrade composer/xdebug-handler to version 2.0.3:
composer require --dev --working-dir=tools/php-cs-fixer composer/xdebug-handler:2.0.3

Run PHP CS Fixer again:
# Clear cache:
rm -f ./var/.php_cs.cache
# Run PHP CS Fixer:
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src

Resulting output:
Fixed all files in 0.977 seconds, 14.000 MB memory used

--> The run takes roughly 1 second on my machine.
Our conclusion is that composer/xdebug-handler version 2.0.4 introduced a massive performance drop. On this example it goes from 1 second to 16 seconds which is still bearable, but on our real-size project, it bumped from a couple of minutes to almost half an hour!
We're planning on pinging the team maintaining composer/xdebug-handler too so they can have a look at this ticket for a way to reproduce the issue. EDIT: Done, see xdebug-handler#146.
Our current workaround is to enforce a downgrade to composer/xdebug-handler version 2.0.3 as shown above.

Thanks for all the digging and details reporting :+1:  I'll follow the issue on the xdebug-handler repo, curious what is going on :)


Inline certain references rather than hoisting them

Needed for https://github.com/stoplightio/studio/issues/538
This actually reverts one of the changes we made earlier.
The logic is fairly simple, yet I believe this should cover most of spots.

The ideal would be to hoist them to the correct spot when possible. E.g. #/parameters in openapi2, and #/components/parameters in openapi3. BUT this might not fit with current implementation and require a decent amount of work - if this is the case np we can punt for later just LMK.

The ideal would be to hoist them to the correct spot when possible. E.g. #/parameters in openapi2, and #/components/parameters in openapi3. BUT this might not fit with current implementation and require a decent amount of work - if this is the case np we can punt for later just LMK.

Oh, huh, yeah.
This would be neat.
TBH, wouldn't be terribly complex to do.
That said, I'd rather get this one fixed first and then introduce that change - mitigating the risk.
Whatcha think?
Would probably need to create a new ticket as I wouldn't be able to tackle it right away

Oh, huh, yeah.
This would be neat.
TBH, wouldn't be terribly complex to do.
That said, I'd rather get this one fixed first and then introduce that change - mitigating the risk.
Whatcha think?
Would probably need to create a new ticket as I wouldn't be able to tackle it right away


Release Camunda Platform Helm Chart v8.1.0

Before opening the PR:

[x] Run make release-chores
[x] Create a PR with the printed URL

After opening the PR:

[x] Take a final look at the release commits (version bump and release notes)
[x] Make sure that all checks in the PR passed
[x] If everything in place, add release label to the PR
[x] Follow up the release workflow and make sure it succeeded

For the records, the main issue with the release is that the Keycloak chart was missing in Identity.
The fix was just running helm dependency update in the main chart and Identity.
We didn't have much problem with that before because we didn't use templates or functions from Keycloak in Identity.


adding vue-ssr plugin

This is some default configuration that will generate a server manifest json that a bundle renderer can use to output a server side rendered bundle.

Considering putting this behind a febs config property, looking for any early feedback

merging this as a separate PR


Add String.Format

Description
Add String.Format function
Motivation and Context

How Has This Been Tested?

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Signed-off-by: ishvedov<EMAIL_ADDRESS>

Was testing this with the following code:
    public class Program
    {
        public static void Main()
        {
            try
            {
                DateTime date1 = new DateTime(2009, 7, 1);
                TimeSpan hiTime = new TimeSpan(14, 17, 32);
                double hiTemp = 62.1;
                TimeSpan loTime = new TimeSpan(3, 16, 10);
                double loTemp = 54.8;

                string result1 = String.Format("Temperature on {0:d}:\n{1,11}: {2} degrees (hi)\n{3,11}: {4} degrees (lo)",
                                               date1, hiTime, hiTemp, loTime, loTemp);
                Console.WriteLine(result1);
                Console.WriteLine("");

                string result2 = String.Format("Temperature on {0:d}:\n{1,11}: {2} degrees (hi)\n{3,11}: {4} degrees (lo)",
                                               new object[] { date1, hiTime, hiTemp, loTime, loTemp });
                Console.WriteLine(result2);

                Thread.Sleep(Timeout.InfiniteTimeSpan);
            }
            catch (Exception ex)
            {

            }
        }
    }

but it's throwing at me:
#### Exception System.ArgumentException - 0x00000000 (1) ####
#### Message: Format error: wrong simbol in {}
#### System.String::Format [IP: 0153] ####
#### NFApp327.Program::Main [IP: 006f] ####

Not implemented alignment. I'll make it today.

Oh... I see... for sure we won't need the full blown Format() so it's OK to have a lightweight version.
Just need to make it clear what is supported and what isn't.

After the latest commit I'm getting:
Temperature on 07/01/2009:   14:17:32: 62.100000000000001 degrees (hi)   03:16:10: 54.799999999999997 degrees (lo)⠴
Like I said above, because this is a constrained resource platform no one would be expected to see a fully implemented String.Format
I suggest we decide on what should be me available and concentrate on that. What do you think?

Problem with broken string.this[] in new firmwares. I wrote it in Slack

Wait for resolve nanoframework/Home#343

Blocked by nanoframework/Home#343.

The output is now the expected one:
hiTemp62.100000000000001
loTemp54.799999999999997
Temperature on 07/01/2009:
   14:17:32: 62.100000000000001 degrees (hi)
   03:16:10: 54.799999999999997 degrees (lo)

After nanoframework/nf-interpreter#743 the output is now 100% correct when compared with the full .NET output:
hiTemp62.1
loTemp54.8
Temperature on 07/01/2009:
   14:17:32: 62.1 degrees (hi)
   03:16:10: 54.8 degrees (lo)

I did it.


tests: fix some test depencencies and metadata of boards

tests: uart_emul: remove hardware dependency
tests: dma/chan_blen_transfer: fix hardware dependency and syntax
tests: tracing: TraceRecorderSource was renamed to percepio
boards: mec172xevb_assy6906: add spi as supported
boards: nucleo_h753zi: add watchdog as supported
boards: nucleo_g0b1re: add arduino_serial as supported

Note:

boards: nucleo_h753zi: add watchdog as supported

Not included in this PR


Update LICENSE

Codecov Report

Merging #91 (4f8b026) into master (4508571) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #91   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           91        91
=========================================
  Hits            91        91

Continue to review full report at Codecov.

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


Analyzer doesn't show a hint for shorthand function with wrong return type but throws at runtime in checked mode

dartanalyzer doesn't produce a hint or warning for
new Future<Null>(() => style.opacity = '1');

but it throws at runtime

Uncaught Unhandled exception:
type 'String' is not a subtype of type 'Null' of 'value' where
String is from dart:core
Null is from dart:core
0      _Future._setValue (dart:async/future_impl.dart:296)
1      _Future._complete (dart:async/future_impl.dart:466)
2      Future.Future. (dart:async/future.dart:118)
3      Timer._createTimer. (dart:async-patch/timer_patch.dart:16)
4      _Timer._Timer. (dart:html:49213)
(anonymous function)
Dart VM version: 1.17.0-edge.b37747934e762dbb4973ddd8798c4ca6126f5f24 (Fri Jun  3 15:14:30 2016) on "linux_x64"

strong mode enabled
browser application run in Dartium from pub serve

This is a spec-mode and strong-mode valid program that fails at runtime. The problem is that:
new Future<Null>(...) expects an argument of type ()->dynamic where dynamic stands for T or Future<T>, but we can't actually represent that. Since we can't represent it, we also can't check it.
It gets an argument of type ()->String, which is valid when assigned to ()->dynamic. When the resulting string is attempted converted to Null, it fails predictably.
Short of having union types, or separate constructors for Future<T> and T computations, I don't see a good solution. We can't express the actual constraint in the spec type system. The current strong-mode comments contains union types, so it might be fixable in strong mode only.

@jmesserly is working on handling the special case of the future API for at least Future.then, and possibly other cases like this one.

Yeah, I have been slowly working on a change that teaches Strong Mode inference that Future<T>.then<S> type is (T --> (S | Future<S>) ) --> Future<S>.
We could perhaps extend that trick to treat the constructor here as taking a parameter with type () --> (T | Future<T>)
Note we don't currently do any upwards inference on constructors (https://github.com/dart-lang/sdk/issues/25220), so it wouldn't infer the T, but it would improve the static error checking. In your case, it would issue a warning that Null or Future<Null> was expected as the return value of that function.

This is obsolete.  FutureOr should have addressed this.


no-unused-variable rule ignores decorated members

This is a feature request, a non-breaking extension to the current behavior.
Problem: Decorators often change the behavior and usage of the decorated member. I have examples where some of my private member functions are called through decorators only -- so they appear to be unused but they are called indirectly through the decorators.
class CatchySong {
  @callMeMaybe
  private heresMyNumber() { throw new Error('meh'); } // tslint:disable-line:no-unused-variable
}

Current Workaround: Now I must make them public to avoid linter errors which is undesirable. Or I can disable tslint every such place (see above) which is pretty inconvenient.
Feature Request: I have read #667 (similar request but not so specific) and I agree that the default operation of no-unused-variable rule should NOT be changed. However, the rule could be extended by an ignore-decorated option like the currently available ignore-pattern. If ignore-decorated is set to true then decorated members are always accepted as valid whether they are used or not. This option is turned off by default.
Config example:
{
  "rules": {
    "no-unused-variable": {
        "severity": "warning",
        "options": {"ignore-pattern": "^_", "ignore-decorated": true }
    },
  }
}

I see no such feature or issue in eslint:
https://github.com/eslint/eslint/issues?q=is%3Aissue+no-unused-vars+decorators

A better workaround is if such members are protected instead of being public. This way they are hidden from outside but it's still fishy because they are not intended to be used through inheritance -- probably there is no inheritance at all for the given class. +1 for better code-completion, -1 for worse clarity.

no-unused-variable has been deprecated, since typescript can handle its functionality now.


Xml documentation and DifferencesString are different

Hello
https://github.com/GregFinzer/Compare-Net-Objects/blob/a254647508ccbb8bc2044f5097c70243f7d842f1/Compare-NET-Objects/ICompareLogic.cs#L20
The DifferencesString refers to the objects as Expected and Actual. Can we update the xml documentation to match it?
Thanks

It will take me a while until I can get to this.  I am recovering from an injury.

Fixed.


Multiple input statements working on same useful demand (for 'old style' local datasets)

The current set of input statements on etsource/inputs/adjust_scaling/industry contains some statements that work on the same demand.
These inputs work on entire sectors and should not be used in the Netherlands:

industry_useful_demand_for_chemical_aggregated_industry_both.ad
industry_useful_demand_for_other_aggregated_industry_other_both.ad

The following inputs can be optionally used for extinguishing entire sectors, but are not necessary, since the aggregate_per_carrier ones also work on these demands:

industry_useful_demand_for_other_construction_both
industry_useful_demand_for_other_machinery_both
industry_useful_demand_for_other_minerals_both
industry_useful_demand_for_other_mining_both
industry_useful_demand_for_other_non_specified_both
industry_useful_demand_for_other_textile_both
industry_useful_demand_for_other_transport_equipment_both
industry_useful_demand_for_other_wood_products_both

Careful:

industry_useful_demand_for_other_paper_both,
industry_useful_demand_for_other_food_both and
industry_useful_demand_for_other_ict_both

Are NOT set by the aggregate statements, and need to be set separately. This is not the case for the non-energetic use, which is accounted for in the aggregate_per_carrier.
For now, this is ok, since we know which ones to use for Drenthe. In the new style local datasets, we need to avoid setting the same value twice (without meaning to), either in the excel data structure or in the priorities within the statements.

Superseded by #1280. Closing


Missing => in sheet 1, problem 5, part (a)

More missing throughout the sheet (and presumably other sheets), might be a question of all or none. Should the first item in an answer contain an arrow?


Struggling to get plugin working–transforms aren't being applied?

Hi all,
I'm trying to get the plugin working at all and I'm at my wits end here. As far as I can tell, no transformations are happening. I'm using Gatsby, but just in development mode and with a custom babel config:
babel.config.js:
module.exports = {
  presets: ['@babel/preset-env', '@babel/react'],
  plugins: [
    'babel-plugin-styled-components',
    '@babel/plugin-proposal-class-properties',
  ],
};

and my package.json:
"devDependencies": {
    "@babel/core": "^7.1.0",
    "@babel/plugin-proposal-class-properties": "^7.1.0",
    "@babel/preset-env": "^7.1.0",
    "@babel/preset-react": "^7.0.0",
    "babel-core": "7.0.0-bridge.0",
    "babel-plugin-styled-components": "^1.7.1",
    ...
}

Currently, when I go to React devtools, I'm still getting tons of <styled.xxx> elements, instead of displayNames and in Chrome inspector, my classes on a component look like this: class="sc-ifAKCX fjeiAi"
Any help would be greatly appreciated—I'm really stuck.

I think you need to use the gatsby plugin? https://www.gatsbyjs.org/packages/gatsby-plugin-styled-components/

Thanks for the thought @probablyup—no dice though :/
I think the Gatsby plugin only applies if you're using their built-in babelrc file. I just tried adding a displayName manually to a couple of my styled components and that works a-okay, but the plugin still isn't doing anything. Would it be helpful for me to see if I can reproduce in a demo repo?

I mean I'd probably post in one of the issues on their repo or try asking on their Spectrum. When it comes to third party integrations the knowledge is a bit scattered.

@probablyup PROGRESS! So I created a sample repo and encountered the same problem with just a vanilla React/Webpack build. Here's what the problem is:
I'm using the function syntax (added in 3.4.0), so my styled components look like this:
const myComponent = styled.div({
    // blah
});

That isn't picked up by the plugin, whereas this does:
const myComponent = styled.div`
    // blah
`;

Thoughts?

No problem! I'll probably need some help, but I'll see if I can take a stab at it first :)

@probablyup yep, I got super stuck—might be best if you did it. Basically where I got to (baby steps) was:
We need to add a visitor for CallExpression as well as TaggedTemplateExpression. Then, isStyled needs to be modified to accept the call expression (path.node?) as well as path.node.tag.
Was I at least on the right track?

@Vpr99 want to test babel-plugin-styled-components@dev and let me know if it works?

@probablyup almost working! Now we've got:
const foo = styled('div')({  })
but this one isn't working still:
const foo = styled('div')(props => ({  }))
Thanks for all your hard work on this :)

@Vpr99 try it one more time, latest from the "dev" tag

@probablyup works great!


search_mgf works now as standalone - as expected :)

Added compress raw results for search engines that produce .xml and .mzID ... needs some testing on other machines

Tested and approved


Failed to create ZFS filesystem: cannot create 'lxd/images/[...] no such pool 'lxd'

LXD 2.9.3 (since upgraded to 2.10, same problem), Zesty
I just tried to launch a new container and it failed like this
laney@nightingale (master|…)> lxc launch -e ubuntu-daily:z -p sharedhome -p default
Creating more-dogfish
error: Failed to create ZFS filesystem: cannot create 'lxd/images/cbcb61fcbacf39a8f85a8b71774c0465eeb03f92c2ead81ecd2c5b03b5d9989b': no such pool 'lxd'

Some digging turns up https://github.com/lxc/lxd/issues/2907 and https://github.com/lxc/lxd/issues/2904 - the info asked for there.
root@nightingale:~# ls /var/lib/lxd/*.img
ls: cannot access '/var/lib/lxd/*.img': No such file or directory
root@nightingale:~# ls /var/lib/lxd/disks/
lxd.img

root@nightingale:~# sqlite3 /var/lib/lxd/lxd.db
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
sqlite> select * from config;
sqlite> select * from storage_pools;
1|lxd|zfs
sqlite> select * from storage_volumes;
1|asgen|1|0
2|consumer|1|0
3|6a5c30ea2211c1b1f23067dbe124b9d3c0a0e9dd507d167c29df9640c2004259|1|1
4|76f6aad8833511b1bdd610374fbc6d50d154c09800279298ff6e836ccd00926c|1|1
23|8a54ace444e414382311329b5412fe188787183e0576e2562f13e9cad22ecf80|1|1
29|fb0d99cdb895ed705b605fcfed6375c4c05bd9654805667eaffd754ee335c787|1|1
30|2fd29c3773479374b7dd8a8a903ca08a722abf7e0a35d62da78a1584c25b7f6d|1|1
31|de1b17b877e700b2250b5500b0881820f914382dc2f9c911023b403c198ad00b|1|1
32|59cd5d385dfb298fcded860d469b6fe31bb4a60c81902eb5c8454ef713966e1b|1|1
33|cf87854408b231ef1c056c94783cce664e88a2475598c0cea34342d2c761cff4|1|1
sqlite>

root@nightingale:~# systemctl stop lxd lxd.socket
root@nightingale:~# lxd --debug --group lxd
INFO[03-02|09:39:27] LXD 2.10 is starting in normal mode      path=/var/lib/lxd
INFO[03-02|09:39:27] Kernel uid/gid map:
INFO[03-02|09:39:27]  - u 0 0<PHONE_NUMBER>
INFO[03-02|09:39:27]  - g 0 0<PHONE_NUMBER>
INFO[03-02|09:39:27] Configured LXD uid/gid map:
INFO[03-02|09:39:27]  - u 0<PHONE_NUMBER>6
INFO[03-02|09:39:27]  - g 0<PHONE_NUMBER>6
DBUG[03-02|09:39:27] Initializing and checking storage pool "lxd".
DBUG[03-02|09:39:27] Initializing a ZFS driver.
DBUG[03-02|09:39:27] Checking ZFS storage pool "lxd".
INFO[03-02|09:39:27] Expiring log files
INFO[03-02|09:39:27] Done expiring log files
INFO[03-02|09:39:27] Starting /dev/lxd handler
DBUG[03-02|09:39:27] Looking for existing certificates        cert=/var/lib/lxd/server.crt key=/var/lib/lxd/server.key
INFO[03-02|09:39:27] LXD isn't socket activated
INFO[03-02|09:39:27] REST API daemon:
INFO[03-02|09:39:27]  - binding Unix socket                   socket=/var/lib/lxd/unix.socket
INFO[03-02|09:39:27] Pruning expired images
INFO[03-02|09:39:27] Updating images
INFO[03-02|09:39:27] Done pruning expired images
DBUG[03-02|09:39:27] Processing image                         alias=z fp=cbcb61fcbacf39a8f85a8b71774c0465eeb03f92c2ead81ecd2c5b03b5d9989b protocol=simplestreams server=https://cloud-images.ubuntu.com/daily
DBUG[03-02|09:39:28] Image already exists in the db           image=cbcb61fcbacf39a8f85a8b71774c0465eeb03f92c2ead81ecd2c5b03b5d9989b
DBUG[03-02|09:39:28] Already up to date                       fp=cbcb61fcbacf39a8f85a8b71774c0465eeb03f92c2ead81ecd2c5b03b5d9989b
INFO[03-02|09:39:28] Done updating images

I also see this in my journal from the current boot
Feb 28 12:43:03 nightingale zpool[1102]: cannot import 'lxd': no such pool or dataset
Feb 28 12:43:03 nightingale zpool[1102]:         Destroy and re-create the pool from
Feb 28 12:43:03 nightingale zpool[1102]:         a backup source.
Feb 28 12:43:03 nightingale systemd[1]: zfs-import-cache.service: Main process exited, code=exited, status=1/FAILURE
Feb 28 12:43:03 nightingale systemd[1]: Failed to start Import ZFS pools by cache file.
Feb 28 12:43:03 nightingale systemd[1]: zfs-import-cache.service: Unit entered failed state.
Feb 28 12:43:03 nightingale systemd[1]: zfs-import-cache.service: Failed with result 'exit-code'.
Feb 28 12:43:03 nightingale systemd[1]: Starting Mount ZFS filesystems...
Feb 28 12:43:03 nightingale systemd[1]: Started Mount ZFS filesystems.

Should have journals going back quite a while if you want me to look for anything in particular.

root@nightingale:~# tree /var/lib/lxd
/var/lib/lxd
├── containers
│   ├── asgen -> /var/lib/lxd/storage-pools/lxd/containers/asgen
│   ├── consumer -> /var/lib/lxd/storage-pools/lxd/containers/consumer
│   └── lxc-monitord.log
├── devices
│   ├── asgen
│   │   └── disk.home-ubuntu
│   └── consumer
├── devlxd
├── disks
│   └── lxd.img
├── images
│   ├── 2b8bd8d9ef78cecb1374aeb40075bfe2a61c6256288db5ec0d3e90c2f95920cc
│   ├── 2b8bd8d9ef78cecb1374aeb40075bfe2a61c6256288db5ec0d3e90c2f95920cc.rootfs
│   ├── 2bdc5e792606b3869ba86de2e3cf05e655fa2fae9b69bf39a57f202db7a903e4
│   ├── 2bdc5e792606b3869ba86de2e3cf05e655fa2fae9b69bf39a57f202db7a903e4.rootfs
│   ├── 5158cc73746c508992533c47b38a6c13fb18450938c8947261c2788c2c549a1c
│   ├── 5158cc73746c508992533c47b38a6c13fb18450938c8947261c2788c2c549a1c.rootfs
│   ├── 5e17dc01c19a67d33fd22e29a7a8bcaf137a0136f71766243cb22aae0f14656a
│   ├── 5e17dc01c19a67d33fd22e29a7a8bcaf137a0136f71766243cb22aae0f14656a.rootfs
│   ├── 6a5c30ea2211c1b1f23067dbe124b9d3c0a0e9dd507d167c29df9640c2004259
│   ├── 6f8efd63490ca218eacd986be968cec02d7da8d7e08afe6e9d4ad5df8d7c1d02
│   ├── 6f8efd63490ca218eacd986be968cec02d7da8d7e08afe6e9d4ad5df8d7c1d02.rootfs
│   ├── 76f6aad8833511b1bdd610374fbc6d50d154c09800279298ff6e836ccd00926c
│   ├── 7e13294ef9b6efb1a7b4355240d35a15a1f771334d28262b4c5bc3fec1923c4e
│   ├── 7e13294ef9b6efb1a7b4355240d35a15a1f771334d28262b4c5bc3fec1923c4e.rootfs
│   ├── 8fdeb688792ec963dab5dc08497d493208d876a55afced571aa64db0bba2594f
│   ├── 8fdeb688792ec963dab5dc08497d493208d876a55afced571aa64db0bba2594f.rootfs
│   ├── 980bcc0c74a3910a767232c3c3cba0f6e0dfa1c8609dac96762f7eeb87f34fd3.zfs
│   ├── a05627407d3d44fbb3898da9de09cc094f17e657848969e067fab6cb1e71f2e9
│   ├── a05627407d3d44fbb3898da9de09cc094f17e657848969e067fab6cb1e71f2e9.rootfs
│   ├── a47761e7a33165b08904db883b961bcd3b549eece74f11ed5566952984960c78
│   ├── a47761e7a33165b08904db883b961bcd3b549eece74f11ed5566952984960c78.rootfs
│   ├── b3027006243a31c52b7da43360a2bdb1b34f101c2cd31814389e8dbba7f615d9
│   ├── b3027006243a31c52b7da43360a2bdb1b34f101c2cd31814389e8dbba7f615d9.rootfs
│   ├── c423e0bd2d1995a7b2a2cb92f06b18b86afd9be69d59fe81a36592792bdcddca
│   ├── c423e0bd2d1995a7b2a2cb92f06b18b86afd9be69d59fe81a36592792bdcddca.rootfs
│   ├── cbcb61fcbacf39a8f85a8b71774c0465eeb03f92c2ead81ecd2c5b03b5d9989b
│   ├── cbcb61fcbacf39a8f85a8b71774c0465eeb03f92c2ead81ecd2c5b03b5d9989b.rootfs
│   ├── eb94ede4d04cd9e86a00029b33ea7fb060922b01345bc18e44f7504fd5d1994a
│   ├── eb94ede4d04cd9e86a00029b33ea7fb060922b01345bc18e44f7504fd5d1994a.rootfs
│   ├── fafb4d08308e2f91fdcafd9677e9951a90d25e02b02d5e321ba0de448164cbc8
│   ├── fafb4d08308e2f91fdcafd9677e9951a90d25e02b02d5e321ba0de448164cbc8.rootfs
│   ├── fcc9950ecc5224fc846a9671071c4d68a8c8f129dd87efa7d7dd382e732829e2
│   └── fcc9950ecc5224fc846a9671071c4d68a8c8f129dd87efa7d7dd382e732829e2.rootfs
├── lxd.db
├── lxd.db.bak
├── networks
│   └── lxdbr0
│       ├── dnsmasq.hosts
│       ├── dnsmasq.leases
│       └── dnsmasq.pid
├── security
│   ├── apparmor
│   │   ├── cache
│   │   │   ├── lxd-asgen
│   │   │   └── lxd-consumer
│   │   └── profiles
│   │       ├── lxd-asgen
│   │       └── lxd-consumer
│   └── seccomp
│       ├── asgen
│       └── consumer
├── server.crt
├── server.key
├── shmounts
│   ├── asgen
│   └── consumer
├── snapshots
└── storage-pools
    └── lxd
        ├── containers
        │   ├── asgen
        │   └── consumer
        └── images
            ├── 2fd29c3773479374b7dd8a8a903ca08a722abf7e0a35d62da78a1584c25b7f6d
            ├── 59cd5d385dfb298fcded860d469b6fe31bb4a60c81902eb5c8454ef713966e1b
            ├── 6a5c30ea2211c1b1f23067dbe124b9d3c0a0e9dd507d167c29df9640c2004259
            ├── 76f6aad8833511b1bdd610374fbc6d50d154c09800279298ff6e836ccd00926c
            ├── 8a54ace444e414382311329b5412fe188787183e0576e2562f13e9cad22ecf80
            ├── cf87854408b231ef1c056c94783cce664e88a2475598c0cea34342d2c761cff4
            ├── de1b17b877e700b2250b5500b0881820f914382dc2f9c911023b403c198ad00b
            └── fb0d99cdb895ed705b605fcfed6375c4c05bd9654805667eaffd754ee335c787

36 directories, 47 files

Hi, can you please show the output of:

zfs -t all
lxc storage list and the for all items shown in this list:

lxc storage show <pool-name>

select * from storage_pools_config;

Hey, sure! zfs -t all isn't a valid command; guessing you mean zfs list -t all, but if not then let me know.
laney@nightingale (master|✚1…)> sudo zfs list -t all
no datasets available
laney@nightingale (master|✚1…)> lxc storage list
+------+--------+----------------------------+---------+
| NAME | DRIVER |           SOURCE           | USED BY |
+------+--------+----------------------------+---------+
| lxd  | zfs    | /var/lib/lxd/disks/lxd.img | 11      |
+------+--------+----------------------------+---------+
laney@nightingale (master|✚1…)> lxc storage show lxd
config:
  size: "98247376896"
  source: /var/lib/lxd/disks/lxd.img
name: lxd
driver: zfs
used_by:
- /1.0/containers/asgen
- /1.0/containers/consumer
- /1.0/images/2fd29c3773479374b7dd8a8a903ca08a722abf7e0a35d62da78a1584c25b7f6d
- /1.0/images/59cd5d385dfb298fcded860d469b6fe31bb4a60c81902eb5c8454ef713966e1b
- /1.0/images/6a5c30ea2211c1b1f23067dbe124b9d3c0a0e9dd507d167c29df9640c2004259
- /1.0/images/76f6aad8833511b1bdd610374fbc6d50d154c09800279298ff6e836ccd00926c
- /1.0/images/8a54ace444e414382311329b5412fe188787183e0576e2562f13e9cad22ecf80
- /1.0/images/cf87854408b231ef1c056c94783cce664e88a2475598c0cea34342d2c761cff4
- /1.0/images/de1b17b877e700b2250b5500b0881820f914382dc2f9c911023b403c198ad00b
- /1.0/images/fb0d99cdb895ed705b605fcfed6375c4c05bd9654805667eaffd754ee335c787
- /1.0/profiles/default
laney@nightingale (master|✚1…)> sudo sqlite3 /var/lib/lxd/lxd.db
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
sqlite> select * from storage_pools_config;
3|1|size|98247376896
4|1|source|/var/lib/lxd/disks/lxd.img
sqlite>

What does sudo zpool list show? I suspect that it is empty. If that is the case, then it means somehow your zpool got exported and we can probably fix this by reimporting it. This is somewhat special when you have a loop-backed zfs pool. In that case try:
TMP_LOOP=$(losetup --show -f /var/lib/lxd/disks/lxd.img)
zpool import lxd
zpool list
losetup -d $TMP_LOOP
unset TMP_LOOP

Yeah, it was empty. I imported it - actually by using zpool import -d /var/lib/lxd/disks/ -a, because your command showed cannot import 'lxd': no such device in pool - and it works now.
I was keeping the broken state around in case you wanted me to try a new package version or something, but since you gave me the instructions now I don't have it
Thanks!

Cool, the interesting question remains why your pool got exported in the first place.

Closing, as this seems to be resolved.

Well, I ran a command which fixed it, but isn't the interesting question why it got broken in the first place and can it happen for other people?

This is cannot be LXD's fault. The only thing we do is to rename the image file on upgrade. Even if you move it cross-device this would not cause any zfs pools to be exported. The only thing that could reasonably cause this is that zed is not correctly importing the pools on boot. Did you reboot at anytiem (There's also an issue around this here: https://github.com/zfsonlinux/zfs/issues/2575.) The only thing we can do is try to import the pool ourselves in case we don't find it.

Note to self: We can only do the import trick if an actual pool is used. If we use an existing dataset this might be trickier.

@brauner are we not running "zpool import -d /var/lib/lxd/disks" anymore? I'm pretty sure we used to do that before and that would import any pool that's based on files from /var/lib/lxd/disks/

@stgraber, that was made a noop because we have a bunch of different cases to consider now.

@stgraber, #2996 addresses this.


Multiple validator on single route

I'm trying to assign 2 validator to single route like this
Route.get('jenis-pengguna', 'JenisPenggunaController.show').validator(['SortJenisPengguna','Pagination']);
Route.get('jenis-pengguna', 'JenisPenggunaController.show').validator('SortJenisPengguna','Pagination');

And both are not working. Only first validator working. Is AdonisJS support multiple validator on single route? I'm not creating a resource controller. Just trying to validate query string for paginate and sort my API.
Thanks.

@egodasa Currently multiple validators are not supported. However, you can keep your rules seperate Javascript files and use require them inside your Validators.
Regarding, sort my API
I am not sure why you are using validators for sorting data


Line charts regression with null values being shown instead of hidden

Description
Line charts that have null in the middle of their data set used to leave an empty room in the middle of the graph in Apexcharts v3.39.0. After that, monotoneCubic came with great stuff, but regressed on this issue.

Steps to Reproduce

Set the dataset to include null values, smooth curve & line chart (or just check codepen!)
See that the lines fill in to the next point, even if it should be left out completely.
Change the imported package from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>See it work like expected

Expected Behavior
Skip null values from being filled out as lines.
(but with monotoneCubic lines <3)

Actual Behavior
Filling out lines

Screenshots
☝

Reproduction Link
https://codepen.io/Knogobert/pen/mdvXogO?editors=0010
<EMAIL_ADDRESS><EMAIL_ADDRESS>

You're the boss @junedchhipa !

Same thing is happening to me, I believe its an issue with current version . "Missing / null values" demo chart is using version 3.15.0, when I plug in my current version 3.44.2, it breaks just like in the picture.

The previous smooth logic is re-added since v3.45.2
So, from now on, you have 4 curve options for stroke
stroke: {
  curve: "smooth" // straight, smooth, monotoneCubic, stepline
}

Use the option "smooth" to allow gaps in the line when null data is present


undelegate stake from myself to myself

Hi, I've just started with EOS, I had some in an exchange and decided to transfer to fairy-wallet for security. I've read the tutorial and decided to stak, so I delegated to myself (I think my name was pre-selected), now I'm trying to undelegate, I did like the step-by-step process in the documentation and waited for the 3 days (did it for four or five times...) but nothing happens! I'm able to complete the transaction, but when I click in the transaction id to chec it I just see a message "Nothing found :(". Anyone knows how to solve it? Thanks!

I am having the same problem trying to unstake my eos.  Sometimes I get transaction successful but transaction id yields "nothing found."  Wait 3 days and....nothing is unstaked.  Other times the transaction fails.  And I have noticed that there is a long communication delay between the nano and the PC when it is asking to confirm the transaction.....weird.  I have tried scatter wallet, fairy wallet, and bloks.io.....all give me the same results.  I have my nano s eos settings, arbitrary data setting to "yes".  Can anyone please help us?

Update --  It must have been a communication issue with the Nano hardware.    Rebooted my computer, turned on my nanos s with pass phrase, went back into fairy wallet, executed the" unstake/undelegate" transaction.  It executed perfectly after I confirmed on my nano.  I looked at the transaction ID and it said it was "executing.  After about 3 minutes, the transaction had completed.  I went back to the fairy wallet and it stated that my EOS had been unstaked and will be available in 3 days!

Thanks, I'll try that.
Em ter., 28 de jul. de 2020 às 15:32, mind-zipper<EMAIL_ADDRESS>escreveu:

Update -- It must have been a communication issue with the Nano hardware.
 Rebooted my computer, turned on my nanos s with pass phrase,
went back into fairy wallet, executed the" unstake/undelegate" transaction.
It executed perfectly after I confirmed on my nano. I looked at the
transaction ID and it said it was "executing. After about 3 minutes, the
transaction had completed. I went back to the fairy wallet and it stated
that my EOS had been unstaked and will be available in 3 days!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-665206016,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMIJO5CB4YBO4W3RPWAY3DR54KT7ANCNFSM4PGGMC3A
.

Any luck?  People are having these signing issues when using ledger with a MAC.

Unfortunately, no luck so far... yesterday I was able to see my tokens in
https://eosauthority.com/, and tried to undelegate from there, I got some
issues, but also some transactions completed, but I don't know if it will
be really completed, have to wait the 3 days. I use windows and linux.
Em qui., 30 de jul. de 2020 às 17:18, mind-zipper<EMAIL_ADDRESS>escreveu:

Any luck? People are having these signing issues when using ledger with a
MAC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-666666679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMIJO5AOMVZIZTDXWTSWGTR6HIR3ANCNFSM4PGGMC3A
.

If you go to bloks.io website, put your account name in the search tab (you don't need your ledger connected), you should see some amount as "refunding".  The refunding amount is what you receive in 3 days.
On Saturday, August 1, 2020, 05:24:50 AM MST, gitusereos<EMAIL_ADDRESS>wrote:
Unfortunately, no luck so far... yesterday I was able to see my tokens in
https://eosauthority.com/, and tried to undelegate from there, I got some
issues, but also some transactions completed, but I don't know if it will
be really completed, have to wait the 3 days. I use windows and linux.
Em qui., 30 de jul. de 2020 às 17:18, mind-zipper<EMAIL_ADDRESS>escreveu:

Any luck? People are having these signing issues when using ledger with a
MAC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-666666679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMIJO5AOMVZIZTDXWTSWGTR6HIR3ANCNFSM4PGGMC3A
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I'll try that too...
Em sáb., 1 de ago. de 2020 às 10:09, mind-zipper<EMAIL_ADDRESS>escreveu:

If you go to bloks.io website, put your account name in the search tab
(you don't need your ledger connected), you should see some amount as
"refunding".  The refunding amount is what you receive in 3 days.
On Saturday, August 1, 2020, 05:24:50 AM MST, gitusereos <
<EMAIL_ADDRESS>wrote:
Unfortunately, no luck so far... yesterday I was able to see my tokens in
https://eosauthority.com/, and tried to undelegate from there, I got some
issues, but also some transactions completed, but I don't know if it will
be really completed, have to wait the 3 days. I use windows and linux.
Em qui., 30 de jul. de 2020 às 17:18, mind-zipper <
<EMAIL_ADDRESS>escreveu:

Any luck? People are having these signing issues when using ledger with a
MAC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-666666679
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AQMIJO5AOMVZIZTDXWTSWGTR6HIR3ANCNFSM4PGGMC3A
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-667529648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMIJO7XRPIREVNO4OTYM4DR6QHZLANCNFSM4PGGMC3A
.

Hello, just to you know, I was able to undelegate and withdraw my eos using
https://eosauthority.com/
https://eostoolkit.io
https://get-scatter.com/
I did a lot of tries but in the and it worked, good luck.
Em dom., 2 de ago. de 2020 às 11:43, Aldair Pinto<EMAIL_ADDRESS>escreveu:

I'll try that too...
Em sáb., 1 de ago. de 2020 às 10:09, mind-zipper<EMAIL_ADDRESS>escreveu:

If you go to bloks.io website, put your account name in the search tab
(you don't need your ledger connected), you should see some amount as
"refunding".  The refunding amount is what you receive in 3 days.
On Saturday, August 1, 2020, 05:24:50 AM MST, gitusereos <
<EMAIL_ADDRESS>wrote:
Unfortunately, no luck so far... yesterday I was able to see my tokens in
https://eosauthority.com/, and tried to undelegate from there, I got some
issues, but also some transactions completed, but I don't know if it will
be really completed, have to wait the 3 days. I use windows and linux.
Em qui., 30 de jul. de 2020 às 17:18, mind-zipper <
<EMAIL_ADDRESS>escreveu:

Any luck? People are having these signing issues when using ledger with
a
MAC.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-666666679
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AQMIJO5AOMVZIZTDXWTSWGTR6HIR3ANCNFSM4PGGMC3A
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-667529648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMIJO7XRPIREVNO4OTYM4DR6QHZLANCNFSM4PGGMC3A
.

I have the same problem, I would like to remove my EOS staked, switch them from CPU to available, but I can't. Would you have a solution for me?
Thanks in advance,

Yes, after many trials I was able to unstake almost all of it (you can't
take it all cause some is needed for the transaction). I've used Scatter
wallet in conjunction with my ledger nano and and the website eostolkit.io.
It's not so easy to time the transaction correctly, but I was able to send
it to binance and sell it off! Be aware of scams, never put your seed in
any site or give it to anyone, good luck.
Em terça-feira, 6 de abril de 2021, antoinepouplier <
@.***> escreveu:

I have the same problem, I would like to remove my EOS staked, switch them
from CPU to available, but I can't. Would you have a solution for me?
Thanks in advance,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tarassh/fairy-wallet/issues/136#issuecomment-814378129,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQMIJO4CAB5K4E6CGPPTQ3DTHNNIVANCNFSM4PGGMC3A
.


Error showing methods(Data.Table)

Stumbled upon the following today:
julia> methods(Data.Table)
15-element Array{Any,1}:
Error showing value of type Array{Any,1}:
ERROR: type TypeConstructor has no field name
 in show at show.jl:105
 in print at strings/io.jl:8
 in print_to_string at strings/io.jl:36
 in argtype_decl at methodshow.jl:26
 in arg_decl_parts at methodshow.jl:38
 in show at methodshow.jl:44
 in showcompact_lim at show.jl:120
 in sprint at iostream.jl:206
 in alignment at show.jl:980
 in alignment at show.jl:1012
 in print_matrix at show.jl:1087
 in print_matrix at show.jl:1079
 in anonymous at replutil.jl:23
 in with_output_limit at ./show.jl:1276
 in writemime at replutil.jl:23
 in display at REPL.jl:114
 in display at REPL.jl:117
 [inlined code] from multimedia.jl:151
 in display at multimedia.jl:163
 in print_response at REPL.jl:134
 in print_response at REPL.jl:121
 in anonymous at REPL.jl:624
 in run_interface at ./LineEdit.jl:1610
 in run_frontend at ./REPL.jl:863
 in run_repl at ./REPL.jl:167
 in _start at ./client.jl:420

With Julia 4.5.

Maybe this belongs at the DataStreams package

Doesn't happen to me.
julia> using SQLite
methods
julia> methods(Data.Table)
15-element Array{Any,1}:
 call(::Type{DataStreams.Data.Table{T}}, schema::DataStreams.Data.Schema) at /Users/felipenoris/.julia/v0.4/DataStreams/src/DataStreams.jl:237
 call(::Type{DataStreams.Data.Table{T}}, schema::DataStreams.Data.Schema, other) at /Users/felipenoris/.julia/v0.4/DataStreams/src/DataStreams.jl:237
 call{T}(::Type{DataStreams.Data.Table{T}}, schema::DataStreams.Data.Schema, data::T, other) at /Users/felipenoris/.julia/v0.4/DataStreams/src/DataStreams.jl:214
 call(::Type{DataStreams.Data.Table{T}}, types::Array{DataType,1}) at /Users/felipenoris/.julia/v0.4/DataStreams/src/DataStreams.jl:247

...
julia> VERSION
v"0.4.6-pre+41"

The Julia Hivemind anticipated my tumbling!

"Hivemind is when two or more people come to the same thought at the same time because of the same circumstances but do not know each other beforehand (i.e. it cannot be an inside joke)"

Hivemind as in the collective consciousness of many people working together

The error still happens to you?

Yes, but only after the following failed index operation:
julia> query(db,"select * from ais limit 1")[1]
ERROR: MethodError: `getindex` has no method matching getindex(::DataStreams.Data.Table{Array{NullableArrays.NullableArray{T,1},1}}, ::Int64)WARNING: Error showing method candidates, aborted

As the malplaced warning indicates the trouble with methods starts here.

Data.Table no longer exists.


Fix IDE code warnings

This fixes errors shown by the IDE, although the code still compiled.

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

v0.68.0
GitHub release

Your semantic-release bot :package::rocket:


Comment on PR from downstream job

Hey.
I know this issue has been resolved already quite some time ago, but I can't make it work no matter what I try.
I am passing all env variables to downstream job already, and have Set GitHub commit status with custom context and message (Must configure upstream job using GHPRB trigger) selected with necessary parameters set – still no comments or status changes on my PR.
Commenting from the original job is working fine.
Any tips?

I have it working. Set ghprb variables as build parameters in the down stream jobs.

As I said, tried passing all of the environment variables as parameters to the downstream job – didn't work.

@AAverin You might wanna try whitelisting the ghprb variables in jenkins params in /ect/default/jenkins

@AAverin please visit the following page: https://wiki.jenkins-ci.org/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170
The workarounds are mentioned here: https://jenkins.io/blog/2016/05/11/security-update/

you can whitelist ghprb parameters via JAVA_ARG -Dhudson.model.ParametersAction.safeParameters=...
or
you can enable (please be aware it is not safe if you are running public Jenkins) old behavior via -Dhudson.model.ParametersAction.keepUndefinedParameters=true


Add backward compatibility to Python 3.6

Embedded systems, among others, cannot yet upgrade past Python 3.6. The primary reason this package won't work with Python 3.6 is type hints, which can be updated to be compliant with older Python versions. Adding this feature would increase adoption.

Addressed in #34


rocketmq dledger storePathCommitLog is invalid

BUG REPORT

I find  only storePathRootDir is vallid when enableDLegerCommitLog=true,even I set storePathCommitLog in other directory ,the commitlog is
still   $storePathRootDir/commitlog.

Could you describe this bug in more detail like what do you expect to happen ? Thanks ~

Could you describe this bug in more detail like what do you expect to happen ? Thanks ~

For example，  I set storePathRootDir = /apath/   and storePathCommitLog = /apath/commitlog in broker-n0.conf.
But in fact the real cmmitlog file will appear in the /apath/dledger-n0/data directory, and there is no file in the /apath/commitlog directory

@iamqq23ue the same problem？https://github.com/apache/rocketmq/issues/2280

@iamqq23ue the same problem？#2280

yes

@iamqq23ue the same problem？#2280

yes

I've submitted a pr to fix it. You can check if it solve your problem.

@iamqq23ue the same problem？#2280

yes

I've submitted a pr to fix it. You can check if it solve your problem.

ok ,thanks


Locals are not being overridden when passed via req.options.locals

I have encountered a very weird bug. I have a policy that runs before every request generating a quick navigation list for the site's content. The nav list is basically a nested categorized list of the format
{
  "Category1": [{
      "Item1Name": "Name",
      "Item1ID": ID
    },{
      "Item2Name": "Name",
      "Item2ID": ID
    }
  ],
 "Category2": []
}

And so on...
The policy creates the list under the req.options.locals.navlist. The problem is that when I change a category of something, it will still show up in it's old category as well as the new one, until I re-lift the app. If I log the object from a view it shows that after re-arranging the items old entry is being kept in memory anyway and the new correct list simply gets added on top. If I log the list from the policy itself, there are no problems, the list is correct.
Policy code is like so:
module.exports = function(req, res, next){
  if(true){ //supposed to be a user ID here later
    Asset.find({author: 'DefaultUser', sort: 'createdAt DESC'}).exec(function(err, assets){
      if(!err && assets.length>0){
        sails.log.verbose('Building navlist');
        req.options.locals = {
          navlist: utilService.sortByProperty(fullNames, 'categoryFullName');
        };
        var fullNames = utilService.fillFullNames(assets);
      }
      next();
    });
  }
}

Then in my controller I have it like
return res.view('homepage', {navlist: req.options.locals.navlist || []})

Is this a bug? I would think that if I pass a new variable by the same name the old should be overridden. I also have some global locals (thats a funny phrase) for all views under config.views.locals setting.

No, sailsbot, I do not think it would be helpful, since the issue has to do with passing variables around, and switching the view engine does not do anything. But have it anyway:
Sails: v0.12-rc5
NPM: v3.3.6
Node: 5.0.0
View engine: Jade

No, sailsbot, I do not think it would be helpful, since the issue has to do with passing variables around, and switching the view engine does not do anything

Hey @megakoresh- different view engines interpret locals differently.  For example, EJS allows you to provide configuration for the view engine itself by passing them amongst the locals (believe it or not x_x).  Anyways, just worth pointing out that in some cases, this can make a huge difference.  Would you post your version of Jade in this issue just for future reference?  Part of the reason for collecting as much information about dependency versions as possible is to provide a trail of clearly documented breadcrumbs if we find ourselves hunting down semi-related issues in the future.
My guess is this could be an issue stemming from https://github.com/balderdashy/sails/blob/61a72d6ff5532e94cedd409d205da9010cc3da59/lib/hooks/views/res.view.js#L153.  While merge is supposed to function right-to-left, we did recently update the lodash version in Sails as part of 0.12, so it sounds like you may have discovered a related problem.  I think the thing to do here is to replace the merge with a shallow call to _.defaults()-- and although the deep merge was never officially documented behavior, I'll document the move to a shallow merge as a breaking change in 0.12 just to be safe.  Took a step in that direction w/ https://github.com/balderdashy/sails/commit/5861f65500479d520477d56a04e119f1d70e2ba0, but we also need a test for this in core.
Before going too much further down this road though, would you verify something for me in your local project?

run your app w/ sails console
perform the necessary requests to get some properties lingering in req.options.locals
enter sails.config.views.locals in the REPL and look at the output (it should be all messed up too)

Thanks again for your help!

As a matter of fact it isn't messed up. When I enter that in console it doesn't return the navlist at all - only the globally available locals (and before you ask - yes, I did try removing them to no effect). Logging req.options.locals.navlist right after policy reconstructs it shows the correct list. Logging the navlist from a view shows the messed up list with new and old entries. Logging req.options.locals from a controller also shows the messed up list without the globally available locals. It seems so very confusing...
My Jade version is 1.11.0. Now I need to sleep, it's almost 1am... Will be back at this tomorrow.

@megakoresh hmm, perhaps a global leak?  If sails.config.views.locals wasn't getting messed up, it doesn't seem likely to be coming from Sails core -- of course you never know.  I'd suggest creating a new sails app real quick and attempting to reproduce the error there.  If you can get it reproduced that way, please let me know and I'll dive in.
(Leaving this open to remind us to update the docs for sails.config.views.layout)

Final postmortem on this--looks like it was actually due to an issue introduced in 166e772, with the way that req.options were being merged with the options specified during the initial route binding.  Fixed in dfa2765.


How to export SVG ?

Hey, thank you for testing and contributing to wavesurfer.js!
Please make sure you can check all of these points below before opening an issue:
(You don't have to post this section)

[x] I have checked the FAQ and it doesn't solve my problem.
[x] I have checked the documentation and it doesn't solve my problem
[x] I have searched for already open issues which desribe my problem.
[x] The issue I'm having is related to and caused by wavesurfer.js, not by other software (which maybe packages and uses wavesurfer incorrectly) – In that case you should open the issue on the respective project pages.

Please make sure you provide the following information (if applicable):
Wavesurfer.js version(s):
Browser and operating system version(s):
Code needed to reproduce the issue:
(Please reduce your code as much as possible and only post the minimum code needed to reproduce the issue. A Code pen is an excellent way to share such code)
Use behaviour needed to reproduce the issue:

use an external library like https://github.com/gliffy/canvas2svg
You can access the waveform canvas element of wavesurfer using wavesurfer.drawer.canvases[0].wave.

use an external library like https://github.com/gliffy/canvas2svg
You can access the waveform canvas element of wavesurfer using wavesurfer.drawer.canvases[0].wave.

Thanks for your help but it is not working actually https://github.com/gliffy/canvas2svg is not for existing canvas
https://stackoverflow.com/questions/63233793/serialize-html-5-canvas-to-svg-to-send-to-server
Please help me how can I get svg, i spent alot of time on this thing ?

i spent alot of time on this thing ?

And now we have to?

I think ctx is different
var _canvas = wavesurfer.drawer.canvases[0].wave var _ctx = _canvas.getContext('2d')
than
var ctx = new C2S(500,500)

https://github.com/antonKalinin/audio-waveform-svg-path
Maybe try another library.
Or you can write your own code to create the SVG from the audio data. Or consider using a PNG instead of svg.

https://github.com/antonKalinin/audio-waveform-svg-path
Maybe try another library.
Or you can write your own code to create the SVG from the audio data. Or consider using a PNG instead of svg.

Thanks @sundayz , @thijstriemstra
Actually my client requirements is to show the same soundwave like wavesurfer.js, https://i.imgur.com/E4xnbxf.png
i tried to manipulate current wavesurfer.js to get exact CTX like canvas2svg.js requires but no luck, so it would be very helpful for me if you guide me little how can i do this ?

Looks like the new wave to access the canvas is wavesurfer.renderer.canvasWrapper.querySelector('canvas'). I am a new Wavesurfer user so I might not have this exactly correct but I think this is a result of the v6 to v7 refactoring. Leaving this comment for whoever else ends up sleuthing though the issues for help after me.


Bot Offline

Bot is offline and unable to add it back. Issue seems to have started today 2/21/21 since it was working last night.

i pushed the wrong connection token :'(


Add ChainSpec::hardfork_fork_id and ChainSpec::shanghai_fork_id helper fns

should close #4745
opening this PR as draft -  want to add some tests for these helpers

should be ready for another review @Rjected

cool, I added a relatively comprehensive unit test to cover the cases not already covered in the test_hardfork_fork_id suite across mainnet, goerli, sepolia
should cover all conditional/match arms


Behavior of multiple accounts from one device and account switching

If multiple accounts are created from one device and handled in the following way, then some elements dont work as designed.
How to recreate the Bug:

create an account an activate it throuh the gotten email
now create a second account and do the same in another tab
now switch to the tab from the first account while logged in with the second
reload the page

Now you are correctly no longer logged in, BUT some features are still there:

The log out Button in the top left corner is still there
manually typing .../edit will result in a 403 forbidden site.

This also appears from simple account switching in another tab and reloading the old tab.
Logged out, but still have the chance to log out (top left corner)

When manually adding the /edit link:

Ok - I missinterpretated the first part. You are logged in with the new account and after switching to the old one, you`re just looking at the profile form the viewport of your new created account and thus have the possibilty to log out from the new account. Works as designed, so no bug there.
The second part (403 forbidden) should result into a user friendly error page.

Thanks for the sleuthing! We're aware of our terrible error pages (sorry!) and are working on it.
https://github.com/vutuv/vutuv/issues/355
Do let us know what else you find!


Fetching references to the Operational Bulletin

I noticed that there are documents that refer to the "ITU Operational Bulletin"!
e.g. https://github.com/CalConnect/csd-timezone-model
They now generate this message:
...
ITU Operational Bulletin No. 1096 – 15.III.2016 does not have a recognised prefix: IEC, ISO, IETF, CN, NIST
...

I think we should allow fetching Operational Bulletin Issues automatically.
There are 2 types of ITU Operational Bulletin documents to cite:

ITU Operation Bulletin issue

Syntax:

ITU Operational Bulletin No. {issue-number}

e.g. ITU Operational Bulletin No. 1096

ITU Operational Bulletin No. {issue-number} - {issue-date}

e.g. ITU Operational Bulletin No. 1096 - 15.III.2016
The date is not important, we just need to support the syntax but it does not help locating the link.

ITU OB {issue-number}

e.g. ITU OB 1096
(Users may add the date at the end)

Annex to ITU Operation Bulletin

Syntax 1 (if the OB only has one Annex):

Annex to ITU Operational Bulletin No. {issue-number} - {issue-date}

e.g. Annex to ITU Operational Bulletin No. 1096 - 15.III.2016, https://www.itu.int/pub/T-SP-OB.1096-2016

Syntax 2 (if the OB has multiple Annexes) (ignore for now):

e.g. Annex to ITU Operational Bulletin No. 1125 – 1.VI.2017,  https://www.itu.int/pub/T-SP-OB.1125-2017

@ronaldtse Operational Bulletin has a completely different page. It needs to update scrapper and sems there aren't much to scripe.

Correct. The only thing that can be scraped is the title, publication date (as in the title “15.IX.2019”) and the link, and the links to different languages. Thanks!


Navigation in Popup

When editing, it should be possible to navigate in the popups so that the user does not have to submit and open another popup (this is especially useful for Creation).

ToDo: Cards/ViewModels should be re-validated (when HasValidationErrors was true) when navigating.

We should create a Dialog-Base for Edit-Dialogs.
This should also trigger Validation On-Close (when it had Validation-Errors before).


Document update needed

Step 3, Should be changed from "Create service Health Alert", to "add service health alert"
Step 4, Screenshot should be updated to reflect current options.
Step 6, Security advisory is missing from the event types on this step.
Step 8, Action groups are now before "Alert rule details"
Based on the above update, the "Alert with existing action group using Azure portal" section might need to be updated.
[Enter feedback here]

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

ID: 581d46fd-9672-0bc6-7152-39301c893fd4
Version Independent ID: 202e0e14-10e9-2173-b4a5-bb8cf6cdd400
Content: Receive activity log alerts on Azure service notifications using Azure portal - Azure Service Health
Content Source: articles/service-health/alerts-activity-log-service-notifications-portal.md
Service: service-health
GitHub Login: @stephbaron
Microsoft Alias: stbaron

@Andrew-Coughlin-MSFT Thanks for your feedback
Assigning to content author @stephbaron for document enhancement

commenting to follow this thread

Updated doc to address feedback

#please-close


Double dash in CLI doesn't stop argument processing

Problem
For example, consider the following instruction:
npx tact -e -- '-1 + 1'

The expected result would be 0, but instead one gets an exit code 2 and the following:
Unknown flag
-1 + 1

Notes
Did some research, and it's probably related to poorly resolved closed and unresolved stale issues regarding this case in yargs-parser, which meow (our CLI toolkit) uses for parsing arguments. It may be time to consider moving to another CLI toolkit. Commander.js is quite nice and is rather friendly towards #446, see  https://github.com/tj/commander.js/issues/2008 (or we'll just duplicate some flags here and there, no biggie)
As a temporary workaround one may just put 0 + in front of any expression and remove the --. Like so:
npx tact -e '0 + -1 + 1'

It may be time to consider moving to another CLI toolkit. Commander.js is quite nice

is there a native typescript cli parser?

is there a native typescript cli parser?

There's no argument parser in Node.js APIs, and TypeScript doesn't add APIs on top AFAIK. One just gets process.argv and has to start from there :)


UR10e stops mid path

Recently we ran into an issue controlling our UR10e. We are using Ubuntu 16.04, ROS kinetic,  Moveit, descartes, this package and the modern driver. The cobot can execute its path a number of time, or just once and then it will stop mid path. It does not give an error. The next time the ur driver tries to establish a connection it states that it cannot. We have tried to look into the error and have seen similair behavior when the speed of the cobot was set to low, this caused timing miss matches, however, increasing it did not solve the problem. We have not found similair issues online so we hope you can help resolve the problem.

I transferred the issue, since it seems more related to the driver itself.
I guess you're using the version in #216, right?
In which mode are you starting the driver? Can you check which error code is returned in the FollowJointTrajectoryAction result message?

Hi, we are using the kinetic-devel version of the driver. I am not sure if this is the error you are aiming for but what i can find in the logs is :
1560495297.680455572 ERROR [/home/riwo-rack-pc/GIT/automatic-planthandling/Ros/catkin_ws/src/library/ur_modern_driver/src/ros/lowbandwidth_trajectory_follower.cpp:302(start) [topics: /rosout, /joint_states, /wrench, /tool_velocity, /joint_temperature, /tf, /ur_driver/io_states, /ur_driver/robot_status, /ur_driver/masterboard_state, /ur_driver/robot_mode_state, /follow_joint_trajectory/result, /follow_joint_trajectory/feedback, /follow_joint_trajectory/status] Failed to accept incoming robot connection
The question about the mode in which we start the driver is somewhat unclear to me, could you elaborate?

Hi, I have the same problem and in my UR10e robot. The thing is that when I use Remote Control Mode and I have a trajectory planned it stops with the following message on the teaching pendant:

C171A6: Issue with blends: Overlapping Blends in a MoveJ, a waypoint was skipped
One message of this kind for each skipped waypoint.
And the message in the terminal is the following one:
ABORTED: Solution found but controller failed during execution

I'm closing this as we've officially deprecated this package.
Refer to the announcement on ROS Discourse.

Please use ur_robot_driver for all CB3 and e-series controllers.
If the issue reported in the OP is also observed with that package, please report it on the ur_robot_driver issue tracker.


Create a transport based on the http.DefaultTransport.

To respect proxy-related environment variables, we create a transport
based on http.DefaultTransport. In addition to reading proxy env vars,
it sets timeouts.
Fixes #138

LGTM

@alexbrand I just updated the DCO bot. Could you force push again to kick the bot? Otherwise, we can just admin merge until next PR.


[Question] laf.dev page blank

Search before asking

[X] I had searched in the issues and found no similar issues.

Question
recently，when i open the site https://laf.dev/，I can just see the page blank。there is nothing，just the blank page。I do not know what is wrong。before， I upload one index.html,  this site is also blank page。when i run the local program ，everything is OK。

Did you enable JavaScript? Or you're using IE

I used safari and Google Chrome and Microsoft Edge，all the same blank。but one week a ago，I came in the site https://laf.dev/ normally。so，I think is the site changed something make wrong ？ I dont konw。

Press F12 to see details.

Due to the current laf.dev server being located in Singapore, domestic China Mobile users are experiencing issues with the network connection to Alibaba Cloud Singapore. We have contacted Alibaba Cloud for assistance in resolving this issue.

Domestic nodes are online this Friday

https://laf.run


Update OIDC signout flow

Address issue #743, and react to recent AAD OIDC sign out flow change.

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

/cc @Tratcher

@brentschmaltz @vibronet

@muratg @Eilon @vibronet
One open question: Is this a breaking behavior change? And if so, are we OK with that?

It adds an extra redirect to the remote sign-out flow.
It adds a new endpoint that needs to be registered with AADv2. What if customers move to AADv2 before taking this change?

FWIW, I tested this PR with OpenIddict and it works fine :clap:
A few remarks:

This is indeed a breaking change, which is quite subtile as existing code will still compile. At this point, it might be better to completely remove PostLogoutRedirectUri as it now has no added value and is quite confusing (with this PR, it's more like an equivalent to the return URL, but for logout). Alternatively, it should be marked as obsolete and removed in a future version.
A while ago, @Tratcher suggested merging this new endpoint with CallbackPath. I think it was a good idea (at least, it would help reduce the number of endpoints we now have :smile:)
I think it would be nice to have a new event in HandleSignOutCallbackAsync.

If we merge it with CallbackPath that would help us avoid one of the breaks. However, is the incoming message well marked so we could easily distinguish it from a sign-in? I don't want to create ambiguity or make the sign-in code any more complicated.

However, is the incoming message well marked so we could easily distinguish it from a sign-in?

Not directly as there's no mandatory "logout-specific" parameter we could use to determine whether a message is an authorization response or a logout callback.
Luckily, the identity provider MUST flow the state when it's sent by the relying party. In our case, we could store the message type in the state before protecting it and sending it to the identity provider. We could triage requests based on this ticket property.
The only annoying thing is how RemoteAuthenticationHandler/OpenIdConnectHandler is designed. The relevant code is in HandleRemoteAuthenticateAsync, which doesn't seem appropriate for handling a logout response.

Yeah, a state parameter would work. You'd have to intervene about here: https://github.com/aspnet/Security/blob/dev/src/Microsoft.AspNetCore.Authentication.OpenIdConnect/OpenIdConnectHandler.cs#L432 before (or after?) MessageReceived

Yes, we can unify the endpoints to one. It will take a few changes:

Flow one additional property in state to indicate the type of the action.
In OpenIdConnectHandler.HandleSignOutAsync check the property in status and create AuthenticateResult accordingly. A new property will be added to the AuthenticateProperties.
In RemoteAuthenticateHandler.HandleRemoveCallbackAsync a fork will be added to handle signout flow.

I share the same concern with @PinpointTownes. It seems to me that RemoteAuthenticateHandler will make additional assumption about what will present in the AuthenticateProperties to alter the workflow. It creates additional complexity in the base class. Is it this trade off worthwhile?
Is there a case in which an identity provider only allows one callback path to just justify the needs of doing this?

We never got a response from AAD about when their v2 was going public.

Do not make changes to RemoteAuthenticateHandler that only apply to OIDC.

Rebased on top of the dev branch. Waiting for CI and will merge it passes.

I'm also working on a follow up change to add a event to HandleSignOutCallbackAsync

You can't add events, right? https://github.com/aspnet/Security/issues/942

Ah, yeah. I forgot that one. All right, just let the branch sleep for a while (https://github.com/aspnet/Security/pull/954 to be closed soon)

@troydai if you want to include this event before 2.0.0, one option might be to only add it to OpenIdConnectEvents (but not to IOpenIdConnectEvents) and use a as cast to trigger it when the events instance inherits from OpenIdConnectEvents.

The major concerns are: 1. it is not a clean design and partially breach the interface. 2. discoverability will be poor. users need insight into internal mechanism. I think we better stay put instead of introduce half-baked solution to a relative minor user case.
If there are more evidence that the extension point is that important we can revisit this decision.
Thanks for advice.


Undefined method pagelet_options

Hi
I tried to integrate pagelet_rails with my project (Rails 5.0.2) but when adding the
<%= pagelet :xxx %>

in my view the Undefined method "pagelet_options" blows up. What can cause that?

@dawidlenkiewicz could you please post the call stack for the error?

@antulik Sure :) Here you go:

ActionView::Template::Error (undefined method `pagelet_options' for #<ApplicationController:0x007fa1816a50e8>
Did you mean?  pagelet_proxy_path):
    1: <%= pagelet :pagelets_current_time %>
    2: <%= render "customer/shared/heading" %>
    3: <%= render partial: "customer/shared/navigation",
    4:            locals: { back_path: customer_quoted_inquiries_path } %>

app/views/customer/quoted_inquiries/show.html.erb:1:in `_app_views_customer_quoted_inquiries_show_html_erb__914100720689423823_70165828241160'
  Rendering<EMAIL_ADDRESS>  Rendering<EMAIL_ADDRESS>within rescues/layout
  Rendering<EMAIL_ADDRESS>  Rendered<EMAIL_ADDRESS>(7.8ms)
  Rendering<EMAIL_ADDRESS>  Rendered<EMAIL_ADDRESS>(3.3ms)
  Rendering<EMAIL_ADDRESS>  Rendered<EMAIL_ADDRESS>(1.9ms)
  Rendered<EMAIL_ADDRESS>within rescues/layout (88.0ms)
  Rendered<EMAIL_ADDRESS>(91.3ms)

It looks like your pagelets_current_time controller is not configured correctly. Please confirm that it either inherits from ::PageletController :
class CurrentTime::CurrentTimeController < ::PageletController
...

or includes the pagelet module, e.g.
class CurrentTime::CurrentTimeController < ApplicationController
  include PageletRails::Concerns::Controller
...

closed until there is more information


Bump build to 1.4 (25)

Not code change, bumping version to release.

CI still are broken, will be fixed in a separate PR.


Merge changes from master to stable/bali

This PR merges changes from master to stable/bali to prepare for the Bali release.

@leonwanghui Please take a look.


Ensure DIAL info from all CC's

Howdy.
So while tinkering with pychromecast in IPython I discovered something weird. It turns out that the cc info gathered when creating Chromecast objects differ, depending on whether you create it "manually" with an IP-adress or via auto-discovery. Pychromecast retrieves info via both zeroconf and DIAL, and those are unfortunately not exactly the same. The DIAL info is always retrieved. However when you use auto-discovery, the info retrieved via zeroconf overrides the DIAL info.
Please see: https://github.com/balloob/pychromecast/blob/master/pychromecast/init.py#L141
And thats a problem with regards to catt trying to determine cc model, because model_name might differ, depending on whether we use a cached ip or use auto-discovery. Thus this PR.
From my CC2:
In [2]: cast = pychromecast.Chromecast('<IP_ADDRESS>')

In [3]: cast.model_name
Out[3]: 'Eureka Dongle'

In [4]: casts = pychromecast.get_chromecasts()

In [5]: casts[1].model_name
Out[5]: 'Chromecast'

What is the corresponding info for your Mi Box?

Ah damn. Mine are, luckily, both exactly the same:
In [5]: cast.device
Out[5]: DeviceStatus(friendly_name='Living Room', model_name='MIBOX3', manufacturer='Xiaomi', api_version=(1, 0), cast_type='cast')

In [6]: casts = pychromecast.get_chromecasts()

In [7]: casts[0].device
Out[7]: DeviceStatus(friendly_name='Living Room', model_name='MIBOX3', manufacturer='Xiaomi', api_version=(1, 0)), cast_type='cast')


Need help , got into trouble from beginning!

Leiningen 2.5.1 on Java 1.7.0_76 Java HotSpot(TM) 64-Bit Server VM
OSX 10.10.3 (14D136)

Got this error when try to lein new paly-clj hello-worl:
Failed to resolve version for paly-clj:lein-template:jar:RELEASE: Could not find metadata paly-clj:lein-     template/maven-metadata.xml in local (/Users/ajmj/.m2/repository)
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.

I had google so hard, but can't fixed this thorny problem!

Looks like it's just a typo. It should be "play-clj", not "paly-clj" =)

Let me know if you have other problems.


Auth Next changes in SDK

What
Adapt Soroban SDK to the host changes introduced in https://github.com/stellar/rs-soroban-env/pull/645
Overview of the changes:

Replace the AccountId, invoker, and soroban-auth library with the single Address type that supports host-based authentication and authorization.
Use the recording auth for testing and provide a simple utility to verify that authorization has happened. Signatures are no longer required for tests thanks to that.
Replace network passphrase with id (this just reflects the host-side change; we don't really need to have both available to contrats)
Introduced a stub for the account contract SDK

Why
Auth Next motivation is described in the env PR. From the SDK perspective the auth and testing are greatly simplified.
Known limitations
Some of the possible followups:

The account SDK would need to be developed more to provide a better support for building the custom account contracts
Strkey should be used for displaying the addresses
Add testing utility to verify non-top-level authorizations
Add some macros to generate the auth code for simple cases (even though this is just a line of code, it would be more readable to have an explicit function annotation that requires a given address to authorize a call with all the input arguments).
Maybe bring back some of the classic account related functionality for the integration testing. While this should be unnecessary for the unit tests, there may be some need for it in snapshot-based testing. Not quite certain about that yet though.

I think we can fix (2) post-merge, but I think it is important we fix that before release, so maybe worth doing in this PR too.

I would suggest merging this as is (given everything else looks ok) in order to unblock your changes or any other unrelated changes. I'll prioritize this to make sure it makes it into release.

@dmkozh I pushed a commit before merging. See https://github.com/stellar/rs-soroban-sdk/pull/848/commits/1ae8ac0063ed0309c88ade6a726b123020c4f078.


Fix github actions cache server being down failing builds

Thanks!

Cherry-picked for 3.4.

Cherry-picked for 3.3.3.


Indent

 Yall should add an increase line indent and decrease line indent like the way Notepad++ has it.

there already is
each language specifies its own indent rules in their language-configuration.json file
what language and situation are you wanting this for?
code snippet please

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


feat: impl proc macro range_fn and some aggr_over_time functions

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Introduce a procedure macro range_fn that can help to build UDF that operates RangeArray easily. It looks like this:
#[range_fn(
    name = "CountOverTime",
    ret = "Float64Array",
    display_name = "prom_count_over_time"
)]
pub fn count_over_time(_: &TimestampMillisecondArray, values: &Float64Array) -> f64 {
    values.len() as f64
}

And use it to implement some <aggr>_over_time functions in PromQL.
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

This is generally reviewable. I'll add some tests later

Cool, Great work.


fix(install): change hash for type on install script

Change Type (Feature, Chore, Bug Fix, One Pager, etc.)
Fix
Description
I changed hash for type because it was actually not falling to elif and else code blocks, just emit exception hash: no such command: ... and just put the ds on a variable because it was actually the same
Also I redirect stderr and stdout to /dev/null because type prints command is /route in stdout

How to test
Run ./misc/install.sh on root folder
Checklist

[ ] Added tests / did not decrease code coverage
[ ] Tested in supported environments (common browsers or current Node)

Interesting that hash wasn't working for you, what system and shell are you on?

Zsh on High Sierra

Sorry, It actually works! It was a lapsus of me, now just put tarball resource on a variable, updated in aaf12fa
Sorry, again, my bad

Oh, cool! I was having a minor panic attack thinking I forgot something about how hash works :laughing:

I do not know if this "contribution" has any real value, close this pull request in case of this is not really needed


Dependencies/Installation/Build Instructions?

Hi,
This looks like a neat repo that I'd like to try out. What is the target deployment environment you are expecting? Do you have any dependency/build/installation instructions you'd like to share?
I'm on Ubuntu 18.04 / Cuda 10.1.

Hi @aaronaaronson98 ,
We have tested this package on Ubuntu 18.04 with CUDA 10.2, but I suppose it can be built with older Ubuntu and CUDA (I haven't tested though). I put a short installation instructions on README. Please refer to it.

Thanks! I'll let you know how it goes.


Add option to choose protocol to scan

@lightpriest Can you take a look at the Travis output please.  Thanks!

@mattyjones It looks like it's failing because of spec/plugins/http/check_json_spec.rb
Failures:
  1) CheckJson run should be able to check against a nested json key/value and report ok successfully
     Failure/Error: json.run
     WebMock::NetConnectNotAllowedError:
       Real HTTP connections are disabled. Unregistered request: GET https://example.com:45699/health/check with headers {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}

       You can stub this request with the following snippet:

       stub_request(:get, "https://example.com:45699/health/check").
         with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
         to_return(:status => 200, :body => "", :headers => {})

       registered request stubs:

       stub_request(:get, "https://example.com:45699/health/check").
         with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'})

I'm guessing this should be removed from the stub_request requirement: 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
Should I open a different PR for it?