Select which server to use based on query url parameter

Describe the bug
Currently the dashboard automatically goes to the last used server, so if I have 2 servers with different index names and reopen the browser tab, it will fail
e.g.
To Reproduce
Assume you have 2 servers

connect to server 1
navigate to any index
open a new tab
connect to server 2
navigate back to the tab with server 1
refresh the page

Expected behavior
The url should refer to the used server, so we should have
/index?server=....&index=IndexOnServer1
and if server is omitted, we use the last connected server

Hi @ahmednfwela
Thanks for your feedback, I think that target server by url will be a nice idea, it will be added soon.


Support for passing parameter

I would like to pass tag of my docker image as a parameter as this:
  image: xxx/yyy:${docker_image_paramater}

Is it possible to support this?
Thanks for your project.

Sounds good. :+1:
I'm going to support this plan by command line options, what do you think?

Would be super cool.

@cemo Sorry for delay. I resolved this issue. Please check it out.
https://github.com/stormcat24/ecs-formation#passing-custom-parameters

Thanks for your time @stormcat24.


Allow zero fee in fee_schemas

If a claim specifies the fee field, but sets amount to zero, the daemon will error out (see lbry://the-handbook-of-technical-analysis)
Allow claims to have a fee field with amount zero , and treat it as free content.

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

          1 Message

:book:
See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines

  Generated by :no_entry_sign: Danger

I think we should delete lbrynet.metadata altogether instead. The 0 fee case would previously have thrown an error in the old JSON schema, and I think it's only because I didn't port the JSON tests to lbryschema that it crept in.
I think it's correct to throw an error when publishing with a 0 fee - it's dead space in the claim and another address in the publisher's wallet. I think the handling of such claims should be in lbryschema, and probably should strip such a fee out instead of handling it upon resolve/download in lbrynet.


Mjpeg carrier gives error

Hi all! I am trying to transfer iCub cam images to a non-YARP application. Here I must mention that I didn't install YARP and iCub from sources. I installed from executables on Windows. Now I am trying to transfer images using mjpeg carrier but the errors give me impression that the required libraries are not installed. If so, please help me how can I tell YARP to enable support for the carrier mjpeg?
This is what I did to test this connection on my pc,
yarpdev --device test_grabber --name /grabber

yarpview --name /view
Getting error in response to the connection
yarp connect /grabber /view mjpeg

For my satisfaction I tried to get images in firefox,

and here is the error,

Thanks in advance.

Unfortunately, the mjpeg carrier is not shipped with the binary packages yet.
At the moment the only way to get mjpeg working is to build it from sources.
Anyway, since the plugin system should be working properly, I think that we can try building it and sending you the dll, but you need to let us know which version of MSVC you downloaded, and which architecture (32 or 64 bit).

Thank you very much for your kind favor. I installed YARP for Visual Studio v11 (2012), 32 bit.

@muhammadalidildar I think this should be all you need to get it working, but I couldn't try it... mjpeg_carrier_v11_x86_0.zip
You have to extract the dll's in the plugin folder (that should be something like C:\Program Files\robotology\yarp\lib\yarp). I'm not sure if there is a Debug/Release somewhere (either before lib, or before or after the second yarp. Eventually you have to put

yarp_mjpeg.dll in the Release folder
yarp_mjpegd.dll and yarp_mjpegd.pdb in the Debug folder

Otherwise just put all the files in the same folder.
You should already have a file mjpeg.ini in C:\Program Files\robotology\yarp\share\yarp\plugins, if it is missing, you can download it from here: https://raw.githubusercontent.com/robotology/yarp/v2.3.64/src/carriers/mjpeg_carrier/mjpeg.ini
You should then be able to test if the plugin is working by running on a terminal yarp plugin mjpeg.
If you don't get errors, then everything should be working properly, and you can try again with the connection.
Let me know if you manage to get it working (also if the paths are correct).

Hi! I just placed all the three files in C:\Program Files (x86)\robotology\yarp-2.3.64\lib\yarp and for the .ini file, I already had it in the right place. Now its working fine.
I am very much thankful and satisfied with your kind support.
Thanks once again.


 Path

main.ccp
The file "Source" cannot be opened: "leo_firmware / diff_drive_controller.h" .C / C ++ (1696)
Same for diff_drive, logging, sensors,untils
c_cpp_properties.json
cant find extensions
Use Vsc Extension Husarion 1.5.22

Fixed !
Problem with Husarion Extension (Set wrong Paths).


Fixed broken links on MRTK3 HL2 deployment docs

Fixes #613

@SahilMayenkar : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@SahilMayenkar : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@SahilMayenkar I'm going to close the issue related to this. Thanks for the update!


Disable sonames on Android

In CMake, we should be disabling sonames on Android since they aren't supported.

This doesn't appear to be a problem at the moment - presumably the toolchain file is handling this for us?


Issue #1077 - end-with-newline with css

https://github.com/Glavin001/atom-beautify/issues/1077

Thanks for contributing!

Published to v0.29.11


Update configure-vmware-syslogs.md

Corrected VMware product names.

@rvandenbedem : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"


New package: RODE.RODECentral version 2.0.41

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

@wingetbot run

@stephengillie I am not sure what the command is to retry the pipeline, are you able to retry it?

Automatic Validation ended with:

Installation failed with exit code -1978335141

/AzurePipelines run

@stephengillie I am not sure what the command is to retry the pipeline, are you able to retry it?

One sure way to trigger another run is to make any change to the manifest, including an arbitrary change such as adding a space or line break.

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{89A4A3E3-CCF0-40E9-9B73-6C28AA33F932}\RODECentral.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{89A4A3E3-CCF0-40E9-9B73-6C28AA33F932}\RODECentral.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{D742CB1C-CAA5-4675-AD29-9B0EE782A3C9}\icon.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{D742CB1C-CAA5-4675-AD29-9B0EE782A3C9}\icon.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.

Manual Validation ended with:

PS C:\Users\User\Desktop> &"C:\Windows\Installer{89A4A3E3-CCF0-40E9-9B73-6C28AA33F932}\RODECentral.exe" Program 'RODECentral.exe' failed to run: The specified executable is not a valid application for this OS platform.

@stephengillie I am unable to duplicate that error. It installs just fine on my windows 10 machine.

Hi @jahvari,
I might be launching it incorrectly. What is the normal way of interacting with this application?

@stephengillie It is just a normal application. You install it, and then launch it. It seems to work just fine on PC that runs Windows 10.

Automatic Validation ended with:

Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{89A4A3E3-CCF0-40E9-9B73-6C28AA33F932}\RODECentral.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{89A4A3E3-CCF0-40E9-9B73-6C28AA33F932}\RODECentral.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) Exception during executable launch operation System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'C:\Windows\Installer{D742CB1C-CAA5-4675-AD29-9B0EE782A3C9}\icon.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.)  ---> System.ComponentModel.Win32Exception (216): An error occurred trying to start process 'C:\Windows\Installer{D742CB1C-CAA5-4675-AD29-9B0EE782A3C9}\icon.exe' with working directory 'D:\TOOLS'. The specified executable is not a valid application for this OS platform.

Manual Validation ended with:

Faulting application name: RODE Central.exe, version: <IP_ADDRESS>, time stamp: 0x6555fc47
Faulting module name: RODE Central.exe, version: <IP_ADDRESS>, time stamp: 0x6555fc47 Exception code: 0xc0000005 Fault offset: 0x00000000008f4b46
Faulting process id: 0x2a54
Faulting application start time: 0x01da33757fb27cb3
Faulting application path: C:\Program Files\RØDE Microphones\RODE Central\RODE Central.exe
Faulting module path: C:\Program Files\RØDE Microphones\RODE Central\RODE Central.exe Report Id: 9b90e742-72b9-42a4-8a5a-fbe8ef0675e7
Faulting package full name:
Faulting package-relative application ID:

(Automated response - build 487.)

In a Windows 10 VM, the application has both as Desktop shortcut and a Start menu shortcut. But launching with either generates the error above.

Does this package have any software dependencies?
Does this package work if there's no microphone plugged in?


feat: port fun/game commands from skyra

Ports the following commands:

[x] love
[x] rate
[x] pop
c4
hunger-games
tic-tac-toe
trivia

These changes are related to the Skyra v7 rewrite

c4, hunger-games, tic-tac-toe, and trivia will have separate PRs as suggested by @kyranet so then each finished command can be released and removed from Skyra faster.

This way we don't have to fetch the message, we just generate a new one :p

If this is about what I mentioned to you earlier about having to fetch the message so I could get the embed, I did later figure out I didn't need to fetch it so none of those changes are necessary to resolve the problem now as it's resolved already; unless you do prefer to have these changes, however, that is a very lengthy/messy-looking custom_id.

Also, for /love I was thinking of remaking it as a Canvas command to generate cards, but that requires some art and design, I'm open for feedback for a future PR ^w^

I could see us using /ship as a baseline for this and perhaps converting /rate into a Canvas command too.

custom_id can be as long as 100 characters, so it's fine! And this is nowhere near the complexity of connect-four's custom_id :P


[BEAM-12550] Parallelizable kurtosis Implementation

This PR adds a parallelizable implementation of pandas kurtosis, using the same approach as the parallelizable std/var/skew.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @TheNeuralBit
Looks like there are a couple of tests failing here, namely with:
pandas/_libs/testing.pyx:168: AssertionError
Couldn't find evidence of this, but wondering if its because of the fact that pandas doesn't support kurtosis for GroupBys (https://github.com/pandas-dev/pandas/issues/40139)?

The pandas/_libs/testing.pyx errors look like real errors in test_dataframe_agg_method:
>   ???
E   AssertionError: Series are different
E
E   Series values are different (50.0 %)
E   [index]: [A, B]
E   [left]:  [-1.1999999999999993, -1.699511634587763]
E   [right]: [-1.200000000000001, -0.40130739795918835]

They just happen to come from pd.testing.assert_frames_equal, which we use to verify if DataFrame results are equivalent:  https://github.com/apache/beam/blob/a3bb58dbd4fc6a59f93f69f9ab1980f8232b6e82/sdks/python/apache_beam/dataframe/frames_test.py#L175-L176
I also see a couple of failures for test_series_cov_corr indicating it may be a little flaky, like this one:
apache_beam/dataframe/frames_test.py:191: in _run_test
    self.assertTrue(
E   AssertionError: False is not true : Expected:
E
E   -1.2
E
E   Actual:
E
E   -1.1999545602598247

That's off by just 5e-5, but I guess it's enough for np.isclose to consider it different. If we can rule out an actual cause for this difference, we may want to plumb through an option for increasing the tolerance, like we discussed for skew. But it seems like something else may be going on here.
The error in test_dataframe_agg_method does look like a hard failure, if you look here you can see it failed in every run:

and it's consistently producing -0.4 rather than -1.7 for column B. I'd suggest looking closer at the column B case from that test: https://github.com/apache/beam/blob/a3bb58dbd4fc6a59f93f69f9ab1980f8232b6e82/sdks/python/apache_beam/dataframe/frames_test.py#L1491

@TheNeuralBit PTAL. Removed the rtol and atol on this case since I tested the "closeness" on a sufficient amount of different datasets.

kurt now parallelizable as well.


Select2 crashes Chrome (time out)

When i try to configure select2 in chrome. The window crashes.
Chrome version: 47.0.2526.73 m
Works fine on Firefox.

Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?

What steps can be used to reproduce the issue?
What is the bug and what is the expected outcome?
What browser(s) and Operating System have you tested with?
Does the bug happen consistently across all tested browsers?
What version of jQuery are you using? And what version of Select2?
Are you using Select2 with other plugins?

The contributing guide contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it.  The creation of an isolated test case would also be useful.

Didn't mean to close this earlier, so I'll tag it as a duplicate of https://github.com/select2/select2/issues/4002.


Consider implementing a basic C++ syntax tree

Currently https://github.com/dtolnay/cxx/blob/0.2.9/gen/write.rs is implemented by directly writing out fragments of C++ as text using write!.
It may be easier in the long run if we have this code generator build up an output syntax tree instead, then have a separate pass to pretty-print the syntax tree out as text.

Tagging help wanted for someone to help prototype what this might look like; not necessarily to convert the entire code generator up front but just enough to be able to assess how much of an improvement this might be.


Fixed Evaluation for Checkmate and Stalemate

I apologize, my previous code had an error that would cause an IndexError if the position was a checkmate or statemate

Thank you very much!


New dev env section

Added a new Development environment section. This will house such things as working with env vars, editor setup and other dev env related things.
Fixes: #1939
Once merged, merge the redirects PR: https://github.com/prisma/homepage-v8/pull/311

Environment variables are not a "development environment" concern, they also affect deployments.

It was decided a while ago, by none other than you and martina 😅 That while not 100% ideal, placing env vars info in a new section called development environment would be a step in the right direction: https://prisma-company.slack.com/archives/C5Z9TH6N9/p1624520976365200?thread_ts=1624464292.357500&cid=C5Z9TH6N9


questadmin reload / prerequisites

I am currently using the latest version of the plugin, and minecraft 1.15.2, and when I use / questadmin reload all items of all quest prerequisites disappears from my quests.

Closing as OP did not follow issue instructions (missing Quests version, example quest).


Update old electron target engine for dependencies (ready to be merged)

This fixes dependencies of Hyper that build based on the engine being used (nodegit for example). Uses electron’s process version so we’re always up to date.
Without this, plugins like hyperterm-sync-settings (will be renamed soon) will break.

Makes sense – thanks! 😄


Exit to a new storyboard without navigation

Hello,
I'm using iOS Slide Menu and so far I like it.
There's one thing that I'm not able to figure out: by pressing a button in the left menu I need to switch to another storyboard that doesn't have a navigation controller.
If I do:
UIStoryboard *currentStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
HDLoginViewController *vc = [currentStoryboard instantiateViewControllerWithIdentifier:@"login"];
[[SlideNavigationController sharedInstance] popAllAndSwitchToViewController:vc withSlideOutAnimation:YES andCompletion:nil];

the app moves to the storyboard I need, but it keeps the menu navigation controller.
Is there anyway to eliminate the navigation controller when switching storyboards?
Thanks.

Hide the navbar
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UINavigationController_Class/#//apple_ref/occ/instm/UINavigationController/setNavigationBarHidden:animated:

I tried, but the navbar is not a subview of the left menu, it's a subview of the home viewcontroller.

navbar is the subview of the navigationController, navigationcontroller is shared across the viewcontrollers in the stack


System chaincode execution framework

For efficiency, we want the system chaincode to run within its peer process (not in container) and able to access a set of services from the peer via system API. We need to define and implement the following:

Life-cycle
System API
All regular chaincode interface (ACL, address, name, etc)

The current design is at https://github.com/hyperledger/fabric/wiki/System-Chaincode-Specification

@binhn can this be closed?


Enforce RTLIL Wire/Const limit size of 2^24

This commit adds asserts to the RTLIL parser to ensure that a wire definition is no more than 2^24 bits wide, as well as that RTLIL Consts can not have a negative width nor be wider than 2^24 bits.
This addresses #1206 and #3317

I think the correct thing to use here is log_error rather than throwing an exception. I doubt any code is going to catch it anyway.

Possibly, I'll see how it feels with log_error, I also need to test to see how things like memories interact with the changes, although all the tests pass we don't have any that would directly exercise this code that I know of, so more work absolutely needs to be done on it.

Looking at the surrounding code, +1 on log_error.

We need to test where large consts may be created:

memory initialization
FSM transition tables
others?


Relax version constraint to include Resque version 2.5

Hey,
resque v2.5 was released a month ago. I had a brief look at the changes and tested resque-multi-job-forks with the new resque version locally.

Everything looks good to me to also include resque 2.5 in the version constraint. If there is anything left you want me to test, I'm happy to assist.
Cheers

Now there's even a 2.6 version or resque available. @stulentsev any chance of updating and releasing a new version of the gem to allow < 2.7 ?

oh damn, I didn't do this? My bad. Let me see what I can do.

pushed 0.5.7. Sorry about the delay @dgimb89.


Update Balancer Safe App

Entry type

Update
Note that the old v2 app is still live at https://app.balancer.fi but we want to remove that old app and use the new one instead (live at https://balancer.fi)

Related question:
Note that the new https://balancer.fi leads to our landing page where clicking Launch app goes to the real app at https://balancer.fi/pools. So I believe it makes more sense to serve the manifest.json from /pools like we do here. Do you have a recommendation?
App info
URL:
https://balancer.fi/pools
Name:
Balancer
Description:
Balancer is a battle-tested toolkit for true AMM experimentation and innovation.
Icon (PNG, 180x180):

Homepage:
https://balancer.fi
Twitter:
https://x.com/Balancer
GitHub:
https://github.com/balancer
Discord:
https://discord.balancer.fi/
App supports batching multiple transactions via Safe: not yet (it is in the roadmap)
Supported networks
Ethereum (Mainnet)
Arbitrum
Avalanche
Base
Fantom
Fraxtal
Gnosis
Mode
Optimism
Polygon
Polygon Zkevm
Revision checks

[x] Used smart contracts were audited.
[x] You have implemented the app using the Safe Apps SDK
[x] Your Safe App includes a manifest.json file at the root. Link to manifest
[x] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
[x] The app auto-connects to the Safe as a wallet
[x] It doesn't try to connect to the browser wallet (e.g. MetaMask)
[x] You are able to trigger and execute one transaction with a Safe.
[x] RPC requests are optimized (not triggering many requests in a very short time period).

Audit document
https://github.com/balancer/balancer-v2-monorepo/tree/master/audits
Code for review
https://github.com/balancer/frontend-v3
Team information
Company:
Balancer
Official website:
balancer.fi
Point of contact:
https://discord.balancer.fi/

Reviewed and approved by the Product team.

@agualis yes, it makes sense to open directly /pools. Let me know when the manifest is there and I'll update the URL. Will use https://balancer.fi for now.

Updated the app here: https://app.safe.global/share/safe-app?appUrl=https%3A%2F%2Fbalancer.fi&chain=eth

Also please note that the new icon isn't very visible in dark mode. If you have the logo on e.g. white background, that'd be better.

Hey @katspaugh
I confirm that we already have this manifest.json:
https://balancer.fi/pools/manifest.json
so the Safe app can point to https://balancer.fi/pools
Here is the updated logo:

Thank you!

Hey @katspaugh,
would it be possible to have different urls for the app and the manifest?
For instance:
App: https://balancer.fi/pools
Manifest: https://balancer.fi/balancer/manifest.json
Context:
We are working in a new app that will be built within the same nextjs repository but next does not allow to dynamically generate 2 different manifest.json like this:
https://balancer.fi/pools/manifest.json
https://beets.fi/pools/manifest.json
The only workaround would be using this option to have two different manifests like this:
https://balancer.fi/balancer/manifest.json
https://beets.fi/beets/manifest.json
Thanks!

AFAIU Safe Apps manifest.json has nothing to do with the one Next.js helps generate. It's just a static file you can write by hand and serve from any URL you want.

You can choose to serve the same manifest.json  that next generates or you can use an static version.
If there's no other chance we will do the second but in case you supported that option it would simplify our build process.

Hey @katspaugh,
A possible fix for this issue is to retrieve the path to the manifest dynamically from the (custom) app's page. It is then the (custom) app's responsibility to make sure this path is correct and available.
I have created a suggestion here. Let me know what you think about it.

We won't be changing the way the manifest is loaded at this time, sorry.

Ok thanks. We will find a workaround in our side.


[QUESTION] Thread safe problem about HandlerState#changeToReadyState

I'm not sure if it's bug. It's more a question. As we can see, https://github.com/apache/pulsar/blob/608929227824fe4303f46aa432e42af77bcbf625/pulsar-client/src/main/java/org/apache/pulsar/client/impl/HandlerState.java#L53-L56
HandlerState#changeToReadyState is not an atomic operation. I'm not sure there's a race case like following timeline

Time
Event
State Before
State Now

1
STATE_UPDATER.compareAndSet(this, State.Uninitialized, State.Ready)
State.Connecting
State.Connecting

2
setState(State.Uninitialized)
State.Connecting
State.Uninitialized

3
STATE_UPDATER.compareAndSet(this, State.Connecting, State.Ready)
State.Uninitialized
State.Uninitialized

4
STATE_UPDATER.compareAndSet(this, State.RegisteringSchema, State.Ready)
State.Uninitialized
State.Uninitialized

As we can see, there's a time point that the state was changed back to Uninitialized from Connecting. However, we should expect the state to be Ready because neither Uninitialized nor Connecting was a closed state.
I see references of changeToReadyState in ProducerImpl and ConsumerImpl were protected by the lock directly or indirectly, like https://github.com/apache/pulsar/blob/608929227824fe4303f46aa432e42af77bcbf625/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L738-L739
I'm not sure if the lock works because it requires some setState invocations are protected by the lock and I didn't check it in detail.
And in TransactionMetaStoreHandler#connectionOpened, there's no lock.
https://github.com/apache/pulsar/blob/608929227824fe4303f46aa432e42af77bcbf625/pulsar-client/src/main/java/org/apache/pulsar/client/impl/TransactionMetaStoreHandler.java#L115-L117
I'm not sure if the thread safety could be guaranteed. IMO, if there's no possibility that the state was changed back to Connecting or Uninitialized during changeToReadyState, it will be thread safe. Or this race condition is acceptable?

Is following implementation better?
    private static boolean notClosed(State state) {
        return state == State.Uninitialized || state == State.Connecting || state == State.RegisteringSchema;
    }

    // moves the state to ready if it wasn't closed
    protected boolean changeToReadyState() {
        return STATE_UPDATER.getAndUpdate(this, state -> (notClosed(state) ? State.Ready : state)) == State.Ready;
    }

The issue had no activity for 30 days, mark with Stale label.


Pruning issue

Awesome job!
Recently, I have read your paper and have a question about the way you prune the weight. In the paper, you write as following

M^g_{i,j} is set to zero for all j in g-th group for each pruned output feature map i.

Maybe it should be implemented as
self._mask[d, i:i+d_in, :, :].fill_(0)
rather than
https://github.com/jianghaojun/CondenseNetV2/blob/c771957cb8fe466d0ecbafe9060e4c342a33fc4d/utils/layers.py#L247
Is there anything wrong of my understanding?

Thanks for your attention. We implement the Shuffle Operation[1] between each group inside the mask. The Shuffle Operation is mentioned in section 3.2 architecture design.
[1]ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devices

你好，你的邮件付盛豪已经收到啦，会尽快处理哒~


arg sequence is wrong

codes:
       // prepare sql statement
	t1, t2 := b.Table(dept.Table), b.Table(dept.Table)

	tr := b.Table("tr")
	withRecursive := sql.WithRecursive("tr")

	withRecursive.SetDialect(dialect.Postgres)
	queries := sql.Queries{
		withRecursive.As(
			b.Select(t1.Columns(dept.FieldID, dept.FieldName, dept.FieldParentID)...).
				From(t1).
				Where(
					sql.And(
						sql.Or(
							sql.And(
								sql.P(func(bd *sql.Builder) {
									bd.WriteString("0 = ").Arg(deptID)

								}),
								sql.EQ(dept.FieldParentID, deptID),
							),
							sql.EQ(dept.FieldID, deptID),
						),
						sql.EQ(dept.FieldProjectID, projectID),
						sql.EQ(dept.FieldIsDeleted, false),
					),
				).
				UnionAll(
					b.Select(t2.Columns(dept.FieldID, dept.FieldName, dept.FieldParentID)...).
						From(t2).Join(tr).On(tr.C(dept.FieldID), t2.C(dept.FieldParentID)).
						Where(
							sql.EQ(dept.FieldIsDeleted, false),
						),
				),
		),
		b.Update(dept.Table).Set(dept.FieldIsDeleted, true).
			Where(
				sql.In(dept.FieldID, b.Select(tr.C(dept.FieldID)).From(tr)),
			),
	}

	smt2, args2 := queries.Query()
	fmt.Println(smt2, args2)

sql statement print with pretty by hand:
WITH RECURSIVE "tr" AS (
	SELECT
		"dept"."id",
		"dept"."name",
		"dept"."parent_id"
	FROM
		"dept"
	WHERE
		( ( 0 = $1 AND "parent_id" = $2 ) OR "id" = $3 )
		AND "project_id" = $4
		AND NOT "is_deleted" UNION ALL
	SELECT
		"dept"."id",
		"dept"."name",
		"dept"."parent_id"
	FROM
		"dept"
		JOIN "tr" AS "t1" ON "t1"."id" = "dept"."parent_id"
	WHERE
		NOT "is_deleted"
	) UPDATE "dept"
	SET "is_deleted" = $1
WHERE
	"id" IN ( SELECT "t1"."id" FROM "tr" AS "t1" )

 [0 0 0 2 true]

It seems elements in sql.Queries are not using the same squence and causing error in the last $. Expecting something like .... SET "is_deleted" = $5 .....

Hi there my friend. I want to create a recursive CTE just like yours. Just curious, how do you initialize some of the variables at the beginning? Like, what'sb and what's sql? I just have ent client instance in my code but not sure how to get to the code you have.

Hi there my friend. I want to create a recursive CTE just like yours. Just curious, how do you initialize some of the variables at the beginning? Like, what'sb and what's sql? I just have ent client instance in my code but not sure how to get to the code you have.

sql need not to be defined by yourself while it's defined in entgo.io/ent/dialect/sql and can be used after importing the package. As you are using ent, I suppose it must have been imported already.
b is defined as b := sql.Dialect(dialect.Postgres) by myself. When you are using database not mysql-compatible, you have to define a DialectBuilder to replace sql. If you are using mysql-compatible client, you can replace b to sql as default behavier of the builder is mysql-compliant. This will affect the final sql statement generated. Take the above as an example. If use sql directly, all double-quotes in the sql statement will be changed to backquote and the sql statement will be look like below. The below sql statement is not possible to be excuted by postgres.
WITH RECURSIVE `tr` AS (
	SELECT
		`dept`.`id`,
		`dept`.`name`,
		`dept`.`parent_id`
...
...


Final Project

🏰 BuidlGuidl 📝 Grant Application
Once all the Batch issues have been fixed, BuidlGuidl wants to fund your next night and weekend build with ≈500 USD.
Think of it like a mini hackathon! ⛵ Build something that you learn from, can possibly teach others, doesn't necessarily have to be a product or a big thing!
Don't stress about inventing something new; feel free to take an existing idea and add your unique touch to it. The key is, it should be something you can complete over a couple weeks.
🧾 What to Do:

Submit Your Idea:  Once the batch is over head over to our BG grants to submit an application: Submission link TBA

🕵♀ We’ll look into the ideas and help you refine the project to build if needed. It might take some back & forth on the proposal! We'll sent you 50% on grant approval, and 50% at the end when the build is submitted.
👉 Form Deadline: Make sure to fill out the form and submit your idea by - TBA
👉 Project Due Date: Once approved, you have 2 weeks to submit your build
Project Submission Requirements:

2-3 Minute Video: Each project must include a short video (2-3 minutes) showcasing what you’ve built.
Good README: Make sure your project repository has a well-documented README.

Looking forward to seeing your awesome projects!

Hello,
Is it possible to submit a project as a group? or we need to submit one project per person?

@wildanvin we ask folks to submit one per person - the goal is to give you a chance to learn, build, and share whatever you're excited about.


Increment Version

@JuliaRegistrator register() ACTRModels v0.6.12

Registration pull request created: JuliaRegistries/General/37261
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.6.12 -m "<description of version>" ebb8864f6f5d01cfc0c33aa1ecf9371664951b7a
git push origin v0.6.12


Changes from PR #225 break existing workflow

Hi all,
Looks like the changes in https://github.com/billimek/billimek-charts/pull/225 break my setup.  Historically, I have even prior to kubernetes used downloads on separate storage devices than my media. The changes in the charts from #225 seemingly break this workflow.  While it is correct that data is copied until it's cleaned, this may be intentional to many users.
(Example, my downloads go to a fast ssd backed pvc for checking and unrarring, while media is moved to slower spinners in a large pool once complete.
Can we add support for this back in @WojoInc or @billimek ? Happy to fork and try to support both worlds, but as of now, existing charts will break for my setup with this result.

Hi @bezerker, is it possible for you to leverage the extraExistingClaimMounts setting to achieve having separate volumes for downloads and media/tv ?
When we originally discussed introducing the breaking change, it seemed like the default behavior of having downloads & media be on the same volume was preferable to having them separate due to the performance implications.
@abel408 or @WojoInc any thoughts about this to contribute?

Just to chime in a little, I've got the same workflow as @bezerker.  I ended up using extraExistingClaimMounts to successfully replicate the old behavior, it worked well.  Ended up with an extra stanza like:
        extraExistingClaimMounts:
          - name: download-scratch
            mountPath: /downloads
            existingClaim: download-scratch

Then adjusted the paths everywhere in the web-ui (all hail mass editor) and everything worked as before

I believe I should be able to do this. I'll test this tonight and verify.

Finally got around to testing this. This seems to work fine. Thanks for the help guys!


[BUG] Terraform ssh_keys and cloudinit collides

Describe the bug

When adding a virtualmachine via terraform (see below for config) and defining both ssh_keys and cloudinit there is a collision happening somewhere.
In the UI it shows that it added the public key:

But according the the YAML output, it uses the defined cloudinit config:

If i check the guest VM, it ran the cloudinit config, and didn't add the key.
To Reproduce
Steps to reproduce the behavior:

Apply the terraform below

Expected behavior

Either an error that you can't define both at the same time, or merge them on the fly
Support bundle

Environment:

Harvester ISO version: 1.0.0
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): vmware

Additional context
Terraform
resource "harvester_virtualmachine" "ubuntu20-dev" {
  depends_on = [harvester_image.ubuntu20, harvester_network.vlan59]

  name        = "ubuntu-dev"
  description = "test raw image"

  tags = {
    ssh-user = "ubuntu"
  }

  cpu    = 1
  memory = "1Gi"

  start        = true
  hostname     = "ubuntu-dev"
  machine_type = "q35"

  ssh_keys = [
    "jellyfrog"
  ]

  network_interface {
    name         = "nic-1"
    model        = "virtio"
    type         = "bridge"
    network_name = "default/vlan59"
  }

  disk {
    name       = "rootdisk"
    type       = "disk"
    size       = "10Gi"
    bus        = "virtio"
    boot_order = 1

    image       = "ubuntu20"
    auto_delete = true
  }

  cloudinit {
    user_data    = <<-EOF
      #cloud-config
      user: ubuntu
      password: root
      chpasswd:
        expire: false
      ssh_pwauth: true
      package_update: true
      packages:
        - qemu-guest-agent
        - nginx
      runcmd:
        - - systemctl
          - enable
          - '--now'
          - qemu-guest-agent
        - - systemctl
          - enable
          - '--now'
          - nginx
      EOF
    network_data = ""
  }
}

Generated yaml in harvester*:
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  annotations:
    field.cattle.io/description: test raw image
    harvesterhci.io/volumeClaimTemplates: '[{"metadata":{"name":"ubuntu-dev-rootdisk-pvrqc","creationTimestamp":null,"annotations":{"harvesterhci.io/imageId":"default/ubuntu20","terraform-provider-harvester-auto-delete":"true"}},"spec":{"accessModes":["ReadWriteMany"],"resources":{"requests":{"storage":"10Gi"}},"storageClassName":"longhorn-ubuntu20","volumeMode":"Block"},"status":{}}]'
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/storage-observed-api-version: v1alpha3
  creationTimestamp: "2022-01-12T15:06:59Z"
  finalizers:
  - wrangler.cattle.io/VMController.UnsetOwnerOfPVCs
  generation: 2
  labels:
    harvesterhci.io/creator: terraform-provider-harvester
    harvesterhci.io/vmName: ubuntu-dev
    tag.harvesterhci.io/ssh-user: ubuntu
  managedFields:
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .: {}
          f:field.cattle.io/description: {}
          f:harvesterhci.io/volumeClaimTemplates: {}
        f:labels:
          .: {}
          f:harvesterhci.io/creator: {}
          f:harvesterhci.io/vmName: {}
          f:tag.harvesterhci.io/ssh-user: {}
      f:spec:
        .: {}
        f:running: {}
        f:template:
          .: {}
          f:metadata:
            .: {}
            f:annotations: {}
            f:creationTimestamp: {}
            f:labels: {}
          f:spec:
            .: {}
            f:affinity:
              .: {}
              f:podAntiAffinity:
                .: {}
                f:preferredDuringSchedulingIgnoredDuringExecution: {}
            f:domain:
              .: {}
              f:cpu:
                .: {}
                f:cores: {}
              f:devices:
                .: {}
                f:disks: {}
              f:machine:
                .: {}
                f:type: {}
              f:resources:
                .: {}
                f:limits:
                  .: {}
                  f:cpu: {}
                  f:memory: {}
            f:evictionStrategy: {}
            f:hostname: {}
            f:networks: {}
            f:volumes: {}
    manager: terraform-provider-harvester_v0.2.9
    operation: Update
    time: "2022-01-12T15:06:59Z"
  - apiVersion: kubevirt.io/v1alpha3
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          f:kubevirt.io/latest-observed-api-version: {}
          f:kubevirt.io/storage-observed-api-version: {}
      f:status:
        .: {}
        f:conditions: {}
        f:created: {}
        f:printableStatus: {}
        f:ready: {}
        f:volumeSnapshotStatuses: {}
    manager: Go-http-client
    operation: Update
    time: "2022-01-12T15:07:28Z"
  - apiVersion: kubevirt.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers:
          .: {}
          v:"wrangler.cattle.io/VMController.UnsetOwnerOfPVCs": {}
      f:spec:
        f:template:
          f:spec:
            f:domain:
              f:devices:
                f:interfaces: {}
    manager: harvester
    operation: Update
    time: "2022-01-12T15:07:28Z"
  name: ubuntu-dev
  namespace: default
  resourceVersion: "555333"
  uid: 4e51cd88-0059-494c-aa98-2fdf000c1da7
spec:
  running: true
  template:
    metadata:
      annotations:
        harvesterhci.io/sshNames: '["default/jellyfrog"]'
      creationTimestamp: null
      labels:
        harvesterhci.io/creator: terraform-provider-harvester
        harvesterhci.io/vmName: ubuntu-dev
        tag.harvesterhci.io/ssh-user: ubuntu
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: harvesterhci.io/creator
                  operator: Exists
              topologyKey: kubernetes.io/hostname
            weight: 100
      domain:
        cpu:
          cores: 1
        devices:
          disks:
          - bootOrder: 1
            disk:
              bus: virtio
            name: rootdisk
          - disk:
              bus: virtio
            name: cloudinitdisk
          interfaces:
          - bridge: {}
            macAddress: a6:13:fe:79:e8:66
            model: virtio
            name: nic-1
        machine:
          type: q35
        memory:
          guest: 924Mi
        resources:
          limits:
            cpu: "1"
            memory: 1Gi
          requests:
            cpu: 62m
            memory: 682Mi
      evictionStrategy: LiveMigrate
      hostname: ubuntu-dev
      networks:
      - multus:
          networkName: default/vlan59
        name: nic-1
      volumes:
      - name: rootdisk
        persistentVolumeClaim:
          claimName: ubuntu-dev-rootdisk-pvrqc
      - cloudInitNoCloud:
          userData: |
            #cloud-config
            user: ubuntu
            password: root
            chpasswd:
              expire: false
            ssh_pwauth: true
            package_update: true
            packages:
              - qemu-guest-agent
              - nginx
            runcmd:
              - - systemctl
                - enable
                - '--now'
                - qemu-guest-agent
              - - systemctl
                - enable
                - '--now'
                - nginx
        name: cloudinitdisk
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2022-01-12T15:07:21Z"
    status: "True"
    type: Ready
  created: true
  printableStatus: Running
  ready: true
  volumeSnapshotStatuses:
  - enabled: true
    name: rootdisk
  - enabled: false
    name: cloudinitdisk
    reason: Snapshot is not supported for this volumeSource type [cloudinitdisk]

Test plan:

Build and Install the master-head terraform-provider-harvester by manual
After terraform apply

If you specify ssh key names in harvester_virtualmachine's ssh_keys, but missing ssh public keys in cloud-int userdata ssh_authorized_keys section, will failed.
If you specify ssh key names in harvester_virtualmachine's ssh_keys, and specify the ssh public keys in cloud-int userdata ssh_authorized_keys section, will succeed.
If you do not specify ssh key names in harvester_virtualmachine's ssh_keys, will succeed.

pending on https://github.com/harvester/terraform-provider-harvester/pull/29 fix

Verified this bug has been fixed.

[x] Positive ssh_keys + cloudinit.userdata.ssh_authorized_keys
[x] Positive cloudinit.userdata.ssh_authorized_keys
[x] Negative ssh_keys

Test Information

Environment: qemu/KVM 3 nodes
Harvester Version: master-bfd6a8a9-head
ui-source Option: Auto
terraform-provider-harvester Version: 05ee443a699f6ebf1b0da5e87f3f9fdcbfd9c4cf

Verify Steps:

Install Harvester with any Nodes
Create Image for VM creation
Spawn Docker container environment for terraform (based on https://github.com/harvester/terraform-provider-harvester/wiki/Use-the-master-head-docker-image-for-testing)
Create the ssh.tf file as below, update <THE_EXISTED_SSH_KEY>,<THE SSH KEY> and <THE_IMAGE_NAME> then terraform apply

resource "harvester_virtualmachine" "opensuse-dev" {

  name        = "opensuse-dev"
  description = "test raw image"

  tags = {
    ssh-user = "opensuse"
  }

  cpu    = 1
  memory = "1Gi"

  start        = true
  hostname     = "opensuse-dev"
  machine_type = "q35"

  ssh_keys = [<THE_EXISTED_SSH_KEY>]

  network_interface {
    name         = "nic-1"
  }

  disk {
    name       = "rootdisk"
    type       = "disk"
    size       = "10Gi"
    bus        = "virtio"
    boot_order = 1

    image       = "default/<THE_IMAGE_NAME>"
    auto_delete = true
  }

  cloudinit {
    user_data    = <<-EOF
      #cloud-config
      user: opensuse
      password: root
      chpasswd:
        expire: false
      ssh_pwauth: true
      ssh_authorized_keys:
        - >-
          <THE SSH KEY>
      EOF
    network_data = ""
  }
}

The VM should be created
Login to VM, ~/.ssh/authorized_keys should contain assigned SSH KEYS


Define OrderData Model

@estapitta consider this validation: If a user completes an order, that order should keep the price of the item at the time when they checked out even if the price of the product later changes

I updated according to Garrett's code. let me know if i need to fix anything else :)


draft: feat(plugins): AI Family plugin docs

Description
Draft commit to create Netlify link for "AI Family" plugins.
Testing instructions
Preview link:
Checklist

[x] Review label added
[x] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

Closing this in favor of https://github.com/Kong/docs.konghq.com/pull/6779, which does a bunch more setup + has all the rest of the plugins ready for you to work on. I'll pull your drafts into that PR.


Update 1.15.5 - Classic Era 20th Anniversary

Hi,
can you update to the latest Classic Era 20th Anniversary Version 1.15.5.
Would be awesome.
Thanks a lot!

I updated the repository, but I can't create a release via mobile. I may be able to get to it on Sunday.

New version released with Classic Era version updated.


update to lodash ^4.2.1

so the dependence is not longer deprecated

Thanks, could you please change the commit message to follow our convention?

sure, like that?
I'm not really sure, how to edit the body of the commit.

@geisslercom reset the branch and do your changes with correct commit messages again.

@geisslercom you can use git commit --amend to change the message of the last commit

Afterwards you'll need to git push -f <remote> <branchname>

@geisslercom one more thing, looks like there is merge conflict now. Could you rebase onto the latests master please (git fetch <remote> && git rebase <remote>/master)


Entrypoint page refactoring

Hi all, I wanted to get some feedback regarding some stylistic changes to the entrypoint page. Below are some screenshots, let me know if you have any suggestions.
Some of the bigger changes I made were to the "Tabs" at the bottom of the page (Steps, Datasets, and Notebook) and the "Associated Materials" accordion. I also removed the "share" button for now, as that wasn't implemented previously (maybe that can be a future issue/PR). And then some small spacing/layout changes. Thanks!

Overall this looks great! I just have some styling things.
Is there a way to add more of the original styling back in? One of the reasons we went with this component library was because it was supposed to be easy to add our styling. I would really like the green on the tabs to come back.
The share button is working in production, so could you add that back?
The eyeball icon should be on the left side of "At a glance".
Could you remove the white background on the copy button on the test function?

This looks really great to me! KJ covered most of what I had to say--but I was wondering if you were going to replace all the icons with similar ones from the component library. I know we were going for consistency, so I was wondering if you also replaced the icons everywhere else on the website, because the original ones were not from the component library, but from a Tailwind icon library. I agree with adding the green back on the tabs, since Garden already has a very limited color palette.

Thanks all! I made those changes and they are active on this branch if you want to take a look.
Regarding the icons- the shadcn component library includes an icon library called Lucide. Lucide has a good variety of icons that I feel should cover most of our needs. So far I have been going page by page to substitute our icons for the equivalent ones from Lucide (so far I've done home, search, and now entrypoint page). However, if there is an icon you want that you don't see within Lucide, we can always include the raw svg in our project. If you go this route, I think it makes sense to make a separate component file for that icon, just so we don't have to copy/paste these svg's around, and they also tend to make the code a bit less readable. Hope that makes sense!
Last thing is the "associated materials" section. Here's how it looks on my branch:

I made the github logo a bit smaller from production and adjusted some spacing. Let me know if you have any alternative preferences for this section. Thanks 😄

The associated materials section looks good to me! Is the 'Visit Repository' button new?

The associated materials section looks good to me! Is the 'Visit Repository' button new?

It's not new, I think most of the current gardens just don't have GitHub repos associated with them yet. Here's an example of what this section looks like in production:

@shane-jung I resolved merge conflicts in this PR. Can you take a look and make sure everything is running as you want it to?

Actually, I'll merge it into staging and we can preview there


VS Code still have to access internet when installing extensions with local VSIX file

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.63.2
OS Version: Windows 10 20H2 and Ubuntu 18.04.5 (with remote-ssh scenario)

Steps to Reproduce:

Scenario A: Install extension with a VSIX file using command line tool on Windows 10 or Ubuntu 18.04.5

Prepare an extension vsix file (e.g., Prettier or Python)
Use the following command to install extension with the vsix file

code --install-extension <path to the vsix file>

Scenario B: Install extension with a VSIX file using VS Code UI on Windows 10

Prepare an extension vsix file (e.g., Prettier or Python)
In the "Extensions" view, click "Install from VSIX" and select the vsix file to be installed.

Scenario C: Install extension with a VSIX file using VS Code UI on remote Ubuntu Server (remote-ssh activated)

Setup remote-ssh extension and environment settings
Connect to the remote Ubuntu server
In the remote-ssh VS Code window, click "Install from VSIX" and select the vsix file on the remote Ubuntu server to be installed.

Problem States:
In my company network, both local Windows PC and remote Ubuntu Linux terminal server are not allowed to access internet with firewall settings blocked.
Therefore, I downloaded the extension vsix files in my home and sent them to my company PC and installed them with the steps mentioned above.
However, I found that when installing extensions from vsix files, before VS Code start to extract contents from the vsix files, VS Code still tried to access the Microsoft marketplace, which makes it waste a lot of time (about 2minutes per installation) waiting VS Code request timeout and then start to do the extraction and installation.
In my understanding, all the content needed for installing an extension are all included in the vsix file.
Why do VS Code still need to send POST request to marketplace every time at the beginning when installing from vsix file?
Or, if is it possible to provide a configuration option to disable this behavior, or at least make users have a chance to set the timeout value for requests sent by VS Code to Microsoft marketplace?
Here is the log when installing extension with vsix file on my PC which can access internet (I set --log trace),
as you can see, it accessed the marketplace in the log
TRACE RequestService#request https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery
TRACE Started scanning user extensions
 INFO CLI main {
  _: [],
  diff: false,
  add: false,
  goto: false,
  'new-window': false,
  'reuse-window': false,
  wait: false,
  help: false,
  'list-extensions': false,
  'show-versions': false,
  'install-extension': [
    'C:\\Users\\mtk23649.DOMAIN_MTK\\Desktop\\VSCode Portable\\extensions\\esbenp.prettier-vscode\\esbenp.prettier-vscode-9.1.0.vsix'
  ],
  'pre-release': false,
  version: false,
  verbose: false,
  log: 'trace',
  status: false,
  'prof-startup': false,
  'no-cached-data': false,
  'prof-v8-extensions': false,
  'disable-extensions': false,
  'disable-gpu': false,
  'ms-enable-electron-run-as-node': false,
  telemetry: false,
  debugRenderer: false,
  logExtensionHostCommunication: false,
  'skip-release-notes': false,
  'skip-welcome': false,
  'disable-telemetry': false,
  'disable-updates': false,
  'disable-keytar': false,
  'disable-workspace-trust': false,
  'disable-crash-reporter': false,
  'skip-add-to-recently-opened': false,
  'unity-launch': false,
  'open-url': false,
  'file-write': false,
  'file-chmod': false,
  'driver-verbose': false,
  force: false,
  'do-not-sync': false,
  trace: false,
  'force-user-env': false,
  'force-disable-user-env': false,
  'open-devtools': false,
  __sandbox: false,
  'no-proxy-server': false,
  'no-sandbox': false,
  nolazy: false,
  'force-renderer-accessibility': false,
  'ignore-certificate-errors': false,
  'allow-insecure-localhost': false,
  logsPath: 'C:\\Users\\mtk23649.DOMAIN_MTK\\Desktop\\VSCode Portable\\stables\\VSCode-win32-x64-1.63.2\\data\\user-data\\logs\\20220211T152929'
}
Installing extensions...
TRACE Started scanning user extensions
TRACE Scanned user extensions: 4
TRACE Scanned user extensions: 4
(node:28292) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
TRACE Started scanning user extensions
TRACE Scanned user extensions: 4
TRACE ExtensionManagementService#install file:///c%3A/Users/mtk23649.DOMAIN_MTK/Desktop/VSCode%20Portable/extensions/esbenp.prettier-vscode/esbenp.prettier-vscode-9.1.0.vsix
 INFO Installing extension: esbenp.prettier-vscode
TRACE Started scanning system extensions
TRACE Started scanning user extensions
TRACE Scanned user extensions: 4
TRACE Scanned system extensions: 86
TRACE Started scanning system extensions
TRACE Started scanning user extensions
TRACE Scanned user extensions: 4
TRACE Scanned system extensions: 86
TRACE Started scanning user extensions
TRACE Scanned user extensions: 4
TRACE RequestService#request https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery
TRACE resolveShellEnv(): skipped (Windows)
TRACE Started extracting the extension from c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\extensions\esbenp.prettier-vscode\esbenp.prettier-vscode-9.1.0.vsix to C:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [ADDED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
TRACE [File Watcher (node.js)] [CHANGED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224
 INFO Extracted extension to C:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\.3be0a99b-f662-4b55-8289-5651a1ebb224: esbenp.prettier-vscode
TRACE [File Watcher (node.js)] [ADDED] c:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\esbenp.prettier-vscode-9.1.0
 INFO Renamed to C:\Users\mtk23649.DOMAIN_MTK\Desktop\VSCode Portable\stables\VSCode-win32-x64-1.63.2\data\extensions\esbenp.prettier-vscode-9.1.0
 INFO Extracting completed. esbenp.prettier-vscode
 INFO Extension installed successfully: esbenp.prettier-vscode
Extension 'esbenp.prettier-vscode-9.1.0.vsix' was successfully installed.

Here is the log when installing extension from vsix file on the PC which can't access internet:
(It spent too much time, just like the program freezed, so I stop the process by Ctrl-C)
Installing extensions...
TRACE Started scanning user extensions
TRACE Extension VSIX downlads cache dir does not exist
TRACE Scanned user extensions: 0
TRACE Scanned user extensions: 0
(node:30321) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `code --trace-deprecation ...` to show where the warning was created)
TRACE Started scanning user extensions

TRACE Scanned user extensions: 0
TRACE ExtensionManagementService#install file:///proj/mtk23649/garmin.private-extension-manager-1.8.0.vsix
INFO Installing extension: garmin.private-extension-manager
TRACE Started scanning system extensions
TRACE Started scanning user extensions
TRACE Scanned user extensions: 0
TRACE Scanned system extensions: 85
TRACE RequestService#request https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery
TRACE resolveShellEnv(): skipped (VSCODE_CLI is set)
^C

Yeah, we reach to Marketplace to update the metadata of the extension. We can think about having an offline option.

I'm curious how this works under the hood and how difficult it would be to change. Gonna leave my notes below:
Notes
The installVSIX method: https://github.com/microsoft/vscode/blob/f74d2c0f62276e9d90f37a00b732a8b7fffd57d4/src/vs/platform/extensionManagement/common/extensionManagementCLIService.ts#L169-L192
I think it is downloading the extension from the gallery to validate the manifest instead of validating the one passed in and that's causing the network request.
Hoping someone can confirm/deny if this is true.

I think it is downloading the extension from the gallery to validate the manifest instead of validating the one passed in and that's causing the network request.

I do not think so. In the above code, we are getting the manifest from the vsix and validate it.

We reach to Marketplace to get metadata of the extension which is here
https://github.com/microsoft/vscode/blob/1a7d1b4230ea418f2261b1efe716513bca1d7b32/src/vs/platform/extensionManagement/node/extensionManagementService.ts#L708

Looks like that function is called here:
https://github.com/microsoft/vscode/blob/1a7d1b4230ea418f2261b1efe716513bca1d7b32/src/vs/platform/extensionManagement/node/extensionManagementService.ts#L673
Maybe I can this function doRun to return Promise<{ local: ILocalExtension; metadata?: Metadata }> instead or something.

@hsinyinfu have you tried with the latest version of Code? I couldn't reproduce it.

Hi @jsjoeio,
I just tried to install a hello-world extension I wrote with local vsix file in the latest 1.70.2 version of VS Code,
and it still took 2 minutes and 10 seconds to install it.
The experiments were conducted on my desktop in my office.
I started VS Code 1.70.2 on that desktop (Windows OS), used Remote-SSH to connect to the remote Ubuntu 18.04 server provided by our IT, and installed that hello-world extension in the Remote-SSH context.
The remote Ubuntu server is forbidden to access internet in the firewall policies.
In addition, I tested the installation on the same machine and the remote server with VS Code 1.69.2 and 1.63.2.
All of them took 2mins and 10s to install this tiny sample extension with local vsix file.
FYI.
Thanks.

installed that hello-world extension in the Remote-SSH context.
The remote Ubuntu server is forbidden to access internet in the firewall policies.

So it worked then, right?
Or you're saying it takes 2mins and 10s because of some logic trying to connect to the internet still?

Yes, I'm saying that I think VS Code took so much time installing an extension offline from a vsix file because it reaches out the Microsoft marketplace first before starting extracting contents from the vsix file. And even in the latest 1.70.2 version, the problem is still there.

As you can see in the screenshot above, there is a time gap for about 2 minutes bettwen the log "Installing extension" and the log "Extracted extension".
Also, in the Network view of the built-in Developer tool, there are two extensionquery events, one failed, and the other failed due to connection timeout.
In addition, I screenshoted the log of VS Code during installing this extension offline (set log level to trace) shown below.
Most time was spent on the request to https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery (where I marked with a yellow rectangle).

To be clear, the offline installation always succeeds. However, the main problem is that it takes too much time trying to reach out the Microsoft marketplace, which is not necessary in my opinion.

To be clear, the offline installation always succeeds. However, the main problem is that it takes too much time trying to reach out the Microsoft marketplace, which is not necessary in my opinion.

Ahhh okay. This makes much more sense.  It completed very quickly so I think the behavior might be different in an offline vs limited-access environment.
Does that mirror what you're seeing?

Yes,  I also tested installing from a vsix file when my "personal PC" is completed out of internet by removing the ethernet cable from the PC (no remote-ssh to remote Linux server, and no any firewall policy), and it did complete very quickly.
So you're right, the behavior is different in an complete offline (no any network access) vs limited-access (e.g., the request is blocked by outbound firewall policy) environment.

Hi, is there any update about this issue?

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

Installing from VSIX behaviour has changed now that reaching out to Marketplace no longer blocks installation.


Documentation Improvement around Profiler Preset Options

Please provide the issue you face regarding the documentation
Add documentation for preset options: https://github.com/capitalone/DataProfiler/pull/638/files#diff-00da4b3383cf04d1ea70e7d179d78433f0bfde3ac6909c791eb92363c5a34f3b

See improvements in feature/dev-gh-pages/options --> https://github.com/capitalone/DataProfiler/blob/feature/dev-gh-pages/options/docs/source/profiler.rst


Allow customizing name of the 'mattermost' bot account

So we can have a custom name for the bot you /msg to when you join.
(I personally want to call it NickServ :D)

I've a WIP patch for this :)

I'm gonna close this, if you're still interested open a PR :-)


(MODULES-4264) Update for Puppet 4

I originally made this change against the upstream repo, and it's a major version bump because it's a Puppet 4 rewrite.

Gotta bring simp-master up to date, that's what all these new commits are


Incorrect position when position is set to bottom or top

Hey there. I've used Tooltipster for many projects that I've developed, but today, I'm beating my head against the wall for quite a few hours. See the below image:
https://i.imgur.com/ago8cbo.png
As you can see in the image, tooltipster position in not exact (There's 4px difference ('left' property must be 4px more)). and also there's no padding in the element, it's just an 'a' element with margin: 0 5px as you can see in the image below.
https://i.imgur.com/ocWyMlc.png
I have to say that there's no special incorrect css for my element because I tried it out on all of elements in the page, and there was always 4px difference (when position is set to bottom or top)
I have no more idea what's wrong here. Thanks in advance

Isn't here anyone who can help me?

Hi, can you replicate in a very simple jsfiddle?

Thank you for replying. It seems it's in correct position in jsFiddle, I also have another project where I used this version of tooltipster but that works perfect with no issue. Can it be something wrong with my project?

I guess, can't be certain without debugging :/

I'll close this issue until you can reproduce or pinpoint the issue. Thank you

Sorry for late response, I was too busy.
So, what should I do now? What do you think about it? there must be something wrong with JS codes or CSSs?

I just noticed that this problem does exist only when I'm using 'tooltipster-shadow' theme. There's nothing wrong with other themes? any ideas?

Maybe you tried to edit it and resulted in this?


Creating Pages and Documentation

Hi creators,
Is Creating pages available in the API? I haven't found any information in the code neither in the docs. Do you also provide some kind of extended documentation for the API?
Regards

Hello g,
The current version is using the private api, and is read only.
Regards

Can eloborate more on what private api means? Do you have plans to use the public api and add Page Creation?
Regards

Yes i have plan to migrate that to the public API now that it's available. With the full API support. You want to help ?

I can help. Do you have a plan how to do the migration? As far as I see its quite different than the public api.

@gmarokov #2

Ok so, if you look at NotionSharp.ApiClient.Tests, it contains unit tests for nearly all read API endpoints.
It is missing:

page: create/update
block: append
database: all api

Would you like to dev one of these ?

Hey @softlion, sorry I was tight on time, but yes I can help with some of them. Do you want to switch conversation in the other issue? I was thinking about the Authorization and if we can figure out the authorization in the client?

There does not seem to be any possibility to make that work automatically so if you figure out a trick go For it !


force doesn't work for symlinked directories

I am in the process of migrating my custom dotfiles install script to Dotbot, and my dotfiles from an old, defunct Mercurial repo to Github. This means that almost all dotfiles I want Dotbot to manage are already symlinked. Naturally I tell Dotbot to force creation of the new symlinks, but this doesn't seem to work for symlinked directories, like ~/.vim:
$ ls .vim
lrwxrwxrwx 1 daff daff 28 Jan  1  2013 .vim -> /home/daff/dotfiles.hg/.vim/

My install.conf.yaml looks like this:
- clean: ['~']

- link:
    ~/.dotfiles: ''
    ~/.tmux.conf:
      force: true
      path: .tmux.conf
    ~/.vim:
      force: true
      path: .vim/
    ~/.vimrc:
      force: true
      path: .vimrc

- shell:
  - [git submodule update --init --recursive, Installing submodules]

When running ./install I get this:
All targets have been cleaned
Creating link ~/.dotfiles -> /home/rz01/daff/dotfiles/
Removing ~/.vimrc
Creating link ~/.vimrc -> /home/rz01/daff/dotfiles/.vimrc
Removing ~/.tmux.conf
Creating link ~/.tmux.conf -> /home/rz01/daff/dotfiles/.tmux.conf
Failed to remove ~/.vim
Incorrect link ~/.vim -> /home/rz01/daff/configs/.vim
Some links were not successfully set up
Installing submodules [git submodule update --init --recursive]
All commands have been executed

==> Some tasks were not executed successfully

The exception linker.py throws is Cannot call rmtree on a symbolic link. It seems the code in https://github.com/anishathalye/dotbot/blob/master/dotbot/executor/linker.py#L74 tries to delete the symlink after dereferencing it and thus tries to delete the target directory, in this case /home/daff/dotfiles.hg/.vim/ which shutil.rmtree doesn't allow. Not sure if I interpreted that correctly.
A simple solution could look like this:
diff --git a/dotbot/executor/linker.py b/dotbot/executor/linker.py
index d94a9bc..9821fe7 100644
--- a/dotbot/executor/linker.py
+++ b/dotbot/executor/linker.py
@@ -78,7 +78,9 @@ class Linker(Executor):
                 (self._exists(path) and not self._is_link(path))):
             fullpath = os.path.expanduser(path)
             try:
-                if os.path.isdir(fullpath):
+                if os.path.islink(fullpath):
+                    os.unlink(fullpath)
+                elif os.path.isdir(fullpath):
                     shutil.rmtree(fullpath)
                 else:
                     os.remove(fullpath)

I'll submit a PR.

Fixed in #33.


DNN-10289:Message/Email Tokens Don't Reflect SSL

changes make in LocalizationProvider

code review done


[BUG] Bulk UpdateOperation misses upsert options

What is the bug?
The UpdateOperation only supports setting a document.
There are no options for defining upserts like script, (scripted-)upsert, docAsUpsert etc. as in the common org.opensearch.client.opensearch.core.UpdateRequest
In Elasticsearch these settings are done for bulks via UpdateAction which can be set into the UpdateOperation.
How can one reproduce the bug?
n/a
What is the expected behavior?
Bulk UpdateOperations should support all update/upsert options as in org.opensearch.client.opensearch.core.UpdateRequest
What is your host/environment?
Windows and Linux, Java 17
OpenSearch server 2.4.0
OpenSearch client 2.1.0
Do you have any screenshots?
n/a
Do you have any additional context?

This makes sense. Are you up for a PR for this?

Hi guys, this capability is very pretty basic and important.
Any time estimations for adding this?

Nothing is scheduled for this issue but it sounds like a blocker to deprecating the hlrc.
@fs-chris what other issues were driving you away from OpenSearch-java?

Besides this one, there is another show-stopper for me: support of sub-aggregations https://github.com/opensearch-project/opensearch-java/issues/197
Other, less significant yet annoying issues are

Missing BulkProcessor https://github.com/opensearch-project/opensearch-java/issues/181
Creating (partial-) requests from raw JSON https://github.com/opensearch-project/opensearch-java/issues/257
Support otherSettings() in IndexSettings (et al.) for handling settings currently missing in the API

To be fair, the Elasticsearch version of this client also has lots of problems which mainly originate in a wrong or incomplete data model, which often leads to missing-required-property exception that prevents getting responses for certain requests.
With OpenSearch-client, I didn't reach the point where I would trap into similar issues, since they occur at execution time only.

@fs-chris We're working towards https://github.com/opensearch-project/opensearch-java/issues/284 to permanently solve the missing/incomplete APIs problems. Any help appreciated.

@fs-chris in terms of #197 there's a fix merged in main that will go out with the next release, so subaggregations should work if you're willing to work with the unreleased client. It would be great if you wanted to try it out.

I appreciate all work done to improve this client.
However, for now I have to struggle with HLRC to get it into our product.
I will certainly test this new client again as soon as new versions are released and the major issues are fixed.

Hi guys,
We tried the new 2.2.0 version, but noticed updating with a Script is still not supported.
This is a very basic functionality, and blocks us from using the opensearch java client :(
For example we would like to create an opensearch Script object, and use it like below:
new BulkOperation.Builder()
      .update(new UpdateOperation.Builder<DataInfo>()
              .index("my-index")
              .id("doc-123")
              .script(myScriptObj)
              .upsert(dataInfo)
              .build())
      .build()

our team would greatly appreciate your estimation regarding supporting this.

@assafcoh Try contributing this feature? What help do you need?

unfortunately we currently don't have capacity to contribute.
I guess we will have to switch to HLRC until this is supported. We will be glad to test this client as soon as this is supported.

@dblock I think I could help here and look into the issue

Any thoughts on which release and timeline this is targeted for?

Any thoughts on which release and timeline this is targeted for?

Next release.
@wbeckler When do you want to release next?

I think any maintainer can trigger a release and we have not decided on a set schedule for releases. @paniavula what are the implications for you in terms of the timing of the next release?

I think any maintainer can trigger a release and we have not decided on a set schedule for releases. @paniavula what are the implications for you in terms of the timing of the next release?

This is a blocker for us and cannot switch to using this library as it is a core need in our current version. A more frequent monthly release schedule may also help to boost some confidence.

@VachaShah I think nothing is stopping us from making the release, wdyt? (number of important fixes are in)

@VachaShah I think nothing is stopping us from making the release, wdyt? (number of important fixes are in)

Yeah nothing is blocking, we can do the next release. I will wait for some fixes that are already in PRs to go in so we can release them as well.

@VachaShah I think nothing is stopping us from making the release, wdyt? (number of important fixes are in)

Yeah nothing is blocking, we can do the next release. I will wait for some fixes that are already in PRs to go in so we can release them as well.

Tracking the release in #380 :)


[EVENT] April 21st - PyLadies Berlin City Tour, starting @ The BCC

Head organizers: @discombobulateme @sleepypioneer
Location: Start at the Reichstag
MONTH BEFORE

[x] create the google form
[x] Tweet with google form
[x] Mastodon with google form
[x] LinkedIn with google form
[x] Instagram with google form?
[x] Send form to Alina

WEEK OF THE EVENT

[ ] Update folks via email on meeting point
[ ] telegram group?

DURING THE EVENT

[ ] Take photos of all the speakers and audience
[ ] Tweet about it (or after the event with photos)

AFTER THE EVENT

[ ] Tweet after event (if not done during the event)
[ ] Upload photos to google drive (you need to be part of the google group to access this)

spots to visit (order of suggested visit)
Fernsehenturm (Alexanderplatz): map
World time clock (Alexanderplatz): map
Red townhall (Alexanderplatz): map
Hackescher hof: map
Musuem island: map
Fleamarket (art market): map
< Suggestion 1 >
Fleamarket (regular flea market): map
Walk along Spree riverwalk
Reichstag: map
Brandenburger Tor: map
< Suggestion 2 >
Walk along unter den linden
Babel Platz: map
Brandenburger Tor: map
Reichstag: map
< Both suggestions then follow >
Jewish memorial: map
DDR watch tower (postdammer platz): map
Oldest traffic light in Germany (postdammer platz): map
Checkpoint charlie: map
From here you could take the u6 back to Alexanderplatz
@discombobulateme let me know what you think, maybe we can plan in a trial walk to see how long this takes, I would already say this is a couple of hours, but as its very central folks could stop early if its too much, we can also plan breaks.

This would be my suggestion considering that the Bundestag visitation would be the main activity (which would help us a lot as a "guide" to decompress after Humble Data and allow people to have tones of info about the city in advance still with sunshine (crossing fingers)
Im thinking, as this is the one thing with schedule, we should meet and start there and have 1h30 to decompress and maybe eat something after Humble Data. It is far from the BCC (almost 4km) to walk there in a group would take a long time, but we could walk back and maybe have tea or a beer on the way back?
Meeting point: Bundestag 17h
It takes between 45m-1h
Walking tour

Walk along Spree riverwalk (between the Bundestag buildings, its gorgeous there)
Brandenburger Tor: map
Babel Platz: map
Musuem island: map
Hackescher hof: map we finish here having a dinner or a drink

Ufff That will go way over 19h but I think its a pretty good plan <3

Hi, this is Alina from communications team at PyCon DE & PyData Berlin. Once you create a meetup event, could you please share a link with me? I'll add it on the conference website. Thanks!

hi @alina-lenhardt this is th elink: https://forms.gle/Jucxpy5SzPZNKUas6 than you!

Hey, I had an issue with the Bundestag website and though I had booked the tour, but didnt :'( soooo this is the new suggested tour, although a bit too long maybe... its the big plan, of course possible to shorten it. It will be a mix of landmarks and women connected to each place :)
https://maps.app.goo.gl/11wZpyPwYwDKq7dj7

Looks good, the map say 1:44 walking so I would think it's around 2.5 hours if you plan to talk at each point (might be a bit exhausting after the workshop but folks could always get public transport at different stops) I need to drop out around 6:45/7pm just FYI but can join until then :)

This ended up being the final route (not able to do it all in 2h o_O), in case we would like to ever do it again


Instructions for Task need updated

Module: 01
Lab/Demo: 01
Task: Use Spark to analyze data
Step: 1-4
Description of issue

These are the instructions to Upload a file - the UI has changed to the point that these instructions are outdated and can be confusing for new users to understand. Suggest updating instructions.
Repro steps:

I'll take a look at this and let you know what I find.

This content is currently being updated and will be replaced to match the new UX in coming weeks. This original content is likely to be updated or retired entireley.


[Issue] Init into existing env

I ran init into a non-empty dir.
It prompted me for env name.
Said I couldn't create env with the same name as existing env in .azure
I would like to be able to use the same env name.

Closing this as there are workarounds. For example, temp renaming the env.


Allow generate_block() to accept Transaction IDs along with encoded signed transactions

This adds two new parameters to generate_block():

transaction_ids so that it can include specific transaction Ids in the block
include_mempool to specify whether or not to include transactions from the mempool

See #756 for more details.

As discussed last week with @iljakuklic, we'll do the following:

Include transaction hex within the TxAccumulator, which will not effect the mempool
Include transaction Ids within the collect_txs() call to take advantage of existing code
Fill in the remaining space with random mempool transactions if specified

Done through gitlab.

Reopening as this wasn't finished in Gitlab. I'll add the comments from Gitlab, and add this back on my TODO list in time.

@alfiedotwtf :
During yesterday's meeting, it was decided that to prevent the issue of double spend and other potential issues, the supplied transaction hex should be sent through a transaction verifier before calling collect_tx()...
But before I do this change, I want to confirm something - after going through the transaction verifier code, I'm not sure which TransactionSourceForConnect the supplied transaction hex should fall under for the connect_transaction() call - There's currently TransactionSourceForConnect::Chain and TransactionSourceForConnect::Mempool, neither of which feels right to sneak these transaction hex into. So in this case, should I add a TransactionSourceForConnect::Provided arm?

@iljakuklic :
I would say `Mempool` is more appropriate here out of the two. Maybe it could be renamed to something more descriptive that covers both cases. It basically says this is a candidate for inclusion in the next block (as opposed a transaction already included in a block).


Migrate Snackbar component to Radix Toast

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?
Replace custom implementation of Snackbar component to Radix Toast primitive

I tested the feature and it seems that when multiple toasts are shown on the screen they don't have separate timeout but all of them disappear at the same time.

@pziemkowski good catch. It's fixed now


Proposal: A ThousandIslands Window for Easy Interoperability and Migration

Proposal: ThousandIslands Window
...for Easy Interoperability and Migration
Primer
About "Modernize your applications with WinUI3"
This tag line can be found on many different places these days and I'm inclined to say that - per se - it's a good one.
But once you follow, you always get to the same kind of suggestions, which are about using XAML islands for integrating newly developed WinUI3 content/controls in existing applications. Each time I come across those topics, it appears kind of alienating to me, because it doesn't quite match reality. There are basically two ways for migrating to a new UI framework:

Switch to the new framework and include legacy elements (until migrated)
🡆 The typical mainstream way
Stick to the legacy framework and include some elements done in the new framework
🡆 Makes sense for niche cases only

I won't elaborate further on this classification for now, other than this: "modernizing" usually implies getting a fresh new look and this cannot only be achieved with (1), not with (2). When you put effort into some migration effort, you typically want some visual advancements and with (2), you just create visual weirdness.
Developer Acceptance and Adoption
I can only wonder why the focus on migration paths is so strongly fixated on (2).
Surely, XAML Islands are a good thing and also a useful building block for (1). but as of now, I am seeing ZERO effort on enabling (1) in any way.
And that's weird, because I think this is among the top blockers (if not THE top blocking reason) for delopers migrating to WinUI3:

"Can we integrate our existing UI components (win32, WinForms, WPF) when we migrate to WinUI3?"

As long as the answer is "no", I don't think that WinUI3 will ever achieve a level of adoption that is even close to the other frameworks.

The Current Situation
Many developers have tried to include Win32 windows in WinUI3 applications already - and failed. At least eventually at the point where it comes to input processing: it's possible to show something in a child window but it's not possible to get input working properly (keyboard, mouse, pointer).
Why is that so?
First, we need to understand how XAML islands are working: A XAML Island is basically a Win32 window in which the XAML content is sited. To build a XAML Island, you create a Win32 window first and then you use DesktopWindowXamlSource to have your XAML rendered (and available for interaction) inside that Win32 window.
This allows to host one or more XAML Islands inside another application - in a way that it's cooperative with regards to input focus management and input processing. You can switch input focus back and forther between non-WinUI3 XAML content, XAML content and from one to another XAML content. This functionality already exists (InputFocusController.
So what's wrong, why can't we use that to embed arbitrary Win32 controls in our WinUI3 app?
The Culprit:  Microsoft.UI.Xaml.Window
When we create a default plain WinUI3 application (as of WASDK 1.6), we get the following window hierarchy:

A WinUI3 window forms a ContentIsland itself (you can retrieve it like this:  ContentIsland.FindAllForCompositor(this.Compositor).First()).
And as we have learned: A content island consists of a hWnd window and a DesktopChildSiteBridge as a child. And that's the important part:
The DesktopChildSiteBridge IS NOT the XAML island.
The XAML island is the top-level window itself (WinUIDesktopWin32WindowClass).
And here it becomes clear why all those attempts of adding custom Win32 windows as children of the window never worked out well:
This way, you are essentially putting content INSIDE an existing island and hence it's no wonder that none of the interoperability mechanisms is working.
The Proposal: Microsoft.UI.Xaml.MultiIslandWindow
The MultiIslandWindow class should be very similar to the existing Window class, just with some important differences:

The XAML desktop island is not rooted directly to the AppWindow
Instead, there's an intermediate Win32 window (direct child of the AppWindow, same size) for hosting the XAML content
Large parts of the subclassing (window message processing) that JupiterWindow is currently performing on the AppWindow is performed on the intermediate Win32 window instead, so that the AppWindow will no longer block input messages flowing to (non-WinUI3) child windows
(I say "large parts", because certain processing like activation, closing, non-client messages might need to remain to be done on the AppWindow directly)

This will essentially allow developers to include ContentIslands from other sources and UI frameworks in a WinUI3 application.

Follow-Up Proposals

Extending APIs to manage ContentSites with non-xaml content
for example with InputFocusController
Provide a HwndHost XAML control for easy integration in your XAML layouts
(that content will just "fly above" the XAML content)
Possible derivatives of the HwndHost control:

WinFormsHost control
WpfContentHost control

Provide a XamlIslandHost XAML control for including a XamlIsland in a XAML layout
(this will in turn allow to have XAML content "above" some other Hwnd content)

Many developers have tried to include Win32 windows in WinUI3 applications already - and failed. At least eventually at the point where it comes to input processing: it's possible to show something in a child window but it's not possible to get input working properly (keyboard, mouse, pointer).

Some people talked about Windows 11. On Windows 10, all Win32 controls I tested worked by hosting them with ATL (AtlAxWin)
For example, with a InkPicture control, the mouse works normally :

Some people talked about Windows 11. On Windows 10, all Win32 controls I tested worked by hosting them with ATL (AtlAxWin)
For example, with a InkPicture control, the mouse works normally

Besides the fact that a "Win10-only" solution has little to no value anyway, how about touch input? That's what almost killed my strategy, nobody had ever even thought about testing it - until somebody came up with it in the public beta; now we have no solution to offer.

Besides the fact that a "Win10-only" solution has little to no value anyway, how about touch input?

It should theorically work on Windows 11, but I cannot test and people did not answer me about Windows 11...

I've spent five days, exploring all thinkable and unthinkable ways for getting pointer events (as plain window messages) inside the JupiterWindow, all kinds of hooks, subclassing reparenting, window styles and parameters. I've skimmed the APIs high and low, several times, I I have reviewed the source code in this repo - unfortunately the interesting bits are hidden inside CoreMessagingXP.dll, Microsoft.UI.Input.dll and Microsoft.InputStatemanager.dll, which are neither open source nor documented. I even partially disassembled and decompiled certain parts, but eventually it felt too insane and any such under-cover way I had hoped to find would essentially be rather worthless.
We need a solid and supposted method which we can rely on that it won't stop working all of a sudden - just like multi-threaded XAML islands (=one thread per island of course) are suddenly crashing on Windows 24H2 (no matter which appsdk version) - which is another major headache I have, but this topic is about getting a supported way for embedding non-xaml elements in a WinUI3 application.

It shoud be fast to test if AtlAxWin works on Windows 11 (I used it in test samples like WinUI3_ActiveX_MSRDP (the hardcoded server I used has broken UI now (even with MSTSC), but mouse still works)

Thanks, I've posted some new findings in your repo: https://github.com/castorix/WinUI3_ActiveX_MSRDP/issues/2
Yet, that doesn't resolve or affect this proposal.

Thanks, I've posted some new findings in your repo: castorix/WinUI3_ActiveX_MSRDP#2
Yet, that doesn't resolve or affect this proposal.

Thanks for having tested on Windows 11, because I only have Windows 10 (22H2) to do my tests, and everytime I ask people to test some code on other OS, they give up the thread :confused:

Perhaps I am not getting your idea, but aren't you turning the table into hosting WinUI3 as an insland into a Win32 app?

No, this is about hosting Win32 Islands like WinForms, WPF, ActiveX, ATL, MFC inside a WinUI3 application.


feature: make logout use default registry

Ⅰ. Describe what this PR did

logout command will get default registry from system info
remove default registry with namespace library, make format
from registry.hub.docker.com/library to registry.hub.docker.com

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9e3e901). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #902   +/-   ##
=========================================
  Coverage          ?   13.67%
=========================================
  Files             ?      121
  Lines             ?     7662
  Branches          ?        0
=========================================
  Hits              ?     1048
  Misses            ?     6524
  Partials          ?       90

Impacted Files
Coverage Δ

credential/file_store.go
0% <0%> (ø)

daemon/mgr/system.go
0% <0%> (ø)

credential/helpers.go
44.44% <0%> (ø)

cli/login.go
0% <0%> (ø)

cli/logout.go
0% <0%> (ø)

Continue to review full report at Codecov.

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

updated. @allencloud

LGTM


Separate recommendations for model organisms and human data

Please let us know how you feel about our approach
to provide multiple organism or even technique specific templates.
You can give likes to the options bellow or write your own thoughts.

It is a waste of time, we should focus one approach to all data (give me like if you agree)

I don’t see how it would help our community

There are clear benefits of this approach (give me like if you agree)

Yes, it is exactly what is missing now (give me like if you agree)


Add a way to build a static library with corrosion_add_cxxbridge

I'm currently using CXX and corrosion to interop between c++ and rust. I build rust code as a library and link it to my other c++ libraries and executable.
The target generated by corrosion_add_cxxbridge is a shared library (.so), I was wondering if there would be an option to generate a static library (.a)  ?
Thanks! :)

The target generated by corrosion_add_cxxbridge is a shared library (.so)

This depends on what BUILD_SHARED_LIBS is set to. Behind the scenes corrosion currently just does an
add_library(${cxx_target}).
I think it would make sense to add an optional parameter to corrosion_add_cxxbridge to pass to the add_library  call.
Please also be aware that corrosion_add_cxxbridge is still somewhat experimental (it's not in an officially released version yet, only on master) and still needs some polishing and potentially bugfixing before it's ready for a release. PRs and testing is defintely very welcome though!
About the warning message - I recommend reading the linking section of the documentation: https://corrosion-rs.github.io/corrosion/advanced.html#linking
Basically corrosion_link_libraries has no effect when called on a Rust static-lib.  If your final artifact is a Rust binary, you should call corrosion_link_libraries with the target name of the Rust binary, and not the Rust static lib.

Thanks for your quick response! It makes a lot more sense now.  I'll continue using corrosion and reading the source code to get more familiar and hopefully start contributing! :)


added chatgpt based test generation

This pull request introduces an experimental feature that is still in development. While the feature is functional, it may not be fully stable and may require further refinement. I welcome feedback and suggestions for improvement as I continue to work on this.

LGTM


I don't have the evaluate option on the context menu

I've installed XDebug Client on Sublime Text 2 for Windows 7 through Package Control but i cannot see any of the session commands: Evaluate, Execute, Status.
Is there anything wrong with my configuration?

Have you fixed it? I am missing the action commands, like Run, Run To Line.


release 1.2.1? (with fs_poll config)

hate to ask.. but can we have 1.2.1 from master (which includes the fs_poll config https://github.com/phoenixframework/phoenix_live_reload/pull/90)
Doing a beginner tutorial - and it's quite the killer/distraction/wrong to setup a github dep from the get go..
fwiw cpu goes from 70% to 1% when the fs_polling is limited to relevant dirs..

Done! :D


8.0.0

Fixes https://github.com/zwave-js/node-red-contrib-zwave-js/issues/240
Fixes https://github.com/zwave-js/node-red-contrib-zwave-js/issues/232
Fixes https://github.com/zwave-js/node-red-contrib-zwave-js/issues/231
Fixes https://github.com/zwave-js/node-red-contrib-zwave-js/issues/226
Fixes https://github.com/zwave-js/node-red-contrib-zwave-js/issues/241
Fixes https://github.com/zwave-js/node-red-contrib-zwave-js/issues/247
Fixes https://github.com/zwave-js/node-red-contrib-zwave-js/issues/242

Hello
When are you going to merge this?

Release is planned shortly after node-zwave-js moves version 10.0 from beta to release. Could be any day now.
If you want to start using version 8 beta, here's how:
1- navigate to the folder where you've installed nodered (usually on a pi this is ~/.node-red/ )
2- run the following install command:
npm i node-red-contrib-zwave-js@beta

3- restart nodered
As always, please come back here and report any issues! Thanks!

I have 1 thing to work on (Small UI Updates with the FW wizard)
But I agree, shortly after the v10 release of the driver.

Just a courtesy message for those monitoring this PR.
v8 is 1 task away from being released (slight update to the UI for FW updates).
The last change is being worked on with @crxporter, so it's very much on my mind.
But, I am now on vacation for a week.
Once I'm back, I'll get this done and dusted.


Implement text affinity for document positions and selections

Implement text affinity for document positions and selections

I'm not sure what I originally meant by this. It could go various ways. I'm going to close it. We can file a new version of this ticket, if needed.


Constant Folding Error

Hi,
I am new with PDNN.
I installed the Theano in Windows 7 according to its instructions, and using the miniconda.
Then, to verify the installation, I tried to ran the example "mnist".
After the data preparation, when I am running the "run_dnn.py" I got some Error as follows:
[2019-06-02 19:49:50.400000] > ... building the model
[2019-06-02 19:49:50.766000] > ... getting the finetuning functions
ERROR (theano.gof.opt): Optimization failure due to: constant_folding
ERROR (theano.gof.opt): node: InplaceDimShuffle{x}(TensorConstant{1.0})
ERROR (theano.gof.opt): TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
File "C:\Users\MB\Miniconda2\lib\site-packages\theano\gof\opt.py", line 1982,
in process_node
replacements = lopt.transform(node)
......
The attached file is the complete log.
what is the root cause of this Error? and How I can solve it?
Let me to know if more information is required.
I am so appreciated, for your nice helps.
log.txt

Hi, both Theano and PDNN haven't been maintained for quite a long time. I would suggest switching to a more modern toolkit such as PyTorch or TensorFlow.