Pseudo Selectors

Hi there,
just came across AngleSharp (always been using CSQuery) and it seems a great candidate to replace CSQuery. I was auditing my use cases and noticed that there are some pseudo selectors that I'm currently using in CSQuery that are not working in AngleSharp. More specifically: first(), last(), last-of-type(), visible(). Some others pseudos work perfectly fine (e.g. :has(), :nth-child(index), :not(selector).
The error I get back is:
The string did not match the expected pattern.
Are those selectors just not supported? Or am I doing something wrong?
Thanks

Hi @dlalex83, CsQuery is a C# version of jQuery and supports most of the pseudo-selectors introduced by jQuery. AngleSharp is fully standards driven and only includes the pseudo selectors as described in the W3C Selectors Level 3 / (nearly all of) 4 specification.
Therefore some of the things you mentioned (e.g., :visible) are not there, but in some cases (e.g., :first) there is most likely a simple replacement (either directly in the query or just via C# / LINQ).
Hope that helps!

Hi @FlorianRappl that does help indeed! Thanks!

but in some cases (e.g., :first) there is most likely a simple replacement (either directly in the query or just via C# / LINQ)

@FlorianRappl Could you point me to any documentation about alternatives for some of these pseudo selectors that you mention above? E.g. what is the alternative to :first? I realize I could use Linq to just get the first, but for the app I'm working on, it would offer the most flexibility to be able to do it all via DOM selectors.

Yeah I definitely get it, but the issue for us is we're working on a system that operates in C# as well as in JavaScript, and so ideally we'd be able to share the DOM selector code between these environments instead of having to do custom C# work, so was just curious if there was any documentation on specifically which selectors are supported?

All L4 selectors are supported.
For pseudo classes, see https://github.com/AngleSharp/AngleSharp/blob/devel/src/AngleSharp/Css/DefaultPseudoClassSelectorFactory.cs#L16.


Problems during training

Hi,
Thank you for your work! I get the problems when training the model with the recommended configuration.

I noticed abnormal loss at the beginning of training, and the model seems to failed

I need some guidance, thank you!
Just replicating the s2l15-small and this is print configuration:
[2024-12-17 04:20:58 vssm1_small_0229] (main.py 435): INFO Full config saved to logs/vssm1_small_0229/20241217042049/config.json
[2024-12-17 04:20:58 vssm1_small_0229] (main.py 438): INFO AMP_ENABLE: true
AMP_OPT_LEVEL: ''
AUG:
  AUTO_AUGMENT: rand-m9-mstd0.5-inc1
  COLOR_JITTER: 0.4
  CUTMIX: 1.0
  CUTMIX_MINMAX: null
  MIXUP: 0.8
  MIXUP_MODE: batch
  MIXUP_PROB: 1.0
  MIXUP_SWITCH_PROB: 0.5
  RECOUNT: 1
  REMODE: pixel
  REPROB: 0.25
BASE:
- ''
DATA:
  BATCH_SIZE: 128
  CACHE_MODE: part
  DATASET: imagenet
  DATA_PATH: /mnt/home/huangchengbo/dataset/imagenet
  IMG_SIZE: 224
  INTERPOLATION: bicubic
  MASK_PATCH_SIZE: 32
  MASK_RATIO: 0.6
  NUM_WORKERS: 8
  PIN_MEMORY: true
  ZIP_MODE: false
ENABLE_AMP: false
EVAL_MODE: false
FUSED_LAYERNORM: false
MODEL:
  DROP_PATH_RATE: 0.3
  DROP_RATE: 0.0
  LABEL_SMOOTHING: 0.1
  MMCKPT: false
  NAME: vssm1_small_0229
  NUM_CLASSES: 1000
  PRETRAINED: ''
  RESUME: ''
  TYPE: vssm
  VSSM:
    DEPTHS:
    - 2
    - 2
    - 15
    - 2
    DOWNSAMPLE: v3
    EMBED_DIM: 96
    GMLP: false
    IN_CHANS: 3
    MLP_ACT_LAYER: gelu
    MLP_DROP_RATE: 0.0
    MLP_RATIO: 4.0
    NORM_LAYER: ln2d
    PATCHEMBED: v2
    PATCH_NORM: true
    PATCH_SIZE: 4
    POSEMBED: false
    SSM_ACT_LAYER: silu
    SSM_CONV: 3
    SSM_CONV_BIAS: false
    SSM_DROP_RATE: 0.0
    SSM_DT_RANK: auto
    SSM_D_STATE: 1
    SSM_FORWARDTYPE: v05_noz
    SSM_INIT: v0
    SSM_RANK_RATIO: 2.0
    SSM_RATIO: 2.0
OUTPUT: logs/vssm1_small_0229/20241217042049
PRINT_FREQ: 10
SAVE_FREQ: 50
SEED: 0
TAG: '20241217042049'
TEST:
  CROP: true
  SEQUENTIAL: false
  SHUFFLE: false
THROUGHPUT_MODE: false
TRAIN:
  ACCUMULATION_STEPS: 1
  AUTO_RESUME: true
  BASE_LR: 0.001
  CLIP_GRAD: 5.0
  EPOCHS: 300
  LAYER_DECAY: 1.0
  LR_SCHEDULER:
    DECAY_EPOCHS: 30
    DECAY_RATE: 0.1
    GAMMA: 0.1
    MULTISTEPS: []
    NAME: cosine
    WARMUP_PREFIX: true
  MIN_LR: 1.0e-05
  MOE:
    SAVE_MASTER: false
  OPTIMIZER:
    BETAS:
    - 0.9
    - 0.999
    EPS: 1.0e-08
    MOMENTUM: 0.9
    NAME: adamw
  START_EPOCH: 0
  USE_CHECKPOINT: false
  WARMUP_EPOCHS: 20
  WARMUP_LR: 1.0e-06
  WEIGHT_DECAY: 0.05
TRAINCOST_MODE: false

I have solved and the problem stems from my carelessness, thanks again for the author's work!


unable to fetch all the documents from the api

Hi, I am using Bio 1.3.7 version to retrieve documents from the pubmed db. I observed a mismatch in the number of search results from the Pubmed search and Bio api.
Entrez.email =<EMAIL_ADDRESS>Entrez.api_key = <API_KEY>
handle = Entrez.esearch(db=DB, term=QUERY, rettype="medline")
record = Entrez.read(handle)

count = int(record['Count'])
handle = Entrez.esearch(db=DB, term=QUERY, retmax=count, rettype="medline")
record = Entrez.read(handle)

id_list = record["IdList"]

query = ((cSCC) OR (Cutaneous squamous cell carcinoma)) AND ((relapse) OR (relapse rate) OR (treatment progression))
No. of results from Bio api = 1552
No. of results from Pubmed search = 1749
For a few other queries, I observed this difference to be quite large. Can you please look into this. Thanks.

This issue occasionally pops up on Biostar

Biopython's Esearch for Pubmed does not give the same results as web search

Xml Returned Using Efetch Differs To That Downloaded From Query At Pubmed Website

note that the problem comes from NCBI not bio or entrez direct in general. The NCBI website returns a different number of results on wether you connect from command line or via the web.


Add -v for INFO level logging to the example use of extract_tables

Description of the problems or issues
Is your pull request related to a problem? Please describe.
See #70
Does your pull request fix any issue.
Close #70
Description of the proposed changes
Just add -v for INFO level logging to the example use of extract_tables
Test plan
N/A
Checklist

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] I have updated the CHANGELOG.md accordingly.

Codecov Report

Merging #108 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
- Coverage   67.69%   67.60%   -0.09%
==========================================
  Files          24       24
  Lines        2600     2590      -10
==========================================
- Hits         1760     1751       -9
+ Misses        840      839       -1

Flag
Coverage Δ

unittests
67.60% <ø> (-0.09%)
:arrow_down:

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

Impacted Files
Coverage Δ

pdftotree/utils/pdf/pdf_parsers.py
95.20% <0.00%> (-0.05%)
:arrow_down:

pdftotree/TreeExtract.py
89.23% <0.00%> (-0.04%)
:arrow_down:

pdftotree/ml/TableExtractML.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb7b074...e7e19d1. Read the comment docs.


support insecure_skip_seal feature in guest

This is done by moving insecure_skip_seal() function from prover to receipt. This feature is used to faciliate development of the guest code and not intended for production use.

Hey @hashcashier could you test this?


Providing "titles" along with palette colors

It would be nice to be able to provide a title="Maroon" attribute with each of the colors provided to palette. Hovering over the colors in the picker could then produce a tooltip with the provided "name" of the color (instead of a hex value that mostly only means something to programmers and designers). Given that the most common use of a color picker is to make it easier for "lay people" to select a color without understand hex or HSV or RGB, it would follow that the tooltips for the colors should be more recognizable. I propose a change to the way the palette option is handled: Continue to accept a flat array (or multiple arrays to control rows/columns), but also allow objects with names such as:
palette: {
   "Maroon":"#b03060",
   "Navy":"#000080",
   "Black-ish":"#020001",
}

...and use the provided strings as the tooltips (if present.)

While this is an old thread, I'm facing the same issue as OP. Would like to add title attributes to name the colors. The link seems to point to HTML. What would your current recommendation be?

@cmrockwell incidentally we were just discussing what sounds like the same request today in #407.  I think the first option in https://github.com/bgrins/spectrum/issues/407#issuecomment-199330016 should work

Yep, that works! Thanks much for the response


Docker container missing SNAT on massive request

Hi all,
I've introduced retrofit2 into a java application that made massive (bulk of 250k) http request to some (3) endpoint and run into a Docker container.
Dockerfile example:
`FROM openjdk:8-jre-alpine
COPY "./FlinkHTTPTest.jar" "/tmp/FlinkHTTPTest.jar"
ENV jar_file=FlinkHTTPTest.jar
ENTRYPOINT exec java $JAVA_OPTS -jar /tmp/$jar_file
`
Initially apps work well but after few second I see on the host TCP packet exiting with container source IP.
The expected behavior is that host NAT source IP of each packet coming from Docker container with host IP so the other host that recive request could respond through it.
Instead with this bug other host receive request and respond to docker ip that is not exposed to all VM so that packet generate an alert in the firewall.
Ping and telnet command works fine so I think host ARP table is correct.
I've used Retrofit with okHttp implementation.
Anyone with same problem?
I've run mi code also with plain java (HttpURLConnection) implementation and this work fine.

Executable test case?


Integrated terminal not displaying anything when started

VSCode Version: 1.31
OS Version: Windows 10

Steps to Reproduce:

Open VS code
Click on terminal tab

AFTER you press 'enter' - the terminal shows

Does this issue occur when all extensions are disabled?: Yes/No
YES

I have a similar issue on Windows 10 also. It will allow me to run commands. I cannot consistently reproduce this. Pressing enter fixes it.

Yep, I'm consistently seeing the same thing as @frobinsonj - definitely a bug there.
When I open the console, it is either blank, or becomes blank the moment I start typing, with only the text I just typed being visible.
Version: 1.31.0 (system setup)
Commit: 7c66f58312b48ed8ca4e387ebd9ffe9605332caa
Date: 2019-02-05T22:35:56.624Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

This is a bug in Windows 10 1809, unfortunately we have no way to work around the issue so you will need to wait until you get the next version of Windows 10 (1903).
/duplicate https://github.com/Microsoft/vscode/issues/57803


Make tenant management permissions more granular

Delete / Suspend / Reset should not all be under one permission. Instead, we should have a separate permission for these tenant actions.

I don't disagree. Would you mind describing the different types of users you deal with in this case and some business scenarios?

Not at all, I'll get back to this.

I'll give an example. we run an "App Support team". They are power users (2nd line support, but a bit more). We would absolutely expect them to be able to suspend a tenant if necessary, for the good of the overall service. However, we would not expect them to have delete/reset tenant rights. For these we'd probably have one of our Ops team log on with an account specific to those operations, so that we know we really mean it
We have PLC clients with extreme levels of corporate governance and security teams. They are naturally concerned who has access to do what with their data.

Ok, thanks, that's what I wanted to read.


Allow fluid simulation class to be embedded in other apps

One of the main goals of this refactoring is to allow the simulation to use any given command buffer, device and resolution.

Implement a static Create function to initialize an instance of the simulator with error handling for resource creation.
Use an app-provided command buffer instead of having a fixed one.
Allow access to intermediate textures.

From suggestions in #300

https://github.com/google/bigwheels/pull/300#discussion_r1334760636: Remove the ppx::Application link.
https://github.com/google/bigwheels/pull/300#discussion_r1334761149: Simplify resource pool creation.


Evaluator update

Overview
This is roadmap for a CUE evaluator rewrite. That language has changed enough since inception to make the original evaluator no longer suitable. We also have a better view on the requirements now.
The main objectives of the rewrite are:

simplification
fix many bugs
improve performance, most notably making it more predictable
enable planned critical features

We don't anticipate doing an evaluator rewrite often, btw.
Details
There are a few features that will hinge on the new evaluator design. We'll discuss them here. Many of the new features hinge on being able to order conjuncts of unification midstream. All these features would come for free or could be implemented with little effort given the foreseen new evaluator.
Association Arrays
A philosophy of CUE is that configuration should be specifiable in the native API, without the need for abstractions. This mostly works well, but breaks down in DSLs like CUE where an API is expressed in terms of lists where they mean maps. The Kubernetes APIs are littered with such cases. To add insult to injury, unification is a notoriously poor formalism for composing such lists. Association arrays solve this issue by allowing lists to be reinterpreted as maps. See #165 for more info.
Builtin validators and User-defined constraint types
An undocumented feature of CUE is the ability to use certain builtin types as validation types. Some builtins, however, are not commutative with respect to unification, which is not valid CUE. This can be fixed by including a reordering step in the evaluator. A rewrite is not strictly necessary for this, but it makes things easier.
The same would hold for a constraint builtin that allows converting boolean expressions to constraints.
Redesign of closed structs
Closed structs are a bit tedious to use in practice. This is partly because the evaluator has some bugs, and partly because the definition is too restrictive.
A good API design allows for extensibility. CUE's closed struct seem to fly in the face of this concept. The main purpose of closed structs, however, is to catch typos in field names. Experience with GCL and other languages indicate this is a common mistake and can give quite a headache.
How do we reconcile these two goals? A good analogy can be drawn to Protocol Buffers, which by design allows the addition of arbitrary fields, but once the respective definitions are converted to typed languages like Go, a misspelled field will cause a compile error. Closed structs should be seen in this context.
Closed structs do play another role: the presence of fields may disambiguate a disjunction. That is a disjunct that would cause a "compilation error" because of the presence of a field in a struct with which it is unified is eliminated from a disjunction.
A goal of the evaluator redesign is to relax the restrictions of closed structs to make them more convenient and find a definition that does not conflict with the concept of open APIs, while being formally rigorous enough to serve as a disambiguator of disjunctions.
Robustness of programmatic API
The programmatic API currently must maintain a parallel structure to the evaluated values that must be kept in sync. This is error prone. The memoization strategy and in the new design allow this to be kept in the evaluated strategies itself.
Links

All issues specific to this roadmap issue
Open issues specific to this roadmap issue

This issue has been migrated to https://github.com/cue-lang/cue/issues/338.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Baseurl issue

Hey, how are you?
I followed your guide, i needed a personal website. Your theme suit it and so i used it.
But now i am having an issue with the baseurl.
I set my baseurl to my repo name
but now it repeats the url eg
the repo name is stephenajulu.github.io
baseurl stephenajulu.github.io
the official url when i visit a blog post becomes https://stephenajulu.github.io/stephenajulu.github.io/2018/07..................
How do i fix this? I am a noob in jekyll.

Your quick response will be appreciated.

I found the solution just leaving it blank


Geo functions does not contains any distance calculating function between two co-ordinates.

Hi,
I have seen ArangoDb docs but not find any function that calculates the distance between two coordinates in AQL queries. Might be there is but I have not seen yet.
I have a users and posts collection that contains the latitude and longitude. So when I fetch the posts, I want to calculate the distance between the current user and the posts with their respective coordinates.
arango 2.8.7 + NodeJs

We will add this during the 3.0.x release cycle. The current workaround is to install a user defined function as noted on stackoverflow.

Thanks for your reply @dothebart
Actually, I have started from few days on ArangoDb. I have not enough knowledge on it.
Can you please let me How I can add my own functions for AQL queries? Or Where I need to add these functions?
I have not seen any options on ArangoDB Web UI for same.

Hi @lalitlogical,
you can read more about user defined functions at https://docs.arangodb.com/AqlExtending/index.html
There is no GUI interface for defining these functions.

Hi @baslr
Where I need to put these functions?

You need to register it in the database as explained in the documentation. It won't be part of your NodeJS project.

Hi @CoDEmanX , @dothebart, @jsteemann
I have seen the doc but I have not cleared my queries as Where I will find these files where I need to put these functions? I have installed the ArangoDB with the brew on Mac Yosemite.
Actually, I have completed the Backend APIs for a project with OrientDB. But we found that it goes slow with more data. So we decide to move to another database as ArangoDB. So till now I have completed all feature with OrientDB. Which actually based on locations, distance etc. So I must need distance calculating function at any effort.
So anyone can help me to define this functions. Only let me know with the example that where I need to put these functions and rest work I will do myself.
Please help me.
Thanks

When you register an AQL function, the name, code and determinism flag are stored in the database system itself (_aqlfunctions system collection), by default in the _system database. You don't need any file with the function code.
https://youtu.be/xlFlawPHYkM
It's of advisable to write the code in a code editor and save it as file. You can require the code in arangosh in order to register the function, so that you don't have to type the entire code in arangosh or copy & paste respectively:
https://youtu.be/zxnNIqZlyJQ
You could theoretically delete the source file after registering, but you are better off to keep it in case you need to re-register the function or want to adjust the code (you will have to register the function again in order to update it).
Note that it's discouraged to edit the function code in the _aqlfunctions collection directly. As you can see in the video, there is a cache which results in the old code being used at first. After I restart the server, the new code is used. If you use the proper interface (.register(...)), that problem shouldn't occur.

Thanks for your reply @Simran-B
I have followed your steps and resolved my issue by creating my own AQL Functions.
/* distance.js */
'use strict';

function gdistance(latitude1, longitude1, latitude2, longitude2, radius) {
    if (Number.prototype.toRadians === undefined) {
	    Number.prototype.toRadians = function() { return this * Math.PI / 180; };
	}

    var lat1 = Number(latitude1), lon1 = Number(longitude1);
    var lat2 = Number(latitude2), lon2 = Number(longitude2);

    radius = (radius === undefined) ? 6371e3 : Number(radius);

    var R = radius;
    var φ1 = lat1.toRadians(), λ1 = lon1.toRadians();
    var φ2 = lat2.toRadians(), λ2 = lon2.toRadians();
    var Δφ = φ2 - φ1;
    var Δλ = λ2 - λ1;

    var a = Math.sin(Δφ/2) * Math.sin(Δφ/2)
          + Math.cos(φ1) * Math.cos(φ2)
          * Math.sin(Δλ/2) * Math.sin(Δλ/2);
    var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));
    var d = R * c;

    return d / 1000;
}

module.exports = gdistance;

I have added the above functions as AQL function as below.
db._useDatabase("myDatabase");
var aqlfunctions = require("org/arangodb/aql/functions");
var f = require("/path/to/file/distance.js");
aqlfunctions.register("geo::gdistance", f, true)

In my queries I have used above function as below.
LET distance = geo::gdistance(user.latitude, user.longitude, @latitude, @longitude)
Again thanks @Simran-B for the reply. Actually, in ArangoDB docs, there are not mention about arangosh uses. So I have never found the way to add my own functions.
Thanks

@lalitlogical  afaik km -> to meter is multiply by 1000. 1km is 1000m.

@baslr I have wrongly written Vise-Versa :P

I have updated the above code for blank(undefined) values as below.
'use strict';

function gdistance(latitude1, longitude1, latitude2, longitude2, radius) {
    if (!latitude1 || !longitude1 || !latitude2 || !longitude2) {
        return null;
    };

    var lat1 = Number(latitude1), lon1 = Number(longitude1);
    var lat2 = Number(latitude2), lon2 = Number(longitude2);

    radius = (radius === undefined) ? 6371e3 : Number(radius);

    var R = radius;
    var φ1 = (lat1 * Math.PI / 180), λ1 = (lon1 * Math.PI / 180);
    var φ2 = (lat2 * Math.PI / 180), λ2 = (lon2 * Math.PI / 180);
    var Δφ = φ2 - φ1;
    var Δλ = λ2 - λ1;

    var a = Math.sin(Δφ/2) * Math.sin(Δφ/2)
          + Math.cos(φ1) * Math.cos(φ2)
          * Math.sin(Δλ/2) * Math.sin(Δλ/2);
    var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));
    var d = R * c;     // Meters
    var d2 = d / 1000; // Meters to KM
    return d2;
}

module.exports = gdistance;

How can I do above for arangodb cluster service which contains the 2 coordinators, 2 dbservers etc on DC/OS under AWS Cloudformation?

@lalitlogical: What problem do you see when running DC/OS under AWS Cloudformation?

Hi @Simran-B, I am able to add my custom function below.

I had done sshuttle to access clusters to my local machine

sshuttle --python /opt/mesosphere/bin/python3.4 -r core@my-ip-address <IP_ADDRESS>/8
Then I am able to access the arangodb service web ui on my browser with local ip address i.e. http://<IP_ADDRESS>:14170

Access the remote arangosh as below

arangosh --server.endpoint tcp://<IP_ADDRESS>:14170 --server.username root
Then I had registered the distance function as below.
db._useDatabase("GeoConnect");
var aqlfunctions = require("@arangodb/aql/functions");
var f = require("distance.js");
aqlfunctions.register("geo::gdistance", f, true)

Thanks, I'll add a note to the documentation that AQL UDFs need to be registered on the coordinator. How to get access to the server (sshuttle) seems a bit too specific to include it in the general documentation, but I'll check with the team.

Hi @dothebart,
Hope you remeber the issue of UDFs on Arangodb Cluster services. So I just want to know, is there any plan/roadmap to add this function under AQL in arangodb releases? Because our app totally depends on distance. So we can not modify our some aql queries that consume our resources and leads to issue.
https://github.com/arangodb/arangodb/issues/1947


Is it possible to return words in canonical (formatted) form?

Hi,
I am working with the ContinuousRecognitionAsync functionality with configuration which enables RequestWordLevelTimestamps.
When the word list is returned with the timestamps, the word property contains the detected word in its lexical form.
Is it possible to return these in their formatted structure? For example:
Lexical text: "hello my name is bob"
Recognized text: "Hello. My name is Bob."
Recognized Words Array:
[
    {
        "word": "hello"
        ...
    },
    {
        "word": "my"
        ...
    },
    {
        "word": "name"
        ...
    },
    {
        "word": "is"
        ...
    },
    {
        "word": "bob"
        ...
    }
]

What I am looking for:
[
    {
        "word": "Hello."
        ...
    },
    {
        "word": "My"
        ...
    },
    {
        "word": "name"
        ...
    },
    {
        "word": "is"
        ...
    },
    {
        "word": "Bob."
        ...
    },
]

Also, side note, is diarization enabled for StartContinuousRecognitionAsync?

Today word level timing is only available with the lexical form.
Speaker diarization is available from the ConversationTranscriber object.


Define proper logger for module

logging.info writes to the root logger, which should be reserved for application logging, and it makes hard for users to filter torchaudio.
Also, it is recommended to let logging module string substitution only when the log is actually emitted.

Shouldn't we just get rid of the logging though? We don't anywhere else.

It is true that the rest of torch audio (and PyTorch, except old Caffe2 portions) does not use logging, but I do not think that this fact is the good justification for us to make decision on getting rid of loggings. Proper logging always helps software development.
For this PR, I did not really give thoughts about the these logging mechanisms used in dataset/utils module. I just looked at the code and noticed the unit-patterns so I fixed them.
(the following does not concern this PR.)
Having said that, my personal experience is that it's good to have logging on data loader side when accessing a file on disk. When working on large scale dataset (thousands of files), one of which contains invalid data, and randomly iterating them, it is not easy to track down which file is broken. Having debug logging in place and turning on debug messages help in such case.
Which is also why I think it is a good idea to have logging in backend initialization/finalization as commented here. Something happening behind the scene from users, deep down the call stack, can go wrong and if debug logging is available, it is easy to check what is happening.

BTW, this is a BC breaking change.

Logging is a topic that is relevant to other domains, and we should make sure we align on how we would want to do it, if at all.

BTW, this is a BC breaking change.

Can you elaborate why?

If someone was actually using the logging, now logging is done in a different location. Is that correct?

If someone was actually using the logging, now logging is done in a different location. Is that correct?

No. Since the torchaudio still does not instantiate a Handler or Filter object, the log will be passed to the Handler of the root logger. Which is practically same as the previous behavior, writing to the root logger directory.
The users who were using logging will now see that these logs are coming from torchaudio.dataset.util module with %(levelname)s , then they gain the ability to filter logs from torchaudio in a clean way.

The users who were using logging will now see that these logs are coming from torchaudio.dataset.util module with %(levelname)s , then they gain the ability to filter logs from torchaudio in a clean way.

I see, so what was shown before?


[python:3.10.13-alpine3.18]  CVE-2018-20225 and  CVE-2022-40897

CVE-2018-20225 and  CVE-2022-40897, are found in pip:23.0.1 and setuptools:65.5.0 respectively.
These packages - pip:23.0.1 and setuptools:65.5.0 are part of python:3.10.13.
Is there a way/fix we could consider making in the docker file for fixing these vulnerabilities by upgrading them to the near latest version for these packages?

We rarely update the tools versions from what is included in the given python release (https://github.com/docker-library/python/issues/781#issuecomment-1372524712) since that often can be breaking changes. Though for setuptools, we made the rare exception and already addressed that one where it wouldn't cause a major setuptools version bump: https://github.com/docker-library/python/pull/783.
As for CVE-2018-20225, that one is disputed that it even is a vulnerability (see also https://bugzilla.redhat.com/show_bug.cgi?id=1835736).


Feature Request: Support For Proxy

For the "To Do" bucket. The module needs a way to work when a proxy configuration is required. Although the user would have trouble getting LT-POSH to download in the first place if there was a proxy. But assuming that the module was pre-downloaded.  Perhaps a function could be included to set the proxy policy for the current powershell session (needed to pull the MSI, etc.)
But also, if the module was used to install an agent the proxy settings will need to be passed to the Automate Agent configuration (since it won't have learned the location specific information from the MSI). That would mean injecting the Proxy, ProxyUser, and ProxyPass registry values AFTER the installer completes but before Agent registration would be able to succeed.
To start, I found this code that may allow a proxy configuration to be set for the powershell session. Setting the registry values would still need to be worked out.
function Create-Proxy($proxyHost,$proxyPort,$proxyUsername,$proxyPassword)
{
     #$proxy = [System.Net.WebRequest]::GetSystemWebProxy()
     $proxyUrl = $proxyHost+":"+$proxyPort;
     Write-Host "proxy url [$proxyUrl]";
     $proxy = New-Object System.Net.WebProxy($proxyUrl, $true);
     $passwd = ConvertTo-SecureString $proxyPassword -AsPlainText -Force; ## Website credentials
     $proxy.Credentials = New-Object System.Management.Automation.PSCredential ($proxyUsername, $passwd);
     return $proxy;
}

$wc=new-object net.webclient;
$wc.UseDefaultCredentials = $true
$wc.Proxy = Create-Proxy "<proxy-host>" "<proxy-port>" "<proxy-username>" "<proxy-clear-pass>"
$wc.DownloadString('https://SERVERNAME/SOMETHING.ps1');

This feature has been tested and added to the pending pull request. Once accepted, this issue can be closed.


Some fixes / additions / cleanups

auto data download & generation in postinstall;
fix for default db path (and change it to module root);
check whether db exists;
removing temp data in after db generation.

Thanks for your effort, but I'm afraid I'm not going to merge this PR. I like some of the ideas, but others I do not, and unfortunately the commits are not granular enough to pick just the things I like.
The reason for not including a data file or automatically building it when the library is installed is to provide the developer flexibility into which data file they use. I choose to use the cities1000 dataset, as it provided the best trade off between data size and accuracy for my requirements, but as I mentioned in the readme, for someone elses use case it might be better to use another dataset.
Additionally the license for Geonames requires you to display attribution, and I don't want people to miss that fact by making it easy to just do yarn install offline-geocoder.


nil exception after visit /exchange_assets

after log in with admin and visit /exchange_assets throws a nil exception.

access has been denied, the password you entered is incorrect regarding the mysql root password that you set up in your installation.


Users should be able to add their own script.

For example to install a monitoring agent.
Custom variables like region or some_key are required.

Included in the last release.


[Bug]: The logic base expression is entered correctly, but the syntax error is still displayed

ODC version
4.3.2
OB version
no related
What happened?

The logic base expression is entered correctly, but the syntax error is still displayed
What did you expect to happen?
The schema expression is entered correctly and does not prompt syntax errors
How can we reproduce it (as minimally and precisely as possible)?
In the Expression for creating a table in the schema, enter the correct expression and click Preview Topology
Anything else we need to know?
No response

pass


README with an abrupt end

Hi!
First of all: sorry if that's not a real issue ...
In my feeling the README has a very abrupt end, at least for me (yes, I'm quiet new to all this).
I did all the steps in the README and struggle what to do next. My approch (1) is (obviously) wrong because I get an error (PHP Fatal error:  Call to a member function getEnabledProviders()).
I'd be happy to contribute to a better README but first I'll need your help to figure out where my thinking is wrong.
(1) I edited the zfc-user login.phtml and copy-pasted the stuff from vendor/socalnick/scn-social-auth/view/scn-social-auth/user/login.phtml

Hi, I too have something similar to this which is probably not 'an official issue' with the code but more so with a way of utilising this fantastic module. (also relatively new to zf2)
I've tried to customise my zfcuser routes to use 'account' instead of the default 'user' route of zfcuser. It seems that by using a custom route the ScnSocialAuth does not 'connect' to my custom route BUT it is still visible in the original (e.g. /user/register shows the social login section but /account/register does not)
It sounds like my lack of knowlegde in Zf2 is most likely the cause but I thought I'd go straight to the source and add my 2c since someone has already put a similar post up. Sorry if this mucks you around a bit.
If I try and override the view for ScnSocialAuth in my own module I get the same issue as Mr-Penguin above.
Mr-Penguin: it seems that you are calling $this->options->getEnabledProviders() where the options object is not defined or not injected...

Hi juuce! Thanks for your 2c on the topic! I think I would've run into the same problem sooner or later, becuase I too plan to rename the /user/ ...
It's not defined, obviously, but I don't know why, because even if I go step by step with the README by using the SkeletonApp it won't run displaying the same error.

Take a look at my sandbox app as an example: https://github.com/SocalNick/ScnSocialAuth-Sandbox
You can see it running here: http://scn-social-auth-sandbox.cfapps.io/user/login

Hi Nick, thanks for posting this sandbox app.
When I try to run it (copy it, install stuff with composer, edit db credentials) I get tons of errors.
What I wonder: does your app overwrite standard zfc-login form? I'm just asking because in your sandbox app there's no login.phtml.
Sorry if this is a dumb question to any expert, but I try to figure out where my thought process went in the wrong direction...

Yes it does: https://github.com/SocalNick/ScnSocialAuth/blob/master/view/scn-social-auth/user/login.phtml
Notice it doesn't add any social login buttons unless you have enabled those providers. Providers should be enabled in your apps scn-social-auth.global.php as shown in the sandbox app: https://github.com/SocalNick/ScnSocialAuth-Sandbox/blob/master/config/autoload/scn-social-auth.global.php#L38

Thanks for your fast reply.
Will they only be added if I have a valid token from given provider?
I've enabled Facebook but don't have a valid token (yet). Will it still display it or not? Same for other networks.
And as a sidenote: I've read that, for example, Google API can not be run locally and needs an active connection to the internet. Will those enabled providers only show in /user/login if they will actually work?
I'm just asking because I've set up everything like you said, enabled the providers in the scn-social-auth.global.php and yet there're no providers showing.

Have you enabled the module?
https://github.com/SocalNick/ScnSocialAuth-Sandbox/blob/master/config/application.config.php#L6

Yes kind sir, I have. It's really weird to me because I did everything I did with other modules before.
My application.config.php looks like that
 'modules' => array(
    'Application',
    'ScnSocialAuth',
    'ZfcBase',
    'ZfcUser',
     'TwbBundle',
    'ZfSnapJquery'`
...

Try changing the order of your modules array...
 'modules' => array(
    'ZfcBase',
    'ZfcUser',
     'TwbBundle',
    'ZfSnapJquery'`
    'ScnSocialAuth',
    'Application',

This will allow the ZfcUser to override the ZfcBase, and ScnSocialAuth to override anything above it.

Thanks for the advice with reordering but it still won't work. What really bugs me is the fact that it even won't work with the SkeletonApp set up. I'll try to install it on a different server, maybe that will (magically) work somehow.

Maybe try running my sandbox app instead of your code. You should be able to just download it, run composer install and start it.
https://github.com/SocalNick/ScnSocialAuth-Sandbox

Ok, good(ish) news. I tried a whole different server and after some issues it finally works there.
I'll update this post as soon as I figured out what exactly the problem is with my other server.

It's solved.
I'm new to Github, so I don't know if I have to close this issue? We might need to adjust the Readme (see above). Thanks guys.

The README clearly states to copy ./vendor/socalnick/scn-social-auth/config/scn-social-auth.global.php.dist to ./config/autoload/scn-social-auth.global.php.
This is a very common pattern for ZF2 modules.

Hi, Sorry to open this again but it is a related comment/question.
My issue was that I was overwriting the ZFcUser entity and route from
/user/ to /account/
'zfcuser' => array(
// telling ZfcUser to use our own class
'user_entity_class'       => 'WMember\Entity\WMember',
// telling ZfcUserDoctrineORM to skip the entities it defines
'enable_default_entities' => false,
'table_name' => 'w_member',
'login_redirect_route' => 'account',
),
'template_map' => array(
'zfc-user/user/login' => DIR .
'/../view/zfc-user/user/login.phtml',    // ZFC User
'error/403' => DIR .
'/../view/bjy-authorize/error/403.phtml',            // BJY-Authorise
//'scn-social-auth/user/register' => DIR .
'/../view/scn-social-auth/user/register.phtml',    // ScnSocialAuth
//'zfc-user/user/register' => DIR .
'/../view/scn-social-auth/user/register.phtml',    // ZFC User
),
It seems that the config in the file has a 'route' key which is set to
user and therefore my Social login button did not work when using my
custom /account/ route.
'scn-social-auth-user' => array(
'type' => 'Literal',
'priority' => 2000,
'options' => array(
'route' => '/user',
'defaults' => array(
'controller' => 'zfcuser',
'action'     => 'index',
),
),
Is there a configuration way to adjust this within my module (is it even
possible)?
 I would
guess that I only need the social plugin links on registration and login
and no other pages it would be required...
Any pointers at this point are appreciated.
Cheers,
On 14/07/2015 8:16 PM, Mr-Penguin wrote:

It's solved.
I'm new to Github, so I don't know if I have to close this issue? We
might need to adjust the Readme (see above). Thanks guys.
—
Reply to this email directly or view it on GitHub
https://github.com/SocalNick/ScnSocialAuth/issues/207#issuecomment-121192239.

Overwrite the route, make sure your application module is loaded after ScnSocialAuth (place it beneath in the application config module array).

Thank you.
I did this following my email. Standard ZF2 process so my fault. Sorry
to bug you about it.
I am however still having issues with the returning call from facebook
where I'[m getting page warnings "Array to string conversion" in
Zend\Db\Adapter\Driver\Pdo\Statement.php on line/293/
/user/authenticate/facebook#=
  Zend\Db\Adapter\Exception\InvalidQueryException

Statement could not be executed (42S22 - 1054 - Unknown column 'array_copy' in 'field list')
It must be my fault as I've installed a fresh version of zf2 skeleton
with your module and this seems to be OK.
I am using a custom entity to extend zfcuser with new fields in must
custom named table...
Anyway, if you have any ideas please let me know. I know this is not a
support forum so if you don't have time please ignore this email.
Cheers,
Dave
On 23/07/2015 7:41 PM, CasperF wrote:

Overwrite the route, make sure your application module is loaded after
ScnSocialAuth (place it beneath in the application config module array).
—
Reply to this email directly or view it on GitHub
https://github.com/SocalNick/ScnSocialAuth/issues/207#issuecomment-124034918.

Thanks, regarding my previous email the issue was with the Newly defined
Entity using getArrayCopy() as a method within the entity... My fault
again...
On 23/07/2015 7:41 PM, CasperF wrote:

Overwrite the route, make sure your application module is loaded after
ScnSocialAuth (place it beneath in the application config module array).
—
Reply to this email directly or view it on GitHub
https://github.com/SocalNick/ScnSocialAuth/issues/207#issuecomment-124034918.


Fixes #1931 - config.json integrity when disk is full

Now this change ensures config.json is first written into a temp-file and
rename into the original file, if no errors from the FS. If ENOSPC occurs on write,
when the machine is restarted, the previous config.json is still available on startup.
Steps to reproduce the issue:

Have a already vm's which is already in running state
Make sure directory "~/.machine" under partition is filled up.
Now run docker-machine stop dev1 (with the previous code the config.json file overwritten to empty file)
Start docker-machine start dev1, returns error Error getting migrated host: unexpected end of JSON input

Tested the the change manually, below the output:

Have started 'dev7'

$ PATH="$PWD/bin:$PATH" bin/docker-machine ls
NAME               ACTIVE   DRIVER       STATE     URL                         SWARM   ERRORS
dev                -        virtualbox   Stopped
dev7               -        virtualbox   Running   tcp://<IP_ADDRESS>:2376

Stop dev7 (after making sure the partition is filled up)

$ PATH="$PWD/bin:$PATH" bin/docker-machine stop dev7
(dev7) Stopping VM...

$ df -lh
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb3       411G  387G  8.0K 100% /home

With this change in effect the file store is saved into an temp-file, avoids corrupting the working config.json file.

$ PATH="$PWD/bin:$PATH" bin/docker-machine stop dev7
(dev7) Stopping VM...
Error saving host to store: write /home/user/.docker/machine/machines/dev7/config.json.tmp141651394: no space left on device

Restarting the dev7 does not have issues, now with the fix:

$ PATH="$PWD/bin:$PATH" bin/docker-machine start dev7
(dev7) Starting VM...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.

Prior to this code change, machine stop ends up with the following output, overwritting config.json:

$ docker-machine stop dev8
(dev8) Stopping VM...
Error saving host to store: write /home/user/.docker/machine/machines/dev8/config.json: no space left on device

Would appreciate any feedback and suggestions on adding tests (unit or integration test) for this scenario, I am unable to automate for UT or integration-test/bats ?
Signed-off-by: Anil Belur<EMAIL_ADDRESS>

@askb Cool. You are right. I'll test it today

LGTM /cc @docker/machine-maintainers

Looks pretty good.  @askb can you please add a unit test for this?

@nathanleclaire, I think we already have unit test in place TestStoreSave() tests store.save() in place. Could you please tell me if its required to further extend this test and/or what could be tested additionally ?  thanks.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "1931_full_disk" git@github.com:askb/machine.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Thank you @askb
You are right that this piece of code is already tested a lot. Adding the check for redundant .tmp file was a nice addition.
Testing the disk full situation would be more difficult than valuable.
Please rebase so that we can merge
@jeanlaurent PTAL

No worries, re-based with latest changes. thanks.

Hi @askb, sorry it has to be rebased again. I don't know why

Not sure, what is causing this issue as not many changes to pull from the master.
Now push in progress. Thanks @dgageot

@askb There a pb with the way our repo is configured. It's a wip. Thank you


Extract types from type unions

Is your feature request related to a problem? Please describe.
Currently payload types generally consist of type unions, therefore it is not possible to take only one specific type and use it.
export type MyQuery {
  __typename: 'Query',
  data: Maybe<(
    {
      id: string;
      name: string;
      __typename: 'Data1'
    }
    | {
      id: string;
      type: string;
      __typename: 'Data2'
    }
  )>;
}

Now if I develop a stream that filters out all emission but the one with Data2 __typename, I can't get the type safety right, as I have no direct access to the Data2 type.
Describe the solution you'd like
Similarly as apollo-codegen does it(I used it up until now) codegen could extract all the types in the unions in their own "standalone" types, that could be used by the consumer.
Describe alternatives you've considered
The only alternative is to declare the types by hand.

@klemenoslaj
You can use the Extract utility type (https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttu)
type Maybe<T> = null | undefined | T;

export type MyQuery =  {
  __typename: 'Query',
  data: Maybe<(
    {
      id: string;
      name: string;
      bar: string;
      __typename: 'Data1'
    }
    | {
      id: string;
      type: string;
      foo: string;
      __typename: 'Data2'
    }
  )>;
}

type MyQueryData1 = Extract<MyQuery["data"], { __typename: "Data1"}>
type MyQueryData2 = Extract<MyQuery["data"], { __typename: "Data2"}>

https://www.typescriptlang.org/play/index.html#code/C4TwDgpgBAsghiARhAPAFQHxQLxQHYCuANkVAD5QF4AmEAZgJZ4TXlRoDcAUFxAB5gA9gCdgUUJFggAigQjCQOKFADeXZQH0NEiHjgBbCAC4oAclnyQpgDTqo1OMDgn4SVAAo7ytct9QG1CYAzsDCTADm3H7KeobBoRFR0YhwwvFheJFevlo6scZmACKOcACMptkAvtkUPtEB6YnZyjqNmUl+dIKCbVnRULngugYFpsVOAEwVftXKAJQY3NVcOlIWCuNlSgCifKFwAMbAKDAycgoA2gBEDk5XALrWqgPaQ-kmV5ulV5UYK0Nrc4gTYTHZ7YSHY6ndYga63OAPJ4qF55EYfEE-P5AA

Yes, this very second I found Extract myself 😂
Thanks for the quick reply.
Would however be splitting the types be good idea anyway?

@klemenoslaj you are using inline fragments? you can try to use fragments spreads and then it will generate a sub-type for each possible type in the fragment (use the latest alpha for this, it's just got merged and not released in a stable version yet).

@dotansimha not necessarily that fragments are used at all. It could be just a query itself that can return multiple data types.

I think it's fine, but if you'll use a separate fragment and a fragment spread you'll be able to access the inner type as regular typescript type.


Reimplement LimitConsoleLength console reader option

We need to think about this one.  Anything that causes blocks to be different between firehose providers is really not desirable in the graph ecosystem.  We want the blocks to be provably the same everywhere.

I think the option was there because in Antelope chains you can write tons of console output which is not billed for.  So denial of service possibility.  When we were doing initial testing, I limited the console output during some tests.  The option was added for us.


hide a hub and then show immediately but can not see it

self.aHub = [[MBProgressHUD alloc] initWithView:self.view];
self.aHub.mode = MBProgressHUDModeText;
self.aHub.labelText = @"some hub xxx";
[self.view addSubview:self.aHub];
[self.aHub show:YES];
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, 2 * NSEC_PER_SEC);
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){

    [self.aHub hide:YES];

//        NSLog(@"sup>>%@",self.aHub.superview);
//        sleep(2);
    self.aHub.labelText = @"dkflskjlfls";
    [self.aHub show:YES];

});

I can not see second hub

http://stackoverflow.com/a/5834571/88854

Doesn't work! It just makes the bug appear less often


Add orchestration template parser for VMware cloud

Purpose or Intent
This patch adds a parser for the VMware vApps that are stored in the
database as orchestration templates.
@miq-bot add_label wip, providers/vmware/cloud, enhancement

@agrare I couldn't find a way to indicate relationship between orchestration template and its template VMs. The :vms have orchestration_stack_id, but this probably shouldn't be used. My (poor) understanding of orchestration templates from other providers is that they are only used to link running VMs to the templates. These templates are also not used as a source for provisioning.
Furthermore, if you have any idea how to see these templates in the UI, let me know. I see them in the DB, have a simple spec to test the refreshing mechanism, but don't know exactly how to use them yet.

@gberginc it looks like that association doesn't exist for an OrchestrationTemplate so we'll have to create it.  That can be a follow up PR to this one.

Ok. That can be done, but we'll also have to add this to the UI probably - probably it would be good to discuss in more detail the consequences.
What about the other comments in the code (mainly the OVF download and the one related to the ems ID)? Do you see any problem with those?

@gberginc the rest looks good to me :+1: just fix the merge conflict and re-push

@agrare Done with the rebase.

LGTM :+1:


Update test for "package already installed"

It's currently dependent on test execution order to be correct. Change it to explicitly attempt to install a package twice.
See https://github.com/mesosphere/cosmos/pull/26/files#r48886147

No activity in a while. Closing.


nextcloud: add option to configure bulk upload

Description of changes
The new option allows to enable bulk upload if needed. See https://github.com/nextcloud/desktop/issues/5094 before enabling it.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Is it possible to enable this via extraOptions too?
services.nextcloud = {
  extraOptions = {
    bulkUpload.enable = true;
  };
};

I would be really happy to keep the Nextcloud module slim and only add options which are reused in the module somewhere else. There are some other options in the Nextcloud module too which could be handled by extraOptions now and might not be required anymore ...

Is it possible to enable this via extraOptions too?
services.nextcloud = {
  extraOptions = {
    bulkUpload.enable = true;
  };
};

I would be really happy to keep the Nextcloud module slim and only add options which are reused in the module somewhere else. There are some other options in the Nextcloud module too which could be handled by extraOptions now and might not be required anymore ...

I don't yet know. I'm newbie in NixOS and Nixpkgs.
With this patch I fixed my client<>server problem

And does it work adding this option in extraOptions too? If yes we could skip this PR if its okay for you :)

And does it work adding this option in extraOptions too? If yes we could skip this PR if its okay for you :)

No. This doesn't work

I am going to close this since the feature seems not to be stable yet and for testing it can be enabled via extraOptions.

This doesn't work: nothing has appeared in /var/lib/nextcloud/config/override.config.php

It appeared in config/config.php for me


Question: Is it possible to update the delay period after job creation

I've a requirement where delay period for some of the jobs will be determined after job gets created. I'm looking for ways to update the delay.
Here is a stackoverflow discussion on the subject http://stackoverflow.com/questions/34919808/is-it-possible-to-update-a-already-created-job-in-kue-node-js/39113844#39113844
Here is my sample code
 getJobIdsToUpdate('delayed', function(idArr) {
  console.log("Ids to update", idArr);
  idArr.forEach(function(id) {
   kue.Job.get(id, function(err, job) {
    console.log("updating job ", id);
    console.log(JSON.stringify(job));
    job.delay = 5 * 60000;
    job.update(function() {
      console.log(JSON.stringify(job));
     });
   });
  });
 })`

If I inspect the job, it doesn't change the delay. Whereas If I attempt to update job.data.title, it does work. Any guidance will help.

sorry, little too early to create the issue. Found the answer here https://github.com/Automattic/kue/issues/505 and hence closing the ticket.


Keypoint Annotation

I wanted to ask about the keypoint annotation feature you are workig on now. Would that have standard configuration/format like keypoints for annotating human pose? Would it have the same interpolation feature as the current bounding boxes? Finally when would the feature be released? Do you have specific date in mind? Thank you

Hello, thanks for you question!

Now we are developing and debugging this feature. You will can choose the shape "points" instead of "bbox" (also "polygon" and "polyline" will be supported) and create point array by clicks on an image. Array will support the fixed order of points. It also may contain only one point. One label will correspond to one array (as in bbox case). Of course, you will can edit (drag and resize) all new shapes.
Points, polygons and polylines will not support the interpolation between frames, but you will can merge it to one track.
It will be released in end of September, I suppose, if problems will not occur.

Done in develop branch. Documentation will be updated lately.

@nmanovic Sorry for commenting on the closed issue, but cannot find any reference for the implementation of keypoints annotation in CVAT. As I understood the points is an answer, but do you have any plans to make it compatible with a COCO format for keypoint names and "skeleton"?

Hi @moiseevigor ,
Could you please submit a separate issue about features which you want to have in CVAT regarding keypoints? We want to support COCO format in the nearest feature. I'm not sure about skeleton yet because we don't have many such tasks internally yet. If you can help to describe features which you want to get or even send us a PR it will be helpful.

Does CVAT support keypoint for coco format? Thanks

@zhiltsov-max , could you please cover the question?


Atomically update cluster state with decommission status and corresponding action

Description
[Describe what this change achieves]
Issues Resolved
#4571
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #5093 (e227c0b) into main (fab4336) will increase coverage by 0.02%.
The diff coverage is 59.85%.

@@             Coverage Diff              @@
##               main    #5093      +/-   ##
============================================
+ Coverage     70.84%   70.87%   +0.02%
- Complexity    57867    58029     +162
============================================
  Files          4692     4706      +14
  Lines        276650   277273     +623
  Branches      40155    40171      +16
============================================
+ Hits         196002   196508     +506
- Misses        64500    64654     +154
+ Partials      16148    16111      -37

Impacted Files
Coverage Δ

...java/org/opensearch/upgrade/ValidateInputTask.java
84.61% <0.00%> (ø)

...ch/analysis/common/CommonAnalysisModulePlugin.java
92.33% <0.00%> (+0.05%)
:arrow_up:

.../src/main/java/org/opensearch/LegacyESVersion.java
59.34% <ø> (-2.37%)
:arrow_down:

...ecommission/awareness/put/DecommissionRequest.java
85.71% <0.00%> (-6.60%)
:arrow_down:

...min/cluster/stats/TransportClusterStatsAction.java
70.83% <ø> (ø)

...ensearch/action/search/SearchTransportService.java
83.75% <ø> (-3.25%)
:arrow_down:

...va/org/opensearch/action/update/UpdateRequest.java
46.41% <0.00%> (+1.97%)
:arrow_up:

...g/opensearch/cluster/coordination/Coordinator.java
78.67% <ø> (-1.21%)
:arrow_down:

.../cluster/metadata/IndexNameExpressionResolver.java
83.79% <ø> (-0.03%)
:arrow_down:

...va/org/opensearch/cluster/node/DiscoveryNodes.java
89.72% <ø> (-0.18%)
:arrow_down:

... and 598 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

On high level changes look good to me. I don't see a race condition now when startDecommissionAction is called multiple times besides multiple tasks being queued up. Is there race condition you want to call out/ discuss?

Yeah, although we are making it idempotent as much as we can. But we still can have concurrent decommission execution as retry mechanism is a necessity during master change. And in cases where we have two threads for eg. executing the action, there might be chances where each of them attempt to achieve different decommission state. However, with this PR we are closer to idempotency, we still need to consider blocking concurrent decommission execution

@Bukhtawar @shwetathareja Can you please review it again and help me add skip-changelog tag for this PR?

For my understanding we are clubbing marking INIT and excluding voting config allowing leader to switch in a single cluster state execution call. However there could still be multiple concurrent INITs(processed sequentially by cluster state update) and this takes us a step closer to making it idempotent. However there are no guarantees that there could be multiple concurrent executions in flight one resulting in SUCCESS and the other FAILURE depending on the point-in-time state when each got executed

Exactly. As a follow up to this we will have imRishN#87 to block concurrent executions

@imRishN I am trying to understand why do we need the retry flag. If INIT was succeeded then, it sends the response back to the user and rest of the execution runs in the background but that is post INIT state. Agree with @Bukhtawar when there are multiple in flights requests only one would succeed and others would fail as actual cluster state processing would happen sequentially.

Agree with @Bukhtawar when there are multiple in flights requests only one would succeed and others would fail as actual cluster state processing would happen sequentially.

@shwetathareja sorry I didn't mean the above, I am suggesting we will have concurrent executions since INIT is a re-entrant state, meaning if the leader is in the same zone that needs to be decommissioned the actual decommissioning request has to be executed on the new leader and my understanding is it will start at INIT again. Actually the state also doesn't matter, the use case and the state flow itself is re-entrant and as long as we need to support this we cannot guarantee a single instance of the decommission execution unless we have a retry flag other versioning support

@imRishN I am trying to understand why do we need the retry flag. If INIT was succeeded then, it sends the response back to the user and rest of the execution runs in the background but that is post INIT state. Agree with @Bukhtawar when there are multiple in flights requests only one would succeed and others would fail as actual cluster state processing would happen sequentially.

@shwetathareja, yeah that's the happy case. But lets assume the active leader lies in the to be decommission zone, in that case, once it gets excluded from the voting config, it will eventually get abdicated. Although, the process runs in the background after sending response to the user but it has to be executed on the active leader. And hence after abdication, the internal retry mechanism will ensure the request lands up in newly elected leader

@Bukhtawar @shwetathareja Can you please review this again? Thanks!


Add correct classnames

Should fix https://github.com/roya3000/react-router-dynamic-breadcrumbs/issues/9

Great work! Thanks for contribution.


Adding a connector to allow metrics from other Clusters to be fetched using thanos-store

I see limits and requests for the aro-thanos-blob-grafana-agent are missing on the connector branch. Is that on purpose? If not, can you rebase the connector branch on main?


Use VK from zkApp transaction to verify proofs in it

When verifying transactions in the pool, we currently verify all the zkapp proofs using the VK from the best tip ledger. If a zkapp transaction has an update that sets the VK then use that to verify subsequent account updates with proofs

Even after @mrmr1993 's fix to also ensure we're running this logic against the mempool, there's still an edge case in the mempool which @deepthiskumar pointed out today:
User_command.to_verifiable passes a ledger to use as a fallback to find the latest verification key to depend on, however, the mempool could have a stack of transactions with earlier nonces that change the verification key which we need to rely on instead.
So we need to change this "fallback lookup" logic to (in the mempool case) lookup the latest verification key in some smarter mempool-aware mechanism before falling back to ledger.


Separate vm commands into single files

What this PR does / why we need it:
This PR separates VirtualMachine related commands from one single file vm.go into it's own file. It should break the complexity of a original vm.go file.
Release note:

Signed-off-by: Ondrej Pokorny<EMAIL_ADDRESS>

/cc @0xFelix @ksimon1

Good initiative! Have some comments and suggestions inline. Also what about the UTs? should they stay in the same big vm_test? or also be separated to small UTs?

Thanks for your comments, I have tried to address them all! I think the UTs could stay in one file, because they are all separated by their own context for each command which is not that messy as vm.go file was. But I would like to hear others what do they think about splitting UTs as well? @0xFelix @ksimon1

The UTs can stay in one file IMO.

/retest

Not sure about commit Separate vm commands into single files, how does it relate to the other commits?

Can you please fix the commit messages? It looks like you accidentally added the title to the body of the messages.

/remove-lifecycle stale

/retest

/retest

Hi @prnaraya, great you are working on this too. Ondrej already put in a lot of effort to move the commands into separate files, so I'd love to get this work in. I saw you moved the commands into separate functions and improved them a bit. Maybe you and @opokornyy could work on merging the improved functions into the separate files per command created by @opokornyy?

@opokornyy @prnaraya @alicefr It could also be done as a follow up PR based on this one, to keep it reviewable?

A follow-up PR sounds like a good idea then in this case. I'll go ahead and close my current PR and can revisit cleaning up the functions when this PR gets merged.

/retest

@opokornyy you are splitting each command in its own file, but what about the tests. Do you plan doing it also for https://github.com/kubevirt/kubevirt/blob/main/pkg/virtctl/vm/vm_test.go ?

@opokornyy you are splitting each command in its own file, but what about the tests. Do you plan doing it also for https://github.com/kubevirt/kubevirt/blob/main/pkg/virtctl/vm/vm_test.go ?

Yes, but I would like to split tests in a follow up PR

/approve
/hold
Let have @0xFelix under look and then you can unhold it :)

/retest

/unhold


Update rerun-process-wrapper

Signed-off-by: Chuck Ha<EMAIL_ADDRESS>What this PR does / why we need it:
Super minor update, i doubt this script will change any more for a long time.
NONE

/assign @detiber

/lgtm


Add Release Checklist

This PR documents, step by step, what a maintainer should do when cutting a new release for an open source App.

Towncrier checks now disabled on any release-related branches and PRs
Updated towncrier template to include the relevant major.minor
Fixed #115

I have tested these changes successfully in the https://github.com/nautobot/nautobot-app-dev-example repo, with the exception of the LTM steps, due to a lack of an LTM branch in dev-example.

Just because I hit this today, the Update Documentation section should include a note about updating the Compatibility Matrix.


C# code truncated

2nd code block under the section "Concurrent operations" is truncated.

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

ID: f7eb26ad-3f91-13f4-5827-9dd398412f9d
Version Independent ID: 1e3dc2ac-1d5e-3da1-7d51-91d36bda14f2
Content: Best practices for improving performance using Azure Service Bus
Content Source: articles/service-bus-messaging/service-bus-performance-improvements.md
Service: service-bus-messaging
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@SenthuranSivananthan Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@SenthuranSivananthan Actually, there is a link to the full program:

Is this the code sample you are referring to? There is a link to the full code sample. I want to confirm this is what you are referring to. Thanks for the clarification. Regards, Mike

@SenthuranSivananthan Thank you for the feedback. This snippet isn't meant to be syntactically complete, as a learning tool it's best to follow the link to the complete code. #please-close

@SenthuranSivananthan We will now close this issue. If there are further questions regarding this matter, please reply to @femsulu and we will gladly continue the discussion.


Function hash doesn't capture default arguments

If a function is captured by a recipe, e.g.
def func(count: int = 10):
    ...

@alk.recipe
def my_recipe():
    return func()

And the default value for count is changed to something else, e.g. 12, my_recipe isn't marked dirty.

Fixed in https://github.com/MathiasStokholm/alkymi/pull/18 (version 0.0.6)


FileNotFoundError: [Errno 2] No such file or directory: './models/dump/IMG_1.jpg.png'

Hello, THANKS for your opensource.
I'd like to train the model by
"python3 main.py --dataset="parta" --gpu=0 --start-epoch=0 --epochs=13 --threshold=0.21
"
but got "FileNotFoundError: [Errno 2] No such file or directory: './models/dump/IMG_1.jpg.png'"
I will check the source code to find out and any instruction would be appreciated.

Just creating models/dump and models/dump_test folders should fix the error.

Hello,here I come again~
Traceback (most recent call last):
File "main.py", line 1108, in
train()
File "main.py", line 1049, in train
log_path=model_save_path)
File "main.py", line 926, in train_networks
epoch_test_losses, txt = test_lsccnn(test_funcs, dataset, 'test', network, True)
File "main.py", line 653, in test_lsccnn
for e_idx, e_iter in enumerate(e):
File "/home/scu508/workspace/lsc-cnn/data_reader.py", line 281, in iterate_over_test_data
pred_maps_full_size = self._test_one_image(crops, test_function)
File "/home/scu508/workspace/lsc-cnn/data_reader.py", line 719, in _test_one_image
results = test_function(img_batch, gt_batch, roi_batch)
File "main.py", line 639, in test_function
loss, pred_batch, gt_batch = test_funcs(img_batch, gt_batch, loss_weights, network)
File "main.py", line 401, in test_function
Yss_out = self.get_box_gt(Yss)
File "main.py", line 166, in get_box_gt
assert(check_sum == torch.sum(Yss[0][b]).item() == len(y_idx))
AssertionError
I HAVE read the code and didn't find the cause.
Thank you~


current time is not accurate

Current time (sec) value isn't accurate, some times it goes more than the duration time (sec)
example :
mp3._duration or mp3.getDuration() =<PHONE_NUMBER>05
setInterval(() => {
mp3.getCurrentTime((sec) => {
console.log(sec) //after 263 passed it goes to 264.150
})
}, 1000)
is there any event like onCurrentTimeChange  on this lib??
or how can i fix this??

hi, did u solved this?

@zmxv plz double check this issue bro


Custom font color for progress bar

What problem does this feature solve?
In some background colors, the percentage text on the progress bar is white and the green icon at 100% is difficult to see
What does the proposed API look like?
nzTextColor="#333"

you can use className to custom it


Update function docstrings

Documentation of the functions in this script needs to be updated. Some functions are missing docstrings, and some have docstrings but they are outdated, for example:
def resolve_address(address, pan_cfg):
    """
    Queries address-group for object matching this string.
    :param address: address object being searched for
    :param add_tree: etree built from address section of PANOS XML
    :return: string of object's IP address
    """

Notice that the parameter "add_tree" should actually be "pan_cfg", and it is an etree built from the entire PANOS configuration XML, not just the "address section".

عفوا يا أخي
I take that back! Given that we're now implementing PEP484, let's simplify our comments for the functions. No need for full-blown docstrings, just a simple high-level description of the function would be sufficient, e.g.:
Documentation of the functions in this script needs to be updated. Some functions are missing docstrings, and some have docstrings but they are outdated, for example:
def resolve_address(address, pan_cfg):
    # Queries addresses and address-groups for object matching this string and returns IP
    # addresses as a list.

Does that make sense?

Well done! We can close this one thanks to the comments added in @HighWatersDev's first PR.


fix: prevent submission of empty Ratings/Reviews

Description:
Issue Overview:
currently, users can submit a review and ratings on any hotel page, even if they haven't selected any stars. They just hit submit, and off it goes!
Proposed Improvement:
Let's tighten things up a bit. We'll make sure users have selected stars before they can submit. The review can still be empty, but those stars need some love.
Implementation Steps:

Head over to src\routes\hotel-details\components\user-reviews\UserReviews.jsx. This is the boss component where we've got the state for userRating and userReview, along with the action handler handleReviewSubmit. Let's stop submissions right here if the stars aren't shining bright.
Let this repo shine bright with your star, too.

Screenshot

Hello,
I would like to work on this issue.
Thanks and Regards,
Mohit Kambli

Hello,
I would like to work on this issue.
Thanks and Regards,
Mohit Kambli

Sure thing. Assigned to you.


Laravel 10.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.
Before merging, you need to:

Checkout the l10-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/laravel-feature.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "francescomalatesta/laravel-feature": "dev-l10-compatibility",
    }
}

Finally, run: composer update

Hi, is there any update of this PR? Is it plan to support Laravel 10.x? Thanks!

Same are there updates on supporting Laravel 10 ?

Hi @francescomalatesta Any update please?


fix(models): use correct format for type and instance in problem.json

This PR includes the following:

According to their descriptions, type and instance fields
of problem-1.0.1.yaml are relative URI references. According to RFC 3986,
these formats should be specified as relative-ref instead of uri:

https://tools.ietf.org/html/rfc3986#section-4.2
Otherwise, linter tools such as spectral (https://github.com/stoplightio/spectral)
will fail to lint these models correctly. This PR adapts these fields accordingly.

Also includes minor language fixes to the descriptions.

@bufferoverflow

@ercanucan Should this actually be 1.0.2 itself? 😅

@dlouzan

@ercanucan Should this actually be 1.0.2 itself? 😅

@dlouzan I guess it could be, but the semantics do not change, it's more like a fix in my opinion. However I am open to see what the community and the maintainers suggest 🙂   /cc @tfrauenstein @gewald

Hi @ercanucan, many thanks for the contribution.
From a service compatibility point of view it would require even a version 2.0.0, from client 1.0.2 may be sufficient. In any case the PR should have create at least a new problem-1.0.2.yaml
However, I'm not sure whether we should redefine it i this way. To stick to absolute paths is just a suggestion of the rule to account for the missing practical value in providing resolvable error descriptions outside of the spec. We do not intend to enforce this suggestion by tooling, so I suggest to leave it as is.
@tfrauenstein @gewald @ePaul what do you think?

@tkrop Thank you very much for your response! As you suggested, I created a new file problem-1.0.2.yaml.

We actually use these guidelines in some of our projects at Siemens and we actually do enforce these using spectral as we believe it brings value to keep API specs consistent across various projects.
As currently the examples within problem-1.0.1.yaml do not fit the specified format (uri), we have seen that we could actually make the fix source and contribute it upstream 🙂

An alternative I was considering could also be to adapt the format to uri-reference, which can be a uri or a relative-reference if we want to keep compatibility for both options as described in RFC3986:
https://tools.ietf.org/html/rfc3986#section-4.1
What would you and the rest of maintainers think about it?

@ercanucan Thanks again for the PR and the hint. Yes, uri-reference would actually be the correct and expected format. Since this is what we intended to express by uri in our initial PR, we would change problem-1.0.1yaml, since we think that this intention was broadly anticipated.
It would be great, if you can finalize your contribution in this sense. Many thanks
Tronje

@tkrop Thank you very much for your response! Adapted the PR as you suggested. Please let me know if you'd like further adaptions. Thanks again!

👍

:+1:

@ercanucan Thank you very much for your contribution.

@tkrop @tfrauenstein Thank you very much for the collaboration.


array_interpolate_linear: toggle to also extrapolate leading/trailing no-data

Proposed Process ID: array_interpolate_linear
Proposed Parameter Name: extrapolate (boolean)
Optional: yes, default: false
Context
Users of array_interpolate_linear often also want to extrapolate leading/trailing no-data values
Data Type
boolean: just a toggle to enable extrapolation

Sounds good, PRs are welcome.

FYI: we discussed this a bit more internally and it turns out that naive extrapolation is not that useful in practice. Users seem more interested in some kind of back-/front-fill approach where first/last value (or even an aggregation of multiple values) is used to fill in the leading/trailing no-data places.
But I think this deserves it's own process instead of massively complicating array_interpolate_linear which is quite settled already.
So maybe it's best to close this current ticket for now


Improve performance using tricks found in Leaflet

Openlayers may be able to benefit from a number of the rendering optimizations in Leaflet. See if anyone in OpenLayers has looked into these before taking this task on.

I believe @jpfiset pilfered what he could from Leaflet a while back.


downloadable csv/json file

It would be great if people could download a file of our information, which they could then use for whatever they want!

Heyho, I could do that. Can't assign myself unfortunately, but just see me as on it :D

Ok, added appropriate methods to the model. For now I'll just add a "download to csv" button to the top of the overview page. Can always move that somewhere else later on...

See PR #14

closed with #14


reqable: Add version 2.21.4

https://github.com/reqable/reqable-app/
Closes https://github.com/ScoopInstaller/Extras/issues/13806

[x] I have read the Contributing Guide.

Any data/configuration to persist?

Any data/configuration to persist?

the data is stored in \AppData\Roaming\Reqable

/verify


feat: clean dist before building trunk

This pull request updates the CLI so that the dist directory is cleaned before building the project trunk. This mitigates potential confusion for users who follow the user-specific installation instructions followed by the contributor-specific getting started instructions, which results in two package.json files and a duplicate package name warning for rome.
This scenario will become more uncommon once Rome is distributed via package managers and no longer requires cloning, but it feels like resilient trunk building should be in place regardless.
Resolves #404

I don’t think this is the right solution. It would be better to update the document to avoid the confusion.


Port Strategy to Huff

Closes issue #6
This ports the strategy to huff and maintains feature parity to make it a drop-in replacement. Further details are written in the README file.

Also, the contract is precompiled. A forge script can be run with ffi enabled to validate the compiled code matches that of the huff compiler. This is the only script that requires huffc.


Listen on data Attributes?

Hej,
is it possible to listen on an element with an attribute like data-url or data-href?
Example:
<div data-url="/another/path/"> ... </div>
<button data-url="/another/path/">Go</button>

Thanks for your support and the great project.

Hello @tbaddade ,
sorry for the late reply.
What you mean by it?
Can you expand a little more your question?

If you want to change page without using a link, you could use the Barba.Pjax.goTo(newUrl) function to create something that listens for clicks on elements with specific data-attributes.
Source: http://barbajs.org/docs/Barba.Pjax.html

If you want to change page without using a link, you could use the Barba.Pjax.goTo(newUrl) function to create something that listens for clicks on elements with specific data-attributes.

Thanks. This solved my problem.


Script gets stuck on waiting for ramdisk to boot

OS: Ubuntu Desktop 22.04
Hi, yesterday this worked fine and would create a image, today it no longer works. It also gave me a libssl.so.1.1: cannot open shared object file: No such file or directory error at the beginning but i installed libssl-dev.
Log:
[*] Command ran: sudo ./downr1n.sh --downgrade 14.8
[19:51:02.707][3] usbmuxd v1.1.1 starting up
[19:51:02.707][1] Another instance is already running (pid 9549). exiting.
downr1n | Version 3.0
Created by edwin, thanks palera1, and all people creator of path file boot
[] Waiting for devices
[] Detected normal mode device
ERROR: No device found!
ERROR: No device found!
Hello,  on 14.8!
[*] Switching device into recovery mode...
ERROR: No device found!
ERROR: No UDID specified
Usage: ideviceenterrecovery [OPTIONS] UDID
Makes a device with the supplied UDID enter recovery mode immediately.
OPTIONS:
-d, --debug           enable communication debugging
-h, --help            prints usage information
-v, --version         prints version information
Homepage:    https://libimobiledevice.org
Bug Reports: https://github.com/libimobiledevice/libimobiledevice/issues
[/] if your device can't enter into recovery mode please try to force reboot and put it on recovery mode
[] Waiting for device in recovery mode
[] Waiting for devices
[] Detected recovery mode device
[] Getting device info...
Detected cpid, your cpid is 0x8015
Detected model, your model is d201ap
Detected deviceid, your deviceid is iPhone10,4
./downr1n.sh: line 647: curl: command not found
[] To get into DFU mode, you will be guided through 2 steps:
[] Press any key when ready for DFU mode
Get ready (3)
Get ready (2)
Get ready (1)
Get ready (0)
Hold volume down + side button (4)
Hold volume down + side button (3)
Hold volume down + side button (2)
Hold volume down + side button (1)
Release side button, but keep holding volume down (10)
Hold volume down + side button (0)
Release side button, but keep holding volume down (9)
Release side button, but keep holding volume down (8)
Release side button, but keep holding volume down (7)
Release side button, but keep holding volume down (6)
Release side button, but keep holding volume down (5)
Release side button, but keep holding volume down (4)
Release side button, but keep holding volume down (3)
Release side button, but keep holding volume down (2)
[] Device entered DFU!
[-] we found ipsw/iPhone_4.7_P3_14.8_18H17_Restore.ipsw, do you want to use it ? please write, yes or no
ipsw/iPhone_4.7_P3_14.8_18H17_Restore.ipsw
[] Checking if the ipsw is for your device
[] Checking ipsw version
[] Extracting ipsw, hang on please ...
[] Got extract the IPSW successfully
[] Creating ramdisk
./sshrd.sh: line 50: curl: command not found
[-] Ramdisk is already created so SKIPPING ...
[*] Booting ramdisk
./sshrd.sh: line 50: curl: command not found
usb_timeout: 5
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x8015
Found the USB handle.
Stage: RESET
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x8015
Found the USB handle.
Stage: SPRAY
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x8015
Found the USB handle.
Stage: SETUP
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x8015
Found the USB handle.
Stage: PATCH
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x8015
Found the USB handle.
Now you can boot untrusted images.
usb_timeout: 5
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
Found the USB handle.
[==================================================] 100.0%
[*] Waiting for the ramdisk to finish booting

OS: Ubuntu Desktop 22.04 Hi, yesterday this worked fine and would create a image, today it no longer works. It also gave me a libssl.so.1.1: cannot open shared object file: No such file or directory error at the beginning but i installed libssl-dev.
Log:
[*] Command ran: sudo ./downr1n.sh --downgrade 14.8 [19:51:02.707][3] usbmuxd v1.1.1 starting up [19:51:02.707][1] Another instance is already running (pid 9549). exiting. downr1n | Version 3.0 Created by edwin, thanks palera1, and all people creator of path file boot
[] Waiting for devices [] Detected normal mode device ERROR: No device found! ERROR: No device found! Hello, on 14.8! [*] Switching device into recovery mode... ERROR: No device found! ERROR: No UDID specified Usage: ideviceenterrecovery [OPTIONS] UDID
Makes a device with the supplied UDID enter recovery mode immediately.
OPTIONS: -d, --debug enable communication debugging -h, --help prints usage information -v, --version prints version information
Homepage: https://libimobiledevice.org Bug Reports: https://github.com/libimobiledevice/libimobiledevice/issues [/] if your device can't enter into recovery mode please try to force reboot and put it on recovery mode [] Waiting for device in recovery mode [] Waiting for devices [] Detected recovery mode device [] Getting device info... Detected cpid, your cpid is 0x8015 Detected model, your model is d201ap Detected deviceid, your deviceid is iPhone10,4 ./downr1n.sh: line 647: curl: command not found [] To get into DFU mode, you will be guided through 2 steps: [] Press any key when ready for DFU mode
�[K�[1;36mGet ready (3) �[K�[1;36mGet ready (2) �[K�[1;36mGet ready (1) �[K�[1;36mGet ready (0)�[0m
�[K�[1;36mHold volume down + side button (4) �[K�[1;36mHold volume down + side button (3) �[K�[1;36mHold volume down + side button (2) �[K�[1;36mHold volume down + side button (1) �[K�[1;36mRelease side button, but keep holding volume down (10) �[K�[1;36mHold volume down + side button (0) �[K�[1;36mRelease side button, but keep holding volume down (9)�[0m
�[K�[1;36mRelease side button, but keep holding volume down (8) �[K�[1;36mRelease side button, but keep holding volume down (7) �[K�[1;36mRelease side button, but keep holding volume down (6) �[K�[1;36mRelease side button, but keep holding volume down (5) �[K�[1;36mRelease side button, but keep holding volume down (4) �[K�[1;36mRelease side button, but keep holding volume down (3) �[K�[1;36mRelease side button, but keep holding volume down (2)�[0m [] Device entered DFU! [-] we found ipsw/iPhone_4.7_P3_14.8_18H17_Restore.ipsw, do you want to use it ? please write, yes or no ipsw/iPhone_4.7_P3_14.8_18H17_Restore.ipsw [] Checking if the ipsw is for your device [] Checking ipsw version [] Extracting ipsw, hang on please ... [] Got extract the IPSW successfully [] Creating ramdisk ./sshrd.sh: line 50: curl: command not found [-] Ramdisk is already created so SKIPPING ... [*] Booting ramdisk ./sshrd.sh: line 50: curl: command not found usb_timeout: 5 [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x8015 Found the USB handle. Stage: RESET ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x8015 Found the USB handle. Stage: SPRAY ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x8015 Found the USB handle. Stage: SETUP ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x8015 Found the USB handle. Stage: PATCH ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x8015 Found the USB handle. Now you can boot untrusted images. usb_timeout: 5 [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 Found the USB handle.
[==================================================] 100.0% [*] Waiting for the ramdisk to finish booting

please execute rm -rf ramdisk/boot and try again

Im gonna try on ubuntu 20.04


noindex tag

Describe the feature you'd like
Add an option in the settings to prohibit indexing even of a public site for search engines.
Describe the benefits this would bring to existing BookStack users
Prevent indexing of inappropriate content.
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
1 to 5 years
Additional context
No response

Hi @Statium,
We already offer controls for this via the following option:
https://github.com/BookStackApp/BookStack/blob/44013721f0d9bd21c8ebe7cf2ae7d39067fe74bb/.env.example.complete#L321
By default Robot access intent will be controlled by your app's public access status but this can be overridden using the option posted above.
We use the robots.txt approach for this functionality, I wouldn't really look to complicate our implementation further with other robot access request techniques without significant reason to do so. The only flaw I can currently see in our existing approach is that it might not take action if using BookStack on a sub-path, but the hoster could just update the robots.txt file on their root-level site instead.

Since there's been no further discussion I'm going to close this.


Add possibility to specify write-back GIT repository as annotation.

Addressing #423
This PR does the following:

Get the repository URL either from app.Spec.Source.RepoURL or from argocd-image-updater.argoproj.io/git-repository if specified and store it into the WriteBackConfig struct as GitRepo.
Write a test to show git-repository annotation functionality
Update relevant documentation
Fix GitHub workflow linting tests by upgrading golangci-lint to its latest version

 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.

Do we need to update something in order to pass linting tests? #413 #410 seem to have a similar problem.

Do we need to update something in order to pass linting tests? #413 #410 seem to have a similar problem.

Updating to latest version v1.45.2 for the golangci/golangci-lint-action@v2 action fixed linting tests.

@flozzone Any updates on this resolution to the issue? Is it going to be merged? Anyone fancies a review?

Codecov Report

Merging #424 (6dd0ce8) into master (49825ec) will increase coverage by 0.06%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master     #424      +/-   ##
==========================================
+ Coverage   65.76%   65.83%   +0.06%
==========================================
  Files          21       21
  Lines        2039     2043       +4
==========================================
+ Hits         1341     1345       +4
  Misses        569      569
  Partials      129      129

Impacted Files
Coverage Δ

pkg/argocd/git.go
64.84% <0.00%> (ø)

pkg/argocd/gitcreds.go
76.19% <83.33%> (ø)

pkg/argocd/update.go
70.28% <83.33%> (+0.48%)
:arrow_up:

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

To fix golangci-lint issues I needed to:
Update golangci-lint to 1.52.2

Replace deprecated linters, deadcode, ,varcheck, structcheck by the newer unused linter. See relevant golangci-lint PR at https://github.com/golangci/golangci-lint/issues/1841
Run goimports -w -local github.com/argoproj-labs/argocd-image-updater . to fix

Comment indentation
Reorder imports

Thanks for bumping this @bn-cforkner , I'm currently going through the backlog of PRs and issues. I'm really sorry to have been undercover for a while.
Couple of the changes in this PR have been merged recently (i.e. lint update), @flozzone could you please rebase this PR to what's in master? Thanks!

@jannfis @flozzone Hoping to get another look before this gets anymore stale. Would definitely provide some useful function we’re excited to get our hands on.

@flozzone I'm interested in the use case for this. As far as I can tell, the override files would not be used by Argo CD when rendering the manifests so why write the files to a separate git repository?

@flozzone I'm interested in the use case for this. As far as I can tell, the override files would not be used by Argo CD when rendering the manifests so why write the files to a separate git repository?

@LS80 I know a use case it could be handy for is when you want git write back method and are using an OCI storage for your charts.

@LS80 I know a use case it could be handy for is when you want git write back method and are using an OCI storage for your charts.

Yes but I'm not sure what use the git write back method has if the override files created/updated in git will not actually be used by Argo CD. If an Argo CD application could be configured to use override files from a repo other than the one specified as source.repoURL then it would be really useful. I've just remembered that we can now have multiple sources so maybe that would work. One repoURL for the parameter override files in git and another referencing the helm repo...

@LS80 We use it as a record of deployment in environments where the origin of what’s running must be certified/tracked for compliance reasons.


Leave Project

Enable users to leave a project that they have joined

Is this not working?

tested and found out it was working for test user.


787

When https://github.com/tiddlyweb/tiddlywebplugins.logout/issues/1 is addressed  this should cause logging out via backstage to refresh the current page.

Done.


fix : Update update handler function to change the order of arguements

Description
This PR updates the body of the uploadHandler function, which is responsible for sending POST request to Meshery server for uploading a Pattern, to change the order of the arguments as the order in which it is sending right now is not desired.
This PR fixes #4833
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #4832 (d44537e) into master (44f1dfa) will decrease coverage by 6.79%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4832      +/-   ##
==========================================
- Coverage   32.01%   25.21%   -6.80%
==========================================
  Files          61       61
  Lines        5148     5148
==========================================
- Hits         1648     1298     -350
- Misses       3074     3532     +458
+ Partials      426      318     -108

Flag
Coverage Δ

e2etests
?

gointegrationtests
?

unittests
25.21% <ø> (ø)

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

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/start.go
1.15% <0.00%> (-58.47%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
2.50% <0.00%> (-47.50%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-47.44%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-34.74%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
1.78% <0.00%> (-23.22%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.38% <0.00%> (-22.23%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.29% <0.00%> (-20.88%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1847b4...d44537e. Read the comment docs.

@sudo-NithishKarthik @leecalcote would it make sense to refactor so Filters, MesheryPatterns & MesheryApplications components use the same uploadHandler function passed from separate module and they just pass in specifics of each endpoint, etc.?


[Help] How to establish a TLS connection

Sorry for my lack of knowledge but I need to establish the connection with my redis instance using TLS, how can I achieve that?

Just set the tls options as true and that should be sufficient


Update ignore-query-option.md

Improved grammar.

Docs Build status updates of commit 1428967:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:x:Error

Details

.openpublishing.publish.config.json

Line 165: [Error] Initialization of cross repository dependencies failed. Please check your .openpublishing.publish.config.json?on the configuration of the cross repository dependencies or ask for help?in Docs Support teams channel. Please also include the following error code for our team to troubleshoot: 1

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.

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

File
Status
Preview URL
Details

Odata-docs/webapi/ignore-query-option.md
:bulb:Suggestion
View
Details

Odata-docs/webapi/ignore-query-option.md

[Suggestion] Missing attribute: author. Add the current author's GitHub ID.

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.

Not sure if you've realized this PR was merged straight to the live branch instead of master. You probably should do a git cherry pick to bring this commit to master.


Improper behavior of the search bar

The Issue
When searching for content, if CTRL+a is pressed to select the whole search term before the search is complete, when the search completes the selection is lost
Steps to reproduce

search anything
immediately proceed to step 3
press CTRL+a and type anything

Expected behaviour
any term written before should be replaced with the new inserted text and a new search should be started
Actual behaviour
when the search completes, if you had typed ctrl+a but not yet typed a letter, the search terms are removed and reinserted thus losing the selection.
an user will probably not notice until finding out they appended the new search term instead of replacing it.
System Configuration

{
  "id": null,
  "jsonrpc": "2.0",
  "result": {
    "build": "rc",
    "ip": "<IP_ADDRESS>",
    "lbrynet_version": "0.10.3rc1",
    "lbryschema_version": "0.0.4",
    "lbryum_version": "2.7.21",
    "os_release": "4.8.0-51-generic",
    "os_system": "Linux",
    "platform": "Linux-4.8.0-51-generic-x86_64-with-Ubuntu-16.10-yakkety",
    "processor": "x86_64",
    "python_version": "2.7.12"
  }
}

This is fixed.