[1.20.1] Liquids from Fluid drawers disappear (sometimes) when re-entering

DO NOT REPORT AN ISSUE IF YOU HAVEN'T TESTED THE ISSUE WITH THE LATEST VERSION IN CURSEFORGE
Functional Storage Version: 1.2.12
Titanium Version: 3.8.32
When re-log, sometimes all liquids disappear. Sometimes a part. Sometimes only in some drawers, sometimes in all...
before/after re-log

before/after re-log

before/after re-log

before/after re-log

occurs on modpack TerraFirmaGreg 0.8.1

Does this happen without shaders / sodium ?

Does this happen without shaders / sodium ?

i deleted sodium and Oculus

Sooo...
I did just a couple of tests....
And here are the results of the observations:
To begin with, because I remembered that in the previous version of the modpack and mod everything worked without problems, I created a duplicate of modpack, and created a new world. Everything worked fine there.
This confused me.
I created a duplicate modpack again, but this time I copied it along with the worlds. In the old worlds, it didn't work and the content was lost when you re-loged:

Next, I created a new world in this duplicate modpack, and it worked there, but sometimes misfired:

// The strangest thing is that according to these screenshots, I thought that it was an upgrade issue, and put drover without upgrade in the same place, and a control one with an upgrade on top.... and.. nothing happened....//

I continued my experiments, and went to the original modpack and the old world:

old world but different place in the world: No change

I decided to check what happens if I put the drovers in the old place (where they were before I updated the version of the modpack and mod, respectively):

I was interested in the fact that some of the content remained untouched, and I decided to test the hypothesis by putting drovers at the junction of chunks, one of which previously had drovers.:

The hypothesis was confirmed : The content was lost only in the chunk, where previously there were drovers of the old version of the mod
//Although it is strange that it works every other time//

I apologize for so much text and screenshots. But I tried to check all possible cases, and gather as much information as possible.


WIP: Add initial psql wire protocol support

Limitations:

Only simple protocol is implemented
Only String columns can be selected

lgtm


Bump go to v1.20

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
716

Relevant Lines:
806

💛  - Coveralls


Does not remember minimized windows nor Z order

As the title says. For example, if I have 5 windows in total with 3 of them being minimized at the time of exit, then upon starting VSCode those 3 minimized windows are not minimized as they were previously, moreover windows seem to be spawned in random order, so it doesn't respect their previous Z order too (I find this a bit annoying). This is on Windows 10 x64 (in case that matters).
Another issue where this was mentioned in is (about virtual desktops): #146915
But there's more bad news, I found that VSCode does not work correctly for that kind of windows which you drag-n-drop (from the tab bar) to create a single/minimal code editor window, and if you resize/move and then minimize such minimal window, then upon starting VSCode it will bring such minimal window to the middle of the primary screen/monitor with wrong size too, so it doesn't remember minimal window's location either. 🐛
Care to fix this finally?

@bpasero Sorry, this is a bug report not feature request.


reghbali integration test

Description
Integration test update
Related Issues
Include references to related issues.
Motivation and Context
Explain the motivation and the context for your changes.
Test Plan
Explain what unit or integration tests cover your changes.
Reviewers
Mention reviewers.

please run integration

please run integration


Add github action for testing PR

Motivation:
Make test can run for PR
Modifications:

Add github action to run gradle test

Result:
Test can run for PR

 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.


Edit as YAML, and reading from a file by selecting a large file may cause the page to jam

Steps to replicate:

On VM/Image list page, choose one of the items, proceed Edit as YAML
Click read from file and choose a large file
After the file is uploaded, click the show diff button to compare

Result:
After clicking the show diff button, the page stuck for a long time

let's add restriction to only allows .yaml file uploading.

Validated


Feature: read OCI images from the disk without requiring a tarball

What are you trying to do?
Under Bazel, or other local-only build systems, an image is constructed as a series of layers which are only on the disk, not pushed to any remote docker registry.
To test such an image, one option is to create a tarball format that's suitable for docker load. Then in the Setup of the python test, you can use the docker library from Pypi to do that docker load.
However, constructing the tarball is an expensive operation. In particular as Bazel has distinct build steps that can run remotely and have cached results, we get a massive file for a typical user image that has to be stored on a network location. Building the tarball should not be required, it's just a way to be docker load-compatible.
Instead, we could teach testcontainers how to read the OCI format, which is a JSON descriptor pointing to the layers as blobs. These could be loaded into the daemon directly.
https://github.com/aspect-build/bazel-examples/pull/306 shows how this looks.

i happen to agree that low level tar manipulations to make docker images are the bees knees but i kind of came back to this a couple of times and im not convinced there is a compelling story that makes someone want to look for this functionality from this library in particular (testcontainers). can you share what your use case is? or are you trying to build a JIB for python and use testcontainers as a building block?


Fix incorrect comparison in RowSignature.

PR #11882 introduced a type comparison using ==, but while it was in flight,
another PR #11713 changed the type enum to a class. So the comparison should
properly be done with "equals".

ci failure seems unrelated, and cannot retrigger jobs in travis for some reason


Add pre-commit az bicep format

Coming from
https://github.com/Azure/bicep/issues/7580
https://github.com/Azure/bicep/pull/8580

Waiting for https://github.com/Azure/azure-cli/pull/24605


Prevent Screen

as I have tried for prevent Screen , it will append two or more time prevent screen

it's resolve finely

it's work


Add new resources for Flask, databases and design patterns.

Added 🆕

Added a really nice course for REST API development with Flask by Jose Salvatierra.
Added a book to the database section which covers up 7 famous databases (PostgreSQL, MySQL, etc.)
Added a website to the PostgreSQL resources which has a Beginner to Advanced type of tutorials.
Added a famous book about design patterns by Alexander Shvets.

Changed ⚒

Changed the headings for Databases into separate headings related to different type of databases and resources.

Fixed 🔧

Fixed the indentation for Databases section (the expected indent level is 0 or 2 spaces but the actual level was 4, so I turned it back to 2 spaces).

Thank you for your good and useful participation ❤
Please continue this useful work of yours

Thank you for your good and useful participation ❤ Please continue this useful work of yours

Thanks buddy, I really appreciate your comment 😄

Great, Thanks for adding useful resources. Keep up the good work!


Creator detection does not take collection and array types into account

If a bean definition has a factory method for a given type but uses an array or a collection of that type, we don't detect the method as being a candidate.
This is the case with this factory method that we've analyzed properly but the type is a var arg of X and we only check if it's assignable to X.

So the next problem is that class implements Streamable and there's now two fallback candidates. The one we want to call and an unrelated class in the parent that takes Object[].

Fixed by 789e10549e2939301b0915e8e36d58a7c1785b35


Format error with ONNX quantized CNN

Hello,
I am trying to run a particular version of the MobilenetV2 CNN. I have quantized it and it can be seen in netron.app that it is correctly quantized using the QDQ format.
But when I try to execute the systolic_runner example  minimaly modified (just the size of the labels array) on firesim I keep getting the following error:
terminate called after throwing an instance of 'Ort::Exception'
  what():  Unexpected input data type. Actual: (tensor(float)) , expected: (tensor(uint8))

I have tried to run the original Mobilenet_V2 quantized from the onnx repository and it works fine, but I have noticed that it is quantized with the operator oriented formal.
I attach my network.
MobileNetV2_0p5_all_quant.zip
Thank you in advance.
Kind regards, MªJosé.

Can you also share the image that you tried to run the Mobilenet inference on?
The MobileNet models we provide expect float inputs, but looking at your ONNX model, it seems you're expecting int8 inputs instead?


Channels: Simple Permissions

In isPublic=false channels:

All agents with VIEWING access can create measurements.
All agents with ADMIN status can edit the channel, add/remove/edit the status of users, and can CREATE series.

Possibly useful:
https://github.com/maticzav/graphql-shield
with
https://github.com/prisma/graphql-middleware


VSCODE can not debug

Please answer the following before submitting your issue:
Note: Please include any substantial examples (debug session output,
stacktraces, etc) as linked gists.

What version of Delve are you using (dlv version)?
$ dlv version
Delve Debugger
Version: 0.11.0-alpha
Build: 6bff4d19706b46b7bd350212048e4a140caad271

What version of Go are you using? (go version)?
$ go version
go version go1.7.3 darwin/amd64

What operating system and processor architecture are you using?
macOS Sierra 10.12.1

What did you do?
install delve and use vscode debug

What did you expect to see?

What did you see instead?

$ brew install go-delve/delve/delve
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Installing delve from go-delve/homebrew-delve
==> Installing dependencies for go-delve/delve/delve: go
==> Installing go-delve/delve/delve dependency: go
==> Downloading https://storage.googleapis.com/golang/go1.5.1.src.tar.gz
Already downloaded: /Library/Caches/Homebrew/go-1.5.1.tar.gz
==> Downloading https://storage.googleapis.com/golang/go1.4.2.darwin-amd64-osx10
Already downloaded: /Library/Caches/Homebrew/go--gobootstrap-10.8.tar.gz
==> ./make.bash --no-clean
==> ./make.bash --no-clean
goroutine 5 [syscall]:
os/signal.loop()
/private/tmp/go20161128-3918-1ci0m2j/go/gobootstrap/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/private/tmp/go20161128-3918-1ci0m2j/go/gobootstrap/src/os/signal/signal_unix.go:27 +0x35
READ THIS: https://git.io/brew-troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:353:in open_http': 422 Unprocessable Entity (GitHub::Error) 	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:709:in buffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:210:in block in open_loop' 	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in catch'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in open_loop' 	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:in open_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in open' 	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:30:in open'
from /usr/local/Library/Homebrew/utils.rb:436:in open' 	from /usr/local/Library/Homebrew/utils.rb:466:in issues_matching'
from /usr/local/Library/Homebrew/utils.rb:498:in issues_for_formula' 	from /usr/local/Library/Homebrew/exceptions.rb:209:in fetch_issues'
from /usr/local/Library/Homebrew/exceptions.rb:205:in issues' 	from /usr/local/Library/Homebrew/exceptions.rb:248:in dump'
from /usr/local/Library/brew.rb:154:in rescue in <main>' 	from /usr/local/Library/brew.rb:67:in '
vscode console
2016/11/28 21:24:34 server.go:71: Using API v1
2016/11/28 21:24:34 debugger.go:65: launching process with args: [/Users/ahjesus/Git/work/debug]
could not launch process: could not get thread count

Duplicate of #645.


How to install deptrac via composer

With abandoned deptrac-shim we have a problem with installing deptrac.
We're using composer to achive this but i'm unable to achieve this.
Version 1.0.2
The readme is still referring to 'qossmic/deptrac-shim'  and the bin/deptrac is missing
Version 2.0.0-alpha
The readme is still referring to 'qossmic/deptrac-shim'  but does have bin/deptrac
But using a alpha version and a major upgrade is not what we prefer at the moment

Just stay on the shim version for now. With shim being abandoned it  does not change the usability of the shim version. Nothing changed for the shim but the archive/abandoned state.
The documentation v2 is not ready for the next release, yet. Hence the alpha version.

We have a policy in place to don't allow abandoned packages but will try to find a workaround then.
Thank you for your quick reply!

Nothing changed for the shim but the archive/abandoned state

@gennadigennadigennadi , well, smth changed. composer audit command reports abandoned packages as possible vulnerabilities. It broke our pipeline and we had to switch to config.audit.abandoned = "report" just because of this.

I would consider removing the "abandoned" status until you introduce a new way to install Deptrac.

@gennadigennadigennadi I agree with the latest reply.
This is impossible to fix in our projects and security templates.
We cannot use qossmic/deptrac yet and cannot use qossmic/deptrac-shim because of the abandoned state

Could you check again? I unabandoned the shim for packagist.

For me it is working now. Big thanks!


AWS - c7n/resources/sqs.py: Fix typo

Fix typo in file c7n/resources/sqs.py

Thanks for the pr, @obounaim  If you don't mind could you sign the CLA at the bottom of the README? Direct link here: https://docs.google.com/forms/d/e/1FAIpQLSfwtl1s6KmpLhCY6CjiY8nFZshDwf_wrmNYx1ahpsNFXXmHKw/viewform

Thanks for the pr, @obounaim If you don't mind could you sign the CLA at the bottom of the README? Direct link here: https://docs.google.com/forms/d/e/1FAIpQLSfwtl1s6KmpLhCY6CjiY8nFZshDwf_wrmNYx1ahpsNFXXmHKw/viewform

Hello, I have already signed the CLA :)


No Portfolio Statistics for less than 2 days

Hi everyone!
I noticed that lean doesn't build portfolio statistics when algorithm working less than 2 days. I think it might be a bug, so it need to be fixed.
Thanks.

Hey @CodingGenie! sorry for the late reply, this isn't a bug I think, most of the statistics needs at least 2 days to get a performance sample, believe that's why it's not able to generate them


Optimize error message for proxy

Signed-off-by: Jim Ma<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #428 (98879a8) into main (54c4bf8) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #428      +/-   ##
==========================================
- Coverage   38.24%   38.12%   -0.13%
==========================================
  Files          80       80
  Lines        6212     6224      +12
==========================================
- Hits         2376     2373       -3
- Misses       3500     3515      +15
  Partials      336      336

Flag
Coverage Δ

unittests
38.12% <0.00%> (-0.13%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_stream.go
54.61% <0.00%> (-1.24%)
:arrow_down:

client/daemon/proxy/proxy.go
8.04% <0.00%> (-0.10%)
:arrow_down:

client/daemon/transport/transport.go
75.53% <0.00%> (-2.50%)
:arrow_down:

client/daemon/peer/peertask_base.go
33.73% <0.00%> (-0.73%)
:arrow_down:


Why "integer" instead of "int" in the primitive schemas?

Hi there,
In my understanding of the context file, it seems DTDL adopts XSD vocabularies. However, the definition of "integer" is mismatched between the DTDL's documentation vs XSD's definition.
DTDL v3:

integer

a signed integral numeric value that is expressible in 4 bytes

XSD

int:

[Definition:]   int is ·derived· from long by setting the value of ·maxInclusive· to be<PHONE_NUMBER> and ·minInclusive· to be -2147483648. The ·base type· of int is long.

integer:

[Definition:]   integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0and disallowing the trailing decimal point. This results in the standard mathematical concept of the integer numbers. The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}. The ·base type· of integer is decimal.

like the hierarchy below

Basically, xsd:integer is unbounded and xsd:int is the 32bits integer as in your definition
I know I'm a bit pedantic, but wonder if there can be a chance to deprecate integer and start using int for long term alignment with one of the common standards.

I don't know the history or the specific considerations that went into DTDL's choices for primitive schema terms, but I can make a few observations.  First, DTDL prefers full words such as "integer" and "boolean" over truncations like "int" and "bool", but this is a lexical preference that does not drive the definition of the terms.  Second, although the DTDL schemas make reference to XSD for some definitional aspects, they also refer directly to other standards including IEEE 754, ISO 8601, and IETF RFC 3339.  Third, "integer" is not the only schema for which DTDL and XSD are not in alignment:

"duration" -- XSD allows prefixing with a minus sign and does not allow any forms with the "W" designator.
"string" -- XSD explicitly disclaims how UCS characters are encoded, whereas DTDL specifies UTF-8.

Some current and upcoming applications of DTDL relate to other standards, such as AVRO and Protobuf.  I expect that if there are any future changes to DTDL schema definitions, these will be driven mainly by interop issues rather than by lexical alignment with XSD or the nomenclature of any other standard.

I miss the relation to related work.

RFC 8428 (Sensor Measurement Lists (SenML)) -> https://datatracker.ietf.org/doc/html/rfc8428#section-12.1
SensdorML -> https://www.ogc.org/standard/sensorml/
QUDT -> https://www.qudt.org/

Slide deck: https://github.com/qudt/qudt-public-repo/blob/main/docs/2020-04-28 Intro to QUDT.pdf
Units: https://www.qudt.org/doc/DOC_VOCAB-UNITS.html
Number of units: 1522
There are 746 quantitykinds
There are 148 dimension vectors

Especially, currently, I miss the physical unit. A temperature of 40.0°C is different from 40.0°F - even though the double value is the same...

SenML encodes temparature like that:
[
  {"n":"urn:dev:ow:10e2073a01080063","u":"Cel","v":23.1}
]

Using QUDT, a measurement would be encoded as follows in JSON:
{
  "value": 40,
  "unit": "http://qudt.org/vocab/unit/Celsius",
  "quantityKind": "http://qudt.org/vocab/quantitykind/Temperature",
  "description": "Measurement of temperature"
}

Reads nice.

Historical note. A decade ago, "everyone" talked about IoT. See for instance https://www.postscapes.com/internet-of-things-protocols/. Most of the lings are dead now... Nevertheless, I think, should be no re-invention of the wheel.

Another thing to consider is "Eclipse Vorto", which is a language for digital twins - governede by the Eclipse Foundation, where Microsoft is also involved: https://eclipse.dev/vorto/


docs: Add some guidelines for term editors.

This PR adds a new document to provide general guidelines for editors on how to name and define (textually and formally) terms in the ontology.
Those guidelines are mostly based on available similar guidelines in FBbt.

@bvarner-ebi Thank you for your extensive review. However, I would prefer if for now the reviews were focused on the contents of the guidelines.
I appreciate your commitment to the rules of typography, but fixing missing commas after .e.g. can wait until everybody agree on what the guidelines should be. :)

Thank you. I’ll wait until other reviewers weigh in on the contents of the guidelines (especially regarding the use of exact synonyms, since we disagree on that) before fixing the typos and other minor stuff.

@bvarner-ebi : Since you “requested changes” in your initial review, you need to explicitly approve the PR (to signify that you agree with how your comments had been addressed) before the PR can be merged.
@zoependlington : @dosumis was keen on having your opinion on those guidelines, so could you please have a look before we decide to merge?

@gouttegd  - I think we're ready to merge.  While I'm with you on the synonym issue, I am consistently outvoted on it for CL, so happy to stick with this policy.
Do you see this as integrated doc for FBbt and CL in future?  If so, how should we co-ordinate? Would you like to add a comment to indicate that FBbt differs, linking to the FBBt doc?

@dosumis

I think we're ready to merge

Looks like it indeed. I’ll merge now.

Do you see this as integrated doc for FBbt and CL in future?

I am not sure yet. On one hand it would be nice to have a single source of truth for the guidelines, rather than a duplicated document, but on the other hand I’d like to avoid having the FBbt documentation rely on an external (from FBbt’s point of view) source, especially since the CL policy could be modified at any time by CL editors in a direction that FBbt does not necessarily want to follow (as is already the case for the synonym usage policy).
I think that for now at least, FBbt will keep its own document separately, and I’ll try to make sure the FBbt and CL docs stay “in sync”.


A simple ADMINLTE (HTML/CSS) Website on S3 with Javascript is it SPA or Static for this deplotment?

Hi
I am trying to create a Cloudfront authentication for an existing S3 bucket, Cloudfront and Cognito with SAML Federation.
I am unsure on whether SPA mode or Static mode as I thought Cloudfront can't handle secret and we have a simple HTML /CSS with Javascript
So I created new Cognito App without secret, but would not let me use it as Static mode require Secret.
Is a simple Website currently running in S3 bucket with cloudfront a static or SPA and do I need a client secret or not?
very confused.
Thanks

Hi @pjshort75
Does this info help?: https://github.com/aws-samples/cloudfront-authorization-at-edge#spa-mode-or-static-site-mode
In short, from what you are saying, it sounds like you are better off with static site mode, as it is more secure (slightly, but this is debatable, and SPAMode is also secure IMHO, but every user should judge this on his own).
When in doubt, SPA mode is more "flexible", and will work for all use cases.
You can try with static site mode first if you want, and if it doesn't work, redeploy with SPA mode.
Note if you redeploy from the Serverless Application Repository and use the same stack name (Application name) as you did for the previous deployment, your previous deployment will just be updated with the new values.
Hope that helps!

Closing for now


How to modify network architecture

I know that the neural network is defined in model.py as the LSTMPolicy class. I am trying to change it to be just a simple densely connected network, in order to understand this starter kit better.
However, I am having difficulties. Would it be possible to post an extremely simple 1 layer dense neural network policy in order to make it easier to iterate and define custom architectures?

Here is what I have tried:
`# A simple dense nn
class DensePolicy(object):
def init(self, ob_space, ac_space):
# The input is the observated state
self.x = x = tf.placeholder(tf.float32, [None] + list(ob_space))
# The observation space may be multi-D, so flatten it
x = flatten(x)
# Add the output for getting the action
self.logits = linear(x, ac_space, "action", normalized_columns_initializer(0.01))
# Now for getting the value
self.vf = tf.reshape(linear(x, 1, "value", normalized_columns_initializer(1.0)), [-1])
# One-hot encode it
self.sample = categorical_sample(self.logits, ac_space)[0, :]
    # No idea what this does
    self.var_list = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES, tf.get_variable_scope().name)

def get_initial_features(self):
    # TODO: I have no idea what this function should be doing
    return []

# Run the observation through the network to determine the action
def act(self, ob):
    sess = tf.get_default_session()
    print("Closed:", sess._closed)
    return sess.run([self.sample, self.logits] + [],
        feed_dict={self.x: [ob]})

def value(self, ob):
    sess = tf.get_default_session()
    return sess.run(self.vf,
        feed_dict={self.x: [ob]})`

However, after around 8-10 steps tensorflow quits saying that it is trying to use a session that is already closed:
`[2016-12-10 20:22:05,428] Initializing all parameters.
[2016-12-10 20:22:06,140] Resetting environment
[2016-12-10 20:22:06,140] Starting training at step=0
Closed: False
Closed: False
Closed: False
Closed: False
[2016-12-10 20:22:06,153] Episode terminating: episode_reward=-10 episode_length=4
[2016-12-10 20:22:06,155] Resetting environment
Episode finished. Sum of rewards: -10. Length: 4
Closed: False
Closed: False
Closed: False
Closed: False
[2016-12-10 20:22:06,162] Episode terminating: episode_reward=-10 episode_length=4
[2016-12-10 20:22:06,164] Resetting environment
Episode finished. Sum of rewards: -10. Length: 4
Closed: True
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/Users/matehegedus/Downloads/universe-starter-agent/a3c.py", line 92, in run
self._run()
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/contextlib.py", line 77, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3517, in get_controller
yield default
File "/Users/matehegedus/Downloads/universe-starter-agent/a3c.py", line 92, in run
self._run()
File "/Users/matehegedus/Downloads/universe-starter-agent/a3c.py", line 101, in _run
self.queue.put(next(rollout_provider), timeout=600.0)
File "/Users/matehegedus/Downloads/universe-starter-agent/a3c.py", line 122, in env_runner
fetched = policy.act(last_state, *last_features)
File "/Users/matehegedus/Downloads/universe-starter-agent/model.py", line 70, in act
feed_dict={self.x: [ob]})
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 902, in _run
raise RuntimeError('Attempted to use a closed Session.')
RuntimeError: Attempted to use a closed Session.
Traceback (most recent call last):
File "worker.py", line 122, in
tf.app.run()
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 43, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "worker.py", line 114, in main
run(args, server)
File "worker.py", line 61, in run
trainer.process(sess)
File "/Users/matehegedus/Downloads/universe-starter-agent/a3c.py", line 278, in process
fetched = sess.run(fetches, feed_dict=feed_dict)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 766, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 937, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/usr/local/lib/python3.5/site-packages/numpy/core/numeric.py", line 482, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.`

Solved. This is the correct def act:
def act(self, ob):
        sess = tf.get_default_session()
        print("Closed:", sess._closed)
        return sess.run([self.sample, self.vf] + [],
            feed_dict={self.x: [ob]})


Closest Points Not Updated

Closest points are only computed once during initialization.
https://github.com/samuelgerber/ITKThinShellDemons/blob/517e21f8ae982aacab2cf7b73790d44fec556ab9/include/itkThinShellDemonsMetric.hxx#L71
Should be updated as moving mesh changes after each iteration.

Latest version updated to recompute closest points on the fly


Chain false error on method import

The project I am contributing to uses import scope member (see Example 2 below). I wanted to  enforce lodash, but that leads to issue with existing chain syntax, marking these invalid.
Example 1: Passing
import _ from 'lodash';

_.chain(['a', 'b', 'c'])
  .map(_.toUpper)
  .reverse()
  .value();

Example 2: Failing
import { chain, toUpper } from 'lodash';

chain(['a', 'b', 'c']) // error  Prefer '_.map' over the native function  lodash/prefer-lodash-method
  .map(toUpper)
  .reverse()
  .value();

Is this expected? Thanks for feedback in advance!

Hi, and thanks for using our plugin!
I wasn't aware of the case of using chain but still importing the full Lodash.
Yes, it looks like an invalid case for the rule to report on. I'll look into the PR.
Side note:
It looks like your second example would work as expected, but this would not:
import chain from 'lodash/chain'
import toUpper from 'lodash/toUpper'

chain(['a', 'b', 'c']) // error  Prefer '_.map' over the native function  lodash/prefer-lodash-method
  .map(toUpper)
  .reverse()
  .value();

You should note that it looks like importing chain like that has a penalty of importing full Lodash.


Appveyor script for both Windows and Linux using Node 8 LTS and Node 10 LTS

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This PR adds support for building Kalimdor.JS via Appveyor for both Windows and Linux.

What is the current behavior? (You can also link to an open issue here)
Kalimdor.JS is currently build via Travis for Linux only.
See Issue here: https://github.com/kalimdorjs/kalimdorjs/issues/87

What is the new behavior (if this is a feature change)?
Building and testing via Appveyor

Other information:

In order to enable your build for Appveyor, you need an Appveyor account and add Kalimdor.JS as project. Then it will run on commits on every branch.
After adding Kalimdor.JS to Appveyor you'll find the URLs for the building badges to be included in README.md under Projects --> kalimdorjs --> Settings --> Badges
Building the docker image during integration test is disabled for Windows for now because by default Docker for Windows which is pre-installed on Apveyor's machines is only accepting Windows container.

This is perfect @LSBOSS, thank you so much! I will make sure to include the Appveyor badge soon

I'm not sure why other checks are still in Waiting for status to be reported status; I've already removed Codacy and DeepScan..


Probelm wit my workspace

ADD ISSUE DESCRIPTION HERE
HI Im having problems wth my codespace. I can make anything run. It first had a container problem and now I don't how to make my code work. Sorry I'm new using VS and need help. Just  learnig how to program.
Version: 1.77.3
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
User Agent: Mozilla/5.0 (Windows NT 10.0; Win6

4; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/112.0.1722.39
Embedder: codespaces

PLease ai realled need help with this I think I'm making it worst

Sorry, this looks like it might be an issue with your configuration/project setup, not with vscode. You might need to save your file or make sure that your terminal is in the right folder, using cd


Use SRI emissions factors for FR

Some small differences from our current calculations:

Use a blended network and device type when unknown instead of a single decision → this is probably smart and we should do it. See lines 70 and 71, and lines 82-84.
They split out the internet box, which is embedded in our fixed data transfer assumptions. Line 102 and 125.
They use conventional model for everything - not sure we have to support this or not, but could be a toggle

What we would do is create a new templates directory FR that French organizations (IAB France, SRI) could manage, and override certain values (specifically kWh/GB lines 72 and 73) and device emissions (lines 97-102 and lines 120-125). For measurements run in France, we would use these values instead of the global defaults, and work with other countries to manage their own assumptions as well.

Update - SRI plans to release their database in open source in early 2023, so we can grab these emissions factors then

Research from SRI 2.0 has been incorporated into our measurement.


This Application Was Unable to Start Correctly (0xc000007b)

Hey all,
I installed diesel correctly.
And diesel worked for a while.
But now every time  when  i run run a diesel command i get the following error message:
"This Application Was Unable to Start Correctly (0xc000007b)"
I already tried all the solution on the internet.
But that doesn't seem to work.
Error:
https://gyazo.com/416561f6cbe65c79fc623416f0216c74
Can somebody help me with my problem?

This means windows is missing some dll that was available at linking time. I'm not sure how you make windows aware of the required dll's, maybe by just adding them to the PATH or copying them to the same directory as diesel.exe?

Did you ever manage to find out which DLLs were missing?

@Wolfman13 Our issue tracker is not the right place to ask such questions. Please use the forum or the gitter chat for such questions.

Why is the issue tracker the wrong place for this? This is evidently a problem multiple users of Diesel have experienced, and the first place people go is GitHub Issues. If someone already solved the problem, they should post the answer here so others can see the solution without making them join a Discord / Discuss whatever.
They also didn't even ask the maintainers of Diesel for anything, so I'm not sure how communication between @Wolfman13 and @JordiOfRivia is even a problem for you.

@andrewbanchich Please stop adding comments here. Our Contribution Guidelines and the issue template clearly suggest that our issue tracker is a place for the contributor team to track issues, not to provide support for broken system configurations.
If you want to ask questions about such problems feel free to use some other support channel for this.

My process (successfully) troubleshooting the diesel installation::
I had several problems with dlls:

First i had to copy libpg.lib from Postgres' files into the rust library folder (very unintuitive)
(Instructions: https://github.com/diesel-rs/diesel/issues/487#issuecomment-654568069)
Then i had the problem that "libintl-8.dll" couldn't be found
It was a MinGw dll, but somehow my installation didn't have the file.
I got another distribution of MinGw, which claimed to be "for 32bit and 64bit systems"
The 0xc000007b error came up, which doesn't mean "dll missing", it means "program loaded 64 and 32 bit dlls at the same time" - turns out, the MinGw installation was in 32bit, which is bad
I reinstalled MinGw from here: https://winlibs.com/
Seems to be the most overkill version out there, it's 1.13 GB large... but yk diesel is working now, finally

Hope this can help someone figure this out faster in the future
Its a bit of a pain


Add Phi 3.5 MoE

This is my attempt to port the Phi 3.5 MoE model from the Python implementation. Unfortunately I can't test it myself, since my MacBook doesn't have enough RAM. I marked two places in PhiMoE.swift with comments starting with !! which need to be checked. You can test this with ModelConfiguration.phi3_5MoE. Go ahead and make any necessary changes if you'd like, since I won't be able to run this myself.

I will give it a try on Tuesday!

It looks like there is a problem loading the weights:
Error: Mismatched parameter weight shape. Actual [16, 6400, 512], expected [16, 6400, 4096]

this is on SwitchLinear (maybe this error needs some more context).
SwitchLinear(bias=nil, inputDims=4096, numExperts=16, outputDims=6400)

And actually the parameters has a biases which is not expected here:
(lldb) po parameters.mapValues { $0.shape }
▿ [
  biases: [16, 6400, 64],
  scales: [16, 6400, 64],
  weight: [16, 6400, 512]
]

I need to look into this further

Thanks for that feedback. I've tried to make those changes, although I don't know how helpful this will be, since I unfortunately can't test it myself. If it's too much trouble and you'd prefer to focus on other priorities, don't worry about it.

OK, I will see if I can test/finish this -- it may be a few days before I get a chance.

Sorry for the long delay here -- was busy busy busy!
I fixed up the quantized switch layers -- there were some issues with how they got initialized.
The couple of lines you had commented as maybe issues were exactly the spots with problems.  With a little testing everything is set there.
Model loaded -> id("mlx-community/Phi-3.5-MoE-instruct-4bit")
Starting generation ...
What is the gravity on Mars and the moon?The gravity on Mars and the Moon is weaker than Earth's due to their smaller masses and sizes.

On Mars, gravity is about 38% of Earth's gravity. Specifically, the gravitational acceleration on Mars is approximately 3.71 meters per second squared (m/s²) compared to Earth's 9.81 m/s².

On the Moon, gravity is about 16.5% of Earth's gravity
------
Prompt:     13 tokens, 12.989868 tokens/s
Generation: 100 tokens, 61.009203 tokens/s, 1.639097s

That takes about 22G to run.
I think this is ready to merge once tests pass.

Actually we may want to merge in the changes from #135 once that merges...

Fantastic, thank you!


[test] Update the Trilinos tests

Enable dynamic tests.

Update test for cdt/19.06

@jenkins-cscs retry dom

I am merging this. I have opened #844 for investigating the unit tests failure.


neufv.systems

Hey @nuel! I just came across your page, and users are getting a warning since your ssl certificate doesn't match your current domain. Also, your site is currently just a single page, which goes against the webring rules.
Are you just in the process of updating some things?

i think he moved that to https://nuel.work

i did, i'm sorry, i'll remove my entry. also @dym-sh, they/them please


Thanks

Thanks, I am glad to be a part of the workspace

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

ID: f8649ec5-09cf-8157-8bbb-f71dc329b669
Version Independent ID: d991cbe7-79f0-a43d-5331-f16e9632deab
Content: Preprocessor Directives
Content Source: docs/preprocessor/preprocessor-directives.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @mikeblome
Microsoft Alias: mblome

:)


Poor parser error recovery when a function expression appears in a switch expression guard

As part of investigating https://github.com/dart-lang/sdk/issues/51905, Bob tried parsing the following code:
tset(Object? obj) {
  var result = switch (obj) {
    _ when () => true => 'expression' // (1)
    _ when () { return true; } => print('statement'); // (2)
  };

  switch (obj) {
    case _ when () => true: print('statement');
    case _ when () { return true; }: print('statement');
  }

  if (obj case _ when () => true) print('if-case');
  if (obj case _ when () { return true; }) print('if-case');
}

Only one error was reported, at the line marked (1).  No error was reported at the line marked (2).  This made it seem like block-bodied function expressions were allowed inside a switch expression.
But in point of fact they are not.  What's happening in this example is that when the parser encounters the first => on line (1), it terminates the when clause and begins parsing the text that follows (beginning with true) as an expression.  When it encounters the second =>, it issues a parse error, but as part of error recovery it skips too far forward.  As a result, no error is reported on line (2).  If you comment out line (1) you'll see that an error is properly reported on line (2).

@Khushipatil13 be warned that if you continue posting nonsense AI generated responses on issues we are going to block you from commenting on dart-lang issues
If you wish to contribute there are other avenues which would actually help the community instead of wasting our time.

Ok, it turns out that error recovery is particularly bad for this switch expression:
var result = switch (obj) {
  _ when () => true => 'expression'
  _ when () { return true; } => print('statement');
};

because not only does the first => get interpreted as terminating the guard clause, but also, there's no , between the two cases.  We're not going to be able to recover from that.  (There's also a bogus ; after the second case, but the parser gives up before it gets there).
I think I can at least modify the code so that if it gets lost trying to parse one case, it skips to the next , and picks up the pieces.  So it would do a better job of recovering from something like this:
var result = switch (obj) {
  _ when () => true => 1,
  _ => 2
};

... if it gets lost trying to parse one case, it skips to the next , ...

Or the closing }, whichever comes first.

... if it gets lost trying to parse one case, it skips to the next , ...

Or the closing }, whichever comes first.

Right, good point.


[SPARK-26758][core]Idle Executors are not getting killed after spark.dynamiAllocation.executorIdleTimeout value

What changes were proposed in this pull request?
updateAndSyncNumExecutorsTarget  API should be called after initializing flag is unset
How was this patch tested?
Added UT and also manually tested
After Fix

Test build #4544 has started for PR 23697 at commit 9621464.

Test build #4544 has finished for PR 23697 at commit 9621464.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Ah sorry @sandeep-katta that 'unused' private method is used by reflection in the tests. I think that's confusing and maybe we should clean this up later to expose those as private[spark] and just use them directly, but for here you can just revert that change.

retest this please

Test build #4548 has started for PR 23697 at commit f12bb98.

Test build #4548 has finished for PR 23697 at commit f12bb98.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master/2.4/2.3

@sandeep-katta @srowen I think there are still cases that executor will remain there idle and will be never removed due to "Not removing idle executor .. because there are only ..executor" decision
Maybe there is another problem, but imo above idle executor is never rescheduled for "check" to be killed, so those executors that got timer triggered before target executors reached 0, will stay there. Even though this fix will update target executors to the right value, the idle executor never added back to removeTimes map
wdyt?

2.2.3 is EOL release and there won't be more releases at 2.2.x line. You might have to consider migrating to higher versions.

@IgorBerman  as @HyukjinKwon  said 2.2.x is EOL, may be if you give me the exact case in 2.4.x or spark3 I can think off the solution

thanks @sandeep-katta, @HyukjinKwon for the answer
yes, I missed that there were whole refactoring in later version(not sure at which point exactly)
for our internal distro I've reverted https://github.com/apache/spark/pull/18874 and it solved


Windows support

Added support for Windows
Restrictions:

Powershell needs elevated privilege to run "Get-Process" with "-IncludeUserName" parameter.

If run withing non privileged session, usernames will not appear.

        D:/GitHub/gruyere/main.go:110 +0x596
github.com/charmbracelet/bubbletea.(*Program).eventLoop(0xc00018c000, {0x11dc478?, 0xc000071b00?}, 0x100458a?)
        C:/Users/vujov/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.23.2/tea.go:343 +0x60a
github.com/charmbracelet/bubbletea.(*Program).Run(0xc00018c000)
        C:/Users/vujov/go/pkg/mod/github.com/charmbracelet/bubbletea@v0.23.2/tea.go:465 +0x81d
main.main()
        D:/GitHub/gruyere/main.go:178 +0x285

UI is messed up on Windows terminals

I don't quite have the bandwidth to debug this right now. Would be happy to have someone take it to the finish line though.

I'm going to convert this to a draft PR for now, until someone can help take it to the finish line for Windows or until I have a chance to take a look (hope that's okay!)


5.5

Motivation:
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
Modification:
Describe the idea and modifications you've done.
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

sync

@heatwei 要解决什么问题？

5.5的我已经cherry pick到master, 这个pr先关闭了


select leads to invalid HLSL

I've noticed that the select intrinsic is translated to a ternary in the HLSL backend. However, if using non-scalar condition, dxc fails to compile the generated HLSL with:
dxc 1.7: c:/src/rentest/rentest/slang/utils/geometry/raytracing.slang(41): error :  condition for short-circuiting ternary operator must be scalar, for non-scalar types use 'select'
dxc 1.7: note :     return abs(pos_0) < 0.0625 ? pos_0 + offset_f_0 : pos_i_0;
dxc 1.7: note :            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dxc 1.7: note :            select(abs(pos_0) < 0.0625, pos_0 + offset_f_0, pos_i_0)

Here pos_0 is a float3.

Maybe this is a bug in dxc? Slang doesn't enable HLSL2021 so in theory the ternary operator should be a vector operation.

A proper fix for this is for slang to add a HLSL 2021 backend so that we can emit things differently, but this is a large change. Any concerns if we defer this to 2025?

@bmillsNV yes that's fine, it is not super urgent.


dnsIP - bug from 1.10.39?

We had an issue yesterday where dns lookups failed following an upgrade to a more recent version of the community cookbook.
If deploy_dnsmasq is off (which it is by default) then the setting added in 1.10.39 (dnsIP) makes no sense, as it points by default to the node IP. I believe it should point by default to openshift_common_first_svc_ip.
I am preparing tests to try and reproduce this, will add more soon, but raising early in case it rings bells.
I also plan to add a test to the regression scripts accordingly.
I'm also assuming that others use dnsmasq by default (which we are looking to do ourselves).

As a result of this, I've hopefully improved the test environment by adding '<IP_ADDRESS>' to the docker daemon within the VM environment. Re-testing this now.
Also adding a basic check that mysql deploys 'ok'.

Hmm, that seems to cause other problems. Will try to deploy dnsmasq in my tests instead.

The tests work out of the box and much better (the registry works!) when using dnsmasq=true. I think this should be the default.

The server item in the origin-dns.conf should get its value from the first ip of the subnet, not hard-coded:

master1.vagrant.test:AAnqFbOV:T8L2vKjv# cat origin-dns.conf
strict-order
no-resolv
domain-needed
server=/cluster.local/<IP_ADDRESS>

dnsIP should do 'something else' when dnsmasq is not set. I don't think I have an easy way of testing that - do you have any ideas @IshentRas ?

Out of curiosity, what problems are caused by having dnsIP being set to the node IP? I didn't know about the option and all my deployed clusters seem to work just fine.

Couldn't connect to kubernetes.default.svc.cluster.local making service lookups from within pods fail.

Works for me. Somehow, despite the dnsIP being set to the node's common IP, I have a reasonable looking /etc/resolv.conf inside the pod container.
[root@xxxx~]# oc debug -t dc/xxx-api -- /bin/bash
Debugging with pod/xxx-api-debug, original command: <image entrypoint>
Waiting for pod to start ...
Pod IP: <IP_ADDRESS>
If you don't see a command prompt, try pressing enter.
bash-4.2$ ping kubernetes.default.svc.cluster.local
PING kubernetes.default.svc.cluster.local (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- kubernetes.default.svc.cluster.local ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms

bash-4.2$ cat /etc/resolv.conf
search platform.svc.cluster.local svc.cluster.local cluster.local
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
options ndots:5

Is that a host you've set up for this purpose?
Also, is that a single-host cluster?
Finally, it's odd that your resolv.conf is 172.17/16 while the cluster is
172.30/16. There's a lot about this I don't fully understand.
On Thu, May 18, 2017 at 4:43 PM, Julien Pervillé<EMAIL_ADDRESS>wrote:

Works for me. Somehow, despite the dnsIP being set to the node's common
IP, I have a reasonable looking /etc/resolv.conf inside the pod container.
[root@xxxx~]# oc debug -t dc/xxx-api -- /bin/bash
Debugging with pod/xxx-api-debug, original command:
Waiting for pod to start ...
Pod IP: <IP_ADDRESS>
If you don't see a command prompt, try pressing enter.
bash-4.2$ ping kubernetes.default.svc.cluster.local
PING kubernetes.default.svc.cluster.local (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- kubernetes.default.svc.cluster.local ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms
bash-4.2$ cat /etc/resolv.conf
search platform.svc.cluster.local svc.cluster.local cluster.local
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
options ndots:5
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IshentRas/cookbook-openshift3/issues/127#issuecomment-302444779,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGrczW8_sQnJv2C0ipFZR4CtiiZ4LnNeks5r7GcOgaJpZM4NfCOs
.

--
My book on Docker in Practice: Get 39% off with the code 39miell
http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62

This is on upcoming production HA cluster with 3 masters + 5 other nodes. The 172.17/16 network range is used by the customer for their physical internal network and this is not negotiable, but we know that we can use 172.30 safely.

In the example, <IP_ADDRESS> is the IP address of the first openshift master (the other ones being <IP_ADDRESS> and <IP_ADDRESS>). <IP_ADDRESS> is the IP address of the DNS on the customer internal network.

<IP_ADDRESS> is likely resolving, as I think it has skyDNS running on port
53 on it?
Is that put there by you?
On Thu, May 18, 2017 at 4:55 PM, Julien Pervillé<EMAIL_ADDRESS>wrote:

In the example, <IP_ADDRESS> is the IP address of the first openshift
master (the other ones being <IP_ADDRESS> and <IP_ADDRESS>). <IP_ADDRESS>
is the IP address of the DNS on the customer internal network.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IshentRas/cookbook-openshift3/issues/127#issuecomment-302448171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGrczbijjRwpmwzgn7L770CBSDKTaZn8ks5r7GnWgaJpZM4NfCOs
.

--
My book on Docker in Practice: Get 39% off with the code 39miell
http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62

This is IP of the first openshift master. so yes it has skyDNS on it. What I don't get is how the pods are using <IP_ADDRESS> as the first /etc/resolv.conf entry if the configuration of each node has the node's openshift_common_ip as dnsIP.

Did that pod land on the master1 node? If so, what happens if it doesn't?

No, does not land on master mode because of nodeselector usage=compute set on the namespace.

[I have no name!@master2 conf]$ cat /etc/resolv.conf
search home vagrant.test
nameserver <IP_ADDRESS>
[I have no name!@master2 conf]$ exit
exit
master1.vagrant.test:EGqcwqgS:oG24WJyM# oc exec -ti mysql-1-wt5id bash
I have no name!@mysql-1-wt5id:/$ cat /etc/resolv.conf
search default.svc.cluster.local svc.cluster.local cluster.local home vagrant.test
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
options ndots:5

Interesting difference between router and 'normal' pod. Router is not on master1.

@ianmiell  I do not like the fact of using the skyDNS IP. You should switch and move to dnsmasq setup.
Your pods will spend their time to timeout on 172 and failover to the next available server for general queries outside of the *.cluster.local
We need to be careful about changing the cookbook to a specific cookbook for a specific use case :-)

The dnsmasq setup is not the default.
On 18 May 2017 21:16, "William Burton"<EMAIL_ADDRESS>wrote:

@ianmiell https://github.com/ianmiell I do not like the fact of using
the skyDNS IP. You should switch and move to dnsmasq setup.
Your pods will spend their time to timeout on 172 and failover to the next
available server for general queries outside of the *.cluster.local
We need to be careful about changing the cookbook to a specific cookbook
for a specific use case :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IshentRas/cookbook-openshift3/issues/127#issuecomment-302528865,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGrczctRfI-IYJdrspra06mMVlFbR2oVks5r7KcUgaJpZM4NfCOs
.

Should it be the default? It would make more sense (we want to, but it may conflict with other Chef scripts on our env), but we would still need to handle the case where it was set to false in any case, where the node ID would not make sense without a dnsmasq server on the node.

Since 3.3+ dnsmasq is the default and recommended way.It came like that so as to fix the issue we could see at a large client. (Slow answers from DNS when building...)

Can we change it to be the default (true)? It would solve my problem.

PS I've changed my tests to override, eg: https://github.com/ianmiell/shutit-openshift-cluster/commit/09cbabf673a2d455e1ddf818d76a6ece7215f900
and everything works much better - means we can have more substantial tests now.

dnsmasq is installed by default https://github.com/IshentRas/cookbook-openshift3/blob/master/CHANGELOG.md#v11048
https://github.com/IshentRas/cookbook-openshift3/blob/master/attributes/default.rb#L36


Video optimization checklist error and video quality

Bug Description

When video is uploaded using 'upload' button the video does not auto optimize, but if we drag the video into the editor space it does show a tool tip saying 'video is optimizing' and checklist does not throw any error for this video.
However, inspite of having used the recommended video size of 720p, the checklist throws an error recommending to use optimised video. This is only if you upload via 'upload' button.

If we optimize video using the button provided in the checklist space, the video looses its quality quite a bit.
Also, once optmized it deletes the original video and makes a copy with the name 'unnamed-file.mp4' instead of retaining the original filename (refer the image below)

Expected Behaviour

Video optimization should happen when the video is either dragged into editor space directly or uploaded via 'upload' button.
The optimized video obtained after using the optimized video from the checklist space should not compromise the video quality a lot and retain the original file name.

Steps to Reproduce

Try uploading video of 720p or lesser using 'upload' button in the left panel. Use the video on one of the story page and look for the error under checklist space.

If the checklist throws an error try to use the 'optimize video' button from the checklist space to check the video quality in the preview after publishing. To check the file naming you will have to check the media library (refer the image below)

Screenshots

Additional Context

Plugin Version: 1.9.0-alpha.0
WordPress Version: 5.7.2
Operating System: MacOS Catalina - Version 10.15.7
Browser: Chrome - Version 91.0.4472.106 (Official Build) (x86_64)

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Thanks again for flagging this!

Video optimization should happen when the video is either dragged into editor space directly or uploaded via 'upload' button.

As mentioned in our meeting, this will be addressed in v1.9 of the editor.
I'll therefore focus on the incorrect file name & the significant loss of quality.

When video is uploaded using 'upload' button the video does not auto optimize, but if we drag the video into the editor space it does show a tool tip saying 'video is optimizing' and checklist does not throw any error for this video.
Video optimization should happen when the video is either dragged into editor space directly or uploaded via 'upload' button.

Just re-reading this again.
Right now, videos uploaded via the 'Upload' media modal will only get optimized once they are inserted into the editor. That is expected.
Directly optimizing them while uploading through the media modal is tracked in #7469, but not a priority right now.

If we optimize video using the button provided in the checklist space, the video looses its quality quite a bit.

Created a new ticket for this: #8233

Also, once optmized it deletes the original video and makes a copy with the name 'unnamed-file.mp4' instead of retaining the original filename (refer the image below)

Created a new ticket for this: #8234


Add the original headers to the custom request (iOS only for now)

In case headers are added, we're not adding the original headers.
Not sure this solves anything.. doing iOS only for now.

Only support iOS, in Android not work...


Is it possible to receive notifications using port 443?

Hi, Matthieu!
I'm truly grateful for the user-friendly library you've created. I've also read your blog.
I understand you must be quite busy, but if you could spare some time, I would appreciate it if you could answer a few questions. Thank you！
Background
I've been trying to implement notifications using push-receiver, but I often encounter cases where it doesn't work well.
The main issue is the firewall. Port 5228 is not very commonly used, and many companies restrict outbound communication on this port.
Question
Is it possible to implement notifications using port 443? If there are any workarounds or solutions, I'd appreciate your advice.

I found a workaround!
Close this Issue.


Add files via upload

Added school domain for Faculty of Engineering, Ain Shams University

Added school domain for Faculty of Engineering, Ain Shams University.


feat: add loading spinner for action execution

When action execution is triggered, we show no signs or indications of the action running in other parts of the page except for the run button, This PR introduces a spinner in the ResponseView for both APIs and Queries.
Fixes #23956

New feature (non-breaking change which adds functionality)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[x] Manual
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

@Irongade Why have we added skip-testPlan label ?

@Irongade Why have we added skip-testPlan label ?

Because, this is a minor change


SPM: Compile project error

Hello, I am using Swift Package Manager using the URL "https://github.com/rechsteiner/Parchment" (Project > Project > Swift Packages).
Dependency Rule: Exact Version - 3.2.0
Add to Project: 'MyProject'
When compiling I get an error

The package product 'Parchment' cannot be used as a dependency of this target because it uses unsafe build flags.

Thanks for the help in advance.

I have the same issue when use xcodeproj file. It does not fail with xcworkspace file, but sopport of running from xcodeproj file is required in my project.

@andre719mv You added via CocoaPod or SPM?

SPM. Issue is gone when I revert to 3.1.0

I have the same error. I found:
https://forums.swift.org/t/override-for-unsafeflags-in-swift-package-manager/45273
https://forums.swift.org/t/confused-by-unsafe-flags-being-disallowed-in-dependencies/27359
So far, the workaround is to use a specific commit hash (7773785da86e1a2840a32837798b9d7e570a8324) for dependency.

Hi @ageevvalentin, I'm on Xcode 12 and encountered the same issue but the workaround (use a specific commit hash (7773785da86e1a2840a32837798b9d7e570a8324) for dependency) does not work for me. Any ideas?

I'm seeing this same error with the latest Xcode – 13.4.1 (13F100). Is seems to have started with the official release that downloaded over the weekend; I didn't see it with the release candidate.
It happens with both Parchment 3.1.0 (which we're currently using) and 3.2.0 (which I could update to).
I don't think I can use a commit hash because in this case the dependency is owned and managed by an Xcode project in a ".workspace/xcshareddata/swiftpm/Package.resolved" file, not an SPM Package file. I tried remove the package version and leave the hash, but it seems Xcode put the package version back in.

I'm seeing this same error with the latest Xcode – 13.4.1 (13F100). It seems to have started with the official release that downloaded over the weekend; I didn't see it with the release candidate.
It happens with both Parchment 3.1.0 (which we're currently using) and 3.2.0 (which I could update to).
I don't think I can use a commit hash because in this case the dependency is owned and managed by an Xcode project in a ".workspace/xcshareddata/swiftpm/Package.resolved" file, not an SPM Package file. I tried remove the package version and leave the hash, but it seems Xcode put the package version back in.

I'm on the 13.4. I will check it tomorrow on the 13.4.1.
You can set a commit hash via Xcode 'Project settings -> Package dependencies' or set it directly to the 'Package.resolved'

Xcode

Package.resolved (Maybe need to close Xcode and clear DerivedData)

I'm seeing the same with Xcode 13.4, where it only happens if I'm trying to use 3.2.0.
When choosing exact "3.1.0" it does not show an error

I'm seeing the same with Xcode 13.4, where it only happens if I'm trying to use 3.2.0. When choosing exact "3.1.0" it does not show an error

Thanks !
Xcode 13.4.1 and 3.1.0 is OK.
Something in the code between 3.1.0 and 3.2.0 need a fix for SPM

spm not supported?

The same error occurred to me too via SPM. Could you please fix it?

I have the same issue.
Xcode 14.2
parchment 3.2.0 (SPM)
Does anyone know how to fix this issue?

Sorry for the late update. I decided to just remove the unsafe compiler flags, so this should be fixed now #662. As the PR explains, this will probably break some other apps, but it's more important to get this issue fixed. This fix is available in version 3.2.1


question about  slow start of reno

https://github.com/lucas-clemente/quic-go/blob/63b7354a25ea94d082d1ff551d77bbdbf28b2295/internal/congestion/cubic_sender.go#L235
hello,I'm confused about this line.  Slow start of reno is exponential growth.So c.congestionWindow=c.congestionWindow *2 .Could you help me to explain that?

For every ACK, the cwnd is increased by the packet size. This leads to an exponential growth.


humble review

I'm not a pro, bet I decided to review the code out of curiosity. It feels like it lacks some polish and may even contain bugs (I didn't tested it though)
for example here you are removing ReqwestRequest component, but it already has been removed in the dispatch system.
It is 0:10 now, and I'm sleepy, so don't be mad if I'm yelling at your perfectly working code.

again, I'm not a pro, but the docs suggest that you should reuse existing reqwest client, but you are copying it every time (I'm not sure if Rust allows doing it the right way, but anyway)

again, I'm not a pro, but the docs suggest that you should reuse existing reqwest client, but you are cloning it every time (I'm not sure if Rust allows doing it the right way, but anyway)

Hi thanks for giving this a review!
First of all, there was a bug indeed, I was removing the wrong Component in one of the systems, so thanks for spotting that, I was tired when writing this as well.
Secondly copying the Client is actually reusing it, since it uses an Arc internally ;)

Oh, great, I was wrong about cloning, but now I get it)


GradleBuildTaskIntegrationTest.can run multiple GradleBuild tasks concurrently fails with VFS retention

The test uses a build with GradleBuild to invoke the same build twice. I am not sure why this fails, maybe because we use the isolated daemons.
This may be related to #11837.

cc: @gradle/build-cache

@wolfs What platform does this fail on? Do we have build scans or TeamCity logs maybe?

Here is a build scan: https://e.grdev.net/s/3kvitigj6gio6/tests/jwlujjaynfeci-4iu77xbq336sk
Looks like the test only failed on windows41 twice, once for VFS retention and once without.
Let's close this, it looks more like an environment issue.


Add target components logic to TSDataset

Before submitting (must do checklist)

[ ] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Proposed Changes

Closing issues

closes #1142

Codecov Report

Merging #1153 (46fc3ca) into master (a5baaf4) will decrease coverage by 78.64%.
The diff coverage is 16.66%.

:exclamation: Current head 46fc3ca differs from pull request most recent head 3c3a9ac. Consider uploading reports for the commit 3c3a9ac to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master   #1153       +/-   ##
==========================================
- Coverage   86.90%   8.26%   -78.64%
==========================================
  Files         177     177
  Lines        9746    9771       +25
==========================================
- Hits         8470     808     -7662
- Misses       1276    8963     +7687

Impacted Files
Coverage Δ

etna/datasets/tsdataset.py
29.83% <16.66%> (-61.90%)
:arrow_down:

etna/models/naive.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/auto/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/metrics/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/linear.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/nn/mlp.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/nn/rnn.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/analysis/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/auto/pool/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 152 more

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

Should we do something with etna.analysis.plotters.get_residuals?

Should we do something with etna.analysis.plotters.get_residuals?

What should we do with it?


cmake: add -fcheck-new to cxx_compile_flags

GCC assumes that operator new never returns null, but throws an exception
instead. This is defined by the C++ standard, and thus ok. But we disable
exceptions with -fno-exceptions, so we break this assumption. GCC then goes
ahead and removes some of our nullptr checks. This flag removes the
assumption.
This adds ~1.4kB to the binary size of the px4fmu-v4 target.
Fixes #4493

Applied, thanks!

I think this commit broke master with the error:
clang-3.5: fatal error: unknown argument: '-fcheck-new'

@bkueng Can you look into a fix

Compiles fine with newer CLANG versions. We probably should update.

@bkueng We would need to fix these instructions: http://dev.px4.io/starting-installing-linux.html#installation

This breaks the Snappy QURT (DSP) build as well:
[  0%] Building CXX object src/lib/DriverFramework/drivers/trone/CMakeFiles/df_trone.dir/TROne.cpp.o
clang-3.5: fatal error: unknown argument: '-fcheck-new'
src/lib/DriverFramework/drivers/hmc5883/CMakeFiles/df_hmc5883.dir/build.make:62: recipe for target 'src/lib/DriverFramework/drivers/hmc5883/CMakeFiles/df_hmc5883.dir/HMC5883.cpp.o' failed
make[3]: *** [src/lib/DriverFramework/drivers/hmc5883/CMakeFiles/df_hmc5883.dir/HMC5883.cpp.o] Error 1

@julianoes Can you update CLANG? If it behaves the same as GCC then it actually will result in a runtime failure if we are not enabling the option.

I use clang 3.7 and it works. However the doc says nothing about the -fcheck-new option. The clang source says the following:
defm fcheck_new : BooleanFFlag<"check-new">, Group<clang_ignored_f_Group>;

So it seems at least in newer versions, the option is known, but ignored.
A test confirms this, adding the option makes no difference to the disassembly:
0000000000000000 <px4::logger::LogWriter::init()>:
   0:	53                   	push   %rbx
   1:	48 89 fb             	mov    %rdi,%rbx
   4:	48 83 7b 48 00       	cmpq   $0x0,0x48(%rbx)
   9:	75 0d                	jne    18 <px4::logger::LogWriter::init()+0x18>
   b:	48 8b 7b 50          	mov    0x50(%rbx),%rdi
   f:	e8 00 00 00 00       	callq  14 <px4::logger::LogWriter::init()+0x14>
  14:	48 89 43 48          	mov    %rax,0x48(%rbx)
  18:	b0 01                	mov    $0x1,%al
  1a:	5b                   	pop    %rbx
  1b:	c3                   	retq

So we might as well add the option only if gcc is used. But what's worse is that with clang we have the same problem: the above function unconditionally returns true, so the problem is still unresolved for clang.

Interesting! So, in general, how are we supposed to check allocation if constructors shouldn't throw?

Our checks are fine, we just need to convince the compiler to not ignore them. Alternatives are:

use the nothrow version of new: MyClass * p2 = new (std::nothrow) MyClass;. See http://www.cplusplus.com/reference/new/nothrow
Globally replace the operator new, and instead of declaring it operator new(std::size_t size) throw(std::bad_alloc), declare it as operator new(std::size_t size) throw(). See http://en.cppreference.com/w/cpp/memory/new/operator_new.
I'm not sure if a compiler likes the second approach, I haven't seen in the standard if this is allowed. The first approach is the officially supported one, but requires that we change all of our new's in the code. And we need a way to make sure no one uses the 'wrong' version.

I would like 2. if it is possible.

@bkueng Will this affect the nuttx builds? If so would be able to look at the upstream Nuttx C++ headers and evaluate the impact?

Probably, but I'm not familiar enough with the whole Nuttx/uClibc++/PX4 interplay. What I can say is that we need to compile everything C++ that uses -fno-exceptions also with -fcheck-new then we're fine under GCC (as you see above, it's a different matter with clang, but AFAIK we compile NuttX only with GCC). So this potentially also affects config files in nuttx-configs.
This definitely needs some deeper evaluation. You know more on the whole NuttX side than I do. If necessary I can take a deeper look, but would appreciate some pointer (eg. relevant config files etc)

@bkueng
Thank you. We do not use the uClibc. The best place to look is in nuttx_v3 branch - it uses upstream nuttx.
Have a look at this:https://github.com/PX4/Firmware/blob/nuttx_v3/nuttx-patches/c%2B%2B11.patch to get an idea of the issues using foreign (non-nuttx) header file inclusion.
Please also see Notes about Header Files in https://github.com/PX4-NuttX/nuttx/tree/050f5447824d0a5f1c44077721ecec7d67f116a6
We should only be pulling in headers from NuttX/nuttx/include/cxx (and a fet safe templates) but I am sure things have gotten out of hand again. It has been a while since I look at what was pulled in ( I bundled the dep files and sorted/ reduced them)
px4fmu-v2_default - would be a good config to vet.

Some update for clang:

MyClass * p2 = new (std::nothrow) MyClass; works as expected.
Declaring operator new(std::size_t size) throw() does not work.

Looks like the only option for clang with -fno-exceptions to get a correct binary is to use the first option. It requires replacing all of our new's, which can be done automated in most cases. We also need to add #include <new> to all cpp files. This can easily be done by adding -include <file> to the compiler flags (works with gcc & clang).
Then to make sure people don't use the 'wrong' new, we can add:
inline void * operator new[](std::size_t) throw(std::bad_alloc) {
    extern void *bare_new_erroneously_called();
    return bare_new_erroneously_called();
}

This raises a compile-time error when using the standard operator new, and can be added via -include.
I think this is a doable way to go.


Add Release, Changelog Workflow Job and Validate PR Title Workflow Job

This PR contain the following changes:

Adds a new manual CI job titled generate-release to generate both the git release and update the CHANGELOG.md
The CI relies on the semantic release action
This action is configured with 2 major plugins: commit-analyzer and release-notes-generator
commit-analyzer  - This will examine the commits and look for keywords in the commit message, based on the conventional commits convention, then update github release with the corresponding semantic change
release-notes-generator - This will update the CHANGELOG.md file with the relative info about each release and changes within.
Example job run here
Adds a a new CI job titled validate-pr-title that will validate the title of the PR based on the conventional commit format keyword. This job is run on each PR types: open, edited, and synchronize.

Notes:

Commit message must be formatted following the conventional commit format

@ctreatma I have added the CI jobs that we chatted about today. I will also submit a PR to update the Equinix Terraform Modules documentation, section 6.

@ctreatma I have submitted this PR in the Terraform Modules markdown doc to reflect the changes of this PR. Thx!

@ctreatma This is an example PR with the new CI release and changelog generator. This is the release generated by the PR above. This is the changelog generated by the PR above


feature: Support sub plugins.

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.

In this plugin structure, hc-nvim, hc-func, hc-substitute has to separates to 3 plugins to set it's lazy load stratagy.

mini.nvim has similar plugin structure, which means each mini.nvim's sub plugin can't utilize lazy.nvim's lazy load mechanism. and splitery is required too.
Describe the solution you'd like
Allow lazy.nvim load plugins that only has main field, and in this situation, lazy.nvim tries to require(plugin.main) to get module, and only throw error when main coresponds module not exsist.
e.g. using mini.nvim
lazy.setup({
 "echasnovski/mini.nvim", -- add mini.nvim to rtp
 {
  main="mini.surround", -- call require("mini.surround").setup() directly, no wondering where it is
  host="echasnovski/mini.nvim", -- maybe a additional field to specify host plugin is more robust.
  config=true,
  keys="sa",
 }
})

This feature is usful for user writing local plugins on stdpath("config"), without worry about lazy failed on finding them.
And allow user to utilize lazy.nvim's lazy load feture to manage user configurations.
~/.config/nvim/lua/user/init.lua
local M={}
function M.setup()
 -- do some thing
end
return M

~/.config/nvim/init.lua
lazy.setup({
 {
  main="user", -- call the module above directly.
  config=true,
  event="BufEnter",
 }
})

For neovim distro that parasitic on lazy.nvim. it is also usful to manage how different part to be load, e.g. LazyVim has different module, each could has its trigger event, but currently LazyVim just load it all on init.
Describe alternatives you've considered
pass
Additional context
In my configuration hc-nvim, I wish my sub plugin hc-func and hc-substitute could lazy load too. And I don't want to create a bunch of repo for each sub plugin like mini.nvim.

Basicly, a main field is enough to load a plugin, and the host field is to ensure lazy.nvim installed it's host plugin, for local configurations, host is not needed.

Recent update check dir is valid plugin location, which means fake plugin spec is not allow, that breaks some configuration, it's not lazy.nvim's fault to check if dir is valid, but could there be another way to use lazy.nvim to lazy load sub plugins/ user configurations?

it's not possible to just load a subdirectory
just by how neovim runtimepath works
so I'm quite sure lazy won't implement this

yeah, not interested in this. Closing...

load a subdirectory

It's not about loading subdirectory, it's about allowing plugin spec with only main field, to be loaded, it provides more flexibility to load user's local components.

Every plugin eventually needs a dir to load. Why coupled download and load functions together. Like, really? I can't load something that's already in my rtp. And things that not in my rtp were often easy to load? That was very weird.
That means I either had to split every component that has its own lazy logic into a single plugin, and create a repo, and maintain it each... or I had to write lazy load logic myself, providing general supports for plugin / subcomponents, even my plugin manager, Why?

The fact that that used to work was simply a bug.
A plugin's directory is used in a lot of different places and I was frankly surprised that didn't already trigger any errors when using an invalid dir.
However, I just added support for virtual plugins.
I did a quick skim for all the places that use plugin.dir and made some changes where needed, but I'm not 100% sure I got them all.
You can use it like the example below. You can of course use any of the other plugin spec fields like main as well.
{
    "foobar",
    event = "VeryLazy",
    virtual = true,
    config = function()
      vim.notify("foo")
    end,
  }

Oh I didn't refresh my browser and sorry for changing issue name, I didn't know it would be solved that fast. Thanks.


Update stable version in repo from 1.2.12 to 1.3.0

Think about update stable version to 1.3.0
Version: stable=1.2.12 (179 days old) => latest=1.3.0 (16 days old)
Installs: stable=29 (74.36%), latest=2 (5.13%), total=39
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

1.3.0  created 31.12.2023
2 user (5%)
OK

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.3.0 but the current stable version is already 1.3.0.
So this issue should be closed.
@mcm1957 for evidence


Add support for --keep-going in cron mode

Just as the title says.
The strange construct with wait is because with a regular ( ) subshell set -e does not propagate, causing the script to misbehave.
Also adds some newlines to the error function, to make the output more readable in case of errors in keep-going mode.

Hmpf... I like the idea, but this should only continue on the "too many certs" error, not in any other case. Also it should still return with an errorcode in the end.

I am for some keep going options too. We have hundreds of domains. I hate when some domain can end program, because challenge is invalid.
We need continue checking rest of domains.

Merged in 34565c193d0360dd4abbe1e630e5cad1396e81ca and 117d5d622846e8f8efd62c112ab7e8976a0b36a7. For now I'm considering this as experimental as especially with hundreds of domains it may be easy to miss an error. Maybe adding a hook in case of an error or something similar would be nice to catch any problems.


How can I upload multiple documents?

Hi, I have a filed that I don't know how many docs user will upload, Can you help me what can I do?

as the user selects documents, you can upload one by one by using https://docs.min.io/docs/golang-client-api-reference.html#PutObject


Markdown Preview does not interpret kbstyle() [Not sure if it is a Bug]

In the vscode-docs repo there are some markdown documents who contains function like syntax "kbstyle()"

The Markdown preview doesn't seem to understand this syntax, but in the official documentation page it has a different coloring.

I'm not sure if this is a Bug, or just an expected behavior, as I haven't found any documentation on this "kbstyle()" syntax

I think this is something we add from our custom markdown parser and is not supported in general.


IPv6 trace

So, fairly certain this has worked before but get this when I try to do a trace over IPv6 now:
root@c1841:~# mylg trace google.com -6
trace route to google.com (2a00:1450:400e:801::200e), 30 hops max
invalid argument

Built with go 1.7.3 on Ubuntu 16.04. Works without a glitch over IPv4 and also works with -6 if I run with -u.

works for me with your conn, err = net.ListenPacket(s.network+":tcp", "::") improvement:
% sudo ./mylg trace google.com -6
Password:
trace route to google.com (2607:f8b0:4007:800::200e), 30 hops max
1  2600:8801:2a7f:ffff::1111 [ASN 22773/ASN-CXA-ALL-CCI-22773-RDC] 10.285 ms 26.934 ms 8.469 ms
2  2001:578:604::2:500 [ASN 22773/ASN-CXA-ALL-CCI-22773-RDC] 8.522 ms 7.393 ms 12.853 ms
3  2001:578:601::10 [ASN 22773/ASN-CXA-ALL-CCI-22773-RDC] 12.749 ms 7.953 ms 9.358 ms
4  2001:578:1:0:172:17:249:79 [ASN 22773/ASN-CXA-ALL-CCI-22773-RDC] 22.750 ms 24.775 ms 22.686 ms
5  2001:578:20:c100::5:1 [ASN 22773/ASN-CXA-ALL-CCI-22773-RDC] 60.971 ms 21.273 ms  *
6  2001:4860:0:1005::3 [ASN 15169/GOOGLE] 30.409 ms 25.716 ms  *
7  2001:4860::8:0:8bb4 [ASN 15169/GOOGLE] 32.964 ms 30.380 ms 36.220 ms
8  2001:4860::8:0:7a19 [ASN 15169/GOOGLE] 21.794 ms 28.827 ms 21.116 ms
9  2001:4860::1:0:c432 [ASN 15169/GOOGLE] 32.782 ms 33.360 ms 31.130 ms
10 2001:4860:0:1::fa5 [ASN 15169/GOOGLE] 29.517 ms 31.011 ms 32.247 ms
11 2001:4860:0:1::4a7 [ASN 15169/GOOGLE] 32.672 ms 30.855 ms 28.801 ms
12 lax17s14-in-x0e.1e100.net. (2607:f8b0:4007:800::200e) [ASN 15169/GOOGLE] 21.123 ms 23.664 ms 22.053 ms

same error here,
 ❯ sudo mylg trace google.com -6
trace route to google.com (2404:6800:4008:802::200e), 30 hops max
invalid argument

@amosbird I just tried and it doesn't show "invalid argument" do you have IPv6 on the host? what myLG version did you try?

yeah, ipv6 works fine here. I'm using myLG v0.2.7


Use webpack's new logging interface

Welcome! Please use this template for reporting bugs or requesting features. For questions about using Workbox, the best place to ask is Stack Overflow, tagged with [workbox]: https://stackoverflow.com/questions/ask?tags=workbox
Library Affected:
workbox-webpack-plugin
C.f. https://webpack.js.org/api/logging/, introduced in webpack v4.39.0.
It would be good to bring over some of the info we print in the CLI in the webpack output:
https://github.com/GoogleChrome/workbox/blob/ab3f8d3575e62d104b65be53473d390dbe132b4b/packages/workbox-cli/src/app.ts#L58-L59

This was added in #2641


fix: update dependencies to the latest version

@ryansolid Could you merge this? Solid-jest doesn't work with the latest Jest unless this is merged.


Add a default prompt to run ng completion

🚀 Feature request
Command (mark with an x)
Prompt on any CLI without ng completion that hasn't been prompted before to run ng completion by default.
Description
ng completion is the autocomplete feature I've always wanted, to improve CLI discoverability, prevent typos, and in general provide a better developer experience.
Adding this as a default prompt to CLI v14 users who have not run it yet helps make this improvement more built-in to the CLI instead of needing to advertise it and make it discoverable itself. This will greatly increase the number of developers who benefit from autocompletion.
Describe the solution you'd like
Prompt CLI users to add completion and autocomplete to their .bashrc, .bash_profile, .zshrc or .zsh_profile by default (with user consent).
Angular team internal discussion here: Thread
Related PR here: https://github.com/angular/angular-cli/pull/22967

The base implementation is done, but we forgot about Windows which doesn't support this kind of autocompletion. I want to set up some tests to make sure these changes don't break the CLI on Windows, we don't prompt Windows users, and ng completion should fail with a clear message on Windows platforms.

Landed a Windows-specific error message in #23075. Didn't quite make the 14.0.0-next.13 cutoff, but should be in 14.0.0-rc.0.


Why houses are path and not text?

I would like to know if there is any reason for houses number to be svg path and not text with the numbers.

Hi Arthur
I was planning to cut the graph into wood ( CNC ). For this reason I need
curves, not TTF font.
That is why I used the "stroke only
https://cdn.rawgit.com/Kibo/AstroChart/master/project/examples/transit/stroke_only.html"
graph too.
Tom
On Sun, Oct 25, 2020 at 8:48 PM Arthur Fücher<EMAIL_ADDRESS>wrote:

I would like to know if there is any reason for houses number to be svg
path and not text with the numbers.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Kibo/AstroChart/issues/30, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQ7BPZWOMFWGF5DSJFOQDSMR6JNANCNFSM4S6RRZ7A
.


Use root-relative links

We keep having problems with links that have the correct path but behave as if  they are broken. I think the issue is over whether there is a slash at the end of the URL in the user's browser. Switching to root-relative links may fix the issue. See also https://github.com/etherlinkcom/docs/pull/149.
Fixes #155.

Related: https://github.com/trilitech/tezos-developer-docs/pull/435


UIPageViewController with UICollectionView performance

Hi
We are using Classy on a project that has a UIPageViewController where each page has a UICollectionView.
When paging through the pages in the UIPageViewController we notice a small delay and with an attached profiler we notice that some of the time is spent in Classy.

Any advice on a workaround to remove the delay would be great.

Running into an issue on collection views in page view controllers on my own and saw this so I'll give some 2 cents. You can try to use AAPLAdvancedCollectionView (I believe the iTunes/Store app uses this) and dispatch some of the parse work for loading the collection view datasource on a background thread and to not let the datasource set any items until that work is finished. It should make the initial load smoother which will allow the gesture to run without interruption on the current run loop and then when the delegate of the page view controller calls back that the page did change you can let the collection load its items from the completed parse work.


Insertion point not found

Hi,
I looked around solutions for allowing nulls being passed into protobuf set() functions and this one looks really promising. Thank you for creating the plugin!
I tried to integrate the plugin with my Gradle Java project, and here is how it looks like in build.gradle.kts (only left the related ones):
import com.google.protobuf.gradle.id

plugins {
    java
    id("com.google.protobuf") version "0.9.4"
}

repositories {
    mavenCentral()
}

sourceSets {
    main {
        proto {
            srcDir("../protobuf/helloworld")
        }
    }
}

protobuf {
    protoc {
        artifact = "com.google.protobuf:protoc:3.25.3"
    }

    plugins {
        id("grpc") {
            artifact = "io.grpc:protoc-gen-grpc-java:1.62.2"
        }
        id("java_optional") {
            artifact = "org.grpcmock:protoc-gen-java-optional:1.10.0"
        }
    }

    generateProtoTasks {
        all().forEach { task ->
            task.plugins {
                id("grpc")
                id("java_optional")
            }
        }
    }
}

dependencies {
    compileOnly("io.grpc:protoc-gen-grpc-java:1.62.2")
    compileOnly("io.grpc:grpc-protobuf:1.62.2")
    compileOnly("io.grpc:grpc-stub:1.62.2")
    compileOnly("org.grpcmock:protoc-gen-java-optional:1.10.0")

    ...
}

Here is the hello world proto file, where I want the fields to be optional by using google.protobuf.StringValue.
syntax = "proto3";
option java_package = "com.example.helloworld.protobuf";
option java_multiple_files = true;

import "google/protobuf/wrappers.proto";

package helloworld;

message HelloRequest {
  google.protobuf.StringValue name = 1;
}

message HelloReply {
  google.protobuf.StringValue message = 1;
}

However, when I run the gradle generateProto task, I got the following error:
Execution failed for task ':generateProto'.
> protoc: stdout: . stderr: com/example/helloworld/protobuf/HelloRequest.java: Tried to insert into file that doesn't exist.
  com/example/helloworld/protobuf/HelloRequest.java: insertion point "class_scope:helloworld.HelloRequest" not found.
  com/example/helloworld/protobuf/HelloReply.java: Tried to insert into file that doesn't exist.
  com/example/helloworld/protobuf/HelloReply.java: insertion point "class_scope:helloworld.HelloReply" not found.

Note that this only happens when I specify google.protobuf.StringValue as the type for the field. If I change it to string then the classes will be generated (obviously without getting any code generated from this plugin).
I think I'm probably doing something wrong here and so would appreciate any help. Thank you!

Hi, I haven't tried running this plugin within some gradle generator plugin, but this protoc plugin needs to be run at the same time as the java output, if these are run separately then it will fail. If the gradle generator plugin doesn't support it then it won't be usable with it.

@Fadelis Thanks for the response. This gave me some hint that I need to add outputSubDir as below to make it work.
    generateProtoTasks {
        all().forEach { task ->
            task.plugins {
                id("grpc")
                id("java_optional") {
                    outputSubDir = "java"
                }
            }
        }
    }

However, now that I'm looking at the generated code, e.g. for HelloReply class:
    public Builder setOrClearMessage(com.google.protobuf.StringValue value) {
      if (value != null) {
        return setMessage(value);
      } else {
        clearMessage();
      }
      return this;
    }

It doesn't seem to be that useful because the function is accepting a StringValue object instead of a String object.
Most of the time I would start with an object like in String type, which can be null. Right now, with Protobuf I have to do the following (e.g. for pulling data from a database and then wrapping data using Protobuf):
    ExampleProtobufMessage.Builder builder = ExampleProtobufMessage.newBuilder();
    // resultSet is from JDBC after querying the database.
    // "id" and "name" are column names.
    Optional
        .ofNullable(resultSet.getObject("id"))
        .ifPresent(value -> builder.setId(Int64Value.of(value)));
    Optional
        .ofNullable(resultSet.getObject("name"))
        .ifPresent(value -> builder.setId(StringValue.of(value)));

What I would expect is to do something like:
ExampleProtobufMessage.Builder builder = ExampleProtobufMessage.newBuilder()
    .setOrClearId(resultSet.getObject("id"))  // This has to be getObject because getLong() will return a primitive long value
    .setOrClearName(resultSet.getObject("id"))
    ...
    .build();

So Ideally the setOrClear() function will have an implementation like:
    public Builder setOrClearId(Object value) {
      if (value != null) {
        // We can assert the type of the object to make sure it's a long.
        return setId(Int64Value.of((long)value));
      }
      else {
        clearId();
      }
      return this;
    }

For comparison, here is the current implementation of setOrClearId():
    public Builder setOrClearId(com.google.protobuf.Int64Value value) {
      if (value != null) {
        return setId(value);
      } else {
        clearId();
      }
      return this;
    }

No sure why you'd expected for it to have different method signature than the original generated method. You can do if you want
builder.setId(Optional.ofNullable(esultSet.getObject("id")).map(Int64Value::of).orElse(null))

But these primitive wrappers were initially made for primitive types to be able to have field presence concept (have nullability on the wire), but since protoc 3.15 there's a new optional keyword for proto3 version which is much more suited for it and adds possibility for field presence for primitive types.

No sure why you'd expected for it to have different method signature than the original generated method. You can do if you want
builder.setId(Optional.ofNullable(esultSet.getObject("id")).map(Int64Value::of).orElse(null))

But these primitive wrappers were initially made for primitive types to be able to have field presence concept (have nullability on the wire), but since protoc 3.15 there's a new optional keyword for proto3 version which is much more suited for it and adds possibility for field presence for primitive types.

You are right about the alternative (and it allows chaining as well). The only thing is that it's much more verbose than what I'm expecting :)


fixed typo

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

cordovadocs/2017/first-steps/build-your-first-app.md
:white_check_mark:Succeeded

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


Fix Discord Bridge CD Issue

This  fixes the issue with Discord  where using cd which caused the user's Discord account name to be displayed along with the devzat username when typing in cd" message. The problem was   the discordMessageHandler function, which has been changed  to skip processing when the message content is cd.

I want to do some thinking about whether this is the right way to solve this problem. Maybe this cd message should just never be sent. But that would require sending the messages to one bridge but not the other. I'm also curious about @Arkaeriit's thoughts on this.

Ok

Why did you close this?