[Auth] getRefreshToken() method

I think we should have a method on Google.Apis.Services.BaseClientService (?)  that returns the refresh token so that its easier for anyone who wants to save it in the database to find it.
Currently you have to do something like this
var RefreshToken= ((UserCredential)service.HttpClientInitializer).Token.RefreshToken;

Relates back to YouTube upload API - Get Auth tokens for offline
Note: I think the PHP client library has a getRefreshToken() method.

I'm totally against it. I think that it breaks the interface, HttpClientInitializer doesn't have to be UserCredential, and adding a dependency in Google.Apis.Auth is wrong!
As a developer you already created UserCredential, so what's the problem with storing it in some variable and access it later on?

ack ok i bow to your superior knowledge of the client library and its usage.
Feel free to close this.

Keep up the good work Linda :+1:
Closing this one now.

Let's move our discussion here Linda, hope that it's OK with you.
You wrote:
.... We need a better example (then the 2 year old one i have on my website)
I have been playing with it trying to get an example for people on how to use the Client lib with a stored refresh token.   I want something best practice like for my sample project generator.
How's this?
var refreshtoken = ((UserCredential)service.HttpClientInitializer).Token.RefreshToken;

Google.Apis.Auth.OAuth2.Responses.TokenResponse tokenResponse = new Google.Apis.Auth.OAuth2.Responses.TokenResponse { RefreshToken = refreshtoken };

var flow = new Google.Apis.Auth.OAuth2.Flows.AuthorizationCodeFlow(new Google.Apis.Auth.OAuth2.Flows.GoogleAuthorizationCodeFlow.Initializer { ClientSecrets = new ClientSecrets { ClientId = clientId, ClientSecret = clientSecret } });

UserCredential credential = new UserCredential(flow, "x", tokenResponse);

// Returning the DriveService
var  driveSErvice = new DriveService(new BaseClientService.Initializer()
            {
                HttpClientInitializer = credential,
                ApplicationName = "Drive Authentication Sample",
            });

My response:
Your first call is to:
var refreshtoken = ((UserCredential)service.HttpClientInitializer).Token.RefreshToken;
I'm trying to figure out how you created the service from the first place, you needed to create the UserCredential yourself, like this piece of code:
https://github.com/google/google-api-dotnet-client-samples/blob/master/Drive.Sample/Program.cs#L99
All you have to do, at this point is to save the UserCredential.
In case you have a method that returns the service, maybe you should change it to return the service and user credential or any other type of credential you create.
Does it make sense?

I open it until we agree on the best practice.

I dont see how Line 99 will use a stored refresh token.
credential = await GoogleWebAuthorizationBroker.AuthorizeAsync(
GoogleClientSecrets.Load(stream).Secrets, Scopes, "user", CancellationToken.None);
that's just loading from file datastore i believe?

For the case you mentioned, about just having a refresh token, they can use the suggestion I have here:
http://stackoverflow.com/questions/21007866/net-google-api-1-7-beta-authenticating-with-refresh-token/21010041#21010041
The alternative of course is to have a new kind of data store, something like DatabaseDataStore and they get the right data accordingly. We still don't have this implementation in the core library, we only have a FileDataStore.
And by looking in the way you created the service, you are already declaring the credential variable, just store in some variable, and then later on can use its .Token.RefreshToken property to get the token.
Does it make sense?
Eyal

Closing as stale. Please re-open if this discussion should continue.


Update option changes toast and switch their tests to jest

It's possible to review commit at a time (a lil messy) or all at once.
This updates option toasts to reload the window (for C#), localize them, and enable them to be tested with jest.
Jest provides the following benefits:

Actively maintained, including mocking tools.
VSCode extension that includes a test window where we can run/debug single tests.  Previously we had to hand write custom launch.json files and couldn't run single tests.
Easily able to mock the 'vscode' library for unit tests.  Previously we had to always pass around the 'vscodeAdapter' abstraction in production code to allow unit tests to work.  With jest, we can just use the regular 'vscode' library as normal in production code.
a.  This is essentially a requirement as we add more localization strings - in order for automatic generation of the json files to work, we must use the real 'vscode' library in-place and not the vscodeAdapter.

Commits:

f80420df219f2021ab4af80e2461a5f87682f917 - Updates the option toast to reload the window for the C# case to workaround https://github.com/dotnet/vscode-csharp/issues/5882
4737540b1dc8ee65d13e12d56edb3ecba87b3fed - Localize options toasts.
70b7a37dba926a0be99b318329a83fb4b6c429fb - Add support for jest tests and migrate options tests over to jest.
f4b9617758be3ebdaf1d05893a2b73f0188c5eb9 - Merge Ankita's test refactoring in.
0532fa93c38b8e4430970faf0171d464d8381afa - Move non-o# tests out of O# folder and add non-O# leg.

going to merge, will take feedback in a followup if any.


No eligible tempdirs...

Now for the next hurdle...  I was able to I thought get plotman working great.  However, now I'm running into the error of "no eligible tempdirs".  I'm running on a 2TB NVMe tempdir with only a single plot going in it.  I actually changed "tmpdir_max_jobs: 4" so I'm really not sure what's going on here.

Hi, just to clarify were you not able to run plots at all?

Hi, check those parameters;
tmpdir_stagger_phase_major: 2
tmpdir_stagger_phase_minor: 1
# Optional: default is 1
tmpdir_stagger_phase_limit: 1

By default, plotman only allows one plot to run below phase 2:1

Thanks for the help.  This was definitely my issue and I MUCH better understand the staggering and limits now.


NameError: name 'crypto' is not defined

Hello, I am using pybleno on a Raspberry pi 3. I've set up the echo example and run the script. The device advertises fine, but when I try to establish a connection using my phone, I get the following stacktrace:
Exception in thread HCISocketPoller:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/BluetoothHCI/BluetoothHCI.py", line 197, in _socket_poller
    self._socket_on_data_user_callback(bytearray(data))
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/Hci.py", line 414, in onSocketData
    self.emit('aclDataPkt', [handle, cid, pktData])
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/Emit.py", line 17, in emit
    handler(*arguments)
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/Bindings.py", line 169, in onAclDataPkt
    self._aclStream.push(cid, data)
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/AclStream.py", line 18, in push
    self.emit('data', [cid, data])
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/Emit.py", line 17, in emit
    handler(*arguments)
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/Smp.py", line 48, in onAclStreamData
    self.handlePairingConfirm(data)
  File "/usr/local/lib/python3.5/dist-packages/pybleno/hci_socket/Smp.py", line 101, in handlePairingConfirm
    self._r = crypto.r()
NameError: name 'crypto' is not defined

I'm not sure what's causing the issue, any help would be appreciated.

Hi @Waffaru - the crypto module is not currently implemented - it's in the works however and should be available soon.
Duplicate of #9


pca with varimax rotation

doesn't seem to be implemented in python.

I'm trying to implement R in python using rpy2, but there is also this which seems to maybe be an implementation of varimax rotation
https://github.com/rossfadely/consomme/blob/master/consomme/rotate_factor.py

running it using rpy2 is super duper slow.
going to try this:
http://stackoverflow.com/questions/17628589/perform-varimax-rotation-in-python-using-numpy

Did rotate_factor.py not work well?
Sweet re the SO implementation using NumPy. Good luck!

Just wanted to mention that we could also consider nonlinear dimensionality reduction techniques, such as Kernel PCA. I don't know whether our features are linearly separable, so thought I'd bring this up.

Good point. I was thinking about that, but thought we'd start simple for
now.
On Nov 24, 2015 2:14 AM, "Juan Shishido"<EMAIL_ADDRESS>wrote:

Just wanted to mention that we could also consider nonlinear
dimensionality reduction techniques, such as Kernel PCA. I don't know
whether our features are linearly separable, so thought I'd bring this up.
—
Reply to this email directly or view it on GitHub
https://github.com/juanshishido/okcupid/issues/5#issuecomment-159217874.

I read some more after posting that and found out that text is usually linearly separable, which is why I deleted my comment :sweat_smile:

rotate_factor.py only works on a square matrix.

Mmmm. Can we try it in R?

I tried it and it seemed like it didn't like the zeros in the matrix. I'm
not familiar enough with rotation to know if that's the true issue though.
On Nov 25, 2015 9:20 AM, "Jaya Narasimhan"<EMAIL_ADDRESS>wrote:

Mmmm. Can we try it in R?
—
Reply to this email directly or view it on GitHub
https://github.com/juanshishido/okcupid/issues/5#issuecomment-159678848.

Okay, I'll try to write it out in matrix form then and plug it into your PCA code!


[SparkR][Minor] Fix example of spark.naiveBayes

What changes were proposed in this pull request?
The original example doesn't work because the features are not categorical. This PR fixes this by changing to another dataset.
How was this patch tested?
Manual test.

Test build #64447 has started for PR 14820 at commit 607f117.

Test build #64447 has finished for PR 14820 at commit 607f117.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/64447/
Test PASSed.

LGTM. Should this be in the unit test too?

The unit test has one already. Do we need this as well?

ah. it has Titanic. I think that's fine.


tests: kernel: kernel.threads.armv8m_mpu_stack_guard fails on nrf9160dk

Describe the bug
The test from tests/kernel/threads/thread_stack/ fail on nrf9160dk
git bisect: c770cab1a3a6cbfefbe8432939f78b321770d498 is the first bad commit
To Reproduce
Steps to reproduce the behavior:

have nrf 9160dk connected
go to zephyr dir
run ./scripts/sanitycheck --device-testing -T tests/kernel/threads/thread_stack/ -p nrf9160dk_nrf9160 --device-serial /dev/ttyACM0 -v -v
See error

Expected behavior
Test passes
Impact
Not clear
Logs and console output
DEBUG   - DEVICE: testing stest_member_stack
DEBUG   - DEVICE: Stack object 0x200000a0[544]
DEBUG   - DEVICE: - Testing supervisor mode
DEBUG   - DEVICE: - Thread reports buffer 0x200000c0 size 512
DEBUG   - DEVICE: - check read/write to stack buffer
DEBUG   - DEVICE: - Carved-out space in buffer: 0
DEBUG   - DEVICE: - Unused objects space: 0
DEBUG   - DEVICE: self-reported unused stack space: 124
DEBUG   - DEVICE: target thread unused stack space: 124
DEBUG   - DEVICE: PASS - test_stack_buffer
DEBUG   - DEVICE: ===================================================================
DEBUG   - DEVICE: START - test_idle_stack
DEBUG   - DEVICE: hi! bye!
DEBUG   - DEVICE: E: could not allocate kernel object, out of memory
DEBUG   - DEVICE: E: ***** MPU FAULT *****
DEBUG   - DEVICE: E:   Data Access Violation
DEBUG   - DEVICE: E:   MMFAR Address: 0x8
DEBUG   - DEVICE: E: r0/a1:  0x00000000  r1/a2:  0x00000001  r2/a3:  0x00000001
DEBUG   - DEVICE: E: r3/a4:  0x00000000 r12/ip:  0xaaaaaaaa r14/lr:  0x0000074f
DEBUG   - DEVICE: E:  xpsr:  0x61000000
DEBUG   - DEVICE: E: Faulting instruction address (r15/pc): 0x0000cf62
DEBUG   - DEVICE: E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
DEBUG   - DEVICE: E: Current thread: 0x200002e0 (unknown)
DEBUG   - DEVICE: E: Halting system
DEBUG   - Waiting for device nrf9160dk_nrf9160 to become available
DEBUG   - Waiting for device nrf9160dk_nrf9160 to become available

Environment (please complete the following information):

Ubuntu 18.04
Toolchain  Zephyr SDK

Looking into it now

Looking into it now

@nashif this is probably fixed by the PR I sent earlier, #31539. I aimed at fixing the exact same MPU_FAULT I am seeing here (I came across the same test failure on qemu mps2_an521)

@nashif this is probably fixed by the PR I sent earlier, #31539. I aimed at fixing the exact same MPU_FAULT I am seeing here (I came across the same test failure on qemu mps2_an521)

Fixed by #31539

Fixed by #31539


Consume, shuffle, random and single

I'd say an overflow menu to the right of the Clear Queue button with these options would be the way to go

Fixed in 0.2.1


An error message "The host doesn't allow runing.." always pops up even though enable all permissions.

Environment data

Steps to reproduce

Install the LiveShare VSCode Extension (VS Live Share Extension Pack)
Open manualTestFile.py in VSCode
Run the first cell in the file
Switch to the Live Share tab in VS Code and start a session
Open another window of VSCode
Connect the second instance of VSCode as a Guest to the first Live Share session
Enable all permissions in Host
Click "Run cell" in Guest

Expected behaviour
Interactive Window should open, show connection information, and execute cells.
Actual behaviour
An error message pops up.

Note: When we select a cell in manualtestfile.py and right-click to click the 'Run Current Cell, it can be executed without error message.

@linette-zyy thanks much for the report on this.

@linette-zyy can you check that you enabled the live share allow command:
"liveshare.languages.allowGuestCommandControl": false

Yes, I have enabled this, but the error message still pops up.


Cherry-pick DBZ-7593 and DBZ-7311

What?
The expected behaviour for the SQL Server CDC connector when schema.history.internal.store.only.captured.tables.ddl is set to its default value false is that schemas of all the tables are captured. However, due to a bug, it is not currently happening.
The bug is fixed in version 2.5.3 of the connector. This change cherry-picks the fix. However, due to some merge conflicts because of dependent changes, we are also including another change.
Test Plan

Existing tests passing
Manually tested the change
Upgrade testing done for before and after this change

Thanks @rajdangwal
If not done, let's also test it once in CCloud setup. (miniconnect or devel-canaries) ?

Thanks @rajdangwal If not done, let's also test it once in CCloud setup. (miniconnect or devel-canaries) ?

Ack. Will do upgrade testing in Devel Canary too.


initial world is not recognized

We started a server with a world called server1.1  Ever since we got this mod i need to import the world every time i start the server because it is just not recognized.  When i initially start up the world it does no appear on the on the world list but when i import it i have to set up portals again.  Then when we stop the server and start it up the world is gone again and i have to repeat the process. Does anyone know a fix for this?

Have you tried verifying it's in your worlds.yml and that it has autoload set to true?

the world is not in the worlds.yml file even when we import the world it does not update

The strange thing is when i do /spawn i still go to the world that is not listed.

Going to need this info.

Problem our main world is never recognized and keeps needing to be imported
worlds.yml
worlds:
server1:
'1':
seed:<PHONE_NUMBER>294033554
environment: NORMAL
hidden: false
alias:
name: ''
color: WHITE
pvp: true
scale: 1.0
respawnworld: ''
allowweather: true
difficulty: EASY
animals:
spawn: true
exceptions:
- SHEEP
monsters: []
entryfee:
currency: -1
price: 0.0
hunger: true
autoheal: true
adjustspawn: true
gamemode: CREATIVE
keepspawninmemory: true
spawn:
x: -3505.0
y: 4.0
z: 437.0
pitch: 0.0
yaw: 0.0
world: server1.1
autoload: true
bedrespawn: true
vanilla:
seed: -7607716743200550223
environment: NORMAL
hidden: false
alias:
name: ''
color: WHITE
pvp: true
scale: 1.0
respawnworld: ''
allowweather: true
difficulty: EASY
animals:
spawn: true
monsters:
spawn: true
entryfee:
currency: -1
price: 0.0
hunger: true
autoheal: true
adjustspawn: true
gamemode: SURVIVAL
keepspawninmemory: true
spawn:
x: -0.5
y: 64.0
z: 249.5
pitch: 0.0
yaw: 0.0
world: vanilla
autoload: true
bedrespawn: true
server.properties
#Minecraft server properties
#Wed Jan 25 21:20:09 CST 2012
allow-nether=true
level-name=server1.1
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
spawn-npcs=true
white-list=true
spawn-animals=true
online-mode=true
pvp=true
difficulty=1
gamemode=1
max-players=20
spawn-monsters=false
view-distance=10
motd=broswen's creative server!
Now finally start up log
2012-02-03 17:53:05 [INFO] Starting minecraft server version 1.1
2012-02-03 17:53:06 [INFO] Loading properties
2012-02-03 17:53:06 [INFO] Starting Minecraft server on *:25565
2012-02-03 17:53:06 [INFO] This server is running Craftbukkit version git-Bukkit-1.1-R1-b1818jnks (MC: 1.1) (Implementing API version 1.1-R1)
2012-02-03 17:53:06 [INFO] MLog clients using java 1.4+ standard logging.
2012-02-03 17:53:06 [INFO] Preparing level "server1.1"
2012-02-03 17:53:06 [INFO] Default game type: 1
2012-02-03 17:53:07 [INFO] Preparing start region for level 0 (Seed:<PHONE_NUMBER>294033554)
2012-02-03 17:53:08 [INFO] Preparing spawn area: 97%
2012-02-03 17:53:08 [INFO] Preparing start region for level 1 (Seed:<PHONE_NUMBER>959645149)
2012-02-03 17:53:08 [INFO] Preparing start region for level 2 (Seed:<PHONE_NUMBER>959645149)
2012-02-03 17:53:09 [INFO] Preparing spawn area: 48%
2012-02-03 17:53:09 [INFO] [MultiInv] Loading MultiInv v3.0.1.
2012-02-03 17:53:09 [INFO] MultiInv version 3.0.1 is enabled!
2012-02-03 17:53:09 [INFO] [GroupManager] Loading GroupManager v1.7 (Phoenix).
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1.1
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1.1_nether
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1.1_the_end
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: vanilla
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: world
2012-02-03 17:53:09 [INFO] GroupManager - INFO - Superperms support enabled.
2012-02-03 17:53:09 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
2012-02-03 17:53:09 [INFO] GroupManager - INFO - Backups will be retained for 24 hours!
2012-02-03 17:53:09 [INFO] GroupManager version 1.7 (Phoenix) is enabled!
2012-02-03 17:53:09 [INFO] [WorldEdit] Loading WorldEdit v5.1.1.
2012-02-03 17:53:09 [INFO] WorldEdit 5.1.1 enabled.
2012-02-03 17:53:09 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-02-03 17:53:09 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-02-03 17:53:09 [INFO] [Multiverse-Core] Loading Multiverse-Core v2.2-AB.
2012-02-03 17:53:09 [INFO] [Multiverse-Core] - Version 2.2-AB (API v10) Enabled - By Rigby, fernferret, lithium3141 and main--
2012-02-03 17:53:09 [INFO] [AllPay] - Version 3.0 - hooked into Essentials Economy for Multiverse-Core v2.2-AB
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1.1' - NORMAL with seed:<PHONE_NUMBER>294033554
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1.1_nether' - NETHER with seed:<PHONE_NUMBER>959645149
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1.1_the_end' - THE_END with seed:<PHONE_NUMBER>959645149
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1' - NORMAL with seed: 0
2012-02-03 17:53:10 [INFO] Preparing start region for level 3 (Seed: 0)
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'vanilla' - NORMAL with seed: -7607716743200550223
2012-02-03 17:53:11 [INFO] Preparing start region for level 4 (Seed: -7607716743200550223)
2012-02-03 17:53:11 [INFO] [Multiverse-Core] 2 - World(s) loaded.
2012-02-03 17:53:11 [WARNING] [Multiverse-Core] The world specified as the spawn world (server1.1) did not exist!!
2012-02-03 17:53:11 [INFO] [Multiverse-Portals] Loading Multiverse-Portals v2.2-AB.
2012-02-03 17:53:11 [INFO] [Multiverse-Portals] - Version 2.2-AB Enabled - By Rigby and fernferret
2012-02-03 17:53:11 [WARNING] [Multiverse-Portals]  Failed Parsing World for: portal1 (World Error, World did not exist or was not imported into Multiverse-Core!)
2012-02-03 17:53:11 [WARNING] [Multiverse-Portals]  Portal portal1 has an invalid LOCATION!
2012-02-03 17:53:12 [INFO] [Multiverse-Portals]  4 - Portals(s) loaded
2012-02-03 17:53:12 [INFO] [Permissions] Loading Permissions v3.1.6.
2012-02-03 17:53:12 [INFO] Fake Permissions version 3.1.6 is enabled!
2012-02-03 17:53:12 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-02-03 17:53:12 [INFO] [Essentials] Loading Essentials v2.7.2.
2012-02-03 17:53:12 [INFO] Bukkit version format changed. Version not checked.
2012-02-03 17:53:12 [INFO] git-Bukkit-1.1-R1-b1818jnks (MC: 1.1)
2012-02-03 17:53:12 [INFO] 1.1-R1
2012-02-03 17:53:12 [INFO] Loaded Essentials build 2.7.2 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
2012-02-03 17:53:12 [INFO] File not found: plugins\Essentials\jail.yml
2012-02-03 17:53:12 [INFO] Essentials: Using GroupManager based permissions.
2012-02-03 17:53:12 [INFO] [EssentialsChat] Loading EssentialsChat v2.7.2.
2012-02-03 17:53:12 [INFO] Loaded EssentialsChat build 2.7.2 by: essentials team
2012-02-03 17:53:12 [INFO] [EssentialsProtect] Loading EssentialsProtect v2.7.2.
2012-02-03 17:53:12 [INFO] Initializing c3p0-<IP_ADDRESS> [built 21-May-2007 15:04:56; debug? true; trace: 10]
2012-02-03 17:53:13 [INFO] Loaded EssentialsProtect build 2.7.2 by: essentials team
2012-02-03 17:53:13 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.7.2.
2012-02-03 17:53:13 [INFO] Loaded EssentialsSpawn build 2.7.2 by: essentials team
2012-02-03 17:53:13 [INFO] Server permissions file permissions.yml is empty, ignoring it
2012-02-03 17:53:13 [INFO] Done (6.845s)! For help, type "help" or "?"
2012-02-03 17:53:14 [INFO] GroupManager - INFO - Bukkit Permissions Updated!
2012-02-03 17:53:17 [INFO] CONSOLE: Stopping the server..
2012-02-03 17:53:17 [INFO] Stopping server
2012-02-03 17:53:17 [INFO] [MultiInv] Unloading MultiInv v3.0.1.
2012-02-03 17:53:17 [INFO] [GroupManager] Unloading GroupManager v1.7 (Phoenix).
2012-02-03 17:53:17 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
2012-02-03 17:53:17 [INFO] GroupManager version 1.7 (Phoenix) is disabled!
2012-02-03 17:53:17 [INFO] [WorldEdit] Unloading WorldEdit v5.1.1.
2012-02-03 17:53:17 [INFO] Essentials: Using Permissions 3 based permissions.
2012-02-03 17:53:17 [INFO] [Multiverse-Core] Unloading Multiverse-Core v2.2-AB.
2012-02-03 17:53:17 [INFO] [Multiverse-Core] - Disabled
2012-02-03 17:53:17 [INFO] [Multiverse-Portals] Unloading Multiverse-Portals v2.2-AB.
2012-02-03 17:53:17 [INFO] [Permissions] Unloading Permissions v3.1.6.
2012-02-03 17:53:17 [INFO] Fake Permissions version 3.1.6 is disabled!
2012-02-03 17:53:17 [INFO] [Essentials] Unloading Essentials v2.7.2.
2012-02-03 17:53:17 [INFO] Essentials: Using config based permissions. Enable superperms in config.
2012-02-03 17:53:17 [INFO] [EssentialsChat] Unloading EssentialsChat v2.7.2.
2012-02-03 17:53:17 [INFO] [EssentialsProtect] Unloading EssentialsProtect v2.7.2.
2012-02-03 17:53:18 [INFO] [EssentialsSpawn] Unloading EssentialsSpawn v2.7.2.
2012-02-03 17:53:18 [INFO] Saving chunks
2012-02-03 17:53:22 [INFO] Stopping server
2012-02-03 17:53:22 [INFO] Saving chunks
if you need anything more to solve this please ask.

Problem our main world is never recognized and keeps needing to be imported
worlds.yml
worlds:
server1:
'1':
seed:<PHONE_NUMBER>294033554
environment: NORMAL
hidden: false
alias:
name: ''
color: WHITE
pvp: true
scale: 1.0
respawnworld: ''
allowweather: true
difficulty: EASY
animals:
spawn: true
exceptions:

SHEEP
monsters: []
entryfee:
currency: -1
price: 0.0
hunger: true
autoheal: true
adjustspawn: true
gamemode: CREATIVE
keepspawninmemory: true
spawn:
x: -3505.0
y: 4.0
z: 437.0
pitch: 0.0
yaw: 0.0
world: server1.1
autoload: true
bedrespawn: true
vanilla:
seed: -7607716743200550223
environment: NORMAL
hidden: false
alias:
name: ''
color: WHITE
pvp: true
scale: 1.0
respawnworld: ''
allowweather: true
difficulty: EASY
animals:
spawn: true
monsters:
spawn: true
entryfee:
currency: -1
price: 0.0
hunger: true
autoheal: true
adjustspawn: true
gamemode: SURVIVAL
keepspawninmemory: true
spawn:
x: -0.5
y: 64.0
z: 249.5
pitch: 0.0
yaw: 0.0
world: vanilla
autoload: true
bedrespawn: true

server.properties
#Minecraft server properties
#Wed Jan 25 21:20:09 CST 2012
allow-nether=true
level-name=server1.1
enable-query=false
allow-flight=false
server-port=25565
level-type=DEFAULT
enable-rcon=false
level-seed=
server-ip=
spawn-npcs=true
white-list=true
spawn-animals=true
online-mode=true
pvp=true
difficulty=1
gamemode=1
max-players=20
spawn-monsters=false
view-distance=10
motd=broswen's creative server!
Now finally start up log
2012-02-03 17:53:05 [INFO] Starting minecraft server version 1.1
2012-02-03 17:53:06 [INFO] Loading properties
2012-02-03 17:53:06 [INFO] Starting Minecraft server on *:25565
2012-02-03 17:53:06 [INFO] This server is running Craftbukkit version git-Bukkit-1.1-R1-b1818jnks (MC: 1.1) (Implementing API version 1.1-R1)
2012-02-03 17:53:06 [INFO] MLog clients using java 1.4+ standard logging.
2012-02-03 17:53:06 [INFO] Preparing level "server1.1"
2012-02-03 17:53:06 [INFO] Default game type: 1
2012-02-03 17:53:07 [INFO] Preparing start region for level 0 (Seed:<PHONE_NUMBER>294033554)
2012-02-03 17:53:08 [INFO] Preparing spawn area: 97%
2012-02-03 17:53:08 [INFO] Preparing start region for level 1 (Seed:<PHONE_NUMBER>959645149)
2012-02-03 17:53:08 [INFO] Preparing start region for level 2 (Seed:<PHONE_NUMBER>959645149)
2012-02-03 17:53:09 [INFO] Preparing spawn area: 48%
2012-02-03 17:53:09 [INFO] [MultiInv] Loading MultiInv v3.0.1.
2012-02-03 17:53:09 [INFO] MultiInv version 3.0.1 is enabled!
2012-02-03 17:53:09 [INFO] [GroupManager] Loading GroupManager v1.7 (Phoenix).
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1.1
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1.1_nether
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: server1.1_the_end
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: vanilla
2012-02-03 17:53:09 [INFO] GroupManager - INFO - World Found: world
2012-02-03 17:53:09 [INFO] GroupManager - INFO - Superperms support enabled.
2012-02-03 17:53:09 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
2012-02-03 17:53:09 [INFO] GroupManager - INFO - Backups will be retained for 24 hours!
2012-02-03 17:53:09 [INFO] GroupManager version 1.7 (Phoenix) is enabled!
2012-02-03 17:53:09 [INFO] [WorldEdit] Loading WorldEdit v5.1.1.
2012-02-03 17:53:09 [INFO] WorldEdit 5.1.1 enabled.
2012-02-03 17:53:09 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-02-03 17:53:09 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-02-03 17:53:09 [INFO] [Multiverse-Core] Loading Multiverse-Core v2.2-AB.
2012-02-03 17:53:09 [INFO] [Multiverse-Core] - Version 2.2-AB (API v10) Enabled - By Rigby, fernferret, lithium3141 and main--
2012-02-03 17:53:09 [INFO] [AllPay] - Version 3.0 - hooked into Essentials Economy for Multiverse-Core v2.2-AB
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1.1' - NORMAL with seed:<PHONE_NUMBER>294033554
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1.1_nether' - NETHER with seed:<PHONE_NUMBER>959645149
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1.1_the_end' - THE_END with seed:<PHONE_NUMBER>959645149
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'server1' - NORMAL with seed: 0
2012-02-03 17:53:10 [INFO] Preparing start region for level 3 (Seed: 0)
2012-02-03 17:53:10 [INFO] [Multiverse-Core] Loading World & Settings - 'vanilla' - NORMAL with seed: -7607716743200550223
2012-02-03 17:53:11 [INFO] Preparing start region for level 4 (Seed: -7607716743200550223)
2012-02-03 17:53:11 [INFO] [Multiverse-Core] 2 - World(s) loaded.
2012-02-03 17:53:11 [WARNING] [Multiverse-Core] The world specified as the spawn world (server1.1) did not exist!!
2012-02-03 17:53:11 [INFO] [Multiverse-Portals] Loading Multiverse-Portals v2.2-AB.
2012-02-03 17:53:11 [INFO] [Multiverse-Portals] - Version 2.2-AB Enabled - By Rigby and fernferret
2012-02-03 17:53:11 [WARNING] [Multiverse-Portals] Failed Parsing World for: portal1 (World Error, World did not exist or was not imported into Multiverse-Core!)
2012-02-03 17:53:11 [WARNING] [Multiverse-Portals] Portal portal1 has an invalid LOCATION!
2012-02-03 17:53:12 [INFO] [Multiverse-Portals] 4 - Portals(s) loaded
2012-02-03 17:53:12 [INFO] [Permissions] Loading Permissions v3.1.6.
2012-02-03 17:53:12 [INFO] Fake Permissions version 3.1.6 is enabled!
2012-02-03 17:53:12 [INFO] WEPIF: Using the Bukkit Permissions API.
2012-02-03 17:53:12 [INFO] [Essentials] Loading Essentials v2.7.2.
2012-02-03 17:53:12 [INFO] Bukkit version format changed. Version not checked.
2012-02-03 17:53:12 [INFO] git-Bukkit-1.1-R1-b1818jnks (MC: 1.1)
2012-02-03 17:53:12 [INFO] 1.1-R1
2012-02-03 17:53:12 [INFO] Loaded Essentials build 2.7.2 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
2012-02-03 17:53:12 [INFO] File not found: plugins\Essentials\jail.yml
2012-02-03 17:53:12 [INFO] Essentials: Using GroupManager based permissions.
2012-02-03 17:53:12 [INFO] [EssentialsChat] Loading EssentialsChat v2.7.2.
2012-02-03 17:53:12 [INFO] Loaded EssentialsChat build 2.7.2 by: essentials team
2012-02-03 17:53:12 [INFO] [EssentialsProtect] Loading EssentialsProtect v2.7.2.
2012-02-03 17:53:12 [INFO] Initializing c3p0-<IP_ADDRESS> [built 21-May-2007 15:04:56; debug? true; trace: 10]
2012-02-03 17:53:13 [INFO] Loaded EssentialsProtect build 2.7.2 by: essentials team
2012-02-03 17:53:13 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.7.2.
2012-02-03 17:53:13 [INFO] Loaded EssentialsSpawn build 2.7.2 by: essentials team
2012-02-03 17:53:13 [INFO] Server permissions file permissions.yml is empty, ignoring it
2012-02-03 17:53:13 [INFO] Done (6.845s)! For help, type "help" or "?"
2012-02-03 17:53:14 [INFO] GroupManager - INFO - Bukkit Permissions Updated!
2012-02-03 17:53:17 [INFO] CONSOLE: Stopping the server..
2012-02-03 17:53:17 [INFO] Stopping server
2012-02-03 17:53:17 [INFO] [MultiInv] Unloading MultiInv v3.0.1.
2012-02-03 17:53:17 [INFO] [GroupManager] Unloading GroupManager v1.7 (Phoenix).
2012-02-03 17:53:17 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
2012-02-03 17:53:17 [INFO] GroupManager version 1.7 (Phoenix) is disabled!
2012-02-03 17:53:17 [INFO] [WorldEdit] Unloading WorldEdit v5.1.1.
2012-02-03 17:53:17 [INFO] Essentials: Using Permissions 3 based permissions.
2012-02-03 17:53:17 [INFO] [Multiverse-Core] Unloading Multiverse-Core v2.2-AB.
2012-02-03 17:53:17 [INFO] [Multiverse-Core] - Disabled
2012-02-03 17:53:17 [INFO] [Multiverse-Portals] Unloading Multiverse-Portals v2.2-AB.
2012-02-03 17:53:17 [INFO] [Permissions] Unloading Permissions v3.1.6.
2012-02-03 17:53:17 [INFO] Fake Permissions version 3.1.6 is disabled!
2012-02-03 17:53:17 [INFO] [Essentials] Unloading Essentials v2.7.2.
2012-02-03 17:53:17 [INFO] Essentials: Using config based permissions. Enable superperms in config.
2012-02-03 17:53:17 [INFO] [EssentialsChat] Unloading EssentialsChat v2.7.2.
2012-02-03 17:53:17 [INFO] [EssentialsProtect] Unloading EssentialsProtect v2.7.2.
2012-02-03 17:53:18 [INFO] [EssentialsSpawn] Unloading EssentialsSpawn v2.7.2.
2012-02-03 17:53:18 [INFO] Saving chunks
2012-02-03 17:53:22 [INFO] Stopping server
2012-02-03 17:53:22 [INFO] Saving chunks
if you need anything more to solve this please ask.

Yes. This is definetly it. I'm going to push this issue to 2.4, and tag as unrelated to MV for now.
The workaround is to simply rename your folder to something like world1_1. Then you can use mv aliases to rename the in game world to world1.1.
The issue is the way the yaml parser interprets the world string, and I think it may be trying to do:
worlds:
    world1:
        1:
            ...

Which is bad. Again, at this point i'm unsure as to who's problem it is (ours or the bukkit yml parser), but there's a quick and easy workaround so it's a lower priority issue. Thanks for the report.

Ok, this will be implemented soon thanks to @feildmaster's awesome EnhancedConfiguration lib.

Ah hahaha... You give me too much credit. I don't know how to go around to changing that..! Every function is tied into another function in this freaking config.

Again, at this point i'm unsure as to who's problem it is (ours or the bukkit yml parser)

It's definitely our problem. This issue wouldn't exist if we had a nice mechanism to build our permissions instead of putting a string together every time. (TODO...?)
Look, we're saving the world as worlds.world1.1. The bukkit-parser has to assume that 1 is a subkey of world1.

@main-- haha yea that comment was a bit old. After some new test cases (you'd be proud of me) I discovered it was us.


Docs versions bump

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

this need to be merged first : https://github.com/datahub-project/static-assets/pull/80


[Release Tooling] Update XCFramework structure

Fix #12557
Change zip builder to create macOS/macCatalyst frameworks with the following format:
CoreWaffleVarnishing.framework/
  CoreWaffleVarnishing -> Versions/Current/CoreWaffleVarnishing
  Resources -> Versions/Current/Resources
  Versions/
    Current -> A
    A/
      CoreWaffleVarnishing
      Resources/
        Info.plist
        … other resources …

CocoaPods already creates macOS/macCatalyst frameworks with the above structure, so CP frameworks are now copied rather than manually reconstructed.

package-head failed with no error logs (https://github.com/firebase/firebase-ios-sdk/actions/runs/8377938507/job/22941316557?pr=12595). I'm building the zip locally as it may be faster than waiting for package-release

Fix works as of 5bc0ab2. Reverting debug related code.

The package-head workflow and its QS tests are now green. 🎉  The package-release hopefully just flaked with a transient error:
[package-release](https://github.com/firebase/firebase-ios-sdk/actions/runs/8423981444/job/23066886526)
The hosted runner: GitHub Actions 482 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.

Kicking it off now since CI load should be light.

LGTM on good analysis of a before and after zip diff.

Spot checked zip (ObjC frameowk, Swift framework, absl). Also, performed uploads for the following:

iOS app to check for regressions
macOS app now uploads to App Store Connect without receiving an email about malformed frameworks.*
macCatalyst app now uploads to App Store Connect without receiving an email about malformed frameworks.

*apart from Analytics binaries which weren't built with changes from this PR. I removed them to unblock testing.


The device adds the local domain name of mdns (CON-1187)

I found that the bottom layer of matter uses minmdns. Now I want to build a webserver control web page for my device. I need a domain name of Abc.local for browser access. How should I initialize a domain name with minmdns?

CONFIG_LWIP_LOCAL_HOSTNAME in menuconfig

I have already built this and didn't find it be useful. It is too confusing when there are multiple device. It is better to use a phone app with custom clusters.

Okay, thank you for your answer. I tried the link you gave to add a domain name in the early days and it didn't work very well. Later I directly added the Advertise function under the official underlying file of matter: connectedhomeip/src/lib/dnssd/Advertiser_ImplMinimalMdns.cpp.
The addition can be successful, but memory leaks occasionally occur. I don’t know if Matter officially has an interface for adding new domain names to minmdns. At the same time, I also saw an example of minmdns in the official example folder. I I feel like I can give it a try

You probably need to turn this off, CONFIG_USE_MINIMAL_MDNS=y,  so that it will use the Espressif MDNS. With that set it is using MDNS from CHIP code.

Okay, I just tried this and it works, thank you very much

Okay, I just tried this and it works, thank you very much


JavaScript project fails without package.json

🐛 Bug Report
Wrangler errors without a package.json for JavaScript projects, yet there is no reason to require it.
Environment

output of wrangler -V: wrangler 1.12.3
contents of wrangler.toml: type=javascript

Steps to reproduce

Create a hello world script with type=javascript
Run wrangler dev or wrangler publish
See the error Error: Your JavaScript project is missing a package.json file

What did you expect to see?
Wrangler should be able to publish a plain JavaScript project without a package.json.

Hi @Electroid, I would like to work on this! Could you please help me get started?

Hi @Electroid, I would like to work on this! Could you please help me get started?

For others, you need to follow the required file layout of the entry-point option for worker sites.
For my project, I copy package.json and package-lock.json to the dist folder and change main in package.json from dist/worker.js to worker.js.


removed serverspec support and created all inspec tests

gemfile: removed serverspec support and added inspec
tests: removed all serverspec test and added complete inspec tests

one issue, the etc_group InSpec audit resource is currently not implemented for centos

This is awesome work @atomic111 I am going to try this with the os-hardening projects. I let you know, once I am done.

awesome work @atomic111 :100:


Add ability to run generic reactions.

Add option in rxn_maker module to insert user defined SMARTS expression.

 Proasis isses


Package as a snap like the Heroku CLI

Is your feature request related to a problem? Please describe.
I'd like to use the Salesforce DX CLI on my Fedora laptop to test out integrations I'm building. The installation page only offers a download for Ubuntu and Debian. The Heroku (a Salesforce company) CLI is packaged and distributed via snap which allows it to be managed and distributed across any linux distribution that supports snapcraft.
What are you trying to do
Develop against Salesforce from a non-Ubuntu/Debian distribuion of Linux
Describe the solution you'd like
I'd like to see a download for other distributions of linux or a distribution via snapcraft
Describe alternatives you've considered
I've considered attempting to build the CLI myself on Fedora but I'm neither confident there are instructions nor that the necessary source code is fully available
Additional context
N/A

The information on the installation page should be updated as it can easily be installed on Fedora:
wget -cO - https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz | tar xz
cd sfdx-linux-amd64
sudo ./install

The information on the installation page should be updated as it can easily be installed on Fedora:
wget -cO - https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz | tar xz
cd sfdx-linux-amd64
sudo ./install

We likely aren't going to support snap for the CLI. As mentioned, just downloading the archive directly will work.


[BUG] Radio buttons were not adequately grouped programmatically.

Describe the bug
Ungrouped radio buttons are encountered when completing sections of the service. This instance can be found with the radio buttons below the question ‘has the data been interpolated?’. Radio buttons have not been adequately grouped through accessible roles, or a fieldset and legend, which meant that screen reader users were not able to find related information out of context, instead they found ‘yes’ and ‘no’ buttons, which required further investigation in context around the components to extrapolate their purpose.
Expected behavior
Ungrouped content affects the information relayed to screen reader users and makes additional navigation required and increases the risk of error for these user groups.
In this instance, we suggest adding a fieldset and legend to group the relating heading and components.
Additional context
DAC report page 24 -26
High priority WCAG A

Team Kai have noted in the Xcel spreadsheet that this impacts 2 of the radio groups on the data collection page - 1 for interpolated data and the other for coordinate type


Add git repository and edit urls to user guide

https://rust-lang.github.io/mdBook/format/configuration/renderers.html#html-renderer-options

Sorry, opened a PR with the fix: #2636

Rust 1.64.0 requires GLIBC 2.17+, so we need to change manylinux: auto in ci.yml to manylinux: 2014.

Thanks. I also pushed #2637 for the other pieces here


Redirect Issue

After authentication, instead of being sent to the webapp site (e.g. https://firstserverlessweb.z4.web.core.windows.net/), i get sent to the function URL (e.g. https://fnapplod6518018.azurewebsites.net/)

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

ID: b1acd3de-471c-d954-af1a-62f7fc440370
Version Independent ID: 84549c67-6733-e861-6ec9-aab9f248a406
Content: Build a serverless web app in Azure
Content Source: AzureInteractive/tutorial-static-website-serverless-api-with-database.yml
Service: multiple
GitHub Login: @ggailey777
Microsoft Alias: glenga

nvm, I had done the create new part in authentication wrong.

cl_


fixed error when printing unicode

Corrected str and repr to return bytes - error was raised when printing strings that actually contained unicode characters - example: café . Added doctests to check printing for doc, span and token.

Is this correct for both Python 2 and Python 3?
I think for Python 3 __str__ should return a unicode object.

Good catch, one sec, i'll check

Yup, It's not compatible with python3 -_- , I'll review it


Add info windows

Included info windows describing each location when you click on the marker

Drive by comment: I'm hungry now. :)


[WFCORE-1460] Ensure tests don't leave a running server in reload-required state

These changes are part of #1475 since they are required to make the main code change there pass CI, but I decided to submit them separately as well. These are useful on their own and I figure #1475 is a big chunk to review, while these should be more digestible. If they get merged, then #1475 will become more digestible too.
The commits do 3 things:

Change some tests such that they don't trigger reload-required.
Add a SetupTask that triggers reload in tearDown, and then use it in tests that really need to trigger reload required
Change the test runner such that it fails in non-manual control tests that leave the server in reload-required.

Linux Build 3871 outcome was FAILURE using a merge of 86a6a35b443cfcf27daa6b0a8befa3fa57c48d81
Summary: Tests failed: 1 (1 new), passed: 3546, ignored: 56 Build time: 00:37:31
Failed tests
org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDeployer: java.lang.AssertionError: {"outcome" => "failed","failure-description" => "WFLYCTL0313: Unauthorized to execute operation 'write-attribute' for resource '[
    (\"subsystem\" => \"rbac\"),
    (\"rbac-constrained\" => \"default\")
]' -- \"WFLYCTL0332: Permission denied\"","rolled-back" => true}
	at org.jboss.as.test.integration.management.rbac.RbacUtil.checkOperationResult(RbacUtil.java:115)
	at org.jboss.as.test.integration.management.rbac.RbacUtil.executeOperation(RbacUtil.java:100)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDataSource(ApplicationTypeTestCase.java:131)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.test(ApplicationTypeTestCase.java:114)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDeployer(ApplicationTypeTestCase.java:92)
------- Stdout: -------
set user Deployer
set password t3stSu!tePassword
Calssifications {
    "outcome" => "success",
    "result" => {"type" => {
        "core" => {"classification" => {"deployment" => {
            "configured-application" => undefined,
            "default-application" => true,
            "applies-to" => {
                "/deployment=*" => {
                    "address" => "/deployment=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                },
                "/" => {
                    "address" => "/",
                    "attributes" => [],
                    "entire-resource" => false,
                    "operations" => [
                        "full-replace-deployment",
                        "upload-deployment-stream",
                        "upload-deployment-bytes",
                        "upload-deployment-url"
                    ]
                },
                "/deployment-overlay=*" => {
                    "address" => "/deployment-overlay=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                }
            }
        }}},
        "rbac" => {"classification" => {
            "security-domain" => {
                "configured-application" => undefined,
                "default-application" => false,
                "applies-to" => {"/subsystem=rbac/rbac-sensitive=*" => {
                    "address" => "/subsystem=rbac/rbac-sensitive=*",
                    "attributes" => [],

Core - Full Integration Build 2925 outcome was FAILURE using a merge of 86a6a35b443cfcf27daa6b0a8befa3fa57c48d81
Summary: Tests failed: 1 (1 new), passed: 3317, ignored: 194 Build time: 01:03:39
Failed tests
org.jboss.as.test.integration.management.deploy.runtime.StatefulEJBRemoteHomeRuntimeNameTestCase.testStatefulLocalHome: java.rmi.RemoteException: Error; nested exception is:
 java.io.IOException: Channel Channel ID 8c1dd0f9 (outbound) of Remoting connection 017da9f0 to /0:0:0:0:0:0:0:1:8080 has been closed
java.rmi.RemoteException: Error; nested exception is:
	java.io.IOException: Channel Channel ID 8c1dd0f9 (outbound) of Remoting connection 017da9f0 to /0:0:0:0:0:0:0:1:8080 has been closed
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:236)
	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)
	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)
	at com.sun.proxy.$Proxy128.getEJBHome(Unknown Source)
	at org.jboss.as.test.integration.management.deploy.runtime.StatefulEJBRemoteHomeRuntimeNameTestCase.testStatefulLocalHome(StatefulEJBRemoteHomeRuntimeNameTestCase.java:145)
Caused by: java.io.IOException: Channel Channel ID 8c1dd0f9 (outbound) of Remoting connection 017da9f0 to /0:0:0:0:0:0:0:1:8080 has been closed
	at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:123)
	at org.jboss.ejb.client.remoting.ChannelAssociation$1.handleClose(ChannelAssociation.java:115)
	at org.jboss.remoting3.spi.SpiUtils.safeHandleClose(SpiUtils.java:54)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable$CloseHandlerTask.run(AbstractHandleableCloseable.java:514)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.runCloseTask(AbstractHandleableCloseable.java:419)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeComplete(AbstractHandleableCloseable.java:290)
	at org.jboss.remoting3.remote.RemoteConnectionChannel.closeReadsAndWrites(RemoteConnectionChannel.java:274)
	at org.jboss.remoting3.remote.RemoteConnectionChannel.closeAction(RemoteConnectionChannel.java:534)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372)
	at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAllChannels(RemoteConnectionHandler.java:437)
	at org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequest(RemoteConnectionHandler.java:236)
	at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAction(RemoteConnectionHandler.java:413)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372)
	at org.jboss.remoting3.ConnectionImpl.closeAction(ConnectionImpl.java:54)
	at org.jboss.remoting3.spi.AbstractHandleableCloseable.close(AbstractHandleableCloseable.java:154)
	at org.jboss.ejb.client.remoting.ConnectionPool.safeClose(ConnectionPool.java:177)
	at org.jboss.ejb.client.remoting.ConnectionPool.release(ConnectionPool.java:104)
	at org.jboss.ejb.client.remoting.ConnectionPool$PooledConnection.close(ConnectionPool.java:198)
	at org.jboss.ejb.client.remoting.RemotingConnectionManager.safeClose(RemotingConnectionManager.java:65)
	at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector$ContextCloseListener.contextClosed(ConfigBasedEJBClientContextSelector.java:220)
	at org.jboss.ejb.client.EJBClientContext.close(EJBClientContext.java:1305)
	at org.jboss.ejb.client.EJBClientContext.finalize(EJBClientContext.java:1316)
	at java.lang.System$2.invokeFinalize(System.java:1270)
	at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
	at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
------- Stdout: -------
00:28:55,802 INFO  [org.jboss.ejb.client.remoting] (Remoting "config-based-ejb-client-endpoint" task-13) EJBCLIENT000017: Received server version 2 and marshalling strategies [river]
00:28:55,802 INFO  [org.jboss.ejb.client.remoting] (ejb-client-context-tasks-12-thread-7) EJBCLIENT000013: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@15e575c, receiver=Remoting connection EJB receiver [connection=org.jboss.ejb.client.remoting.ConnectionPool$PooledConnection@12208d4,channel=jboss.ejb,nodename=build19-el7]} on channel Channel ID 8c1dd0f9 (outbound) of Remoting connection 017da9f0 to /0:0:0:0:0:0:0:1:8080
00:28:56,053 INFO  [org.jboss.ejb.client.remoting] (Remoting "config-based-ejb-client-endpoint" task-16) EJBCLIENT000016: Channel Channel ID 8c1dd0f9 (outbound) of Remoting connection 017da9f0 to /0:0:0:0:0:0:0:1:8080 can no longer process messages

Retest this pleae

Retest this please

Linux Build 3882 outcome was FAILURE using a merge of 86a6a35b443cfcf27daa6b0a8befa3fa57c48d81
Summary: Tests failed: 1, passed: 3546, ignored: 56 Build time: 00:36:54
Failed tests
org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDeployer: java.lang.AssertionError: {"outcome" => "failed","failure-description" => "WFLYCTL0313: Unauthorized to execute operation 'write-attribute' for resource '[
    (\"subsystem\" => \"rbac\"),
    (\"rbac-constrained\" => \"default\")
]' -- \"WFLYCTL0332: Permission denied\"","rolled-back" => true}
	at org.jboss.as.test.integration.management.rbac.RbacUtil.checkOperationResult(RbacUtil.java:115)
	at org.jboss.as.test.integration.management.rbac.RbacUtil.executeOperation(RbacUtil.java:100)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDataSource(ApplicationTypeTestCase.java:131)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.test(ApplicationTypeTestCase.java:114)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDeployer(ApplicationTypeTestCase.java:92)
------- Stdout: -------
set user Deployer
set password t3stSu!tePassword
Calssifications {
    "outcome" => "success",
    "result" => {"type" => {
        "rbac" => {"classification" => {
            "security-domain" => {
                "configured-application" => undefined,
                "default-application" => false,
                "applies-to" => {"/subsystem=rbac/rbac-sensitive=*" => {
                    "address" => "/subsystem=rbac/rbac-sensitive=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                }}
            },
            "datasource" => {
                "configured-application" => undefined,
                "default-application" => false,
                "applies-to" => {"/subsystem=rbac/rbac-constrained=*" => {
                    "address" => "/subsystem=rbac/rbac-constrained=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                }}
            }
        }},
        "core" => {"classification" => {"deployment" => {
            "configured-application" => undefined,
            "default-application" => true,
            "applies-to" => {
                "/deployment=*" => {
                    "address" => "/deployment=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                },
                "/deployment-overlay=*" => {
                    "address" => "/deployment-overlay=*",
                    "attributes" => [],
                    "entire-resource" => true,

Looks like there's another test issue to fix.

Linux Build 3892 outcome was FAILURE using a merge of cd869dcbdb87314bc44d96ec45d5d49f1269b8e8
Summary: Tests failed: 1, passed: 3547, ignored: 56 Build time: 00:42:25
Failed tests
org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDeployer: java.lang.AssertionError: {"outcome" => "failed","failure-description" => "WFLYCTL0313: Unauthorized to execute operation 'write-attribute' for resource '[
    (\"subsystem\" => \"rbac\"),
    (\"rbac-constrained\" => \"default\")
]' -- \"WFLYCTL0332: Permission denied\"","rolled-back" => true}
	at org.jboss.as.test.integration.management.rbac.RbacUtil.checkOperationResult(RbacUtil.java:115)
	at org.jboss.as.test.integration.management.rbac.RbacUtil.executeOperation(RbacUtil.java:100)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDataSource(ApplicationTypeTestCase.java:131)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.test(ApplicationTypeTestCase.java:114)
	at org.jboss.as.test.integration.mgmt.access.ApplicationTypeTestCase.testDeployer(ApplicationTypeTestCase.java:92)
------- Stdout: -------
set user Deployer
set password t3stSu!tePassword
Calssifications {
    "outcome" => "success",
    "result" => {"type" => {
        "rbac" => {"classification" => {
            "datasource" => {
                "configured-application" => undefined,
                "default-application" => false,
                "applies-to" => {"/subsystem=rbac/rbac-constrained=*" => {
                    "address" => "/subsystem=rbac/rbac-constrained=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                }}
            },
            "security-domain" => {
                "configured-application" => undefined,
                "default-application" => false,
                "applies-to" => {"/subsystem=rbac/rbac-sensitive=*" => {
                    "address" => "/subsystem=rbac/rbac-sensitive=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                }}
            }
        }},
        "logging" => {"classification" => {
            "logging-profile" => {
                "configured-application" => undefined,
                "default-application" => false,
                "applies-to" => {"/subsystem=logging/logging-profile=*" => {
                    "address" => "/subsystem=logging/logging-profile=*",
                    "attributes" => [],
                    "entire-resource" => true,
                    "operations" => []
                }}
            },
            "logger" => {
                "configured-application" => undefined,
                "default-application" => false,

@kabir I added a couple commits. The "Track the correct SensitivityClassification/ApplicationTypeConfig instance" one should fix the test failure.


chaincode image needs to be created after state transfer of new deploy transaction

Description
When state transfer obtains a new block that contains a deploy transaction, the chaincode subsystem needs to create a corresponding docker image.
Describe How to Reproduce

See #1472
@muralisrini @jyellick

@corecode I think this is the wrong solution.
@muralisrini There's been a fair amount of discussion about not storing the chaincodes on the block, but instead storing them in the state.  Otherwise, we're going to need to transfer 100% of the blockchain before we can start participating.  Similarly, it also seems to exclude the possibility of pruning the blockchain.

@jyellick couple of points

Agree about storing chaincode on state. We have played with that idea a bit but will be done in the chaincode life-cycle work
regardless of where it is stored, chaincode still needs to be accessed and docker image created (if not found). This could happen potentially for many reasons. This issue is for that

@muralisrini I guess I'm unsure why this should be tied to state transfer? It seems like if the container crashes, or the system reboots, that the containers will also be gone.  Seems like containers should be launched on demand if they don't exist? Or is this some sort of latency problem that says they need to deploy these ahead of time?

@jyellick right, that's how I read this issue. As suggested in #1472 the issue really is "chaincode image need to be created if one does not exist". Basically we launch the chaincode on demand and if that fails with "image not found" create the image too.  I guess "state transfer" merely refers to the scenario that surfaced this issue in the first place ?

@muralisrini Ah okay, I read this as "state transfer need to inspect each block as it arrives, and deploy any chaincodes which it contains".  If that's not how it was intended, great, then is seems like we are on the same page.
To me, the bigger problem here, is that we don't know if a particular block is needed.
Imagine the scenario where the network is at block 8,000,000 and a peer is at block 7,000,000.  It does a state transfer, and now has block 8,000,000, and its state corresponds to block 8,000,000, but it is missing blocks 7,000,001 through 7,999,999.  Aside from the chaincodes which might reside in those blocks, there's no technical reason that the peer cannot start executing transactions and creating new blocks.  In fact, that was the whole argument for transferring state snapshots rather than playing transactions forward via blocks.  But, we have no way to know if those missing blocks contain a deployed chaincode, which is a problem.

@jyellick : now that you mention it, I hope that's not the intent. Chaincode does not know anything about block arrivals or consensus. The separation is clean and we'd better have a VERY good reason to break the separation.
My interpretation of this issue was based on The peer, vp1, still does not have a docker image and container for the 2nd deployed transaction. in #1472

Shutdown vp1.
Run a new deploy transaction. The remaining 4 peers successfully execute the 2nd chaincode deploy transaction.
Run 10 invokes on the 2nd deployed transaction. All 4 remaining peers are in sync in terms of chain height and block hashes.
Start vp1.
Run continuous invoke transactions on the 2nd deployed transaction at a rate of 1 invoke per second.
vp1 occasionally catches up in chain height with matching block hashes, but still lags behind. The peer, vp1, still does not have a docker image and container for the 2nd deployed transaction.

@muralisrini Sounds like my interpretation was incorrect (hence my opposition), if this is simple covering the fact that 'the recovery mechanism also need to work after state transfer', then we're on the same page.


Can we enable windows login?

We use integrated security allot on our dev machines. I was wondering if we can connect to docker instance using Windows Authentication

If you are using Windows containers then you can theoretically use global managed service accounts to do this.
https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/manage-serviceaccounts
We havent spent much time testing that though.
We are working on Kerberos/AD auth for Linux containers now.  Please see the status of that on issue #165


fix:use correct error message for git import failures

Description

Instead of the generic error message which confuses the user during the git sync failure due to the hydration from file to db or vice versa, we are now showing a better error message which does not confuse the user.

Type of change

Chore (housekeeping or task changes that don't impact user perception)

How Has This Been Tested?

Manual

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=522f974

/ok-to-test sha=26c323e


Mini legend mode

Issue Addressed
This PR addresses outstanding issues with  MOVE-1117, MOVE-1109, and MOVE-1124.
Note: this is not 25 commits! it's only 8. I started this branch off of the old one, and we did a squash+merge.
it adds the Legend mini-mode and prevents the redundant map popup when the sidebar opens.
Description
Legend mini-mode

adds a third state to the Legend, and cleans-up the existing collapse logic

prevent popup on side-panel

removes the creation of a map popup during a sidebar-creation event.

Misc

css tweaks after demo meeting
remove double loading spinners from sidebar
adds a hover popup on the filter button
rolls-back the scroll-through feature of MOVE-1126.

gonna pull this one back, for another pass at it


Make request_user_information return the returned bool from Steamworks

Returns the bool from RequestUserInformation signifying if the data is already immediately available or not.

Thanks!


Flag --etcd.endpoint default

Hi !
When using etcd backend, the default is set to "<IP_ADDRESS>:400" : configuration.go

// default Etcd
var defaultEtcd provider.Etcd
defaultEtcd.Watch = true
defaultEtcd.Endpoint = "<IP_ADDRESS>:400"
defaultEtcd.Prefix = "/traefik"
defaultEtcd.Constraints = []types.Constraint{}

But in fact, the legacy default port, for etcdv1, was over 4001.
Maybe you freed this one for BoltDB.
Today, most of the etcd v2 or v3 consider you are running for clients over 2379 (2380 against peers), so can I suggest to set up the default over 2379 ?
iana etcd
Thanks a lot for the project !

seems sensible


canMoveToIndexPath returns false but item is still moved.

canMoveToIndexPath has no effect
self.delegate?.collectionView?(self.collectionView!, atIndexPath: atIndexPath!, canMoveToIndexPath: toIndexPath!)
Should return here

I fixed it.

If this is fixed, the issue should be closed.


React Bootstrap ListGroupItem and Button component hrefs are resulting in page loads.

The hrefs on React Bootstrap's ListGroupItem and Button components are currently resulting in page loads.  Suggest a refactor to Link for Buttons and browserHistory.push() for ListGroupItems.

Any update on this? I'm new to meteor and everything about this boilerplate.

Hi Cim,
I submitted a pull request to correct the behavior.  Each ListGroupItem
needs an onClick handler pointing to a function that uses
browserHistory.push() and the hrefs removed.  The Buttons can be wrapped in
a Link element from React Router.
Paul
(760) 390-3534
On Thu, Dec 1, 2016 at 2:00 PM, Cim<EMAIL_ADDRESS>wrote:

Any update on this? I'm new to meteor and everything about this
boilerplate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/themeteorchef/base/issues/205#issuecomment-264308866,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALL9GeBJtpOpZUZfhV3UGhKiULmJpOaSks5rD0NvgaJpZM4K89sp
.

Thanks for the update! I added your code to the plate and it works like it should.

Good to hear!

or React Router Bootstrap can be implemented :)

Going to close this out as this is being merged in the next release :)


Can't transcribe

Checks

[X] This template is only for usage issues encountered.
[X] I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
[X] I have searched for existing issues, including closed ones, and couldn't find a solution.
[X] I confirm that I am using English to submit this report in order to facilitate communication.

Environment Details
Windows 10, Python 3.10.9, Gradio 5.7.0
Steps to Reproduce

Create virtual environment by running the command python -m venv venv
Activate environment by running the command python -m venv venv
Run command f5-tts_finetune-gradio
Open URL http://<IP_ADDRESS>:7860/
Enter a "Project Name"
Select "Create a New Project"
Copy dataset to data/{project_name}/dataset
Check "Audio from Path"
Select "Transcribe"

✔ Expected Behavior
Audio transcribed, metadata.csv created.
❌ Actual Behavior
When I select "Create a New Project", I get the following in the terminal:
C:\Users\jimmy\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py:1749: UserWarning: A function (load_settings) returned too many output values (needed: 17, returned: 18). Ignoring extra values.
    Output components:
        [radio, number, number, radio, number, number, number, number, number, number, number, checkbox, textbox, radio, textbox, radio, radio]
    Output values returned:
        ["F5TTS_Base", 1e-05, 1000, "frame", 64, 1, 1, 100, 2, 300, 100, True, "", "pinyin", "", "none", "wandb", False]
  warnings.warn(

When I select "Transcribe", I get the following in Info:
transcribe complete samples : 0
path : F:\AI\F5\F5-TTS\src\f5_tts\..\..\data\jinx_p_pinyin\wavs
error files : 129

The folder "wavs" is created, but it only has one file in it named segment_0.wav.
A metadata.csv file is also created, but it's empty.

not sure if it's with ffmpeg (install #162 #297

The issue I encountered is similar to yours - there was no error message displayed in the terminal. I attempted various audio lengths and even tried converting 41kHz audio to 24kHz, but unfortunately faced the same problem. Is there any possible solution for this?

Have the same exact error as OP. Installed and pathed ffmpeg, but that did not fix the issue. Any help would be appreciated, thanks.

Tried reinstalling everything from scratch, including ffmpeg and repathing it. Same thing. One very small, 3-second wav file in the wavs folder, metadata.csv with nothing in it, and the following message in gradio:
transcribe complete samples : 0
error files : 148

So, this is clearly broken for some of us for some unknown reason.

Could it maybe have the wrong path? I just noticed that the path it lists in the error doesn't exist. It appears to be repeating the root folder in the address. For instance, for mine:
F:\AI\F5\F5-TTS\src\f5_tts....\data\kari1_pinyin\wavs
should just be:
F:\AI\F5\F5-TTS\data\kari1_char\wavs

So was looking at GPT-SoVITS and part of it's install is to physically place both ffmpeg.exe and ffprobe.exe files into the root directory. I tried this with F5-TTS and it worked. You can't just install them apparently.


Add ItemDivider in NearbyListFragment

Summary:
Currently, There is no ItemDivider used in the NearbyListFragment. adding an ItemDivider will make it look cleaner and will help users to understand how the content is organized.
Steps to reproduce:

Go to nearby from navigation drawer.
Select list mode.

Expected behavior:

Observed behavior:

I have made a fix, creating PR very soon.

@knight-shade Really appreciate your enthusiasm but @ayushin78 had already raised a PR for the same issue. That PR is now merged.
Closing this PR. Please feel free to take up other issues. :)


No slack attribute when unit set to outage with 0 max capacity and 0 volume bids

Hi there,
First of all, thanks for all your work on this package and excellent documentation!
I've encounter a small issue with some inputs I was trying. After some work, I found the issue was partly due to some iffy inputs of mine (stemming from an upstream model), but the error message I was getting wasn't particularly illuminating, so maybe something can be done to save someone else some debugging time.
Specifically, the inputs I used have a unit on outage. This is set by having the volume bids all set to 0, and the maximum capacity set to 0. With this, I get an exception thrown when nempy tries to read the slack of the constraint. I'm guessing the solver has dropped the constraint altogether as it is solved identically.
Below is a minimal example. Tried in nempy version 1.1.5, python-mip 1.15.0.
import pandas as pd
from nempy import markets

# Unit 'C' is on outage, energy bids all 0

volume_bids = pd.DataFrame({
    'unit': ['A', 'B', 'C'],
    '1': [20.0, 50.0, 0.0],
    '2': [20.0, 30.0, 0.0],
    '3': [5.0, 10.0, 0.0]
})

price_bids = pd.DataFrame({
    'unit': ['A', 'B', 'C'],
    '1': [50.0, 50.0, 0.0],
    '2': [60.0, 55.0, 0.0],
    '3': [100.0, 80.0, 0.0]
})

unit_info = pd.DataFrame({
    'unit': ['A', 'B', 'C'],
    'region': ['NSW', 'NSW', 'NSW'],
})

# Max capacity also set to 0 for unit 'C'
max_capacity = pd.DataFrame({
    'unit': ['A', 'B', 'C'],
    'capacity': [50.0, 100.0, 0.0],
})

demand = pd.DataFrame({
    'region': ['NSW'],
    'demand': [120.0]
})

market = markets.SpotMarket(unit_info=unit_info,
                            market_regions=['NSW'])
market.set_unit_volume_bids(volume_bids)
market.set_unit_price_bids(price_bids)
market.set_demand_constraints(demand)
market.set_unit_bid_capacity_constraints(max_capacity)

market.dispatch()

The dispatch call raises AttributeError: 'NoneType' object has no attribute 'slack'
in  InterfaceToSolver.get_slack_in_constraints
I think as a fix, at a minimum a more useful error message could be set here, but a more comprehensive change would be to have a default slack for eliminated constraints eg change
slack = constraints_type_and_rhs['constraint_id'].apply(lambda x: self.mip_model.constr_by_name(str(x)).slack,
                                                                self.mip_model)

to
slack = constraints_type_and_rhs['constraint_id'].apply(
    lambda x: getattr(self.mip_model.constr_by_name(str(x)), "slack", 0.0),
    self.mip_model
)

(Unrelated, but I think that second argument to .apply is unused)
This might have broader consequences though and maybe 0.0 isn't the correct default.
Cheers.

Actually I realise it's not the solver that dropped the constraint, it's that nempy doesn't create decision variables for 0 capacity bids, so the capacity constraint contains no variables.

Hi @dehorsley,
Thanks for raising this issue, really appreciate the feedback. Also, thanks for including an example to reproduce the error.
I think there are three options to fix this,

When set_unit_bid_capacity_constraints is run, check that there are decision variables for each unit and if some are missing explicitly throw an error that says this.
When set_unit_bid_capacity_constraints is run, don't set constraints for units without decision variables and warn the user.
When set_unit_bid_capacity_constraints is run, silently don't set constraints for units without decision variables.

Any thoughts as user about which one sounds most reasonable to you?

Hi @nick-gorman,
Thanks for the quick response. I think option 3 would be my preferred solution. My thinking is that not adding decision variables for 0 capacity bids is kind of an optimisation nempy is doing, so not something a user needs to worry about.
On the other hand, perhaps option 2 would catch some user errors on input, but at least in my case 😄 not something I'd need.

After a bit more investigating, I think this bug could be replicated across most if not all constraint types, i.e. other cases where the user specifies constraint but they never get created because there are no LHS variables.
From a functionality and performance perspective, this is fine. Even preferable from a performance perspective.
But solving the no slack problem using my above suggestions will be difficult to replicate across all instances of the bug.
So I think your original suggestion to have a default value might be the best solution to patch the bug across all constraint types.
I think a default of zero makes sense for constraints with no LHS variables, although this behaviour should be documented so users don't get confused.

Fixed with release: https://github.com/UNSW-CEEM/nempy/releases/tag/v1.1.6


python311Packages.cffi: patch failing test

Steps To Reproduce
Steps to reproduce the behavior:
nix build nixpkgs#python311Packages.cffi
Build log
https://gist.github.com/voidus/90ea9dbfb3cbf08c026d866ca6acb8c8
Additional context
I debugged the issue and fixed the test, but upstream gitlab is down: https://foss.heptapod.net/pypy/cffi
Not sure how to best proceed, we could keep this open, I can submit it upstream in the next days and then remove the patch maybe?
Notify maintainers
@domenkozar @LnL7
Description of changes
Added a patch to fix the failing tests
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage

I didn't do that because a) no idea how to find the presumably huge number of affected packages and b) it doesn't build at all right now

[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
> nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/q1drpnp5qifc38akiv4r169ll7cizisp-nix-info
copying path '/nix/store/q1drpnp5qifc38akiv4r169ll7cizisp-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.0.2-arch1-1, Arch Linux, noversion, rolling`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `""`
 - channels(voyd): `"home-manager, nixpkgs"`
 - channels(testie): `"nixpkgs"`
 - nixpkgs: `/home/voyd/.nix-defexpr/channels/nixpkgs`

We could also unconditionally include the patch, because the test suite already detects the python version, but I like that it's obvious from the nix code what the patch is supposed to affect

Pushed again with a better commit message

Upstream issue: https://foss.heptapod.net/pypy/cffi/-/issues/551

Upstream already has another patch for this, I'll update this to pull that one.


Use default metrics port 10255

Metrics-server is usually part of monitoring stacks for Kubernetes clusters. It queries kubelets via their metrics API, which is usually exposed via port 10255.
We've been running Kip in host network mode, thus moving the metrics endpoint to a different port. However, metrics-server can only set the metrics port on a per cluster basis, thus either monitor only virtual-kubelet instances or regular kubelet instances.
Thus, we need to move the metrics port to 10255.
A possible solution is to run Kip without host network mode. There are two caveats:

We need kube-proxy in a sidecar, to put in place nodeport and clusterIP redirects.
Access to the metadata service of the instance. I tested it briefly, and it seems to work on GCE even from inside pods. I haven't tested AWS.

The goal here is to

add kube-proxy sidecar,
run Kip without host network mode and
test node ports and general functionality of Kip.

Example pod spec with kube-proxy added as a sidecar:
  containers:
  - command:
    - /bin/sh
    - -c
    - exec kube-proxy --master=https://34.XX.XX.XXX --kubeconfig=/var/lib/kube-proxy/kubeconfig
      --cluster-cidr=<IP_ADDRESS>/16 --resource-container="" --oom-score-adj=-998
      --v=2
    image: gke.gcr.io/kube-proxy:v1.14.10-gke.36
    imagePullPolicy: IfNotPresent
    name: kube-proxy
    resources:
      requests:
        cpu: 100m
    securityContext:
      privileged: true
    volumeMounts:
    - mountPath: /etc/ssl/certs
      name: etc-ssl-certs
      readOnly: true
    - mountPath: /usr/share/ca-certificates
      name: usr-ca-certs
      readOnly: true
    - mountPath: /var/lib/kube-proxy/kubeconfig
      name: kube-proxy-kubeconfig
    - mountPath: /run/xtables.lock
      name: xtables-lock
    - mountPath: /lib/modules
      name: lib-modules
      readOnly: true
  - command:
    - /virtual-kubelet
    - --provider
    - kip
    - --provider-config
    - /etc/virtual-kubelet/provider.yaml
    - --network-agent-secret
    - kube-system/vk-network-agent
    - --disable-taint
    - --klog.logtostderr
    - --klog.v=5
    - --metrics-addr=:10255
    - --debug-server
    env:
    - name: KUBELET_PORT
      value: "10666"
    - name: APISERVER_CERT_LOCATION
      value: /opt/kip/data/kubelet-pki/virtual-kubelet.crt
    - name: APISERVER_KEY_LOCATION
      value: /opt/kip/data/kubelet-pki/virtual-kubelet.key
    - name: NODE_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    image: elotl/virtual-kubelet:v0.0.4-4-gc0c246b
    imagePullPolicy: Always
    name: virtual-kubelet
    resources:
      limits:
        cpu: "2"
        memory: 1Gi
      requests:
        cpu: 100m
        memory: 100Mi
    securityContext:
      privileged: true
    volumeMounts:
    - mountPath: /opt/kip/data
      name: data
    - mountPath: /etc/virtual-kubelet
      name: provider-yaml
    - mountPath: /run/xtables.lock
      name: xtables-lock
    - mountPath: /lib/modules
      name: lib-modules
      readOnly: true
  dnsPolicy: ClusterFirst
  initContainers:
  - command:
    - bash
    - -c
    - mkdir -p $CERT_DIR && /opt/csr/get-cert.sh
    env:
    - name: NODE_NAME
      value: virtual-kubelet
    - name: CERT_DIR
      value: /data/kubelet-pki
    image: elotl/init-cert:latest
    imagePullPolicy: Always
    name: init-cert
    volumeMounts:
    - mountPath: /data
      name: data
  restartPolicy: Always
  serviceAccount: virtual-kubelet
  serviceAccountName: virtual-kubelet
  tolerations:
  - effect: NoSchedule
    key: node-role.kubernetes.io/master
  volumes:
  - name: data
    persistentVolumeClaim:
      claimName: provider-data
  - configMap:
      defaultMode: 420
      items:
      - key: cloudinit.yaml
        mode: 384
        path: cloudinit.yaml
      - key: provider.yaml
        mode: 384
        path: provider.yaml
      name: virtual-kubelet-config-799kbh2d6d
    name: provider-yaml
  - hostPath:
      path: /run/xtables.lock
      type: FileOrCreate
    name: xtables-lock
  - hostPath:
      path: /lib/modules
      type: ""
    name: lib-modules
  - hostPath:
      path: /usr/share/ca-certificates
      type: ""
    name: usr-ca-certs
  - hostPath:
      path: /etc/ssl/certs
      type: ""
    name: etc-ssl-certs
  - hostPath:
      path: /var/lib/kube-proxy/kubeconfig
      type: FileOrCreate
    name: kube-proxy-kubeconfig

Fixed via https://github.com/elotl/kip/pull/103


Bundle Inspector clients into NuGet packages for IDE extensions

This is the first step to fixing https://github.com/Microsoft/workbooks/issues/23.
Both Xamarin Workbooks.app and Xamarin Inspector.app now have all files they need directly in the app bundle, instead of depending on /Library/Frameworks/Xamarin.Interactive.framework. Specifically, forms support and (in the case of Inspector) agent assemblies have been moved to SharedSupport/Agents. We can remove Xamarin.Interactive.framework as soon as we're ready to drop 15.5 support.
updateinfo and buildinfo have moved from Resources to SharedSupport within the app bundles.
Our package build now also generates a Xamarin.Inspector.Mac NuGet package, which can be consumed by the VSmac Inspector extension, so that the extension will no longer require a compatible installation of Xamarin Workbooks.
A corresponding Xamarin.Inspector.Windows NuGet package for VS has also been added, with no changes to the workbooks client install.
InteractiveInstallation has been trimmed down to reflect the fact that we don't need to locate agent files (or clients) from either client app. On Windows and Mac, "installed" items are found relative to the client exe, instead of using absolute framework paths or checking registry keys.
Update checking has been disabled in all Inspector clients.

How this will work once we adopt the new package in VSmac:

@abock I'm not really sure how we'd say "bundled with IDE x.y.z" without having the IDE extensions pass more info to the client at launch time. And we could do that...I'm just not super sure how useful the extra work would be.
We already know the IDEs they have from Copy Info. We can determine from that if they're using a bundled Inspector. So I don't think it's useful for us.
There are probably some Inspector users who will notice the split. But they're probably also the type that read release notes so I just don't think we need to go to the extra effort here (which is why I prefer to hide update UI instead of adding messaging there).
Side note: it will be very easy to change our minds about this later now that we can push new clients to the IDE extensions (mostly) at our whim. :-)

In terms of finding out which IDE version the client was bundled with, you could walk up the tree and look for the folder containing the VS isolation file (devenv.isolation.ini), which has all of that information, if we wanted it. Looks good otherwise, though!

@bojanrajkovic yeah, the IDE doesn't need to pass anything. Just walk up.

Good point on IDE sniffing!


Add SQLAlchemy storage

#319, #345
Heavily inspired by oauth2client.contrib.django_orm.

I have pushed new changes, as suggested. Note that this code was heavily inspired by existing Django module (including coding style and documentation quality).

Note that this code was heavily inspired by existing Django module (including coding style and documentation quality).

I'm sorry you give you the impression of inconsistency here - but we are holding new changes to a higher standard than existing code. @waprin is working on re-writing the django modules to better fit our new standards and documentation quality.

@miedzinski this is getting close, most of my nits are just around documentation and such. Thank you for this.
Once I'm satisfied, one of the other reviewers will do a final review. :)

Done.

I'm reasonably satisfied. @nathanielmanistaatgoogle do you want to take a look?

@nathanielmanistaatgoogle seems to be very busy, @miedzinski please feel free to bug me tomorrow if he hasn't responded. Since this lives in contrib, I'd be okay with merging it.

Done with my first round of review.

There you go.


Add docs

and a bunch of other small things, including fixes to IEKF suggested by mitch

At a glance, seems fine. Would maybe add a section to README about how to use/make documentation and how code should be annotated for it to work (i.e. the VS code numpy docstring extension).

Was already on it! haha . Done!

At a glance, seems fine. Would maybe add a section to README about how to use/make documentation and how code should be annotated for it to work (i.e. the VS code numpy docstring extension).


Show more than the next week

discussed on the discord, mainly dependent on dayMap, ties in with #48

ah, ty

Closed in https://github.com/niles-bot/Niles/commit/11bf5872d3308e05349f9512644f851fbcc2dffb


Add Reactplay community to contributors and communities as well

Reactplay is an excellent community for helping folks to get into open source, learn and showwcase their work created by Tapas Adhikary.
Not only is it for frontend but developers can also learn a lot many things about development. I recommend letting more people know about React play to contribute and join the community.

@vasantisuthar would you like to go ahead and create a pr for this?

Sure


Sped up Element._sort

Redid the logic for Element._sort to reduce operations:

before
after

branches
4
3

getters
8
5

ops
6
3

This will make the biggest difference with hot reload.
Here is the profile of rebuilding a large app over and over again which is what lead me to looking at Element._sort:

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

How much does this speed things up on the rebuild benchmarks?

I have a number but I'm not sure how much I trust it until I've played around with the new benchmark a bit more.  It can be demonstrated that there is no path through this code as it was originally written that does less operations.

I wrote a microbenchmark for this but the results were just showing a 1% improvement.  I suspect the slowness is elsewhere in dart (like List.operator[]=, or function invocation).  I can add the microbenchmark if you want but I don't think it's worth the effort when we can demonstrate logically that it is faster and that it is actually a hot spot for some usage of the framework.

what if you make Element.depth not late?

what if you make Element.depth not late?

In my microbenchmarks I was comparing without _depth being late: https://gist.github.com/gaaclarke/98ab1e38fcea413693afbb2f8a9e0f60

(added screenshot in description that shows Element._sort showing up in the rebuild benchmark profile)

sorry I'm not really following, did you see a performance improvement from this change?

sorry I'm not really following, did you see a performance improvement from this change?

Yes, the linked microbenchmark does show an improvement.  It is however small to the point where I didn't do statistics to determine a likelihood when we can evaluate the codes performance logically.  Is there a doubt that it is faster?  Let me know what your concern is and I can address it better.  We can look at the generated assembly if you want, or just explain it.

This does reduce the readability of the code a lot. :/

If there were a Wikipedia URL of what you are using (probably it is not the first time someone has ever used ^ for sorting, maybe could be more useful.

This does reduce the readability of the code a lot. :/
If this is actually proven faster, there should probably be a comment in the code explaining what this is doing.

I added comments.  I think that clears it up.  It isn't really a trick, it's just that people don't xor often.

I don't really think this sort of change is worth landing. I think its OK if we were speeding up something that is slow, or if we didn't speed something up but made it easier to read/simpler. But in this case we're rewriting code that isn't really on any critical path and that doesn't make it any clearer. What is the goal here?

I switched the xor for not equals, they are functionally equivalent and I think removes a lot of the confusion in the code.

I have the same questions that Jonah raised in https://github.com/flutter/flutter/pull/104103#issuecomment-1131970146. Have those been answered somewhere?

I have the same questions that Jonah raised in #104103 (comment). Have those been answered somewhere?

@goderbauer  Yes, we had a discussion offline where he agreed it is worth merging as long as your concerns about making it clear are addressed (mentioned here: https://github.com/flutter/flutter/pull/104103#issuecomment-1132052204).  I hate to talk to him, feel free to correct me if you want @jonahwilliams.  I imagine those concerns are even less now that I've removed xor.  It doesn't affect clarity at all.
This function is called thousands of times (n log n, where n is the number of Elements) when we do hot reload.  The work was done to make it faster.  It would be a shame to throw out the savings that can be demonstrated by looking at the generated code, counting operations, or running benchmarks, just because it doesn't look how we'd first think about it.

I have a very high tolerance for "unreadable code" so I don't feel comfortable making the call on whether or not this is worth it. I agree with Aaron that lots of small changes do add up, but of course there is always the risk we make something worse too 🤣

My readability concerns are mostly addressed.

This function is called thousands of times (n log n, where n is the number of Elements) when we do hot reload. The work was done to make it faster. It would be a shame to throw out the savings that can be demonstrated by looking at the generated code, counting operations, or running benchmarks, just because it doesn't look how we'd first think about it.

So, there are benchmarks showing that this is faster? What are the numbers?

So, there are benchmarks showing that this is faster? What are the numbers?

@goderbauer with the following microbenchmark it is 27% faster on arm64 ios profile builds.  This is the minimum benefit since Element uses polymorphism and this is the fastest possible implementation, just a straight field.  I didn't think checking in a microbenchmark in the case was worth the maintenance since it's clearly faster (to my eyes).
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:developer';

import 'package:flutter/material.dart';

import '../common.dart';

const int _kNumIterations = 100000;

class _Widget extends Widget {
  @override
  Element createElement() {
    throw UnimplementedError();
  }
}

class _Element extends Element {
  _Element(this.depth, this.dirty) : super(_Widget());

  @override
  final int depth;

  @override
  final bool dirty;

  @override
  bool get debugDoingBuild => throw UnimplementedError();

  @override
  void performRebuild() {}
}

void main() {
  assert(false,
      "Don't run benchmarks in debug mode! Use 'flutter run --release'.");
  final BenchmarkResultPrinter printer = BenchmarkResultPrinter();

  final Element a = _Element(0, false);
  final Element b = _Element(1, false);
  final Element c = _Element(0, true);
  final Element d = _Element(1, true);

  final Stopwatch watch = Stopwatch();
  int tally = 0;
  watch.start();
  for (int i = 0; i < _kNumIterations; i += 1) {
    tally += Element.sort(a, a);
    tally += Element.sort(a, b);
    tally += Element.sort(a, c);
    tally += Element.sort(a, d);
    tally += Element.sort(b, c);
    tally += Element.sort(b, d);
    tally += Element.sort(c, d);
  }
  watch.stop();
  if (tally < 0) {
    print("this shouldn't happen.");
  }

  printer.addResult(
    description: 'Element.sort',
    value: watch.elapsedMicroseconds.toDouble() / _kNumIterations,
    unit: 'us per iteration',
    name: 'element_sort',
  );

  printer.printToStdout();
}


How to use in pure .md

How can I use astro-seo in markdown files?
I am using Astro Starlight and would love to display custom  tags defined in my Frontmatter.
For example
<meta property="fc:frame" content="vNext" />

when using Starlight to extend head I can't get it in there as in my .md
title: "My sample .md"
head:
  - tag: meta
    content: vNext

doesn't give me the equivalent as it's missing property
How would I do this with astro-seo? in .astro pages I could use the SEO component and pass the extended meta tags though I can't use components in .md files and would love to do it in frontmatter
is there a solution potentially with just pure .md? or if not then with .mdx?

This is related to Starlight and not to astro-seo, you can use any frontmatter property in the layout you create for rendering your markdown files. I am using astro-seo from md files for my blog without any problem.
I am not familiar with Starlight but take a look at Head.astro in their repo as it is there where the seo info is inserted, but I don't think they are using astro-seo.


How to install patch-releases of components using Helm?

I am using Helm tigera operator chart (v3.26.1) to install the calico.
It successfully figures out how to get the images (like calico/node or calico/pod2daemon-flexvol) v3.26.1 from my repo.
However I can't figure out is how to tell it to use the patch-versions (like v3.26.1-69-g92752fc266f3). The documentation (reference/installation) tells me that images are loaded from
Image format:<registry><imagePath>/<imagePrefix><imageName>:<image-tag>
and there are ways how to specify <registry>, <imagePath> or <imagePrefix>, but there is no mention of how to specify custom .
Could you please advice how to do that?

With some more research I realised that when I use the Tigera Operator Helm, then the image names and version to use seem to be hard-coded inside the tigera/operator image.
Using
docker run quay.io/tigera/operator:v1.30.7-0-g8cbb161896a4 --print-images=list
one can list these images and version.
However it's still not clear to me if/how is there any way to utilize the images with the patch-tags (e.g. v3.26.1-69-g92752fc266f3) in this case.

The patch tags are pre-release developer versions, not intended for general availability.

However I can't figure out is how to tell it to use the patch-versions (like v3.26.1-69-g92752fc266f3). The documentation (reference/installation) tells me that images are loaded from

To close this off, those are development versions and not officially released. You can build the helm chart yourself and/or modify the images, but that's not a supported flow and is just a developer workflow.


docs: update docs: Overview

Review the actual docs and check if they are up-to-date:

links are up-to-date to the latest and greatest
provided documentation is correct
check if the documentation is complete (all features, parameters, etc.)

* links are up-to-date to the latest and greatest

✅

* provided documentation is correct

✅

* check if the documentation is complete (all features, parameters, etc.)

✅


Web-everywhere IE10 plugin shows white window with "ATL 8.0: WebRTC Plugin" Text in the center

https://groups.google.com/forum/#!topic/webrtc-everywhere/AeZVy_aVcKE

Fixed in release 1.2.2 (https://github.com/sarandogou/webrtc-everywhere/releases/tag/1.2.2)