Save Resolved DNS IP

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Monitor
🔖 Feature description
Record the resolved IP address of the instance targeted for the health check.
✔ Solution
Ideally we would like Uptime Kuma to record the resolved DNS entry at the time of the request.  This would be something like the results of dig www.example.com A performed immediately preceding the HTTP(S) health check.  Alternatively this could use the IP of the instance responding to the health check.
This check would ensure that DNS is not pointing to a stale/invalid record as a cause of the failed check.
❓ Alternatives
We use a separate service for DNS propagation checks, as well as querying name servers using dig.
📝 Additional Context
Similar feature offered by another service:  https://support.uptime.com/hc/en-us/articles/360001366189-DNS-Server-Check-Basics

@dritz-ecloud
I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/432
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^

I read this request as a different request. In my opinion it's worded a bit strangely, but what I think it's about is logging the actual IP address that was connected to.
For our use case: we have a monitor that sometimes complains about a wrong certificate. This certificate is for a completely different server (that is being monitored). If the monitoring message would show what IP address was connected to in order to retrieve the bad certificate, that would help us locate the problem.


feat: agent registry interface + gin api

Gin endpoint for retrieving all agents.
RpcProxy implementation for calling AgentRegistry interface.
Agent struct.
AgentRegistry interface to ApiBus propagation.

@alex-sandrk @srt0422 @bohdan-titan @lsheva @loonerin I would like to ask for a review.

@srt0422 Can you review?
Looks like just a duplicate of the model methods, structs, and interfaces. I think we were purposefully leaving out agents from the initial releases though until the agent dev teams are ready to release some.


Enhance AttachmentScriptType api to accept more primitive types as customProperties

Is your feature request related to a problem? Please describe.
From Nelson
"The custom properties qti_fileSize and qtr_maxTime are Long but in the scripting API, I only have:
setCustomProperty() - this saves the value as String or Double
setCustomIntegerProperty() - this saves the value as Integer
In either case, EQUELLA complains with a type cast error in item summary page."
Currently the scripting api (AttachmentScriptType in particular) has methods to set properties for custom attachments:

setCustomProperty(java.lang.String propertyName, java.lang.Object propertyValue)

setCustomIntegerProperty(java.lang.String propertyName, int propertyValue)

neither of them allow for the user to explicitly set a long or double.
Describe the solution you'd like
Since there is already a setCustomIntegerProperty method, we could just add setCustomLongProperty and setCustomDoubleProperty methods. It's probably best to not modify the existing methods, in case it causes existing scripts to behave differently

All done and released.


Weapon Tweaks

Tuned down RPG explosion size, added a pointlight to it's projectile, added inhand-sprite for it's empty state but I don't know how to make them work so @metalgearsloth will have to tell me how. Also I added a much better rpg firing sound.
Decreased BulletBase bounding box because it was super big.

(Will add more in the morning)
I tried to add a PointLight to the taser projectile but it's not working for some reason... I think because it doesn't have BulletBase as a parent. Whatever i'll figure it our tomorrow.

Yeah Taser is its own snowflake.
None of the inhand sprites are updated in the code atm so that needs doing and I didn't port them (also there was that guy doing new gun sprites for ss14 at some stage).
For the inhand update you need stuff like lasers with unshaded layers as well as some stuff like the rocket where it has different mag sprites depending what is used (which also needs coding for the sprite itself).


Add backup for submissions

I'm worried about a bug in our program wiping our submissions. Should we backup our data?

Did we ever learn how to back up?

Looking at the documentation right now - seems doable.. just a step-by-step process to follow. I could get the backups started, but I don't have access to GAE.

I think @moowiz and I were talking about this at one point and it seems like if the backup goes wrong, really bad things might happen. (Especially since that's a beta feature.)
One hacky way to backup would be to use an API call from an external service to periodically call into ok and get submissions and so on.

Mhm, that's a good point. Should I nose around for another service like that one then? Or should we code an in-house solution.

We don't need to worry about replicating outside of the datastore. We
should just focus on making the system robust to administrator error.
Perhaps the User & FinalSubmission tables should be duplicated into
additional datastore tables.
On Sat, May 30, 2015 at 12:48 AM, Alvin Wan<EMAIL_ADDRESS>wrote:

Mhm, that's a good point. Should I nose around for another service like
that one then? Or should we code an in-house solution.
—
Reply to this email directly or view it on GitHub
https://github.com/Cal-CS-61A-Staff/ok/issues/77#issuecomment-107003942.

Sounds good. I will work on that.

Backup completed in GAE.


Make larger batch_size available when training with GPU

Now, one can only train this model with batch_size=8 or even smaller on CUDA.
Desirable batch_size would be greater than 64.

partly solved by using gradient accumulation


Broken link

Broken link for Advanced lookup.

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

ID: fb3dd507-6444-aac3-f6ac-78d87edbce76
Version Independent ID: fb3dd507-6444-aac3-f6ac-78d87edbce76
Content: Mobile offline capabilities and limitations - Power Apps
Content Source: powerapps-docs/mobile/offline-capabilities.md
Service: powerapps
Sub-service: mobile
GitHub Login: @sericks007
Microsoft Alias: sericks

@joannachongshen, thanks for letting us know about this! I've fixed the link.  The updated content will be published later today.


Significant change notifications are wrong

Significant change emails are sent when they shouldn't be:

but hopefuly this is a result of the migration and will be fixed on its own.
More worryingly, it seems implausible that all options here moved by the exact same amount

also the order of the options is random, the Community Now column has wrong values (unless all of them changed in different directions since I got the email), there is no "since day X" text for group questions (and maybe multiple choice ones?), and the direction of the movement is not mentioned.

Duplicate of #929


4.3.0 compiler change breaks Semver.

The compiler change with 4.3.0 breaks semver so precompiled templates in internal dependencies are unable to execute.
Please make compiler changes major version updates.

In the short term we are pinning 4.2.1 in place of recompiling all packages and contacting customers that produce Handlebars content.

Hi @oculus42,
I am aware that this was a breaking change and I have mentioned that in the release notes. However, this change was necessary to eliminate a new variant of the Remote Code Execution exploit that appear in the beginning of this year.
It was hard to fix the leak without making any breaking changes, but if I had published the change as 5.0, nobody would be aware of the issue.
I will have a look if there is a way to fix the exploit without requiring to increase the compiler version.
But if that does not work, I would like urge you to see if you cannot compile your templates with a more recent precompiler.

Hey @nknapp,
Thanks for the reply. I will likewise take a look this evening and see if I can help in the effort to produce a non-breaking change.

I work on a big, unwieldy, institutional SDK that I can't control all of the parts of (which are at worst semver scoped to the latest minor) and this change has cost me hours trying to find a workaround to.

I am sorry for everyone who had extra work because of this release. I know that it is frustrating to search for a bug for hours, and to find out that some library has made a breaking change.
My problem is that I don't have a communication channel to reach all Handlebars users... And I have a major and publicly known security issue to resolve and no team to review my changes. This release needed to be published. And it needed to be a 4.x because otherwise a lot of systems would remain unpatched (because everybody scopes to the latest minor).
@oculus42 I have a fix ready, but it might take until tomorrow, because the build is still running and I need to go to bed. If everything works, the runtime will accept templates with compiler version 7 and automatically switch to the fallback mode.

the fix on npm now.

@nknapp Much appreciated!

Stayed up longer than I wanted to though...

@nknapp I'd like to think I'm speaking for everyone when I say thank you. You caused a bit of a disruption for my team, too, but you tried to do the most responsible thing you could, then threw in a fix hours after @oculus42 opened this ticket. Open source stuff is a lot of work. Thanks for staying up late to get this done for us.

hi @nknapp just ran across this after a user of our project (https://github.com/adaptlearning/adapt_framework) reported that he was getting this error after building and running it:

Error: Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (>= 4.3.0).

I've tested this myself and the version of handlebars in node_modules is v4.3.1
The project uses handlebars runtime v4.0.5 - updating this is certainly an option, but obviously if you're intending to fix it on your side then we might not need to.
Apologies if I have misunderstood this thread but it seems like, although we are using the latest npm version, the issue isn't fixed.

I think I probably have misunderstood this (that's what I get for trying to dig into these things in a rush on an empty stomach!) - we're going to have to update our handlebars runtime I think.

Yes. The change was to allow older templates to work with a newer runtime. Compiling with a 4.3.1 compiler and running in an older runtime doesn't work.
I don't think there is a way to be backwards compatible in this way.


Add New Go Snippets

Add new 3 snippets for go http.ServeMux
I noticed that these were missing and I wanted them, so I added them.

nmx - mux := http.NewServeMux()
mhf - mux.HandleFunc("/", function)
hf - mux.Handle("/", handler)

Do not merge yet, I need to fix something.


E55_Types get too many labels

Too many labels
E. g., https://sk.acdh.oeaw.ac.at/types/person/persname/pref has as a label every person name the type is assigned to. should only have the label assigned in general.

could not reproduce this error. can you check the latest build via https://semantic-kraus.github.io/lk-data/


Funnel Chart

Community contributions especially welcome on this issue
Feature Description

Implement a Funnel Chart Component in Evidence.

Examples/Screenshots
https://echarts.apache.org/examples/en/editor.html?c=funnel

Considerations

Probably using the echarts library.

An example of how to achieve this in Evidence is now in the "Custom Charts" section of the docs (https://docs.evidence.dev/features/charts/custom-charts#funnel-chart)

Hey @dhrjarun sounds great!
We're open to PRs, hopefully this document gives a bit of context on how to go about this.
In terms of the technical side, it might also be helpful to look at some of our other viz components on an idea of how to get started.
If there's anything else I can point you towards, let me know!

I've read some of the viz components. I just want to know, should it support multiple series or only single series

Somewhat up to you as to what you'd find most useful.
In my experience, funnel charts are most often used for analyzing sequential steps, such as website conversion, or sales funnels, in which case single series are most common.

Ok then I'll go for single series, later if multi series is needed we can implement that.


CI: test Padrino with both Sinatra 2 and 3

Now that Padrino 0.15.2 is out with support for Sinatra 3, let's test Padrino with both Sinatra 2 and 3.
thanks, @nesquena

Sure I hope that 0.15.2 resolves the issues! cc @jkowens


Load vite.config.ts the same way as Vite

Hi maintainers 👋
I would like to contribute to the great project!
I tried to follow the Contributing Guide.
WHAT the breaking change is
(Only for the package maintainers) a new E2E packages is added.
WHY the change was made
Ladle was not able to handle vite.config.ts the way Vite does.
For example, Ladle was not able to load vite.config.ts which imported other TS modules.
HOW a consumer should update their code
(Only for the package maintainers) recognize a new e2e workspace with pnpm install.

This is great. I completely missed the built-in Vite function. Thanks!


[material-ui][Rating] arrowUp and arrowDown are reversed

Steps to reproduce
Link to live example: Basic Rating
Steps:

tab into the rating
press arrow up/down
value setting is reversed

Current behavior
arrowUp decreases value
arrowDown increases value
Expected behavior
arrowUp increases value
arrowDown decreases value
Context
No response
Your environment
No response
Search keywords: rating arrow up down value

Is it by design that Rating component behaves this way? Below ones are also working same as material UI:
Uber: https://baseweb.design/components/rating/
Ebay: https://opensource.ebay.com/mindpatterns/input/star-rating/
Arrow Left & Right is functioning correctly for all 3 components, including material UI.

OK, maybe it is intended behavior ... it just feels so wrong to hit the arrow down key and the value going up!

OK, maybe it is intended behavior ... it just feels so wrong to hit the arrow down key and the value going up!

Agreed.

As far as I know this is intended behavior. From an a11y perspective I think it would be even more strange if they were reversed from the existing implementation.

Yeah ... considering this I think we can close this one! Thanks!

As far as I know this is intended behavior

Yes, Rating uses the radio group pattern

Right Arrow and Down Arrow: move focus to the next radio button in the group
Left Arrow and Up Arrow: move focus to the previous radio button in the group

I can see how you may expect Up to increase the value, but according to this spec it should move to the "previous item" which is lowering the value
The only real solution around this is to use a slider instead: https://www.w3.org/WAI/ARIA/apg/patterns/slider/examples/slider-rating/


When will digits surport tensorflow and mxnet?

I know tensorflow and mxnet can supoort multiple GPUs and multiple machines, but caffe only support multiple GPUs by now. And the speed of tensorflow and mxnet is faster than caffe and torch. So I suggest digits would do this and it will be very nice.

We have no plans to add support for more frameworks at this time.
It seems you're interested in other frameworks only for their multi-node capabilities? Do you have any other reasons for wanting to use those particular frameworks?

@lukeyeager I want to train some models much faster,  because some ConvNets are very deep. So choosing a faster framework is good choice such as mxnet and tensorflow, and they just support  multiple machines. So it seems to be very exciting if digits support  mxnet and tensorflow.

@lukeyeager cntk is also a very good framwork.

I've got a branch that supports tensorflow in Digits for classification: https://github.com/brainstorm-ai/DIGITS/tree/tensorflow
I'll update this into a PR only when Tensorflow hits 1.0 . Currently the bottleneck is with proper dataloading. I am currently using TF placeholders, which is inefficient and so not suitable for production or anything professional imo. I need to make a LMDB dataloader to put along the TF graph properly in C++. With my PR i have been able to reproduce identical MNIST results in DIGITS with TF compared to Caffe and Torch.
So I am planning on picking up TF more when TF reaches 1.0, however, DIGITS is expanding so quickly that with every framework it supports it will yield ever more work, making DIGITS's feature development less lean.

That sounds fantastic! Out of curiosity, did you consider Keras as an intermediate layer between DIGITS and Tensorflow? It's less flexible but more focused on Deep Learning than the raw Tensorflow. I was thinking that it could be easier to interface with.

I'm not a fan of the abstraction layers, especially from another party. I was really hoping for 'Tensorflow Slim' to be included in the TensorFlow main brain. And it did end up there. Tensorflow-slim is a really nice 'wrapper' that you will recognize is very torchy.
Note that for the implementation of writing models I have stolen your torch implementation with models @gheinrich ;
i.e.
def build_model(params):
    # build model here with $params
    return {
        model: $model
     }

As you can see below, your comment is very valid. You don't want to mess with raw TF.
LeNet with TF-Slim
https://github.com/brainstorm-ai/DIGITS/blob/tensorflow/digits/standard-networks/tensorflow/lenet_slim.py
```py
model = slim.ops.conv2d(_x, 20, [5, 5], stddev=1/math.sqrt(5*5*params['input_shape'][2]), padding='VALID', scope='conv1')
model = slim.ops.max_pool(model, [2, 2], padding='VALID', scope='pool1')
model = slim.ops.conv2d(model, 50, [5, 5], stddev=1/math.sqrt(5*5*20), padding='VALID', scope='conv2')
model = slim.ops.max_pool(model, [2, 2], padding='VALID', scope='pool2')
model = slim.ops.flatten(model)
model = slim.ops.fc(model, 500, stddev=1/math.sqrt(4*4*50), scope='fc1')
model = tf.nn.relu(model, name='relu')
model = slim.ops.dropout(model, 0.75, scope='do1')
model = slim.ops.fc(model, params['nclasses'], stddev=1/math.sqrt(500), activation=None, scope='fc2')
```
LeNet with raw TF
https://github.com/brainstorm-ai/DIGITS/blob/tensorflow/digits/standard-networks/tensorflow/lenet.py
```py
  # Create some wrappers for simplicity
    def conv2d(x, W, b, strides=1):
        # Conv2D wrapper, with bias and relu activation
        x = tf.nn.conv2d(x, W, strides=[1, strides, strides, 1], padding='VALID')
        x = tf.nn.bias_add(x, b)
        return tf.nn.relu(x)
def maxpool2d(x, k=2):
    # MaxPool2D wrapper
    return tf.nn.max_pool(x, ksize=[1, k, k, 1], strides=[1, k, k, 1], padding='VALID')

# Create model
def conv_net(x, weights, biases, dropout):
    # Reshape input picture
    x = tf.reshape(x, shape=[-1, params['input_shape'][0], params['input_shape'][1], params['input_shape'][2]])

    # Convolution Layer
    conv1 = conv2d(x, weights['wc1'], biases['bc1'])
    # Max Pooling (down-sampling)
    conv1 = maxpool2d(conv1, k=2)

    # Convolution Layer
    conv2 = conv2d(conv1, weights['wc2'], biases['bc2'])
    # Max Pooling (down-sampling)
    conv2 = maxpool2d(conv2, k=2)

    # Fully connected layer
    # Reshape conv2 output to fit fully connected layer input
    fc1 = tf.reshape(conv2, [-1, weights['wd1'].get_shape().as_list()[0]])
    fc1 = tf.add(tf.matmul(fc1, weights['wd1']), biases['bd1'])
    fc1 = tf.nn.relu(fc1)

    # Apply Dropout
    #fc1 = tf.nn.dropout(fc1, dropout)

    # Output, class prediction
    out = tf.add(tf.matmul(fc1, weights['out']), biases['out'])
    return out

# Initialize W using stddev 1/sqrt(n), with n the input dimension size.
# Store layers weight & bias
weights = {
    # 5x5 conv, 1 input, 20 outputs
    #'wc1': tf.Variable(tf.random_normal([5, 5, params['input_shape'][2], 20], stddev=1/math.sqrt(weight_n['wc1']))),
    'wc1': tf.get_variable('wc1', [5, 5, params['input_shape'][2], 20], initializer=tf.truncated_normal_initializer(stddev=1/math.sqrt(5*5*params['input_shape'][2]))),
    #'wc1': tf.Variable(tf.random_normal([5, 5, params['input_shape'][2], 20], stddev=0.1)),
    # 5x5 conv, 20 inputs, 50 outputs
    'wc2': tf.get_variable('wc2', [5, 5, 20, 50], initializer=tf.truncated_normal_initializer(stddev=1/math.sqrt(5*5*20))),
    #'wc2': tf.Variable(tf.random_normal([5, 5, 20, 50], stddev=1/math.sqrt(weight_n['wc2']))),
    # fully connected, 4*4*16=800 inputs, 500 outputs
    'wd1': tf.get_variable('wd1', [4*4*50, 500], initializer=tf.truncated_normal_initializer(stddev=1/math.sqrt(4*4*50))),
    #'wd1': tf.Variable(tf.random_normal([4*4*50, 500], stddev=1/math.sqrt(weight_n['wd1']))),
    # 500 inputs, 10 outputs (class prediction)
    'out': tf.get_variable('wout', [500, params['nclasses']], initializer=tf.truncated_normal_initializer(stddev=1/math.sqrt(500))),
    #'out': tf.Variable(tf.random_normal([500, params['nclasses']], stddev=1/math.sqrt(weight_n['out'])))
}

# Leave the intial biases zero
biases = {
    'bc1': tf.get_variable('bc1', [20], initializer=tf.constant_initializer(0.0)),
    'bc2': tf.get_variable('bc2', [50], initializer=tf.constant_initializer(0.0)),
    'bd1': tf.get_variable('bd1', [500], initializer=tf.constant_initializer(0.0)),
    'out': tf.get_variable('bout', [params['nclasses']], initializer=tf.constant_initializer(0.0))
}

@TimZaman Tensorflow 1.0 is out for some time now and has phenomenal traction. Would be really great to include Tensorflow support in DIGITS.

lukeyeager - Tensorflow is very cool. Is that final, that your team is not going to support tensorflow for Digit  ever :)
This is big problem for us!

Feel free to play around with a rough TF-DIGITS using this branch we (nvidia/digits-team) do not officially support:
https://github.com/TimZaman/DIGITS/tree/tensorflow

Tim - Do we have Docker version of this/ TF-DIGITS ?  I am using docker in windows.
Thanks

@TimZaman sorry to bother you. I do a test using the command python _test.py under digits/tools/tensorflow , but it shows error:
Traceback (most recent call last):
  File "main.py", line 659, in <module>
    tf.app.run()
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 44, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "main.py", line 537, in main
    Validation(sess, val_model, 0)
  File "main.py", line 358, in Validation
    summary_str = sess.run(model.summary)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 767, in run
    run_metadata_ptr)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 965, in _run
    feed_dict_string, options, run_metadata)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1015, in _do_run
    target_list, options, run_metadata)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1035, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: logits and labels must have the same first dimension, got logits shape [29768,2] and labels shape [128]
	 [[Node: val/loss/cross_entropy_per_example/cross_entropy_per_example = SparseSoftmaxCrossEntropyWithLogits[T=DT_FLOAT, Tlabels=DT_INT64, _device="/job:localhost/replica:0/task:0/gpu:0"](val/model/Add_1, val/data/batcher/_7)]]
	 [[Node: val/loss/loss/_11 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_70_val/loss/loss", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

Caused by op u'val/loss/cross_entropy_per_example/cross_entropy_per_example', defined at:
  File "main.py", line 659, in <module>
    tf.app.run()
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 44, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "main.py", line 478, in main
    val_model.create_model(UserModel, stage_scope)
  File "/home/ztgong/work/digitses/DIGITS-tensorflow-new/digits/tools/tensorflow/model.py", line 141, in create_model
    tf.add_to_collection(digits.GraphKeys.LOSSES, tower_model.loss)
  File "/home/ztgong/work/digitses/DIGITS-tensorflow-new/digits/tools/tensorflow/utils.py", line 34, in decorator
    setattr(self, attribute, function(self))
  File "<string>", line 67, in loss
  File "/home/ztgong/work/digitses/DIGITS-tensorflow-new/digits/tools/tensorflow/utils.py", line 43, in classification_loss
    ssoftmax = tf.nn.sparse_softmax_cross_entropy_with_logits(logits=pred,labels=y, name='cross_entropy_per_example')
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/nn_ops.py", line 1713, in sparse_softmax_cross_entropy_with_logits
    precise_logits, labels, name=name)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 2378, in _sparse_softmax_cross_entropy_with_logits
    features=features, labels=labels, name=name)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op
    op_def=op_def)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2327, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/home/ztgong/local/anaconda2/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1226, in __init__
    self._traceback = _extract_stack()

InvalidArgumentError (see above for traceback): logits and labels must have the same first dimension, got logits shape [29768,2] and labels shape [128]
	 [[Node: val/loss/cross_entropy_per_example/cross_entropy_per_example = SparseSoftmaxCrossEntropyWithLogits[T=DT_FLOAT, Tlabels=DT_INT64, _device="/job:localhost/replica:0/task:0/gpu:0"](val/model/Add_1, val/data/batcher/_7)]]
	 [[Node: val/loss/loss/_11 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_70_val/loss/loss", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

how to fix it ? can you give some advices?
thank you in advance!
my tf is 1.0.1.

Closing this issue, as we do not support Tensorflow at this time. Any questions about the experimental branch that was just referred to are not to be discussed here.


docs(readme): Move 'messages << message' outside of loop to prevent duplicatentries

Issue
When executing the provided code, the following error is encountered:
Error: {"message"=>"An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_EiPgaP98DOD7sgXMXgVNITDa", "type"=>"invalid_request_error", "param"=>"messages.[3].role", "code"=>nil}

This error occurs because, when handling multiple tool_calls in the message["tool_calls"].each loop, the same message is added to the messages array for every iteration of the loop. This results in duplicate entries for the assistant's message, causing the OpenAI API to fail to correctly process subsequent tool responses.
Reproduction Steps
Ask about the weather in two different locations (e.g., San Francisco and Japan) in the same request. This ensures that the assistant generates multiple tool_calls.
Execute the following Ruby code:
require 'openai'

client = OpenAI::Client.new(access_token: ENV["OPENAI_ACCESS_TOKEN"])

def get_current_weather(location:, unit: "fahrenheit")
  # Here you could use a weather api to fetch the weather.
  "The weather in #{location} is nice 🌞 #{unit}"
end

messages = [
  {
    "role": "user",
    "content": "What is the weather like in San Francisco and Japan?",
  },
]

response =
  client.chat(
    parameters: {
      model: "gpt-4o",
      messages: messages,  # Defined above because we'll use it again
      tools: [
        {
          type: "function",
          function: {
            name: "get_current_weather",
            description: "Get the current weather in a given location",
            parameters: {  # Format: https://json-schema.org/understanding-json-schema
                           type: :object,
                           properties: {
                             location: {
                               type: :string,
                               description: "The city and state, e.g. San Francisco, CA",
                             },
                             unit: {
                               type: "string",
                               enum: %w[celsius fahrenheit],
                             },
                           },
                           required: ["location"],
            },
          },
        }
      ],
      # Optional, defaults to "auto"
      # Can also put "none" or specific functions, see docs
      tool_choice: "required"
    },
    )

message = response.dig("choices", 0, "message")

if message["role"] == "assistant" && message["tool_calls"]
  message["tool_calls"].each do |tool_call|
    tool_call_id = tool_call.dig("id")
    function_name = tool_call.dig("function", "name")
    function_args = JSON.parse(
      tool_call.dig("function", "arguments"),
      { symbolize_names: true },
      )
    function_response =
      case function_name
      when "get_current_weather"
        get_current_weather(**function_args)  # => "The weather is nice 🌞"
      else
        # decide how to handle
      end

    # For a subsequent message with the role "tool", OpenAI requires the preceding message to have a tool_calls argument.
    messages << message

    messages << {
      tool_call_id: tool_call_id,
      role: "tool",
      name: function_name,
      content: function_response
    }  # Extend the conversation with the results of the functions
  end

  second_response = client.chat(
    parameters: {
      model: "gpt-4o",
      messages: messages
    }
  )

  puts second_response.dig("choices", 0, "message", "content")
  if second_response.dig("error")
    puts "Error: #{second_response.dig("error")}"
  end
end

All Submissions:

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

@alexrudall
When you have a moment, I’d appreciate it if you could review my PR.
Thank you!


Fine tune LID with less langs

Hi,
I was trying to finetune the voxlingua model for only 10 langs.
can anyone tell me how can I use the pretrained model and fine-tune it for some particular languages?
Thanks

Have you looked at this tutorial? It does not directly implement what you are looking for but hopefully it could help you understand how to go about this.

Yes, you can follow the tutorial. I think the simplest way here is to pretrain the encoder with our pretraner class (see an example here). Then you can change the number of outputs in the classifier here and fine-tune with your data.


Add Yt::ConnectionError

Coverage remained the same at 100.0% when pulling 9059be02d619ebfdf7a6d02ff79c243927c9c043 on add-connection-error into 43a42b6658ebd6df6e69b203a21f8f8eead15f71 on master.


No questions answered

when no questions are answered the correct solution is highlighted in green on the the solutions page. This should instead be all wrong answers highlighted red and the correct answer highlighted in green.

was fixed with commit 154b47f5e122127c0b7b2863d377252b952dd041


t.Literal type is ignored in favor of string during validation

What version of Elysia.JS is running?
1.0.22
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?
import { Elysia, t } from 'elysia'

new Elysia()
   .guard(
      {
        params: t.Object({
            id: t.Numeric(),
        }),
        query: t.Object({
          size: t.Union([
            t.Literal(512),
            t.Literal(128),
            t.Literal(64)
          ])
       })
    },
    (app) => app
       .get('/tracks/:id/cover', async ({ params: { id }, query: { size } }) => {
          return "Hello world!";
       })
    )
 .listen(3000);

This applies to both queries and params, showcased as query in the code above.
What is the expected behavior?
It should find the type that the t.Literal is, and cast the param/query to that before trying to compare to it.
What do you see instead?
I get this error when trying to access the page:
{
  "type": "validation",
  "on": "query",
  "property": "/size",
  "message": "Expected union value",
  "expected": {
    "size": 512
  },
  "found": {
    "size": "128"
  },
  "errors": [
    {
      "type": 62,
      "schema": {
        "anyOf": [
          {
            "const": 512,
            "type": "number"
          },
          {
            "const": 128,
            "type": "number"
          },
          {
            "const": 64,
            "type": "number"
          }
        ]
      },
      "path": "/size",
      "value": "128",
      "message": "Expected union value"
    }
  ]
}

Additional information
No response

Might be able to work around this by using t.String({ pattern: 'regex' }) 😮💨

Ah, and you could also use the TypeBox Compiler and then the format registry too.


Error since latetst HA update: "Unexpected error fetching aha Region data: list index out of range"

Since the lateste HA update, I get the following errors on HA restart and the AHA sensors don't show up. Everything was running before with the same config.
Logger: custom_components.aha_region
Source: custom_components/aha_region/coordinator.py:47
Integration: aha region ([documentation](https://github.com/flabbamann/aha_region), [issues](https://github.com/flabbamann/aha_region/issues))
First occurred: 06:28:24 (1 occurrences)
Last logged: 06:28:24

Unexpected error fetching aha Region data: list index out of range

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
    self.data = await self._async_update_data()
  File "/config/custom_components/aha_region/coordinator.py", line 77, in _async_update_data
    response = await self.api.get_data()
  File "/config/custom_components/aha_region/coordinator.py", line 47, in get_data
    table = soup.find_all("table")[0]
IndexError: list index out of range

Logger: homeassistant
Source: custom_components/aha_region/sensor.py:77
Integration: aha region ([documentation](https://github.com/flabbamann/aha_region), [issues](https://github.com/flabbamann/aha_region/issues))
First occurred: 06:28:41 (1 occurrences)
Last logged: 06:28:41

Error doing job: Task exception was never retrieved

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 414, in async_add_entities
    tasks = [
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 414, in <listcomp>
    tasks = [
  File "/config/custom_components/aha_region/sensor.py", line 62, in <genexpr>
    AhaWasteSensor(coordinator, wastetype) for wastetype in ABFALLARTEN
  File "/config/custom_components/aha_region/sensor.py", line 77, in __init__
    self._attr_native_value = self.coordinator.data[self._name]
TypeError: 'NoneType' object is not subscriptable

Yes, I know. The aha-website was down over the weekend. It should be working again after a restart of HA 👍

Hm, the website is back, but the "Abfuhrkalender" is disabled due to technical issues. We'll have to wait how that turns out. 😕

"Abfuhrkalender" is back online, but I keep getting errors when restarting HA and the sensors are not available.
Maybe something was changed on the AHA website that requires adjusting the integration?

Basically the website did not change and the component should still work (it does in my HA). But the website seemed to be a bit unreliable. I need to think of a way to get the component a bit more tolerant to errors on their end.

@flabbamann I have the same problem. Latest Home Assistant version and I can't get it to work. However, the "Abfuhrkalender" is available for me.

Hi @dennisoderwald,
If you get a timeout it is either the aha website not available or a problem with your network, so I'm afraid there is not much I can do 🙁
If you get a different error, please provide the debug logs.
logger:
  default: info
  logs:
    custom_components.aha_region: debug

2022-12-15 01:43:19.299 DEBUG (MainThread) [custom_components.aha_region] Response: <ClientResponse(https://www.aha-region.de/abholtermine/abfuhrkalender) [200 OK]>
<CIMultiDictProxy('Date': 'Thu, 15 Dec 2022 00:43:18 GMT', 'Server': 'Apache', 'X-Powered-By': 'PHP/7.4.33', 'Content-Language': 'de', 'Cache-Control': 'private, no-store', 'Set-Cookie': 'fe_typo_user=af234855d4bae39c7349da7cafab0ac8; path=/; httponly; samesite=lax', 'Strict-Transport-Security': 'max-age=31536000', 'Access-Control-Allow-Origin': '*', 'Upgrade': 'h2', 'Connection': 'Upgrade', 'Cache-Control': 'max-age=0', 'Expires': 'Thu, 15 Dec 2022 00:43:18 GMT', 'Vary': 'Accept-Encoding,User-Agent', 'Content-Encoding': 'gzip', 'X-UA-Compatible': 'IE=edge', 'X-Content-Type-Options': 'nosniff', 'Transfer-Encoding': 'chunked', 'Content-Type': 'text/html; charset=utf-8')>

2022-12-15 01:43:19.546 ERROR (MainThread) [custom_components.aha_region] Unexpected error fetching aha Region data: list index out of range
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 225, in _async_refresh
    self.data = await self._async_update_data()
  File "/config/custom_components/aha_region/coordinator.py", line 77, in _async_update_data
    response = await self.api.get_data()
  File "/config/custom_components/aha_region/coordinator.py", line 47, in get_data
    table = soup.find_all("table")[0]
IndexError: list index out of range

2022-12-15 01:43:22.216 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 414, in async_add_entities
    tasks = [
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 414, in <listcomp>
    tasks = [
  File "/config/custom_components/aha_region/sensor.py", line 62, in <genexpr>
    AhaWasteSensor(coordinator, wastetype) for wastetype in ABFALLARTEN
  File "/config/custom_components/aha_region/sensor.py", line 77, in __init__
    self._attr_native_value = self.coordinator.data[self._name]
TypeError: 'NoneType' object is not subscriptable

Hi @dennisoderwald,
I found the problem. Your Adress needs to specify an Abholplatz to get the pickup dates. I have not seen this before, all places I lived in Hannover did not have an Abholplatz 🤓.
I opened #25 and hope I will find some time to add support for this 🤞.


Remove unused app service variable values 'repository' and 'dockerfile'

All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[N/A] I have updated the documentation accordingly.
[N/A] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My code follows the code style of this project.
[x] I ran lint checks locally prior to submission.
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

What is the current behavior?

Currently, the as-isolated-service-single-region template assigns and expects the fields repository and dockerfile; however, these are not used by the app services that are created. The result is a confusing addition of required but unused variables.
Issue Number: Closes #209
What is the new behavior?

Behavior of the deployment does not change; however removal of the unused variables helps clarify usage.

[x] Removed https://github.com/microsoft/cobalt/blob/master/infra/templates/az-isolated-service-single-region/variables.tf#L45-L46 so that unused and unnecessary assignments would not be required
[x] Updated integration and unit tests to remove assignments
[x] Updated template .tfvars to remove assignments

Does this introduce a breaking change?

[NO] No breaking change -- corrects unnecessary and unused variable assignments

Any relevant logs, error output, etc?

N/A
Other information

Appears to be failing due to issues corrected in PR #303.


Sync commons-lang3 version for Bazel

Make sure set the target branch to develop
What is the purpose of the change
XXXXX
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #5103 (05870e1) into develop (8615007) will increase coverage by 0.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #5103      +/-   ##
=============================================
+ Coverage      43.26%   43.27%   +0.01%
- Complexity      7784     7788       +4
=============================================
  Files            996      996
  Lines          69230    69230
  Branches        9158     9158
=============================================
+ Hits           29951    29960       +9
+ Misses         35514    35504      -10
- Partials        3765     3766       +1

Impacted Files
Coverage Δ

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...mq/store/ha/autoswitch/AutoSwitchHAConnection.java
70.43% <0.00%> (-1.35%)
:arrow_down:

.../apache/rocketmq/store/ha/DefaultHAConnection.java
65.86% <0.00%> (-1.21%)
:arrow_down:

...cketmq/broker/schedule/ScheduleMessageService.java
55.26% <0.00%> (-1.18%)
:arrow_down:

...ache/rocketmq/broker/client/ConsumerGroupInfo.java
68.46% <0.00%> (-0.91%)
:arrow_down:

...e/rocketmq/remoting/netty/NettyRemotingClient.java
43.73% <0.00%> (-0.44%)
:arrow_down:

...ava/org/apache/rocketmq/filter/util/BitsArray.java
59.82% <0.00%> (ø)

...apache/rocketmq/store/timer/TimerMessageStore.java
54.28% <0.00%> (+0.09%)
:arrow_up:

...rocketmq/client/impl/factory/MQClientInstance.java
46.74% <0.00%> (+0.14%)
:arrow_up:

...nt/impl/consumer/ConsumeMessageOrderlyService.java
50.17% <0.00%> (+0.35%)
:arrow_up:

... and 8 more

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


Use custom character sprite

Current dependencies on/for this PR:

main

PR #50   👈

This stack of pull requests is managed by Graphite.


HPO annotation

Once the CSV reports in report/coding report/panel report/panel-flank is available, run the following or edit the dnaseq_cluster.pbs file with the target. Annotated reports are stored in report/hpo_annotated
snakemake --use-conda -s $SF --conda-prefix $CP --profile ${PBS} -p report/hpo_annotated

Properly names  reports inside report/panel and report/panel-flank with symlink
Copied  add_hpo_terms_to_wes.py from ~/cre/ -> ~/crg2/scripts and added 3rd argument to pass  directory

Looks good to me! Was able to generate the reports with hpo terms added :)


Add "Generate & Copy" button

I like the project but one feature I want to have it that is generating and copying text at the same time. I certainly need to copy it so it should make sense to implement that.

Thanks for posting the issues. There is a "Copy" button that appears once the paragraphs have been generated. Are you proposing an additional button that Generates and Copies the text simultaneously?

Yes, exactly. It would be better in my opinion.

I'm going to be leaving it as just a "generate" and "copy" button because I don't want a user to have to copy the text to their clipboard if they don't want to. The user might already be saving something to their clipboard that they want to use and it could be inconvenient for them to have that removed.

I understand. One solution is; you could add an extra button next to that "Generate" button. Two button, one of them "Generate" other is "Generate & Copy".
In the term of UX, your thoughts are not practical. If the one want some dummy text, they shouldn't already have sensitive informations in their clipboard. They are gonna copy some text, that's why they searched and entered a Lorem Ipsum website in the first place. Without that button, they will still copy something.
Thanks for spending your time to answering. If it's not convenient enough, I am okay with that.


Can't install using the package manager on ubuntu 16.04

I am unable to isntall this on ubuntu-16.0.4
have installed llvm-3.8, npm and node.js as instructed in teh error

<EMAIL_ADDRESS>install /tmp/apm-install-dir-11715-20784-1o4k8n5/node_modules/atom-clang/node_modules/segfault-handler
node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-11715-20784-1o4k8n5/node_modules/atom-clang/node_modules/segfault-handler/build'
CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
SOLINK_MODULE(target) Release/obj.target/segfault-handler.node
COPY Release/segfault-handler.node
make: Leaving directory '/tmp/apm-install-dir-11715-20784-1o4k8n5/node_modules/atom-clang/node_modules/segfault-handler/build'

<EMAIL_ADDRESS>install /tmp/apm-install-dir-11715-20784-1o4k8n5/node_modules/atom-clang
node-gyp rebuild

make: Entering directory '/tmp/apm-install-dir-11715-20784-1o4k8n5/node_modules/atom-clang/build'
CXX(target) Release/obj.target/clang/src/clang_translationunit.o
clang.target.mk:122: recipe for target 'Release/obj.target/clang/src/clang_translationunit.o' failed
make: Leaving directory '/tmp/apm-install-dir-11715-20784-1o4k8n5/node_modules/atom-clang/build'
In file included from ../src/clang_translationunit.cpp:9:0:
../src/clang_helpers.hpp:8:27: fatal error: clang-c/Index.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/clang/src/clang_translationunit.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/atom/resources/app/apm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-59-generic
gyp ERR! command "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-11715-20784-1o4k8n5/node_modules/atom-clang
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-11715-20784-1o4k8n5/package.json'
npm WARN apm-install-dir-11715-20784-1o4k8n5 No description
npm WARN apm-install-dir-11715-20784-1o4k8n5 No repository field.
npm WARN apm-install-dir-11715-20784-1o4k8n5 No README data
npm WARN apm-install-dir-11715-20784-1o4k8n5 No license field.
npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/sam/.atom/.apm/.apmrc" "--userconfig" "/home/sam/.atom/.apmrc" "install" "/tmp/d-11715-20784-122662n/package.tgz" "--runtime=electron" "--target=1.3.13" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the atom-clang package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs atom-clang
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls atom-clang
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-11715-20784-1o4k8n5/npm-debug.lo

../src/clang_helpers.hpp:8:27: fatal error: clang-c/Index.h: No such file or directory tells me that you do not have llvm installed correctly or atom cannot find the llvm-config executable. How did you install LLVM? APT or tar.gz or build it from source?
Can you execute llvm-config --includedir on the command line and get any output? For example, on my Macbook
$ llvm-config --includedir
/opt/local/libexec/llvm-3.9/include

Hi Joe
Thanks for the quick reply!
As you suggested I did not have llvm installed correctly, I fixed this as
seen below
llvm-config --includedir
/usr/lib/llvm-3.8/include
unfortunately this has not fixed the installation - my latest error:

<EMAIL_ADDRESS>install /tmp/apm-install-dir-11715-30387-ecfh5n/node_modules/atom-clang/node_modules/segfault-handler
node-gyp rebuild

make: Entering directory
'/tmp/apm-install-dir-11715-30387-ecfh5n/node_modules/atom-clang/node_modules/segfault-handler/build'
CXX(target) Release/obj.target/segfault-handler/src/segfault-handler.o
SOLINK_MODULE(target) Release/obj.target/segfault-handler.node
COPY Release/segfault-handler.node
make: Leaving directory
'/tmp/apm-install-dir-11715-30387-ecfh5n/node_modules/atom-clang/node_modules/segfault-handler/build'

<EMAIL_ADDRESS>install /tmp/apm-install-dir-11715-30387-ecfh5n/node_modules/atom-clang
node-gyp rebuild

make: Entering directory
'/tmp/apm-install-dir-11715-30387-ecfh5n/node_modules/atom-clang/build'
CXX(target) Release/obj.target/clang/src/clang_translationunit.oclang.target.mk:122:
recipe for target
'Release/obj.target/clang/src/clang_translationunit.o' failed
make: Leaving directory
'/tmp/apm-install-dir-11715-30387-ecfh5n/node_modules/atom-clang/build'
In file included from ../src/clang_translationunit.cpp:9:0:
../src/clang_helpers.hpp:8:27: fatal error: clang-c/Index.h: No such
file or directory
compilation terminated.
make: *** [Release/obj.target/clang/src/clang_translationunit.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit
(/opt/atom/resources/app/apm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-59-generic
gyp ERR! command "/opt/atom/resources/app/apm/bin/node"
"/opt/atom/resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-11715-30387-ecfh5n/node_modules/atom-clang
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open
'/tmp/apm-install-dir-11715-30387-ecfh5n/package.json'
npm WARN apm-install-dir-11715-30387-ecfh5n No description
npm WARN apm-install-dir-11715-30387-ecfh5n No repository field.
npm WARN apm-install-dir-11715-30387-ecfh5n No README data
npm WARN apm-install-dir-11715-30387-ecfh5n No license field.
npm ERR! Linux 4.4.0-59-generic
npm ERR! argv "/opt/atom/resources/app/apm/bin/node"
"/opt/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js"
"--globalconfig" "/home/sam/.atom/.apm/.apmrc" "--userconfig"
"/home/sam/.atom/.apmrc" "install"
"/tmp/d-11715-30387-1cxcbox/package.tgz" "--runtime=electron"
"--target=1.3.13" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the atom-clang package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs atom-clang
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls atom-clang
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-ins
On Sun, Feb 5, 2017 at 6:15 PM, Joe Roback<EMAIL_ADDRESS>wrote:

../src/clang_helpers.hpp:8:27: fatal error: clang-c/Index.h: No such file
or directory tells me that you do not have llvm installed correctly or
atom cannot find the llvm-config executable. How did you install LLVM?
APT or tar.gz or build it from source?
Can you execute llvm-config --includedir on the command line and get any
output? For example, on my Macbook
$ llvm-config --includedir
/opt/local/libexec/llvm-3.9/include
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joeroback/atom-clang/issues/23#issuecomment-277537598,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRbtvmVrzg95XO6Qrx6_utpGphy_VwEks5rZhHSgaJpZM4L3f8z
.

atom is still not able to find llvm... I have a VM with 16.04 on can try. Can you please let me know how you installed LLVM so I can replicate? APT? Source? Binary tar.gz from LLVM.org? Thanks.

hi joe I ran sudo apt install llvm
On Sun, Feb 5, 2017 at 10:22 PM, Joe Roback<EMAIL_ADDRESS>wrote:

atom is still not able to find llvm... I have a VM with 16.04 on can try.
Can you please let me know how you installed LLVM so I can replicate? APT?
Source? Binary tar.gz from LLVM.org? Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joeroback/atom-clang/issues/23#issuecomment-277554819,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRbtlgWoG9qdGttbuwxFCjuG1S4hrREks5rZkuxgaJpZM4L3f8z
.

if you are installing from the ubuntu repositories, i think you need the package libclang-3.8-dev

so on my VM fresh UbuntuGnome 16.04 install using Atom 1.13.1, I had to apt-get these
apt-get install zlib1g-dev g++ libclang-3.8-dev llvm-3.8-dev

I'll update the docs on my next feature push. Thanks for the report.

great thanks I will give that a go this eve
On Tue, Feb 7, 2017 at 3:01 AM, Joe Roback<EMAIL_ADDRESS>wrote:

so on my VM fresh UbuntuGnome 16.04 install using Atom 1.13.1, I had to
apt-get these
apt-get install zlib1g-dev g++ libclang-3.8-dev llvm-3.8-dev
[image: image]
https://cloud.githubusercontent.com/assets/156174/22676128/e74b54fc-eca6-11e6-9ad9-0716293d96ed.png
I'll update the docs on my next feature push. Thanks for the report.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joeroback/atom-clang/issues/23#issuecomment-277887510,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRbtul0sIHwjog9mmBt0tNJoy7uogJDks5rZ96XgaJpZM4L3f8z
.

many thanks - all installed!
On Tue, Feb 7, 2017 at 11:49 AM, Sam Swift-Glasman<EMAIL_ADDRESS>wrote:

great thanks I will give that a go this eve
On Tue, Feb 7, 2017 at 3:01 AM, Joe Roback<EMAIL_ADDRESS>wrote:

so on my VM fresh UbuntuGnome 16.04 install using Atom 1.13.1, I had to
apt-get these
apt-get install zlib1g-dev g++ libclang-3.8-dev llvm-3.8-dev
[image: image]
https://cloud.githubusercontent.com/assets/156174/22676128/e74b54fc-eca6-11e6-9ad9-0716293d96ed.png
I'll update the docs on my next feature push. Thanks for the report.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joeroback/atom-clang/issues/23#issuecomment-277887510,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRbtul0sIHwjog9mmBt0tNJoy7uogJDks5rZ96XgaJpZM4L3f8z
.


Fix calendar BVMF for 2022-01-25

BVMF was opened on 2022-01-25, if you look into their holidays calendar for this day: https://www.b3.com.br/en_us/solutions/platforms/puma-trading-system/for-members-and-traders/trading-calendar/holidays/
It is there, but with description that everything will be open.
Note that I did not add link to holidays calendar on their website into code as it is temporary, as they don't keep holiday schedule on the web long into past
Workflow to modify an existing Exchange Calendar

[x] Modify calendar class as required.
[x] Modify the test resources file (e.g tests/resources/{Exchange MIC}.csv), either manually or by executing python etc/make_exchange_calendar_test_csv.py {Exchange MIC}.
[x] Check if any of the fixtrues in tests/test_{Exchange MIC}_calendar.py need updating to reflect your changes.
[x] Add references to any new/modified holidays in exchange_calendars/exchange_calendar_{Exchange MIC}.py.

Awesome - thanks!


Security

Is it possible to use wss:// instead of ws:// for the proxy ?

I just seen your post in Issues

Please see https://github.com/x25/coinhive-stratum-mining-proxy/issues/4


Expo router problem after installing axios

I initialized a new app using npx create-expo-stack@latest but when I installed axios using npm install axios I got this error Module '.. /.. /components/edit-screen-info was resolved  to' d:/project/e-learning/components/edit-screen-infov.tsx' but '--jsx' is not set, i fixed it by adding jsx in my configuration file but now getting this error

Hey I'll take a look at this on my flight today. Thanks for posting!

Hey I'll take a look at this on my flight today. Thanks for posting!

Waiting

Just ran this command:
Your project configuration:
{
  projectName: 'my-expo-app',
  packages: [
    {
      name: 'expo-router',
      type: 'navigation',
      options: { type: 'tabs' }
    },
    { name: 'nativewind', type: 'styling' }
  ],
  flags: {
    noGit: false,
    noInstall: false,
    overwrite: false,
    importAlias: true,
    packageManager: 'npm'
  }
}

To recreate this project, run:
  npx create-expo-stack my-expo-app --expo-router --tabs --nativewind```

Then ran:

`npm install axios`

And lastly updated `./app/(tabs)/index.tsx` with the following code:

import * as React from 'react';
import { Text, View } from 'react-native';
import axios from 'axios';
import EditScreenInfo from '../../components/edit-screen-info';
export default function TabOneScreen() {
React.useEffect(() => {
fetchData();
}, []);
const fetchData = async () => {
try {
const response = await axios.get('https://jsonplaceholder.typicode.com/todos/1');
console.log(response.data);
} catch (error) {
console.error(error);
}
};
return (

Tab One

);
}
const styles = {
container: items-center flex-1 justify-center,
separator: h-[1px] my-7 w-4/5 bg-gray-200,
title: text-xl font-bold,
};

This properly returns the desired JSON object in the console.

Closing this issue as a non-issue until a proper repro is provided.


rTorrent not loading in dashboard

Reporting Issues:
To ensure that a I has enough information to work with please include all of the following information.
Use proper markdown syntax to structure your post (i.e. code/log in code blocks).
Make sure you provide the following information below:

[ ] Version
Git

[ ] Branch
master2

[ ] Commit hash
6734237c2959f5979219510a4d9a206565e037b9

[ ] Operating system
Linux-4.14.49-unRAID-x86_64-with

[ ] Python version
2.7.15 (default, Aug 16 2018, 14:17:09) [GCC 6.4.0]

[ ] What you did?
HTPC Manager connects successfully to rTorrent under settings. However, when I click on rTorrent on the dashboard, I only see a rotating circle as if to indicate that it's trying to load the page.

[ ] What happened?
When I click on rTorrent on the dashboard, I only see a rotating circle as if to indicate that it's trying to load the page.

[ ] What you expected?
I expect to see the current files in the rTorrent queue.

[ ] How can we reproduce your issue?
Install ruTorrent 3.8 (rTorrent 0.9.7)

[ ] What are your (relevant) settings?
Under rTorrent,
Enable -> Yes
Menu Name -> rTorrent
Use SSL -> No
Host -> http://<IP_ADDRESS>:9080
RPC Path -> RPC2
Username -> admin
Password -> ***

[ ] Include a link to your FULL (not just a few lines!) log file that has the error. Please use Gist or Pastebin.

https://pastebin.com/rWkqcKQC
Close your issue when it's solved! If you found the solution yourself please comment so that others benefit from it.
Link to log:
https://pastebin.com/rWkqcKQC

does the rtorrent module work?

The rTorrent module works perfectly when accessed directly.

I meant the rtorrent module inside htpc manger?  Not the one on the dashboard.

Yes, the rTorrent module responds correctly when I set it up via Settings. However, once I enable this module and click on the rTorrent menu on the dashboard, HTPC Manager only displays a rotating circle.


fix(commands)!: open nested files default to open instead of expand

use { "open", config = { expand_nested_files = true } } for old behavior
no_expand_file options is deprecated, move to expand_nested_files (OPPOSITE)

Wait is this really related to this PR?
I really cannot find the cause.
Would you mind rerunning the test action @cseickel ?

I reran it twice and it has the same result @pysan3 .

I reran it twice and it has the same result @pysan3 .

Thanks, ok so it should be on me.
I really can't stop anything wrong now so let me come back to this later on.


Task annotations on java fields

According to their documentation, the task annotations (@Input, @OutputFile, ...) have to be placed on the getter-method when using java:

This annotation should be attached to the getter method in Java or the property in Groovy. Annotations on setters or just the field in Java are ignored.

This documentation seems to be wrong. I'm successfully using the annotations on java fields: https://github.com/freefair/gradle-plugins/blob/869c0b64c3d8caea95e6fbddccf7ed6f1f57bdc7/jsass-plugin/src/main/java/io/freefair/gradle/plugins/jsass/SassCompile.java#L150-L226 (The getters and setters are generated by lombok)
I'd like to propose to explicitly allow these annotations to be placed on java fields.

Are you sure the annotations work, e.g. are taken into account for up-to-date checking?

I finally had a chance to look into this issue. Your code works, because you generate getters and we merge annotations from getters and corresponding fields:
https://github.com/gradle/gradle/blob/d73a0d258ba295db698fb19f893e476b34c86552/subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/DefaultPropertyMetadataStore.java#L188
@gradle/build-cache Do you think we should document this better?

I don't think we should document this better. We currently gather the annotations from the fields, since that is what happens when you annotate Groovy properties:
class MyTask extends DefaultTask {
    @Input
    String myInput
    ...
}

You will will get a validation error if the annotations are placed on a private getter and we will not discover the annotation on the field if there is no public getter.
What is the advantage for you to be able to annotate private fields without getter with the task input/output annotations?

I think @larsgrefer's use case is similar to the Groovy one: He'd like to use Lombok to generate the getters for him. We had a discussion in https://github.com/marcphilipp/nexus-publish-plugin/pull/5#discussion_r232490815 about whether these annotations need to be on getters or fields.

note that javac replicates a method's annotations to its synthetic derivatives (eg: accessor methods of private methods to be invoked by inner classes). it may do the same for field annotations.
likewise, groovy might replicate a field's annotations to its getter, IDK.
now on to my issue....

You will will get a validation error if the annotations are placed on a private getter

why??? this was totally ok on gradle 2. take a look at this code:
https://github.com/DexPatcher/dexpatcher-gradle/blob/v1.0.0/src/main/groovy/lanchon/dexpatcher/gradle/tasks/DexpatcherTask.groovy#L98-L99
the objective is to allow either one file or one directory as the property value, but only ONE value. there is no @InputFileOrDirectory annotation, and @InputFiles allows collections. in the general case, what is being done here is relying on standard property validation but with some preprocessing done before it. why was this deprecated? how should it be handled on gradle 5?


[New game]: THE LAST SPARTAN 👾

🎮 Game Request
Game logic and basic description

Cut your enemies to pieces and defend your homeland! Can you, the last Spartan Hoplite of your battalion, earn an honorable death across thousands of procedurally generated battlefields?
No retreat. No surrender. No way out alive.
Kill as many Athenians as you can before you meet the same fate. Then try again.

Point down the features
Game points

Rest from battle to regain your health and stamina. Health and stamina are represented onscreen by the red and blue bars, respectively.
Use your spartan charge and ground pound attacks to stun your enemies and gain the upper hand.

Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @0xabdulkhalid ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


fix: extends / layers support for i18n.config.ts

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.4.1
Nitro Version:    2.3.3
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, i18n
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-akfq2d?file=playground%2Fnuxt.config.ts
Describe the bug
A project extending another one that uses the new i18n.config.ts errors as the file path is not resolved properly.

Hi I am facing similar issue when I am trying to use resolver for langDir
  i18n: {
    lazy: true,
    strategy: 'no_prefix',
    langDir: resolve('./locales'),
    locales: [{ code: 'cs', file: 'cs.yml' }],
 }

Since I am using layers, I cannot use just ./locales as it is described in the docs, because it seems that it resolves only the last cs.yml because the path is relative. So if I use /layer/locales/cs.yml with any translations here and then in the same layer try to use them. and in the project (last layer) create an empty locales/cs.yml it doesn't see the layer cs.yml messages.. when I check virtual files it looks like this
nuxtI18nOptions.locales = [
  Object({ code: 'cs', file: 'cs.yml', path: '/home/kleinpetr/Projects/.../apps/top-layer-app/locales/cs.yml' }),
  Object({ code: 'cs', file: 'cs.yml', path: '/home/kleinpetr/Projects/.../apps/top-layer-app/locales/cs.yml' }),
]

My folder structure (avoided generic files)
├── apps
│   └── top-layer-app
│       ├── locales (here I have just empty cs.yaml)
│       ├── nuxt.config.ts (i18n config as above)
├── layers
│   ├── components
│   │   └── test-components (in this layer I have messages and components which using them)
│   │       ├── locales
│   │       ├── nuxt.config.ts (i18n config as above)

So it seems that it creates two times the same path, relative path to the .nuxt/i18n.options.mjs I guess.
When I use resolver as I have to use for most other plugins, I am getting the same error which you are getting with your issue. That the import failed to resolve

I've fixed this issue.
Please check edge channel 8.0.0-beta.11-28059008.d1499b6 version.
Thanks!

Works for me! Thanks :heart:

The build pipeline still shows some random 500 errors, apparently connected to https://github.com/maevsi/maevsi/actions/runs/4918226248/jobs/8784294069?pr=1181#step:7:5128. At least my laptop crashed while trying to check if there is a memory leak, which is a good indication :wink:

Where we can expect it in the stable release?

This fix is part of beta.12


Autofill URL and TOKEN in debug mode.

Autofill URL and TOKEN when running in debug mode using mobile devices.
flutter run --dart-define=URL=ws://<IP_ADDRESS>:7880  --dart-define=TOKEN=eyJhbGciOiJIU......

 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.


Suggest to install libiconv too.

Fresh Cygwin installation without wget:
bash# apt-cyg --help
You must install wget, tar and gawk to use apt-cyg.

I am adding a missing dependency and then attempt to install bash-completion:
bash# apt-cyg completion-install
Error: Required command [iconv] not found.
at : /home/user/.local/bin/apt-cyg: assert_command_exists: 84

Seems modern Cygwin comes only with libiconv2, which misses iconv utility...
In the README.md you already mention:

apt-cyg requires the Cygwin default environment and the additional Cygwin packages:
wget, ca-certificates, gnupg, libiconv

Please update the message of apt-cyg --help to include  libiconv (& gnupg ??) if you require them anyway...

Thanks for your suggestion.
How about the above change?

Looks sound. Led to elimination of extra function - less is better ))


Docs rendering weird, text vertical

Describe the bug
Text is vertical

To Reproduce

Go to here https://docs.rs/async-stripe/latest/stripe/index.html
Webpage looks weird

Expected behavior
Text should be horizontal
Code snippets
No response
OS
Windows
Rust version
N/A
Library version
async-stripe 0.31.0
API version
2023-10-16
Additional context
No response

Disabling overflow-wrap: break-word; or display: table-row; seems to fix the issue on the doc

It seems like somewhat of a tough situation, the docs are this way do to some exceptionally long type names PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorization which we don't have a huge amount of control over, we can modify the CSS using --extend-css when using rustdoc but I don't know if docs.rs has a way to do that.

On mobile they wrap correctly so it seems like one of rustdoc's media queries for desktop is not built ideally. I don't want to do anything regarding trying to collapse the names as we use the types verbatim from stripe so my best suggestion is we open an issue with rustdoc. If you'd like to open one please link back to this issue.
I'll investigate overriding css on docs.rs in the meantime.

For now, here's a quick bookmarklet that will make it readable:
javascript:(function() {     var style = document.createElement('style');     style.type = 'text/css';     style.innerHTML = '.item-table > li > div { display: inherit !important; }';     document.head.appendChild(style); })();

Thanks for opening that issue and the owrkaround.

I think I will close this issue, since there is not much more we can do here. Thanks again for opening another ticket upstream.


feat(daffio): render design component guide and API docs with tabs

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
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 related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: #3366
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@xelaint lmk what you think about the implementation and I'll fix the tests if there are no changes that need to be made

@griest024 Can we hide API usage examples, specifically only for @daffodil/design? I'll be updating docs to include usage examples in the readme files.


Consider moving to reserved EC2 instances?

cc @edunham @metajack
We're finding that, particularly after any network hiccups, buildbot is really bad about spinning up a new EC2 latent instance. I also can't figure out how to connect one - if you do the obvious thing of spinning one up and starting buildbot on it, you get an error because the master is not in the process of starting it up (the only time when the latent ones can connect). And the master doesn't seem to spin up new ones unless you restart it, which is really hard to time between homu runs w/o breaking other things.
Is there some command I'm missing here that I could be using instead?
Or, should we consider moving to EC2 reserved instances? Even using a smaller instance type would help, as we're basically running with only one EC2 instance anyway most of the time.
We didn't see this as much before because we always had my linode instance to "pick up the slack".

I'm not sure what changed, but this seems like it used to be much more reliable.
I'm not opposed to reserved instances (I assume for 1yr periods), but this is likely to make our AWS bill quite a bit higher potentially.

Or in other words, my only objection would be financial. If it fits in budget, let's do it.

@metajack Do you remember what the speed difference was between c4.4xlarge and c4.2xlarge? Should we re-run some tests? The 2xlarge is a little under half the price of 4xlarge, and before we do some reserved instances, I was just curious how much time it's saving us on our runs :-)

We should definitely do this ASAP.  Perusing the buildbot bug tracker it looks like these issues have been known and unfixed for 5 years, and also that slave attach and detach is non-atomic and has all sorts of bad edge cases as a result. Moving to reserved instances would eliminate slave churn and probably get rid of all the trouble.
Here's what I think should happen:

Some script that will launch a slave given the instance type, AZ, AMI id, and the access and secret keys as inputs. The userdata needed to bootstrap the instance is in the buildbot/master/master.cfg in salt.

Test build time for release builds on instance types that are 1 or even 2 down. That's c4.8xlarge, c4.4xlarge, and c4.2xlarge I think. If that doesn't have a huge affect on build times, we should use cheaper instances. Note that you'll need to adjust the parallelism in the build steps to account for the reduced number of cores (you might also play a bit with the settings to see which one is optimal). We'll want the cost numbers at this point so we can compare to budget and old cost.

Once the best instance is decided, fire up 2x that instance as 1yr reserved instances, and change our slave config to use those instead of latent slaves. Note that we can add new slaves that are not latent slaves to the existing pool and have both configs running at once during testing to minimize interruption if needed.

Move servo-master to a reserved instance of some super cheap instance type.

@larsbergstrom I don't think I ever did tests. I did try various --processes values for running wpt and css tests which is where most of the speedup was gained with many cores.

OK, I've done #1 and #2 from jack's steps above. It looks like getting some 4xlarge instances would save a ton of money, not cost much time, and also leave room for adding more of them as we add more tests. But we can also just get the 8xlarges reserved, too :-)
Price info is from https://aws.amazon.com/ec2/instance-types/, assuming we stay with US-WEST-2.
Raw data below:
c4.8xlarge (36vCPUs, info from linux-rel, $2.10/hour on-demand, $1.34 1year reserved)
compile - 11mins, 56sec
test-wpt "./mach test-wpt --release --processes 24 --log-raw test-wpt.log" - 4mins, 9sec
test-css "./mach test-css --release --processes 24 --log-raw test-css.log" - 5mins, 42sec
build-cef - 11mins, 9sec
c4.4xlarge (16vCPUs, $0.67 / hour reserved 1year upfront)
compile(scratch) 16.28min
compile(rm -rf target) 12m28s
compile(rm -rf target w/ "-j 12") 12m36s
compile(rm -rf target w/ "-j 24") 12m38s
test-wpt w/ 16 processes - 5min
test-wpt w/ 20 processes - 4m24s
test-wpt w/ 24 processes - 3m56s
test-wpt w/ 28 processes - 3m43s
test-wpt w/ 32 processes - 3m32s
test-css w/ 16 processes - 8m49s
test-css w/ 24 processes - 8m10s
c4.2xlarge (8vCPUs, $0.33/hour reserved upfront)
compile(scratch) 19.45min
compile(rm -rf target) 14m14s
test-wpt w/ 8 processes - 9.6min
test-wpt w/ 12 processes - 7.1min
test-wpt w/ 16 processes - 5min, 56s
test-css w/ 8 processes - 15m26s
test-css w/ 16 processes - 14m5s
c4.xlarge (4vCPUs, $0.11/hour reserved upfront)
compile (rm -rf target) 20m29s
test-wpt w/ 4 processes - 18m37s
test-wpt w/ 8 processes - 11m6s
test-css w/ 4 processes - 27m16s

Here's our usage data for the last two weeks on the linux builders w/ on-demand usage. Note that we're still having a LOT of trouble getting it to spin up a second builder reliably, so the 23/24/25 hour usage days are probably underrporting what we would have used if things were working properly.
1/19/16 - 24
1/20/16 - 15
1/21/16 - 36
1/22/16 - 11
1/23/16 - 9
1/24/16 - 4
1/25/16 - 25
1/26/16 - 32
1/27/16 - 39
1/28/16 - 23
1/29/16 - 23
1/30/16 - 15

One extra note - the default Ubuntu 14.04 images on amazon only have 7.5GB, which is barely enough for a single-flavor Servo build. The image brought over from Daala has ~400GB, which seems sufficient for our several different flavors/builds that each of the images bring up (a casual inspection of one of the builders being shared across targets showed about 55GB free).

We decided to pay for a full year upfront. The hourly cost for that is $0.526. With half up front, the cost is $0.537. Nothing up front is $0.621, on a c4.4xlarge
Note that we currently pay $2.098/hour for our on-demand c4.8xlarge

Does this affect the buildbot restarting instructions? In particular, I believe there are no more on-demand EC2 instances so is using the "graceful shutdown" still necessary?

@aneeshusa Thanks! I've cleaned up the instructions a bit and removed the bit about the latent builders.


[Testing] Refactor Echo logic for assigning default ports

Split out from #14614

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: nmittler
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS [nmittler]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nmittler: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio-pilot-multicluster-e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio-pilot-multicluster-e2e-master

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio-pilot-multicluster-e2e-master

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e-bookInfoTests-trustdomain.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-bookInfoTests-trustdomain-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: howardjohn, nmittler
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS [nmittler]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/test all

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio-pilot-multicluster-e2e-master

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e_pilotv2_auth_sds.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio_auth_sds_e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: howardjohn, nmittler, ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS [nmittler,ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/test istio_auth_sds_e2e-master

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e-dashboard.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-dashboard-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e-dashboard.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-dashboard-master

prow/e2e-mixer-no_auth.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-mixer-no_auth-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e-dashboard.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-dashboard-master

prow/e2e-mixer-no_auth.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-mixer-no_auth-master

prow/e2e_pilotv2_auth_sds.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio_auth_sds_e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio_auth_sds_e2e-master
/test e2e-mixer-no_auth-master
/test e2e-dashboard-master

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e-dashboard.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-dashboard-master

prow/e2e-mixer-no_auth.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-mixer-no_auth-master

prow/e2e_pilotv2_auth_sds.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio_auth_sds_e2e-master

prow/istio-unit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio-unit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e-dashboard.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-dashboard-master

prow/e2e-mixer-no_auth.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test e2e-mixer-no_auth-master

prow/istio-unit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio-unit-tests-master

prow/e2e_pilotv2_auth_sds.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio_auth_sds_e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio_auth_sds_e2e-master
/test integ-mixer-k8s-presubmit-tests-master
/test istio-unit-tests-master

@nmittler: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-mixer-k8s-presubmit-tests.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test integ-mixer-k8s-presubmit-tests-master

prow/e2e_pilotv2_auth_sds.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio_auth_sds_e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio_auth_sds_e2e-master

@nmittler: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e_pilotv2_auth_sds.sh
4f1d5aa1312789046bf81ccba1c7a9a0c8c743e8
link
/test istio_auth_sds_e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio_auth_sds_e2e-master


Observable of changes

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Expected behavior
I'm not sure if this is already in akita some where, but I could not find it.
When using a EntityStore and calling .update(1, {something: true})
I would like to be able to have an observable stream with the entities that got changed.
The use case is that as an entity changes I would like to check if a property has changed, and run an animation.
At the moment I must either do a selectAll() and loop though the entities.
or do a selectEntity(1), but I do not know the id of the entity, I would simply like to react to any change.
This would allow for a more event driven setup where you can hook into changes coming from a particular store.
Would this be possible?
Would it be a good idea?

I will create the following query method:
query.selectUpdatedEntityIds().subscribe(ids => ...)
Sounds ok?

Just to be aligned with the API, it will be a BehaviorSubject that fires immediately.

@NetanelBasal Thanks, that is just what I needed :)


Empty files opened in ranger term rather than neovim buffers

nvim --version:

NVIM v0.6.1
Build type: Release
LuaJIT 2.0.5
Compiled by builduser

Features: +acl +iconv +tui

Operating system/version:

Linux arch 5.15.12-arch1-1 #1 SMP PREEMPT Wed, 29 Dec 2021 12:04:56 +0000 x86_64 GNU/Linux

nvim +'checkhealth rnvimr':

rnvimr: health#rnvimr#check
========================================================================
## OS
  - OK: Name: Linux

## Ranger
  - OK: Version: ranger 1.9.3

## Python
  - OK: Version: 3.10.1 (main, Dec 18 2021, 23:53:45) [GCC 11.1.0]

## Pynvim
  - OK: Version: 0.4.3

## Ueberzug (optional)
  - WARNING: Ueberzug is not found in Python Lib

## RPC
  - OK: RPC echo: Neovim send "Give me five!" and receive "Give me five!"

Describe the bug
Steps to reproduce the behavior:

use the following init.lua:

require('packer').startup({function(use)

  use 'wbthomason/packer.nvim'

  use 'kevinhwang91/rnvimr'

end})

use the following rifle.conf in ~/.config/ranger.
The difference between this one and the default one is that I change the line to fix the issue

label open, has xdg-open = xdg-open -- "$@"

to
label open, has xdg-open = xdg-open "$@"

Run xdg-mime default nvim.desktop inode/x-empty to use neovim to open empty files
Start neovim, open ranger in neovim, use touch to create some empty file.
Open that empty file

Expected behavior
The file is opened in neovim.
Screenshots
If applicable, add screenshots to help explain your problem.

Make  sure label editor, !mime ^text, !ext filetypes  = ${VISUAL:-$EDITOR} -- "$@" label pager,  !mime ^text, !ext filetypes  = $PAGER -- "$@"   have a higher priority than label open, has xdg-open

@kevinhwang91 This won't fix. The empty file you create should not have any suffix, for exmaple abcdefg. Thus this can only be catch up by xdg-open, but in this case I want to edit it in neovim.

Can't understand what you mean.
Rnvimr only monkey patch ${VISUAL:-$EDITOR}  candidate for Ranger but keep others' order.
Press r in Ranger will show you the candidates of item you selected.

Ok, I got it, thanks for your patience.


Collection of core package updates with breaking changes

This is a collection of changes which should be merged before the first 16.xx release of nixos. The most problematic and annoying change is gcc5 which sets the c and c++ standard to c11 and c++11 by default up from 89. Almost every core package has been patched / updated to make this change work but I'm sure there are still lots of fringe things that I haven't been able to test and therefore can't validate as working. Getting a hydra build for these changes would be incredibly helpful / insightful.

cc @vcunat @edolstra

gcc5 which sets the c and c++ standard to c11 and c++11 by default up from 89

I wonder if it's easier to override this in stdenv so that the default standard remains as before. It might take some time before upstream adapts to this behavior.

Yeah maybe we do that, but unfortunately an override like that might break
things which expect 99 or 11. Can we make the override conditional, only if
a std flag isn't passed?
On Sun, Aug 30, 2015, 00:06 Vladimír Čunát<EMAIL_ADDRESS>wrote:

gcc5 which sets the c and c++ standard to c11 and c++11 by default up from
89
I wonder if it's easier to override this in stdenv so that the default
standard remains as before. It might take some time before upstream adapts
to this behavior.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/pull/9543#issuecomment-136094089.

I don't see a problem in passing --std=foo twice. My gcc isn't complaining, so I assume the last one holds, as usual.

Please don't merge such major change in the future without more review / consensus. For example, you didn't address how we're going to handle the GCC ABI change, and I see you also reintroduced OpenSSH 7 without explaining how we're going to deal with the key type deprecations (401782cb678d2e28c0f7f2d40c6421624f410148). These things should also really be done in separate PRs (e.g. we already have a PR for GCC 5 - https://github.com/NixOS/nixpkgs/pull/7807).
I've reverted this (741bf840dad05cd1728481045466811ae8ae8281).


Implement L7 Spy application

Implement the L7 Spy SnS application as specified in the design. In particular, ensure that the following is implemented:

[ ] Integrate nDPI timing with the SnS loop.
[ ] Flow state objects.
[ ] Shared detection state objects.
[ ] Flow identification.
[ ] Application/protocol detection.
[ ] Attaching metadata to packets.
[ ] Transparently forwarding packets.

This has now been merged in the swall-starfruit branch.