Support file-like object based StreamReader/Writer pairs for meltano run

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3381
Originally created by @pandemicsyn on 2022-04-05 19:53:47

Chatting a bit with @aaronsteers we've kicked around the idea of adding support for File-like objects as the underlying communication mechanism for the ExtractLoadBlock in meltano run a few times, and wanted to finally get it down on paper. The basic idea is that, rather than chaining stdio of tap, mappers, targets together using asyncio.subprocess.PIPE directly, we actually offer an option to run with a custom interface that reads and feeds stdin/stdout/stderr as usual, but behind the scene's is using a file like object.
Basically, we would capture a tap's stdout, and rather than piping it to the next IOBlock directly, we'd write that to a tmp file on disk. Down stream, a target's stdin would be in turn fed by tailing the tmp file. Neither the tap nor the target would actually be aware of this, meltano would handle the abstraction and details.
This approach has obvious throughput/performance and durability issues, so by no means advocating for this to be the default mode, but providing it as a runtime option opens up some interesting possibilities. Since named pipe's basically look and act like a file, we also unlock some additional "interesting" scenarios for free:

File backed writes would effectively function as a write buffer, handy for scenarios where targets are slower and memory is a constraint.
A runtime argument to persist the file even after a run completes would also be very useful for troubleshooting. Particularly in scenarios where users want to capture raw stdout/stderr entries to diagnose issue (@vischous uses this pattern successfully a lot for troubleshooting)
Named pipes could provide cross container pipes, that would presumably be more performant than a file-based one.
Named pipes could enable primitive cross network writes (probably a terrible idea, but, an idea!).
Could also serve as a way to implement a primitive single-writer, multi-reader pattern (an even more terrible idea, but, an idea!).

I think importantly, it also lays the groundwork for "real" network-based pipes, since an implementation would most likely use the same interface.

View 1 previous comment from the original issue on GitLab


refactor/PSD-3321:Make_change_to_overseas_regulator_field_change_notifying_country_field

Changed all references to overseas_regulator country in the code now change notifying_country instead.
Made changes to field names for forms in order to reflect these changes, made changes to form to now use GOVUKDesignSystemFormBuilder instead of applicationformbuilder.
Made changes to activity partial so that it displays UK based countries in human form not the country code, this bug has been in the code for a long time.
Made spec changes

All looks good, are we 100% sure we are removing this now?

Yeah this is step 2 of the ticket, this needs to be done before I mogve onto the ticket where i create the migration


Development tools

I have created a tool to simplify the development between a glTF file and the unity application.
This tool is still under development but first target the IBC demo deadline (mid september), and has vocation to be merged into the core rt-xr/glTFast repository once done. It resolves the issue here (https://github.com/5G-MAG/rt-xr-unity-player/issues/41)
In order to test this new tool, here is an application code example to use :
This simple script allow to place a sofa model on the detected floor (that will appear in a transparent yellow color) with the help of a mobile device (tested on an android tablet).
Please first:

Make sure that the StartApplication method is called once the glTF file has loaded completely (after gltfsceneViewer.Load)
Use the asset from this PR (https://github.com/5G-MAG/rt-xr-content/pull/25)

using rt.xr.unity;
using UnityEngine;
using GLTFast;
using System;
using UnityEngine.XR.ARFoundation;
using System.Collections.Generic;

namespace UnityPlayer.Application
{
    public class Application : MonoBehaviour
    {
        private ARRaycastManager m_RaycastManager;
        private List<ARRaycastHit> m_RaycastHitList;
        private Camera m_Camera;

        private bool m_IsAnchored;
        private bool m_IsPressed;
        private GameObject m_AnchoredGameObject;
        private Vector2 m_LastMousePos;

        public void StartApplication()
        {
            UserInputModule.GetInstance().Register(OnUserInput, 0);
            ActionModule.GetInstance().Register(OnActionManipulate, 0);
            TrackableModule.GetInstance().Register(OnTrackableEvent, 0);
        }

        private void OnActionManipulate(MPEG_ActionEvent _event)
        {
            MPEG_ActionManipulateEvent _manipulate = (MPEG_ActionManipulateEvent)_event;
            m_LastMousePos = _manipulate.inputAction.ReadValue<Vector2>();
        }

        private void OnTrackableEvent(MPEG_TrackableEvent _event)
        {
            if(_event.trackableType == GLTFast.Schema.TrackableType.TRACKABLE_FLOOR)
            {
                if (_event.trackableEventType == TrackableEventType.ADDED)
                {
                    m_IsAnchored = true;
                    m_AnchoredGameObject = VirtualSceneGraph.GetGameObjectFromIndex(3);
                    m_AnchoredGameObject.transform.localScale *= 0.95f;

                    m_RaycastManager = FindObjectOfType<ARRaycastManager>();
                    if(m_RaycastManager == null)
                    {
                        m_RaycastManager = gameObject.AddComponent<ARRaycastManager>();
                    }

                    m_RaycastHitList = new List<ARRaycastHit>();
                    m_Camera = Camera.main;
                }
            }
        }

        private void Update()
        {
            if(!m_IsAnchored)
                return;

            if(!m_IsPressed)
                return;

            Ray _ray = m_Camera.ScreenPointToRay(m_LastMousePos);

            if (m_RaycastManager.Raycast(_ray, m_RaycastHitList, UnityEngine.XR.ARSubsystems.TrackableType.Planes))
            {
                Pose _hitPose = m_RaycastHitList[0].pose;
                Vector3 _offset = new Vector3(0, -0.2f, 0);
                m_AnchoredGameObject.transform.position = _hitPose.position + _offset;
            }
        }

        private void OnUserInput(MPEG_UserInputEvent _event)
        {
            m_IsPressed = _event.isPerformed;
        }
    }
}

Hello,
Thank you for your review. To answer your questions:

What exactly do you plan to add to it in order to have these utility classes integrated ?

I am planning to add more fields in the events structures, such as game object references, and more handy tools.

Shouldn't the target for 'action manipulate' be retrieved from the action's definition as signaled in the scene instead

Yes it could, and this may be more handy, but for the IBC demo it should be fine


Various networking robustness measures

Networking enhancements in support of #35 through customisation of the AlamoFire session:

default request timeout set to 30 seconds
waitsForConnectivity set (will probably provide the greatest benefit)
configurable retry interceptor added with max 3 retries with 5 second delay

Please note that this is my first foray into Swift and iOS development - so a strong peer review would be required. Changes have been tested on my iPhone 12 mini and appear to work as expected.

@philsturgeon small change for your review. Let me know if you would like any changes, I would be happy to make them.

Once we're done with Highchurch Farm (several thousand trees) I'll merge this and test it out at a smaller site.


Get translation asynchronously

I'm submitting a...

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

Current behavior
When I inject TranslocoService in my service and then immediately want to fetch the results (i.e, fetch in the constructor) I get empty results. I guess it happens because of the translation is yet to be ready.
So it leaves me with two alternatives:

Preload the translation (which isn't a viable solution for every app).
Delay the request for translation (but you can't know exactly when it'll be ready).

Expected behavior
I suggest that Transloco should have a method that indicates if the translation is read, or to make a method that gets the translation as a promise (resolved when the translation is ready).
In ngx-translate I simply used this.translate.get for async.
Minimal reproduction of the problem with instructions

Create a new angular app
Add Transloco
Try to translate inside a service constructor.

What is the motivation / use case for changing the behavior?
Using the translation outside of the view after a service has been initialized.
Environment

Angular version: 8.2.5

Browser:
- [X] Chrome (desktop) version 74
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

Hi @Newbie012,
Did you try to use the select method?
// Translate specific key
this.service.selectTranslate('hello').subscribe(value => ...);
// Load and returns the provided language
this.service.selectTranslation('es').subscribe(translation => ...);

Actually yes. Much better now =)


Rewrite example using Task-based Asynchronous Pattern

Example code is written using the old IAsyncResult pattern.
Rewrite examples using Task-based Asynchronous Pattern.

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

ID: 91e33dad-b973-a334-e6d2-203472cb9aca
Version Independent ID: 8a42e2e8-6617-74e0-81fc-009df48fff82
Content: Asynchronous Client Socket Example
Content Source: docs/framework/network-programming/asynchronous-client-socket-example.md
Product: dotnet-framework
GitHub Login: @karelz
Microsoft Alias: ncldev

I hope this is useful:
Rewritten according to the Task-based Asynchronous Pattern

@HamidMolareza,
The code still have references to Begin* and End*.
https://github.com/HamidMolareza/AsynchronousClient/blob/master/AsynchronousClient/Program.cs#L114
https://github.com/HamidMolareza/AsynchronousClient/blob/master/AsynchronousClient/Program.cs#L60
Which is part of the old IAsyncResult API.

@vanillajonathan
If i use base methods like Socket.Send(), Receive() and so on, is it useful to you?

@vanillajonathan
Please see this updated source.
IAsyncResult methods (like Begin* and End*) have been removed:
Template2 - AsynchronousClient

@HamidMolareza This is better.
Maybe it should use Encoding.UTF8 instead of Encoding.ASCII though.
Line 112 looks suspicious.
But line 112 and line 132 looks suspicious. Is that wrapping the result of a synchronous method in a task instead of calling an asynchronous method?

I checked, you're right. Those lines are not really asynchronous. (Also line 68)  :(
So after looking at the .NET Framework source, I saw the two methods used here:
1- TaskFactory.FromAsync that is used in Template1 source and recommended for converting patterns.
2- TaskFactory.StartNew or Task.Run that will be created on a new thread. (Not the current thread)
I did not find another way.

@vanillajonathan
I checked, you're right. Those lines are not really asynchronous. (Also line 68)  :(
So after looking at the .NET Framework source, I saw the two methods used here:
1- TaskFactory.FromAsync that is used in Template1 source and recommended for converting patterns.
2- TaskFactory.StartNew or Task.Run that will be created on a new thread. (Not the current thread)
I did not find another way.

Attention "save the noobs"
This code doesn't work out of the BOX , there is a hidden error , the client will simply closes up the console without a successful attempt of connection.
Solution:
Line 40 . change
IPHostEntry ipHostInfo = Dns.GetHostEntry("host.contoso.com");
Into
IPHostEntry ipHostInfo = Dns.GetHostEntry(Dns.GetHostName());
Attention "is over"
P. S. for this thread owner , i am very thankful, if you correct the code , please delete my attention Comment.
Thanks.

The sibling article, Asynchronous Server Socket Example should also be updated to use async-await instead of APM.


Remove Fiptubat link

This project isn't really relevant to what I do nowadays.

That said, I put some work into it! So I'm going to move it to a new section.

Cleaned up, and deployed.


Add hide feed

Why are you trying to merge all these commits that are already here in the main branch?
Also, we are working on a code rework and won't be accepting any pull requests until that is done. Once we finish that, you can try submitting a new PR

You should probably set up your username and email in git as well, so it shows up as a contribution by you in the git log and blame.
$ git config user.name leonn00albert
$ git config user.email<EMAIL_ADDRESS>
If you want to keep your email private, you can use a noreply address that GitHub provides. See https://github.com/settings/emails

ooh sorry didn;t mean to just wanted to add 1 commit


fix(types): fix styled-components types

:tada: This PR is included in version 3.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Emit a better warning when default-exporting an inappropriate declaration

Courtesy of @LPGhatguy in #3914.
Instead of going off the rails, we should resiliently parse the following:
export default interface User {
    hi: string;
}

And give an error like
An 'interface' declaration cannot be 'export default'. Consider writing 'export default User;' separately.

If we don't fix #3914 we should certainly do this. My preference would be to just allow these sorts of declarations.

Agreed, I'd prefer just allowing these sorts of declarations for the sake of consistency.

I'm guessing it's not allowed because interfaces and enums are not *EcmaScript objects, correct? What's the list of types this fails on? Just interface and enum or are there more?

seems already worked?


auto publish npm packeage when tag

auto publish npm packeage when tag

Coverage remained the same at 34.338% when pulling 13dd0d13cb4814fddc7be5401dfb2cdee1c38ed9 on embbnux:feature-npm-auto-publish-with-tag into 5f05d2e478bdd793d371218ca0255551586d88f5 on ringcentral:master.


Added a new documentation page for faster GRIB aggregations

This PR adds a new page in the kerchunk documentation for faster reference consolidation for GRIB files.

Let me know when this PR is ready for another look.

@martindurant  I've made the changes like you've suggested. It is ready for review.


why the minimal  protocol version is 70016

I saw the  p2p version message source code which  set the  limit lowest protocol to 70016,but why ?

Because the developers wanted to use some features that were only available for protocol version 70016 or later. There is one comment in the code that this version is related to bip-31 for ping/pong. You can see other features being added, with increasing minimum protocol versions, in the file version.h.

@JB395 but ping / pong  message is already supported in version 60001, and I don't see any comment about the protocol version 70016 support in file versioh.h
`static const int PROTOCOL_VERSION = 70016;
//! initial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
//! In this version, 'getheaders' was introduced.
static const int GETHEADERS_VERSION = 31800;
//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 70016;
//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
static const int CADDR_TIME_VERSION = 31402;
//! BIP 0031, pong message, is enabled for all versions AFTER this one
static const int BIP0031_VERSION = 60000;
//! "mempool" command, enhanced "getdata" behavior starts with this version
static const int MEMPOOL_GD_VERSION = 60002;
//! "filter*" commands are disabled without NODE_BLOOM after and including this version
static const int NO_BLOOM_VERSION = 70011;
//! "sendheaders" command and announcing blocks with headers starts with this version
static const int SENDHEADERS_VERSION = 70012;
//! "feefilter" tells peers to filter invs to you by fee starts with this version
static const int FEEFILTER_VERSION = 70013;
//! short-id-based block download starts with this version
static const int SHORT_IDS_BLOCKS_VERSION = 70014;
//! not banning for invalid compact blocks starts with this version
static const int INVALID_CB_NO_BAN_VERSION = 70015;`

PROTOCOL_VERSION was bumped to 70016 along with MIN_PEER_PROTO_VERSION to kick out nodes from pre mainnet versions trying to connect to the mainnet network.


Usability Improvement

Hi, thanks for your PR! I'm glad that CMake (and CLion) now supports CUDA more out-of-the-box, but I also want to keep this repository available for older CMake versions. For example on Ubuntu 18.04, which is quite common, the maximum available CMake version through apt is 3.10, so this repository would stop working there if CMake 3.14 was required. Is there a way to make it work with older CMakes?


docs: central location for "stage" definition + link to it

[ ] Decide where should the "stage" definition be (probably a guide?)
[ ] update links throughout (currently to run and stage refs)

Originally posted by @jorgeorpinel in https://github.com/iterative/dvc.org/pull/3218#discussion_r793862432

Decide where should the "stage" definition be (probably a guide?)

2 places come to mind actually:

A section for a future Pipelining guide (mentioned in https://github.com/iterative/dvc.org/issues/2883)
Basic Concepts section (mentioned in https://github.com/iterative/dvc.org/issues/550)

So since those are already planned, this issue is mainly about the 2nd task: updating the links once "stage" is properly documented.

I decided to update those existing issues instead so we can close this. Less duplicity.


Update 2023-01-25-htcondor-osg.md

There is no mention in this announcement of the co-located ATLAS, CMS, and OSG-supported collaboration meetings. At very least, we should mention the ATLAS and CMS ones. Can you look on previous AHM sites for language? I think it can be just a sentence toward the end of the page.

I added the folloing:The U.S. ATLAS and U.S. CMS high-energy physics projects are also planning parallel OSG-related topics during the event on Wednesday, July 12. (For other attendees, Wedneday's schedule will also include parallel HTCondor and OSG tutorials and OSG Collaborations sessions.)

This was merged in another branch later.


Allow etcd cluster health check via port 2379: fix #190

Current coverage is 69.11% (diff: 100%)

Merging #191 into master will not change coverage

@@             master       #191   diff @@
==========================================
  Files             4          4
  Lines          1130       1130
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            781        781
  Misses          261        261
  Partials         88         88

Powered by Codecov. Last update dec2402...93f496d

LGTM 👍 Thanks for your contribution @jgmize!


Reducing overfitting with embedding weights??

[X] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps
[X] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

Hi,
I'm working on text prediction task using my pretrained word embeddings. The current model is severely overfitting with increasing val loss. Need your advice on how to mitigate this and the train network properly. I'm using embedding weights in input layer. The embeddings were trained using a larger corpus. The training corpus of model is a subset of it. For out of vocab words I'm using glorot_uniform(270,) to get random embeddings.
Q1- Is it because my network parameters are far greater than train size ?
Q2- Am I using embeddings correctly? Do I have problem with embedding weights?
Q3- What else can I try?
Things I've tried:

Passing train data as val data for bug check. Val loss decreases.
Adding regularization to all layers.
Reducing lstm cells from 256-128
Varying input sequence length 5-32

My model

Trained a word2vec model to get word embeddings.
X_train: sequence of words (indices map using wordvec and oov dictionary)
Using X_train to get embedding weights from word2vec model. i.e embed[i]=word2vec[X_train[i]]
y_train- one hot target vector with 1 at pos of next word wrt to corpus indices i.e not using word2vec+oov dict.

Corpus size: 46265, Corpus vocab size: 22120
Out of vocab words:  15248
Vocab size of Word2vec model + oov words: 34444
Train corpus size:  46169
Test corpus size:  96
X_train.shape:  (46137, 32)
y_train.shape:  (46137, 22120)
embed_weight.shape:  (34444, 270)

w2v_dim= 270
seq_length= 32
corpus_vocab_size= # of unique words in corpus
memory_units=128

model.add(Embedding(embed_weight.shape[0], embed_weight.shape[1], mask_zero=False, weights=[embed_weight], input_length=seq_length, W_regularizer=l2(l2_emb)))
model.add(LSTM(memory_units, return_sequences=False, init= "orthogonal", W_regularizer=l2(l2_lstm)))
model.add(Dropout(0.5))
model.add((Dense(corpus_vocab_size, activation='softmax', init= "orthogonal", W_regularizer=l2(l2_dense)))

Compiling Model
l2_emb:  0.7  l2_lstm:  0.7  l2_dense:  0.7  Dropout:  0.5

Fitting model
Train on 36909 samples, validate on 9228 samples
('lr:', array(0.0010000000474974513, dtype=float32))
Epoch 1/40
36909/36909 [==============================] - 135s - loss:<PHONE_NUMBER> - acc: 0.0223 - val_loss: 9.8617 - val_acc: 0.0237
('lr:', array(0.0010000000474974513, dtype=float32))
Epoch 2/40
36909/36909 [==============================] - 134s - loss: 35422.2196 - acc: 0.0231 - val_loss: 9.9594 - val_acc: 0.0237
('lr:', array(0.0010000000474974513, dtype=float32))
Epoch 3/40
36909/36909 [==============================] - 135s - loss: 3996.1297 - acc: 0.0231 - val_loss: 10.1249 - val_acc: 0.0237
('lr:', array(0.0010000000474974513, dtype=float32))
Epoch 4/40
36909/36909 [==============================] - 134s - loss: 254.4328 - acc: 0.0229 - val_loss: 10.3708 - val_acc: 0.0237
('lr:', array(0.0010000000474974513, dtype=float32))
.
.
.
Epoch 38/40
36909/36909 [==============================] - 134s - loss: 9.0427 - acc: 0.0231 - val_loss: 11.7586 - val_acc: 0.0237
('lr:', array(0.0005000000237487257, dtype=float32))
Epoch 39/40
36909/36909 [==============================] - 134s - loss: 9.0425 - acc: 0.0231 - val_loss: 11.7566 - val_acc: 0.0237
('lr:', array(0.0005000000237487257, dtype=float32))
Epoch 40/40
36909/36909 [==============================] - 134s - loss: 9.0423 - acc: 0.0231 - val_loss: 11.7524 - val_acc: 0.0237

@braingineer @farizrahman4u @carlthome your two cents??
Need advice. Thanks !
Edit: optimizer=adam, loss='categorical_crossentropy'

Mention optimizer and loss too.

@farizrahman4u  optimizer=adam, loss='categorical_crossentropy'

why aren't you using masking @ishank26?

also, your l2 is insanely high. I usually use 1e-6 through 1e-8. https://github.com/braingineer/neural_tree_grammar/blob/master/fergus/configs/premade_confs/language_model.conf#L44 which is used at https://github.com/braingineer/neural_tree_grammar/blob/master/fergus/models/language_model/model.py#L84

Have you tried first setting the embedding layer to not be trainable, training the higher layers for a few epochs, and then unfreezing the embeddings?

@braingineer I'll drop my l2 and revert back. I have a questions-

when to use l1 in context to RNN? My understanding is that l1 acts as a feature selector and induces sparsity.
And when to use- U_regularizer: instance of WeightRegularizer (eg. L1 or L2 regularization), applied to the recurrent weights matrices

Could you please clarify these doubts. Thanks

@jerheff  Thanks for the suggestion. What is the intuition behind this type of procedure?

@ishank26, freezing pretrained weights during transfer learning is very common, perhaps @jerheff thought of something like that and didn't think of that your word2vec data is static when input to the sequence learner?

@carlthome should I train freezing embedding layer? Does this makes sense for my task?

@carlthome I could be missing something, but isn't the Embedding layer as specified in the comment learned in the model?  It seems to me that attaching this directly to randomly initiated layers would be a bad idea until those layers settle down.
On the other hand, if the word2vec transform is happening outside of the model (and not learnable) then it is not something to discuss.

I must say that in my opinion using ob Embedding layer always leads to over-fitting simply because Embedding DRAMATICALLY increases number of free parameters to learn. Just suppose you have 500K vocabulary for each word 100 floats. In the other case when you use word2vec pretrained and FIXED representation number of free parameters is just equal to number of free parameters of your NN which often quite small.


Redis proxy with tls mode simple breaks envoy startup

Title: Redis proxy with tls mode simple breaks envoy startup
Description:
Redis proxy with tls mode simple breaks envoy startup. Note that the same config works fine before app startup is attempted - redis connectivity seems to be working fine.
To put it differently, when redis cluster is added at runtime it works - associated with this message in logs:

add/update cluster message.cluster.wbx3 starting warming

When the app attempts a restart the same configuration prevents envoy startup - associated with this message in logs:

add/update cluster message.cluster.wbx3 during init

This seems related to envoy having 2 different paths for runtime addition of cluster vs init addition: https://github.com/envoyproxy/envoy/blob/v1.25.11/source/common/upstream/cluster_manager_impl.cc#L766-L775
Repro steps:
Save the below config to a file and apply: kubectl apply -f test.yaml
Config:
this was configured with this istio config, using istio 1.17 and envoy 1.25
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: elasticache-redis-proxy-hello-world-test
  labels:
    app.kubernetes.io/name: hello-world
spec:
  location: MESH_EXTERNAL
  resolution: DNS
  hosts:
    - message.elasticache-proxy.wbx3
  exportTo:
    - .
  endpoints:
    - address: clustercfg.endpoint.cache.amazonaws.com
  ports:
    - number: 36379
      name: redis
      protocol: REDIS
      targetPort: 6379

---

apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
  name: elasticache-redis-proxy-hello-world-test
  labels:
    app.kubernetes.io/name: hello-world
spec:
  host: message.elasticache-proxy.wbx3
  exportTo:
    - .
  trafficPolicy:
    connectionPool:
      tcp:
        connectTimeout: 500ms
        tcpKeepalive:
          time: 300s
          interval: 60s
    tls:
      mode: SIMPLE
      caCertificates: /etc/ssl/certs/ca-certificates.crt

---

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: elasticache-redis-cluster-hello-world-test
  labels:
    app.kubernetes.io/name: hello-world
spec:
  workloadSelector:
    labels:
      app.kubernetes.io/name: hello-world
  configPatches:
    - applyTo: CLUSTER
      match:
        context: SIDECAR_OUTBOUND
        cluster:
          service: message.elasticache-proxy.wbx3
          portNumber: 36379
      patch:
        operation: MERGE
        value:
          name: message.cluster.wbx3
          lb_policy: CLUSTER_PROVIDED
          connect_timeout: 2s
          cluster_type:
            name: envoy.clusters.redis
            typed_config:
              "@type": type.googleapis.com/google.protobuf.Struct
              value:
                cluster_refresh_rate: 10s
                cluster_refresh_timeout: 1s
          health_checks:
            - custom_health_check:
                name: envoy.health_checkers.redis
                typed_config:
                  "@type": type.googleapis.com/envoy.extensions.health_checkers.redis.v3.Redis
              timeout: 1s
              interval: 10s
              unhealthy_threshold: 5
              healthy_threshold: 1
          typed_extension_protocol_options:
            envoy.filters.network.redis_proxy:
              "@type": type.googleapis.com/envoy.extensions.filters.network.redis_proxy.v3.RedisProtocolOptions
              auth_password:
                inline_string: passwd

---

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: elasticache-redis-proxy-hello-world-test
  labels:
    app.kubernetes.io/name: hello-world
spec:
  workloadSelector:
    labels:
      app.kubernetes.io/name: hello-world
  configPatches:
  - applyTo: NETWORK_FILTER
    match:
      listener:
        filterChain:
          filter:
            name: envoy.filters.network.redis_proxy
    patch:
      operation: MERGE
      value:
        name: envoy.redis_proxy
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.redis_proxy.v3.RedisProxy
          stat_prefix: redis_stats_message
          downstream_auth_passwords:
            - inline_string: passwd
          prefix_routes:
            catch_all_route:
              cluster: message.cluster.wbx3
          settings:
            op_timeout: 2s
            enable_redirection: true
            enable_command_stats: true
            read_policy: ANY
            dns_cache_config:
              name: redis-dns-cache
              dns_lookup_family: V4_ONLY
              dns_refresh_rate: 300s
              max_hosts: 100

Logs:
failing startup logs have this related to the TLS mode simple of the cluster:
2023-10-31T17:01:52.220602Z	debug	envoy dns external/envoy/source/extensions/network/dns_resolver/cares/dns_impl.cc:275	dns resolution for clustercfg.ec-message-int135.jlgat1.use1.cache.amazonaws.com completed with status 0	thread=43
2023-10-31T17:01:52.220620Z	debug	envoy upstream external/envoy/source/common/upstream/upstream_impl.cc:451	transport socket match, socket default selected for host with address <IP_ADDRESS>:6379	thread=43
2023-10-31T17:01:52.220629Z	debug	envoy config external/envoy/source/extensions/transport_sockets/tls/ssl_socket.cc:398	Create NotReadySslSocket	thread=43
2023-10-31T17:01:52.220674Z	debug	envoy connection external/envoy/source/common/network/connection_impl.cc:939	[C1] connecting to <IP_ADDRESS>:6379	thread=43
2023-10-31T17:01:52.220753Z	debug	envoy connection external/envoy/source/common/network/connection_impl.cc:958	[C1] connection in progress	thread=43
2023-10-31T17:01:52.220811Z	debug	envoy upstream external/envoy/source/extensions/clusters/redis/redis_cluster.cc:307	executing redis cluster slot request for 'message.cluster.wbx3'	thread=43
2023-10-31T17:01:52.221698Z	debug	envoy connection external/envoy/source/common/network/connection_impl.cc:688	[C1] connected	thread=43
2023-10-31T17:01:52.221709Z	debug	envoy connection external/envoy/source/common/network/connection_impl.cc:250	[C1] closing socket: 0	thread=43
2023-10-31T17:01:52.221750Z	debug	envoy upstream external/envoy/source/extensions/clusters/redis/redis_cluster.cc:566	redis cluster slot request for 'message.cluster.wbx3' failed	thread=43

@msukalski @henryyyang


Connecting OV2640 camera to Arduino BLE 33

I recently got the OV2640 camera, and there is no documentation on how to connect it to Arduino BLE 33/Arduino Nano. I will need the wiring connection and any other useful link. Thanks

Hi,
The camera we use on arduino is spi interface, as shown below.

The camera you purchased is not our product, please contact the dealer where you purchased the product.

This is the product link of our spi camera：https://www.arducam.com/docs/spi-cameras-for-arduino/
Hope it helps you.


pom file is broken

The java does not compile because it uses lambda expressions and the pom has
<maven.compiler.source>1.6</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.6</maven.compiler.target>

Please change 1.6 to 1.8.

Looks like this was fixed in e0c6cd94f1c1b125f521ef5d00f2c4b9a7a0804e 16 Jan 2017


docker autodiscovery getting containers in different networks

Output of the info page (if this is a bug)
Getting the status from the agent.

===============
Agent (v6.15.1)
===============

  Status date: 2019-11-28 20:44:27.382003 UTC
  Agent start: 2019-11-28 20:40:01.379729 UTC
  Pid: 337
  Go Version: go1.12.9
  Python Version: 2.7.17
  Check Runners: 4
  Log Level: info

  Paths
  =====
    Config File: /etc/datadog-agent/datadog.yaml
    conf.d: /etc/datadog-agent/conf.d
    checks.d: /etc/datadog-agent/checks.d

  Clocks
  ======
    NTP offset: -5.722ms
    System UTC time: 2019-11-28 20:44:27.382003 UTC

  Host Info
  =========
    bootTime: 2019-11-27 03:41:46.000000 UTC
    kernelVersion: 4.9.184-linuxkit
    os: linux
    platform: debian
    platformFamily: debian
    platformVersion: 10.2
    procs: 68
    uptime: 40h58m17s
    virtualizationRole: guest
    virtualizationSystem: docker

  Hostnames
  =========
    hostname: docker-desktop
    socket-fqdn: b2b60ea45b1e
    socket-hostname: b2b60ea45b1e
    host tags:
      env:dev
      docker_swarm_node_role:manager
    hostname provider: container
    unused hostname providers:
      aws: not retrieving hostname from AWS: the host is not an ECS instance, and other providers already retrieve non-default hostnames
      configuration/environment: hostname is empty
      gce: unable to retrieve hostname from GCE: Get http://<IP_ADDRESS>/computeMetadata/v1/instance/hostname: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

=========
Collector
=========

  Running Checks
  ==============

    cpu
    ---
      Instance ID: cpu [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/cpu.d/conf.yaml.default
      Total Runs: 17
      Metric Samples: Last Run: 6, Total: 96
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s

    disk (2.5.1)
    ------------
      Instance ID: disk:e5dffb8bef24336f [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/disk.d/conf.yaml.default
      Total Runs: 18
      Metric Samples: Last Run: 218, Total: 3,924
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 34ms

    docker
    ------
      Instance ID: docker [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/docker.d/conf.yaml.default
      Total Runs: 17
      Metric Samples: Last Run: 625, Total: 10,625
      Events: Last Run: 0, Total: 3
      Service Checks: Last Run: 1, Total: 17
      Average Execution Time : 195ms

    file_handle
    -----------
      Instance ID: file_handle [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/file_handle.d/conf.yaml.default
      Total Runs: 18
      Metric Samples: Last Run: 5, Total: 90
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s

    io
    --
      Instance ID: io [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/io.d/conf.yaml.default
      Total Runs: 17
      Metric Samples: Last Run: 65, Total: 1,060
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 1ms

    load
    ----
      Instance ID: load [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/load.d/conf.yaml.default
      Total Runs: 18
      Metric Samples: Last Run: 6, Total: 108
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s

    memory
    ------
      Instance ID: memory [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/memory.d/conf.yaml.default
      Total Runs: 17
      Metric Samples: Last Run: 17, Total: 289
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s

    network (1.11.5)
    ----------------
      Instance ID: network:e0204ad63d43c949 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/network.d/conf.yaml.default
      Total Runs: 18
      Metric Samples: Last Run: 175, Total: 3,150
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 7ms

    ntp
    ---
      Instance ID: ntp:d884b5186b651429 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/ntp.d/conf.yaml.default
      Total Runs: 1
      Metric Samples: Last Run: 1, Total: 1
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 1
      Average Execution Time : 966ms

    redisdb (1.13.0)
    ----------------
      Instance ID: redisdb:a378826d514449e8 [ERROR]
      Configuration Source: file:/etc/datadog-agent/conf.d/redisdb.d/auto_conf.yaml
      Total Runs: 18
      Metric Samples: Last Run: 0, Total: 0
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 18
      Average Execution Time : 1.211s
      Error: Error 111 connecting to <IP_ADDRESS>:6379. Connection refused.
      Traceback (most recent call last):
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/base/checks/base.py", line 652, in run
          self.check(instance)
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/redisdb/redisdb.py", line 468, in check
          self._check_db(instance, custom_tags)
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/redisdb/redisdb.py", line 176, in _check_db
          info = conn.info()
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/redis/client.py", line 665, in info
          return self.execute_command('INFO')
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/redis/client.py", line 578, in execute_command
          connection.send_command(*args)
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/redis/connection.py", line 563, in send_command
          self.send_packed_command(self.pack_command(*args))
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/redis/connection.py", line 538, in send_packed_command
          self.connect()
        File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/redis/connection.py", line 442, in connect
          raise ConnectionError(self._error_message(e))
      ConnectionError: Error 111 connecting to <IP_ADDRESS>:6379. Connection refused.
      Instance ID: redisdb:ecee8d6bbe555cb3 [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/redisdb.d/auto_conf.yaml
      Total Runs: 18
      Metric Samples: Last Run: 33, Total: 594
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 18
      Average Execution Time : 3ms

    uptime
    ------
      Instance ID: uptime [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/uptime.d/conf.yaml.default
      Total Runs: 17
      Metric Samples: Last Run: 1, Total: 17
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 0, Total: 0
      Average Execution Time : 0s

========
JMXFetch
========

  Initialized checks
  ==================
    no checks

  Failed checks
  =============
    no checks

=========
Forwarder
=========

  Transactions
  ============
    CheckRunsV1: 17
    Dropped: 0
    DroppedOnInput: 0
    Events: 0
    HostMetadata: 0
    IntakeV1: 4
    Metadata: 0
    Requeued: 0
    Retried: 0
    RetryQueueSize: 0
    Series: 0
    ServiceChecks: 0
    SketchSeries: 0
    Success: 38
    TimeseriesV1: 17

  API Keys status
  ===============
    API key ending with 77cc9: API Key valid

==========
Endpoints
==========
  https://app.datadoghq.com - API Key ending with:
      - 77cc9

==========
Logs Agent
==========

  Logs Agent is not running

=========
Aggregator
=========
  Checks Metric Sample: 20,341
  Dogstatsd Metric Sample: 70
  Event: 4
  Events Flushed: 4
  Number Of Flushes: 17
  Series Flushed: 16,333
  Service Check: 248
  Service Checks Flushed: 254

=========
DogStatsD
=========
  Event Packets: 0
  Event Parse Errors: 0
  Metric Packets: 69
  Metric Parse Errors: 0
  Service Check Packets: 0
  Service Check Parse Errors: 0
  Udp Bytes: 3,653
  Udp Packet Reading Errors: 0
  Udp Packets: 70
  Uds Bytes: 0
  Uds Origin Detection Errors: 0
  Uds Packet Reading Errors: 0
  Uds Packets: 0

Describe what happened:
I have two containerized redis one in the same containerized datadog's network (metrics) and the other in another network (proxy), datadog is trying to connect to both, the proxy one is obviously producing connection refused
Describe what you expected:
not to be autodiscovery since the container is in another network
Steps to reproduce the issue:
Create two networks, attach one redis to one and the other to the other, init datadog in one network, it tries to hit both
Additional environment details (Operating System, Cloud provider, etc):
I'm using docker.
Datadog logs
ops_datadog.0.yrjme6po5mez@docker-desktop    | 2019-11-28 20:40:02 UTC | CORE | WARN | (pkg/autodiscovery/autoconfig.go:529 in resolveTemplateForService) | error resolving template redisdb for service docker://b2b60ea45b1efac769bf9abffe431c89511c579ed76b1ffc7899d8570617c244: failed to resolve IP address for container docker://b2b60ea45b1efac769bf9abffe431c89511c579ed76b1ffc7899d8570617c244, ignoring it. Source error: not able to determine which network is reachable

possibly related with #4019

I hit the same error.

OS: Debian
Agent: install on host (no docker agent)
Config: /etc/datadog-agent/datadog.yaml

listeners:
  - name: auto
  - name: docker

config_providers:
  - name: docker
    polling: true

docker-compose.yaml
version: '2'

services:

  redis:
    image: redis:5-alpine
    restart: always
    networks:
      - default
      - redis
    labels:
      com.datadoghq.ad.check_names: '["redisdb"]'
      com.datadoghq.ad.init_configs: '[{}]'
      com.datadoghq.ad.instances: '[{"host": "%%host%%","port":"6379","password":"pwd"}]'
    command: ["redis-server", "--requirepass", "pwd", "--databases", "32"]

networks:
  redis:
    external:
      name: redis

sudo datadog-agent check redisdb
* error resolving template redisdb for service docker://[id]: failed to resolve IP address for container docker://[id], ignoring it. Source error: not able to determine which network is reachable
* Can't resolve the template for redisdb at this moment.
Error: no valid check found

If I switch %%host%% to localhost (yes I know it's wrong).

com.datadoghq.ad.instances: '[{"host": "localhost","port":"6379","password":"pwd"}]'

sudo datadog-agent check redisdb
=== Service Checks ===
[
  {
    "check": "redis.can_connect",
    "host_name": "docker",
    "timestamp":<PHONE_NUMBER>,
    "status": 2,
    "message": "",
    "tags": [
      "docker_image:redis:5-alpine",
      "image_name:redis",
      "image_tag:5-alpine",
      "redis_host:localhost",
      "redis_port:6379",
      "short_image:redis"
    ]
  }
]
=========
Collector
=========

  Running Checks
  ==============

    redisdb (3.1.1)
    ---------------
      Instance ID: redisdb:[id] [ERROR]
      Configuration Source: docker:docker://[id]
      Total Runs: 1
      Metric Samples: Last Run: 0, Total: 0
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 1
      Average Execution Time : 4ms
      Last Execution Date : 2020-10-12 16:19:15.000000 CEST
      Last Successful Execution Date : Never
      Error: Error 111 connecting to localhost:6379. Connection refused.
      Traceback (most recent call last):
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 550, in connect
          sock = self._connect()
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 606, in _connect
          raise err
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 594, in _connect
          sock.connect(socket_address)
      ConnectionRefusedError: [Errno 111] Connection refused

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 828, in run
          self.check(instance)
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/redisdb/redisdb.py", line 500, in check
          self._check_db()
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/redisdb/redisdb.py", line 194, in _check_db
          info = conn.info()
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/client.py", line 1304, in info
          return self.execute_command('INFO')
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/client.py", line 898, in execute_command
          conn = self.connection or pool.get_connection(command_name, **options)
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 1183, in get_connection
          connection.connect()
        File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 554, in connect
          raise ConnectionError(self._error_message(e))
      redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.

Check has run only once, if some metrics are missing you can try again with --check-rate to see any other metric if available.

If I fill valid IP address.

com.datadoghq.ad.instances: '[{"host": "<IP_ADDRESS>","port":"6379","password":"lotus"}]'

It works.


ROX-16279: add resync-check command to roxctl

Description
[WIP]
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO

Closing in favor of #5559


arguments and tests should be vectors

Right now, arguments and tests are simply integers which count the number of arguments or tests. This needs to change so that we can complete issue #1.
This is blocking issue #1.

Resolved by 34da891


False positives for CVE-2016-6652

False positive on library foo.jar - reported as cpe:/a:pivotal_software:spring_data_jpa:1.5.6,
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-jooq</artifactId>
    <version>1.5.6.RELEASE</version>
</dependency>

I believe jooq does not have anything to do with JPA by default.

Thanks for reporting this. The updated suppression rule will be included in the next release.

Great! Thanks.


Proposed Changes to add a Start Trigger and Reset Trigger

I added two more props,
startRecording?: boolean,   reset?: boolean,
And attached them to a didUpdate to be able to have more functionality over your package.
 componentDidUpdate() {     { this.props.startRecording ? this.startRecording() : undefined }     { this.props.reset ? this.onRemoveClick() : undefined }   }
I also updated Readme to reflect these changes.

Hey @bzitzow, do you still use this project? I'm still using it and would also be available to help maintain if @danrouse would like it.


macOS build: malloc.h not found

git clone --recursive  https://github.com/LLNL/raja-suite-tutorial.git
cmake -B build -S raja-suite-tutorial
cmake --build build

Two issues:
malloc.h not found:
/Users/harrison37/Work/2024.08.13.raja.tutorial/raja-suite-tutorial/Intermediate_Tutorial/00-BASE/fractal-ex0-c-loop.cpp:1:10: fatal error: 'malloc.h' file not found

Just drop the include, we already have included stdlib.h, which provides malloc
https://stackoverflow.com/questions/56463049/should-mac-osx-have-a-malloc-h-file
[ 93%] Building CXX object Intro_Tutorial/lessons/03_umpire_allocator/CMakeFiles/03_umpire_allocator.dir/03_umpire_allocator.cpp.o
[ 94%] Linking CXX executable ../../../bin/03_umpire_allocator
ld: library 'cuda' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Cuda isn't not, but we have attempt to phantom link cuda.

I don't see that when I build on LC with gcc 10.3.1. Do you see that error on your Mac?

Just macos :-)


updated gdrive link

Updated the g-drive link with the latest changes in the main branch.

The application runs properly. It transcribes audio from speaker and mic properly. Command line arguments work.


I want to implement a version of tensorflow of SCNN

I want to implement a version of tensorflow of SCNN, any tips i should note

Remember to use weight sharing for each direction.
When initializing SCNN, you may use a variance smaller than normal for numerical stability. For example, I use a variance sqrt(5) times smaller than MSRA initialization.

@FrancisGee How's your progress now?

@ytzhao The SCNN model is based on DeepLab-LargeFOV VGG version, not ResNet.
My code is modified from fb.resnet.torch because that code is well organized. But the model is based on VGG.
I have provided the pretrained model. You can see the full model architecture when you print it.

@XingangPan ok, thank you for your reply. I figured out it's based on VGG. I saw the printout of the VGG pretrained model from your link here. It's modified with last several layers. I'm also trying to convert your SCNN model to tensorflow recently.

@ytzhao Hi, have you implemented the tf version of SCNN? Can you share the code?

I have provided a script for generating SCNN caffe prototxt file: https://github.com/XingangPan/SCNN-prototxt-generator.
You can use http://ethereon.github.io/netscope/#/editor to visualize the architecture.
Hope it would be helpful.

Thanks for your help. This is very helpful. If I have more questions, I will consult you again.
Best Wishes,
Changqian Yu
On 06/12/2018 15:39，Xingang<EMAIL_ADDRESS>wrote：
I have provided a script for generating SCNN caffe prototxt file: https://github.com/XingangPan/SCNN-prototxt-generator.
You can use http://ethereon.github.io/netscope/#/editor to visualize the architecture.
Hope it would be helpful.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for your help. This is very helpful. If I have more questions, I will consult you again.

我写了一下SCNN_D，不知道是否正确？网络能work，现在还没有对比结果。必须实现4个方向效果才好吗？我只用了垂直方向。
with tf.name_scope("SCNN_D") as scope:
with slim.arg_scope(
[slim.conv2d],
weights_regularizer=slim.l2_regularizer(weight_decay),
weights_initializer=tf.truncated_normal_initializer(stddev=0.01),
reuse=reuse):
if is_training is True:
batch_size = features.shape.as_list()[0]
else:
batch_size = 1
slice_d = []
for i in range(features.shape.as_list()[1]): #SCNN_D
j = i + 1
slice_d.append(tf.strided_slice(features,
[0,i,0,0],
[batch_size,j,features.shape.as_list()[2],features.shape.as_list()[3]],
strides=[1,1,1,1]))
slice_sum = slice_d[0]
slice_concat = [slice_d[0]]
for i in range(features.shape.as_list()[1]-1):
slice_sum = slim.conv2d(
slice_sum,
features.shape.as_list()[3],
kernel_size=[1,9],
reuse = tf.AUTO_REUSE,
rate=1,
activation_fn=tf.nn.relu,
normalizer_fn=None,
scope='spatial_conv')+slice_d[i+1]
slice_concat.append(slice_sum)
        features = tf.concat(slice_concat, 1)

@ycszen sorry, nope, I switch to Caffe now.

@FrancisGee   你用tensorflow实现这个scnn了吗?

@ytzhao , @ding-hai-tao , I will implement a tensorflow version of SCNN after 11.16. If you are interested in this, you can refer to Codes-for-Lane-Detection where I will put my code.

@ycszen , tensorflow version of SCNN is available at this repo.


Rename FFI/_ffi file/methods.

The file/method naming is a bit confusing, the FFI bindings are generated for both  PolyvoxFilamentApi.h and PolyvoxFilamentFFIApi.h, it's just that every method on the latter runs on the Engine thread. Likewise the "_ffi" suffix isn't really accurate either.
Should probably rename to something more like PolyvoxFilamentFFIRenderThread.h and _engine_thread.

Renamed *FFI to *RenderThread methods


fix: set trust_remote_code to true by default

Try to fix the error  got multiple values for keyword argument 'trust_remote_code' when load falcon-instruct model, the related the issue https://github.com/xorbitsai/inference/issues/498

Hello, and thank you for your work!
I'd like to point out something about issue #498. The error you're addressing is located on line 113, but the changes you made are on line 57.
Here's what I found:
In this link:
https://github.com/xorbitsai/inference/blob/9066d5b798726d40eb7501ae2d71f5e253e1fb88/xinference/model/llm/pytorch/core.py#L138-L140
trust_remote_code is given a value inside the parent class.
But in this link:
https://github.com/xorbitsai/inference/blob/9066d5b798726d40eb7501ae2d71f5e253e1fb88/xinference/model/llm/pytorch/falcon.py#L109-L120
on line 113, trust_remote_code is still used directly.
To fix this, please remove trust_remote_code on line 116.
Additionally, on line 109, trust_remote_code should be included when using AutoTokenizer.from_pretrained, similar to FalconPytorchModel._load_model. Could you please make this adjustment as well?
Thank you again for your help!

@UranusSeven , Thank you very much for your detailed reply, Sorry for the misunderstanding of the codes in the previous comment. Please review the commit again and let me know if there is any other issues.


Delete spawn points for non-paths

Trying to go down a non-path may trigger a spawn point and prevent any backtracking.

This is doable now! It is an ongoing project but the syntax is available.
The testcase we were looking into before:

Is resolved with the following code under the relevant Room entry:
    Tweaks:
    - ID: 4     # change respawn trigger in top right
      Update:
        Remove: true

As an aside, you can also add new spawn points to levels to make it so that resetting doesn't perform a backtrack for you. For example, the following spawn is added by the following syntax:
    Tweaks:
    - Name: spawn
      Update:
        Add: true
        X: 240
        Y: 208

You can combine the two syntax and specify neither Add nor Remove to update attributes (currently just X Y Width Height) for existing entities.


Use mono-packages for docs examples

This updates the React Aria and React Stately examples to use the mono-packages rather than the individual packages, similar to how we have been doing it for React Spectrum. This simplifies the examples and reduces the number of packages people need to install.
Questions:

How should we handle the version shown at the top of the page? In RSP, people have been confused since this doesn't match the mono package version.
How should we expose what individual package a hook is part of?
Why did we only do this in the production docs rather than PR/local builds before? For now I turned that off so I could test, but not sure what the reason was.

Why did we only do this in the production docs rather than PR/local builds before? For now I turned that off so I could test, but not sure what the reason was

I think we did this so that we could develop docs for components/hooks that weren't released at all yet

hmm yeah, but there's a separate check for pre-releases also, which uses individual packages...

I just saw that, maybe that was added later?

Ah yeah, I think you're right https://github.com/adobe/react-spectrum/pull/712/files#diff-8eac6389915347070f55b54438fc38057f8933d3d7d4ce54ce8f24e25aac995fR317

is it enough to include both sets of information? maybe some better names than I used for some things, was trying to figure out short words/phrases for it.

I think it might just be confusing. I think for now we can change the version to just be the mono package version. The "View package" card below links to the individual package, where you can easily find the version.
@dannify also wanted to change "version" to "added" or "since", to show the version a component was added to the mono package instead of the current version. Might be more useful. That will require some more manual work (to be done separately).

@dannify also wanted to change "version" to "added" or "since", to show the version a component was added to the mono package instead of the current version. Might be more useful. That will require some more manual work (to be done separately).

I think this would help, we get people confused about when things were added pretty consistently.
If we kept an old version of docs for older versions of the mono packages, I think we could also solve it that way


Apply pixelRatio to line dash

Fixes #6090

@ahocevar I don't see how I should a reuse the previous line dash array.

@tchandelle The easiest would be to add the pixel ratio as another instruction with SET_STROKE_STYLE. It would initially be 1. When replaying at a different pixel ratio, you'd store the modified lineDash in the instruction set, and update the pixel ratio. So when creating the replay:
      this.instructions.push([
        ol.render.canvas.Instruction.SET_STROKE_STYLE,
        strokeStyle, lineWidth, lineCap, lineJoin, miterLimit, lineDash, true, 1
      ]);

And when replaying:
var lineDash = /** @type {Array.<number>} */ (instruction[6]);
var renderedPixelRatio = instruction[8];
if (usePixelRatio && pixelRatio !== renderedPixelRatio) {
  lineDash = lineDash.map(function(dash) {
    return dash * pixelRatio / renderedPixelRatio;
  });
  instruction[6] = lineDash;
  instruction[8] = pixelRatio;
}

@ahocevar : I've added both tests. I'm not sure if I've implemented the unit test the correct way.

@ahocevar do you want to take a final look?


Set-Clipboard Linux

Summary of the new feature/enhancement
PowerShell's [SG]et-Clipboard functional independence.
How to work with the clipboard in Linux using PowerShell? If the cmdlet Get-Clipboard requires installing xclip (gcb is a stub?), then what about Set-Clipboard? You can certainly use native utilities, but why then useless cmdlets?
My Environment
OS: KDE neon User Edition 5.20 x64
PowerShell v7.1.2 (manual install: download, unpack, symlink to /usr/bin)
xclip v0.13-1

xclip is used by both commands, as it supports both copying to and retrieving from the clipboard.
The problem with Linux platforms is that they can have a variety of GUI shells (if any), so there's no single utility or API that provides clipboard access on all of them.
The X11-based xclip utility works on all GUI shells (desktops) that are X11-based, such as on Ubuntu, a popular Linux distro.
While xclip may not be preinstalled, PowerShell does take advantage of it if present.

but why then useless cmdlets?

As a multi-platform shell, PowerShell aims to provide commands that work the same on all supported platforms.
With xclip present on a Linux distro, that aim is met (with respect to text - see #14758).
In its absence, the aim is met to a limited degree, via a PowerShell-specific clipboard scoped to the current session. That is, you can pair Set-Clipboard  and Get-Clipboard calls - and Get-Clipboard then only sees content copied by Set-Clipboard, not by other commands - though you won't have access to the platform's true, cross-process clipboard.

xclip is used by both commands

Only one of them does not work correctly. Set-Clipboard does add text to the clipboard, but it has to be interrupted by ^C or it will occupy the console. Look at the screenshot and note the duration of the Set-Clipboard execution (stopped by hand)

Good point - I also see the problem in 7.1.2 and 7.2.0-preview.3, on Ubuntu 18.04, and this is clearly a bug.
The problem must be related to how PowerShell waits for xclip to exit.
Please update your original post with the details of your environment, as requested in the issue template, and please change the issue title to reflect that Set-Clipboard on Linux with xclip present  hangs.
The workaround for now is to use xclip explicitly; e.g., 'foo' | xclip -selection clipboard

@iSazonov, can you please re-tag as a bug ('foo' | Set-Clipboard copies, but then hangs, in both 7.1.2 and Core 7.2.0-preview.3)?
It looks like one that is both serious and easy to fix.

can you please re-tag as a bug

Now it is in Work Groups competence :-) so I stopped all review work on issues.

Works great with xclip (fedora 36) - however I had to dig into the docs to even realize it was dependent on xclip, would be great with a if a warning / error msg that would say this if xclip is not present


Transferred sol

Issue: 6
Short description of what this resolves:
Transferred 0.1sol to given address.
Changes proposed in this pull request and/or Screenshots of changes:

@Ayashika the Nonce value is NOT correct. Please re-check. Try to understand what nonce means and you'll automatically get the answer.

@Ayashika Nonce value is incorrect. The nonce is not given directly in the transaction log but it is present there. You just have to understand what nonce means and paste it into your respective file. Also, the signature that you have attached is incorrect, I have received 0.1 sol from your wallet address, but its signature is different. There is a type in the slot as well.


road racer game

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #2894

Mark the task you have completed ✅

[ ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ ] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generates no new warnings.
[ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[ ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Vaibhav203 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @Vaibhav203 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Make luminosity unit configurable

Fixes #26
Rather than using
if type(lumi)==float:
        cms_lumi = f"{lumi:.0f}" if round_lumi else f"{lumi}"
        cms_lumi += " fb^{#minus1}"
elif type(lumi)==str:
        cms_lumi=lumi

as suggested in #26, I think that only changing the unit itself but without the -1 exponent might be safer to prevent people from accidentally using different ^-1. Let me know what you think, @pfs.

thanks a lot @clelange that's more elegant and will cover the needs


Need testing on autobattle script

I've created a very basic script for users that would want to enter an exploration (for metal eggs farming). The scripts is simply 3 clicks. One for moving up, one for moving down, and one in the niddle (so if ther app crash it can be reopened). This script assumes that the user begins the mission, start first battle, press auto one time and then let the macro run. When all the battes in zone one are over, the user move the pg in zone and let the macro go again "allow tap to move" and "continuosly auto battle" must also be enabled. Tedted on memu 2.8.6 1280x700 and seems to work.  Can you guys test it a little and see if everything is order?

Does continuous auto battle carry over between battles?

Yes, but in the first battle you still need to press AUTO one time

I'm going to create a similar one tomorrow which starts from the begin screen (the one where it displays your party and your helper.)
Re auto battle. If you change it to the third option (right most) it will carry on auto throughout with needing to click auto in first fight.
Downside is If you forget and then go into another mission it will keep autoing until you switch it off
Sent from my Sony Xperia™ smartphone
---- biribussi wrote ----
Yes, but in the first battle you still need to press AUTO one time
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/kastyr1984/FFBE-Macros/pull/12#issuecomment-292028044, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATELa0ZNazYr0CKpODMcFIGbDZQwrpnLks5rtCZpgaJpZM4M07tm.

If we like what biribussi has done here and just want to add onto it, we can use my macro tool to merge macros and tack on something that will bring it in from the begin screen. I'm about to run some tests with his macro right now, I've just been experimenting with hand-writing macros to try to recreate button press issues.

Accidentally closed and merged. Please continue work in #14


Why disable Reader view?

I notice that reader.parse-on-load.enabled = false to disable Reader View.  What is the reasoning behind this choice?  I'm having a hard time understanding what privacy downside there is since switching to this view does not result in any more network request (according to the Network log).

One of the very few (recommended) setting I've never followed. I see no privacy issue with leaving Reader view enabled.
Maybe had the setting been established some time ago when it appeared to be tied to the Pocket feature which then was native and now is proposed as a service add-on (native in fact as well unless you disable (that) service add-on). The fact is Reader View has always operated independently of Pocket. I use it very often.

Yeah, it was disabled along with pocket and hello - i think they all came out around the same time (well for desktop, I think reader was there earlier for mobile?). Never really thought much more about it, always assumed it used some online connection. Read up on it a little today after this post, and the source is here on github as to how it determines if a page can be flicked to reader view.
There is a privacy concern with this somewhere... about writing to tmp. I think it might be when printing/print-previewing a reader view item. Its either a TBB ticket or a bugzilla (or both). Probably not grounds to disable it.
As long as it con be confirmed that zero online connections are made, then I see no reason to move to it to personal and comment it out

Just toggling between reader and non-reader view doesn't seem to cause a site refresh, but maybe that's just with my setup (cache etc). I also never disabled the Reader View for what it's worth.
I'm okay with moving it to Personal and commenting it out.

As long as it con be confirmed that zero online connections are made, then I see no reason to move to it to personal and comment it out

I would have imagined the opposite more pertinent : comment out any setting for which there is no evidence of a privacy/security issue. You need evidence to dare propose modifying a setting. My approach is that I modify settings on the ground of facts and never on the basis of suspicion.

@RoxKilly Thanks :)

@zymase typo which i fixed in my post, I left out the word "not" (double negative)

then I see no reason to NOT move

OK @Thorin-Oakenpants , then I presume you'll consider commenting out the setting in next user.js?
/* 0375: disable "Reader View" [SETUP] ***/
user_pref("reader.parse-on-load.enabled", false);

Considering there is no evidence at this time of a privacy issue.

then I presume you'll consider commenting out the setting in next user.js?

already done

@Thorin-Oakenpants actually I just stumbled into evidence that in some cases, the browser actually downloads static content when switching to Reader View. Since this conflicts with my OP statement, I thought I should bring it to everyone's attention.
This occurs for instance when an extension previously blocked an image from downloading. When the browser switches to Reader View, extensions appear to be disabled, and static images are in fact fetched.  To reproduce, please look at the issue I opened on the uBlock Origin board.
These new connections don't seem to occur to fetch scripts (tested by switching to reader view while watching the network tool on this page).
Because only images are fetched (it seems), and because the connection to the image server is made even with uBlock Origin when in regular view (only difference is image is not downloaded when blocked), I see no additional privacy exposure and would still use Reader View.

Thanks @RoxKilly - it's one of those things, the more features, the greater the "attack" surface. An example is an extension I use (Scrapbook X) which ignores all of uMatrix's blocks when it grabs and stores a local copy - the extension itself has options on excluding types of content, but is not granular
I actually never use Reader myself, but have enabled it as per the changes we made. I don't print (and I'm not sure if printing reader view still breaks caching on local disk - I should find that ticket I guess) ..
What is gorhill's instruction? To add reader.about-scheme to blocklist? What exactly is that line in the dashboard? This would be good to add to the uBo wiki page.

What is gorhill's instruction?

Removing about-scheme (or commenting it out with #) from the Whitelist tab of uBlock Origin settings makes uBO work even in Reader View.  I don't know what other effects come with that though.

about-scheme is whitelisted for a reason, I suspect it would break things to comment it out on the whitelist
Wouldn't adding reader.about-scheme blocks to rules work? Rules override whitelists?

about:addons used to load a page that had google-analytics embedded and because of the whitelist it didn't block those requests. I've since removed all entries from the whitelist and now my * * * noop rule blocks all items on filterlists no matter where they occur. I once tested a firefox fork of a chrome extension and it also had google-analytics in it to make the author some money and spy on me, and that's why I removed all entries including all the extension schemes.
In uMatrix I have the following rules and that's why I didn't see any additional requests when switching to reader view:
matrix-off: about-scheme false
about-scheme * * allow
reader.about-scheme * * block

I've since removed all entries from the whitelist and now my * * * noop rule blocks all items on filterlists no matter where they occur

That sounds like an idea. Any drawbacks? I have these entries (not sure if they are whitelisted by default)
behind-the-scene
chrome-extension-scheme
chrome-scheme
loopconversation.about-scheme
metrics.mozilla.com
opera-scheme

I should really get into this more, like learning what is behind-the-scene

Any drawbacks?

None that I noticed. But I only have 2 rules in uBO and the noop rule covers everything.
Since you run uBO and uM in another way than I am, you may need more or different rules, idk
behind-the-scene are requests that can't be attributed to a source afaik. Mostly favicons and OCSP requests.

FYI: disabling reader view is one of about the first 30 or so items that Arthur wants included in the batch of prefs that get flipped with privacy.resistFingerprinting - see 1333933
https://reviewboard.mozilla.org/r/140070/diff/1#index_header - starting at line 265 down to 331 you will see some items added in this early draft (it will be cleaned up, some prefs are deprecated, tbb only, or not needed).

Thanks for the heads up. The TBB ticket about Reader view is pretty vague about the "potential" fingerprinting issue:

I did not disable the whole feature but made sure that the fingerprinting risks that might be associated with it are neutered.

I don't see how that makes any sense. They only remove the easy access to it but didn't remove it completely.

Having it set to true would discriminate between users with low memory computers (probably only some mobile ones) and those who have Reader View capable ones.

Is that the only reason? So that means there aren't any FP risks apart from "maybe" knowing if someone is a mobile user? Does a site even know when I click on the Reader view icon, if so how? Is TBB on mobile even a thing? Seems a bit ridiculous with all the built-in tracking stuff in mobile phones.
Anyway, if they want to include Reader View in RFP there's not much we can do about it. Contrary to what I believed the change would be, upon reading it again in detail it seems they want to lock prefs and therefore it won't be possible to opt-out of certain features bundled in resistFingerprinting.

Sidenote: after the switch to WebExtensions exclusively, would uBO/uMatrix still be able to police connections made from schemes such as these?
behind-the-scene
chrome-extension-scheme
chrome-scheme
loopconversation.about-scheme
metrics.mozilla.com
opera-scheme

Contrary to what I believed the change would be, upon reading it again in detail it seems they want to lock prefs and therefore it won't be possible to opt-out of certain features bundled in resistFingerprinting

Whether they "lock" the prefs when resistFP is turned on is not a problem. If you want to opt out of one of them, use a config file and lock_pref ( see https://bugzilla.mozilla.org/show_bug.cgi?id=1333933#c14 )

If the pref has been locked, then nsRFPService will not change the value since the pref system doesn't allow to. So the pref will remain intact when flipping 'privacy.resistFingerprinting'.

That said they need to come up with a much better and robust solution to handle restarts, storing of previous values, changes in defaults between updates, and prefs that have no default value etc. So who knows - but I still believe that if you lock a pref first (eg reader view to true), then it can't be changed - that's a pretty core boot up sequence/permissions they will not want to break (I hope).

If you want to opt out of one of them, use a config file and lock_pref

Thx, I didn't think about that. But it's still not great because lock_pref applies to all profiles.

@RoxKilly Gorhill is going fine.
https://github.com/gorhill/uBlock/issues/2549#issuecomment-295009508

Thanks @Atavic. I'm basically trying to find out whether the Firefox WebExtension API will allow addons to limit these behind-the-scenes connections.

@RoxKilly I know that WE will not have access to resource://URIs ( see https://bugzilla.mozilla.org/show_bug.cgi?id=863246#c60 ). There's chrome:// as well which I am not sure about. I'd just ask gorhill, cut to the chase.

Hah .. someone spoke up - https://bugzilla.mozilla.org/show_bug.cgi?id=1369327#c2 .. hopefully they drop disabling reader view with resistFP (I disable it myself, don't use it period, plus it eats space in my urlbar)

hopefully they drop disabling reader view

I completely agree I hope they keep reader view enabled under resistFingerprinting unless it has privacy/security implications we haven't come across. I find it very useful and use it daily

@RoxKilly

Sidenote: after the switch to WebExtensions exclusively, would uBO/uMatrix still be able to police connections made from schemes such as these? ..

Well, given the shitstorm over GA in about:addons discovery .. WE definitely cannot access about-scheme - https://github.com/mozilla/addons-frontend/issues/2785#issuecomment-314807534

WE definitely cannot access about-scheme

not just that but any privileged scheme (fe addons!) and also some mozilla domains as well!
I can understand why redirects on AMO for example are prohibited but blocking a request, any request, should still be possible and allowed. The current limitations on the webRequest API are quite frankly unacceptable to me. If they don't change that I'll probably have to start looking for FF alternatives.

What about staying on a working ESR for the time being?

Yes, for now I'm okay with my non-webextension addons of noscript, uBO and uMatrix etc.
What I meant was once the time comes when no version of FF allows non-webextension addons anymore AND if by then the limitations haven't changed, I'll probably have to ditch FF.

Same here : if a privacy/security related add-on looses its power, efficiency in its WebExtension format then I systematically keep the so called legacy version. That's for now on Firefox 52+ESR. Once 52ESR's EOL if the Webextension equivalent of those add-ons have not made their way to be as powerful as they were before, I quit Firefox, for 'Pale Moon' most likely. For my concern it's all in how will things be by Q1/2018. I read that new APIs are coming in, we'll see.
Also I have to say that Firefox pages and Mozilla sites being an exception to whatever WebExtension is really not satisfactory as far as I'm concerned. "You mean the murderer cannot be the judge? And why not? We know firemen who start fires"

https://bugzilla.mozilla.org/show_bug.cgi?id=1369327 - resolved fixed in 56 - i.e, they removed the low memory code bit, and it will not be disabled with resistFP since there's nothing to FP


[BUG]  The business server did not receive a callback request

OpenIM Server Version
release-v3.8
Operating System and CPU Architecture
Linux (AMD)
Deployment Method
Docker Deployment
Bug Description and Steps to Reproduce
Environment variables have been set in docker-compose.yaml, but the business server still cannot receive callback requests
Screenshots Link

You don't need to modify the config file in the container; you just need to set the environment variables in the docker-compose.yaml file.

If it doesn't work, you can check the logs related to the webhook.

You should change URL to http://xxx:8090/callbackExample


Loss stabilization suggestion: NaN loss + Paper questions

Dear authors,
Thank you for sharing the code. I would suggest to add small constant to operations where torch.sqrt is involved to avoid NaN during gradient calculation and hence backpropagation. Also, I would appreciate if you share your thoughts on following questions:

Why adding Entropy loss lead to the improvement in all metrics (fidelity and perceptual)? I somehow understood the intuition behind the increase in perceptual metrics. However, it is a bit counterintuitive to me why PSNR and SSIM should improve.
Do you have visual results for Tables 3 and 4? It would be great if you share those results.
Can you please share results for L_2 trained model vs Proposed Spatial Entropy in Figure 6?
In the paper you proposed several distance calculators. Are these ablation studies and results publicly available?

Thank you!

Hi!

For the fidelity metrics, we believe the improvement depends on specific tasks. In the low-light enhancement case, PSNR is highly relative to the illumination similarity which can be well measured by the spatial entropy. Thus both fidelity and perceptual results were improved. However, in other tasks like image super-resolution and denoising, the results can be different.
We might extend this work for other image restoration tasks and will try to add more detailed tables and visual results in the future version. More distance measurements will be considered and implemented.
We will also update the code as suggested!

Thank you for your great suggestions and comments!
Best.


residue with improper altloc message when running qfit_final_refine_xray.sh

I've seen this problem with many proteins, but here I'll just describe results using 2ol9, a very simple peptide structure with just 6 standard residues.
After running phenix.composite_omit_map and qfit, I did the following:
qfit_final_refine_xray.sh  2ol9.mtz

After several cycles of refinement, phenix stops with this message (before any real work has been done):
residue with improper altloc
  "ATOM    127  N   ASN A   5 .*.     N  "
  "ATOM    128  CA  ASN A   5 .*.     C  "
  "ATOM    129  C   ASN A   5 .*.     C  "
  "ATOM    130  O   ASN A   5 .*.     O  "
  "ATOM    131  HA  ASN A   5 .*.     H  "
  "ATOM    132  H   ASN A   5 .*.     H  "
  "ATOM    133  CB AASN A   5 .*.     C  "
  "ATOM    134  CG AASN A   5 .*.     C  "
  "ATOM    135  OD1AASN A   5 .*.     O  "
  "ATOM    136  ND2AASN A   5 .*.     N  "
  "ATOM    137  H  AASN A   5 .*.     H  "
  "ATOM    138  HB2AASN A   5 .*.     H  "
  "ATOM    139  HB3AASN A   5 .*.     H  "
  "ATOM    140 HD21AASN A   5 .*.     H  "
  "ATOM    141 HD22AASN A   5 .*.     H  "
  "ATOM    142  CB BASN A   5 .*.     C  "
  "ATOM    143  CG BASN A   5 .*.     C  "
  "ATOM    144  OD1BASN A   5 .*.     O  "
  "ATOM    145  ND2BASN A   5 .*.     N  "
  "ATOM    146  HB2BASN A   5 .*.     H  "
  "ATOM    147  HB3BASN A   5 .*.     H  "
  "ATOM    148 HD21BASN A   5 .*.     H  "
  "ATOM    149 HD22BASN A   5 .*.     H  "

The code then gets into a loop of repeated refinement steps that show the same problem.  There is never the final cleanup step (I think because the max iterations is exceeded).
phenix has a point here (I think): atom 132 is H with no altloc code, and atom 137 is H with altloc of "A".  The problem happens after three cycles: that is, in the 2ol9_003.pdb file, both "H" atoms in residue 5 have altlocs (one is "A" and the other "B").  But in 2ol9_004.pdb, the altloc "B" has been changed to a space, as indicated above.
I'm using phenix-1.20.1-4487 as instructed.
Any clues about what is going on here, or any workaround?  FWIW, I get this error in most cases, including the 3k0n ID used in the examples in the README.  I've tried a Google search on the error message, but didn't find anything the seemed to help.
...thanks for a great program!....dave case

Hi Dave,
Thanks for your comments/response. We have updated our refinement strategy significantly and should be pushing to main soon. Please let us know if you are seeing any weird results so we can make the next push as stable as possible!
Thanks,
Stephanie


Initial commit for Localization sample

Hi @mattduffield, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi, I am closing and re-opening this PR to bump the CLA bot. Sorry for the inconvenience!

Hi @mattduffield, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;


glib configure fails to find pthread (FC34 Image)

| checking for pthread_create/pthread_join in -lpthreads... no
| checking for pthread_create/pthread_join in -lthread... no
| configure: error: I can't find the libraries for the thread implementation
|                  posix. Please choose another thread implementation or
|                   provide information on your thread implementation.
| configure: error: ../../git/glib/configure failed for glib
| NOTE: The following config.log files may provide further information.
| NOTE: /opt/yocto/main/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+edf8e6f0ea-r0/build/config.log /opt/yocto/main/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+edf8e6f0ea-r0/build/glib/config.log
| ERROR: configure failed
| WARNING: /opt/yocto/main/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+edf8e6f0ea-r0/temp/run.do_configure.1485:1 exit 1 from 'exit 1'
| ERROR: Execution of '/opt/yocto/main/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+edf8e6f0ea-r0/temp/run.do_configure.1485' failed with exit code 1

Same error: https://lists.yoctoproject.org/g/yocto/message/55134

Not reproduceable on HOST with FC34.


More Realistic Architecture

If you used something like Logic App to get the tweets from Twitter and write to Event Hub, that would be more realistic than having two different DataBricks notebooks.  I think the tutorial is good, but would make more sense if I didn't have a notebook getting the tweets, putting them in event hub, only to have another notebook pull them from event hub.

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

ID: fd4b0492-b73e-881d-92ef-a9e9d841cd05
Version Independent ID: 3ca1bc50-7003-0766-b14e-a96b100516da
Content: Tutorial: Stream data into Azure Databricks using Event Hubs
Content Source: databricks/scenarios/databricks-stream-from-eventhubs.md
Service: azure-databricks
GitHub Login: @lenadroid
Microsoft Alias: alehall

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Hello @chronicle17  and thank you for your feedback.
While you do have a point that using Databricks for both producing and consuming in the same scenario is not the most realistic architecture, there are some good reasons for doing this in the tutorial.
As this is a tutorial, the goal is to educate the users.  The aim of this tutorial is to demonstrate how Databricks can be used in various streaming situations.  Some users might want to only use Databricks for consuming events.  Other users might want to produce events.  By showcasing both together, the information is centralized, making it easier to find.  Also, by presenting both sides together, users can experiment with how tweaks to the producer affect the consumer.

One more point is how logic apps is not built for big data the same way Databricks is.  The limitations are different.
If you have any more questions please let us know, and we can re-open this issue.


click on autocomplete ui is confusing

I am often flummoxed by the requirement to click on an autocomplete item in our UI to make the relevant action happen.  This happens at least with both the topic autocomplete on the topics home page and the sources autocomplete on the topic creation screen.  I tend to type enough to get the response I want, hit the down arrow on my keyboard until I get to the item, and then hit enter.  The result is that the full autocompleted name ends up in the input box but no action occurs.  Then I remember that I have to type the name fragment and then click on the item with the mouse to make anything happen.
Also, in the topic creation source autocomplete, the completed name stays in the text box even after adding the set or source.  So to add multiple sources or sets, I have to manually delete the existing text before starting a new autocomplete process.

just tried it again, and the topic searching does work now.  either I
imagined it or remembered it not working from a previous version.
-hal
On Thu, Jun 8, 2017 at 10:14 AM, rahulbot<EMAIL_ADDRESS>wrote:

Topic Searching
In both Safari and Chrome I can search for a topic, hit the down arrow,
and hit the enter key on a topic - that works to navigate into a topic for
me. That doesn't work for you?
Source Selecting
You are right - you can search, hit the down array, and then if you hit
enter it does NOT select the source. I'll track that on bug #479
https://github.com/mitmedialab/MediaCloud-Web-Tools/issues/479. Also
you're right that after you do click on the source to select it, the field
should be cleared (tracking on #480
https://github.com/mitmedialab/MediaCloud-Web-Tools/issues/480)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mitmedialab/MediaCloud-Web-Tools/issues/470#issuecomment-307134923,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvvT0GA1xKTtZwPCN9hpLJj9dj46AHIks5sCA_rgaJpZM4Nu3Mz
.

--
Hal Roberts
Fellow
Berkman Klein Center for Internet & Society
Harvard University


Add ddd method to collections and query builder

This PR adds support for ddd, which works the same as dd except that it uses Ignition.

Ignition is not part of Laravel, so we cannot tie ourself to the ddd() function.

That's fair. I can reopen theses as macros in Ignition itself.


Yi-6B 推理输出异常

代码同 README:
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("01-ai/Yi-34B", device_map="auto", torch_dtype="auto", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("01-ai/Yi-34B", trust_remote_code=True)
inputs = tokenizer("There's a place where time stands still. A place of breath taking wonder, but also", return_tensors="pt")
max_length = 256

outputs = model.generate(
    inputs.input_ids.cuda(),
    max_length=max_length,
    eos_token_id=tokenizer.eos_token_id
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

输出如下：
There's a place where time stands still.
已经从 HuggingFace 拉取最新模型；关键依赖包版本如下：
torch==1.13.1
transformers==4.34.1

是因为需求 torch==2.1.0 吗....

请问环境中有安装flash attention吗？

是因为需求 torch==2.1.0 吗....

请问环境中有安装flash attention吗？

flash_attn 的版本是 2.0.0.post1，且不太方便升级。
请问 flash_attn 需要升级到 2.0.0 以上就行，or 必须要求最新版本？

flash_attn 的版本是 2.0.0.post1，且不太方便升级。
请问 flash_attn 需要升级到 2.0.0 以上就行，or 必须要求最新版本？

目前我们只在最新版以及其它几个版本上测过，建议升级到目前的最新版后再测试下看看？

flash_attn 的版本是 2.0.0.post1，且不太方便升级。
请问 flash_attn 需要升级到 2.0.0 以上就行，or 必须要求最新版本？
flash attention 在2.0.x的版本做inference会遇到点问题，升级到最新版结果应该就会正常。

话说 2.0.x 具体会碰到什么问题？
我试了下我这个 2.0.0.post1 的版本，肉眼看输出结果已经正常了。问题解决前后的差异，应该仅在于 torch==1.13.1 和 torch==2.1.0

话说 2.0.x 具体会碰到什么问题？
我试了下我这个 2.0.0.post1 的版本，肉眼看输出结果已经正常了。问题解决前后的差异，应该仅在于 torch==1.13.1 和 torch==2.1.0

2.0.x应该会导致你上面提到的状况，建议升级到2.3.x


Publish 7.1.1-20210719231224+0000

Publish 7.1.1-20210719231224+0000

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Add Red Sash relic

Skeleton class and JSON
Make relic
Test with Ironclad
Test with Silent
Test with Defect.
Possible updates
Done.

Possible flavor: The color seems to be the result of many deaths.