No connection to the gradle server when Java is not on C drive

Extension Name: vscode-gradle
Extension Version: 3.12.6
OS Version: win 10 home 10.0.19045 build 19045
VSCode version: 1.74.2
JAVA version: openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8)
OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode, sharing)
Describe the bug
"No connection to the gradle server. Try restarting the server"
"The gradle client was unable to connect. try re-connecting"
To Reproduce
Install Java JDK 17 from Open Java (changed install drive from C to X ) https://adoptium.net/temurin/releases/
Install vscode-gradle in VScode
install other Java extensions in the Extension Pack for Java
Corrected the Environment Variables JAVA_HOME location to the installed X drive location
restart VS code
note Environment Variables GRADLE_USER_HOME never was created, uninstall vscode-gradle, reinstall no change.
Expected behavior
gradle server should work regardless of where the JAVA install drive is
vscode-gradle should create the Environment Variables GRADLE_USER_HOME
Screenshots

Output from "Gradle for Java"
[info] [gradle-server] ERROR: JAVA_HOME is set to an invalid directory: X:\Program Files (x86)\Java\jdk1.8.0_152
[info] [gradle-server] Please set the JAVA_HOME variable in your environment to match the
[info] [gradle-server] location of your Java installation.
[warn] [gradle-server] Gradle server stopped
[error] Error connecting to gradle server: The channel has been closed
[error] The client has state: SHUTDOWN
Does the bug still exist if you disable all other extensions?
Yes
Additional context
Install Java JDK 17 from Open Java (changed install drive from C to X )
Java verified as installed and working from X drive

Reinstalled JDK and corrected JAVA_HOME to x:\Program Files\Eclipse Adoptium\jdk-<IP_ADDRESS>-hotspot\
[SOLVED]
Note: Environment Variables GRADLE_USER_HOME never was created, but things seem to work now
Gradle output after JDK reinstall with JAVA_HOME variable
[info] [gradle-server] Server started, listening on 51056
[error] Error connecting to gradle server: Failed to connect before the deadline
[error] The client has state: SHUTDOWN
[info] Gradle client connected to server
[info] Java Home: X:\Program Files\Eclipse Adoptium\jdk-<IP_ADDRESS>-hotspot
[info] JVM Args: --add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.base/java.lang=ALL-UNNAMED,--add-opens,java.base/java.lang.invoke=ALL-UNNAMED,--add-opens,java.base/java.util=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens,java.base/java.nio.charset=ALL-UNNAMED,--add-opens,java.base/java.net=ALL-UNNAMED,--add-opens,java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant
[info] Gradle User Home: C:\Users\Walt.gradle
[info] Gradle Version: 7.5.1
[info] > Configure project :
Java: 17.0.5, JVM: 17.0.5+8 (Eclipse Adoptium), Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the hideOfficialWarningUntilChanged task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.  Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings
CONFIGURE SUCCESSFUL in 21s
[info] Found 70 tasks


Which version of azure ad premium

Please add to documentation which version of azure ad premium is required. Right now its too vague.. does it require P1 or P2?

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

ID: 003fe16c-7cf4-14c6-09f2-7b18b047cbf7
Version Independent ID: 3c7059c0-3aff-2729-42a7-88c4e7de0157
Content: Block access by location with Azure AD Conditional Access - Power Platform
Content Source: power-platform/admin/restrict-access-online-trusted-ip-rules.md
Service: power-platform
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@jebalert
Sorry for the delayed response. Security content is frequently being rewritten. Please reopen if this is still an issue.


update phpunit

Minimal changes to keep more recent phpunit and phpstan versions happy...

Sorry for the late response.
Your changes wouldn't be compatible with php 5.6 anymore.
We need this to work with 5.6 but have no time to further develop this.
You should rather create your own fork and work on that.


Cannot change user agent

Setting headers works well, but changing the user agent seems to have no effect.
I'm not sure if this is a bug with esp_bridge or just the particular version compiled and included here.

i don't have fully tested for this, but with command setUserAgent("user agent"), i've seen header modified in debug code

Hmm. I'll test again with debug - I was using the release binary from this repo. (The debug binary doesn't work for me, but I'm using SoftwareSerial, so I'm really rate limited and lots of other things glitch out.)

I'm using debug code and also cannot set user agent; rest.setUserAgent("my user agent") right after setting headers in my code (which work), and I still get User-Agent: ESPDRUINO@tuanpm.

Think I got it: https://github.com/tuanpmt/espduino/pull/37


feat(TFD-3756): Add /v0/version endpoint to REST service.

What is the current behavior? (You can also link to an open issue here)
There is no way to get information about the REST API service running.
What is the new behavior?
Add an endpoint /v0/version that returns the commit id, build version and build time:
Example: http://localhost:8989/tcomp/v0/version returns
{"version":"0.22.0-SNAPSHOT","commit":"90df2b28498b6c5c2f863051af26ec0c1dee2d0d","time":"2018-02-27T13:03:11+0100"}

Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Other information:

Pull request test result: failure :x:

Pull request test result: success :star:
Sonar results


Write a C program to convert feet to miles

Description
Write a C program to convert feet to miles
1 mile = 5280 feet
Input  : 26400
Output : 5

How to contribute

Save the solution in ConvertFeetToMiles.c file
Add ConvertFeetToMiles.c file in convert-feet-to-miles folder

!assign


ID property is ignored, but Id is mapped

This one caused me a few headaches to figure out:
Source type
public class ExampleInput
{
    public long ID { get; set; }
    public string Name { get; set; }
    public int Order { get; set; }
}

Dest type
public record ExampleOutput
(
    long ID,
    string Name,
    int Order
);

Mapping code:
ExampleInput input = new ExampleInput() { ID = 5, Name = "Sample", Order = 1 };
string output = input.BuildAdapter() .CreateMapExpression<ExampleOutput>().ToScript();

(I didn't configure any other settings or created mappingconfigs)
Results in the following expression:
public ExampleOutput Main(ExampleInput p1)
{
    return p1 == null ? null : new ExampleOutput(0l, p1.Name, p1.Order);
}

But when changing both ID fields in the input/output types to Id we get the following result:
public ExampleOutput Main(ExampleInput p1)
{
    return p1 == null ? null : new ExampleOutput(p1.Id, p1.Name, p1.Order);
}

Not sure why this is happening, I couldn't find anything in the documentation that ID is a reserved keyword which states the field should be ignored.

Duplicate of #388. Really need to get that fixed soon! :)

Fixed in #590


jnats interoperability / request-reply

It seems jnats and java nats streaming are currently not interoperable (pub sub on the same subjects does not work for me)?
Creating temp subjects via streaming is a way to achieve request-reply.
However, it seems the client denies to open too many subjects.
I feel a bit uncomfortable having a jnats client besides a streaming client in the same application.
Any suggestions?
Cheers
Jens

You are right that NATS Streaming and NATS are not interoperable. If your application needs streaming and basic NATS, then you would need 2 different connections. Yet, they will not be able to communicate with each other as you have discovered.
If you do request-reply, you don't need persistence. The reason is that with req/reply you get an even higher quality of service: you have an end-to-end confirmation that the receiver has processed the message. You achieve at-least-once delivery with request/reply, and don't need persistence for that.
NATS Streaming was introduced for use cases where one wants at-least-once but without doing request-reply, more of a queueing semantic: publish even if subscriber is not running, messages can be consumed at a later time.
Let me know if this clears things up.

Thank you for your post.
I was asking because of use cases where you do request reply but also want to log that particular activity at least once via a second subscription.
Maybe a client side Proxy from default to Stream might help.

@jnsone11 Jens, you could certainly subscribe to > on the NATS side, and see all the NATS Streaming messages. The other option would be to have your NATS Streaming requestor clients use well-known reply subjects (vs auto-generated INBOX subjects) that can be subscribed to by your 'logger' NATS client. If the logger NATS client knows the request and reply subjects in advance, you can log all the requests/replies without issue.
Ultimately


Game keeps crashing

Describe your bug here.
After I recently edited the files on the engine the game doesn't seem to load anymore
Command Prompt/Terminal logs (if existing)
flixel/animation/FlxAnimationController.hx (line 710)
TitleState.hx (line 357)
TitleState.hx (line 227)
flixel/util/FlxTimer.hx (line 195)
flixel/util/FlxTimer.hx (line 285)
flixel/FlxGame.hx (line 745)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 545)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
i only added files from other mods l

did you delete titleEnter or replace it?


Stateful model with keras section returns loss: nan

I'm using the theano backend, and the LSTM example does not work. The statements:
model=Sequential([
        Embedding(vocab_size, n_fac, input_length=cs, batch_input_shape=(bs,8)),
        BatchNormalization(),
        LSTM(n_hidden, return_sequences=True, stateful=True),
        TimeDistributed(Dense(vocab_size, activation='softmax')),
    ])
model.compile(loss='sparse_categorical_crossentropy', optimizer=Adam())
mx = len(x_rnn)//bs*bs
model.fit(x_rnn[:mx], y_rnn[:mx], batch_size=bs, epochs=4, shuffle=False)

returns outputwith a nan-value for the loss.
Epoch 1/4
75072/75072 [==============================] - 20s - loss: nan
Epoch 2/4
75072/75072 [==============================] - 20s - loss: nan
Epoch 3/4
75072/75072 [==============================] - 20s - loss: nan
Epoch 4/4
75072/75072 [==============================] - 20s - loss: nan

At first glance it could be an issue due to a too high learning rate. I believe Adam's default in Keras is 1e-3. Could you make a test reducing the learning rate to 1e-4 or less just before calling model.fit?
Example
K.set_value(model.optimizer.lr, 1e-4)
model.fit(x_rnn[:mx], y_rnn[:mx], batch_size=bs, epochs=4, shuffle=False)
If this doesn't work, checking your version of both Theano and Keras would help me further investigate.

I tried to make a minimal working example to reproduce the problem:
import keras
from keras.models import Sequential, Model
from keras.layers import Embedding, LSTM, TimeDistributed, Dense
from keras.layers.normalization import BatchNormalization
from keras.layers.core import Dense
from keras.optimizers import Adam
import numpy as np

path = keras.utils.data_utils.get_file('nietzsche.txt',
    origin="https://s3.amazonaws.com/text-datasets/nietzsche.txt")
text = open(path).read()
chars = sorted(list(set(text)))
vocab_size = len(chars)+1
n_fac,cs,bs,n_hidden,n_fac = 42,8,64,256,42
char_indices = dict((c, i) for i, c in enumerate(chars))

idx = [char_indices[c] for c in text]

c_in_dat = [[idx[i+n] for i in range(0, len(idx)-1-cs, cs)]
            for n in range(cs)]
c_out_dat = [[idx[i+n] for i in range(1, len(idx)-cs, cs)]
            for n in range(cs)]

xs = [np.stack(c[:-2]) for c in c_in_dat]
ys = [np.stack(c[:-2]) for c in c_out_dat]
x_rnn=np.stack(xs, axis=1)
y_rnn=np.expand_dims(np.stack(ys, axis=1), -1)

model=Sequential([
        Embedding(vocab_size, n_fac, input_length=cs, batch_input_shape=(bs,8)),
        BatchNormalization(),
        LSTM(n_hidden, return_sequences=True, stateful=True),
        TimeDistributed(Dense(vocab_size, activation='softmax')),
    ])
model.compile(loss='sparse_categorical_crossentropy', optimizer=Adam())
mx = len(x_rnn)//bs*bs
model.fit(x_rnn[:mx], y_rnn[:mx], batch_size=bs, epochs=4, shuffle=False)

Once I switched to the tensorflow backend it worked! But for the theano backend I still get nan's for the loss function.
My version of Keras and theano are:
In [2]: keras.__version__
Out[2]: '2.0.4'
In [4]: theano.__version__
Out[4]: '0.9.0'

Could you please do a last check: launch a Python console in a terminal window, enter import Theano and check the result. This way if there are any issues related to the GPU libraries several error messages should be displayed.

Here is the output when using theano. Nothing apparently wrong. The rest of the deeplearning notebook seemed ok with theano.
$ python lstm_ex.py
Using Theano backend.
WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will be removed in the next release (v0.10).  Please switch to the gpuarray backend. You can get more information about how to switch at this URL:
 https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29

Using gpu device 0: GeForce GTX 1070 (CNMeM is disabled, cuDNN 5105)
Epoch 1/4
75072/75072 [==============================] - 20s - loss: nan
Epoch 2/4
75072/75072 [==============================] - 20s - loss: nan
Epoch 3/4
75072/75072 [==============================] - 19s - loss: nan
Epoch 4/4
75072/75072 [==============================] - 19s - loss: nan

For comparison, here is the same when using the tensorflow backend:
$ python lstm_ex.py
Using TensorFlow backend.
Epoch 1/4
2017-10-25 19:12:45.094644: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 19:12:45.094658: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 19:12:45.094664: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 19:12:45.094669: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 19:12:45.094673: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
2017-10-25 19:12:45.192432: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:901] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-10-25 19:12:45.192716: I tensorflow/core/common_runtime/gpu/gpu_device.cc:887] Found device 0 with properties:
name: GeForce GTX 1070
major: 6 minor: 1 memoryClockRate (GHz) 1.7845
pciBusID 0000:01:00.0
Total memory: 7.92GiB
Free memory: 7.71GiB
2017-10-25 19:12:45.192727: I tensorflow/core/common_runtime/gpu/gpu_device.cc:908] DMA: 0
2017-10-25 19:12:45.192731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:918] 0:   Y
2017-10-25 19:12:45.192740: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)
 2112/75072 [..............................] - ETA: 28s - loss: 3.64082017-10-25 19:12:45.952428: I tensorflow/core/common_runtime/gpu/pool_allocator.cc:247] PoolAllocator: After 20531 get requests, put_count=20505 evicted_count=1000 eviction_rate=0.0487686 and unsatisfied allocation rate=0.0548439
2017-10-25 19:12:45.952446: I tensorflow/core/common_runtime/gpu/pool_allocator.cc:259] Raising pool_size_limit_ from 100 to 110
75072/75072 [==============================] - 9s - loss: 2.2584
Epoch 2/4
75072/75072 [==============================] - 9s - loss: 1.9878
Epoch 3/4
75072/75072 [==============================] - 9s - loss: 1.9102
Epoch 4/4
75072/75072 [==============================] - 9s - loss: 1.8654

This is weird, I was suspecting some gpu library issues but in this case everything seems to be ok, especially if you are able to successfully run the other portions of the notebook.
Out of curiosity, at this point I would also like to see what happens with a very small batch size.
Back to potential library issues: I tested the notebook with Theano using the gpuarray cuda backend, while in your case I see from the WARNING messages that Theano is using the old cuda backend. Have you tested also the new one? The installation is a bit tricky, but in another issue at this link I provided an install file that you might adapt to suit your environment if you want to give it a try.

I am not able to reproduce the issue in my environment, so another test I would suggest is to update Keras to 2.0.6, which is the version that I was using.


[5.8][CSClosure] A couple of closure related fixes

Cherry-pick of https://github.com/apple/swift/issues/60806
Cherry-pick of https://github.com/apple/swift/pull/62773

Fix handling of non-representativate variables
Fix sub-pattern matching logic related closure and enum element

Resolves: rdar://83418797
Resolves: #62777

@swift-ci please test


HDETR'checkpoint is not found

man i just click the model in hdetr to download checkpoint but is not found, is something wrong?

man i just click the model in hdetr to download checkpoint but is not found, is something wrong?

No description provided.

Sry, we've forgot to update the links, we will update it later, all the H-DETR checkpoint can be found in https://github.com/IDEA-Research/detrex-storage/releases

No description provided.

Sry, we've forgot to update the links, we will update it later, all the H-DETR checkpoint can be found in https://github.com/IDEA-Research/detrex-storage/releases @hotcore

ok, i really appreciate that, excellent work man！

No description provided.

Sry, we've forgot to update the links, we will update it later, all the H-DETR checkpoint can be found in https://github.com/IDEA-Research/detrex-storage/releases @hotcore

ok, i really appreciate that, excellent work man！

Thanks a lot for your encouragement~


Cannot edit event once created

Subject: Cannot edit event once created
Description:
After the event has been created there is no button to edit it. So if you make a typo or accidentally submit it early, you're screwed. You also cannot delete/cancel the event.
Results:
You should be able to edit the event and delete/cancel it.
Backend version: develop-52283dba
Frontend version: develop-52283dba
User Agent: Mozilla/5.0 (Android 11; Mobile; rv:91.0) Gecko/91.0 Firefox/91.0
Page: https://app.couchers.org/event/138/happy-hour
User: jesse (57)

Is this just part of #541?

Yes, it's an upcoming feature - the PR was too much to do create and edit all in one go. Can't do much about deleting event though as there's no API for that yet


How To: Authenticate via LDAP Doesn't work

I try to authenticate via LDAP following the Wiki but this doesn't work.

The wiki is maintained by the community. So if there aren't any up to date instructions, we recommend you to explore the solution yourself and hopefully contribute your findings back!


Update for PR to add random number generators

Changelog
These changes are for merging into [d3-random PR #14].

Pulled latest changes from d3/d3-random master
Made modifications to functions based off comments from d3-random PR #14

Bernoulli - I decided to add the rangeError, although it's contested// This is what I have
if ((p = +p) < 0 || p > 1) throw new RangeError("invalid p");
// This is what we might use
p = +p

Added random.source feature for each new random function
Updated and run test files to use source feature to test functions. Removed Math.seedrandom and replaced with seedrandom library as standalone, conforming to newer test files
Add boundary conditions for README
Removed .idea file from .gitignore

Hey @jermspeaks, great job! I had almost already forgotten about this PR haha.
Merged :)


Create library publishing config for AAOS Unbundled, migrate MediaCompose build to use results of that build.

b/285189019

Removing the milestone, because the change doesn't actually touch the automotive-design-compose repo.


Sort redirection file automatically

Figure out a way to sort the .openpublishing.redirection.json file automatically. For example, by using Azure Pipelines to run a sorting script.

The reason we adopted the process of sorting the redirection file alphabetically was that this practice worked well to avoid merge conflicts in the redirection file.
Before adopting this practice, each PR that added a redirection made the addition at the bottom of the file. That practice almost guaranteed merge conflicts.
This issue describes one way to avoid the work of manually sorting the redirection file when adding new redirects. Any other solution that makes it easy to add redirects anywhere would preserve the advantage we gain by enforcing this practice.


Get sorted/filtered/paged data out of the table

This addresses issues #74 and #62.
Now anything that might need the current view of the table data can get it when needed by calling a simple function.
Example usage: My organization plans to use this to filter a list down, and then to be able to export that filtered list to a CSV file

Hi Chris, can you create a new tag for the master? Version 1.3.1 is out-of-date.

@vannim152 I don't own this repository, I can't make tags.  Try asking  @mattiash for this, or make a PR for it.

Dang. I really need this feature! haha


Handle TypeError in RTKDataMatrix.select_all() Method

Update RTKDataMatrix.select_all() after all RTK database tables have been updated to return a dict from the get_attributes() method.  Currently, this method raises a TypeError when using tables that haven't been updated and return a tuple instead of a dict.

This TypeError is the result of not having every get_attributes() method returning a dict.  It will be dealt with when everything has been updated.  Move to future date.


Utility to repair broken nodes

Hi Contributors,
I have worked on various cases with customers where during the upgrade or some other activity, there are various properties which are missed and not being registered thereby leading to several issues.
In that case, the developers are needed to write a script to traverse through all the required nodes and repair the faulty nodes by adding missing properties to them.
I am thinking to develop a utility with a UI, where one needs to enter the type of nodes and the missing property to be added and the utility takes care of the rest.
Do let me know your views on this.
I would appreciate if someone is interested teaming up to build this.

You shouldn't have to build this from scratch.  Look at the MCP pull
request...
On Sat, Jul 22, 2017, 3:57 AM Vaibhav Sharma<EMAIL_ADDRESS>wrote:

Hi Contributors,
I have worked on various cases with customers where during the upgrade or
some other activity, there are various properties which are missed and not
being registered thereby leading to several issues.
In that case, the developers are needed to write a script to traverse
through all the required nodes and repair the faulty nodes by adding
missing properties to them.
I am thinking to develop a utility with a UI, where one needs to enter the
type of nodes and the missing property to be added and the utility takes
care of the rest.
Do let me know your views on this.
I would appreciate if someone is interested teaming to build this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/1048,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE5-hjUxJ9eFPeTIX8w4TG0iSelMXTkxks5sQbl8gaJpZM4OgHb8
.

Ok now that MCP is officially in, I recommend you look at the Asset Report and Tree Prune process definitions for inspiration on this.  Basically you:

Create a class which implements process definition
Add annotated variables which allow the user to specify the root node to start crawling, what property to set, and finally what value to set it to
In the build process step, add a method reference to the actual method that will do the work
In your main method, take advantage of the same visitor (I recommend folder visitor but you can use whatever you want) to process nodes.
Use a retry batch just in case there's any errors, and in there call your method to set the desired property on each node in question if required.
Commits, error handling, user interface are all handled for you.  I don't expect this to be more than 100 lines of code, if that.

@vaibhav6451956 thoughts?

@badvision  Sorry for the late reply...Was busy with work. I will take a look at the steps mentioned by you and will get back.
Thanks a lot!

I am in the midst of needing to do the same thing so I might just write it before you get around to it.  Stay tuned...

This is still pending my ability to test what I've already written.  Let's keep this open a bit longer.


Add Documentation for contractkit gas minimum estimation

Expected Behavior
User should be able to find how to estimate gas minimum via contractkit.
Current Behavior
Steps exist in contractkit README.md but nothing in mentioned in the Celo Docs
Googling "celo gas price" returns the protocol docs.
https://docs.celo.org/celo-codebase/protocol/transactions/gas-pricing
https://docs.celo.org/celo-codebase/protocol/transactions/erc20-transaction-fees
We should probably add more robust code example around here:
https://docs.celo.org/developer-guide/contractkit/usage
And then mention and link this in the protocol sections above.
Related thread: https://celo-org.slack.com/archives/C014SRL4URY/p1614035787036000

duplicate


Document how to contribute to Storybook

Feature Suggestion
Document how to contribute to Storybook as well as how to run it locally.

Possible Implementation

A new Markdown file in /docs linked to from the main Documentation section in the README.
Context
Having good documentation will increase the likelihood of someone helping to create and maintain components.

@katz95 @mateusmarquezini FYI

@mikqi

@katz95 @mateusmarquezini FYI

Feel free to assign it to me if you want! 🥳


Payroll support for other countries

Why it is only supported for US. Is there any planning to update for other countries?

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

ID: 42c7705f-f875-b2aa-4c1f-5be06cfecfed
Version Independent ID: a64fe3a1-1a96-123d-e322-41431dba46bf
Content: Payroll overview - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/fin-and-ops/hr/localizations/noam-usa-payroll.md
Service: dynamics-ax-applications
GitHub Login: @rschloma
Microsoft Alias: rschloma

Thanks for taking the time to provide feedback on Finance and Operations! We recommend that you ask your question here where there will be more information available regarding Payroll functionality.


static files - site no longer builds after v4 upgrade; upgrade guide has some gaps

versions: nanoc 4.0.0 / ruby-2.2.3 / bundle 1.10.6
my Rules and my nanoc.yml posted as gist
Hi friends, I did my best to follow the v4 upgrade guide, but migrating a site with any static assets didn't go so smoothly for me.

When following the instructions in the section Upgrading from the static data source, am I supposed to just add those before or after the existing compile + route blocks?

Currently Nanoc says: Nanoc::Int::Errors::NoMatchingCompilationRuleFound: No compilation rules were found for the “/” item.

the troubleshooting guide tells me that the following error is an artifact of "full identifiers / glob patterns", and sends me back to the 9-page upgrade guide: RuntimeError: Found 4 content files for static/vendor/fonts/glyphicons/glyphicons-halflings-regular; expected 0 or 1

But like any web developer whose site has static assets, I just want the assets copied, period. I don't want to define custom rules / globs / magic sprinkles for every file / extension. My site only has a single page and some static assets. Is there maybe a stock nanoc.yml file I can use for this? I understand that the v4 changes were designed to make things easier, but the migration guide doesn't seem ready for prime-time with sites that use static assets (which is, in my experience, 99%+ of websites).
Frustration level: 8/10 :fire:

Hi!
The instructions for upgrading from the static data source require globs and full identifiers to be enabled. Nanoc 4’s full identifiers include the file extension, and so the static data source becomes obsolete when using globs and full identifiers.
The configuration and Rules file look okay apart from that!

so I should just delete the static data source? I'm not clear what's being recommended here.

You’ll need to enable globs and identifiers with extensions. The extended upgrade guide contains instructions on how to do so.

I believe this issue is resolved and so I’ll close it. Please do follow up if you believe that it is not.


Unable to find hparam file for a custom model

🐛 Bug
When I am passing a custom model for generating the score, the command fails with the following error.
Exception: hparams.yaml file is missing!

I tried copying a hparams.yaml file to the same directory as the model but the score command fails with the same error.
I've then looked at the code to understand where it is checking for the path and tried to have a similar directory structure that is expected.
https://github.com/Unbabel/COMET/blob/0d58039da7861bebd920c890d857e93ec3f8ea12/comet/models/__init__.py#L61
This fixed the issue for me.
To Reproduce
Run comet-score command with a custom model, but no hparams file in the parent directory.
Expected behaviour
Generate the comet-score with custom models, with(or may be without specifying) hparams.yaml
Possible Solutions

[Not sure if possible] Pass default hparams if hparams.yaml file is not found
Update the docs to specify that there should be a hparams.yaml file in the parent directory of the custom model
Ability to specify hparams.yaml file as a param to command line

which version are you using? and what is the pytorch lightning version you have installed?


GPU support

Has anyone attempted to leverage this to us GPU's?
Jeff

A good thing to have, but I haven't anything yet.

Is there any progress for this issue? @searchivarius

no


LayoutScope raises a ::NoMethodError even when that particular mehod was present

In the Lotus::View::Rendering::LayoutScope class we have the following implementation:
def method_missing(m, *args, &blk)
   if @scope.respond_to?(m)
      @scope.__send__(m, *args, &blk)
   elsif layout.respond_to?(m)
      layout.__send__(m, *args, &blk)
   else
      ::Lotus::View::Escape.html(super)
   end
rescue ::NameError
   ::Kernel.raise ::NoMethodError.new("undefined method `#{ m }' for #{ self.inspect }", m)
end

which always raises a NoMethodError for its own method missing, even if the scope or layout did responed to that method.
Example:
module Web::Views::LandingPage
  class Index
	include Web::View

	def title
	  'I do respond to :title, but this String does not respond to :summarize '.summarize
	end
  end
end

and also
module Web::Views::LandingPage
   class Index
      include Web::View

      def title
         sumarize long_title # typo in :sumarize
      end

      protected

      def long_title
         'I am a very long title not suitable to be the title of the page'
      end

      def summarize(text)
         # shortern the text somehow
      end
   end
end

In both examples the LayoutScope raises a NoMethodError  as if it did not respond to :title, which can be a bit missleading for finding the actual error.
I couldn't come up with a clear solution propossal, as the ::NoMethodError doesn't seem to have the receiver of the missing method, so I was hoping that somebody could figure out how to let the correct NoMethodError errors hit the surface?

@mrubi Thanks for reporting this. That's really annoying.
I've prepared a PR to fix it, can you please try and report if it fix your problem? Thank you very much!! :cake:

@jodosha Yes, it fixed it!
Thanks!


Hue_saturation and XY features (CON-583)

Hue_saturation feature of color control cluster works fine in Google Home, but Home Assistant uses XY feature instead.
Is it possible to implement Hue_saturation and XY features simultaneously on one device/node or endpoint?
In light example there is shown hue_saturation conversion but there isn't example for XY. Is there any example of conversion from XY to RGB?

ColorXY support is mandatory and all spec compliant bulbs HAVE to implement it.  And Google also has to implement it.  Hue/Sat support is optional. HA is not required to support optional Hue/Sat.
The likely problem, your bulb is not implementing ColorXY. The fix here is for the bulb to implement ColorXY. After you implement ColorXY you'll probably decide that also implementing Hue/Sat support in your bulb is pointless since it is an optional cluster.
// Illumination base class
static void xyzToRGB(uint16_t cx, uint16_t cy, uint8_t cz, uint8_t *pr, uint8_t *pg, uint8_t *pb)
{
    float x = cx / MATTER_COLOR_MAX;
    float y = cy / MATTER_COLOR_MAX;
    float z = cz / MATTER_BRIGHTNESS_MAX;

    float r = x * 3.2404542 + y * -1.5371385 + z * -0.4985314;
    float g = x * -0.9692660 + y * 1.8760108 + z * 0.0415560;
    float b = x * 0.0556434 + y * -0.2040259 + z * 1.0572252;

    r = ((r > 0.0031308) ? (1.055 * pow(r, 1 / 2.4) - 0.055) : (12.92 * r)) * 255.0;
    g = ((g > 0.0031308) ? (1.055 * pow(g, 1 / 2.4) - 0.055) : (12.92 * g)) * 255.0;
    b = ((b > 0.0031308) ? (1.055 * pow(b, 1 / 2.4) - 0.055) : (12.92 * b)) * 255.0;

    *pr = r;
    *pg = g;
    *pb = b;
}

Thanks a lot!


Cask apps not installing to /Applications

I thought this was being forced, but the last run everything ended up as aliases.

or rather, the Dock started showing aliases as aliases.  Something might have changed in 10.11.x, didn't notice until now

https://github.com/caskroom/homebrew-cask/issues/13201

Re-try setting the environment variable HOMEBREW_CASK_OPTS="--appdir=/Applications in the playbook. (ref)
Give up on the Ansible Hombrew Cask role and use raw shell commands instead

Correctly meaning that Homebrew-Cask is symlinking to /Applications, therefore honoring the HOMEBREW_CASK_OPTS env var. Stuck waiting on caskroom/homebrew-cask#13201, wish there were any signs of progress over there.


Minor typo

Please ensure that your pull request adheres to our contribution guidelines. Thank you!

Thanks @maxbrito500! Please amend your commit by adding a Signed-off-by footer, and saying that you actually fix (not introduce 😉 ) a "minor typo" (in the getting started docs). Like getting-started: Fix a minor typo.

Replaced by #5112 due to lack of response.


Support generic typedef

TypeScript Version:  2.7.0-dev.20171220
Code
/** @typedef {T | null | undefined} Maybe<T> */

/** @type Maybe<number> */
const x = 0;

Expected behavior:
No error.
Actual behavior:
a.js(1,15): error TS2304: Cannot find name 'T'.
a.js(3,11): error TS2315: Type 'Maybe' is not generic.

@andy-ms In your example, I'm pretty sure you need to introduce the T in the @typedef with an @template tag, too.

I believe this is now fixed (by #24600?). @weswigham's closure example
/**
 * @template T
 * @typedef {T | null | undefined} Maybe
 */

/** @type Maybe<number> */
const x = 0;

now works in latest.

@brendankenny's comment in https://github.com/Microsoft/TypeScript/issues/20831#issuecomment-400427305 is the expected format to declare a generic type parameter in a type def.


Update mrlearning-base-ch2.md

Minor edits. Grammar and spelling as well as simplification of some instructions.

 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.:x: DrNeil sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Docs Build status updates of commit 69c17d4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mrlearning-base-ch2.md
:white_check_mark:Succeeded
View

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.


Update cloudwatch, sdk-core, ses, sns, sqs, ssm to 2.24.5

About this PR
📦 Updates

software.amazon.awssdk:cloudwatch
software.amazon.awssdk:sdk-core
software.amazon.awssdk:ses
software.amazon.awssdk:sns
software.amazon.awssdk:sqs
software.amazon.awssdk:ssm

from 2.24.0 to 2.24.5
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #3090.


Upgrade dependencies

Upgraded the following outdated dependencies (fixes #3 ):

kotlin
kotlinx-serialization
dependencycheck
junit (from 4 to junit 5/jupiter)
gradle (via :wrapper)

Thank you for keeping our dependency up-to-date!

I'm the author of detekt-gitlab-report, which has a conflict with the old kotlinx-serialization (and users currently have to use a work around to fix the newer version in gradle), so a full deployment would be great.

0.2.0 should be available. Let me know whether the problem is resolved from your side
https://repo1.maven.org/maven2/io/github/detekt/sarif4k/sarif4k/0.2.0/


Presence of extlinux/extlinux.conf causes boot.scr to be ignored by u-boot

Running an sdcard.img built from master here (for Cubietruck) and found that after first boot and running setup-alpine, followed by alpine-dom0-install.sh, the old extlinux/extlinux.conf is left in place on the FAT partition and u-boot picks that up, causing Xen to not be loaded on reboot.
I've been unable to determine if this is a known issue, or if I missed a step somewhere, but I'd be happy to submit a PR to attempt to fix the issue if desired.

Sorry for the delay in following up on this.
I don't think this is a known issue -- at the point I last built Cubietruck images, I don't recall this being a problem.
I hope to get some time tomorrow morning to get out a Cubietruck+ and check this all works for that -- will see if this issue repro's then. In the meantime, if you still experience it and happen to have a PR to fix it, that'd be very welcome!


Page loading very slow [using 2022 version of al-folio]

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
Extremely slow webpage loading [using 2022 version of al-folio]
How to reproduce the bug
My webpage was created in January 2022 forking al-folio, no upstream rebase has been made since then. I've made hundreds of commits on my fork. Recently, I believe in the recent two weeks or so, my webpage hosted on github.io has been very slow to open. It takes more than 1 minute to load any of my pages. I can't really rebase mine to upstream master since then I need to resolve my hundreds of local commits. Is there a way to just keep my forked version as it is and why it loads so slowly? BTW, I don't think this is just my issue, I know someone else's webpage (also al-folio style) at least as old as mine is also loading extremely slowly recently. Thank you.
Error messages and logs
The error message you got, with the full traceback if available. Please paste it between these triple backticks.

What operating system are you using?
Not applicable (e.g. you're using GitHub Pages or other hosting)
Where are you seeing the problem on?
Deployed site
More info
No response

Problem solved!
Someone else has this same issue and fixed it by changing a line in the _include/head.html
I imagine quite some people will find that they have this issue, so check it out!


As a User, I will encounter an attractive homepage that outlines the site's functionality and entices me to sign up

[ ] aesthetic splash page and copy
[ ] call to action button to signup
[ ] button to login

https://unsplash.com/collections/2107742/readme


UnnecessaryGString is incorrect

It isn't clear whether UnnecessaryGString is being presented as a style issue or a code issue.
https://groovy-lang.org/syntax.html#_double_quoted_string  Double-quoted strings that do not contain any interpolation are Strings.  There is no difference in any way between the following code:
Object x = "hello";
Object y = 'hello';
assert x.class == y.class;

As to my statement that "UnnecessaryGString is incorrect": double-quoted strings do not create GStrings.  The implication that double-quoted strings actually create GStrings and the fix to use single-quotes is misleading.
Since this is a style issue, I would think the wording should be less strict:  PreferSingleQuoting: The double-quoted string does not use interpolation, and can use single-quotes.
But, that seems a bit more of a style (subjective) issue than something like extra whitespace, etc.
I understand the rules can be adjusted, but it seems this rule implies a code problem, where there is none.

I'm not going to fight a robot.


Improve URL Query Item creation

Describe the feature
When implementing https://github.com/awslabs/smithy-swift/pull/468 it became clear that there is much room for improvement in our handling of query item creation.
Currently much logic resides in the codegen flow and ideally we'd move as much logic as possible to native swift code.
A rough idea is to define an item description that properly describes a query item and then define a factory that converts item descriptions to url query items using our business logic.
struct ItemDescription {
    let name: String
    let value: String?
    let isRequired: Bool
}

struct QueryItemFactory {
    static func makeItems(_ descriptions: [ItemDescription]) throws -> [URLQueryItem] {
        descriptions.forEach {
             // if required and value is nil then throw error
             // if value is nil then don't create a query item
             // else -> create a query item with the name and value pair
        }
    }
}

Use Case
N/A
Proposed Solution
No response
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

As of today AWS Swift SDK has no plan to move away from current structure of generating query item providers based on the model and using it with the query item runtime middleware. Most likely due to context being lost over time and codebase changing overtime, I don't see the need nor benefit for moving query item creation to runtime. Closing ticket now.


Add export page for feature sets

Existing export page duplicated and updated to support feature sets, as well as new preview.
Routing is not completely correct until it can replace the existing export page.
TODO: New export flow.


Parcel (or analog) to data exchange between Parent and Child processes

Hello there! 👋 It's not an issue, rather a question 🤗 I have a worker pool with some tasks running. Workers are using consumables they may request at any time and any number of times. Ideally, I wish to use Parcel for this purpose. Parcel is a very convenient way of communicating with data, but it can't be serialized and thus you can't pass it to Task. There's also Channel, but I don't understand how to use it in more complex cases than the docs described (when you sequentially send value, receive value, return result). How to solve my challenge without crutches? Thanks!

Hi @hitriyvalenok!
We ship two implementations of Parcel which can be used across processes: SharedMemoryParcel in amphp/sync and RedisParcel in amphp/redis. Neither of these must be serialized to be used in the parent and child process
Use SharedMemoryParcel::create() in the parent and SharedMemoryParcel::use() in each child process. You'll need to use a mutex which can be shared across processes as well, so likely PosixSemaphore wrapped with SempahoreMutex, all found in amphp/sync.
RedisParcel of course requires a redis server, but is a bit simpler and does not require additional extensions. Create a RedisParcel using the same key in the parent and child.
You also could implement another Parcel using any data store, such as a file. Accessing the data will need to be mutually exclusive, so a mutex will likely be needed. amphp/file provides a file mutex, though no file parcel. If you do implement anything which you think would be useful to others, we always appreciate PRs! 👍
Channels are essentially streams which return PHP values rather than only bytes. You can create a new fiber/coroutine using Amp\async() to read data from a channel in a loop. Values can be sent at any time on a channel, they do not need to be in response to data received on the channel.
Below is a snippet from ContextWorker in amphp/cluster which is receiving messages from the parent process and acting upon them in the child process. Another method, send() (found here) is used to send messages back to the parent, which may be invoked at any time. A similar loop in the parent is receiving messages from the child.
        $cancellation = $this->deferredCancellation->getCancellation();

        try {
            // We get null as last message from the cluster-runner in case it's shutting down cleanly.
            // In that case, join it.
            /** @var ClusterMessage $message */
            while ($message = $this->context->receive($cancellation)) {
                $this->lastActivity = \time();

                /** @psalm-suppress UnhandledMatchCondition False positive. */
                match ($message->type) {
                    ClusterMessageType::Pong => null,

                    ClusterMessageType::Data => $this->handleMessage($message->data),

                    ClusterMessageType::Log => \array_map(
                        static fn (MonologHandler $handler) => $handler->handle($message->data),
                        $this->logger->getHandlers(),
                    ),

                    ClusterMessageType::Ping => throw new \RuntimeException('Unexpected message type received'),
                };
            }

            $this->joinFuture->await(new TimeoutCancellation(Watcher::WORKER_TIMEOUT));
        } finally {
            EventLoop::cancel($watcher);
            $this->close();
        }

Hopefully this was helpful. We'll be working more on docs in the coming months and I'll consider adding an example like the above to the readme. Please reply with any additional questions.


add weight to the score

important question should improve the score more than useful questions

This could go in the settings, but we need to decide what score is given to each priority for success and for warnings statuses (i.e. for fully successful and partially successful assessments)


Donor Commands not working

Describe the bug
For my instance i have omen and most of the commands work. However some commands dont work such as /head /mobhead and /craft and /nick
To Reproduce
Steps to reproduce the behavior:
1.Have a donor rank
2.Run the commands in game
Expected behavior
Gives an error and says that i do not have permission for those commands or says unknown command
Screenshots

in order i did /head then /mobhead then /craft then /nick for the nick command when i use the command it lets me use the command but it doesnt actually change my nick in game and instead will keep my original ign
Username:
itsAmaze
Server name (all applicable):
atlas
Logs:
Where needed, please find your logs with the method down below. Make sure to include the file, or better yet, use a site like https://pastebin.com/ to add it to the ticket without copy pasting all the contents of the file.
For the Minecraft Launcher : C:\Users\USER\AppData\Roaming.minecraft\logs
For the Technic Launcher: C:\Users\USER\AppData\Roaming.technic\modpacks\pixelmon-reforged\logs
For the ATLauncher: C:\Users\USER\AppData\Roaming\ATLauncher\Instances\PixelmonCraft\logs
For the Twitch Launcher: C:\Users\USER\Documents\Curse\Minecraft\Instances\PACK\logs
Additional context
Add any other context about the problem here.

/sit does not work either... totally of great importance :)))

speed for flying does not work for Omens.

/glow is also an unkown command.
/nickname exists but the nicknames set do not stick

/flyspeed and /sit are now fixed, will need to look into the rest of them

glow implemented, nickname fixed last I tested.


windows: add method to wait for process group termination

See CI, which can be locally reproduced with a few attempts and/or under heavy system load:
test
+- run main_job_api failure
hasProcessPrefix err: error.PartialCopy
error: ProcessHasUnwantedPrefix
D:\a\sandboxamples\sandboxamples\test\win\main_job_api.zig:151:21: 0xcf1b34 in behavior (main_job_api.exe.obj)
    if (has_prefix) return error.ProcessHasUnwantedPrefix;
                    ^
D:\a\sandboxamples\sandboxamples\test\win\main_job_api.zig:37:5: 0xcf327a in main (main_job_api.exe.obj)
    try behavior(gpa);
    ^
error: the following command exited with code 1 (expected exited with code 0):
D:\a\sandboxamples\sandboxamples\zig-out\bin\main_job_api.exe D:\a\sandboxamples\sandboxamples\zig-out\bin\evildescendent_child_job_api.exe
test
+- run main_acl stderr
sec_info: sec.os.win.SecurityInfo{ .sid_owner = ?*sec.os.win.PSID__opaque_4421@1fc558c2374, .sid_group = null, .dacl = null, .sacl = null, .sec_descr = ?*anyopaque@1fc558c2360 }
Build Summary: 24/26 steps succeeded; 1 failed
test transitive failure
+- run main_min success 10ms MaxRSS:4M
|  +- zig build-exe main_min Debug native success 2s MaxRSS:154M
|  +- zig build-exe child_min Debug native success 1s MaxRSS:134M
+- run main_explicit_handle_inheritance success 93ms MaxRSS:5M
|  +- zig build-exe main_explicit_handle_inheritance Debug native success 41s MaxRSS:164M
|  +- zig build-exe child_explicit_handle_inheritance Debug native success 2s MaxRSS:134M
|  +- install success
|     +- install child_explicit_handle_inheritance success
|     |  +- zig build-exe child_explicit_handle_inheritance Debug native (reused)
|     +- install main_explicit_handle_inheritance success
|     |  +- zig build-exe main_explicit_handle_inheritance Debug native (reused)
|     +- install child_win32k_mitigation success
|     |  +- zig build-exe child_win32k_mitigation Debug native success 2s MaxRSS:136M
|     +- install main_win32k_mitigation success
|     |  +- zig build-exe main_win32k_mitigation Debug native success 41s MaxRSS:153M
|     +- install evildescendent_child_job_api success
|     |  +- zig build-exe evildescendent_child_job_api Debug native success 41s MaxRSS:143M
|     +- install main_job_api success
|     |  +- zig build-exe main_job_api Debug native success 2s MaxRSS:155M
|     +- install main_getsecurityinfo_c success
|     |  +- zig build-exe main_getsecurityinfo_c Debug native success 41s MaxRSS:129M
|     +- install main_acl success
|        +- zig build-exe main_acl Debug native success 2s MaxRSS:151M
+- run main_win32k_mitigation success 62ms MaxRSS:4M
|  +- zig build-exe main_win32k_mitigation Debug native (reused)
|  +- zig build-exe child_win32k_mitigation Debug native (reused)
|  +- install (+8 more reused dependencies)
+- run main_job_api failure
|  +- zig build-exe main_job_api Debug native (reused)
|  +- zig build-exe evildescendent_child_job_api Debug native (reused)
|  +- install (+8 more reused dependencies)
+- run main_getsecurityinfo_c success 43ms MaxRSS:4M
|  +- zig build-exe main_getsecurityinfo_c Debug native (reused)
|  +- install (+8 more reused dependencies)
+- run main_acl success 25ms MaxRSS:5M
   +- zig build-exe main_acl Debug native (reused)
   +- install (+8 more reused dependencies)
error: the following build command failed with exit code 1:
D:\a\sandboxamples\sandboxamples\zig-cache\o\ef63a89db80e75a4dd49f5ce93c545b0\build.exe C:\hostedtoolcache\windows\zig\master\x64\zig.exe D:\a\sandboxamples\sandboxamples D:\a\sandboxamples\sandboxamples\zig-cache C:\Users\runneradmin\AppData\Local\zig --seed 0x615abec9 -Z016111adb887a881 test --summary all
Error: Process completed with exit code 1.

Probably Windows has a dedicated method to wait for process group termination.

From
https://devblogs.microsoft.com/oldnewthing/20130405-00/?p=4743
#define [_UNICODE](http://blogs.msdn.com/b/oldnewthing/archive/2004/02/12/71851.aspx)
#define STRICT
#include <windows.h>
#include <stdio.h>
#include <atlbase.h>
#include <atlalloc.h>
#include <shlwapi.h>

int __cdecl wmain(int argc, PWSTR argv[])
{
 CHandle Job(CreateJobObject(nullptr, nullptr));
 if (!Job) {
  wprintf(L”CreateJobObject, error %d\n”, GetLastError());
  return 0;
 }

 CHandle IOPort(CreateIoCompletionPort(INVALID_HANDLE_VALUE,
                                       nullptr, 0, 1));
 if (!IOPort) {
  wprintf(L”CreateIoCompletionPort, error %d\n”,
          GetLastError());
  return 0;
 }

 JOBOBJECT_ASSOCIATE_COMPLETION_PORT Port;
 Port.CompletionKey = Job;
 Port.CompletionPort = IOPort;
 if (!SetInformationJobObject(Job,
       JobObjectAssociateCompletionPortInformation,
       &Port, sizeof(Port))) {
  wprintf(L”SetInformation, error %d\n”, GetLastError());
  return 0;
 }

 PROCESS_INFORMATION ProcessInformation;
 STARTUPINFO StartupInfo = { sizeof(StartupInfo) };
 PWSTR [CommandLine](http://blogs.msdn.com/b/oldnewthing/archive/2011/08/15/10195600.aspx) = PathGetArgs(GetCommandLine());

 if (!CreateProcess(nullptr, CommandLine, nullptr, nullptr,
                    FALSE, CREATE_SUSPENDED, nullptr, nullptr,
                    &StartupInfo, &ProcessInformation)) {
  wprintf(L”CreateProcess, error %d\n”, GetLastError());
  return 0;
 }

 if (!AssignProcessToJobObject(Job,
         ProcessInformation.hProcess)) {
  wprintf(L”Assign, error %d\n”, GetLastError());
  return 0;
 }

 ResumeThread(ProcessInformation.hThread);
 CloseHandle(ProcessInformation.hThread);
 CloseHandle(ProcessInformation.hProcess);

 DWORD CompletionCode;
 ULONG_PTR CompletionKey;
 LPOVERLAPPED Overlapped;

 while (GetQueuedCompletionStatus(IOPort, &CompletionCode,
          &CompletionKey, &Overlapped, INFINITE) &&
          !((HANDLE)CompletionKey == Job &&
           CompletionCode == JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO)) {
  wprintf(L”Still waiting…\n”);
 }

 wprintf(L”All done\n”);

 return 0;
}

In depth explanation of non-scaling alternatives with some practice tips
https://www.microsoftpressstore.com/articles/article.aspx?p=2224047&seqNum=5
Thread association by usage of I/O completion port
https://devblogs.microsoft.com/oldnewthing/20210120-00/?p=104740
https://devblogs.microsoft.com/oldnewthing/20130405-00/?p=4743
https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-jobobject_associate_completion_port?redirectedfrom=MSDN
"Note that, except for limits set with the JobObjectNotificationLimitInformation information class, messages are intended only as notifications and their delivery to the completion port is not guaranteed. The failure of a message to arrive at the completion port does not necessarily mean that the event did not occur. Notifications for limits set with JobObjectNotificationLimitInformation are guaranteed to arrive at the completion port."
Afaiu, there is no guarantee that a notification queue is not full due to extensive I/O action and the notification JOB_OBJECT_MSG_ACTIVE_PROCESS_ZERO on the job object is lost.
https://learn.microsoft.com/en-us/windows/win32/api/ioapiset/nf-ioapiset-getqueuedcompletionstatus

documented for others and implemented. logic is evident from reading code meaning upper bound needed or executed trusted to not stall execution. closing.


pip-compile ignores package marked with python_version via setup.py

Environment Versions
OS Type
Python version: 3.6.8
pip version: 20.1.1
pip-tools version: 5.2.1
Steps to replicate
pip-compile
setup.py
'ftfy <  5.0.0; python_version == "2.7"',
'ftfy>=  5.0.0; python_version > "3"',
Actual result: requirement.txt missed above package .
Expected result - requirement.txt must contains above package based on python version.

Duplicate of #1139.


Popover in Toolbar

I have a button in my toolbar, that when clicked, shows a Popover element (over the map). But when I click in any option of that Popover, that doesn't do anything...only Map Events work...
Any sugestion?

Move the popover inside the map  if possible so that the map can detect and won't catch the click events. If not possible you can temporary disable click on the map by calling map.setClickable(false);

@battika
Your first approach seems to do the trick. Is not 100%, but I think will do.
Thank you!

Glad it helped. You can also use the v2 version of the plugin. It should detect any HTML element on the page. At least allegedly it should, I never tried and until v2 lacks Crosswalk support I will not do.


[Question] Why society.step() return value is "first assistant, then user"

Required prerequisites

[X] I have read the documentation https://camel-ai.github.io/camel/camel.html.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Questions
I am a new user at camel. When I run the demo at  "Creating Your First Agent Society", I got confused by the return value sequence. Following is the code:
def run(society, round_limit: int=10):
    # Get the initial message from the ai assistant to the ai user
    input_msg = society.init_chat()
    # Starting the interactive session
    for _ in range(round_limit):
        # Get the both responses for this round
        assistant_response, user_response = society.step(input_msg)

At first, we get the assistant output as input_msg, then we use input_msg to step in the society. It is more intuitive for me to first get user_response, then get assistant_response (by using user_response as the input). But in the demo code, they two are reversed.
I found the step function in RolePlaying class: code. Here we first get user_msg and then get assistant_msg. However when returning, the function first returns assistant_msg and then user_msg.
As a new beginner, I am not sure whether this is designed on purpose. Welcome everyone to discuss on this!

Hi @LuciusMos, welcome. If I understand your question correctly, you are mentioning a code style problem rather then a bug right? I think this design is not on purpose. This may just becuase the assistant response is usually more important than the user response.
@Wendong-Fan is currently the leader developer of CAMEL project. @WHALEEYE is also focusing on improving code quality. We can have a deeper discussion on this topic if you find more problems.

Thanks @dandansamax. I had a brief discussion about this with @LuciusMos today, and from my perspective, there's no specific reason why assistant_msg must come first. I believe we can adjust the sequence to have user_msg as the initial one. However, this should be double-checked with the other maintainers to ensure I haven't overlooked anything.
cc @lightaime

Hi @LuciusMos, welcome. If I understand your question correctly, you are mentioning a code style problem rather then a bug right? I think this design is not on purpose. This may just becuase the assistant response is usually more important than the user response.
@Wendong-Fan is currently the leader developer of CAMEL project. @WHALEEYE is also focusing on improving code quality. We can have a deeper discussion on this topic if you find more problems.

Hi @dandansamax, thanks for the reply. And thanks @Wendong-Fan for the discussion.
Yes, this is just a code style problem, not a bug. I fully agree that assistant response is more important in most cases. The sequence is just my minor doubt and not a big deal. You can check this in a more comprehensive view and decide whether to adjust the sequence or not.

The main reason for putting assistant_msg before is because that is the
input for the next iteration while the user_msg is not mandatory for
looping so that is why it is put after. But you also have a point about the
order. Actually, I think the return could be even better designed. For
example, we can store the message in queues and support streaming. For more
complicated settings, such as workforce, there maybe multiple messages
coming in an asynchronous order so a message queue maybe better for
parallel streaming. We can have a refactoring plan for this.
On Tue 24. Sep 2024 at 19:55, LiangxuanZhao @.***>
wrote:

Hi @LuciusMos https://github.com/LuciusMos, welcome. If I understand
your question correctly, you are mentioning a code style problem rather
then a bug right? I think this design is not on purpose. This may just
becuase the assistant response is usually more important than the user
response.
@Wendong-Fan https://github.com/Wendong-Fan is currently the leader
developer of CAMEL project. @WHALEEYE https://github.com/WHALEEYE is
also focusing on improving code quality. We can have a deeper discussion on
this topic if you find more problems.
Hi @dandansamax https://github.com/dandansamax, thanks for the reply.
And thanks @Wendong-Fan https://github.com/Wendong-Fan for the
discussion.
Yes, this is just a code style problem, not a bug. I fully agree that
assistant response is more important in most cases. The sequence is just my
minor doubt and not a big deal. You can check this in a more comprehensive
view and decide whether to adjust the sequence or not.
—
Reply to this email directly, view it on GitHub
https://github.com/camel-ai/camel/issues/986#issuecomment-2372065193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUJTYDIOGWRNSOUOUIX2O3ZYGYRBAVCNFSM6AAAAABOXPWZ6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZSGA3DKMJZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

The main reason for putting assistant_msg before is because that is the input for the next iteration while the user_msg is not mandatory for looping so that is why it is put after. But you also have a point about the order. Actually, I think the return could be even better designed. For example, we can store the message in queues and support streaming. For more complicated settings, such as workforce, there maybe multiple messages coming in an asynchronous order so a message queue maybe better for parallel streaming. We can have a refactoring plan for this.

@lightaime Thanks for the explanation. That sounds fair. And the idea of streaming message queue is awesome!


Migrate profile handlers

Migrate databroker handlers from beamline profiles.
Related: https://github.com/bluesky/databroker/issues/533
This repo is for handlers that don't fit into area-detector-handlers or pizzabox-handlers.

For now just added Zebrabox Handler from SRX, plus the SIS Handler which shares the same implementation, as per comments in the zebrabox-handler repo.
Will probably add other handlers to this same PR as well, unless you think it makes sense to separate them.

Same PR is fine.


[drogon] Fix building errors on Windows and Linux

Describe the pull request

What does your PR fix? Fixes #

After the PR #12669, the zlib library is separated from libmariadb, so we should link against it explicitly.(fixed in https://github.com/an-tao/drogon/pull/545)

Fix the following error on Linux.

/azp run

Hi, @NancyLi1013, this PR works on Windows and MacOS, but there is  a little problem on Linux, after installing drogon, the drogon_ctl command in tools folder doesn't work (the libpq.so.5 can't be found), but it works in the buildtrees folder.

Although I have a workaround for this by export LD_LIBRARY_PATH=/../vcpkg/installed/x64-linux/lib, is there a better way to resolve this?

Would you like this to be merged as is even if the problem above isn't solved yet (since this is a version update)

That's ok, please merge it. thanks.

@an-tao
This problem also exists on my local. We might fix it in another PR later.
I also noticed that this port requires libuuid to build. But there is no libuuid in the dependency lists.
Could you please help confirm this?

@an-tao
This problem also exists on my local. We might fix it in another PR later.
I also noticed that this port requires libuuid to build. But there is no libuuid in the dependency lists.
Could you please help confirm this?

Yes, libuuid is required on Linux and MacOS but isn't on Windows. How do I add this ?

After added libuuid, I got following errors on Windows:

@NancyLi1013 How should I handle this? Thanks.

@an-tao Please try again locally.

@an-tao Please try again locally.

It works, Thanks so much. Does vcpkg support FreeBSD? the libuuid is also not required on FreeBSD.
And should we use (!window&!uwp) ?

vcpkg support freebsd, but not totally. And freebsd is not one of our official triplets.
Windows includes uwp, so there is no need to add it.


feat: add variable to define database_subnet_tags_per_az

Description
This PR allow to add tags per AZ for database subnets like for public and private subnets.
Motivation and Context
While importing current infrastructure based on Cloud Formation to Terraform I wasn't able to overwrite database subnets names like for public and private subnets where we do no't include AZ suffixe like a, b, etc.
Breaking Changes
No
How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

Not sure why PR title validation fails.


New content about k8s reset

@alkohli or @dansisson

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


add publish_dir for multiqc to modules.config

Multiqc output was saved to db_tables (default). This was changed by adding a separate directory for multiqc results to be stored in.

Thanks!


One-Shot Video Object Segmentation

One-Shot Video Object Segmentation.
http://vision.ee.ethz.ch/~cvlsegmentation/osvos/
https://github.com/scaelles/OSVOS-TensorFlow

@mslavescu said: This would be good for quick labeling of missed or wrongly labeled object


appcache leads to infinite loops for missing routes / notFoundTemplate not rendered

Application works fine without appcache.
After adding appcache (meteor add appcache), Iron Router sends the app in a redirect loop for missing routes instead of showing the notFoundTemplate (it works fine for existing routes).
For example, the navigation bar ends up in a loop with "http://<IP_ADDRESS>/idontexist" alternating with "http://<IP_ADDRESS>/#!idontexist".
I managed to reproduce the issue.
Create a new app (meteor v<IP_ADDRESS>):
meteor create infinitelooop
meteor add iron:router
meteor add appcache

app.js:
Router.configure({
  // Defines template for missing routes and missing lists
  layoutTemplate: 'bare',
  notFoundTemplate: 'routeNotFound'

});

Router.route('/ok', {
  name: 'routeok'
});

app.html
<template name="bare">

      {{>yield}}

</template>

<template name="routeNotFound">

404

Sorry, there\'s no page at this address.

</template>

<template name="routeok">

This route works!

Welcome here...

</template>

Result:
<IP_ADDRESS>:3000/ok : works with or without appcache
all other routes show the appNotFound template without appcache, or end up in a redirect loop if appcache is installed

Is there a way / fix to handle this?

this works as a workaround: http://stackoverflow.com/a/27790687/3223028

I'm running into the same issue, I'm not sure I understood the workaround that's for redirect on user login in not for incorrect / missing route

@miri-am thx for posting this workaround!
@almogdesign It works like this:

Remove any notFoundTemplate setting from Router.configure

Add the following instead (adjust to your needs and template names)

Router.route('/(.*)', function() {//regex for every route, must be last
    if (this.ready()) {
        document.title = "404";
        this.render('error');
    } else this.render('loading');
})

Thanks this worked


Comment on pytest --dist=worksteal usage

Address https://github.com/jazzband/pip-tools/pull/1963#discussion_r1299439764

Thanks @webknjaz!


Create generic list with type argument having only ClassMirror of this type

Hi!
Thanks for your awesome library. It helps a lot in implementing my project.
Meanwhile I'm faced with a problem:
I cannot create generic list with type argument when I have only ClassMirror of this type.
I receive the list of objects (that can be of any type, for example Foo) from the server in json format.
[
  {
    "class": "Foo",
    "variable": "value1"
  },
  {
    "class": "Foo",
    "variable": "value2"
  }
]

@reflector
class Foo {
  var variable;
}

On the Flutter side I want to create the list with type argument that is specified in json. For this example, it must be List<Foo>
I get the ClassMirror for a class Foo from the annotatedClasses of the Reflector, create the instance, assign values to the variables and add object to the list.
Reflector:
List<Map> originalList;
List objectList;

originalList.forEach((map) {
  ClassMirror classMirror = annotatedClasses.firstWhere((annotatedClass) =>
    annotatedClass.simpleName == map["class"]); // get the ClassMirror for type `Foo`

  var object = classMirror.newInstance("", []); /* create the object of type `Object`
but "under the hood" it knows it's instance of `Foo` */
  ...
  list.add(object)
});

return objectList

As a result, I get the List<dynamic>. But I expect the List<Foo> in another part of the application.
Having generic list with right type argument is critical for my project.
I spent a lot of time on this problem. I cannot find a way to specify the generic type for the list, having only the ClassMirror of this type.
Is it even possible? And what is a way to solve this issue?
I will be very grateful for any help!

There is no direct solution, because Dart does not support obtaining a type (which could be used as a type argument in the creation of a new object) from a value (say, an instance of Type). So if you want to create an instance of List<Foo> then you have to have an expression of the form <T>[...] (or a similar expression using a list constructor) where T is ultimately provided as the type Foo.
So you could of course create a map like { "Foo": () => <Foo>[], ...} with all the types that you wish to cover, but that's surely going to be inconvenient because you (probably) don't want to create and maintain a list of all those types anywhere.
So you can't really stay completely generic (typeless) and get support for creating all those specific lists. However, you might be able to push it unto the clients without too much trouble for them.
But first, how do you know that the original list doesn't contain maps representing instances of many different types?:
``
[
{
"class": "Foo",
"variable": "value1"
},
{
"class": "Bar",
"aBarInstanceVariable": "value2"
}
]

In that case you'd need to create a list of some common supertype of all the element types, which could be anything up to `Object`. In that case you'd need to compute such a common supertype and that wouldn't be easy.

However, if you know that the original list contains instances of the same type then you might be willing to ask the authors of classes like `Foo` to mix in `ListGetter<Foo>`:

```dart
mixin ListGetter<X> {
  List<X> get listOfThis => [];
}

@reflector
class Foo with ListGetter<Foo> {}

main() {
  ListGetter<dynamic> x = Foo();
  var xs = x.listOfThis;
  print(xs.runtimeType); // `List<Foo>`, even though the type of `x` doesn't involve `Foo`.
}

If the list is empty you could use const <Null>[] (or const <Never>[] when we add non-nullable types), which will be able to play the role as "any empty list".

Thanks a lot for your help, explanation and possible solution, @eernstg
I will look into it and try it out.
You are awesome! :smiley:


Fix link in kubernetes-installers.md

Somehow the line wrapping is breaking the HTML rendering by
Redcarpet. This is strange since I don't think I have noticed this issue
with other links. Since we are switching to a different stack for the
antrea.io website, I just want to fix the issue, without doing too much
digging.
Fixes #2518
Signed-off-by: Antonin Bas<EMAIL_ADDRESS>

Codecov Report

Merging #2525 (6b120e1) into main (028393d) will decrease coverage by 17.57%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #2525       +/-   ##
===========================================
- Coverage   59.78%   42.21%   -17.58%
===========================================
  Files         284      148      -136
  Lines       22265    18220     -4045
===========================================
- Hits        13312     7691     -5621
- Misses       7535     9833     +2298
+ Partials     1418      696      -722

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
42.21% <ø> (-0.03%)
:arrow_down:

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


Bump version v0.0.20

Adds ExchangeIssuanceV2 (#56)

Admin merging per policy. This is just a version bump.


Another sourcemaps missing issue

Description
Related to #707. There are still some warnings with version 4.7.0-rc5. Good news is that my solution now works (where it didn't with the latest stable release). So maybe we just need whatever @Andarist did, but a bit more of it :).
Expected Result
No warnings or errors while bundling. The final bundle should work
Actual Result
I see the following warnings but it doesn't seem to cause issues with final solution

Warning - [webpack] 'dist':
./node_modules/.pnpm/registry.npmjs.org/@xstate/react/0.7.1_react@16.8.5+xstate<EMAIL_ADDRESS>Module Warning (from ./node_modules/.pnpm/registry.npmjs.org/source-map-loader/0.2.4/node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../src/index.ts': Error: Can't resolve '../src/index.ts' in 'xxx\node_modules.pnpm\registry.npmjs.org@xstate\react\0.7.1_react@16.8.5+xstate@4.7.0-rc5\node_modules@xstate\react\lib'
NonErrorEmittedError: (Emitted value instead of an instance of Error) Cannot find source file '../src/index.ts': Error: Can't resolve '../src/index.ts' in 'xxx\node_modules.pnpm\registry.npmjs.org@xstate\react\0.7.1_react@16.8.5+xstate@4.7.0-rc5\node_modules@xstate\react\lib'
at emitWarning (xxx\node_modules.pnpm\registry.npmjs.org\webpack\4.31.0_webpack@4.31.0\node_modules\webpack\lib\NormalModule.js:154:16)
at xxx\node_modules.pnpm\registry.npmjs.org\source-map-loader\0.2.4\node_modules\source-map-loader\index.js:80:7
at doResolve (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\Resolver.js:213:14)
at hook.callAsync (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (xxx\node_modules.pnpm\registry.npmjs.org\tapable\1.1.3\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at resolver.doResolve (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:44:7)
at hook.callAsync (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (xxx\node_modules.pnpm\registry.npmjs.org\tapable\1.1.3\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at hook.callAsync (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (xxx\node_modules.pnpm\registry.npmjs.org\tapable\1.1.3\node_modules\tapable\lib\HookCodeFactory.js:33:10), :27:1)
at resolver.doResolve (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:67:43)
at hook.callAsync (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn42 (eval at create (xxx\node_modules.pnpm\registry.npmjs.org\tapable\1.1.3\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1)
at hook.callAsync (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (xxx\node_modules.pnpm\registry.npmjs.org\tapable\1.1.3\node_modules\tapable\lib\HookCodeFactory.js:33:10), :27:1)
at resolver.doResolve (xxx\node_modules.pnpm\registry.npmjs.org\enhanced-resolve\4.1.1\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:67:43)
@

Reproduction
Typescript project with xstate
Additional context
possibly related to #707
xstate4.7.0-rc5
@xstate/react 0.7.1
TypeScript 2.9

Could u prepare a runnable repro case? Would make it a lot easier for me to just fix it without wild-guessing how it behaves on your machine, for things like this the exact setup often really matters.

Could u prepare a runnable repro case? Would make it a lot easier for me to just fix it without wild-guessing how it behaves on your machine, for things like this the exact setup often really matters.

Tried replicating in a create react app but couldn't. I'm using a framework which is not exactly well known but I'll prepare an example and prepare some basic instructions to demo the issue. I'll try to do that tonight but might have to do it over the weekend.

I'm having this same issue when enabling angular vendor sourcemaps in the angular.json serve config. I have a public repo available to reproduce this issue here: https://github.com/jhallick/xstate-angular-sourcemap-test
Notice in the angular.json serve config I have:
sourceMap: {
    scripts: true,
    styles: true,
    vendor: true
}

which breaks xstate at runtime (and throws a bunch of warnings as stated above).
Please let me know if more details are needed!

@Andarist ☝

This demo is using<EMAIL_ADDRESS>- the fix for this problem is available already in the<EMAIL_ADDRESS>

@Andarist Okay awesome, ty! I'll give that version a try today and post back.

@Andarist Worked like a charm, thank you! :tada:

@Andarist Is there a change in that version that I missed? My public repo posted above is now getting this error at compile time (after upgrading to xstate 4.7.0-rc5):
ERROR in node_modules/xstate/lib/State.d.ts(86,42): error TS2344: Type 'TStateSchema' does not satisfy the constraint 'StateSchema<TState["context"]>'.
      Type 'StateSchema<TContext>' is not assignable to type 'StateSchema<TState["context"]>'.
        Type 'TContext' is not assignable to type 'TState["context"]'.

@jhallick could you report this as a separate issue? with repro and TS version associated?

@Andarist Absolutely will do, thanks again!

@Andarist Upgrading our TS version ended up fixing it, thanks again for the help!


Fix no_op playback autoplay when autoPlay option is set to false

Implements play() method for no_op playback so it behaves like other playbacks.
Fixes #1157

Coverage decreased (-0.06%) to 71.785% when pulling 9bb2b35414aa97ac3edadc3bac808d1d482e83f4 on NicholasAsimov:fix-autoPlay-NoOp into 21f180a12777ff11ff1ffbe1936bdcd7d13decd6 on clappr:master.

@NicholasAsimov : yes, please add an option to keep backward compatibility.

How should we organize poster options? Right now we have a 'poster' option which changes the image. Maybe we could have a posterOptions object with image and showForNoOp options. I'm not too happy with those names though.

maybe keep poster option, and if it is a string, act as poster image path, and if it is an object then check for some expected props  ? (just a thought)

That could make it backwards-compatible.

That could make it backwards-compatible.

And it's aligned with what we're planning to future.

Coverage decreased (-0.5%) to 71.301% when pulling c0995bfe5f8013ab453cd90198805745327e739a on NicholasAsimov:fix-autoPlay-NoOp into 21f180a12777ff11ff1ffbe1936bdcd7d13decd6 on clappr:master.

I will wait until #1169 is merged before thinking about this more. Currently I feel like it's over complicates the issue.

@leandromoreira Definitely will do, together with tests, after we finalize this.

Lint is crying :(
/home/travis/build/clappr/clappr/src/playbacks/no_op/no_op.js
  28:83  error  Extra semicolon  semi


Fails to typecheck with flow 0.54.1

When using flow in a project where flow-coverage-report is installed to node_modules, I get the following errors:
Error: node_modules/flow-coverage-report/src/lib/report-html.js:70
                v------------------------
 70:     return Promise.reject(new Error(
 71:       'filename is not relative to the projectDir: ' +
 72:         [opt.projectDir, opt.filename].join(' - ')
 73:     ));
         -^ type parameter `T` of call of method `reject`. Missing annotation

Error: node_modules/flow-coverage-report/src/lib/report-html.js:181
                v-----------------------------------------
181:     return waitForReportContent.then(function (res) {
182:       var reportFilePath = res.reportFilePath;
183:       var reportFileContent = res.reportFileContent;
...:
188:     });
         -^ type parameter `U` of call of method `then`. Missing annotation

Error: node_modules/flow-coverage-report/src/lib/report-html.js:191
191:   return Promise.reject(new Error('Unknown report type: ' + opt.type));
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` of call of method `reject`. Missing annotation

I've excluded flow-coverage-report via my .flowconfig for now, but it would be nice to have this fixed upstream.

I have a PR for this for 2 weeks: https://github.com/rpl/flow-coverage-report/pull/116
although I'm not sure why Flow is not happy with this, as I don't reproduce the issue on a simpler example :/

I filed a bug at Flow: https://github.com/facebook/flow/issues/4923
My guess is Flow starts infering by looking at how a method is called, and then checks whether it works with the existing code. But in a library we can't know how it's called so it can't infer properly.
That's why the fix is to help him by typing the return values.

#116 has been merged in #125 (and released on npm in the new 0.4.0 version).


refactor(pipelines): update cache plugin to v0.2.0

Breaking changes:
filter property has been renamed to includes and default excludes are not applied anymore.
ref: https://togithub.com/j3t/jenkins-pipeline-cache-plugin/releases/tag/0.2.0
Depends on:

https://github.com/PingCAP-QE/ee-ops/pull/432

the CI will passed when the depended pull request is merged.

/retest

/approve


License missing

This is great stuff! I would love to use portions of this code. Could you add a license to your code?

@quicksnap MIT license has been added: https://github.com/cwilso/WebAudio/commit/273ddaed7941dad28b0a4e689bc42d1e165d4275

@quicksnap MIT license has been added: https://github.com/cwilso/WebAudio/commit/273ddaed7941dad28b0a4e689bc42d1e165d4275


exotica_python: Add PlanningSceneUtils

Adds convenience functions to easily create collision objects that can be added to a moveit_msgs::PlanningSceneWorld
Supports building mesh objects from files (currently requires absolute paths for mesh files)

Setup with a few lines of Python:

Now also includes a wrapper for setCollisionScene which accepts moveit_msgs::PlanningScene which allow setting entire planning scenes as well as specifying colour:

Now also includes a debug variant of getClosestDistance(debug=True) which outputs the collision pairs as ROS warnings, e.g:
[ WARN] [1504721578.173168314]: Number of Environment Contacts:1
[ WARN] [1504721578.173202914]: Contact between: shelf and torso

for:

I have added loading from a scene file. I had this stashed in a local branch.
I have also added relative paths to the mesh loading.
Good to go if you are happy with the changes I made.

Thank you, these are really useful additions :-)