bug: noice seems to break vim.fn.input() and vim.ui.input() in insert mode

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.11.0-dev-1103+g04274a4173
Operating system/version
Arch Linux
Describe the bug
vim.fn.input() and vim.ui.input() do not show any popup or other prompt when invoked from insert mode and noice is being used (with its default options). With noice-less NeoVim, these work correctly in this circumstance.
(For the record, I discovered this issue whilst investigating https://github.com/andrewferrier/debugprint.nvim/issues/86 - it affected a user of mine who would normally expect a prompt in insert mode - this works correctly for me as I don't normally use noice (although I've tried it, and it's a fantastic demonstration of what can be done with NeoVim - thanks for all your hard efforts!)).
For more information, it's likely easiest to follow the repro steps.
Steps To Reproduce

Put in place the init.lua below in a fresh NeoVim config (e.g. using NVIM_APPNAME).
Comment out noice.nvim by commenting line 6 in init.lua.
Load NeoVim.
Enter insert mode by pressing i, press <C-G>a. Note that abc is entered.
Remaining in insert mode, press <C-G>b. Note that a prompt appears in the command line, type something in, hit <CR> and see it entered into the buffer.
Remaining in insert mode, press <C-G>c. Enter something and hit <CR>. You will not see it in the buffer since we aren't correctly handling the callback, but if you type :messages you'll see what you entered.
Quit NeoVim, uncomment the line so that noice is loaded, and reopen NeoVim, wait for noice to be installed/loaded.
Repeat steps (4)-(6) above. (4) should work as before, but (5) and (6) will silently fail and no prompt will be shown, except that the cursor will change to a block shape (unclear which mode it is in now).

Expected Behavior
I would expect that the prompts will be shown for both vim.fn.input() and vim.ui.input() in insert mode as they are in normal mode, when using noice.
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
	spec = {
		{ "folke/noice.nvim", opts = {} },
	},
})

-- Works
vim.keymap.set("i", "<C-G>a", function()
	return "abc"
end, { expr = true })

vim.keymap.set("i", "<C-G>b", function()
	return vim.fn.input("Prompt: ")
end, {
	expr = true,
})

vim.keymap.set("i", "<C-G>c", function()
	vim.ui.input({ prompt = "Prompt: " }, function(input)
		print("INPUT WAS " .. input)
	end)
end, {
	expr = true,
})

That;s because you're in an expression mapping. It's not allowed to create windows in that case.
Cant fix.

@folke thanks, that's good to know. I will say I do find expr mappings to be a bit flaky in general. This spurred me on to find an alternative for my plugin and I think vim.api.nvim_put will do what I wanted to insert text, so I'll switch to that. Thank you.


Fixes port settings that were broken by a merge conflict

The client/server port settings introduced in f3b55e5 were
subsequently clobbered by ea5bb27
Instead of referencing bash variables, the use hard-coded port
numbers

Fixes https://github.com/MonsantoCo/etcd-aws-cluster/issues/28

Ran a quick test cluster to confirm.


Apache 2.0 short-form not recognised

https://github.com/cssjanus/cssjanus/blob/v1.2.2/LICENSE.txt uses the long-form and is detected (according to GitHub).
But when following the instructions at http://www.apache.org/licenses/LICENSE-2.0#apply, like @jakearchibald did at https://github.com/jakearchibald/idb-keyval/blob/2.4.1/LICENCE, then it does not appear to be recognised.
Could support for this be added?

Read the appendix again, discussed previously at https://github.com/benbalter/licensee/issues/103#issuecomment-225633548


Function cannot call delay

using System;

function double testDouble(double i)
{
    delay(1s);

    return i;
}

procedure void test()
{
    double testVal = testDouble(17.0);

    log(testVal);
}

Gives error: Unhandled Exception. InvalidCastException - Unable to cast object of type 'StepBro.Core.Execution.FunctionCallContextWrapper' to type 'StepBro.Core.Execution.ScriptCallContext'.

Functions are not supposed to call delay because of test flow, only procedures should be able to.


Unable to delete attach files

When try to delete an attach, an error occurs.

The error is happened in UploadController.cs, here is a screen shot

I couldn't to fix it, because I am new to ASP.NET MVC. :(

Thanks will investigate and fix

I remove line 48 .AsNoTracking() in UploadedFileRepository.cs,  everything works as expected.

Fixed in v1.7 - thanks.


xgboost update

Merged changes from upstream
Testing on single and multiple gpu separately
@pytest.mark.multi_gpu is suposed to beused for multi-gpu testing
n_gpus was deprecated and as result a few changes to our wrapper
Found dask, dask-cuda that are compatible

Related issues:
https://github.com/dmlc/xgboost/issues/5003
https://github.com/dmlc/xgboost/issues/4988
https://github.com/rapidsai/dask-cuda/issues/166
https://github.com/dmlc/xgboost/issues/4987
https://github.com/dmlc/xgboost/pull/4990

Will review soon.  I'll basically diff dmlc head and this branch head and see how compares to diffs from bundle of commits from my last re-doing of the merge.

last integrated commit https://github.com/h2oai/xgboost/commit/185e3f19169d79b0910b848de5fe8055434e675e plus I had to make some changes on top of it manually(last merge was not resolved correctly all the places or merge algo not always correct when branches diverge a lot).


Minor changes to ansible tower spec tests

Made some slight changes to the existing spec tests so that they won't fail when we merge the refactoring work for BaseModel in  ansible_tower_client (https://github.com/ManageIQ/ansible_tower_client/pull/17)

@bdunne @gmcculloug please review.


I would like to replace the computer after the synchronization of all the configuration and plug-ins

VSCode Version:1.7
OS Version: win10

I would like to replace the computer after the synchronization of all the configuration and plug-ins
When can the user login?
And then synchronize the configuration and extension?
So I can replace the computer at any time you can use the same operation

VSCode doesn't support syncing by itself currently. But there is a pretty good working extension for this: https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync

I am the Chinese area, visit GitHub a bit slow, why Microsoft does not add this feature, you can use Microsoft account login, use OneDrive to automatically upload?
I very much like the chrome automatic synchronization function, so I change the computer, will automatically download all of my configuration

Use Shan.code-settings-sync
I'll be in trouble.

duplicate of #7311


Bug Report: Can drag navbar links

Dragging the nav buttons at least drags the URL's. While we want to allow this for url's in tasks and other places these sorts of ones we should disable it for these.

OS: Manjaro Linux
App Version 1.2.3
Snap

I am willing to fix this one as well. We just need to add draggable="false" attribute to the links. Tho, I am not sure if making a separate branch for a small fix like this would be a good idea. Might be a good option to fix this in another hotfixes PR like you guys did before.
I am not sure, what do you guys think?

You can create a hotfix/{name-of-the-issue} branch from this repo and after fixing the issue you can submit a PR using that branch. Just make sure to properly follow the conventional commit message :)


improve EVP cipher param diagnostics on unsupported cipher modes and malloc failure

When trying to use PKCS12_create() with NID_aes_256_gcm I got rather inaccurate and even misleading diagnostics:
2147483656:error:0D0A7072:asn1 encoding routines:PKCS5_pbe2_set_iv:error setting cipher params:crypto/asn1/p5_pbev2.c:82:
2147483656:error:2307D00D:PKCS12 routines:PKCS8_encrypt:ASN1 lib:crypto/pkcs12/p12_p8e.c:32:
2147483656:error:23085041:PKCS12 routines:PKCS12_SAFEBAG_create_pkcs8_encrypt:malloc failure:crypto/pkcs12/p12_sbag.c:157:

It took me a little while to find out that the actual problem is that GCM (and also some other block cipher modes) are simply not supported here, which is a long-standing issue reported and discussed for instance at https://security.stackexchange.com/questions/83384/creating-a-private-key-with-openssl-and-encrypting-it-with-aes-gcm and https://groups.google.com/forum/#!topic/mailing.openssl.users/hGggWxfrZbA
This PR adds a distinction between unsupported cipher modes and other errors when converting between EVP cipher params and ASN.1, updating and slightly extending the documentation. It also replaces in the genpkey app these low-level error(s) by a more telling high-level error message and fixes the comparisons for error detection in a couple of calls to EVP_CIPHER_asn1_to_param() and EVP_CIPHER_param_to_asn1().
I also removed two needless and misleading malloc failure error messages of PKCS12_SAFEBAG_create_pkcs8_encrypt().
BTW, I wonder why malloc failures are not simply reported once and for all by CRYPTO_malloc() itself and instead the burden is put on the callers. There are presumably many instances like the ones I fixed here where a NULL pointer result is misinterpreted to be due to an out-of-memory condition, and very likely there are even much more cases where malloc failures are caught but not reported.
I also added a type cast in setup_tests() of test/x509aux.c preventing a compiler warning for the VC-WIN64A architecture (which is an unrelated very minor issue for which I thought it is not worth providing a separate PR).
Checklist

[x] documentation is added or updated

A related general question also here:
I wonder why malloc failures are not simply reported once and for all by CRYPTO_malloc() itself and instead the burden is put on the callers. There are presumably many instances like the ones fixed in this PR where a NULL pointer result is misinterpreted to be due to an out-of-memory condition, and very likely there are even much more cases where malloc failures are caught but not reported.

I wonder why malloc failures are not simply reported once and for all by CRYPTO_malloc() itself and instead the burden is put on the callers. There are presumably many instances like the ones fixed in this PR where a NULL pointer result is misinterpreted to be due to an out-of-memory condition, and very likely there are even much more cases where malloc failures are caught but not reported.

I suppose, in theory, a malloc failure could either be because the system is running low on memory, or the call to CRYPTO_malloc() was erroneous (e.g. because it incorrectly attempts to allocate a vast amount of memory). In the second case this kind of problem would be difficult to find if all you have is the error code in CRYPTO_malloc itself.

Thanks Matt for your response.
In my question I should have consistently written 'malloc failure' (and not partly written 'out-of-memory') because I was not after a distinction between specific failure reasons.
My aim was/is to understand why CRYTPO_malloc does not report the failure (no matter for what reason) in the OpenSSL error queue itself but relies on all callers to do so.
If CRYTPO_malloc did the reporting itself, this would relieve the callers from reporting the failure and eliminate the risk of callers doing wrong here (like not reporting or wrongly reporting the malloc failure). Moreover, CRYPTO_malloc could be more specific on the failure reason (simply because it should know better than its callers what exactly went wrong and why).

If we had an error API that let you specify the file and line number we could use that in malloc, since it gets those line/file as parameters.
But there's also the issue in that the ERR code uses malloc, and we need to avoid the loop.

If we had an error API that let you specify the file and line number we could use that in malloc, since it gets those line/file as parameters.

ERR_PUT_error()?

But there's also the issue in that the ERR code uses malloc, and we need to avoid the loop.

That's a point, Yet one could implement the ERR queue such that there is always an element pre-allocated&reserved for use by CRYPTP_malloc, such that in case this function adds an entry there is no need to (recursively) allocate it.

With the approach I just sketched, of course the queue cell should be reserved for actual out-of-memory situations only (and not any other potential failures of CRYPTO_malloc). When this reserved cell has been filled, any further requests to add elements to the ERR queue should be ignored in case the queue is full and would need re-allocation - I think this would be acceptable because at least from the lib's point of view an out-of-memory condition would be fatal anyway.

Sure, will do soon.
I see no urgent need here anyway; this was just a general thought for a useful improvement.
I just checked: currently there are 900 (!) ERR calls for the ERR_R_MALLOC_FAILURE reason.

I just checked: currently there are 900 (!) ERR calls for the ERR_R_MALLOC_FAILURE reason.

FYI: Many of them were added only recently:
fe1128dc2a Fix last(?) batch of malloc-NULL places
f06080cb3d Add missing error code when alloc-return-null
f90bc6c5cb Add missing malloc-return-null instance
7fcdbd839c X509: add more error codes on malloc or sk_TYP_push failure
7de2b9c4af Set error code if alloc returns NULL
6b49b30811 Prevent a possible recursion in ERR_get_state and fix the problem that was pointed out in commit aef84bb4efbddfd95d042f3f5f1d362ed7d4faeb differently.
cdb10bae3f Set error code on alloc failures

My aim was/is to understand why CRYTPO_malloc does not report the failure (no matter for what reason) in the OpenSSL error queue itself but relies on all callers to do so.

IIRC, the entire discussion about the malloc error codes started way back in #5781, which triggered a sequence of pull requests. There was even a discussion in that thread about doing the reporting in CRYPTO_malloc() itself, using file and line information provided by the caller. I don't really remember, why thought was discarded at that time.

Thanks a lot @mspncp for pointing out this related discussion and the number of recent commits.
A pity that all this work has been invested going IMHO in a non-optimal direction.
Yet the two misplaced ERR_R_MALLOC_FAILURE removed in this PR apparently were introduced earlier, by
425f3300072 (Dr. Stephen Henson 2015-09-27 13:42:04 +0100 157)

who should have known better that ...

if there is actually a malloc failure in the functions called by PKCS12_SAFEBAG_create_pkcs8_encrypt(), the intermediate (ASN.1) functions already flag this failure with reason ERR_R_MALLOC_FAILURE, and thus it is is superfluous to do that again in PKCS12_SAFEBAG_create_pkcs8_encrypt()
there are also other reasons for p8 and bag to get NULL assigned, and in these cases the reason ERR_R_MALLOC_FAILURE is simply wrong.

Further, more general discussion on this topic has been started in issue #6251.

What is the status of this PR? Can it be merged?

Good reminder. Looks like the actual PR got buried under the more general discussion that it brought up, which has then been moved to a new thread.
Yes, at least in my view this could be merged; there are also two reviews with positive outcome.

Pushed. Thanks.


Glimmer and ember-cloaking

Hey!
I'm curious if ember-cloaking works with Ember 1.13.0 and Glimmer. Can I integrate it with my app, if I'm on Glimmer? Will I see any performance gains or is Glimmer fast enough to render lists of reasonable size?
Thanks for information :smiley:

I have yet to try it out! We have a bunch of work to finish on Discourse before we can move to Glimmer.

You might want to look at runspired/smoke-and-mirrors. Its occlusion-collection is like ember-cloaking and there's work in progress to get it going with Glimmer.

Will I see any performance gains or is Glimmer fast enough to render lists of reasonable size?

As I understand it, no. Glimmer improves performance for updates. If you just have a big list that's slow to scroll because it's so long, Glimmer won't help very much. But I don't know for sure — I'm still in the process of upgrading my app to try out Glimmer.

@rsutphin @graffuerchterlich correct, long lists / heavy amounts of DOM still benefit greatly from occlusion (removal of DOM elements that are off screen).  The vertical-collection in smoke-and-mirrors works with Glimmer.
Glimmer also improves initial render significantly due to the removal of many of the virtual-view layers, both initial and subsequent renders will improve significantly again post ember 2.0 as the view layer is removed entirely.
I suspect ember-cloaking will have a hard time converting to Glimmer.  ContainerView and CollectionView both took a feature hit in 1.13, and will again in 2.0, especially around controlling child views.  I'm not sure continuing with them will work at all starting at 2.0.
  The APIs are nearly locked, and feature compatibility with ember-cloaking and scrollable divs is 1:1.  I discourage using it for scrollable body elements, but a separate solution that works better with scrollable body is coming soon.


Looker/Lookml ingestion doesn't support view inheritance

Describe the bug
Looker/Lookml ingestion does not handle inheritance correctly.
When I extract a view that is extending another the child view does not show the parent dimensions/measures.
To Reproduce
Steps to reproduce the behavior:

Create the following file in Lookml

explore: datahub_test {
  view_name: child_view
}

view: parent_view {
  sql_table_name: `dataset.table` ;;

  dimension: id {
    primary_key: yes
    type: string
    sql: ${TABLE}.id ;;
  }

  dimension: parent_dimension_1 {
    type: string
    sql: ${TABLE}.parent_dimension_1 ;;
  }

  measure: parent_count {
    type: count
  }
}

view: child_view {
  extends: [parent_view]

  dimension: child_dimension_1 {
    type: string
    sql: ${TABLE}.child_dimension_1 ;;
  }
}

Run Lookml & Looker ingestion

Expected behavior
I would expect to see two views extracted. The parent, and the child. Also, the child_view should show the dimensions/measures inherited from parent
Screenshots

Additional context
Datahub version: v0.12.0

This seems like a bug in get_including_extends - for "list" fields like dimension/measure/etc, we need to merge with parent views instead of only fetching the value for the child field


Add isotope filter bar in for people on individual project pages

This would be for project.html. I couldn't quite figure this out.

We are removing isotope from the website to reduce external source code dependencies


re.match problem

There is problem with this line
re.match(path,current_path)

Will get match on 2 urls which are different:
/first/url/
/first/url/but/longer

Why not use path==current_path ?

That behaviour is intentional: https://github.com/marcuswhybrow/django-lineage#django-lineage


Warn that you can't edit notebooks simultaneously

Response:  												 Hi Jason,  												 												I have a response:  												 												Unfortunately we don't have a great solution in the short  term but we will make sure that it is addressed in the next major  release which should be coming soon. Right now the last change wins. The  changes are saved every few seconds so the students should get an  indication that someone else is editing the notebook. 												 												For the time being, it looks like students will have to  coordinate their efforts, with a fix coming in the (hopefully) near  future. 												 												Take care,  												Sarah 												 												Sarah van den Burg 												Functional Application Manager Vocareum |
-- | --
Response:
Hi Jason,
I have a response:
Unfortunately we don't have a great solution in the short term but we will make sure that it is addressed in the next major release which should be coming soon. Right now the last change wins. The changes are saved every few seconds so the students should get an indication that someone else is editing the notebook.
For the time being, it looks like students will have to coordinate their efforts, with a fix coming in the (hopefully) near future.
Take care,
Sarah
Sarah van den Burg
Functional Application Manager Vocareum
Your original request:
Description:

Hi,
My students can work in pairs on their assignment in Vocareum, but most of them assume it works like google docs and they can simultaneously edit the single notebook file. This is causing many students confusion and lost work. What is the mechanism to prevent groups from simultaneously editing a notebook? Why is it not locked when one person edits? Is there a way to lock it? If not, is there a technical solution to prevent this issue?
Jason
Jason K. Moore, PhD
Assistant Professor, BioMechanical Engineering
Delft University of Technology
Office: 34 F-1-140
H: +31<PHONE_NUMBER>, GVoice: +01<PHONE_NUMBER>
<EMAIL_ADDRESS>TU Delft Bicycle Lab Website

I put a warning in the software page of the course website.


Custom Product Icons broken by static stylesheets

Does this issue occur when all extensions are disabled?: No (N/A)

VS Code Version: 1.86.0
OS Version: Windows 11 (according to VSC, Windows_NT x64 10.0.22621)

In a Product Icon Theme I am developing (link), I am observing strange icons appearing where they shouldn't, as a result of some static styles in the application not being aware of custom font glyphs in product icon themes.

As an example, the close icon of a dirty tab renders as a couch icon when my theme is applied. In my theme's font, the couch happens to be the glyph at unicode \ea71. This occurs despite my *product-icon-theme.json file correctly defining the close icon as:
{
  ...
  "iconDefinitions": {
    ...
    "close": {
      "fontId": "phosphor",
      "fontCharacter": "\\eddb" // my 'X' close icon
    }
  }
}

In most situations, my product icons appear correctly. But certain cases, many of which appear to be overridden by hard-coded unicode code points in static CSS files associated with the Editor, it does not. I believe this stylesheet below is the culprit in the example above:
https://github.com/microsoft/vscode/blob/2aae82a102da66e566842ff9177bceeb99873970/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css#L391-L393

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@benibenj We need to avoid hardcode characters in CSS. So, if possible remove. If not easily possible, add `font-family: 'codicon' to teh tab dirty rule.
It looks like there's a close icon set that is properly themed and that sets the font family.
https://github.com/microsoft/vscode/blob/df4af4aefd2348eb20dbd2bdc9322042fa71733c/src/vs/workbench/browser/parts/editor/editorActions.ts#L449

There is a bit of a trick going on here.  To solve this with themed icons we would need to create a special actionitem for this case. I'll temporarily fix this by adding the font family and will create a debt item to look into creating an actionItem for our special case.


Help with establishing connection

Hello @kevin-cgc
I am new to XR development and am trying to play haptic patterns on Quest 3 for a research project. I have the server and ngrok proxy running on my laptop after following the documentation however I am unable to run the patterns. Do I need to do anything on the quest headset to make it connect to the ngrok domain since I am not seeing any requests being sent at the moment?
Any help would be appreciated,
Thanks

If you built the quest app, setting the correct WS_SERVER_DOMAIN in local.properties file (https://github.com/kevin-cgc/questxr-happlay#building-the-quest-app), it should connect without any input after starting the application.
There is a script to build, deploy, and watch the logs for the quest application, which may be helpful in debugging: https://github.com/kevin-cgc/questxr-happlay/blob/main/build-run-watch.sh

Also, if you are having issues building the android project, there is a github action for this (https://github.com/kevin-cgc/questxr-happlay/blob/main/.github/workflows/debugbuild.yml).
It should be possible to use something like https://github.com/nektos/act to complete the build locally (after replacing the default WS_SERVER_DOMAIN in the action).

Thank you for your response!
You have cleared my confusion, I will try these out


Naming inconsistency between ExcludeBindingMetadataProvider and ValidationExcludeFilter

ExcludeBindingMetadataProvider follows the convention of being some kind of IBindingMetadataProvider, but ValidationExcludeFilter does not follow the convention of being some kind of IValidationMetadataProvider. It should be renamed to ExcludeValidationMetadataProvider to be consistent.
https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Validation/ValidationExcludeFilter.cs
https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/ExcludeBindingMetadataProvider.cs
Also, I am not sure why ValidationExcludeFilter should be in the Validation folder/namespace when ExcludeBindingMetadataProvider is not. It seems like they could be siblings.

Yeah, I think you're right about this. ValidationExcludeFilter was a legacy name based on an older name for the feature. We don't have any particular strong feelings about 'conventions' on things like this but the naming isn't good.

31ec88526ad236b7261fed1e88fa6c536c45f60e


Swiper slides don't change

This is a (multiple allowed):

[x] bug

I followed https://swiperjs.com/get-started (using the CDN links) and I see the first image and the arrows on both sides, but the image never changes. The images displayed stacked on top of each other fine before I started playing with sliders. I tried this yesterday so it's with the latest version with Firefox 81.0.2 and Ubuntu 20.04. I asked on StackOverflow and got no reply. Pastebin.

@pgenderson The CDN links must be introduced before new Swiper.
You should use it like this:
<script src="https://unpkg.com/swiper/swiper-bundle.js"></script>
 <script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
 <script>

   var mySwiper = new Swiper('.swiper-container', {
      // Optional parameters
       direction: 'vertical',
         ......
   })

</script>

Because the sliding direction is vertical, you can slide the picture up and down.


Chore: Add CITATION.cff file

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.40%. Comparing base (8e87cfc) to head (6e48a6a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
- Coverage   60.44%   60.40%   -0.05%
==========================================
  Files          44       44
  Lines        4745     4745
  Branches      571      571
==========================================
- Hits         2868     2866       -2
- Misses       1634     1635       +1
- Partials      243      244       +1

Flag
Coverage Δ

pytest
60.40% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes


Got bot working for most part but he has trouble with vendor potions/tp;s

Details
I jus noticed bot was sitting in the field trying to TP for over 20 minutes but he had no scrolls doing nothing else,
another issue when he goes to shop half the time he wont buy pots and the second he leaves town he opens a tp to go to vendor, does nothing at vendor runs back out of town and or tp's depending on the scirpt, just to go to shop again and buy nothing ... he has the gold
Also i have not got him to open cows with cube once yet and if i manually open it and press resume he instantly leaves the game
Version
newest

Locked chests bot will spam trying to open it, i didnt wait to see for how long but i waited a while of him just spamming clicking the chests when out of keys, is there a way i can turn off opening locked chests all together?

bot gets stuck at shop with flotiing items as you can see here, shop and inventory are closed but he gets stuck with a item on his mouse and doesn't move

Also i have not got him to open cows with cube once yet and if i manually open it and press resume he instantly leaves the game

I’ve had it work when placing the cube in a locked part of inventory. When I had it in stash it would fail sometimes because it couldn’t tell what tab it was on when looking for cube.
Also make sure you have keys and tome of tp and time of Id in a locked part of your inventory and that seems to help mine as well

Still having this issue @hamptone69 ?  This has been fixed in latest release. Feel free to close.


Use qiskit-ibm-provider api code

Summary
Removing as much duplication as possible from the api code
api/clients: auth.py, base.py, runtime_ws.py, version.py
api/rest: backend.py, base.py, program_job.py, root.py
Details and comments
Fixes other half of #548

Overall looks fine. A few comments:

Yes, we can also increase the retries in qiskit-ibm-provider
We don't need to copy any of the changes in backend.py because job_limit and `reservations are no longer used
I believe the same applies here, we don't need to copy the changes, because the program_job.py in qiskit-ibm-provider is more up to date
There is no reservations endpoint in the runtime api, I don't believe it was ever used in this repo


Add maven dependencies

#111
Fixing maven dependency in the tutorial for javafx to run.

Thanks for this PR, please check the Contributing section, before we can go ahead.

I have signed the license.

I have updated JFX and plugin versions, and added the required . Please review the changes.

Done, please take a look at it.
Sorry, I'm new to this.

Thanks, no problem. Already merged.


[3/3][Distributed] Remove dist requirement explicit async throws limitation

Depends on:

#59711
#59718

Summary
With this, distributed funcs in protocols are fully functional.
I was staring at this for a long time and am convienced this is correct semantics wise, discussion below.
Only the last commit in this PR is new; the previous two are the linked PRs above here.
Discussion

This PR applies makes a distributed func requirement in a protocol (only!), defined as-if explicitly async and throwing.

This is semantically, and future-proof correct, because:

unlike a concrete distributed actor; even in presence of the "whenLocal" and any potential local work, the distributedness cannot be peeled off from a protocol requirement!

This is because even if we declared the witness as a plain func... the witness is always allowed to implement a distributed func requirement using: no effects, async, or throws (or a mix of them)

As such... given any SomeDAProtocol even if that is a any _local SomeDAProtocol can cannot ever strip off the implicit async and throws effects from a distributed call on a protocol -- because we don't know (at call sites) how the method was implemented -- and if it was a local actor... we must assume the worst case anyway and try await such calls.
This does not get into the way of usefulness of the _local work -- which's primary purpose is access to NOT-distributed members, which all work as previously.

Risk: Low, only impacts distributed funcs in protocols; and is well tested now with runtime (actually calling) tests
Review: @DougGregor @xedin
Testing: CI testing, will verify on cluster project manually as well
Resolves rdar://95949498

@swift-ci please smoke test

@swift-ci please build toolchain

Ok it seems we need to change the approach a little bit -- while outside calls are correct, some inside the actor + extension is not handled well enough wit this.

Notable last moment removal: https://github.com/apple/swift/pull/59722/commits/fe59943db053d89b37fad48af8d4ab7658b69bef seems we don't need this trickery at all, and the constant swapping is totally enough.

@swift-ci please smoke test

@swift-ci please smoke test


Firewall Failure

Hi,
I was building a workflow to run a sql script, the workflow is giving me errors related to firewall. (using github hosted runner)
Failed to add firewall rule. Unable to detect client IP Address. Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Named Pipes Provider: Could not open a connection to SQL Server [53]. . Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : Login timeout expired. Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..  Error: The process 'C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\SQLCMD.exe' failed with exit code 1
we have the Allow access to azure serves on in our database.

As per the documentation, we wouldn't need to login if this is enabled.
Even then, tried logging in with a service principal that has appropriate accesses.
Still, getting similar error.
The DB connection string that I am using
server="host_name.mysql.database.azure.com"; port=3306; initial catalog="db_name"; user id="user@host_name"; password="************"; SslMode=Preferred;
tried setting the sslmode=Required and even removing the sslmode from the connection string.
Would appreciate any help here.
Thanks

I think I know, what's wrong, Our db is a Azure Db for mysql server. And, if I am guessing right, this only works with Microsoft SQL server. If so, is there any similar action for mysql server? and if it works with mysql as well, still need help.

I found one for mysql, and it's working for me.
https://github.com/marketplace/actions/azure-mysql-deploy
Thanks.


FullScreen on startup prevents window from being shown

I'm using 0.10.0-preview5 on Windows 10. Setting WindowState=WindowState.FullScreen after my program has started works fine. If I put WindowState="FullScreen" in the main window's xaml file, however, the window never shows.
I put this in the main window's constructor to test things:
DispatcherTimer.RunOnce(() => WindowState = WindowState.Maximized, TimeSpan.FromSeconds(1));
DispatcherTimer.RunOnce(() => WindowState = WindowState.FullScreen, TimeSpan.FromSeconds(2));
DispatcherTimer.RunOnce(Show, TimeSpan.FromSeconds(3));

If the xaml file omits WindowState, the window opens at normal size, then maximizes, then goes fullscreen.
If the xaml file sets WindowState="Maximized", the window opens maximized, waits 2 seconds, then goes fullscreen.
If the xaml file sets WindowState="FullScreen", the window never shows. Even the explicit call to Show() does nothing, and checking in a debugger confirmed it does get executed.

Putting this in the Window constructor or InitialiseComponent has the same result - the window is fully invisible without even a taskbar entry.
WindowState = WindowState.FullScreen;

It appears there's some initialization that's run after component creation that isn't handling fullscreen. Putting this in the window constructor produces the error:
WindowState = WindowState.Maximized;
WindowState = WindowState.FullScreen;

Putting this in the window constructor (without setting fullscreen anywhere else) successfully works around it, however:
DispatcherTimer.RunOnce(() => WindowState = WindowState.FullScreen, TimeSpan.Zero);

Not sure this is relevant but having WindowState=FullScreen in XAML works fine on Avalonia 11.0.4 Windows Desktop.

I guess this is a leftover issue which is already fixed. As no OS is specified, we can only test on Windows for now. So closing this for now. If someone can still reproduce using 11.0, ping me and we will reopen it. Let us know the OS used.


Remove System.Diagnostics.DiagnosticSource dependency from net 6+

Is your feature request related to a problem? Please describe.
I want to minimise dependencies in my project by utilising framework dependencies wherever possible
Describe the solution you'd like
I want the package to not have an explicit dependency on System.Diagnostics.DiagnosticSource on net 6+.
Describe alternatives you've considered
Accept the additional dependency
Additional context
n/a

Related to https://github.com/microsoft/kiota-abstractions-dotnet/issues/219


Code question

Why write this obfuscated line of code !this.translateAnim || this.translateAnim.remove(); instead of just if(this.translateAnim) this.translateAnim.remove();?
https://github.com/teralytics/Leaflet.D3SvgOverlay/blob/master/L.D3SvgOverlay.js#L75

@Meekohi
this.translateAnim can be undefined, then if(this.translateAnim) this.translateAnim.remove(); will produce an error.
But to be fare I don't like the a || b syntax any more, in the new update all but one very intuitive usage of these are removed.

Ah interesting side-case. Thanks!


openresty tests doesn't work  [development_fixes103]

JSX> j.servers.openresty.test()
Thu 30 16:38:53 le/data/bcdb/BCDB.py - 833 - _unserialize                       : EXCEPTION:
    AssertionError()
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/OpenRestyFactory.py in test
    46    self._test_run(name=name)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in _test_run
    53    res = self.__test_run(name=name, obj_key=obj_key, die=die, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in __test_run
    166    self.__test_run(name=name, obj_key=obj_key, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in __test_run
    154    self._code_run(name=name, path=path, obj_key=obj_key, die=die, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in _code_run
    75    res = method(self=self, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/tests/1_basic.py in main
    11    server = j.servers.openresty.get("test")
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in get
    116    jsconfig = self._get(name=name, id=id, die=needexist, reload=reload)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _get
    179    res = self.find(name=name)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in find
    262    item = self.get(id=id, reload=reload)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in get
    116    jsconfig = self._get(name=name, id=id, die=needexist, reload=reload)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _get
    169    obj = self._model.get(id)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBDecorator.py in wrapper_queue_method
    63    res = func(*args, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in get
    495    obj = self.bcdb._unserialize(obj_id, data, return_as_capnp=return_as_capnp, schema=self.schema)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDB.py in _unserialize
    833    assert obj._schema == schema
-----------------------------

That's related to bcdb and bcdb delete --all fixed that (for now).
Despite that, we got another error related to the server, which does not reload configuration correctly:
Mon 03 13:11:29 s/http/HttpClient.py - 259 - _http_request                      : EXCEPTION:
    HTTPError(URLError(ConnectionRefusedError(111, 'Connection refused'),), 'http://<IP_ADDRESS>:8080/app')
--TRACEBACK------------------
<string> in <module>
    1
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/OpenRestyFactory.py in test
    46    self._test_run(name=name)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in _test_run
    53    res = self.__test_run(name=name, obj_key=obj_key, die=die, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in __test_run
    166    self.__test_run(name=name, obj_key=obj_key, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in __test_run
    154    self._code_run(name=name, path=path, obj_key=obj_key, die=die, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in _code_run
    75    res = method(self=self, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/tests/2_http_proxy.py in main
    42    static_content = j.clients.http.get("http://<IP_ADDRESS>:8080/app")
/sandbox/lib/jumpscale/Jumpscale/clients/http/HttpClient.py in get
    308    r = self.get_response(url=url, headers=headers, verify=verify)
/sandbox/lib/jumpscale/Jumpscale/clients/http/HttpClient.py in get_response
    297    return c.get_reponse(url, headers=headers, verify=verify)
/sandbox/lib/jumpscale/Jumpscale/clients/http/HttpClient.py in get_reponse
    80    url, headers=headers, method="GET", verify=verify, **params
/sandbox/lib/jumpscale/Jumpscale/clients/http/HttpClient.py in _http_request
    259    raise HTTPError(e, url)
-----------------------------

It turned out that start() is called, which does a cleanup() for configuration files, also after calling reload() manually, the test should wait for nginx to handle SIGHUP and reload the configuration.

I get the following error

Wed 05 11:26:55 ta/bcdb/BCDBModel.py - 389 - set                                : EXCEPTION:
    Could not insert object, unique constraint failed:UNIQUE constraint failed: index_jumpscale_openresty_website.name
--TRACEBACK------------------
<stdin> in <module>
    1
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/OpenRestyFactory.py in test
    46    self._test_run(name=name)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in _test_run
    53    res = self.__test_run(name=name, obj_key=obj_key, die=die, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in __test_run
    166    self.__test_run(name=name, obj_key=obj_key, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in __test_run
    154    self._code_run(name=name, path=path, obj_key=obj_key, die=die, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/TestTools.py in _code_run
    75    res = method(self=self, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/tests/2_http_proxy.py in main
    40    server.start()
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/OpenRestyServer.py in start
    159    self._letsencrypt_configure()
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/OpenRestyServer.py in _letsencrypt_configure
    120    listening_80 = self.websites.new("listening_80")
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in new
    30    self._autosave_deal(jsconfig, autosave, True)
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/JSConfigsBCDB.py in _autosave_deal
    155    jsconfig._data.save()
/sandbox/lib/jumpscale/Jumpscale/data/schema/JSXObjectRoot.py in save
    96    obj = self._model.set(self)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBDecorator.py in wrapper_queue_method
    63    res = func(*args, **kwargs)
/sandbox/lib/jumpscale/Jumpscale/data/bcdb/BCDBModel.py in set
    389    raise j.exceptions.Input("Could not insert object, unique constraint failed:%s" % e, data=obj)
-----------------------------

--DATA-----------------------
  ## jumpscale.openresty.website
  id:85
   - name                : listening_80
   - port                : 80
   - ssl                 : True
   - domain              :
   - path                :
   - mother_id           : 81
-----------------------------

None```

@Dinaamagdy Can you please verify on unstable branch?

I just tested this on branch unstable  and all tests were skipped

and when checked out to development_fixes103 got the same error posted up by Dina

verified on branch unstable after run  bcdb delete --all :
3BOTDEVEL:3bot:~: kosmos -p "j.servers.openresty.test()"
/sandbox/lib/jumpscale/Jumpscale/servers/openresty/tests/3_websocket_proxy.py.test_websocket_proxy ...
no server running need to start
++ '[' start == kill ']'
++ tmux -f /sandbox/cfg/.tmux.conf has-session -t main
no server running on /tmp/tmux-0/default
++ '[' 1 -eq 1 ']'
++ echo 'no server running need to start'
++ tmux -f /sandbox/cfg/.tmux.conf new -s main -d 'bash --rcfile /sandbox/bin/env_tmux_detach.sh'
++ '[' start '!=' start ']'
sending incremental file list
deleting nginx.conf
./

sent 72,037 bytes  received 303 bytes  144,680.00 bytes/sec
total size is 41,407,169  speedup is 572.40
 * stop: lapis

sending incremental file list
deleting nginx.conf
./

sent 72,037 bytes  received 303 bytes  144,680.00 bytes/sec
total size is 41,407,169  speedup is 572.40
 * stop: lapis

ok

/sandbox/lib/jumpscale/Jumpscale/servers/openresty/tests/2_http_proxy.py.test_http_proxy ...
 * stop: lapis

sending incremental file list
deleting uwsgi_temp/
deleting scgi_temp/
deleting proxy_temp/
deleting logs/nginx.pid
deleting logs/error.log
deleting logs/access.log
deleting logs/
deleting fastcgi_temp/
deleting client_body_temp/
deleting nginx.conf.compiled
deleting nginx.conf
./

sent 72,037 bytes  received 472 bytes  145,018.00 bytes/sec
total size is 41,407,169  speedup is 571.06
HUP 11496
 * stop: lapis

ok

/sandbox/lib/jumpscale/Jumpscale/servers/openresty/tests/1_basic.py.test_basic ...
 * stop: lapis

sending incremental file list
deleting uwsgi_temp/
deleting scgi_temp/
deleting proxy_temp/
deleting logs/nginx.pid
deleting logs/error.log
deleting logs/access.log
deleting logs/
deleting fastcgi_temp/
deleting client_body_temp/
deleting nginx.conf.compiled
deleting nginx.conf
./

sent 72,037 bytes  received 472 bytes  48,339.33 bytes/sec
total size is 41,407,169  speedup is 571.06
 * stop: lapis

ok

----------------------------------------------------------------------
Ran 3 tests in 15.057013273239136

0 Failed, 0 Errored, 3 Passed, 0 Skipped

Branch core, , Branch unstable, Commit_ID 513830db6d7b560e5e99822455d68a95c8fb0251
Branch threebot,  Branch unstable,Commit_ID a663b92f1163e2e31366ce470a9c04cc64fb5b2e
got an error in openresty test cases

Please make sure not to use .new in your tests for locations use get_location_XXX methods
https://github.com/threefoldtech/jumpscaleX_threebot/blob/development/ThreeBotPackages/zerobot/webinterface/package.py


Spawned Aleph0 monkeys to fix 100% CPU load bug

I don't know why this works. Don't ask me.
In any case, it prevents this test npm module<EMAIL_ADDRESS>to get
a 100% CPU load when closing a connection.

If this works then you probably have another poll on the same FD, and when I close it this poll starts to trigger all the time due to broken underlying FD. Make sure to check all involved FD's, it is invalid to close an FD before stopping its poll.

Make sure to track down all usages of the socket being passed to uws, is this socket passed to anything else? Once passing a socket to uws the ownership changes, we own the socket and there should be no other library using it at all.


error when running smplcommerce

All the step that require to do on list is pass, but when i hit "dotnet watch run"  or "dotnet run"  my page return to :
Error.
An error occurred while processing your request.
Please create an issue in https://github.com/simplcommerce/SimplCommerce/issues. Thanks
is there any recent bugs or something, cause on cli i don't see any raise problem at all.

@cumironin Please tell more about the environment are you running on, the error message etc.

i'am work with mac env (sierra), .net core 1.1, using postgre db, it's all ok no problemo, but when i run the page turn it that way ?
check code below for "dotnet watch run" :
☁  SimplCommerce.WebHost  dotnet watch run
[DotNetWatcher] info: Running dotnet with the following arguments: run
[DotNetWatcher] info: dotnet process id: 54182
Project SimplCommerce.Infrastructure (.NETStandard,Version=v1.6) was previously compiled. Skipping compilation.
Project SimplCommerce.Module.Core (.NETStandard,Version=v1.6) was previously compiled. Skipping compilation.
Project SimplCommerce.Module.Localization (.NETStandard,Version=v1.6) was previously compiled. Skipping compilation.
Project SimplCommerce.WebHost (.NETCoreApp,Version=v1.1) was previously compiled. Skipping compilation.
Hosting environment: Production
Content root path: /Users/cumironin/Projects/SimplCommerce-master/src/SimplCommerce.WebHost
Now listening on: http://<IP_ADDRESS>:5000
Application started. Press Ctrl+C to shut down.

@cumironin ,
The web site ran successfully, open the browser and to go http://localhost:5000, or http://<IP_ADDRESS>:5000


Change $ref to auditable by using auditable#/definitions/auditlog

This links to the issue #149
@trieloff @kstreeter @cmathis
The open source tooling works better with the proposed change when handling allOf merging for nested json structures.

This appears to be small change to way we reference the auditable schema.
What are the rules for when you reference the base schema vs a definition in that schema?

I do not think there is a rule in our case related to the $ref format at this point. The reason I make this change is to adapt the schema to a open source tooling while handing the nested structures contains same $ref. It seems the tooling works well with one format only (which maybe for a reason).


chore(master): release 1.2.5

:robot: I have created a release beep boop
1.2.5 (2024-09-03)
Miscellaneous Chores

update base docker image (ba4bd6b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/indykite/opa-indykite-plugin/releases/tag/v1.2.5 :sunflower:


Bugfix/live 1316: edit device name only for Nano X

Context
Bug Fix: LIVE-1316 -> but actually only allowing Nano X to update its device name
Draft
The branch release/v3.0.x needs to be merged first to develop
Screenshots

Nano S - no edit name feature

Nano X - available edit name feature

Do not merge this until develop has all the changes from the v3 branch.
Once that's done, we can change the target to develop again, in the meantime ✔ for code, waiting for QA.
Builds should be triggered by https://github.com/LedgerHQ/ledger-live-build/actions please @alexandremgo link the job once there is one for QA

Understood, thanks !
For QA:

Link to the associated Android APK: here
Link to the associated iOS IPA: here


issue running submodule update

ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:OWASP/Maturity-Models-API.git' into submodule path 'C:/Users/James/Github/Downloads/Maturity-model/Maturity-Models/code/api' failed
Failed to clone 'code/api'. Retry scheduled

actually this is more of an issue connecting SSH in general as opposed to "submodule update"

did it work? (after setting up your ssh keys?)

Yes fixed this morning - machine needed a restart also after keys were setup.

great :)


readme: add ffmpeg intergration section

+1

@seanvk , Do you think it's ok to add this to readme?

lgtm :+1:

merged as eee5c2a7cf7d1662c731bf09db3c825ac972e813


(Tutorial) Further macOS compatibility: VK_KHR_portability_subset and VK_KHR_get_physical_device_properties2 extensions

Note: LunarG Vulkan SDK <IP_ADDRESS>, macOS Ventura 13.1, Apple M1 Max
During chapter 9 of the tutorial, “Logical device and queues”, I encounter the following validation error during logical device creation (newlines added for clarity):
(VALIDATION) Validation Error: [ VUID-VkDeviceCreateInfo-pProperties-04451 ]
Object 0: handle = 0x600000d71fc0, type = VK_OBJECT_TYPE_PHYSICAL_DEVICE; | MessageID = 0x3a3b6ca0 |
vkCreateDevice: VK_KHR_portability_subset must be enabled because physical device VkPhysicalDevice 0x600000d71fc0[] supports it The Vulkan spec states: If the VK_KHR_portability_subset extension is included in pProperties of vkEnumerateDeviceExtensionProperties, ppEnabledExtensionNames must include "VK_KHR_portability_subset"
(https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.3-extensions/vkspec.html#VUID-VkDeviceCreateInfo-pProperties-04451)

This can be handled by checking whether VK_KHR_portability_subset is indeed included in the physical device’s properties, and if so enabling the corresponding extension for the logical device in create_logical_device:
unsafe fn create_logical_device(instance: &Instance, data: &mut AppData) -> Result<Device> {
    // ...

    let features = vk::PhysicalDeviceFeatures::builder();

    // Extensions

    let extensions = if instance
        .enumerate_device_extension_properties(data.physical_device, None)?
        .iter()
        .any(|p| p.extension_name == vk::KHR_PORTABILITY_SUBSET_EXTENSION.name)
    {
        vec![vk::KHR_PORTABILITY_SUBSET_EXTENSION.name.as_ptr()]
    } else {
        vec![]
    };

    // Create

    let queue_infos = &[queue_info];
    let info = vk::DeviceCreateInfo::builder()
        // ...
        .enabled_features(&features)
        .enabled_extension_names(&extensions);

    // ...
}

The above indeed avoids the aforementioned validation error, but in its turn introduces a new one (newlines added for clarity):
(VALIDATION) Validation Error: [ VUID-vkCreateDevice-ppEnabledExtensionNames-01387 ]
Object 0: handle = 0x12f014c00, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x12537a2c |
Missing extension required by the device extension VK_KHR_portability_subset: VK_KHR_get_physical_device_properties2. The Vulkan spec states: All required device extensions for each extension in the VkDeviceCreateInfo::ppEnabledExtensionNames list must also be present in that list
(https://vulkan.lunarg.com/doc/view/<IP_ADDRESS>/mac/1.3-extensions/vkspec.html#VUID-vkCreateDevice-ppEnabledExtensionNames-01387)

This can be handled by enabling the VK_KHR_get_physical_device_properties2 instance extension in create_instance:
unsafe fn create_instance(window: &Window, entry: &Entry, data: &mut AppData) -> Result<Instance> {
    // ...

    // Required by Vulkan SDK on macOS since 1.3.216.
    let flags = if entry
        .enumerate_instance_extension_properties(None)?
        .iter()
        .any(|e| e.extension_name == vk::KHR_PORTABILITY_ENUMERATION_EXTENSION.name)
    {
        extensions.push(vk::KHR_PORTABILITY_ENUMERATION_EXTENSION.name.as_ptr());
        extensions.push(vk::KHR_GET_PHYSICAL_DEVICE_PROPERTIES2_EXTENSION.name.as_ptr());
        vk::InstanceCreateFlags::ENUMERATE_PORTABILITY_KHR
    } else {
        vk::InstanceCreateFlags::empty()
    };

    // ...
}

Since this extension needs to be enabled for the instance, during its creation, I’m not sure if there is an elegant way to check whether it is actually needed. We can’t check yet whether VK_KHR_portability_subset is included in the physical device properties, as that requires the instance to have already been created and the physical device to have already been picked.
In the snippet above I’m enabling VK_KHR_get_physical_device_properties2 if we’re also enabling VK_KHR_portability_enumeration. IIUC this can still lead to a situation where it is enabled unnecessarily. I can’t tell from reading its documentation or the wider internet whether that might somehow affect other devices / platforms.

Enabling these two extensions, I got through the rest of the tutorial (through chapter 34, at least — that’s how far I’ve gotten so far) without further macOS-related validation errors.

I recently came into possession of shiny new M2 MacBook Air so I was finally able to properly work on this.
I've just pushed changes to the example and the tutorial that enable the VK_KHR_get_physical_device_properties2 instance extension and the VK_KHR_portability_subset device extension when compiling for macOS and the Vulkan SDK version is 1.3.216 or later.


Firefly Setup stuck at pin

Issue description
Setting Firefly for first time. Imported old seed, set password then gave pin. Confirmed pin.
Stuck in this state. Clicking the button does nothing. No error logs too.
Wallet version
v1.1.0
System specification
What is your operating system?
Mac/Win/Linux (+Version and or Distro if possible)
Linux. Manjaro Linux. Arch Linux distro.
Is it a repeatable issue?
Yes
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.

Downloaded Firefly.
During Setup, Stuck on Verify Pin code screen

Expected behaviour
I imagine it should take me to the next page or dashboard.
Actual behaviour
Stuck on this screen. It's not frozen. Just clicking on Confirm PIN code button does nothing.
Errors
No Errors in logs

You can try to delete your  ~/.config/Firefly directory

Deleting the config folder doesn't help. While running it via cmd, i'm getting below error:
Error occurred in handler for 'keychain-set': [Error: The name org.freedesktop.secrets was not provided by any .service files]

Then stop Firefly, uninstall it, delete config folder, install it again - the newest version.

I had the same issue on my Endeavour Kde(Arch) install. I fixed it on both my computers by installing Gnome-Keyring

Then stop Firefly, uninstall it, delete config folder, install it again - the newest version.

I'm using latest version & as i wrote before, deleting of the config folder doesn't help. Linux is using app image, so nothing to install/uninstall but thanks...

I had the same issue on my Endeavour Kde(Arch) install. I fixed it on both my computers by installing Gnome-Keyring

That one helped, thanks mate.

Is duplicate of https://github.com/iotaledger/firefly/issues/1149

Kinda found this bug when I switched from Manjaro-Gnome to Manjaro-KDE-plasma.
If you want a quick fix you can use KeePassXC, it has a 'Freedesktop.org Secret Service integration' similar to gnome-keyring and *-keyring
It works, got firefly running.
Firefly is not the only .appimage with this problem,  had same problem with zap wallet .appimage.
Secret Service API Draft

Same problem here. It is weird that firefly can't access the keyring. In VSCode the gnome-keyring is also a dependency and there I don't have any issues. Would be great to have a definitive fix for that.

Hi, does installing libsecret-1-dev (Ubuntu) or libsecret (Arch Linux) resolve the issue?

Hi, does installing libsecret-1-dev (Ubuntu) or libsecret (Arch Linux) resolve the issue?

No, it requires *-keyring.

Installed these on ubuntu 20.04:
libsecret-1-0 libsecret-1-0 gnome-keyring gnome-keyring-pkcs11 libgnome-keyring-common libpam-gnome-keyring python3-keyring ubuntu-keyring
Still get the error "Unknown or unsupported transport “disabled” for address “disabled:”"

Duplicate of #1149


STG96 Beta Features

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-storage-blob

/azp run java - storage - tests

test

@microsoft-github-policy-service rerun


update to support capacitor 6

can you please update the library to support capacitor 6?

Hi @yakovyarmo,
yes, I just pushed a new version 6.0.0.
Also see: https://github.com/inouiw/capacitor-native-google-one-tap-signin/issues/17#issuecomment-2148366467


Rest of Active menu Nav items

Verified it's applying the nav-active style appropriately (Though not sure what the purpose of the style is. I don't see any visible difference for the active tab)

Cal is going to do a style for us that indicates what is currently selected on the menu.


Enhance the Retrieve Dataset Stack Luigi workflow to support ENVI output format

See #23 and #32

Implemented in 0.1.0-b20150505 (aka 0.1.0 2015-05-05 snapshot).
See the Band Stack workflow.
The Band Stack workflow now supports the --output-format command line argument which can be one of GEOTIFF or ENVI.  The default is GEOTIFF.


fix paths with trailing separator

Hi, I am sorry because my last fix in #194 was not enough, I checked with the new 2.1.0 release and the bug is still present, the fact is that pdfjs doesn't use path.join to build the paths, so the trailing path separator at the end has to be added manually.

Weird... Thanks for the PR. I've added your example pdf as a test case, which is currently passing, even without this PR. I can confirm the warning disappears as of this PR.

With the new 2.1.1 release it's working fine. Thank you :)


New binary that extract dependencies from .md files

Brief
Add a new binary that will be used by the future dune mdx stanza to analyze what are the dependencies of a given md file.
Usage :
mdx deps file1.md file2.md
will output in a non-formatted fashion:
file1.md: file:firstFileDep.ml dir:firstDirDep/ file:secondFileDep.txt
file2.md: ...

Limitations
Only .md files can be used as input and labels version and non-deterministic are ignored.

otherwise we can merge :)

Nope we can't. This is meant to be used by dune in the mdx stanza so as long as I haven't tested it, please do not merge.

Ok I think we have a statisfying prototype. The only thing I'd like to solve is format, as @Julow suggested we need something that can properly encode file names and that will be easy to parse on dune's side.
We could probably output something like ((file "<filename>") (dir "<dirname>") ...), using Printf.printf "%S" to escape the filenames properly. That's easy to maintain on our side and should be parsed properly by dune's sexp parser.
The ideal solution would imply dune providing an encoder so that we can easily use it and be sure that whatever version of dune we use it will always know how to parse the output. I'll check with the dune team.
@voodoos @Julow what do you think?

We could probably output something like ((file "<filename>") (dir "<dirname>") ...), using Printf.printf "%S" to escape the filenames properly. That's easy to maintain on our side and should be parsed properly by dune's sexp parser.

Using sexpressions seems fine to me.

I made some adjustments, added a changelog entry and a disclaimer in the command's doc.
Let me know what you think @Julow @voodoos
Once the format is approved on the dune PR I think we can merge and cut the release!

This is not sexp but canonical sexp, they are both easier to print and parse. It is not our own weird format but a well defined one and the prefered one on the dune side for machine to machine communication.
Depending on sexplib means depending on base which will hurt compatibility.

I missed that, sorry. I didn't know this format.

Ok, let's merge!


Docs extended for navbar events with collapse

The documentation should have a reference to the collapse component events section. This is essential if trying to tie into event triggers from the navigation toggle button.

Closing as stale and outdated. Happy to see a new PR that includes the proper docs URL shortcode and is free of issues around formatting if folks still want it.


new commits from master

new commits from master

Hello @amoh-godwin! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file pyffmpeg/pseudo_ffprobe.py:

Line 231:80: E501 line too long (87 > 79 characters)

In the file tests/test_pseudo_ffprobe.py:

Line 5:80: E501 line too long (135 > 79 characters)


get all stories with Addon API

Why there is no addon API to get all stories?

@ZigGreen maybe this API could help you?
https://github.com/storybooks/react-storybook/blob/master/src/client/preview/client_api.js#L85

Yeap, this API meet my needs. But pls tell me how I can use it. Isn't it a private API?

@ZigGreen
here is a brief example how to use it:
import { storiesOf, getStorybook } from '@kadira/storybook';

storiesOf('React App', module)
  .add('Story 1', () => <Story1 />)
...

const myStories = getStorybook();
console.log(myStories);

You'll have an array with all you storyKind -> stories ...


Fix CFD notebook by marking all cells as executed

Required after latest nbval update

Closing as unnecessary after #510


Resolve window/root relative to project root

If you have multiple windows with differing roots (#283), you have to specify an absolute path for all windows. This can lead to your .conf looking like:
name: example
root: ~/Work/Projects/Example

windows:
  - vagrant:
      root: ~/Work/Projects/Example
      panes:
        - vagrant status
  - frontend:
      root: ~/Work/Projects/Example/frontend
      panes:
        -
  - frontend-build:
      root: ~/Work/Projects/Example/frontend
      panes:
        - grunt
  - app:
      root: ~/Work/Projects/Example/app
      panes:
        -

This involves a bunch of path duplication. Unfortunately, relative paths are resolved relative to the working dir of tmuxinator, which makes usage unreliable. Instead, it'd be great to have this resolve relative to the project root instead.

If anyone stumbles upon this -- relative window roots were not working for me (tmux 2.2/tmuxinator 0.8.1). Updating them to full static paths does work.

How about use cd command?


ModuleInterface: Coallesce @_backDeploy attributes when printed

This should improve the readability of declarations with @_backDeploy attributes for multiple platforms.
Resolves rdar://104712811

@swift-ci please test and merge

@swift-ci please test


Limit hit when passing CloudFront CIDRs to ALB security group

Describe the Feature
Apply fails since there are over 100 CIDRs to set on a single security group as it is now.
Expected Behavior
Rules should be split in groups of 50 let's say and multiple security groups created and assigned then to the ALB.
Use Case
Restrict ALB ingress to CloudFront IPs.
Describe Ideal Solution
Create multiple security groups based on limit of 60 rules per security group.
Alternatives Considered
Create separate security groups based on chunklist(data.aws_ip_ranges.cloudfront.cidr_blocks, 50) and pass them as list to security_group_ids.
Additional Context

@mihaiplesa I think you can get around this by setting the following inputs to manage your security group outside of this module
  security_group_enabled = false
  security_group_ids     = ["sg-1234567890"]


temporal_format_property doesn't work with time

file:
time,event
15:35:00,start
17:35:00,finish

pipeline-spec:
time:
  title: time
  pipeline:

  - run: load
    parameters:
      from: 'time.csv'
      override_fields:
        time:
          type: 'time'
          outputFormat: '%H:%M'
  - run: dump_to_path
    parameters:
      out-path: 'output'
      pretty-descriptor: true
      temporal_format_property: outputFormat

stacktrace:
ERROR log from processor dump_to_path:
+--------
| ERROR   :Failed to transform row {'event': 'start', 'time': datetime.time(15, 35)}
| Traceback (most recent call last):
|   File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_formats.py", line 56, in __transform_row
|     for k, v in row.items())
|   File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_formats.py", line 56, in <genexpr>
|     for k, v in row.items())
|   File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_formats.py", line 64, in __transform_value
|     return field.descriptor['serializer'](value)
| TypeError: descriptor 'strftime' requires a 'datetime.date' object but received a 'datetime.time'
| ERROR   :Traceback (most recent call last):
| ERROR   :File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/datapackage_pipelines/specs/../lib/dump_to_path.py", line 23, in <module>
| ERROR   :spew_flow(flow(ctx.parameters, ctx.stats), ctx)
| ERROR   :File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/datapackage_pipelines/wrapper/wrapper.py", line 181, in __exit__
| ERROR   :spew(self.datapackage, self.resource_iterator, stats=self.stats)
| ERROR   :File "/home/conrad/.virtualenvs/pipeline-server/lib/python3.6/site-packages/datapackage_pipelines/wrapper/wrapper.py", line 75, in spew
| ERROR   :for rec in res:
| ERROR   :File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/dumper_base.py", line 69, in row_counter
| ERROR   :for row in iterator:
| ERROR   :File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_dumper.py", line 77, in rows_processor
| ERROR   :writer.write_row(row)
| ERROR   :File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_formats.py", line 70, in write_row
| ERROR   :transformed_row = self.__transform_row(row)
| ERROR   :File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_formats.py", line 56, in __transform_row
| ERROR   :for k, v in row.items())
| ERROR   :File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_formats.py", line 56, in <genexpr>
| ERROR   :for k, v in row.items())
| ERROR   :File "/home/conrad/Projects/whoi/bcodmo_dataflows/dataflows/processors/dumpers/file_formats.py", line 64, in __transform_value
| ERROR   :return field.descriptor['serializer'](value)
| ERROR   :TypeError
| ERROR   ::
| ERROR   :descriptor 'strftime' requires a 'datetime.date' object but received a 'datetime.time'
+--------

It seems like when it's a time type it needs to be handled separately.
I haven't tested with date, might also be a problem? Probably not though.
@roll

Fix - https://github.com/datahq/dataflows/pull/117


Slider Label

Hello,
I've added a text property to the CircleSlider component. Clients can label their sliders, adjust the color and stroke width of the text. If needed they can also view the value of the slider side by side with the label.
New properties: text, strokeWidth, dy, showValue
Screenshot:

Good day

Hey, @sayeed910
I'll be able to take a look and merge that in 1-3 days or so.

Can't be merged "as is"


Online index operations can only be performed in Enterprise edition of SQL Server.

Getting following error on starting the server.
Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
Online index operations can only be performed in Enterprise edition of SQL Server.
at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)
ClientConnectionId:8f94daa7-635a-47d7-a63d-0d680f615cc4
Error Number:1712,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand)
at Microsoft.Health.SqlServer.Features.Schema.Manager.SchemaManagerDataStore.ExecuteScriptAsync(String script, CancellationToken cancellationToken)
at Microsoft.Health.SqlServer.Features.Schema.SchemaUpgradeRunner.ApplySchemaAsync(Int32 version, Boolean applyFullSchemaSnapshot, CancellationToken cancellationToken)

Hello, you will need Enterprise SQL to run the upgrade scripts.


Story tag changes

Tags are now not just strings but they also contains semantic meanings. App should adopt necessary changes.

I added new tag model, it's in dev branch now. there were also some problems too. you need to update your branch with current dev branch

done.


how to generate pseudo label?

This is a great base work . I was learning how to use cam for segmentation training, and then found it. But I didn't find the function to generate pseudo label through cam.

Hi @lions-heart ,
This repo contains the code for retraining step. Please refer to other works such as https://github.com/YudeWang/SEAM for pseudo label generation.

Thank you for your reply. Is out_cam_pred the pseudo mask we want to generate? Cause i don`t find 'config.py' in SEAM.

That's right.
Suggest to use the predictions of the random walk step, which is better.
https://github.com/YudeWang/SEAM/blob/c55601649c5fa676836d3ec70ec044541b7d1d83/infer_aff.py#L60
More details please refer to README in SEAM repo.


WIP: JSX

WIP
Ref #3

Is there a way to have a easy helper to pass different types of nodes?
Simple example (could be applied in like almost all the nodes)
interface JSXMemberExpression <: Expression {
    type: "JSXMemberExpression";
    object: JSXMemberExpression | JSXIdentifier,
    property: JSXIdentifier
}

the object property could be JSXMemberExpression | JSXIdentifier
so it would be nice if the API was like let object = children.passOneOfNodes(['JSXMemberExpression','JSXIdentifier']); - should sure exactly but it would basically check if one of the strings based in works.

Good job, @hzoo!

so it would be nice if the API was like let object = children.passOneOfNodes(['JSXMemberExpression','JSXIdentifier']); - should sure exactly but it would basically check if one of the strings based in works.

Yeah, I feel free to add this method.

Should make a new method like passOneOfNode or override passNode to take an array?

Wow I realized I made a lot of mistakes when I made a single test for <a/>.
I was putting the wrong string for super('JSXSpreadElement', childNodes); and put like Node or whatever after copy pasting for a lot of them.
Also I was using assertToken and assertNode instead of isToken if an if statement. Wish we could lint those :smile:

Should make a new method like passOneOfNode or override passNode to take an array?

I think it's better to create a new method for performance purposes.

Might be similar to templates PR
   [ { _type: 'JSXOpeningElement',
       _firstChild: [Object],
       _lastChild: [Object],
       _parentElement: null,
       _nextSibling: null,
       _previousSibling: null,
       _childElements: [Object],
       _name: [Object],
       _attributes: [],
       _selfClosing: false },
     { _type: 'Punctuator',
       _firstChild: null,
       _lastChild: null,
       _parentElement: null,
       _nextSibling: null,
       _previousSibling: null,
       _childElements: [],
       _value: '{',
       _sourceCode: '{',
       _sourceCodeLength: 1,
       _sourceCodeLines: [Object],
       _isComment: false,
       _isWhitespace: false },
     { _type: 'Punctuator',
       _firstChild: null,
       _lastChild: null,
       _parentElement: null,
       _nextSibling: null,
       _previousSibling: null,
       _childElements: [],
       _value: '}',
       _sourceCode: '}',
       _sourceCodeLength: 1,
       _sourceCodeLines: [Object],
       _isComment: false,
       _isWhitespace: false },
     { _type: 'JSXClosingElement',
       _firstChild: [Object],
       _lastChild: [Object],
       _parentElement: null,
       _nextSibling: null,
       _previousSibling: null,
       _childElements: [Object],
       _name: [Object] } ]

for
it('allow opening and closing tag with JSXEmptyExpresion', () => {
        const expression = parseAndGetExpression('< a >{}< / a >');

Ok added rest of the tests. I don't think we need JSXText? It's not in https://github.com/facebook/jsx/blob/master/AST.md either.
Still need to figure out JSXElement children issues + tests.

1.txt

Impressive work, @hzoo!


add example projects folder

include a folder where we include example projects people can do with libra.

Added the folder. Need to update with examples.


[Bug]: fails to load images from placekitten.com

Summary
The sample code in the React documentation that uses placekitten.com fails to display images due to a host error.
Page
https://react.dev/learn/manipulating-the-dom-with-refs
Details
In the sample code, images are not displaying.
When entering the image URL in a browser, it shows "Web server is down, Error code 521, placekitten.com Host Error."

I am observing the same issue: only the text from the alt attribute is visible. The content is too small to force a scroll appearance, which makes this example ineffective.

The content overlaps with this #6758.

Fixed in https://github.com/reactjs/react.dev/pull/7189


walletpassphrase (console mode) - Fails to consider comma as a valid passphrase character.

Try to unlock wallet in the console with command line walletpassphrase fails if a comma is contained in the passphrase. The json parser wont allow it.
Expected behaviour
Should accept comma as valid character part of the passphrase.
Actual behaviour

eg: Try command in console window
walletpassphrase  "km3k5h3lk,X$VG#$" 120

All the time.
eg: Try command in console window
walletpassphrase  "km3k5h3lk,X$VG#$" 120

core 0.20.0

Tails OS

Tails OS

Tested current master -- works as expected.
@hemzer Do you mind trying v0.21 or master branch?

Closing for now.


Implement Github Action to check test coverage using Kover

https://github.com/marketplace/actions/kotlinx-kover-report

Confirmed PR is working as expected https://github.com/nsalazar0429/github-profiler/pull/8


allow setting port in tests

Allows to run tests on different ports using the DB_PORT environment variable
Had to update InitCommandTest as it parsed the DSN string by value position instead of by key

Codecov Report
Base: 73.25% // Head: 70.30% // Decreases project coverage by -2.94% :warning:

Coverage data is based on head (693683e) compared to base (b542279).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1923      +/-   ##
============================================
- Coverage     73.25%   70.30%   -2.95%
  Complexity     7917     7917
============================================
  Files           227      227
  Lines         21133    21133
============================================
- Hits          15480    14857     -623
- Misses         5653     6276     +623

Flag
Coverage Δ

5-max
70.30% <ø> (-2.95%)
:arrow_down:

7.4
70.30% <ø> (-2.95%)
:arrow_down:

mysql
?

pgsql
69.05% <ø> (ø)

sqlite
66.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/Propel/Generator/Reverse/MysqlSchemaParser.php
0.00% <0.00%> (-88.27%)
:arrow_down:

src/Propel/Generator/Platform/MysqlPlatform.php
6.60% <0.00%> (-79.28%)
:arrow_down:

src/Propel/Runtime/Adapter/Pdo/MysqlAdapter.php
0.00% <0.00%> (-60.87%)
:arrow_down:

.../Propel/Generator/Reverse/AbstractSchemaParser.php
44.18% <0.00%> (-23.26%)
:arrow_down:

src/Propel/Generator/Model/VendorInfo.php
70.58% <0.00%> (-17.65%)
:arrow_down:

src/Propel/Generator/Model/MappingModel.php
40.00% <0.00%> (-16.00%)
:arrow_down:

src/Propel/Generator/Model/Table.php
65.40% <0.00%> (-8.08%)
:arrow_down:

...rc/Propel/Generator/Model/Diff/IndexComparator.php
85.71% <0.00%> (-7.15%)
:arrow_down:

src/Propel/Generator/Schema/Dumper/XmlDumper.php
62.67% <0.00%> (-5.53%)
:arrow_down:

src/Propel/Generator/Model/Index.php
79.12% <0.00%> (-4.40%)
:arrow_down:

... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Urgent dupe glitch with Traveler's Backpack mod

https://github.com/LunaPixelStudios/Medieval-MC/issues/329
This issue was posted on our modpack's github page today. Basically, when a backpack from the Traveler's Backpack mod is combined with shears in a crafting terminal, the backpack and its contents are duplicated, as seen here: https://www.twitch.tv/mtijger/clip/HedonisticFrailSwallowPJSalt-Wj79BjvSvoCg62Px

Duplicate of #142


rye add fails silently for package incompatible with local python version

Steps to Reproduce
rye add a package that has higher python required version than what is defined in local pyproject.toml
Here I'm using a project withrequires-python = ">= 3.8" but trying to add a project with "requires_python": ">=3.10",.
It might be becuase rye's PACKAGE_FINDER_SCRIPT is a bit too simple.
Expected Result
Show version incompatibility error.
For contrast, this is what pdm outputs in this situation
Unable to find a resolution because the following dependencies don't work on all Python versions in the range of the project's `requires-python`: >=3.8.
  python>=3.10 (from <Candidate<EMAIL_ADDRESS>from https://pypi.org/simple/defradb/>)
  python>=3.10 (from <Candidate<EMAIL_ADDRESS>from https://pypi.org/simple/defradb/>)
  python>=3.10 (from <Candidate<EMAIL_ADDRESS>from https://pypi.org/simple/defradb/>)
  python>=3.10 (from <Candidate<EMAIL_ADDRESS>from https://pypi.org/simple/defradb/>)
A possible solution is to change the value of `requires-python` in pyproject.toml to >=3.10.

Actual Result
Error: did not find package defradb
Version Info
rye 0.1.0
commit: unknown (d31b4853a 2023-05-01)
platform: linux (x86_64)
self-python<EMAIL_ADDRESS>
Stacktrace
No response

With https://github.com/mitsuhiko/rye/commit/5e2f5b643839eb5e10754eb9aa3fc4cfac8c117e this is now printed out.
$ rye add defradb
Available package versions:
  defradb (0.1.3) requires Python >=3.10
  defradb (0.1.3) requires Python >=3.10
  defradb (0.1.2) requires Python >=3.10
  defradb (0.1.2) requires Python >=3.10
  defradb (0.1.1) requires Python >=3.10
  defradb (0.1.1) requires Python >=3.10
  defradb (0.1.0) requires Python >=3.10
  defradb (0.1.0) requires Python >=3.10
A possible solution is to raise the version in `requires-python` in `pyproject.toml`.
Error: did not find a version of package 'defradb' compatible with this version of Python.


.htaccess listing existing directories

The problem: the .htaccess is allowing Apache to list the contents of existing directories inside the directory public
How to reproduce the problem: create a directory called "admin" inside "public" directory. Try to access the application using the URL: example.com/admin. The contents of directory "admin" will now be listed in the screen.
How to fix: I changed the .htaccess code to the following http://d.pr/n/pgMs and it worked

I agree with @Ocramius. This is a server set up issue.


OSError: exception: access violation writing 0x0000000000000000

Description
I have a large training dataset (44 million rows, 9 columns). When I pass it into LightGBM and run the fit method, it throws this error.
The code I used is below. It's very short and fairly simple.
Reproducible example
import lightgbm as lbm
model = lbm.LGBMClassifier(learning_rate=0.2,max_depth=-5,random_state=42)
model.fit(X, y, verbose=1)
Environment info
Running a Windows 10 with 8GB ram. Using Anaconda and Jupyter notebook.
LightGBM version or commit hash:
LightGBM version 3.3.1
Command(s) you used to install LightGBM - I used a couple of different commands to try and fix the issue. All install commands were run through Jupyter notebook
!{sys.executable} -m pip install lightgbm
pip install --no-binary :all: lightgbm

@beast331 Thanks for using LightGBM. Is it possible to share the data with us, so that we can reproduce the error?

@beast331 Thanks for using LightGBM. Is it possible to share the data with us, so that we can reproduce the error?

Hi thanks for the quick reply! Is there somehow I can upload the CSV file here?
Also, I decided to try the "train" function instead of "fit" and it seems to be working. What is the difference?

Not sure whether GitHub has a limitation of the attached file size. You may send that to my email<EMAIL_ADDRESS>as well. Thanks!


Array of Objects with Duplicate Items in Single Selection Mode

When I attempt to show a list of names (some duplicates) within an array of objects using the ui-select I see strange behavior.  Using the plunker you can try the array example.  The sample array that I iterate looks like:
$scope.devObjList = [
    { name: 'Master',  guid: "1EB9BD39-4071-4E15-AA6B-451123FC3930" },
    { name: 'DeviceA', guid: "00B501D0-A876-4E27-A71F-8ADAB624557F" },
    { name: 'DeviceA', guid: "00B501D0-A876-4E27-A71F-8ADAB624557F" },
    { name: 'DeviceB', guid: "694A9892-C2BB-4951-9E87-3DEFE52E31CE" },
    { name: 'DeviceB', guid: "694A9892-C2BB-4951-9E87-3DEFE52E31CE" },
    { name: 'DeviceB', guid: "694A9892-C2BB-4951-9E87-3DEFE52E31CE" }
  ];

  <ui-select
    ng-model="devSelectionObj.name"
    search-enabled="false"
    on-select="selectDevice($select.selected, $select.activeIndex)">

    <ui-select-match placeholder="Device Selection">
      {{devSelectionObj.name}}
    </ui-select-match>

    <ui-select-choices repeat="opt.name as opt in devObjList track by $index">
      {{opt.name}}
    </ui-select-choices>
  </ui-select>

If you select the second "DeviceA" it will act as if selection 1 was made (the first "DeviceA") $select.activeIndex =1.  The same goes for "DeviceB".  If you select the second or third "DeviceB" you will get $select.activeIndex = 3 for the selection, not 4 or 5.  I have looked all over the issues and web but anything close involves changing to a multiple selection--which is not an option for my HMI.  I feel like I am missing something fundamental here.
Do you have to do anything special to iterate an array that displays some of the same names in the drop down?  Are duplicate names in the drop down not properly supported?
As you might see in the plunker example I added the array of objects to a map.  When you use the map drop down it works fine ($select.activeIndex is correct).  I can change my code to always create a map from the array but I'd like to: 1) avoid the tear up of the original code, and 2) understand the problem I am seeing with the array implementation.
Any help/suggestions would be much appreciated.
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/1uLyKA?p=preview
Versions:
Angular: 1.5.8
UI-Select: 0.19.8
Bootstrap: 3.3.7

I changed the array use duplicate objects and the problem gets worse.  I changed the array to be:
  var devA = { name: 'DeviceA', guid: "00B501D0-A876-4E27-A71F-8ADAB624557F" };
  var devB = { name: 'DeviceB', guid: "694A9892-C2BB-4951-9E87-3DEFE52E31CE" };

  $scope.devObjList = [
    { name: 'Master',  guid: "1EB9BD39-4071-4E15-AA6B-451123FC3930" },
    devA, devA,
    devB, devB, devB
  ];

Now if you select  "deviceA" all "deviceA" entries are highlighted--the same goes for "deviceB".


Spin polarization checkbox in the search gui

Add new tab in filters/methods/DFT, similarly to
https://github.com/ondracka/nomad/issues/1
Spin-polarization:
Probably:
Yes for n_spin_channels > 1
No for n_spin_channels = 1
unavailable for n_spin_channels not present
https://nomad-lab.eu/prod/v1/staging/gui/analyze/metainfo/nomad.datamodel.datamodel.EntryArchive/run/method/electronic/n_spin_channels

Actually this info should be already accessible to the frontend in https://nomad-lab.eu/prod/v1/staging/gui/analyze/metainfo/nomad.datamodel.datamodel.EntryArchive/results/method/simulation/dft/spin_polarized


#[binds_optional_of]

inject Option which is some if someone actually provides it

https://dagger.dev/api/latest/dagger/BindsOptionalOf.html


Warn when exporting to a flat format

This fixes #909
Note that this is my first time using C# and GTK, so the code quality might be subpar.
Don't hesitate to point me in the right direction and ask for changes.

One thing you could do is adding your change to CHANGELOG.md :)

One thing you could do is adding your change to CHANGELOG.md :)
And great idea, by the way

Sure thing!
I'm not too sure whether to put it under "added" or "changed" though

Looks good! Could you just fix the formatting issues that are causing the CI build to fail? Running dotnet format should work

@Matthieu-LAURENT39 in order for the errors to disappear, you could try checking the indentation and checking that the line endings are consistent (that is, no mixing LF with CR LF). If you are using Visual Studio you could try Ctrl+K and then Ctrl+D

Looks good! Could you just fix the formatting issues that are causing the CI build to fail? Running dotnet format should work

done!

@Matthieu-LAURENT39 in order for the errors to disappear, you could try checking the indentation and checking that the line endings are consistent (that is, no mixing LF with CR LF). If you are using Visual Studio you could try Ctrl+K and then Ctrl+D

i tried to change it, but i'm pretty sure it was already all LF


Ignore notes in specified folders

Hopefully the notes in the specified folder can be ignored. Thank you

+1 - I agree this would be useful - for example to ignore template folders. It would also be useful to maintain a standard list of tags for autocompletion (in a hidden folder) where these tags do not disappear from autocompletion when the last tag is deleted (or to transfer a standard tag list from one vault to another without causing clutter).

Thank you for making the issue and giving me use-cases.
I think it is very useful too.
So I implemented this.
Could you please try v0.9.0?

Thank you for making the issue and giving me use-cases. I think it is very useful too. So I implemented this. Could you please try v0.9.0?

Thankfully, it meets my needs very well

It works great


Add the ability to set a 'response-content-disposition' param/header when uploading a file

Per a client request (see: https://3.basecamp.com/3810878/buckets/9505978/todos/1362900706) it would be useful to be able to set a response-content-disposition param when uploading a file via an upload field, as a means of controlling whether the file is rendered inline or as an attachment when a user clicks a link to access it (by setting the Content-Disposition header appropriately for the file on S3).
See also some internal discussion here: https://icelab.slack.com/archives/C2BT34RK7/p1541993717013500

So the use case here is that:

For a certain type of file
In a certain upload context

We want to change the content-disposition we set? There are a few different ways we could handle, so just want to check that both those statements above are true or not. Think we could potentially make it:

A global configuration for formalist (which we can adjust per instance of an entire form)
A field-level configuration so that if you had two upload fields in a single form you could set different content disposition rules for each.

I mentioned to the client that we could do this either at a global level for particular types of files (which I thought might be the simpler option) or potentially also on a per-upload-context basis.
The client's response was:

Thanks for that information - I think if we could define it just for PDF's (which will be the most used file) that would be great

So if the global configuration option is going to be much simpler to implement perhaps that will suffice for now? We could potentially then add the ability to set this at the field level at a later date.

Yeah, we could perhaps make it a tiered thing.

Some default configuration (per file type)
Ability to adjust that global configuration when instance is created
Ability to override the global configuration per upload_field instance


Revert "[eas-json] validate EAS Submit inputs better"

Why
https://exponent-internal.slack.com/archives/C3M7V1T7Z/p1706298474970749

/changelog-entry bug-fix Revert incorrect EAS Submit input validation changes


SetIcon iconPath parameter must be a path to an ICO file

The AppWindow.SetIcon(string) doesn't call out the restriction that the string must be a path to an ICO file, as is described here.

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

ID: ee69a7f6-f74a-daf1-bde5-ea9961f6988f
Version Independent ID: 16d39b63-659a-5f58-5880-a56cb841cba5
Content: AppWindow.SetIcon Method (Microsoft.UI.Windowing) - Windows App SDK
Content Source: winapps-winrt-build/xml/Microsoft.UI.Windowing/AppWindow.xml
Product: reunion
Technology: reunion-reference
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Thanks for the feedback. The SetIcon doc has been updated with the information from the Title bar doc.


[C++] find_package(Arrow) is broken on Ubuntu 18

This is similar to https://issues.apache.org/jira/browse/ARROW-10495

CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/arrow/Findre2Alt.cmake:25 (find_package):
  By not providing "Findre2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "re2", but
  CMake did not find one.  Could not find a package configuration file provided by "re2" with any of
  the following names:    re2Config.cmake
    re2-config.cmake  Add the installation prefix of "re2" to CMAKE_PREFIX_PATH or set "re2_DIR"
  to a directory containing one of the above files.  If "re2" provides a
  separate development package or SDK, be sure it has been installed.
 Please see the migration documentation for further details.

I close this because Ubuntu 18.04 reached EOL on 2023-05-31.


is vue-progressbar package working for vue 3.0?

Hai everyone! I expect a lot from the developers out there hopefully reading this message.
Previously I would like to thank all the developers who have contributed to this plugin for vuejs 2.
Here I donate some of my knowledge, to provide support for vuejs 3.
hurry up, what are you waiting for. check out the link below for details
https://www.npmjs.com/package/@aacassandra/vue3-progressbar
or install directly from the command below
npm install @aacassandra/vue3-progressbar

documentation is not much different from official documentation hilongjw/vue-progressbar
Hopefully useful 🍺
@banushanv

Can we use this vue3 progressbar for vue3 with  composition Api ?

Can we use this vue3 progressbar for vue3 with composition Api ?

@aacassandra

@banushanv
Yes, of course. I have changed it to composition api. You can see the sample code in the src folder. I use provide and inject provided in vue3

Thank you .
On Wed, 9 Dec 2020 at 03:41, Alauddin Afif Cassandra <
<EMAIL_ADDRESS>wrote:

@banushanv https://github.com/banushanv
Yes, of course. I have changed it to composition api. You can see the
sample code in the src folder. I use provide and inject provided in vue3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hilongjw/vue-progressbar/issues/98#issuecomment-741115917,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIR7UEG5NAUMB2XFLDSV253ST2QBBANCNFSM4TO4E3PQ
.

Thank you .
…
On Wed, 9 Dec 2020 at 03:41, Alauddin Afif Cassandra < @.***> wrote: @banushanv https://github.com/banushanv Yes, of course. I have changed it to composition api. You can see the sample code in the src folder. I use provide and inject provided in vue3 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#98 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIR7UEG5NAUMB2XFLDSV253ST2QBBANCNFSM4TO4E3PQ .

Yes, you're welcome 🙏


[BENCH REPORT] Some stuff to investigate

Nothing drastic , just here for reference.


Add bomctl to homebrew core

Currently users would need to add our unique homebrew tap before they can install bomctl via homebrew. We should get bomctl included in the core library as to remove that step to make installation easier

Homebrew core frowns upon maintainers self-submitting and have some adoption/interest metrics they usually want to see before we can get added to the core repo.
https://docs.brew.sh/Acceptable-Formulae#niche-or-self-submitted-stuff

That seems like the right thing to do.

Given the stance of Homebrew on self-submitting of products, this issue isn't something we can really achieve directly. Closing this issue, leaving it in the hands of the community.