When in VR, Submit Depth Buffer with MSAA enabled throws multiple Vulkan errors every frame

Godot version
4.1.stable.mono
System information
Godot v4.1.1.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2080 SUPER (NVIDIA; <IP_ADDRESS>01) - AMD Ryzen 9 5950X 16-Core Processor (32 Threads)
Issue description
When UseXR is enabled and actually drawing to an OpenXR runtime, having Submit Depth Buffer enabled alongside any non-zero level of MSAA 3D results in the following four errors being sent to console every single frame:

E 0:00:01:0461   uniform_set_create: Image (binding: 0, index 0) needs the TEXTURE_USAGE_STORAGE_BIT usage flag set in order to be used as uniform.
<C++ Error>    Condition "!(texture->usage_flags & TEXTURE_USAGE_STORAGE_BIT)" is true. Returning: RID()
<C++ Source>   drivers/vulkan/rendering_device_vulkan.cpp:5572 @ uniform_set_create()
E 0:00:01:0461   _allocate_from_uniforms: Condition "rid.is_null()" is true. Returning: rid
<C++ Source>   ./servers/rendering/renderer_rd/uniform_set_cache_rd.h:129 @ _allocate_from_uniforms()
E 0:00:01:0461   compute_list_bind_uniform_set: Condition "!uniform_set" is true.
<C++ Source>   drivers/vulkan/rendering_device_vulkan.cpp:7827 @ compute_list_bind_uniform_set()
E 0:00:01:0461   compute_list_dispatch: Uniforms were never supplied for set (1) at the time of drawing, which are required by the pipeline
<C++ Error>    Method/function failed.
<C++ Source>   drivers/vulkan/rendering_device_vulkan.cpp:8026 @ compute_list_dispatch()

Steps to reproduce

Connect a VR headset
Launch attached project
Watch the error count in the debugger tab skyrocket

Minimal reproduction project
DepthBufferSubmitErrorRepro.zip

Can you please try this with a supported version, like 4.1.3 (only the latest patch version is supported, and it might already be fixed)

As of the time of this writing, it does persist in the latest patch (4.1.3)

Godot v4.1.3.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2080 SUPER (NVIDIA; <IP_ADDRESS>01) - AMD Ryzen 9 5950X 16-Core Processor (32 Threads)


Not compiling in Arduino IDE 1.8.13

I'm a newbie. Wondering if I've got issues I need to work out, or if somethings changed w the Arduino IDE etc. I can not get the code to compile, regardless of board selected.
I'm probably doing something wrong. Please let me know if it compiles for you.

Hello VikingVoltage, sorry for the delay.
I think the problem was from a newer version of the compiler. It is fixed now, thanks for reporting it.


WIP - integration logging

/azp run dotnet.vscode-csharp

/azp run dotnet.vscode-csharp

a few other misc failures, but none of the goto def test for now

/azp run dotnet.vscode-csharp


Using promises

This package should really be using promises as most calls are asynchronous.
This wasn't made clear in the documentation, but I realized it when I performed an expensive operation and the connection closed before it could be completed.
For now I need to wrap the calls in promises myself and resolve/reject in the callback like so:
await new Promise((resolve, reject) => {
  mixpanel.people.set_once(identifier, data, (e) => {
    if (e) {
      reject(e);
    }

    resolve(null);
  });
}

I was using on Vercel Serverless functions, and events weren't reflecting on the dashboard. After doing some investigation, turns out the serverless function closes even before a request is fully made.
Thanks for the solution @shareefhadid


Backport: Can't login with Rancher CLI in Rancher 2.2.x when API key is cluster scoped

Backport of rancher/rancher#18639

Version: v2.2.3-rc9
This change makes it more clear in the UI via %editApiKey.scopeSelect.helpText% what cluster-scoped tokens can and cannot do.

This helper text also links directly to documentation for Authorized Cluster Endpoint via https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/options/#authorized-cluster-endpoint


Normalized hand path area

Also it would be good if the to_center_success_trial etc logic that is currently done in vis.py could be done in stats.py, and the results added to the stats dataframe.


Start using PMVector and cleaning

Added vector-matrix dependencie to the baseline.
Refactored Euclidean, Hellinger, Mannhattan and Minkowski distances to use the norm of PMVector. Those algos use the norm of the vector to calculate the distance
Improved class comment of Hellinger distance. Added explanations of why we implemented that way because the original formula has an integral and we didn't implemented like that.
Separated Hellinger distance test into several tests. One there are 4 tests instead of 1

This also closes #34


Enable semantic PR bot

https://probot.github.io/apps/semantic-pull-requests/

Enabled Semantic PR Bot: https://github.com/organizations/oss-workshop/settings/installations/11858319


Generated Proj with '-' in name fails to start rethinkDB

$ npm -v horizon
3.8.6

generated a 'project' via hz init with a dash in the name. e.g. lightbrew-horizon.
Upon launching with hz serve --dev
App available at http://<IP_ADDRESS>:8181
RethinkDB
   ├── Admin interface: http://localhost:61329
   └── Drivers can connect to port 61328
Starting Horizon...
error: Connection to RethinkDB terminated: ReqlQueryLogicError: Database name `lightbrew-horizon` invalid (Use A-Za-z0-9_ only) in:
r(["lightbrew-horizon", "lightbrew-horizon_internal"]).forEach(function(var_0) { return r.branch(r.dbList().contains(var_0), [], r.dbCreate(var_0)); }).do(function() { return r(["collections", "users_auth", "users", "groups"]).forEach(function(var_1) { return r.branch(r.db("lightbrew-horizon_internal").tableList().contains(var_1), [], r.db("lightbrew-horizon_internal").tableCreate(var_1)); }); })

Hey, sorry about this, we are fixing this as part of #376

No problem @deontologician! 😄 Just thought I would give you the heads up.

Should be fixed now with #472, thank you @casche


Add Method to convert Number to Persian Ordinal Words

Hello. Thanks for great project.
It would be great if the library has a method to convert Number to Persian Ordinal Words.
Like 3 to سوم or 5826 to پنج هزار و هشت‌صد و بیست و ششم

Hi there
Thanks for using it.
Can you provide more samples?

@ali-master You can check List of Ordinal Numbers in Persian and اعداد ترتیبی.
Suprisingly, there is no Library that convert Integer to Ordinal Numbers in Persian!


Clarify catch_unwind behavior of RemoteHandle.

Since this is a complicated subject, I thought it good the docs shed some clarity on the behavior of RemoteHandle.
Also removes a confusing comment from the code which no longer accurately describes what's happening (after prior refactoring).

This looks good to me!


Feature: Ability for taps to use batch messaging only on select streams

Feature scope
Taps (catalog, state, stream maps, etc.)
Description
This feature would allow more control over when batching is used.
I'll list a few approaches for discussion, but everyone please feel free to propose alternatives.
Explicit allow or disallow by stream name
One approach is simply to embed a exclude_streams or include_strams config under the existing batch_config setting.
{
  batch_config: {
    include_streams: ["stream_1", "stream_2"]
  // ..
  }
}

{
  batch_config: {
    exclude_streams: ["stream_1", "stream_2"]
  // ..
  }
}

Use rowcount estimates if available
If rowcount estimates are available in the catalog or if the tap has an ability to count records before the stream starts, perhaps the user could specify they want to use batch if the number of records is greater than 10K or 100K.
Note:

It's hard to say how the tap should act towards this input if it cannot determine a rowcount before the sync starts.
For those that can, the better home for rowcount-based decisioning would perhaps be the 'auto' setting discussed below. Wherein the user saying 'auto' gives permission to the tap to use its own discretion, including with the use of rowcounts when available...

Allow 'auto' behavior as determined by the developer
We could also introduce a behavior where the user can give the tap permission to select it's best recommendation for whether use use RECORD messages or BATCH messages for each stream.
For example, a developer could make 'auto' behavior equal to 'false' for all parent-child streams, and default to 'true' for all streams that it knows to be proportionally higher volume.
{
  batch_config: {
    batching_enabled: "auto",
    exclude_streams: ["stream_1", "stream_2"],
  // ..
  }
}

In the long run, the 'auto' behavior probably gives best overall performance and best user experience. It's always going to be important that users can disable batch messages, since some targets won't support them, but sometimes only the tap will know what sync strategy is fastest - and the decision might be dynamic based on a combination of runtime conditions (how many rows are available) as well as static metadata about the streams (this is inherently a "big" table, or this is a child stream).
In these cases, it's not critical that the tap make the 'best possible' decision, but only that it not make an 'obviously wrong' one. Meaning, the distinction of using batch when there are greater than 1000 records, versus 5000 records, is not as important as not using batch when there are only 3 records, and always using batch when there are 25 million.

An alternative approach to using batch_config would be a batch-enabled non-discoverable metadata keyword in the catalog, storing the stream-wise enable/disable of batching. Whilst using catalog.json is less convenient (given the overall verbosity compared to config.json) it is consistent with other stream-wise config (notably the selected keyword), and we already solve the convenience problem via meltano select for the selected keyword case.

Still relevant


[CI] Carthage fix

Pull request checklist

[x] All tests pass.
[x] Demo project builds and runs.
[x] I have resolved merge conflicts.
[x] I have followed the coding style and contributing guidelines.

This fixes issue
Fixes #92
What's in this pull request?

Fixes carthage build command failure - incorrectly inherited runpath (LD_RUNPATH_SEARCH_PATHS) specified at the project level.

changed travis so we only test on the latest xcode -- i don't think we need to test on older versions.
(and i definitely don't want to commit to supporting older versions 😄 )

@jessesquires I had a feeling you'd want that change 😆.  I agree with you.


writing DataArray with 2D datetime variable doesn't work

On xray 0.5.1, writing a Dataset with a non-1D-datetime variable to netCDF doesn't work:
times = xray.DataArray([[datetime.datetime.now()] * 2])
print times
<xray.DataArray (dim_0: 1, dim_1: 2)>
array([['2015-08-19T14:27:50.911502000+0200',
        '2015-08-19T14:27:50.911502000+0200']], dtype='datetime64[ns]')
Coordinates:
  * dim_0    (dim_0) int64 0
  * dim_1    (dim_1) int64 0 1

times.to_dataset().to_netcdf('test.nc')

raises
TypeError: Cannot convert input to Timestamp

Thanks for the report. This example indeed fails in 0.5.1, but it works in 0.5.2.
There's a fix documented in the latest release, but it doesn't reference a bug report- http://xray.readthedocs.org/en/stable/whats-new.html#bug-fixes


Hotfix/connection pool issues cont

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Don't allow a static class called Main, or otherwise fix naming conflict

A code conflict is caused when the user names a class in their program Main. This could perhaps be fixed by fully-qualifying function names in the generated code?

This was fixed in 0.9.9 by the usage of a specific namespace for the generated class


Swift 4.2 support?

Thanks for good work.  Then a new swift version has appeared,  please for another upgrade as soon as possible?

Reusable 4.0.3 added Swift 4.2 support (see #58).


Restore SYSDG and other administrative privileges

#563 added support for SYSDG and other Oracle administrative privileges.  These changes got inadvertently clobbered by #591.  This PR brings them back, in addition to correcting privileges SYSBACKUP, SYSDG, and SYSKM to match their string names rather than the oci.h abbreviations.  So we recognize / AS SYSBACKUP to match https://docs.oracle.com/en/database/oracle/oracle-database/19/dbseg/configuring-privilege-and-role-authorization.html, rather than / AS SYSBKP.

thank you for your contributions


Multiple headers with the same name.

In this particular instance I have been looking at Server-Timing, though there are other instances such as Via, Forwarded and Link, where it is desirable to include multiple headers with the same name in the response; especially if you want to proxy through a response with the HTTP headers left intact.
As cowboy2 uses a map internally for its headers, and then calls maps:to_list() which punts into cow_http:headers(), this would not be possible to do.
The only option I can think of is to amend the internal map to be #{ Header => [ Value1, Value2, ... ], ... }; the API of course would still accept #{ Header => Value }.
Thoughts?  Patches welcome?

Server-Timing looks like a comma list, so the same rules apply as other headers and a list of headers is equivalent as a single header with the items separated by commas.
Via, Forwarded and Link are in the same boat.
The only header which does not respect this that I am aware of (and the only one mentioned in the RFCs) is Set-Cookie and Cowboy already special case it.
There's no rules against combining headers of the same name for proxies. But maybe you have a specific need I do not understand.

I was thinking of accepting lists in the cowboy_req:reply and related functions to let Cowboy do this itself.


feat: postpone start date

Description
Teach getDateFieldToPostpone() to postpone start date, treat it same as scheduled & due date.
Motivation and Context
Expand postpone feature on happens date (start, due, scheduled).
How has this been tested?
Modified existing unit tests.
Types of changes
Changes visible to users:

[x] New feature (prefix: feat - non-breaking change which adds functionality)

Checklist

[x] My code follows the code style of this project and passes yarn run lint.
[ ] My change requires a change to the documentation.

I guess we will need a separate PR to add the docs for the whole feature

[ ] I have updated the documentation accordingly.
[x] My change has adequate Unit Test coverage.

Terms

[x] My contribution follow this project's contributing guide
[x] I agree to follow this project's Code of Conduct

Modified existing unit tests.

It definitely needs manual exploratory testing - and I think that when you do that, you will find other code that also needs changing.

Modified existing unit tests.

It definitely needs manual exploratory testing - and I think that when you do that, you will find other code that also needs changing.

Ok, sure. Maybe you could share the markdown we used during our pairing?

Ok, sure. Maybe you could share the markdown we used during our pairing?

Oh yes, good idea - see #2452 (comment)

TBH I don't see what could go wrong here but that could be a problem by itself =)

Well, there's two things:

the general importance of always exploratory testing new features
whether there is anything obviously not yet updated for this PR

ah ok so making such test is more integration related, rather then just_this_small_change related

Ok, I see very well now why exploratory tests are needed =)
I tried our test file from the discussion also with tasks with start & due and start & scheduled date.
When only the start date is present, it is postponed. Otherwise another date is postponed

Ok, I see very well now why exploratory tests are needed =)

Excellent!

I tried our test file from the discussion also with tasks with start & due and start & scheduled date.
When only the start date is present, it is postponed. Otherwise another date is postponed

Thank you.
When you have time, would you mind editing the PR description to add the additional form of testing please?

Done =)


Add SHA512 HashGeneratorFcn

Two golang applications I am using to connect to Kafka brokers are able to use SHA512 with scram. I thought it simplest to add that HashGeneratorFcn here.

Hello. Is anyone around?

Apologies. This got lost during a period when my GH notification config was messed up.  Rebased and merged.


Make sure PageDownstream doesn't call upstream listener twice

Additional improvement to 23388ddcd075c92f3d7297020151575bb37c49e4
After the upstream was finished resume/repeat would cause additional
needMore/finish calls on the upstream

ack


Unknown option: .useBuiltIns. Check out http://babeljs.io/docs/usage/options/ for more information about options.

I set the babel.config
module.exports = {
  presets: [
    "@vue/app",
    {
      "useBuiltIns": "entry"
    }
  ]
};

But i got the error,
Module build failed (from ./node_modules/babel-loader/lib/index.js):
ReferenceError: [BABEL] /src/main.ts: Unknown option: .useBuiltIns. Check out http://babeljs.io/docs/usage/options/ for more information about options.
 @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts

same here #2594


unrolling recurrent networks causes theano optimization error

Just reinstalled theano+keras to make sure. I've tried a few things and it seems the problem only happens when the RNN being unrolled is before a RepeatVector layer (unrolling a network after the RepeatVector doesn't cause any problem).
My code:
embedding_models =[]
for _ in xrange(n_simultaneous):
    embedding_models += [Sequential()]
    embedding_models[-1].add(Embedding(28,2,batch_input_shape=(b_sz,50 )))

model.add(Merge(embedding_models,mode='concat'))
model.add(GRU(10,stateful=True,unroll=True,return_sequences=True))
model.add(Flatten())
model.add(RepeatVector(10))
model.add(GRU(10,stateful=True,unroll=False,return_sequences=True))
model.add(TimeDistributedDense(180,activation='softmax'))'''
model.compile(loss=categorial_ce, optimizer='rmsprop',metrics=['accuracy'])
X_train,Y_train = get_batch()
model.fit(X_train, Y_train, batch_size=b_sz, nb_epoch=4, verbose=1,validation_split=v_splt)```

The error: (50 times `TensorConstant{10}` if anyone's wondering. probably number of timesteps. And no, `config.mode` is not `FAST_COMPILE`, is `Mode`, which is equivalent to `FAST_RUN`):

```ERROR (theano.gof.opt): Optimization failure due to: constant_folding
ERROR (theano.gof.opt): node: Elemwise{add,no_inplace}(TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10}, TensorConstant{10})
ERROR (theano.gof.opt): TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/gof/opt.py", line 1772, in process_node
    replacements = lopt.transform(node)
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/tensor/opt.py", line 5827, in constant_folding
    required = thunk()
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/gof/op.py", line 912, in rval
    r = p(n, [x[0] for x in i], o)
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/tensor/elemwise.py", line 839, in perform
    super(Elemwise, self).perform(node, inputs, output_storage)
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/gof/op.py", line 769, in perform
    "Did you used Theano flags mode=FAST_COMPILE?"
MethodNotDefined: ('perform', <class 'theano.tensor.elemwise.Elemwise'>, 'Elemwise', 'Did you used Theano flags mode=FAST_COMPILE? You can use optimizer=fast_compile instead.')

ERROR (theano.gof.opt): Optimization failure due to: local_mul_zero
ERROR (theano.gof.opt): node: Elemwise{mul,no_inplace}(TensorConstant{50}, Elemwise{switch,no_inplace}.0, Elemwise{switch,no_inplace}.0)
ERROR (theano.gof.opt): TRACEBACK:
ERROR (theano.gof.opt): Traceback (most recent call last):
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/gof/opt.py", line 1772, in process_node
    replacements = lopt.transform(node)
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/tensor/opt.py", line 5193, in local_mul_zero
    value = get_scalar_constant_value(i)
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/tensor/basic.py", line 660, in get_scalar_constant_value
    for i in v.owner.inputs]
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/tensor/basic.py", line 662, in get_scalar_constant_value
    v.owner.op.perform(v.owner, const, ret)
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/tensor/elemwise.py", line 839, in perform
    super(Elemwise, self).perform(node, inputs, output_storage)
  File "/home/azureuser/anaconda2/lib/python2.7/site-packages/theano/gof/op.py", line 769, in perform
    "Did you used Theano flags mode=FAST_COMPILE?"
MethodNotDefined: ('perform', <class 'theano.tensor.elemwise.Elemwise'>, 'Elemwise', 'Did you used Theano flags mode=FAST_COMPILE? You can use optimizer=fast_compile instead.')```

I'd try to help, but I spent all my sanity during the weekend trying to debug my implementation of a neural tensor network.

Could this be caused by the python stack limit:
Do this before importing theano:
import sys
sys.setrecursionlimit(10000)
see: https://github.com/fchollet/keras/issues/2489
Maybe the error is the wrong one. I don't understand why this error would appear if it run with scan but give this error in the unrolled version.

I've tried a few things and it seems the problem only happens when the RNN being unrolled is before a RepeatVector layer (unrolling a network after the RepeatVector doesn't cause any problem).

I somehow doubt this could have anything to do with the following op. If you have managed to unroll the RNN, what you get is a 2D tensor, and the next ops are independent from the series of ops that resulted in that tensor.
Issues with unrolling Theano RNNs are something I've seen before. I don't know the exact cause and I don't know a good workaround. You should either:

use scan (unroll=False)
use TF (which is pretty good at unrolling RNNs on arbitrarily long sequences albeit pretty slow at runtime)
reduce the length of the sequences until Theano unrolling works

@nouiz  Not a recursion limit problem - I already had that problem (gave me a different error), and I increased the recursion limit.
@fchollet length isn't that big, though I guess it was pretty dumb of me to assume RepeatVector has anything to do with the problem (though lately I haven't had much time to think)
guess I should close this for now, since you're aware of the problem and it's not that important


Slack app distribution

Check the flow of installing the app on other teams using slack add button. Check if there is some other oAuth flow for that.

Turns out there is specific oAuth 2.0 flow that needs to be implemented for installations to external teams. There need to be a /auth route created in application as callback url for authorisation process from slack website. To this url code will be passed, which should be used later to obtain token from slack API. We need to store each obtained token for each team and use it to register each separate bot to each team. This introduces change into app structure and requires some additions to it.


Add an ISO3166 special case for Kosovo

Q
A

Documentation
no

Bugfix
yes

BC Break
no

New Feature
no

RFC
no

QA
no

Description
Adds a special case for the IsISO3166Alpha2 and IsISO3166Alpha3 validators for Kosovo.
Kosovo declared independence in 2008, but we're still waiting for an official inclusion to the ISO3166 standard. In the meantime many official bodies have begun using the codes XK and XXK.  An example of the prevalence of this unofficial usage is that that iOS lists XK as one of its locale codes.
Expected: IsISO3166Alpha2("XK") returns true
Actual: false

Hello guys!
I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back
Link to my repo: create issue there and we'll discuss it.


Doubts the functionalities that are working

Hello I was using the version that used discord.py that stopped working many things, I would like to know if this is working with the following settings:
rolling
series_list
namelist
soulemoji_list
Kakera delay
because I'm having a problem with the bot, which when starting it presents the console with a lot of information being presented quickly that is impossible to read, I installed the discum by downloading version 1.2.1 because I couldn't use the command python -m pip install --user --upgrade git+https://github.com/Merubokkusu/Discord-S.C.U.M.git

not understanding to much but
discord.py should gradually stop working as the dev of that library has deprecated support for selfbots and will do so more and more. the only thing that is not implemented in the current version of discum is soulmate_emoji list in the list you provided as its still in a testing phase.
if you are getting discum logs on your console then you are not on version 1.2.1 as the code has that option set to false please refer to the discum repo for help installing the newest version

If the only thing that is not working is Soulmate_emoji already helps a lot.
I will try to update again to 1.2.1

So shouldn't this happen if you were in 1.2.1?

No that should not be happening that is the logs for discum to see what is happning. if within my code the discum logging is set to "False" then you should only see the regular prints that I set. This is because you didnt install the newest version of  discum correctly. you still probably have the old version installed by the normal way of pip3 which is the 1.1.0 version
refer to https://github.com/Merubokkusu/Discord-S.C.U.M to find further information and if you have further issues. Please contact the Dev of that library. They are pretty nice

I managed to install but after configuring this error occurs

i think guild id counts for DM's so if you receive a DM its count as a message without a guild id this is also mentioned in the discum documentations

It was set up like that, and he ignored KakeraL

Where you on kakera cooldown ?
Sent from my iPhone

On May 16, 2021, at 10:25 PM, BellaDona007 @.***> wrote:

It was set up like that, and he ignored KakeraL
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

It was without kakera cooldown, had just opened the bot had 5 minutes

what was printed ? or did it just ignore ? or did u wait for the time.sleep() to finish

oh nvm i see what going on its because the limited scope version of the program is the default so multi id need to be set with the channel id you want to monitor in

what was printed ? or did it just ignore ? or did u wait for the time.sleep() to finish

Did not show anything

i think guild id counts for DM's so if you receive a DM its count as a message without a guild id this is also mentioned in the discum documentations

There is no way to disable these messages?

change your multi id setting for channels you want to monitor

There is no way to disable these messages?

there is and its in the discum documentation you can either implement it yourself or wait for me but it will be a while as of right now working on other changes and testing bugs


Update tables' version

Added Placenta and Spinal Cord to the list. Breast still doesn't have data.

Note - we should keep the old table build.  Archive old table build OWL files to folder under /OWL.  Archive old graph builds to folder under /graphs.  (We don't need the rest of the reports).  Maybe 'last_official_ASCTB_release'.


Automatically add z_approve reaction to all reports in mod-alerts

The Issue
Currently, it's a bit tedious to right-click a message (or hold on a phone), then press "add reaction" and if it's not in the first few results, you have to search for it. When there are a lot of requests, this can take some time, and it's quite tiresome.
In addition, some reports that have been handled are not removed because supervisors haven't added this reaction, and making it easier might solve that issue.
--
My Solution
RDSS should automatically react to all the report messages with z_approve, so that when we've handled a report it's just clicking one button and it's removed. Easy.

Feature is now live in the bot.

Feature is now live in the bot.

Liscuate my man!


qat: heartbeat support + new capabilities

tested only with unit tests

Codecov Report

Merging #1559 (361a448) into main (7ebb43b) will increase coverage by 0.05%.
The diff coverage is 58.82%.

:exclamation: Current head 361a448 differs from pull request most recent head c446beb. Consider uploading reports for the commit c446beb to get more accurate results

@@            Coverage Diff             @@
##             main    #1559      +/-   ##
==========================================
+ Coverage   49.48%   49.53%   +0.05%
==========================================
  Files          42       42
  Lines        4923     4944      +21
==========================================
+ Hits         2436     2449      +13
- Misses       2345     2353       +8
  Partials      142      142

Files
Coverage Δ

cmd/qat_plugin/dpdkdrv/dpdkdrv.go
81.90% <58.82%> (-1.38%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Tested with kernel 6.6 rc5 and 4xxx qat device.

add Fixes:  tags


Before Adding new  site design by running Add-SPOSiteScript I ran Get-SPOSiteDesign and Get-SPOSiteScript but didn't got anything.

Before Adding new  site design by running Add-SPOSiteScript I ran Get-SPOSiteDesign and Get-SPOSiteScript but didn't got anything.
I have SharePoint Online Management Shell and PNP SharePoint PowerShell installed.
I have ran Connect-SPOService for connecting to my tenant after that I ran Get-SPOSiteDesign and Get-SPOSiteScript but didn't got anything.

Not clear on the submission... is this a question, is something wrong, etc? There's not enough detail here... please share the results you are getting and the command you are running (ie: show the command prompt).


skype popup blocker

I can't open any link because popup blocker is on and I don't know how to turn off.
Thanks.

Same here, I can't open any link in the new Skype web client.
Any solution?


Cognito Based User Creation, Validation, and Password Reset.

There is some rough and terrible code for adding new users and resetting their passwords. It doesn't work great.
This work may require reworking the Cloud Formation Template as well as the JS code.

Switching from JS to Flutter.

Progress continued with PR #253


[build] Add the flags to enable cross-compiling the corelibs

Pass the Swift and CMake flags needed to cross-compile Foundation and so on, with the first example of Android AArch64. Add a new flag, --cross-compile-deps-path, which is used to search for cross-compiled libraries, like libcurl, that the corelibs depend on.
This would be useful both for building cross-compilation SDKs and building native SDKs faster for some slow platforms, like the Raspberry Pi.
I've been using an earlier version of this patch for the last couple months to cross-compile a native Android toolchain from linux x86_64, termux/termux-packages#5352. After unpacking the Aug. 18 trunk snapshot of the Swift toolchain for Ubuntu 20.04 and the Termux Android binary packages for libcurl and so on into /data/data/com.termux/files/usr, I ran the following command to compile the Swift stdlib and corelibs both natively for linux x86_64 and for Android AArch64 (without this pull applied, the build-script will simply build the corelibs for the linux host twice):
./swift/utils/build-script -R --no-assertions --skip-build-llvm
--android --android-ndk /home/butta/android-ndk-r21d/
--android-arch aarch64 --android-api-level 24
--android-icu-uc /data/data/com.termux/files/usr/lib/libicuuc.so
--android-icu-uc-include /data/data/com.termux/files/usr/include/
--android-icu-i18n /data/data/com.termux/files/usr/lib/libicui18n.so
--android-icu-i18n-include /data/data/com.termux/files/usr/include/
--android-icu-data /data/data/com.termux/files/usr/lib/libicudata.so
--build-swift-tools=0 --native-swift-tools-path=/home/butta/swift-818/usr/bin
--native-llvm-tools-path=/home/butta/swift-818/usr/bin
--native-clang-tools-path=/home/butta/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin
--host-cc=/home/butta/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
--host-cxx=/home/butta/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
--build-runtime-with-host-compiler --cross-compile-hosts=android-aarch64
--cross-compile-deps-path=/data/data/com.termux/files/usr
--xctest -b --install-swift --install-libdispatch --install-foundation
--install-xctest

The last three redundant clang paths were needed because otherwise two different clangs could be passed to CMake when cross-compiling the corelibs, which confuses and breaks the CMake configuration. This invocation makes sure only one clang is used. The problem is that --host-cc is a Python build-script flag while --native-clang-tools-path is a bash build-script-impl flag: I'll look into pulling them all into the Python build-script later.
I tested the above Android SDK with Foundation and another corelibs example by cross-compiling these small executables like this:
/home/butta/swift-818/usr/bin/swiftc -target aarch64-unknown-linux-android
-resource-dir /home/butta/swift/build/Ninja-Release/toolchain-linux-x86_64/android-aarch64/usr/lib/swift
-sdk /home/butta/android-ndk-r21d/platforms/android-24/arch-arm64
-tools-directory /home/butta/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin
-Xcc -I/home/butta/android-ndk-r21d/sysroot/usr/include
-Xcc -I/home/butta/android-ndk-r21d/sysroot/usr/include/aarch64-linux-android
foundationExample.swift

After transferring these executables to an Android AArch64 device and running them with LD_LIBRARY_PATH set to a local copy of the corelibs, everything ran fine. I've also been using these cross-compiled corelibs to cross-compile the Swift package manager in a separate patch and that's been working well, so it works for larger builds too.
@shahmishal, this may be useful to cross-compile for the new Apple Silicon too, at least for those Swift projects that can be built on macOS at all.

Just looking through and beginning to understand this patch. I am hesitant in general to add support to build-script-impl. Especially the cross-compiled part of build-script-impl which is the least well tested out. I need to look/think about this in more detail.

I am hesitant in general to add support to build-script-impl.

Thinking about this some more, I have a pull in the works to cross-compile SPM too, which is built by build-script, and I could translate these two new bash functions common_swift_flags() and add_cross_cmake_options() to be on the Python build-script side instead, so they could be used for both.
Of course, the remaining parts of this pull would have to stay in this bash script, as that's the only way to configure the corelibs.

Alright, made the changes discussed above, all split off into a separate commit so it's easy to see what changed. Applying this pull and the related pulls #34491 and #34628, which are not strictly necessary for this one but allow me to use the unified sysroot here and elide one flag, I was able to build a functional Android SDK with the Nov. 26 source snapshot and the official prebuilt trunk snapshot of the linux toolchain, by running this command:
./swift/utils/build-script -R --no-assertions --skip-build-cmark --build-llvm=0 --android
--android-ndk /home/butta/swift/android-ndk-r21d/ --android-arch aarch64 --android-api-level 24
--android-icu-uc /home/butta/swift/swift-android-aarch64-24-sdk/usr/lib/libicuuc.so
--android-icu-uc-include /home/butta/swift/swift-android-aarch64-24-sdk/usr/include/
--android-icu-i18n /home/butta/swift/swift-android-aarch64-24-sdk/usr/lib/libicui18n.so
--android-icu-i18n-include /home/butta/swift/swift-android-aarch64-24-sdk/usr/include/
--android-icu-data /home/butta/swift/swift-android-aarch64-24-sdk/usr/lib/libicudata.so --build-swift-tools=0
--native-swift-tools-path=/home/butta/swift/swift-DEVELOPMENT-SNAPSHOT-2020-11-26-a-ubuntu20.04/usr/bin/
--native-clang-tools-path=/home/butta/swift/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin
--host-cc=/home/butta/swift/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
--host-cxx=/home/butta/swift/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
--cross-compile-hosts=android-aarch64 --cross-compile-deps-path=/home/butta/swift/swift-android-aarch64-24-sdk
--swift-install-components='clang-builtin-headers;license;stdlib;sdk-overlay'
--install-swift --install-libdispatch --install-foundation --install-xctest --xctest --skip-local-build -j9

I was then able to cross-compile Swift packages like swift-argument-parser and their tests for Android with this JSON config
{
    "version": 1,
    "target": "aarch64-unknown-linux-android",
    "toolchain-bin-dir": "/home/butta/swift/swift-DEVELOPMENT-SNAPSHOT-2020-11-26-a-ubuntu20.04/usr/bin",
    "sdk": "/home/butta/swift/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/sysroot",
    "extra-cc-flags": [
        "-fPIC"
    ],
    "extra-swiftc-flags": [
        "-resource-dir", "/home/butta/swift/build/Ninja-Release/toolchain-linux-x86_64/android-aarch64/usr/lib/swift",
        "-tools-directory", "/home/butta/swift/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin",
        "-Xclang-linker", "--target=aarch64-linux-android24",
        "-L/home/butta/swift/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x",
    ],
    "extra-cpp-flags": [
        "-lstdc++"
    ]
}

by passing it in to the linux SPM like so:
~/swift/swift-DEVELOPMENT-SNAPSHOT-2020-11-26-a-ubuntu20.04/usr/bin/swift build --build-tests --destination ~/android-aarch64.json

The directory swift-android-aarch64-24-sdk/ used to build the SDK simply contains some cross-compiled libraries and headers that the stdlib and corelibs depend on, such as libicu and libcurl. I detail how I put that together using prebuilt Termux packages elsewhere.
While these commands produce a working SDK, further patchelf commands will need to be run to set some of their rpaths properly before running them on Android.
@drodriguez, once this is in, you could expand the Android CI to build the corelibs and some Swift packages if you like, rather than only cross-compiling the stdlib as it does now.

Added a last two-line commit that provides a build-script-impl flag to pass in Swift flags to the corelibs. Saleem pointed out that adding CMAKE_Swift_FLAGS in the build script precludes passing it in with one of the *-cmake-options variables, so this provides a way to pass in common flags.
For example, I mentioned earlier needing to patchelf the corelibs rpaths, but I was able to pass it in with this flag instead, --common-swift-flags="-Xlinker -rpath -Xlinker \\\$\$ORIGIN/../..". If there's a need later for passing in flags for each individual project, like the current --libdispatch-cmake-options flag, we could add that later.
@compnerd, let me know if this addresses your concerns, as CMAKE_Swift_FLAGS has since been added to build-script-impl by #34728.

@CodaFi, could you take a look at this pull? I'd like to get it in before the 5.4 branch, but I think Michael is busy with his ownership work.

@varungandhi-apple, mind running the CI on this? I just talked to @gottesmm and it looks like we can move forward on this, as I'd like to get it into the 5.5 branch.

Another thing that would be good is if one adds a few build system unit tests for build-script-impl to make sure things keep working as you expect.

I made most of the changes asked for as a new commit, so they're easy to review. Only the host dispatch comment was added to the first commit, as I had already merged that before.

Oh, I forgot to add the tests, will do that next.

Made all the changes you asked for and put them in the last review commit (with the exception of one comment mentioned above, that I had merged into an earlier commit).
@varungandhi-apple, mind running the CI on this test I just added? It worked for me on linux, but I don't use macOS.

Ping, this is ready to go, I'd like to get this into the 5.5 branch next.

The only thing that we may want to do is see if we can do a public test that Darwin cross compilation still works using a preset test.

So I'm getting this exactly, you want to add a new test file that makes sure these changes don't interfere with cross-compiling on Darwin for Darwin, say on a macos-x86_64 host for macos-arm64? I'm fairly certain that won't break, as everything here is only done for the Android platform to begin with, and I don't use macOS and am unfamiliar with setting up those mac build presets.
I could add a test that we could check on the macOS CI, but it may take some iteration to get that formulated right, just because I'm unfamiliar with those macOS preset flags. Note that this new build-script code path is only activated when the --cross-compile-hosts flag is passed in, so it only applies when cross-compiling a whole toolchain.

@drexin, mind running the CI on this?

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - b523e76539e52801fcd67df611135ef463d482ac

Single Mac test failure is unrelated, and something unrelated appears broken on the Win CI.

@swift-ci test macos

@swift-ci test windows

Build failed
Swift Test OS X Platform
Git Sha - b523e76539e52801fcd67df611135ef463d482ac

@drexin, Mac CI is fixed, would you run it for this pull again?

@swift-ci test macos

Build failed
Swift Test OS X Platform
Git Sha - b523e76539e52801fcd67df611135ef463d482ac

@swift-ci test macOS platform

Gah, this also failed the Python lint that is only run on the Mac CI, I will fix and push again.

Build failed
Swift Test OS X Platform
Git Sha - b523e76539e52801fcd67df611135ef463d482ac

Alright, Mac CI stopped for some reason. I added the whitespace needed to pass the Python linter and squashed everything into one commit.
@drexin or @gottesmm, this should pass the CI now.

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - a4ff4db508690711ecf62d2d8aa5bb5ece80d8bf

Some unrelated issue with SwiftSyntax on the Mac CI, hit this completely different pull too.

@drexin, looks like the Mac CI is running again, would you trigger that one again?

@swift-ci test macos

Passed CI, ready for merge.

10:40:38 Failed Tests (1):
10:40:38   Swift(macosx-arm64) :: BuildSystem/android_cross_compile.test

https://ci.swift.org/job/oss-swift-incremental-RA-macos-apple-silicon/966/console
@buttaface We are seeing this failure on Apple Silicon, is it ok to disable this test for macOS platforms?

@shahmishal, I will submit a pull to disable it for macos-arm64 in 15 min, as I don't know what's going wrong there.


Decompilation never finishes

Hi, please check this app, I run
./bin/jadx/bin/jadx -d TEST --show-bad-code --no-replace-consts app.apk

it consumes a lot of memory, but in result I see only sources folder, but not resources
APK: https://drive.google.com/open?id=1DiHzG75VimwDRGfE_X9Z6lU5_hXbz2Bb

@skylot
Thanks! Fixed!


Support for [C]ommand [L]ine [I]nterface [P]ages project

Here is the current syntax description and a repo with pages.
Render is available here.

Important
This project goal is to replace TlDr project completely. CLIP project already has better client in terms of feature amount compared to TlDr official one and third party clients. To be specific: it provides more expressive and clear syntax for writing pages, color theme support. Even TlDr maintainers help me to develop it I think their main goal is to make TlDr project better and not mine, so I expect the most of the help from non-TlDr contributors.

I don't think that I wanna improve cheat.sh now, I mean I have no with to regularly contribute here. I just wanna mention my project as much as possible to make it more noticeable. That's all my aim is. :) Because I think the one issue with my project is that it's not mentioned everywhere except some my posts in Reddit.


[LAB-665] [LAB-653] add view to update job flow

currently we can submit a flow through the web app to create a job flow with bacalhau ids. however there is now view or endpoint to get an updated statues once a flow is submitted.
From SyncLinear.com | LAB-653
LAB-665

duplicated by LAB-653


pip 20.3b1: TypeError: make_requirement_preparer() got an unexpected keyword argument 'wheel_download_dir'

Environment Versions

OS: Debian Bullseye
Python version: cpython 3.9.0, compiled myself.
pip version:  20.3b1
pip-tools version: 5.3.1

Steps to replicate
python3.9 -m venv .venv; source .venv/bin/activate
echo jedi > requirements-dev.in
pip install --upgrade --pre pip wheel setuptools pip-tools
pip-compile requirements-dev.in

Note that it does happen with jedi but not with black (had not tested other packages).
Result
  File "/tmp/.venv/bin/pip-compile", line 8, in <module>
    sys.exit(cli())
  File "/tmp/.venv/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmp/.venv/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmp/.venv/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmp/.venv/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmp/.venv/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/tmp/.venv/lib/python3.9/site-packages/piptools/scripts/compile.py", line 458, in cli
    results = resolver.resolve(max_rounds=max_rounds)
  File "/tmp/.venv/lib/python3.9/site-packages/piptools/resolver.py", line 173, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/tmp/.venv/lib/python3.9/site-packages/piptools/resolver.py", line 278, in _resolve_one_round
    their_constraints.extend(self._iter_dependencies(best_match))
  File "/tmp/.venv/lib/python3.9/site-packages/piptools/resolver.py", line 388, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/tmp/.venv/lib/python3.9/site-packages/piptools/repositories/local.py", line 75, in get_dependencies
    return self.repository.get_dependencies(ireq)
  File "/tmp/.venv/lib/python3.9/site-packages/piptools/repositories/pypi.py", line 231, in get_dependencies
    self._dependencies_cache[ireq] = self.resolve_reqs(
  File "/tmp/.venv/lib/python3.9/site-packages/piptools/repositories/pypi.py", line 155, in resolve_reqs
    preparer = self.command.make_requirement_preparer(
TypeError: make_requirement_preparer() got an unexpected keyword argument 'wheel_download_dir'
/home/mdk/.local/lib/python3.9/tempfile.py:817: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/tmpawdrn2ytsource'>
  _warnings.warn(warn_message, ResourceWarning)
/home/mdk/.local/lib/python3.9/tempfile.py:817: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/tmp3sv7im0lbuild'>
  _warnings.warn(warn_message, ResourceWarning)
/home/mdk/.local/lib/python3.9/tempfile.py:817: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/tmps3_jugijsource'>
  _warnings.warn(warn_message, ResourceWarning)
/home/mdk/.local/lib/python3.9/tempfile.py:817: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/tmp/tmpfnqnztwpbuild'>
  _warnings.warn(warn_message, ResourceWarning)
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('<IP_ADDRESS>', 50038), raddr=('<IP_ADDRESS>', 443)>

Thanks, @JulienPalard for the issue! pip-20.3 support is on the way. See #1216.

It seems like pip==21.1.2 has the same issue? Not sure if we have another open ticket for this?

@zhangchi1 can't reproduce locally. Did you use the latest pip-tools?

@atugushev
me too
pip               21.1.3
pip-compile-multi 2.4.1
pip-tools         6.2.0
wheel             0.36.2
setuptools        57.0.0

only pip-tools 5.4.0+ supports pip 20.3+
In my case update pip-tools-6.2.0 with pip-21.1.3 solved a problem

@sergey-zakharov I have the same issue.
Does anybody found any solution?

Are you using pip= 21.1.2? Maybe try pip upgrade to pip=21.1.3 or above? > @sergey-zakharov I have the same issue.

Does anybody found any solution?

Using pip==21.2.4 and pip-tools==6.2.0.
I also tried, pip==21.2.3 with pip-tools==5.5.0.

@Evergreenies pip==21.2.4 and pip-tools==6.2.0 worked for me ...


SASS

Hi,
Is that possible you provide alongside with the .css files a default.scss sass file?
It would be awesome!
Thank you for the amazing work

+1

I really want it too

what about .sass?

I don’t know .sass, is it just css too?

Sass has two syntaxes: .scss, CSS-like one, and .sass — indented syntax, looking like this:
nav
  ul
    margin: 0
    padding: 0
    list-style: none

  li
    display: inline-block

  a
    display: block
    padding: 6px 12px
    text-decoration: none

Is there a tool that can convert css to sass? Right now, the scss files are just css files with a different file extension.

Ah, ok. So I don’t think we can provide sass unfortunately.

Out of curiosity:

Is that possible you provide alongside with the .css files a default.scss sass file?

WHY? I think understanding the context of a request is always super important.


[AKS] az aks update/az aks upgrade --cluster-snapshot-id

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

AKS

/azp run

/azp run

@Xinyue-Wang Could you please resolve those CI issues?

/azp run

@Xinyue-Wang Could you please resolve those CI issues?

resolved. @zhoxing-ms @FumingZhang  could you help queue test and merge the pr? thanks!

/azp run

/azp run


Updated translations for SEO tab improvements

Updates translation for sulu-pr https://github.com/sulu/sulu/pull/2211

Translations will be updated during release process.


zug/transducer/eager.hpp: include algorithm

std::sort is provided by

Good catch. Sorry for the late review, this somehow slipped through my Github inbox.


Redisson param beautify

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

Also, the changes.md in the root should be updated accordingly.

You should fix CI.

You should fix CI.

Done

You should fix CI.

The plugin test verified your changes, and fails, https://github.com/apache/skywalking-java/actions/runs/3217108062/jobs/5260283393

The plugin test verified your changes, and fails, https://github.com/apache/skywalking-java/actions/runs/3217108062/jobs/5260283393

I gave up on modifying the ByteBuf case. In fact, I didn't figure out how the test case works

@w-a-n-g-s-h-u-n Are you going to continue on this PR, we are waiting for your explanaion.

This PR has no update in half month. I have to close this.
If you want to continue on this, let's know.


LightGBM doesn't use full power of GPU

I train my data with GPU option is on: device: gpu and here is how the GPU was used:
https://www.evernote.com/l/AQEBXr-xb_tAcoghcAy7gkdrZa7lK4E6Mt4B/image.png
It is only 20-30% of my GPU, and the speed is still the same. :(
Environment info
Operating System: Ubuntu 16.04
GPU: 1060 3GB
C++/Python/R version: Python 3.6

I have the same question with windows+python

refer to https://github.com/Microsoft/LightGBM/issues/768


Convert OUTPUT_DIRECTORY to optional argument with default value

🗣 Description
Resolves #27 and converts OUTPUT_DIRECTORY argument to optional "-o --output-dir" with default value decided by team. The default output directory has been set to "~/" (root of users home directory). This PR also patches generate_reports function in test_tpt_reports.py so that it doesn't actually generate pdfs in unit testing.

💭 Motivation and context
Closes #27, the result of planning discussions with the team to add versatility to the script and simplicity for users.

🧪 Testing
Run the command line tool without any output directory supplied to use the default "~/" or pass another directory with --output-dir=<SOME_DIRECTORY>.

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] Tests have been added and/or modified to cover the changes in this PR.
[x] All new and existing tests pass.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

Since this PR has already been approved, I will put the versioning changes in my next PR per discussions here: https://github.com/cisagov/tpt-reports/pull/51#issuecomment-1737566932


[WIP] Proof of concept fsspec integration

Implementation of FsspecClient and FsspecPath that work with an fsspec concrete filesystem implementation.
Follow up on #96

New abstract FsspecClient, FsspecPath classes. Each registered implementation in fsspec.registry has subclasses autogenerated, e.g., S3Path, GCSPath, HTTPPath.
FsspecPath will automatically dispatch to correct subclass, the same way CloudPath does. This dispatching is isolated to FsspecPath; CloudPath still only dispatches to original implementations.

Running environment variable FSSPEC_MODE=1 will replace CloudPath's dispatching so that it will dispatch to fsspec subclasses instead of the normal ones.

New extras.

[fsspec] will install fsspec.
Each extras from fsspec has been copied to [fsspec-<name>], e.g.fsspec-s3fs.
[fsspec-all] will install all fsspec extras.
original [all] does not include any fsspec extras

See discussion in #96


Merge usage/options to usage/cli

I think
http://6to5.org/docs/usage/options/
should be a sub-section of #6to5:
http://6to5.org/docs/usage/cli/#6to5
This makes for better navigation flow in reading the docs.

If the options is a separate page, it isn't really clear that some options aren't available in 6to5-node command (e.g. blacklist).

On second thought, http://6to5.org/docs/usage/options/ probably just need improvements.

It's not a CLI-exclusive thing though.

Yeah, you're right. I think there should be some explicit internal references like:

See available options.

IIRC, before the site redesign, the options and the CLI stuff were on the same page, making it easier for the user to look up references.
I can send a quick PR for this.

@Dashed Sure, that'd be great.

@dashed still cool with sending a PR?

@hzoo Probably not. Unsure if this issue is still valid as I'm unaware if the site has drastically changed since I filed this. Feel free to close/modify the issue.

Alright, thanks


[Outlook] (itemId) Link to EWS item ID docs

Addresses docs part of https://github.com/OfficeDev/office-js-docs-pr/issues/1329.

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

File
Status
Preview URL
Details

docs/reference/objectmodel/preview-requirement-set/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.1/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.2/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.3/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.4/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.5/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.6/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.7/office.context.mailbox.item.md
:white_check_mark:Succeeded

docs/reference/objectmodel/requirement-set-1.8/office.context.mailbox.item.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.


Initial subscriptions callback

Fixes #739
Done:

[x]  Update Changelog.md
[x]  API documentation
[x] Call initial subscription on Realm.open async method and Realm constructor.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 11 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 87.881%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
2103

Relevant Lines:
2393

💛  - Coveralls


x/vgo: document behaviour of vgo vendor (and why it adds transitive (test) dependencies)

What version of Go are you using (go version)?
go version go1.10.1 linux/amd64 vgo:2018-02-20.1
vgo updated just now
What did you do?
empty go.mod
vgo build
vgo list -m
MODULE                           VERSION
gotodo                           -
github.com/gorilla/mux           v1.6.2
github.com/gorilla/schema        v1.0.2
github.com/gorilla/securecookie  v1.1.1
github.com/jmoiron/sqlx          v0.0.0-20180406164412-2aeb6a910c2b
github.com/jordan-wright/email   v0.0.0-20180115032944-94ae17dedda2
github.com/lib/pq                v0.0.0-20180523175426-90697d60dd84
github.com/pelletier/go-toml     v1.1.0
github.com/pkg/errors            v0.8.0
github.com/satori/go.uuid        v1.2.0
golang.org/x/crypto              v0.0.0-20180531191117-5ba7f6308246

They are really the dependencies that I use
vgo vendor
vgo build
vgo list -m
MODULE                           VERSION
gotodo                           -
github.com/BurntSushi/toml       v0.3.0
github.com/davecgh/go-spew       v1.1.0
github.com/go-sql-driver/mysql   v1.3.0
github.com/gorilla/mux           v1.6.2
github.com/gorilla/schema        v1.0.2
github.com/gorilla/securecookie  v1.1.1
github.com/jmoiron/sqlx          v0.0.0-20180406164412-2aeb6a910c2b
github.com/jordan-wright/email   v0.0.0-20180115032944-94ae17dedda2
github.com/lib/pq                v0.0.0-20180523175426-90697d60dd84
github.com/mattn/go-sqlite3      v1.7.0
github.com/pelletier/go-toml     v1.1.0
github.com/pkg/errors            v0.8.0
github.com/satori/go.uuid        v1.2.0
golang.org/x/crypto              v0.0.0-20180531191117-5ba7f6308246
gopkg.in/check.v1                v1.0.0-20161208181325-20d25e280405
gopkg.in/yaml.v2                 v2.2.1

$ cat go.mod
module gotodo

require (
	github.com/BurntSushi/toml v0.3.0
	github.com/davecgh/go-spew v1.1.0
	github.com/go-sql-driver/mysql v1.3.0
	github.com/gorilla/mux v1.6.2
	github.com/gorilla/schema v1.0.2
	github.com/gorilla/securecookie v1.1.1
	github.com/jmoiron/sqlx v0.0.0-20180406164412-2aeb6a910c2b
	github.com/jordan-wright/email v0.0.0-20180115032944-94ae17dedda2
	github.com/lib/pq v0.0.0-20180523175426-90697d60dd84
	github.com/mattn/go-sqlite3 v1.7.0
	github.com/pelletier/go-toml v1.1.0
	github.com/pkg/errors v0.8.0
	github.com/satori/go.uuid v1.2.0
	golang.org/x/crypto v0.0.0-20180531191117-5ba7f6308246
	gopkg.in/check.v1 v1.0.0-20161208181325-20d25e280405
	gopkg.in/yaml.v2 v2.2.1
)

I don't use all of them
What did you expect to see?
The same dependencies at first.
I believe it's because of tests, it's ok to vendor them.
But maybe go.mod should not be updated with dependencies that my module don't use.

A smaller app to show this
package main

import _ "github.com/pelletier/go-toml"

func main() {
}

$ vgo build
vgo: resolving import "github.com/pelletier/go-toml"
vgo: finding github.com/pelletier/go-toml (latest)
vgo: adding github.com/pelletier/go-toml v1.1.0

$ vgo vendor
vgo: resolving import "github.com/BurntSushi/toml"
vgo: finding github.com/BurntSushi/toml (latest)
vgo: adding github.com/BurntSushi/toml v0.3.0
vgo: resolving import "github.com/davecgh/go-spew/spew"
vgo: finding github.com/davecgh/go-spew (latest)
vgo: adding github.com/davecgh/go-spew v1.1.0
vgo: resolving import "gopkg.in/yaml.v2"
vgo: finding gopkg.in/yaml.v2 (latest)
vgo: adding gopkg.in/yaml.v2 v2.2.1

$ cat go.mod

module test

require (
	github.com/BurntSushi/toml v0.3.0
	github.com/davecgh/go-spew v1.1.0
	github.com/pelletier/go-toml v1.1.0
	gopkg.in/yaml.v2 v2.2.1
)

go.mod is updated at vgo vendor, no need to go build to see this.

The docs says:
Vendor resets the module's vendor directory to include all
packages needed to builds and test all packages in the module
and their dependencies.

So this looks right.

Agree with your conclusion @oiooj
@flibustenet - I'm going to close this for now because it's working as intended/expected, but if you have any concerns with those semantics please feel free to comment/question here.
Thanks

My concern is not so much that it vendor additional dependencies, it's ok to have a full copy of the dependencies.
My concern is that vendor it should not update go.mod with them as they are not required by the app.
For example my use case now is to vendor only because i need to use legacy tools (fresh, guru...) and there is no "universal proxy-cache". But soon i will not need to vendor, so i don't want to commit a go.mod with theses temporary dependencies.

@flibustenet Yes, your concerns is right.  It's no need to change go.mod maybe.

My concern is that vendor it should not update go.mod with them as they are not required by the app.

I suspect this is happening because your app's dependencies are not Go modules (i.e. do not have go.mod files themselves), hence the transitive set of dependencies has to be captured in your app's go.mod.
Others might be able to verify/refute this.

For example my use case now is to vendor only because i need to use legacy tools (fresh, guru...) and there is no "universal proxy-cache".

That's good to know. There is work in progress to help make these tools Go module aware.
There is also the more general question of trimming/pruning go.mod files which picks up your post-vgo vendor point about how to remove what will be extraneous dependencies.

I think it still need investigation, we should verify this and confirm that it's the behavior that we want. Maybe you can reopen it or do you see an other issue to discuss about vendoring with vgo ?

@flibustenet - I think it certainly makes sense to re-open this issue as a placeholder for documenting how and what vgo vendor does more thoroughly. I'll tweak the title too.

You would see the same things added to go.mod if you ran go test all. Any command that learns about a missing entry in go.mod will add them. Once dependencies' go.mods start being more accurate there will be less of these "incidental" additions - you'll just see what your module's packages and tests need. But for now they're part of accurately describing the world.
The quoted text, except for the typo, looks right to me. What more do you want to say?

There are situations where a build is ok (very few dependencies) but with transitive (test) dependencies it doesn't work. Then it's annoying to have to resolve broken test dependencies just to vendor working dependencies.
What about an option to decide if we want to vendor test or not ?
Example with github.com/pelletier/go-toml vgo build works but vgo vendor not:
import "github.com/pelletier/go-toml"

$ vgo build
$ vgo vendor
vgo: resolving import "github.com/BurntSushi/toml"
vgo: finding github.com/BurntSushi/toml (latest)
vgo: adding github.com/BurntSushi/toml v0.3.0
vgo: resolving import "github.com/davecgh/go-spew/spew"
vgo: finding github.com/davecgh/go-spew (latest)
vgo: adding github.com/davecgh/go-spew v1.1.0
vgo: resolving import "gopkg.in/yaml.v2"
vgo: finding gopkg.in/yaml.v2 (latest)
vgo: adding gopkg.in/yaml.v2 v2.2.1
vgo: import "github.com/davecgh/go-spew/spew/testdata"<EMAIL_ADDRESS>no Go source files

The problem with go-spew/spew/testdata was just a bug.
We're going to drop tests of deps from 'vgo mod -vendor',
but they will still be analyzed during 'vgo mod -sync' or 'vgo list all'.
Will be fixed by CL 122256.


Can't connect my Piazetta P939

Hello and first of all thank you for your work.
I recently moved from Jeedom to home assistant but so far I can't connect to my piazetta P939 within HA. The jeedom plugin also based on py-agua-iot is working perfectly so I used the exact same parameters to configure it on HA but I still have a connection error message.
here are the value I use
url : https://piazzetta-iot.app2cloud.it/api/bridge/endpoint/
login url : https://piazzetta-iot.app2cloud.it/api/bridge/endpoint/
customer code : 458632
login & password that I use on the mobile app
Version 1.9.0
Brand ID : 1
I tried the stable plugin 1.8 and de 2.0 beta but not better.
I'll appreciate any help.
Thanks !
Christophe

Try without setting login URL.

Try without setting login URL.

Thank you but still get the connection error.

From py-agua-iot readme,Api URL : https://piazzetta.agua-iot.com/Login URL : https://piazzetta-iot.app2cloud.it/api/bridge/endpoint/It seams that you use login URL instead API URL.

From py-agua-iot readme,Api URL : https://piazzetta.agua-iot.com/Login URL : https://piazzetta-iot.app2cloud.it/api/bridge/endpoint/It seams that you use login URL instead API URL.

 It works ! Thank you so much !

The issue was between the chair and the keyboard !


Upgrade Windows 10 to build 10074

See https://github.com/joefitzgerald/packer-windows/pull/144

Fixed in https://github.com/boxcutter/windows/commit/684b15959dc706425fbba2a2c53b7ac2f882b3f8


Allow using single core repository setup

Proposed Changes

Move buildscripts from compose-multiplatform repo to core
Introduce DEVELOPMENT.md that is mostly copied from compose-multiplatform repo
Some changes in scripts around to make single repository setup working

Testing
Test: run tasks from newely created :mpp:* gradle project
Issues Fixed
No issues related to the PR

So to test it, I can simply clone the compose-multiplaform-core repo (nr/core-standalone branch) without compose-multiplatform and submodules. And it should work, right?

Also, I have a not important suggestion to rename DEVELOPMENT.md to MULTIPLATFORM.md


Windows Desktop GUI Executable Uses Random Temp Location

This was the desired functionality.  But as this fails randomly now, it will not resume where it left off anymore (unless run as GUI.py from command line).

This may still be the desired function for use with GUI. Windows GUI should only be used with small datasets anyways. And if this bug is not present on new Windows PCs, we want to keep using the random tmp location.


Http tweaks

Drops config. Felt cumbersome for just a few http options. We may need it back, but I'd rather go slim for now until we definitely do.
Renames Request => Client. Felt more accurate since it deals with many requests.
to_json to JSON.generate. I didn't realize that to_json exists in ruby and thought that was only coming from rails which might not always be there so I switched. I later realized that to_json does seem to be there in ruby for some things, though I'm not sure it is for hash (that maybe comes from rails?). Just seemed best to be explicit and use JSON.generate.
made merging mount point with flipper api paths a bit more robust (uses URI for mount point and path and tries to merge them.

I'd still like to go farther on this class and make it a full wrapper around the api (e.g.: client.features, client.feature("search"), etc.), but calling it quits for the weekend.


Add trusted types in webpack

Trusted Types
Trusted Types (spec, introductory article) is a new experimental DOM API implemented within the WICG , with a working Chrome implementation.
The API creates a few new objects available on the global object in the browser, like most other web APIs (impl in TS and in Closure compiler).
Under certain conditions, controlled by a HTTP header (analogous to Content-Security-Policy behavior), the API can enable the enforcement - then it changes the signature of several DOM API functions and property setters, such that they accept specific object types, and reject strings. Colloquially, DOM API becomes strongly typed.
For example, with Trusted Types Element.innerHTML property setter accepts a TrustedHTML object.
Trusted Type objects stringify to their inner value. This API shape is a deliberate choice that enables existing web applications and libraries to gradually migrate from strings to Trusted Types without breaking functionality. In our example, it makes it possible to write the following:
const policy = TrustedTypes.createPolicy('foo', {
  createHTML: (s) => { /* some validation*/; return s}
});

const trustedHTML = policy.createHTML('bar');
anElement.innerHTML = trustedHTML

anElement.innerHTML === 'bar'

The above code works regardless if the Trusted Types enforcement is enabled or not.
Reading from the DOM is unaffected, so Element.innerHTML getter returns a string. That's for practical reasons -- web applications read from DOM more often than they write to it, and only writing exposes the application to DOM XSS risks. Typing only the setters allows us to secure web applications with minimal code changes.
Why add Trusted Types to webpack?
Modern JavaScript applications use frameworks and bundlers to server the files to clients. Webpack is one of the most popular bundlers and part of webpack is running on the client. On client side, webpack creates script elements to download application chunks. Currently, it assigns strings to script.src which violates Trusted Types rules when client applications uses Trusted Types. In order to allow applications use Trusted Types, webpack needs to convert these values to Trusted Types.

What kind of change does this PR introduce?
This PR allows applications which use Webpack to use Trusted Types. The only thing the application needs to do to enable Trusted Types is to specify webpack policy in the HTTP header.

Did you add tests for your changes?
Yes, I have created unit tests in webpack and I also verified the changes in my example application where I am using the updated webpack locally.

Does this PR introduce a breaking change?
No, this PR preserves the same behavior when trusted types are not available on the client.

What needs to be documented once your changes are merged?
The only thing that needs to be documented is that webpack will create a policy which will allow serving chunks on clients if application has enabled Trusted Types. The policy name is important, because there can be only one policy with the same name in an application. Policy name webpack uses defaults to webpack, but can be overridden in webpack configuration in output.trustedTypesPolicyName.

Can you accept CLA?

@evilebottnawi Yeah, I just signed the CLA

@Siegrift email in commit is not same what you use in github

@evilebottnawi Oh, yeah. I accidentally used an auto filled email address instead of the correct one. However, in the CLA I cannot change the email address.
How can I add the correct email address to the CLA?

Change email address in commit

@evilebottnawi I think it should be ok now.

@sokra Can you have a look, please? Users who want to enable Trusted Types in nextjs or Vue will have a hard time because hot reloading will trigger Trusted Types violation and the page won't reload :/

@Siegrift can you rebase, thanks!

I have rebased, but I have some problems with the license as I used two different email but license allows me to use only one. I tried amending and changing it, but it still doesn't pass... I could create a new PR, but I don't want to lose review comments.

/cc @Siegrift still has problem with CLA

@evilebottnawi I resolved the license problem :)

/cc @sokra

Friendly ping, it seems like the licensing issue is resolved, and the check is pending.

Closing in favor of #9856.
(I will create a separate PR for webpack 4)


Cannot install spiceypy on linux centos 7.6

Hi I cannot find a solution to install spiceypy on CentOs system. Both using pip with --no-cache-dir and python setup.py install .
I got:
error using pip
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting spiceypy
  Downloading https://files.pythonhosted.org/packages/d6/88/b0dafd30d3e0dee50388149b1667ccc26b4ba4d4152c31e50989cbaa19e1/spiceypy-2.2.0.tar.gz (177kB)
    100% |████████████████████████████████| 184kB 375kB/s
Requirement already satisfied: numpy>=1.12.0 in /usr/lib64/python2.7/site-packages (from spiceypy) (1.16.2)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (from spiceypy) (1.12.0)
Requirement already satisfied: certifi>=2017.1.23 in /usr/lib/python2.7/site-packages (from spiceypy) (2019.3.9)
Installing collected packages: spiceypy
  Running setup.py install for spiceypy ... error
    Complete output from command /bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-PNPDY9/spiceypy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-kr2iHX/install-record.txt --single-version-externally-managed --compile:
    Wheel is Present
    running install
    ('Checking the path', '/tmp/pip-install-PNPDY9/spiceypy/cspice')
    Unable to find CSPICE at /tmp/pip-install-PNPDY9/spiceypy/cspice. Attempting to Download CSPICE For you:
    Gathering information...
    ('SYSTEM:   ', 'Linux')
    ('PROCESSOR:', 'x86_64')
    ('MACHINE:  ', '64bit')
    Downloading CSPICE for PC_Linux_GCC_64bit...
    Unpacking... (this may take some time!)
    Host OS: Linux
    /bin/sh: gcc: command not found
    Error: compilation of shared spice.so build exit status: ('32512',)

    ----------------------------------------
Command "/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-PNPDY9/spiceypy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-kr2iHX/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-PNPDY9/spiceypy/ ```

** error after using the packet installer **
Traceback (most recent call last):
  File "whereisBCnow.py", line 14, in <module>
    import spiceypy as spice
  File "/usr/lib64/python2.7/site-packages/spiceypy/__init__.py", line 25, in <module>
    from .spiceypy import *
  File "/usr/lib64/python2.7/site-packages/spiceypy/spiceypy.py", line 28, in <module>
    from .utils.libspicehelper import libspice
  File "/usr/lib64/python2.7/site-packages/spiceypy/utils/libspicehelper.py", line 34, in <module>
    libspice = CDLL(sitePath)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 360, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib64/python2.7/site-packages/spiceypy/utils/spice.so

what's the problem?
How can I exit from the empasse?
Thank you in advance

you need to have the gcc compiler installed

I am closing this issue as it is not a bug

Dear @AndrewAnnex,
thank you. Obviously it worked.
Sorry for the time wasted.
kind regards,
C


Support for LESS files

On the documentation it's written:

sass/less/css files you need do nothing special for the preprocessing an entire file, it's always done.

I have tried to require some LESS files inside a sprockets index file and was not able. I was doing this with the previous version of jekyll-assets that was using jekyll 2.
I suppose the documentation is wrong since sprockets 3 does not have built-in support for LESS.
Am I correct?
If I want to add LESS support to this gem, should it be added here https://github.com/jekyll/jekyll-assets/tree/master/lib/jekyll/assets/processors ?

You don't need to add anything to our system.  The "nothing special" part is that you don't need to do any work, just add a Gem. Try adding less to your Gemfile and it should work.  Sprockets does support LESS out of the box but you must provide the interpreter.  We do not do not include it on our dependency list by default because it's not Ruby-Native and brings in hefty dependencies we do not carry by default.  Have you tried adding "less" to your Gemfile?

Yes I have tried to add the LESS gem to ruby and then create a sprockets index file.
Example: file 'style.less' and in a file called 'app.css' I insert:
/*
 *= require style
*/

Both in the same folder.
I get the error: couldn't find file 'style' with type 'text/css' This was previously working in jekyII 2.
If you check this commit in sprockets, you can see that they removed LESS from their documentation: https://github.com/rails/sprockets/commit/8c457c9e0a8220cb42836b51696b7850cb728562

That seems to be landed in 4.0 not 3.0.  I honestly don't know if you need to do extra work since it was assumed that it should work since we do no altering like Rails.  I'll check it out and see what I can come up with in the next few days.

I put a small class on my jekyll project to be able to process the LESS files. Works without a problem.
In case anyone needs: https://gist.github.com/basex/c852b296bfe7021072f3

@basex if you'd like to fit this into how we organize our code and submit a pull (with a test) I'm happy to accept it.

Hulk: Today.

@envygeeks I don't quite understand how to use LESS with jekyll-assets, still, and it's not documented very well. Is there a writeup anywhere? I'm using the latest version of Jekyll and 2.0.9 of jekyll-assets.


Outdated README for custom environment and mlp_keys/cnn_keys

Is it possible the README.MD file is out of date with the current update of DreamerV3? Especially this section:
When running on custom environments, make sure to specify the observation keys the agent should be using via enc.simple.mlp_keys, enc.simple.cnn_keys, dec.simple.mlp_keys and dec.simple.cnn_keys.
Do we still need to do this for custom environments?
I only see references to enc.spaces and dec.spaces in the configs.yaml file.

Thanks for pointing this out! It's now a bit simpler: enc.spaces and dec.spaces and the code determines whether to use the CNN or MLP based on dimensionality of the observations.

Thanks for the precision! Is it possible that by default, with the FromGym wrapper, both the encoder and the decoder will use all the observation spaces? Without specifying anything for enc.spaces and dec.spaces, I see when starting main.py:
Encoder: {'beta': (27,), 'design_variables': (48,), 'image': (64, 64, 3), 'n_steps_left': (1,), 'score': (1,), 'structure_strain_energy': (64, 64, 3), 'volume': (1,)}
Decoder: {'beta': (27,), 'design_variables': (48,), 'image': (64, 64, 3), 'n_steps_left': (1,), 'score': (1,), 'structure_strain_energy': (64, 64, 3), 'volume': (1,)}
Which corresponds to all of the observation spaces of my custom gym environment.
Looking at the FromGym wrapper I only see the 'image' observation though:
class FromGym(embodied.Env):

  def __init__(self, env, obs_key='image', act_key='action', **kwargs):


Reading multiple Attributes from Basic Cluster simultaneously returns corrupted and fragmented data

When reading multiple Attributes simultaneously:

Multiple fragmented packets are received at the APS layer:

Reading the Attributes individually works OK, and reading slightly less Attributes (i.e. 7 instead of 8) also works OK.

I cannot fix this problem (?) because it relies on the Zstack 1.2 implementation.

That's OK, I can work around it in the coordinator by read requesting Attributes individually rather than in bulk.
I figured I'd report it as an issue though since it can cause the coordinator (in my case Hubitat / SmartThings) to throw errors as it tries to process those malformed packets.
I'll take a look at the Zstack 1.2 to see if anything stands out, if it's a bug in their implementation I'd have thought it would have surfaced previously as bulk reading of Attributes is pretty common.


python311Packages.python-roborock: 0.21.0 -> 0.21.1

Diff: https://github.com/humbertogontijo/python-roborock/compare/refs/tags/v0.21.0...v0.21.1
Changelog: https://github.com/humbertogontijo/python-roborock/blob/v0.21.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 236029 run on x86_64-linux 1

4 packages built:

python310Packages.python-roborock
python310Packages.python-roborock.dist
python311Packages.python-roborock
python311Packages.python-roborock.dist


internal request for resource, not by ID

Is it possible to request a resource interally, but not by ID.  For example, I'm using fortune with the postgres adapter and json-api serializer, and I want to make an internal request for a person by name.
I've checked the docs of the adapter, serializer, and fortune itself, but I can't find any example or documentation of how to search for a resource using a non-ID field.

Of course:
store.adapter.find(type, null, {
  match: { name }
})

I will note this as a fault in the documentation.

Ah, thank you.  Are the find options documented anywhere?
Also, this is working, but the following part of the docs seems to be wrong as well:

The response object may contain the following keys:

meta: Meta-info of the response.
payload: An object containing the following keys:

records: An array of records returned.
count: Total number of records without options applied (only for responses to the find method).
include: An object keyed by type, valued by arrays of included records.

There is no response object with those keys.  The response I get is just a single array with a count property added on (with the same value as .length)

Nah that is correct: you're looking at the doc for Fortune.request which is different from Adapter.find.

Documentation has been updated https://github.com/fortunejs/fortune/commit/9067e9704dd30fec4914e1a3b46b69647321e05d.


Multithreaded "Getting game info"

Would be nice to see this feature in the future.

9842c07 makes the downloader get game details using multiple threads


Audio produces a strange glitch in the background

Godot version:
3.1.1-stable
OS/device including version:
Windows 10 1803, Realtek Audio drivers

Issue description:
The audio gets weirdy distorted, both in engine, and in-game, this is not a cause of my computer, as i can record it and you can hear it clearly in the recording.

Steps to reproduce:
Assuming you're able to hear it, simply play a .ogg file
Minimal reproduction project:
AudioGlitch.zip
Here's also a video in the event you can't hear it
https://www.youtube.com/watch?v=nVSxnRiVAgg

Can't reproduce it on Linux, the file plays fine in editor, in game and in external music software.
For those like me who'd need some time to actually understand what the glitch is meant to sound like, in the video there's a slight high pitched buzzing sound which is not in the original OGG.

This is likely specific to the WASAPI audio driver. I wonder if the XAudio2 driver included in the Godot repository still works (pass xaudio2=yes on the SCons command line to build it).

Is it like https://github.com/godotengine/godot/issues/23544 ?

Duplicate of #23544 indeed.