Fix/copy class

Proposed changes
Addresses the issues with copy_class showcased in #414
Fixes
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to agents-aea?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the develop branch (left side). Also you should start your branch off our develop.
[ ] Lint and unit tests pass locally with my changes and CI passes too
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that code coverage does not decrease.
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

ubuntu 3.8, 3.10 - #413FAILED tests/test_helpers/test_exec_timeout.py::test_supervisor_not_started

ubuntu 3.9 - new

FAILED tests/test_cli/test_search.py::TestSearchContractsLocal::test_search_contracts_registry_positive

windows 3.7 - seen more often since recently, seems to be a windows 3.7 specific pattern

2022-10-29T12:26:01.9282179Z tests/test_cli/test_run.py::test_run[fake-password] ERROR: InvocationError for command 'D:\a\open-aea\open-aea\.tox\py3.7\Scripts\pytest.EXE' -rfE --doctest-modules aea tests/ --cov=aea --cov-report=html --cov-report=xml --cov-report=term --cov-report=term-missing --cov-config=.coveragerc --cov-append -m 'not integration and not unstable and not profiling' (exited with code<PHONE_NUMBER>)

windows 3.10 - new

FAILED tests/test_cli/test_ipfs_hash.py::TestHashAll::test_invocation

Codecov Report
Base: 96.70% // Head: 96.70% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (0452859) compared to base (e8cc06d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                Coverage Diff                @@
##           tests/copy_class     #415   +/-   ##
=================================================
  Coverage             96.70%   96.70%
=================================================
  Files                   204      204
  Lines                 18669    18674    +5
=================================================
+ Hits                  18054    18059    +5
  Misses                  615      615

Flag
Coverage Δ

unittests
96.70% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

aea/test_tools/utils.py
100.00% <100.00%> (ø)

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.

The failures observed by introduction of the tests in #414 are resolved

2022-10-29T12:26:01.9282179Z tests/test_cli/test_run.py::test_run[fake-password] ERROR: InvocationError for command 'D:\a\open-aea\open-aea.tox\py3.7\Scripts\pytest.EXE' -rfE --doctest-modules aea tests/ --cov=aea --cov-report=html --cov-report=xml --cov-report=term --cov-report=term-missing --cov-config=.coveragerc --cov-append -m 'not integration and not unstable and not profiling' (exited with code<PHONE_NUMBER>)

The return code indicates the memory overflow caused by infinite recursion
https://www.reddit.com/r/learnpython/comments/enp7oy/what_does_3221225725_0xc00000fd_exit_code_means/
https://www.febooti.com/products/automation-workshop/online-help/actions/run-cmd-command/exit-codes/
Ubuntu 3.9 and windows 3.10 are not new, they are caused by the click CLI runner not being able to capture the output properly. We already have an issue open for this


Can't clone ctrlp repo '.' not being escaped

Explain the problem here ...
https://github.com/ctrlpvim/ctrlp.vim
relevantinit.vim contents
...
Plug 'ctrlpvim/ctrlp.vim'
...

x ctrlp:
    Cloning into 'C:\Users\XXXXXXX\.nvim\bundle\ctrlp'...
    remote: Invalid username or password.
    fatal: Authentication failed for<EMAIL_ADDRESS>
See it should be getting ctrlpvim/ctrlp.vim.git/ but it's only getting ctrlpvim/ctrlp.git/

Git version:
git version 2.18.0.windows.1

Neovim doesn't let me copy version, so see screenshot below

Type:

[X] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[ ] Linux
[ ] OS X
[X] Windows

Vim:

[ ] Terminal Vim
[ ] GVim
[X] Neovim

I also ran into this with itchyny/lightline.vim.

Did you try on the latest release of Neovim? Post the output of `nvim --version'.

I use repos with periods in my vimrc and I use it for Vim 7.2+ and Neovim 0.2+ so I can't reproduce the error. Some plugins I use are the ff:
Plug 'AndrewRadev/splitjoin.vim'
Plug 'nanotech/jellybeans.vim'


Output file location for the newly created really executable jar

It would be nice if you could specify a path in the name of the output file, or specify a directory path as a different property altogether so that the finished really executable jar would end up in whatever directory or path. Right now it defaults to target/, but I want it to end up in /my/special/path. Am I making sense?
Great plugin! :)

I think so, but that is fairly unconventional maven. Would it be better to hook in post-build with another plugin to move things around?

Ah yeah, that's true, it is unconventional. A post build plugin could work, or a different approach.


Elytra version format explodes when there's no git repository

Should use some form of fallback in this case. Maybe MCVERSION-VERSION.custom@USERNAME?

Use a timestamp.
On Fri, Aug 18, 2017 at 2:41 AM, William Thompson<EMAIL_ADDRESS>wrote:

Should use some form of fallback in this case. Maybe
MCVERSION-VERSION.custom@USERNAME?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elytra/Skeleton/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABusJGd1qq0Abp0tS4MHuzE9iv6I0tiHks5sZVxKgaJpZM4O7U8s
.


adding applePay and memory heap

display-mode: browser

You're absolutely correct about this.
I've taken this out from v0.12.6 and published a new version.
Thanks for pointing it out!

you seems receptive so as i was browsing on several of this solutions online (+ trying to make my own)
i think you should add:

applePay
memory heap

Cool, yeah I'll look into these. Seem pretty straight forward.

hi @ilkkapeltola, you are right with applePay, i saw it in both fingerprintjs and OP-Fingerprinting-script. i didn't see they used the payment method but this could be cool if stable or semi-stable.
jsHeapSizeLimit i saw only here, they use jsHeapSizeLimit and it seems to be stable.

Are you using this library: OP-Fingerprinting-Script ?
By the looks of what's being done, I have concerns that the fingerprint is unstable. Maybe I'm wrong, but it feels like the use of performance alone is quite dangerous.  🤔

Getting the results and fingerprint server side. Didn't check what stable and what not yet

Actually, I have done some more testing on the jsHeapSizeLimit and I think you're right, it is very stable. I thought I had different values in incognito, but it was actually because I opened a file locally. That's not a concern for me, so yeah I'll implement that. If there are some issues in the field, it can be taken out later.

Added support for these two in v0.13.0


analysis_url

Hi!
I'm suddenly no longer able to access analysis_url and very curious to find out if I'm the only one experiencing this problem. I'm getting error status 401 with the message "No token provided". I'm using the prompt_for_user_token function to authenticate.
Thank you in advance!
-Snippern

There was a change to the spotify API - you are now required to include
your auth token when you get the analysis url. This can be done easily with
the _get method like so:
from spotipy.oauth2 import SpotifyClientCredentials
import json
import spotipy
import time
import sys
client_credentials_manager = SpotifyClientCredentials()
sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager)
sp.trace=False
if len(sys.argv) > 1:
artist_name = ' '.join(sys.argv[1:])
results = sp.search(q=artist_name, limit=50)
tids = []
for i, t in enumerate(results['tracks']['items']):
print(' ', i, t['name'])
tids.append(t['uri'])
start = time.time()
features = sp.audio_features(tids)
delta = time.time() - start
for feature in features:
    print(json.dumps(feature, indent=4))
    print()

   analysis = sp._get(feature['analysis_url'])*
  print(json.dumps(analysis, indent=4))
  print()

On Tue, Jun 14, 2016 at 12:53 PM, Snippern<EMAIL_ADDRESS>wrote:

Hi!
I'm suddenly no longer able to access analysis_url and very curious to
find out if I'm the only one experiencing this problem. I'm getting error
status 401 with the message "No token provided". I'm using the
prompt_for_user_token function to authenticate.
Thank you in advance!
-Snippern
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/plamere/spotipy/issues/101, or mute the thread
https://github.com/notifications/unsubscribe/AAFvGa_WJq9RlPXPflY0PcxD8NdKOFN2ks5qLtx3gaJpZM4I1iKf
.

Perfect! Thank you so much!

using the same code, I get this:
features = sp.audio_features(tids)

AttributeError: 'Spotify' object has no attribute 'audio_features'
what is wrong?


Some tables cannot be selected correctly and don't appear in the sidebar

I got a problem for some of MySQL tables. The extension does not load it correctly or there is a problem what that specific table that makes it cannot be loaded by the extension, I don't know exactly.
There are no errors related to the extension in the Extension Host log and Developer Tools console as well.
This is when I choose the right table

The side panel appears and the suggestions are also related to that table
And this one when I choose another table

The side panel does not appear and the suggestions don't change. It keeps the previous table state
You can also see the extension host log in the images above. No errors log.
Developer tools console looks like

Need help about this issue, thanks.

I have the same problem, I do not see the SQL table section in the side bar.
I'm connecting to a postgreSQL


:white_check_mark: Impl handler for netOff()

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

Comparison is base (aeb2697) 80.26% compared to head (cd04481) 80.26%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   80.26%   80.26%
=======================================
  Files          10       10
  Lines         456      456
  Branches      104      104
=======================================
  Hits          366      366
  Misses         73       73
  Partials       17       17

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


RFE: Category trees for Quick Links

I love quick links, and would like to organize them in a collapse/expand tree format.

Hi @Comnenus  -
That's a file manager, try downloading and using ranger, highly configurable and fun to use
Or
nnn if you don't want as many options

@Comnenus if you use Windows try lf - the easiest way to install it is by using the Chocolatey WIndows package manager with the instructions choco install lf -y

Thank you for the suggestion. Quick links are meant to be just that, quick. An organized, nested structure like that should be reserved for the bookmarks bar.


Fix readme

The verify example was not correct.
Maybe it deserves also some explanation?

Thanks for this.


Hooks or flags to link the rolls to other modules?

I am hoping to use Stealthy in conjunction with the Patrol module, so that I can have patrolling guards with automatic 'alerts' when they spot stealthing party members.
I think this will work using passive perception and passive stealth values, as those are exposed in the actor data, but I was wondering if the 'stealth' and 'spot' rolls from stealthy are also exposed somehow, and what the flag for them might be?

Currently the values are stored in the effects. I'll look at adding an API hook to get them in a more friendly manner, but for the time being you can look for the 'stealthy' flag on the Spot/Hidden active effects.
const hiddenValue = hiddenEffect?.flags.stealthy?.hidden ?? actor.system.sklls.ste.passive;
const spotValue = spotEffect?.flags.stealthy?.spot?.normal ?? effect?.flags.stealthy?.spot;

Ahh thankyou, just so I'm understanding will that set the 'hidden value' to the stealth roll if it exists, and if not it'll set it to the passive stealth? Seems ideal, thankyou

next release will have an api const hiddenValue = game.stealthy.getHiddenValue(actor); which will take care of looking up the effect and dealing with passives. Same for spot. Eventually it will have an option parameter to deal with stuff like lighting or disadvantage or whatever.

Awesome. I assume the new api will do the same as the example before? (eg. will show the stealthy value if it exists, but if it doesn't it'll default to the passive?)

Exactly.


Add localization support

A few people have requested translations of Hourglass into various languages and offered to provide translation files. Hourglass doesn't currently support this well. To fix this:

The parsing logic that processes input (e.g., "5" -> 5-minute timer) needs to be rewritten in a way that makes sense. Currently, it's done with a huge stack of impossible to understand (and even more impossible to translate) regular expressions.

Support for some kind of translation file so that people can volunteer to translate the program into their preferred language. I don't know that this app has enough interest to support translations into multiple languages long-term, but at least people will be able to translate the strings that they care about themselves. (Most people only actually care about the countdown time being translated.)

Dude just do it there is nothing to lose. I use Hourglass to study, so like i use it every single day in the semester. Seeing it in all my language is something small but big in the same time.


.proto file generator

Feature Request
Currently you have proto to ruby.  I'd love it to have a generator the other way as well.  Write first in Ruby, then export to .proto files for other devs to use.

I'd be interested in helping if that's what you would need for this.

I don't have a particular use for this, but it sounds like a fun project! I'd recommend putting it in its own gem, since versioning a ruby to protobuffs compiler would mostly be independent of this serialization library's version.

Good point!  I may get started on this shortly.

Cool! If you want some of the internal beefcake APIs about fields on an object to be made public/reliable/static, we can probably do that.


Skill fiery blood

+4 attack if HP is not at max.

pull the latest repo and repush the PR

Just gonna close, it's a mess.


RequestContext.currentContext.req is undefined

Hi
When running the test code in the unit jest environment, the RequestContext.currentContext.req in req property remains undefined.

You can use something like this
jest.mock('nestjs-request-context', () => ({
RequestContext: {
currentContext: {
req: {
user: {},
},
},
},
}));
and then in test suite, just mock the currentContext.req to what you want
RequestContext.currentContext.req.user = ....;
It's my case with mocking user, but you can use it as you want

just mock the currentContext.req to what you want

@sebastian-xicay  - how do you access this to mock it?

just mock the currentContext.req to what you want

@sebastian-xicay  - how do you access this to mock it?

I've attached the example
jest.mock('nestjs-request-context', () => ({
RequestContext: {
currentContext: {
req: {
user: {},
},
},
},
}));

Oh. But you said 'and then in test suite, just mock the currentContext.req to what you want' - I assumed there was some future mocking beyond what you're saying here @sebastian-xicay

Anyway, I found my problem - it was caused by not have my extended prisma client used in my tests.


bug with case of R

see for instance the difference between
rnying ma rgyud 'bum gyi dkar chag gsal ba'i me long
and
Rnying ma rgyud 'bum gyi dkar chag gsal ba'i me long

also sTon vs. ston

also rTen vs. rten (ex: lower case vs. upper case)


Improve how Zulip displays wordle

The PR aims to improve how Wordle gameplay gets displayed in Zulip.
See https://chat.zulip.org/#narrow/stream/97-off-topic/topic/Wordle for some samples.
The PR also has a couple of other minor commits - a typo fix, and a better way of 0-padding codepoint strings.
Testing plan:
Tested locally with sample test messages
GIFs or screenshots:
Before

After

Merged, thanks @punchagan!  I edited the commit messages to end with a period, but made not other changes while merging.

Ah, thanks @timabbott! I forgot about that convention that Zulip uses.


Hello I have a question about casting from error to Moya error?

What’s your specific question? Do you have a code snippet that illustrates your issue?

@Gerzer  Hello!
This is where the error occurred.
as you see i try to convert error to MoyaError but it doesn't work
guard let errorCode = (error as? MoyaError)?.response?.statusCode else {
              // error as? MoyaError is nil
                    if let moyaError = (error as? MoyaError), moyaError.errorCode == 6 {

                        return Single.error(api.errorMap[1009] ?? error)
                    }

    return Single.error(error)
}

<img width="511" alt="스크린샷 2023-11-15 오전 8 59 5@Gerzer rc="https://github.com/Moya/Moya/assets/48616183/4e14d69f-48bf-4538-97bc-c8f2c78c7836">

Swift doesn’t (yet) have typed errors, so the compiler can’t guarantee that all errors that a Moya function might throw will indeed be MoyaError instances. Your code should be able to handle all errors, whether or not they’re MoyaError instances.

@Gerzer  Hmm.. Then How Can i use statusCode on error ??

@Gerzer Hmm.. Then How Can i use statusCode on error ??

You can only get the statusCode property if the error type is indeed a MoyaError instance. If it’s not a MoyaError instance, then there won’t be any statusCode property.


[Feature] native mermaid support for md diagrams

Problem description
Looking for a way to better handle visualizations and diagrams via markdown in fern
Why would it be useful?
leveraging mermaid md would enable our team to maintain a single source of truth for all of our visuals. We're not blocked by this, so its very much a nice to have but if there is enough interest across the fern community, I suspect it would streamline documentation activities.
Describe the solution (optional)
A concise description of what the feature should be.
Additional context
https://mermaid.js.org/

Closing as uploading an image works for now! Can revisit if you or others need this down the line.


issues generating json from list of nested records

Hi, i'm not sure if this is supported or not, but i'm having the following issue:
i'm learning erlang passing a Node.js service to it, but i'm stock trying to map relationships between records and mapping them to json; i found your awesome library and it works perfectly until i tried to map to json a has many relationship.
I have some question is it supported and i'm doing something wrong? or it isn't? if it isn't can you point me what i need to make it work? or maybe is a bad idea to map those kind of relationships in erlang? as i said i'm just learning but there isn't anything said anywhere.
thanks in advance.
-module (collection).
-compile([{parse_transform, rec2json}]).

-export ([new/5, add_product/2]).

-export_type([collection/0]).

-type status() :: active | inactive.

-record(collection, {
  id :: binary,
  title :: binary(),
  status :: status(),
  code  :: binary(),
  image  :: binary(),
  products :: [product:product()]
}).

-opaque collection() :: #collection{}.

-spec add_product(product:product(), collection()) -> collection().
add_product(Product, Collection) ->
  ProductList = Collection#collection.products,
  ProductSet = sets:from_list(ProductList),
  ProductSet2 = sets:add_element(Product, ProductSet),
  ProductList2 = sets:to_list(ProductSet2),
  Collection#collection{products = ProductList2}.

-module (product).
-compile([{parse_transform, rec2json}]).

-export ([new/14]).

-export_type([product/0]).

-record (product,
{
  sku_base :: binary(),
  title :: binary(),
  description :: binary(),
  short_description :: binary(),
  fabric :: binary(),
  care :: binary(),
  col = collection:collection(),
  colors :: list(),
  sheerness :: pos_integer(),
  measurements :: list(),
  images :: list(),
  thumbnail :: binary(),
  price :: pos_integer(),
  sizes :: list()
}).

-opaque product() :: #product{}.

Col1 = collection:new(<<"Col1">>, active, <<"SM16">>, <<"url">>, []).
Prod = product:new(<<"">>, <<"">>, <<"">>, <<"">>, <<"">>, <<"">>, Col1, [], 7, [], [], <<"">>, 4000, ["00"]).
Col2 = collection:add_product(Prod, Col1).
product:to_json(Prod).
[{sku_base,<<>>},
 {title,<<>>},
 {description,<<>>},
 {short_description,<<>>},
 {fabric,<<>>},
 {care,<<>>},
 {col,{collection,undefined,<<"Col1">>,active,<<"SM16">>,
                  <<"url">>,undefined,[]}},
 {colors,[]},
 {sheerness,7},
 {measurements,[]},
 {images,[]},
 {thumbnail,<<>>},
 {price,4000},
 {sizes,["00"]}]

collection:to_json(Col2).
** exception error: bad argument: {products,[{product,<<>>,<<>>,<<>>,<<>>,<<>>,<<>>,
                                                      {collection,undefined,<<"Col1">>,active,<<"SM16">>,
                                                                  <<"url">>,undefined,[]},
                                                      [],7,[],[],<<>>,4000,
                                                      ["00"]}],
                                            {specific,[undefined,
                                                       {list,{specific,[{product,product,[]}]}}]}}
     in function  rec2json:'-to_json/2-fun-1-'/3 (/home/kiro/Documents/Erlang/ec_api/_build/default/lib/rec2json/src/rec2json.erl, line 145)
     in call from lists:foldl/3 (lists.erl, line 1262)
     in call from rec2json:to_json/2 (/home/kiro/Documents/Erlang/ec_api/_build/default/lib/rec2json/src/rec2json.erl, line 135)

It is supported, but there needs to be a bit extra work to get it to work seamlessly.
When rec2json encounters a user defined type, it checks if there's a module that exports a function with an arty 1 greater than the user defined type.
In your example, the collection has a type of type like product:product(). rec2json will check if there's a module product which exports product/1, passing in the tuple when converting to json, or the json when converting from.
You should be able to change your product module like so:
%% your existing code up to the export line
-export([new/14]).
-export([product/1]).

%% existing code
%% ...
%% additions

%% note the returns. If the from_json had no warnings, it return {ok, Record}. We have to wrap
%% the to_json/1 call in an ok tuple to indicate that it was able to encode the value properly.
product(Record) when is_record(Record, product) ->
	{ok, to_json(Record)};
product(Json) ->
	from_json(Json).

Hi thanks for your response, now it shows a different error message

The short answer is you've mistyped the spec for your collections field, and this means rec2json is choking on what is bad data based on the type. Change the collection record's products field type to [binary()], and this will make the crash go away.
This was funky to figure out. So, when you defined your collection record you gave the products field a type of product:product(). In the product module, you defined the type product/0 as #product{}. To help rec2json along, we've added a function to the product module called product that translates #product{} to the json representation. The function I created for you only checks if the argument passed in is a #product{}, otherwise it assumes it's json. In the case of #product{}, it calls to_json/1, otherwise it calls from_json/1.
So, rec2json transforms each field of the collection, and gets to the products field. It passes [<<"ProdId">>] to our transformation function. It doesn't match against the first clause, but it does against the second. We end up calling from_json/1, which expects a prop list. It gets [binary()], and ends up exploding because the head of the list is not {key(), value()}.
The "most correct" solution is in the short answer: change the type of the field to how it is actually being used. If you instead want to use it either way, you'll need to tighten up the product:product/1 a bit.


libMiracle.so: undefined symbol

After successfully downloading the framework, I tried running the sample test_desert_woss_dbs.tcl at DESERT_Underwater/DESERT_Framework/DESERT/samples/desert_with_woss_samples with
"tclsh ./test_desert_woss_dbs.tcl" and it returns the following error
"couldn't load file "libMiracle.so": /home/joaovolp/lisha/simulations/DESERT_Underwater/DESERT_buildCopy_LOCAL/lib/libMiracle.so: undefined symbol: _ZN9TclObject5traceEP9TracedVar
while executing
"load libMiracle.so"
(file "./test_desert_woss_dbs.tcl" line 100)"
Does someone have the same error or know how to fix it?
I'm using Ubuntu22.04 and DESERT 3.3.0

You should not use tclsh to run your tcl, but use ns
ns test_desert_woss_dbs.tcl
Moreover, remember to source the environment file after the installation (you should have seen it printed at the end of the installation process)
Finally, the example you are trying to use needs databases to work. Did you downloaded it?

Thanks, using ns to run the test worked!


Bump golang.org/x/net to v0.33.0

Fixes https://github.com/ark-network/ark/security/dependabot/38
Please @tiero @bordalix review

those files are auto generated when running go work sync


Fix ts errors in resizable component

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #34

PR #35

PR #41   👈

This stack of pull requests is managed by Graphite.


Generate constraints for  1.5.0

Description
What is the current behavior?

Generate constraints for 1.5.0

closes: #1743
What is the new behavior?

Generate constraints for 1.5.0
Add tag 1.5.0: https://github.com/astronomer/astro-sdk/releases/tag/constraints-1.5.0

Does this introduce a breaking change?
No
Checklist

[x] Created tests which fail without the change (if possible)
[x] Extended the README / documentation, if necessary

@sunank200 is it expected we are changing 401 files and deleting almost 35k lines as part of this PR?

No, I think we don't need PR for this. I was generating constraints: https://github.com/astronomer/astro-sdk/releases/tag/constraints-1.5.0
Followed this. https://github.com/astronomer/astro-sdk/blob/main/python-sdk/docs/development/RELEASE.md#releasing-constraints-for-the-release
The constraints should only be in constraints-1-5 branch only. So closing this PR.


Code Release

Hey everybody,
I was wondering if and when the code for this exciting project will be released. Is there an ETA?
I would like to evaluate my own QUD parser using your evaluation suite :)
Thank you very much for all your efforts!
Kind regards,
Osman

Hi Osman,
Thank you for your interest! We'll clean and release it asap. We'll see if that's possible to release it by the end of this week. I'll keep you posted once that's ready.
Best,
Yating

Hi Osman, I've uploaded part of our code to it. Another author is also working on this. You can check the progress over this file. We will let you know once it's ready. And thank you again for your interest on our work. I'll see if I can release the data collection UI recently as well.

Hi Osman, We've released all the code. Please let us know if you have any questions on them.

Thank you very much! I will try it out anytime soon! :)


Confusion about the model：cf_fpn_cityscapes_256_512_8.9G

hi，I've been training cf_fpn_cityscapes_256_512_8.9G models myself recently.
Because of the problem of my hardware resources（2080ti）, when I trained the dataset（cityscapes）,batch size could only be set to 1.
However, when batch size=1, the loss value of the model remains at 2.9 and does not decrease.
So I wanted to try to set a larger batch size by reducing the image size（from 1024x2048 to 256x512） of the dataset.As follows：

But when I used the scaled atlas to train FPN, I encountered the following bug：

Therefore, I am confused. The questions I am not sure about are as follows：
1.If the input size of the model is 256*512, it is ok for me to scale the image of the training, but why is the error reported？
2.What is the meaning of line 77of the file：“./cf_fpn_cityscapes_256_512_8.9G/code/ReadMe.md”?

Hi @tensorflowt
I wonder if you have solved this issue. If not, please describe your steps in detail and I will submit this issue to the engineer in charge of it. If it has been resolved, please close this issue.
Note that if we do not receive any reply from you within 2 weeks, we will assume that this issue has been resolved and will close this issue. Thank you.

Hi @tensorflowt,
how do you scaled the data?  please check you processed annotation mask to make sure the pixel value is among [0, 18] except the ignore id 255, you need use the nearest mode to resize the annotation,

Hi @tensorflowt
Since I haven't received your reply for a long time, I will close this issue. If you still have a problem, you can reopen it. Thank you very much.


Example project error

I am trying to run the Example project and get this error.

Any ideas?

Should be fixed now, please update to latest master

Its solved. Thank you.


Test and Fix for ServiceManager::get erronously returning shared services

This PR provides a test and a fix: Under certain conditions the service manager returns a shared service allthough it should not.
To invoke this bug, set shared_by_default to false. Add a factory for a class. Set shared for this class to true. Define an alias for that class. Get an object using the class id. Get an alias (1) using the alias id. Get another alias (2) using the alias id.
Acceptable result would be: object !== alias1 && object !== alias2 && alias1 !== alias2.
Current result is: object === alias1 === alias2, i.e. the returned service is shared.
Note: With a fresh install from master unit tests do not pass. PHPUnit reports 9 errors. With my test case added, it reports 10 errors (most of them related to \n and \r\n string endings, I guess).

This fix should be applied based on #214. See there.


Introduce invalid? method as an opposite to valid?

Sometimes I need to check if a model is invalid rather than valid. In this case I prefer this form to using if !model.valid? or unless model.valid?. I hope you consider this as an useful method.
Any comments are welcome!
BTW: I am not sure where I would have put a test for this case. So I hope I put it into a right place. Openly, I am a bit confused by the structure of tests.

I am good with this proposal :+1:

:+1:


Updating the files

Noticed that the course has updated its content, so need to reorder & redo everything.

Assign me


feat: Build deploy workflow

Description
Build flask app deploy workflow
PR Type
What kind of change does this PR introduce?

[ ] Bug Fix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Related Issues
Issue Number: N/A
Checklist
Put an "x" in the boxes that apply. You can also add additional tasks if needed.

[x] I have tested the changes locally and they work as expected.
[ ] I have added/updated relevant documentation (if applicable).
[x] My code follows the project's coding standards and conventions.
[x] I have reviewed my own code and ensured it is clear and understandable.
[ ] I have requested a code review from at least one team member.
[ ] I have addressed any feedback received during the code review.
[x] All new and existing tests pass successfully.
[x] I have made sure that the branch is up-to-date with the base branch.

Other information

soo-rg8.koreacentral.azurecontainer.io
위 링크에서 배포 확인 가능합니다.


Accounts are not persisted when using LevelDB

py-evm Version: 0.20.a17
OS: osx
Python Version (python --version): 3.6.5
Environment (output of pip freeze):
..
eth-abi==1.1.1
eth-account==0.2.2
eth-bloom==1.0.0
eth-hash==0.1.2
eth-keyfile==0.5.1
eth-keys==0.2.0b3
eth-rlp==0.1.2
eth-tester==0.1.0b25
eth-utils==1.0.3
hexbytes==0.1.0
..
py-ecc==1.4.2
py-evm==0.2.0a17
pycparser==2.18
pycryptodome==3.6.1
pyethash==0.1.27
Pygments==2.2.0
pypandoc==1.4
pysha3==1.0.2
pytest==3.5.1
python-dateutil==2.7.3
requests==2.18.4
rlp==1.0.1
..

What was wrong?
When using LevelDB account keys are not persisted:
       # LevelDB will set all account balances equal to 0
       #db = ChainDB(LevelDB('./testleveldb.db'))

       # MemoryDB correctly persists account balances to<PHONE_NUMBER>000000000000000
        db = ChainDB(MemoryDB())

        self.account_keys = get_default_account_keys()
        genesis_state = generate_genesis_state(self.account_keys)
        self.chain = chain_class.from_genesis(db, genesis_params, genesis_state)

Testing code to retrieve balances:
tester = EthereumTester(backend)
accounts = tester.get_accounts()
print(accounts)
print(list(tester.get_balance(account) for account in accounts))

If I understand correctly, this is assuming that using LevelDB will allow you to persist state and then re-load it again into a new EthereumTester instance.  While there is nothing specific to disallow this, it's not currently supported functionality.  Even if this is resolved, you will likely still find other things that don't behave as expected as EthereumTester maintains statefulness beyond the underlying backend's chain database.
We've talked about adding a formal API for persisting an EthereumTester state and then loading that state.
Correct me if I've mis-understood your problem.

I read this as a py-evm report. The claim being that swapping in LevelDB for MemoryDB in ChainDB causes different results to be retrieved, even just after genesis.

I wasn't sure if this is a py-evm or eth-tester problem. As a user I assumed that LevelDB and MemoryDB have the same behavior.
My use case is to use an existing state, which will be used for testing (I don't want to redo the transactions programmatically). In future (when sync with mainnet is working) I would like to use mainnet data, fork off with a new VM (similar to MainnetTesterChain) and then do testing :)

I had an dependency issue...


fix(auth): change order of condition when checking visitors id

:tada: This PR is included in version 1.0.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Test pytest-operator changes

@claudiubelu any chance you could see if this resolves the integration test issues?

@claudiubelu any chance you could see if this resolves the integration test issues?

It seems that there's a conflict that needs to be resolved. Once that's fixed, we should see the integration tests if they're passing or not.

@claudiubelu now?

FYI -- this is a draft PR not intended to be merged -- only intended to test is pytest-operator is functioning for this project

0.18.0 of pytest-operator has been published.  Closing


add git tags?

it would be nice if the changesets corresponding to a pypi release would be tagged like e.g. 0.3.0.

also, github releases could then be used to create a release based on the tag on github also (if desired).

https://github.com/dcwatson/deflate/tags i've added the tags.


python tools unable to find your machine's python executable

Please try set the path in package settings and then restart atom.
I have tried and do not seem to be able to get this to work. other python add on's work

Thank you for help me


Drag in edit mode

When you drag an element in edit mode, the vertices do not move

Geoman doesn't support combining this modes. You need to do this by your self.
Try to catch the pm:dragstart event, then disable editing and enable editing again with pm:dragend


Bump versions

Codecov Report

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

@@            Coverage Diff            @@
##             master     #105   +/-   ##
=========================================
  Coverage          ?   87.97%
  Complexity        ?      430
=========================================
  Files             ?      115
  Lines             ?     2404
  Branches          ?       77
=========================================
  Hits              ?     2115
  Misses            ?      269
  Partials          ?       20


Update feed.atom

Docs Build status updates of commit 8480271:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feed.atom
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add "Process child process output continuously" example

Please provide an example using std only that shows how to process child process output (stdout) continuously without waiting for the child to finish.
cc #266
Original request below:

In https://rust-lang-nursery.github.io/rust-cookbook/basics.html#ex-parse-subprocess-output it looks like the example waits for subprocess to finish before processing output. How to process program output in realtime similar to what grep does?
Also, if the reading operation is blocking and child process hangs without any output, how to implement a timeout in this situation?

Thanks @abitrolly !
The key ingredients here are to use Command::new("long_running_process").stdout(Stdio::piped())
and passing the child.stdout into the BufReader::new.
This should be quite straightforward, would you like to submit a PR for it? I'll help you along the way :)

One example idea for this one:
Spawn the ping localhost process and display live statistics like the average/minimum/maximum round trip.
If you are happy with this guys, I can give it a go.

@ludwigpacifici I'd actually suggest something a little simpler like filtering dmesg or journalctl in the realtime.

I am interested, but not sure if I could get back to this soon. I didn't stress it much, but for me the key point was not to block main thread while program is waiting for input, so that if there is no input for some time, the program could report it.

I'm personally game with anyone taking this example.
About implementing some kind of a timeout, this would require threading and I'm not sure if it would be a perfect cookbook example but i might be convinced otherwise. Anyhow I'd prefer for this example to be minimal as described (without timeout) and we might see if we can provide a second more involved version with timeout.

@abitrolly I let you decide if you want to go for it :-)
Slightly off topic:

About implementing some kind of a timeout, this would require threading and I'm not sure if it would be a perfect cookbook example but i might be convinced otherwise

Could it be an example to show async recipe with the tokio crate? And more generally, is there a plan to have a section about tokio?

Could it be an example to show async recipe with the tokio crate?

Sure :)

is there a plan to have a section about tokio?

Yep there is. Unfortunately the async story for rust is not stable yet (and will not be for some time), so we will wait with such examples until async in the language and ecosystem matures a little.

@abitrolly I let you decide if you want to go for it :-)

Hey @abitrolly, are you still interested?

@ludwigpacifici unfortunately, there still no time for Rust, and I don't expect things to change any time soon.

ok so the issue is up for grabs again

In that case, I can have a look?

sure!


Missing method errors using AsyncRead

This may not be the correct place to post this, but I am running into weird errors trying to use AsyncRead.
Here is a narrowed down snippet illustrating the error (also uploaded at https://github.com/chmln/fut-err):
use futures;

pub struct LineStream<T: futures::io::AsyncRead> {
    inner: T,
}

impl<T: futures::io::AsyncRead> LineStream<T> {
    pub fn new(inner: T) -> Self {
        inner.poll_read();
        Self { inner }
    }
}

Error:
error[E0599]: no method named `poll_read` found for type `T` in the current scope
 --> src/main.rs:9:15
  |
9 |         inner.poll_read();
  |               ^^^^^^^^^
  |
  = help: items from traits can only be used if the trait is implemented and in scope
  = note: the following trait defines an item `poll_read`, perhaps you need to implement it:
          candidate #1: `futures_io::if_std::AsyncRead`

error: aborting due to previous error

Based on the suggestion I've tried adding std and nightly feature flags but that did not help either.
Extra Info:
$ rustc +nightly --version
rustc 1.36.0-nightly (3c3d3c177 2019-04-17)

[dependencies]
futures-preview = { version = "0.3.0-alpha.14" }

This is because poll_read takes self: Pin<&mut Self>, you need to explicitly wrap inner into a pinned reference (unlike &mut self etc. this is not done automatically by Rust):
core::pin::Pin::new(&mut inner).poll_read(unimplemented!(), unimplemented!());

This is a pretty terrible error message for forgetting that though, I'll make sure there's an upstream issue about improving the error message to mention the expected type.

This is a pretty terrible error message for forgetting that though, I'll make sure there's an upstream issue about improving the error message to mention the expected type.

https://github.com/rust-lang/rust/issues/59269

Opened https://github.com/rust-lang/rust/issues/60086

Thanks for clearing that up @Nemo157 :+1:


Update Startup.cs

Added a configuration to SignalR to allow larger messages. This way, the Server doesnt fail when trying get Large Image Data.
I have not tested this in your Project yet, but used this to workaround succesfully.

Hi @fabsch225,
This doesn't seem to be a problem with this library, but rather a configuration that is app-specific. I think it would make more sense documenting this in some form, rather than modifying this in Startup.cs. If you feel that it's going to be relevant to many users, please consider writing this up.
Thanks
Stefan


Running on cuda

Thank you for the nice model, when I was attempting to run the iceberg_demo notebook on GPU i encountered the following error when attempting to run
outputs = model.predict_mol(smi=test_smiles,
adduct=test_ionization,
device='cuda:0',
max_nodes=100,
binned_out=False,
threshold=0)
/home/user/mambaforge/envs/ms-gen/lib/python3.8/site-packages/dgl/backend/pytorch/tensor.py:44: UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors. This means you can write to the underlying (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to protect its data or make it writeable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at  /opt/conda/conda-bld/pytorch_1631630839582/work/torch/csrc/utils/tensor_numpy.cpp:180.)
return th.as_tensor(data, dtype=dtype)
RuntimeError                              Traceback (most recent call last)
/tmp/ipykernel_745705/1593813572.py in <cell line: 2>()
1 # Model predict takes both a smiles string and an ionization
----> 2 outputs = model.predict_mol(smi=test_smiles,
3                             adduct=test_ionization,
4                             device='cuda:0',
5                             max_nodes=100,
~/ms-pred/src/ms_pred/dag_pred/joint_model.py in predict_mol(self, smi, adduct, threshold, device, max_nodes, binned_out)
86         root_inchi = common.inchi_from_smiles(root_smi)
87
---> 88         frag_tree = self.gen_model_obj.predict_mol(
89             root_smi=root_smi,
90             adduct=adduct,
~/ms-pred/src/ms_pred/dag_pred/gen_model.py in predict_mol(self, root_smi, adduct, threshold, device, max_nodes)
460                 broken_nums_tensor = torch.FloatTensor(broken_nums_ar).to(device)
461
--> 462                 pred_leaving = self.forward(
463                     graphs=frag_batch,
464                     root_repr=root_repr,
~/ms-pred/src/ms_pred/dag_pred/gen_model.py in forward(self, graphs, root_repr, ind_maps, broken, adducts, root_forms, frag_forms)
199             with root_repr.local_scope():
200                 if self.embed_adduct:
--> 201                     embed_adducts_expand = embed_adducts.repeat_interleave(
202                         root_repr.batch_num_nodes(), 0
203                     )
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking arugment for argument index in method wrapper_index_select)

Thanks for your interest!

Did you get it to work on cpu?
Did you send the model to gpu before running this? I.e., "model = model.to(device)"

Thank you for the quick response!

Yes it worked on cpu. However, I noticed it has issues handling heavy atoms such as "Au" and "Sn". Are there limitations on handling certain elements or structures? (i.e. must be a covalently-bonded single molecule, no dimers?) It also resulted in a RuntimeError: CUDA error: device-side assert triggered when running the following molecules:

Error Molecule 1
CCCCCCCCCC(=O)NC@@HC(=O)NC@HC(=O)NC@@HC(=O)N[C@@H]1C(=O)NCC(=O)NC@@HC(=O)NC@@HC(=O)NC@HC(=O)NC@@HC(=O)NCC(=O)NC@HC(=O)NC@@HC(=O)NC@@HC(=O)O[C@@H]1C
Error Molecule 2
CCCCCCCCCCCCC/C=C/C@@HC@HNC(=O)CCCCCCCCCCCCCCCCCCC
Then I changed dgl to dgl-cu117 to match my CUDA toolkit version before attempting to run it on GPU.

Yes, this is the code I ran

`import pandas as pd
import numpy as np
from collections import defaultdict
import ms_pred.magma.fragmentation as fe
from ms_pred.common.plot_utils import *
from ms_pred.dag_pred import joint_model
set_style()
%load_ext autoreload
%autoreload 2
sample_labels = "../data/spec_datasets/sample_labels.tsv"
test_df = pd.read_csv(sample_labels, sep="\t")
Get first entry from test_df for smiles and ionization
test_smiles = test_df.iloc[0]['smiles']
test_ionization = test_df.iloc[0]['ionization']
test_smiles = "InChI=1S/C7H15NO3/c1-8(2,3)5-6(9)4-7(10)11/h6,9H,4-5H2,1-3H3/p+1"
test_smiles = "NC(CCCCn1cccc2nc(NCCCC(N)C(=O)O)nc1-2)C(=O)O"
test_ionization = "[M+H]+"
Get best models
inten_ckpt = f"../quickstart/iceberg/models/canopus_iceberg_score.ckpt"
gen_ckpt = f"../quickstart/iceberg/models/canopus_iceberg_generate.ckpt"
Load joint model
model = joint_model.JointModel.from_checkpoints(inten_checkpoint=inten_ckpt,
gen_checkpoint=gen_ckpt)
device = "cuda:0"
model = model.to(device)
Model predict takes both a smiles string and an ionization
outputs = model.predict_mol(smi=test_smiles,
adduct=test_ionization,
device='cuda:0',
max_nodes=100,
binned_out=False,
threshold=0)`
[08:31:36] WARNING: Omitted undefined stereo
[08:31:36] WARNING: Omitted undefined stereo

RuntimeError                              Traceback (most recent call last)
/tmp/ipykernel_797579/1593813572.py in <cell line: 2>()
1 # Model predict takes both a smiles string and an ionization
----> 2 outputs = model.predict_mol(smi=test_smiles,
3                             adduct=test_ionization,
4                             device='cuda:0',
5                             max_nodes=100,
~/ms-pred/src/ms_pred/dag_pred/joint_model.py in predict_mol(self, smi, adduct, threshold, device, max_nodes, binned_out)
86         root_inchi = common.inchi_from_smiles(root_smi)
87
---> 88         frag_tree = self.gen_model_obj.predict_mol(
89             root_smi=root_smi,
90             adduct=adduct,
~/ms-pred/src/ms_pred/dag_pred/gen_model.py in predict_mol(self, root_smi, adduct, threshold, device, max_nodes)
460                 broken_nums_tensor = torch.FloatTensor(broken_nums_ar).to(device)
461
--> 462                 pred_leaving = self.forward(
463                     graphs=frag_batch,
464                     root_repr=root_repr,
~/ms-pred/src/ms_pred/dag_pred/gen_model.py in forward(self, graphs, root_repr, ind_maps, broken, adducts, root_forms, frag_forms)
259             root_exp = root_forms[ind_maps]
260             diffs = root_exp - frag_forms
--> 261             form_encodings = self.embedder(frag_forms)
262             diff_encodings = self.embedder(diffs)
263             form_atom_exp = torch.repeat_interleave(form_encodings, exp_num, dim=0)
~/mambaforge/envs/ms-gen/lib/python3.8/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1049         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1050                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1051             return forward_call(*input, **kwargs)
1052         # Do not call functions when jit is used
1053         full_backward_hooks, non_full_backward_hooks = [], []
~/ms-pred/src/ms_pred/nn_utils/form_embedder.py in forward(self, tensor)
44         extra_embeds = self._extra_embeddings[tensor[extra_embed] - self.MAX_COUNT_INT]
45
---> 46         out_tensor[~extra_embed] = norm_embeds
47         out_tensor[extra_embed] = extra_embeds
48
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
Thank you for the recommendation - does it not scale well in GPU?

Yes, the valid elements (due to ocurence in the training set) are C,N,P,O,S,Si,I,H,Cl,F,Br,B,Se,Fe,Co,As,Na,K (see src/common/chem_utils.py), though it could be extended at some point to use an "unknown" element if you really care about metals I suppose.
We set a maximum mass of 1500 Da, which is likely why those are failing

It scales fine on GPU, but because it's autoregressive prediction and the model is small enough, I find it scales better on CPU at inference parallelized by virtue of how many calculations can be done in parallel (vs. limited GPU memory). Note GPUs for model training is still a necessity.
That's strange regarding GPU calculations, thank you for flagging. The error is not immediately obvious, so i will need to run this myself when I have some time in the coming days. Since CPU inference works, hopefully that will be sufficient for now. I'm glad you're trying this out-- would be curious to hear if it's helpful for biochemical applications and feel free to shoot us an email.

Thanks for the helpful reply. Is there a way to remove the limit of 1500 Da?

It's currently hard coded in the inten_model in the parameter self.inten_buckets (the intensity predictions for all fragments of the same mass are put into the same discretized bin to compute a cosine similarity loss, and we arbitrarily set that to 1500, as that was the cutoff for what the model was trained on). This makes it a little tricky to modify without retraining a model.
You may be able to hack this by changing that parameter after the model is loaded with something like the lines of code below:
buckets = torch.DoubleTensor(np.linspace(0, 2500, 25000))
model.inten_model.inten_buckets = buckets
model.inten_model.inten_buckets.requires_grad = False

But I can't guarantee behavior or be sure this won't mess up anything. If you can get it working with this change, I would also try to do some tests on fragmentation predictions for smaller molecules with the hacked version to make sure they look the same.


Module isn't available on packagist.org

Can't install the module via composer.
Seems it just isn't available on packagist.
Error I've got:
"Could not find a matching version of package datatrics/magento2-integration. Check the package spelling, your version constraint and that the package is available in a stability which matches y
our minimum-stability (stable). "

Hi @yuriichayka, thank you for opening this issue. I'm happy to tell you the module is available on packagist/composer since this morning. We are closing this issue now but please feel free to reopen the issue if this still occurs.

Hi @yuriichayka, thank you for opening this issue. I'm happy to tell you the module is available on packagist/composer since this morning. We are closing this issue now but please feel free to reopen the issue if this still occurs.


bug-fix-3.11/FE-385: fix query import

Scope & Purpose
Bug fix for query import errors not showing up correctly

[x] :hankey: Bugfix

Checklist

[x] Tests

[x] Manually tested

[ ] :book: CHANGELOG entry made
[x] Backports

[ ] Backport for 3.10: https://github.com/arangodb/arangodb/pull/20397

Related Information

[x] GitHub issue / Jira ticket: https://arangodb.atlassian.net/browse/FE-385

[ ] https://jenkins.arangodb.biz/job/arangodb-ANY-jslint/31427/


[PE-D][Tester C] Documentation Bug: Target Audience

In the user guide, the target audience is not clearly stated, and does not keep track of professors, and other TAs. (I understand that the target audience is CS2030S  TAs from the release notes)

Labels: severity.VeryLow type.DocumentationBug
original: lrongyi/ped#11

Agree there is a bit of inconsistency here. We should update it to be more specific.


KAFKA-13228; Ensure ApiVersionRequest is properly handled KRaft co-resident mode

More detailed description of your change
This is based on #12157
Normally, a broker connects to the active controller to learn its ApiVersions, and in co-resident KRaft mode, a broker gets the ApiVersions directly from binary code if the broker is also the activate controller.
But we only concerns ApiKeys.zkBrokerApis() when we call NodeApiVersions.create(), we should use ApiKeys.controllerApiVersions when in KRaft mode.
Summary of testing strategy (including rationale)
When I described quorum in Kraft mode I got org.apache.kafka.common.errors.UnsupportedVersionException: The broker does not support DESCRIBE_QUORUM.
After this change, the DESCRIBE_QUORUM request was property handled and got a correct response:
TopicData(topicName='__cluster_metadata', partitions=[PartitionData(partitionIndex=0, errorCode=0, leaderId=1, leaderEpoch=30, highWatermark=141, currentVoters=[ReplicaState(replicaId=1, logEndOffset=141)], observers=[])])

And I also add an integration test for this.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@dengziming Hope you don't mind, but I pushed a simple fix for an NPE.

@dengziming Hope you don't mind, but I pushed a simple fix for an NPE.

Thanks, this fix is reasonable.👍


⚠ Bofrost.at has degraded performance

In 13e9027, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1345 ms

Resolved: Bofrost.at performance has improved in 3f8fb2b after 15 minutes.


Server Sent Event System

a nice way to ease into websocket 🤪

Using server-sent events
HTML Living Standard

Finished in a906d8f02000d06b93bd89d4ce7b2f43cfd17b87


Install Eslint / Prettier WEB

Currently, only the API has linting capabilities. It was recognized this should be implemented on the WEB interface also
/bot-ignore-length

Fixes #295


data.trig: add coordinates to places

Adding coordinates
For every //settlement/location, please add one line to the E53_Place statement:
cidoc:P168_place_is_defined_by "Point(47.37174 8.54226)"^^geo:wktLiteral
(Note: please add namespace http://www.opengis.net/ont/geosparql# for "geo:".)

@linxOD
Some seem to be missing although they have location/geo - data. Examples:

pmb12083 / Hamburg-Wandsbek
pmb1226 / Blankenese
distinct-values(//settlement/location/geo) in listperson has 458 results, data.trig has only 293 cidoc:P168_place_is_defined_by

there are also some birth el with settlement duplicates e.g. person xml:id="pmb3326"
However, with the latest fix all 458 geo triples are created which is always one settlement in either birth or death


Artifacts cannot be found

@armanbilge @DavidGregory084
Hey, I tried adding these Scalafix rules to a project of mine.
I added resolvers += Resolver.sonatypeRepo("snapshots") into my project/plugins.sbt but the artifacts cannot be found.
Browsing https://oss.sonatype.org/content/repositories/snapshots/org/typelevel/ does not show any typelevel-scalafix folders at all.
Have the latest snapshots been expired? :)
Could you maybe publish a 0.1 tag to push a JAR into the release channel?
Thank you :)

@NeQuissimus snapshots are available here:
https://s01.oss.sonatype.org/content/repositories/snapshots/org/typelevel/typelevel-scalafix-cats_2.13/
You'll need to add the S01 host to your resolvers.

Oh, my bad. I guess I just looked in the wrong place :)
Thank you!

No worries! We will be releasing 0.1.0 shortly :)


Add support for SendGrid's asm_group_id

This is useful for letting recipients unsubscribe from certain types of email communication. By assigning an ASM group id to the email, hitting "Unsubscribe" in the footer will unsubscribe the recipient only from this email group, not all emails.

I've cleaned up the "conflict" (it was just some indenting issue), so maintainers are welcome to merge this if they so wish!

It'd be great to get this merged! Can I help?

To help getting this merged I've made the changes suggested in a new pull request: #457.

Closing this since the changes were incorporated in #457. Thanks for your work on this!


Add ability to customize bar width on bar series

Right now, the bar widths are automatically calculated, but there's no way to override it.
This is particularly useful for histograms.

+1

+1

+1

+1

@chrisirhc This is addressed by rect-series, so i'm going to close this issue. Feel free to re-open if you feel different

How would I use the rect-series if I need to set a custom bar width, but my x axis labels are strings?
My data:
[
  {
    "x": "Label 1",
    "y": 0.3
  },
  {
    "x": "Label 2",
    "y": 0.2
  },
  {
    "x": "Label 3",
    "y": 0.7
  }
]

It seems to be impossible to define an x0 if my x axis labels are not numbers.
Therefore I think setting a custom width on the vertical bar chart would be a useful feature.

I also would find it useful to limit the width of a bar.  When working with ordinal data, I don't see how we can use a rect-series

I managed to "hack" the rect-series to draw a vertical bar chart with strings as x-axis labels.
Below is my example code, maybe it helps somebody:
`const values = [
{"y": 0.9},
{"y": 0.3},
{"y": 0.5}
]
const labels = [
'Label 1',
'Label 2',
'Label 3'
]
class BarChartCustomBarWidth extends React.Component {
// by tweaking this value you can resize the columns
// 1 - columns touch each other
// 0 - columns are invisible
columnWidth = 0.5
transformDataToRectSeries(raw) {
const transformed = raw.map((el, i) => {
el.x0 = (i + 1) - this.columnWidth / 2
el.x = (i + 1) + this.columnWidth / 2
return el
})
transformed.unshift({x: 0.5, y: 0}) // fake data point, enables margin between y-axis and first column
transformed.push({x: 3.5, y: 0}) // fake data point, enables margin between last column and chart end
return transformed
}
render() {
return (

<XAxis
tickFormat={(v,i) => labels[i]}
tickValues={[1, 2, 3]}
/>

)
}
}
ReactDOM.render(, document.getElementById('app'));`
https://codepen.io/quickbrownfox/pen/xjyeam

@sprzedwojski nice work around! If you feel motivated I would gladly accept a PR adding custom width functionality. I think it would be reasonable to add an optional width prop bar series. In order to complete this work you also need to make sure an associated accessor (getWidth) works well, make tests etc.

@sprzedwojski Great workaround! However, while it does allow you to control the width of the bars, it doesn't allow you to set the width. If the width of your bar chart changes, the width of the bars will scale with it. A better API would allow you to set the point-width of each bar regardless of chart width. Will see if I can come up with something based on your fiddle.

Tried all day -- couldn't hack it :( best of luck to all who enter here looking for fixed width bars. Here be dragons.


Bookmarks save location?

I can't figure out where the bookmarks data is saved and don't see any information regarding that in the documentation.
Would be nice to have access to the data for backups / dotfiles / synchronization.
Thank you for your work on this plugin!

Hey,
This plugin is using Yazi's DDS for saving the bookmarks, which saves its data on ~/.local/state/yazi/.dds (in Windows it should be in something like C:\Users\USERNAME\AppData\Roaming\yazi\state\.dds).
This system however may be used by multiple plugins, so the file  might have more data  than just the data from the bookmarks.

Ah, there it is : )
Thanks!


Add health checks on /healthz

Sometimes our database isn't working, it'd be nice if /healthz does some database checks. So if that fails, Kubernetes can attempt to restart the server.

Added query to check (separated out front end check to stealthz endpoint)


Kafka 4757: NetworkClient should log request details at trace level when a request is cancelled because of disconnection

LGTM

btw it looks like there are merge conflicts in NetworkClient.

@onurkaraman: hmm, yeah, it looks like I should have named the pull request "KAFKA-4757" instead of "Kafka 4757."  Thanks for catching that.
Let me fix the merge conflict issues.

Thanks for the patch. LGTM.


Can't delete workflow itens

Describe the bug
Hi there. We are unsing DSpace 7.5. I'm having problems editing workflow items. The database was imported from DSpace 6.1.2017.
To Reproduce
In an attempt to delete some submissions, we are redirected to another page, as shown in the attached image:

However, when pressing 'Delete', nothing happens as if the button was deactivated.

Has anyone experienced a similar event?

Closing, as this is a duplicate of https://github.com/DSpace/dspace-angular/issues/2118   This bug was fixed in the 7.6 release.


Remove the jp-JP-mac locale

It gives warnings when running gulp locale, in a previous patch it was explicitly asked to remove it and there is quite a bit of discussion about the validity of the locale at https://bugzilla.mozilla.org/show_bug.cgi?id=418485. In short, let's remove it to prevent these issues.
Fixes #9878.
Moreover, at https://bugzilla.mozilla.org/show_bug.cgi?id=418485 there is a comment stating that "[...] ja-JP-mac is no longer exposed to web content [...]", so this most likely explains why it was asked to remove it in a previous patch since our language detection would never pick it up anyway.

Trivial.


c2 is not defined

This tool currently is not possible to use.
encrypter-js.v1.0.0.js:42 Uncaught ReferenceError: c2 is not defined
    at Object.utf8Decode (encrypter-js.v1.0.0.js:42:45)
    at Object.decode (encrypter-js.v1.0.0.js:23:31)
    at Object.decrypt (encrypter-js.v1.0.0.js:67:24)

Hi @DenisTimofijuk I'd need more information.
but anyway, can you try again if error still appear.
if does, do you mind to share your code. thank you

Just try to decode:
import rsBase64  from 'encrypter-js';
console.log( rsBase64.decrypt(rsBase64.encrypt("Hello World!")) )

It is able to encode, but it is not able to decode. When it tries to run decode it crashes on C2 variable.
I can not share all my code at the moment since there is a lot of stuff going on right now...

it seems to be working fine on my end.

If it helps, my code is now available on github:
https://github.com/DenisTimofijuk/game_find_6_diff/blob/main/src/1/1.ts
Please see commented code on lines  4 - 6

Hi @DenisTimofijuk  thanks for this.
try to update the package on your end.
I just release updates version 1.0.1. I hope it solve the problem. thank you

It works now. Thank you.

welcome. thank you for using the package


webpack-dev-server  run rollup-loader tips error

ERROR in (webpack)-dev-server/client?http://<IP_ADDRESS>:8081
Module build failed: Error: Could not load false: path must be a string or Buffer
at /Users/memoryza/nuomi/channel/node_modules/rollup-loader/node_modules/rollup/dist/rollup.js:8913:10
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8081 webpack/hot/dev-server ./src/test/page/common/common.js
i find  webpack-dev-server  inject "/Users/memoryza/nuomi/channel/node_modules/webpack-dev-server/client/index.js?http://<IP_ADDRESS>:8081 " to entry.
and rollup can't analysis it, and return this entry is false

Fixed in latest version.


Decompilation problems

I try to decompile some function in .so file the outher day.
There was a severe difference between RetDec to IDA HexRays (in favor of IDA).
Decompilation didn't recognized the actual function, erased some necessary parts etc.
My q. is:

Is there a way to "fix" the decompiled version manually? (Like Ida that allow you to add the function prototype and to change variable names etc.)
Is there a way to just move over Ida HexRays decompile and just make it more readable (i.e. recognize struct, change types and names, delete unnecessary double decleration (i.e. int a; a =5; to int a = 5;)?

Thank you.
p.s. Are you working on some major change or this is pretty much the finel version (except bug fix)?
p.s. 2
Here is the code from Ida and from RetDec:  https://pastebin.com/jcQ2qKVG

@PeterMatula Can you please look into this?

Can you share the input file?
Yes, we are working on RetDec improvements. Some of the issues you report will be addressed in the milestone I added to this ticket.
I would also like to inspect, why there is less code produced by RetDec, but it is impossible to do without the input sample.


Some of the multi-tenancy tests fail intermittently

Check out can_generate_database_objects_when_tenanted. Everytime this has happened, there's been a real cause. Maybe it's using the wrong schema somewhere. Hunt it down.

Weaseling out 'cause I'm getting tired today and letting this slide out of 2.6.0

I cannot make this happen locally. Disabling the tests for now just so we can work.


Add API Gateway IAM info to README

Adds info from #262 to the README.

Thanks for your contribution! :))


Use blake3 for membership merkle tree and prefix to mitigate second p…

…reimage attack

this is only for membership, right? e.g sha256 is used for poet proof computation

Yes. The poet PoSW tree uses different hashing functions for leafs and nodes.


While Sending sats from the account

While Sending Sats From the account.
1.) If the user clicks on "Custom Priority" and enters an amount and tries to delete the amount entered User is unable to delete the last digit.
https://user-images.githubusercontent.com/107177634/179716798-ba465210-5535-416a-bbc1-d2ebd8a02937.mp4
2.) If we look at the Transaction Priority in the " High Section " it looks like less .5 hours and more 5 hours. Instead, we can keep it as 0.5 hours.

1.If we look at the Transaction Priority in the "Medium" and " High Section " has same value.


Space friction is slightly too high for items/structures

Description

I just expect them to go a bit further out in space than they do now, maybe 50% more. This is mostly noticeable with salvage as you often throw crates or lockers in the general direction of the salvage area and they don't always make it fully
Screenshots

Additional context

Just needs lineardamping / angulardamping to be changed in engine.

I believe this issue has a larger scope than just thrown items. I've heard people complaining that they cannot reach salvage by walking out the airlock without throwing something.

I believe this issue has a larger scope than just thrown items. I've heard people complaining that they cannot reach salvage by walking out the airlock without throwing something.

They're separate systems.


Improve conversions involving properties of simple types

This is a follow-up to PR #378 to address comments raised by @babbageclunk. Refer to that PR to see his comments.
Most of the changes show up in the golden test files, so this should be quick to review.

Codecov Report

Merging #393 (a5f62f4) into master (ac06748) will increase coverage by 0.36%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #393      +/-   ##
==========================================
+ Coverage   63.39%   63.75%   +0.36%
==========================================
  Files         136      136
  Lines        9129     9163      +34
==========================================
+ Hits         5787     5842      +55
+ Misses       2821     2806      -15
+ Partials      521      515       -6

Impacted Files
Coverage Δ

.../generator/pkg/astmodel/code_generation_context.go
51.06% <ø> (ø)

hack/generator/pkg/astmodel/package_definition.go
25.88% <ø> (ø)

...rator/pkg/astmodel/storage_conversion_factories.go
72.72% <ø> (ø)

hack/generator/pkg/astbuilder/builder.go
85.92% <100.00%> (+5.77%)
:arrow_up:

...erator/pkg/astmodel/storage_conversion_endpoint.go
100.00% <100.00%> (ø)

...erator/pkg/astmodel/storage_conversion_function.go
83.26% <100.00%> (+2.47%)
:arrow_up:

hack/generator/pkg/astbuilder/calls.go
69.23% <0.00%> (-15.39%)
:arrow_down:

hack/generated/pkg/armclient/template_client.go
50.52% <0.00%> (+2.10%)
:arrow_up:

hack/generated/pkg/armclient/raw_client.go
59.13% <0.00%> (+2.60%)
:arrow_up:

hack/generated/controllers/generic_controller.go
60.00% <0.00%> (+2.98%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Cannot switch back to GPM after trying YTM (Beta)

[x] I have checked that there are no issues with similar or the same content
[x] I have checked the FAQ (https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/FAQ) and the answer I am looking for is not there
[x] I have double checked and can reproduce the issue
OS: Windows 10 64bit
GPMDP Version: 4.6.1
Issue Descriptions: I clicked the "Switch to YTM (Beta)" button and now cannot switch back to GPM in the GPMDP
Steps to Reproduce:

Click "Switch to YTM (Beta)" in top RH corner. No options to switch back to GPM
Uninstalled GPMDP
Cleared cookies/history
Reinstalled GPMDP

Always loads YTM in the GPMDP now and I don't see any options to switch back to GPM in the app.

Looks like this is related to #3640 , try https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3640#issuecomment-562376367

Looks like this is related to #3640 , try #3640 (comment)

oh thank you so much. I downloaded the Windows version from that thread and it has the option to select "Switch to GPM", and now it's all working again.
Cheers!


Don't delete tailscale_tailnet_key after the key is used.

Describe the bug
It doesn't seem possible to use tailscale_tailnet_key in practice, because as soon as it's used once, the key is "deleted" and Terraform wants to replace the resource, which causes a cascade of updates/replacements, when actually the key may not be needed anymore/it's saved in the state file.
lifecycle {
  ignore_changes = all
}

doesn't seem to work. Is there a feature of this resource/Terraform that I might be missing?
To Reproduce
Use the tailscale_tailnet_key resource to trigger creating a new machine and then run terraform apply again.
Expected behaviour
I should be able to use tailscale_tailnet_key and not have it trigger a recreation.

I think what you are seeing is a recent change introduced in #287 (#144). What I believe that change aimed to achieve is making sure that each tailscale_tailnet_key actually points to a currently valid key. I can see how this could result in Terraform recreating the key unnecessarily, especially if a key is single-use.
Single-use or expiring resources don't fit particularly well into the Terraform data model, but I think a reasonable way forward might be to:

ignore invalid (expired, revoked or used) keys by default
add a new recreate_if_invalid boolean attribute that can be set to true to make Terraform recreate an invalid key

This will make the resource behave like it did before #287, but will provide a way to make sure that the key is recreated for folks who need it.
If anyone has any alternative ideas, let's discuss!

@michaelbeaumont you can use ignore_changes on the downstream resource that uses the key to prevent updates or re-creation. Will that work for you?

Seems suboptimal to have to leave a key laying around never to be used.
I don't mind of course which behavior is the default. I Know this is not something provider-specific, it's really a missing feature of terraform itself.


stuck on yaml with install

[root@ansible gospace]# go get -v gopkg.in/yaml.v2
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git",
RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
and waiting forever...
cant install

Sorry about that.  I just released v1.0.2 in which all dependencies are vendored in the Jobber repo (using Godep). So, in your Jobber repo clone, please do 'git checkout v1.0.2' and then 'make'.  You shouldn't have a problem.


Create some examples

HI, I think some examples on how to create a geotif file from an array of uint would massively help.

+1


updated home page from docsprod

@v-kents,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

entity-framework/index.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@v-kents, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot

Thanks @v-kents!


Lateral Acceleration Error alert (Sensor Invalid)

Large Lateral Acceleration discrepancies (caused by shaking the device / device falling) trigger this alert.

What exactly is the process replay diff?
This was a bug! I should have checked the ref properly, thanks for pointing out.

The offline paramsd was slightly different from the online one, and there is a sign difference between locationd and paramsd yaw rates. Fixed that and reverted the ref update. (and also made sure online and offline behaviour is the same).


LXD Overlay

Required information

Distribution: Fedora
Distribution version: 32
The output of "lxc info" or if that fails:

Kernel version: 5.8.4-200.fc32.x86_64
LXC version: 4.0.4 (lxcfs)
LXD version: 4.3
Storage backend in use: dir

Issue description
Overlaid container unable to start. Even with id mappings applied.
Log:

lxc testing<PHONE_NUMBER>3717.915 WARN     cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.testing"
lxc testing<PHONE_NUMBER>3717.917 WARN     cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.testing"
lxc testing<PHONE_NUMBER>3717.933 WARN     cgfsng - cgroups/cgfsng.c:fchowmodat:1570 - No such file or directory - Failed to fchownat(19, memory.oom.group,<PHONE_NUMBER>, 0, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW )
lxc testing<PHONE_NUMBER>3717.957 ERROR    conf - conf.c:mount_autodev:1075 - Permission denied - Failed to create "/dev" directory
lxc testing<PHONE_NUMBER>3717.957 ERROR    conf - conf.c:lxc_setup:3239 - Failed to mount "/dev"
lxc testing<PHONE_NUMBER>3717.957 ERROR    start - start.c:do_start:1224 - Failed to setup container "testing"
lxc testing<PHONE_NUMBER>3717.957 ERROR    sync - sync.c:__sync_wait:40 - An error occurred in another process (expected sequence number 5)
lxc testing<PHONE_NUMBER>3717.967 WARN     network - network.c:lxc_delete_network_priv:3183 - Failed to rename interface with index 0 from "eth0" to its initial name "vethba490933"
lxc testing<PHONE_NUMBER>3717.967 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:849 - Received container state "ABORTING" instead of "RUNNING"
lxc testing<PHONE_NUMBER>3717.967 ERROR    start - start.c:__lxc_start:1999 - Failed to spawn container "testing"
lxc testing<PHONE_NUMBER>3717.967 WARN     start - start.c:lxc_abort:1018 - No such process - Failed to send SIGKILL via pidfd 31 for process 189386
lxc<PHONE_NUMBER>3718.116 WARN     commands - commands.c:lxc_cmd_rsp_recv:122 - Connection reset by peer - Failed to receive response for command "get_state"

Attempt to "resolve" the Permission denied - Failed to create "/dev" directory error by applying lxc config set testing raw.lxc "lxc.autodev=0" to overlay container testing
Log:

lxc testing<PHONE_NUMBER>0617.227 WARN     cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor.testing"
lxc testing<PHONE_NUMBER>0617.228 WARN     cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1152 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.payload.testing"
lxc testing<PHONE_NUMBER>0617.244 WARN     cgfsng - cgroups/cgfsng.c:fchowmodat:1570 - No such file or directory - Failed to fchownat(19, memory.oom.group,<PHONE_NUMBER>, 0, AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW )
lxc testing<PHONE_NUMBER>0617.255 WARN     start - start.c:do_start:1172 - Using /dev/null from the host for container init's standard file descriptors. Migration will not work
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2033 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev/fuse"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2033 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev/net/tun"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/proc/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/proc/sys/fs/binfmt_misc"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/firmware/efi/efivars"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/fs/fuse/connections"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/fs/pstore"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/kernel/config"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/kernel/debug"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/kernel/security"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/sys/kernel/tracing"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev/mqueue"
lxc testing<PHONE_NUMBER>0617.265 ERROR    utils - utils.c:mkdir_p:234 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev/"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:mount_entry_create_dir_file:2015 - Permission denied - Failed to create directory "/usr/lib64/lxc/rootfs/dev/lxd"
lxc testing<PHONE_NUMBER>0617.265 ERROR    conf - conf.c:lxc_setup:3257 - Failed to setup mount entries
lxc testing<PHONE_NUMBER>0617.265 ERROR    start - start.c:do_start:1224 - Failed to setup container "testing"
lxc testing<PHONE_NUMBER>0617.265 ERROR    sync - sync.c:__sync_wait:40 - An error occurred in another process (expected sequence number 5)
lxc testing<PHONE_NUMBER>0617.276 WARN     network - network.c:lxc_delete_network_priv:3183 - Failed to rename interface with index 0 from "eth0" to its initial name "vethb053f1be"
lxc testing<PHONE_NUMBER>0617.276 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:849 - Received container state "ABORTING" instead of "RUNNING"
lxc testing<PHONE_NUMBER>0617.276 ERROR    start - start.c:__lxc_start:1999 - Failed to spawn container "testing"
lxc testing<PHONE_NUMBER>0617.276 WARN     start - start.c:lxc_abort:1018 - No such process - Failed to send SIGKILL via pidfd 31 for process 193568
lxc<PHONE_NUMBER>0617.403 WARN     commands - commands.c:lxc_cmd_rsp_recv:122 - Connection reset by peer - Failed to receive response for command "get_state"

Steps to reproduce

Setup base image using deboostrap (debian/ubuntu images) or use images from https://images.linuxcontainers.org
Create an empty container "testing" using REST API
Create dirs rootfs, rootfs.overlay, upper, work inside /var/lib/lxd/storage-pools/default/containers/testing
Mount rootfs of base image to storage-pools/default/containers/testing/rootfs.overlay
From subuid and subgid (1000000), use bindfs from source rootfs.overlayto mountpoint rootfs in storage-pools/default/containers/testing
Start container as usual lxc start testing or lxc start testing --verbose --debug (for debugging use)

Last known LXD version that works, version 3.0.3
Information to attach

[ ] Any relevant kernel output (dmesg)
[x] Container log (lxc info NAME --show-log)
[x] Container configuration (lxc config show NAME [--expanded)](url)
[x] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
[x] Output of the client with --debug
[x] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)

logs_lxc-info-container-autodev_0.log
logs_lxc-monitor.log
logs_lxd.log
logs_lxc-config-container.log
logs_lxc-info-container.log
logs_lxc-info.log

This isn't supported by LXD and it working in the past was effectively just an accident.
Direct user modifications under LXD's directory aren't supported specifically because we can change the way we handle things there at any time.
This particular change was most likely either caused by the snap using a mount namespace (and so isolating it from mount operations done outside of it) or by the new storage driver logic relying on ephemeral mounts much more than before.
You may be able to do the same trick by using nsenter --mount=/run/snapd/ns/lxd.mnt COMMAND though again, messing in that particular part of LXD isn't supported and can still break at any time.

I believe only LXD that is installed via snapd has /run/snapd/ns/lxd.mnt. If I choose to fetch the source and build it by myself, what is the trick besides the one mentioned above?

Correct, the separate mount namespace is only present with the snap.
If not using the snap, then the difference you may have observed is simply that LXD is more aggressively unmounting volumes when it's not using them.


Plugin does not work

I followed the documentation to add the plugin on my data set ...it however does not work for me.Anyone that have successfully configured the plugin please assist

@charlesnjihia Do you have any examples?

I used the example that you have given after my data never worked i.e.
export default {
data () {
return {
pending: false,
isScrollAllowed: true,
moreAfter: true,
counter: 0,
langs: ['JavaScript', 'PHP', 'HTML', 'CSS', 'Ruby', 'Python', 'Erlang'],
paginate: ['languages']
}
},
then on the template:

            {{ lang }}

It gives blank with no listed items

            {{ lang }}

It gives blank with no listed items

What about your html code? Did you add this:
<paginate
  name="languages"
  :list="langs"
  :per="2"
>

    {{ lang }}

</paginate>
<paginate-links for="languages"></paginate-links>

Also, did you check if you installed the plugin successfully?
import VuePaginate from 'vue-paginate'
Vue.use(VuePaginate)

Lastly, do you see any errors in your browser console?

I have actually updated my comment to reflect all code.The console givea an error :-1:
Cannot read property 'languages' of undefined

I have copied your code to the dot

Please try to console.log(this.paginate) in mounted() and show me what you get.

See the below screenshot for the result of console.log()

@charlesnjihia Turned out the issue is related to using the plugin inside slots. This issue should be fixed soon in the next release.

Anything I could do on the code or the downloaded library to make it work? I woud appreciate

@TahaSh  would you heal me understand what you meant by  using plugin in slots ?

@charlesnjihia I mean that you're using <paginate> and <paginate-links> in a slot of a component. For example, pages in quasar framework are wrapped within <q-page>. This issue will be fixed within the next 24 hours.

thanks @TahaSh

Using the plugin inside slot content is now supported in version 3.6.0. Here's how it works.
In version 3.6.0, we have a new prop in both components (paginate and paginate-links) called container. With this prop, we tell the plugin which component is using our plugin's components and where to find the state of the current pagination.
Although both components have the same prop name (container), they take different values.
For <paginate> we pass a reference to the component that contains pagination data (i.e. the one that contains paginate: ['languages'] in data()). This value usually contains this value.
<paginate-links>, on the other hand, takes an object with two values: state and el. state should contain the state object of the current pagination which we can find inside paginate object (e.g. paginate.languages). But for el we should pass a reference to the component that has the slot content (e.g. q-page if you're using quasar).
I know this might seem a little bit confusing. Here's some example to make it clearer:
<template>
  <q-page
    ref="page"
    class="flex flex-center"
  >
    <paginate
      name="languages"
      :container="this"
      :list="langs"
      :per="2"
    >

        {{ lang }}

    </paginate>
    <paginate-links
      for="languages"
      :container="{
        state: paginate.languages,
        el: $refs.page
      }"
    ></paginate-links>
  </q-page>
</template>

So everything is the same as the original example except we're using the new container prop. I hope this helps. Don't hesitate to ask any questions you have.


Pagination

https://docs.gitlab.com/ee/api/#pagination

I think we can set per_page to a value like 100 and dont implement pagination.


Is this production ready yet

I'm really sorry for asking the question here, but I couldn't find any other place.
Since v4.5.0 is "Officially launched" does that mean that I can use this library for production bots?
I know the documentation says that it's Preview but I figured that maybe it's not updated
[question]

Hi @wassimseif!
The Python SDK is in "Preview 2" stage. The team thought it would be best to keep the version numbers across the various language SDKs in sync, which is why you see issues labelled 4.5 -- and some now even 4.6 for the Bot Framework release cycle.


Get current text !

I can't get the current text, and I can't set the current text.
For example
let otpTextField.otpCurrentText // return the current text, example 777777 or 77
and
otpTextField.otpCurrentText = "9988"

Here's a workaround for this adding a selector
 otpTextField.addTarget(self, action: #selector(textDidChange),                            for: .editingChanged)
then
@objc
   func textDidChange() {
       print(otpTextField.text)
   }


Update storage-troubleshoot-file-connection-problems.md

fixing line breaks for fstab / mount line

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@mabicca : Thanks for your contribution to the Azure documentation! The author, @genlin, has been notified to review your proposed change.

@mabicca Thanks for the input.
#sign off


Update readme.md

In place of unto it should be onto..

Thanks for submitting a pull request 🚀 @tabergma will take a look at it as soon as possible ✨


os/mac/system_config: simplify JVM version parsing

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

This avoids a heavier REXML dependency, and generally looks better.

Nice cleanup @Bo98!


[BUG][edit page]useFieldArray Error

Describe the bug
Move to edit page, this error appear.
Warning: Each child in a list should have a unique "key" prop.

Steps To Reproduce

clone repository

git clone https://github.com/CRC32EX/refine_bug_report

install dependencies

npm install

Run

npm run dev

Open Web browser
Open delopver tool & Open console window
Go Show page http://localhost:3000/users/show/1
Click EDIT button
Error apper.

Warning: Each child in a list should have a unique "key" prop.

Expected behavior
Do not apper Error.
Packages

Name
Version

@refinedev/cli
2.16.21

@refinedev/core
4.47.1

@refinedev/devtools
1.1.32

@refinedev/inferencer
4.7.0

@refinedev/kbar
1.3.6

@refinedev/mui
5.14.4

@refinedev/nextjs-router
6.0.0

@refinedev/react-hook-form
4.8.14

@refinedev/simple-rest
5.0.1

Additional Context
No response

Hey @CRC32EX I don't think this is a bug with Refine itself. Also you need to provide more details, as we have 150+ examples, can't really know which edit page has the issue. Please create issues with details, proving a bug with any of the Refine libraries.

Go to edit page directly is no problem. http://localhost:3000/users/edit/1
Access show page & click edit button is bug appear.
So, this is Refine side problem.


nodejs: fix Darwin build

Fixes #12592
A patch that no longer applied correctly was taken out as the result of #12305. It turns out that the patch is needed to prevent the install from trying to use Xcode. This change adds the patch back in and updates it to apply correctly.
I was able to install all versions successfully after this change. (v0_10, v4 and v5)
cc @goibhniu, @havvy

Add no-xcode patch back into node v5. Reverts some of
5cb1e43fd6eb7f87c9b17e9dc6d1a92ae7c360a4
Fix patch to apply correctly
Remove pkg-libpath patch from v4 (it was already removed from v5)

Thanks, and sorry for taking out the patch. I eyeballed it and it looked like it had already been applied upstream, but I guess I missed a part :smile:

Thanks! Tested 5 and 4 and it worked fine.

I don't use Macs, so I have nothing useful to add.  (But I was CCed)


Can't view directory-listing for folders with index.html

Operation System: Mac OS 10.13.4
Beaker version: f88eef1
It doesn't seem like there is currently an easy way to view the directory-listing for any folder with an index.html. As a side-note, there does seem to be some overlap between the directory-listing and the "library-view" of a site. Maybe they should be combined?

#1000 🎉

I'm not sure this should be changed. You can always view the files using the context menu (View files) or the navbar menu (View files). The file-listing there is just designed to give a view when there's no index.html, similar to how Apache does. It would have to do a redirect to the library if we were going to unify them.

I've thought on this some more and I think my current thoughts align with @pfrazee. I don't think we should change anything (at the moment at least). However, I've dumped out my current thoughts on the matter below:
As for the longer version, I tend to at the idea of exposing these types of internals to the UI. I think my current view of these types of pages are based on my comparisons of the web with native apps. From the pure view of the web as an app platform, the exposure of individual files and directories in the UI of an application is a bit weird. This is something that you would never expect from a real app. If I want to go poke around with the internals of an application on my computer, I intentionally go to file system and browse the files there. Now that Beaker has a pseudo-fs, it really seems like there should be no need to display these types of internals in the UI.
However the web is built on the URL, an internal that is generally hidden or nonexistent for native apps. As long as that internal is exposed, we have to handle the possibility of users directly navigating to files and folders. I don't really think we can merge the "library view" with the "raw file view", or at the very least, I don't think we can merge those routes. Maybe it would be possible to bring the visuals of those two views closer together, but that might also cause confusion.
Lets say that there's two ways to view an archive: the ui view and the fs view. For applications, the ideal representation of those files would be the ui view. For "data dats" and similar, the ideal would probably be the fs view. However with todays browsers, we currently have this weird middle-ground we call a "website". They're this weird mix of UI that sometimes leaks bits of its underlying file structure.
It might be nice to cleanly separate these concepts one day. "Apps" could be these routeless, chromeless UIs and data archives could just be a folder on your file system. Just like today's computers, you could browser your apps via the file system. However, I'm going to assume we still have this idea  of a "website" in some form or fashion and as long as that's the case, I think that mix of UI & FS is here to stay.

As an aside, this is much the same behaviour that would be seen with a web server that allows directory viewing.
Maybe there should be an option to suppress the directory listing, outside of the library view?

@paul90 To be clear, I like directory-listings from the perspective of building websites, it's super cool that this is built into the browser now. It's only when you view directory-listings and raw files through the lens of a native-like app that they seem a bit weird.
I had played around with the idea of the dat.json having an option to cause directories to 404 so an SPA could use fallback_page there instead, but I couldn't really see a reason I would ever want to do this. With SPAs I generally shove everything other than the index.html under an assets folder and in that case it actually would be nice to go and browse the assets folder if I wanted to quickly view internal js/css.

I'm going to go ahead and close this, I've pretty much convinced myself that I don't think anything should be changed here. I think that this is just a part of the weirdness of the web. The only thing I think we could possibly do is revisit some of this if y'all decide to move forward with the concept of installable "apps".

Yeah agreed
On Sun, Jun 17, 2018 at 5:46 PM Michael Mullins<EMAIL_ADDRESS>wrote:

I'm going to go ahead and close this, I've pretty much convinced myself
that I don't think anything should be changed here. I think that this is
just a part of the weirdness of the web. The only thing I think we could
possibly do is revisit some of this if y'all decide to move forward with
the concept of installable "apps".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/1000#issuecomment-397911660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU6QDV2kvOmH5Pq81qYMczT-zJMQIks5t9txhgaJpZM4UJl-N
.