Geiser struggles with reloading of Typed Racket definitions

Create an example Racket file such as:
#lang typed/racket

(define: x : Number 7)

Save, then run-racket. In the file buffer, C-c C-k to compile the file then C-u C-c C-z to load the file into Geiser REPL. Here we can simply put x into the REPL to get back
<EMAIL_ADDRESS>x
- : Number
7

Now change the same file to look like
#lang typed/racket

(define: x : Number 7)
(define: y : Number 8)

Recompile with C-c C-k and re-enter with C-u C-c C-z. We can still ask the type of x in the REPL and get the correct answer but if we try to get the type of the newly defined y, instead of the answer I get:
stdin::917: Type Checker: untyped identifier y
  in: y
  context...:
   /usr/lib/racket/collects/typed-racket/utils/tc-utils.rkt:85:0: report-all-errors
   /usr/lib/racket/collects/typed-racket/typecheck/tc-toplevel.rkt:411:0: tc-toplevel-form
   temp53
   /usr/lib/racket/collects/typed-racket/typed-racket.rkt:62:4
   /usr/lib/racket/collects/racket/private/misc.rkt:96:20

I'm not sure what more info to provide here.
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.8.6) of 2013-11-24 on misaki
Linux misaki 3.12.3-gentoo #2 SMP Sat Dec 7 23:14:57 GMT 2013 i686 Intel(R) Core(TM)2 Duo CPU L7700 @ 1.80GHz GenuineIntel GNU/Linux
Welcome to Racket v5.3.6.
Racket compiled from Gentoo's Portage with following USE flags:
X threads -backtrace -cairo -doc -futures -jit -places -plot
I'd give my geiser version but I seem to be getting a curious error:
progn: Cannot open load file: geiser-version
and my C-h C-f geiser-version gives a weird description:
geiser-version is an interactive autoloaded Lisp function.

[Arg list not available until function definition is loaded.]

Echo Geiser's version.

Perhaps something is completely wrong with my set-up?

This (or something like it) may have risen from the grave. In exploring some typed Racket (and Geiser too, which is great), I've found that adding new definitions to a module isn't picked up properly somehow. For example:
#lang typed/racket

(: foo Integer)
(define foo 5)

^ this in my module followed by a fresh C-c C-a will make foo callable as expected in a Geiser repl. If I add another definition:
(: biff Integer)
(define biff 10)

and recompile, I'm given this:
<EMAIL_ADDRESS>biff
stdin::1168: Type Checker: missing type for identifier;
 consider adding a type annotation with `:'
  identifier: biff
  in: biff
  context...:
   /usr/share/racket/pkgs/typed-racket-lib/typed-racket/types/tc-error.rkt:30:0: tc-error/expr/fields16
   /usr/share/racket/collects/syntax/private/id-table.rkt:77:2: do-ref
   /usr/share/racket/pkgs/typed-racket-lib/typed-racket/env/global-env.rkt:64:0: lookup-type
   /usr/share/racket/collects/syntax/private/id-table.rkt:77:2: do-ref
   /usr/share/racket/pkgs/typed-racket-lib/typed-racket/typecheck/tc-expr-unit.rkt:42:0: tc-id
   temp101
   /usr/share/racket/pkgs/typed-racket-lib/typed-racket/typecheck/tc-expr-unit.rkt:326:0: tc-expr
   /usr/share/racket/pkgs/typed-racket-lib/typed-racket/typecheck/tc-toplevel.rkt:577:0: tc-toplevel-form
   temp19
   /usr/share/racket/collects/racket/private/misc.rkt:88:7

which is the same error that occurs if you try to call any other symbol that isn't defined. This occurs for both static values and functions, and the only way to get around it is to completely kill the Geiser REPL and reload it.
I'm on Racket 6.8, Emacs 25.1, and Geiser 0.9.

I know I'm 3 years late but feel free to close the ticket without waiting for my confirmation… I won't be able to check any time soon.

Any word on this?

I'm facing the exact same issue. ,enter not reloading the file properly. Removing a definition from the file works and the definition is no longer in the namespace. But adding a new definition doesn't add it to the namespace after C-c C-a. C-c M-e is also working fine.

The answer for me was to switch to racket-mode.

On Sun, Mar 19 2017, Colin Woodbury wrote:

The answer for me was to switch to racket-mode.

and, fwiw, i think it's a good answer.  racket's internals are more
amenable to the "run every time" paradigm of racket-mode (and
dr. racket), and it's hard to keep racket working with geiser's model
when one leaves #lang racket.
(i am by now almost sure that it'd be better if we dropped racket
altogether from geiser, but i'm not sure how many racket geiserati are
out there and wouldn't want to leave them in cold either).

A note on Geiser's website would be helpful. That's where I taught it to myself, and was happy about seeing the "Racket too!" messages everywhere.

sorry, not sure i understand: a note on what exactly? typed racket not
being supported in geiser?

Yes, forgive me, that's what I meant. i.e. "If you're using Typed Racket, please consider racket-mode instead."

FWIW, wrapping expressions to eval with #%top-interaction (e.g. (#%top-interaction . (define: jk : Number (+ j k)))) fixes this.

@iitalics sorry for being dense, but what do you mean exactly? the problem is when recompiling a file, adding new definitions and then evaluating them in the repl: at what stage are you wrapping?

The expression passed to eval should be wrapped. In the Racket REPL (from the command line or racket-mode), expressions are implicitly wrapped with #%top-interaction which slightly alters some behavior, e.g. allows you to define something more than once (disallowed when loading entire modules, which are implicitly wrapped with #%module-begin).
It seems that the code example with js and ks doesn't actually type the identifier jk unless you use #%top-interaction, for whatever reason.
$ cat test.rkt
#lang typed/racket
(define: j : Number 10)
(define: k : Number 20)

$ racket
Welcome to Racket v6.10.
> (require "test.rkt")
> (eval '(#%top-interaction . (define: jk : Number (+ j k))) (module->namespace '(file "test.rkt")))
> (enter! "test.rkt")
"test.rkt"> jk
- : Number
30
"test.rkt"> ^D

@iitalics we are already using #%top-interaction when evaluating expressions in racket, and, as a matter of fact, your example works just fine in Geiser without having to add it explicitly (we do that under the covers).  the problem is when we evaluate the full module in a single step (geiser is a bit atypical here, because it tries to allow re-definitions even of exported identifiers when re-requiring modules)... it's in those "wholesale" re-evaluations of full modules that we are encountering problems.
looking at it now, these re-evaluations amount to a dynamic-require of the module, not an explicit evaluation. something naive like wrapping the call to dynamic-require in a top-interaction eval is not working, but maybe something else along these lines is needed.


Clarification on whether control_i.else affects software fault injection

If control_i.else (error-logging-and-signaling-enable) is clear when the control_i.eid (error-injection-delay) count reaches 0 does this inhibit the setting of control_i.v to 1?

The intent of error injection is that software can set up things up however it likes (i.e. for whatever it is trying to test), then set up an injection delay and wait.  Once the delay elapses, normal behavior - based on what software had configured and set up - ensues.  If software configured the else bit as zero, then the normal resulting behavior is what software will get.  For better or worse, that was its choice.

Thanks Greg, so to summarise:
If control_i.else (error-logging-and-signaling-enable) is clear when the control_i.eid (error-injection-delay) count reaches 0 it inhibits the setting of control_i.v to 1.

Thanks Greg, so to summarise:
If control_i.else (error-logging-and-signaling-enable) is clear when the
control_i.eid (error-injection-delay) count reaches 0 it inhibits the
setting of control_i.v to 1.

The specs says "When else is 0, any signaling associated with prior logged
errors remains unaffected, the hardware unit does not log and signal new
errors in the error record."  So the error record contents that software
pre-configured before activating the error injection delay remain unchanged
in any case (since no actual new error was detected).  And no error
signaling occurs.
But, to your more specific question, the specs says "When eid reaches a
count of 0, the status register is made valid by setting the status_i.v bit
to 1."   So that is what will happen.  Nothing in the spec says or suggests
otherwise, i.e. a literal reading of this statement should be the correct
reading and should not conflict with anything else in the spec (which it
doesn't).
This may be an unusual scenario for test software to set up and exercise,
but hardware behavior should follow what the spec literally says.  (The
goal of the spec is to not require the reader to infer intended semantics
that aren't more explicitly stated.  If there is something ambiguous in
this regard, then please raise that for explicit clarification in the spec.)
Greg


Fix for DGEMM performance drop on ubb node

Reverted the previous change to set number of localreadA/B for scheduling to 0 (#1604)
Optimized vreg allocation and removed duplicated wave id calculation in local read tile offset calculation

This is for SWDEV-373040


API Improvements

Create Item
Suggested by Exodil#5028 on Discord. I gave him the following macro to use for the time being.
// Programatically add a new tracked item to an actor.

// Define our actor and get current tracked items
let actorName = "Test Actor";
let a = game.actors.getName(actorName);
let allTrackedItems = CrashTNT.getActivitiesForActor(actorName);

// Create a new tracked item
// ability, skill, tool, fixedIncrease, macroName are mutually exclusive. Only set one of them. Which you use will depend on what you set as progressionStyle.
let newItem = {
  id: randomID(),
  name: "Activity Name",
  img: "icons/svg/book.svg",
  description: "",
  category: "", // The id of the category. Can be found in the "5e-training", "categories" flags
  progressionStyle: "ABILITY", // "ABILITY", "SKILL", "TOOL", "MACRO", "FIXED"
  ability: "str", // ABILITY ONLY: any of the ability abbreviations
  skill: null, // SKILL ONLY: any of the skill abbreviations
  tool: null, // TOOL ONLY: this would be the ID of a tool on the actor's sheet
  fixedIncrease: null, // FIXED ONLY: this would be the flat value to increase progress by
  macroName: null, // MACRO ONLY: this would be the name of the macro to run
  dc: null, // ABILITY,SKILL,TOOL: if set, this will have DC
  progress: 0,
  completionAt: game.settings.get("5e-training", "totalToComplete"),
  changes: [],
  schemaVersion: 1
};

// Add new activity to array
allTrackedItems.push(newItem);

// Set flag
a.setFlag("5e-training", "trainingItems", allTrackedItems);

I'd also like to suggest a method to programatically execute a training roll.
Preferably with feedback if the roll succeeded or failed (in case of a roll with DC)
This would help greatly minimise the code for modules that use yours as a visual representation of some kind of progress.
A second part to this that would be neat would be adding the possiblity of forbidding a pc to roll on an item in the tracking tab thus making it purely informational


Can we work on local images ?

My task file looks like this :
[
    {
        "data": {
            "id_doc":"1",
            "image": "/home/path_to_img/image.jpg"
        }
    },
    {
        "data": {
            "id_doc":"2",
            "image": "/home/path_to_img/image2.jpg"
        }
    }
]

I receive this error message :
**There was an issue loading URL from $image value
Things to look out for:
URL is valid
URL scheme matches the service scheme, i.e. https and https
The static server has wide-open CORS, more on that here**
Can i have further details on this ? I don't understand how i can upload local images ?
Thank you

I've updated the code to Streamlit>=1.18.0 and added a note in the readme about using local images, and also provided an additional config example in the app to annotate a local image.

Thank you a lot ! I'll try this

Can you give an example to load multiple local images? It doesn't seem seem to work at the moment. Thanks in advance.


print bug

The print command, which outputs which ticket has just been created, runs twice, while the tickets are still only created once. The problem is probably either in the main.py file or the pdf.py file

The if query starting at line 88 in main.py caused an indentation error which led to the execution of the code for creating the abiball and afterparty tickets.


Fix for autodiscover call on Django 4.2

Fixes autodiscover by properly casting app_path before calling find_module.
This avoids app_path being of type <class '_frozen_importlib_external._NamespacePath'>and hence avoiding a runtime error on django 4.2.
Tested it locally by calling python manage.py process_tasks and they have run successfully after the code change.

Hey @meneses-pt ! Can you please take a look on this one when you have some time?
Thanks a bunch!

Hey @meneses-pt ! Can you please take a look on this one when you have some time? Thanks a bunch!

Hey @maccinza can you check if the solution on https://github.com/meneses-pt/django-background-tasks/pull/4 works for you?


Bump whereami to  v1.2.12

Just rebuilding the image as-is fixed:

CVE-2022-40674 	 Critical	9.8	Yes	expat	OS

Bumping grpc-health-probe and static-curl, fixed:

CVE-2022-30632 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-32189 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-30630 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-30580 | High | 7.8 | Yes | go | Go stdlib
CVE-2022-30633 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-27664 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-30631 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-30635 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-28131 | High | 7.5 | Yes | go | Go stdlib
CVE-2022-32148 | Medium | 6.5 | Yes | go | Go stdlib
CVE-2022-1705 | Medium | 6.5 | Yes | go | Go stdlib
CVE-2022-1962 | Medium | 5.5 | Yes | go | Go stdlib

will review this afternoon

@theemadnes, no rush on this! Sorry about the auto-assignment, I know your ooo, I could even assign someone else if you would like?


Use EF7, Linq Contains In is error.

Test as follows:

Exception Details:

For more details see this blog: EntityFramework 7 Linq Contains In 奇怪问题

Bumping priority, since a few customers asked about this, and one of the dupes was triaged as Pri0

Confirmed that this now translates, the generated SQL is
SELECT [b].[BlogId], [b].[Url]
FROM [Blog] AS [b]
WHERE [b].[Url] IN ('a', 'b', 'c')

@maumar just checking there was no other reason this was left open?

I just upgraded to EF7 Core 1.0 and I am trying to migrate some of my API 2.0 / EF 6 code over to the new version and most stuff is migrating OK, however the contains is not throwing an exception but no results are returned when a where clause has a contains in it. Is this still a bug?
My Old EF6 Code
string[] ocmDrugs = _genericDrugs.Concat(_brandDrugs).ToArray();
        List<AgentDTO> agents = (from drugs in db.xref_agt_pt
                                 where ocmDrugs.Contains(drugs.agt_name.ToUpper()) && drugs.status.ToUpper() != "I"
                                 select new AgentDTO
                                 {
                                     PatientID = drugs.pt_id.Trim(),
                                     Name = drugs.agt_name.Trim(),
                                     IsActive = drugs.status.Trim(),
                                     DateOrdered = drugs.date_of_last_dose,
                                     DateEnded = drugs.date_ended
                                 }).Distinct().OrderBy(o => o.DateOrdered).ToList();
        return agents;

My new EF7 Migration of this code
`string[] ocmDrugs = _optionsAccessor.GenericAgents.Concat(_optionsAccessor.BrandAgents).ToArray();
        var results = _context.XrefAgtPt
            .Where(drug => drug.Status.ToUpper() != "I" && ocmDrugs.Contains(drug.AgtName.ToUpper()));

        results.ToList();

        return Json(results);

Now if I take out the  ocmDrugs.Contains(drug.AgtName.ToUpper()) piece then the code executes and returns results. If I leave it in there the code executes but returns no results. I have checked and yes the list contains elements and really have refactored this LINQ statement a bunch of different ways, but regardless any time I throw a contains into the mix I get nada.
Anyone have any ideas or is this just a bug still?


InvalidArgumentError:  indices[28,46] = -1 is not in [0, 1000) 	 [[node functional_3/embedding_4/embedding_lookup (defined at :5) ]] [Op:__inference_train_function_387521]

I am not sure why this error pops out, New to deep learning, Trying to add bert embedding to the LSTM model.
Input is CSV of 2 columns - 1st column words, 2nd column labels
Problem: classification problem

@samprithahm,
In order to expedite the trouble-shooting process, could you please provide the TensorFlow version, the complete code to reproduce the issue and the TensorFlow version you are using. Thanks!

Also, please take a look at issue #23698 and this comment from a similar StackOverflow issue and let us know if it helps. Thanks!


Network plugins canal_iface should be able to have multiple interfaces

Currently you can only set one iface in rke, that while flannel/canal allows for multiple iface definitions, it would pick the first found.
also iface-regex option is missing
use case is for mixed vm's that have either ens10 or enp7s0.
Reference from Flannel:
https://github.com/flannel-io/flannel/blob/master/Documentation/configuration.md

meant for RKE, reopening there


Subtracting and Dividing Bools unexpected type conversion

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
While writing my last bug report about multiplying bools (#20816) I noticed a strange type error when dividing a bool by something. It causes an unexpected type conversion to int32.
I don't know why one would want to divide by a bool (esp. $false is 0 and dividing by 0 obv. fails), but I can see usages where one would divide a bool by something and expect another bool as a result.
writing $isEnabled /= ($something+$somethingElse) is basically the same as:
$isEnabled = ($isEnabled ? 1 : 0) / ($something+$somethingElse)

ok, I admit it's mostly useless, but the returned type is still unexpected...
Edit: This error also occurs when subtracting from a bool, which is a bit more useful than dividing, as it (if it would return a bool) is basically XOR.
Expected behavior
PS> $isEnabled = $true
PS> $isEnabled /= $true
PS> $isEnabled
True

PS> $isEnabled = $false
PS> $isEnabled /= $true
PS> $isEnabled
False

PS> $isEnabled /= $false
RuntimeException: Attempted to divide by zero.

PS> [bool]$isEnabled = $true
PS> $isEnabled /= $true
PS> $isEnabled
True

PS> [bool]$isEnabled = $false
PS> $isEnabled /= $true
PS> $isEnabled
False

Actual behavior
PS> $isEnabled = $true
PS> $isEnabled /= $true
PS> $isEnabled
1

PS> $isEnabled = $false
PS> $isEnabled /= $true
PS> $isEnabled
0

PS> $isEnabled /= $false
RuntimeException: Attempted to divide by zero.

PS> [bool]$isEnabled = $true
PS> $isEnabled /= $true
PS> $isEnabled
True

PS> [bool]$isEnabled = $false
PS> $isEnabled /= $true
PS> $isEnabled
False

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

[bool] instances are consistently treated as [int] in arithmetic operations - $true becomes 1, $false becomes 0, except - surprisingly - in multiplication (*).
For logical operations, there are dedicated operators.
Leaving the merits of what you're proposing aside: The current behavior is long-established and changing it would amount to an unacceptable breaking change.

The issue is in what the final variable gets set to. It for some reason changes type afterwards from bool to int. The final variable should still be a bool. Basically the same as when initialized with static type declaration.

The issue is in what the final variable gets set to. It for some reason changes type afterwards from bool to int. The final variable should still be a bool. Basically the same as when initialized with static type declaration.

That's your mistake, the operators will convert the things either side of them  to the type (or more strictly one of the types) they work with
So
> $true -split "u"
Tr
e

or
> 3 * $true
3

With strings it gets strange
>  "33" + 44
3344
> 33 + "44"
77

The type of the left operand is the type of the result
$x = 1
$x = "one"

Does not give an error. $x is of type Object and can hold a string object or an int, and merrily swap between them
$x = $true
$x = 1

[int] $x puts a type conversion attribute onto X and says convert anything going into X becomes an int on the way
> [int]$x=1
> $x="one"
MetadataError: Cannot convert value "one" to type "System.Int32". Error: "The input string 'one' was not in a correct format."

Note the text of the error, it is not that "one" is NOT an int32, it is that won't cast to one.
So in your example
> $isEnabled = $true
> $isEnabled / $true

Returns 1, and 1 is stored.
[bool] $isEnabled = $true
$isEnabled / $true

Still returns 1 and
 $isEnabled = 1
 $isEnabled

Now gives you true.
The ++ / -- / += / -= / *= / /=  operators actually create a new variable.
function demo {
$x ++
$a[1]=4
"during x is $x  A is $a"
}
$x = 1
$a = @(0,1,2)
"before x is $x  A is $a"
demo
"after x is $x  A is $a"
The assignment the demo scope (++ is just a shorter way to write X = X +1) made a new X which left the X in the parent scope untouched, but changing a member of $a changed the one in the parent scope.

Edit: And just fyi, I didn't open this ticket because I wanted something changed. I mainly opened it for documentation reasons as I didn't find anything about this quirk being considered before. Basically until now it wasn't specified one way or another. The goal of this ticket for me is to specify this properly (one way or another).

Which is fair enough - I can't go to it in the product documentation but what I've written above is explained pretty early in any training on PowerShell. People who've learned to program in anything with strong typing have a really hard time with these ideas, where those without any prior knowledge can't imagine anything else.

As this relates to a user expectation & this can be fixed with docs am resolving this as Resoultion-External & with PowerShell-Docs Needed labels especially as there is already an open issue for creating a doc for this

@kilasuit could you please also link the other issue that is already open regarding the docs?

@kilasuit could you please also link the other issue that is already open regarding the docs?

@agowa - Please see the issue in the docs repo that @mklement0 mentioned in his comment above

A help topic has since been created: about_Type_Conversion, so the PowerShell-Docs needed label can be removed now.


Add prometheus-operator ServiceMonitor

Would be really nice to have it. Details here: https://coreos.com/blog/the-prometheus-operator.html

@galindro it already partly exists
https://github.com/openebs/openebs/tree/master/k8s#optional-enable-monitoring-using-prometheus-operator
https://github.com/openebs/openebs/blob/master/k8s/openebs-servicemonitor.yaml

@galindro @si458 - we are pushing the monitoring related configurations into https://github.com/openebs/monitoring
Would love to get your feedback on this new feature and see how to improve it further.

Hi @kmova, unfortunately I'm not working on this project anymore.

Hi @kmova. Unfortunately, I'm not working on it anymore since last year's end.


Campaign - Dark Obsession - throws exception

Hey,
Not sure if this is problem with new update, I have not played this mission in older versions of IC2 on iOS.
Start works normally. Map is visible, basic enemy units are spawning, but problem comes when I click Continue after spawning Dark Vader. Game throws exception and there is only button to Exit app. I dont see Lukes token on the map anywhere, maybe thats the issue?

Actualy this happens on more missions where is maybe number of max rounds is not defined? Breaking point has same error.

NICE!!! Thank you, thank you!!  All fixed, it'll go out in the next update.  The problem was caused by the countdown timer's Name property incorrectly getting set to a NULL value.  Until the fix goes out, any Mission (only a few) that uses a countdown timer will fault like this.


Missing link or entire documentation

Description
This page mentions adding <OpenApiReference /> element to the .csproj, but has no reference to <OpenApiReference /> docuemtation.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/openapi-tools?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/openapi-tools.md
Document ID
424abbdf-daf9-0cdf-e0e0-faf560463c19
Article author
@ryanbrandenburg

@guardrex,

Description
This page mentions adding <OpenApiReference /> element to the .csproj, but has no reference to <OpenApiReference /> docuemtation.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/openapi-tools?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/openapi-tools.md
Document ID
424abbdf-daf9-0cdf-e0e0-faf560463c19
Article author
@ryanbrandenburg

What's <OpenApiReference />? Where's the reference to its documentation?

It's an MS Build property. The article states ...

... using any of the commands on this page adds an <OpenApiReference /> element similar to the following to the .csproj file:

Personally, I would've made it say "MS Build property" (not "element") and "project file (`.csproj`)," but that's just me :smile:.
The commands described by this article interact with the references [MS Build properties (<OpenApiReference />)] in the project file. The article could tell readers that they don't need to manually interact with them. Wade will determine what, if anything, should be done on clarifying that point.
There's no other documentation to show for <OpenApiReference />. This article IS the documentation for it 😄. We don't link reference source for mentions like this when they don't add value, and I doubt that it would add value here to do so. There's no Microsoft-wide MS Build property doc set, and it isn't documented anywhere else AFAIK. We also can't link anything in API docs because the framework code that deals with it is all private/internal implementation code that isn't sucked into the API docs and there are few code comments to grab for it anyway. If a dev is curious about how the framework works with it beyond what this article states, they'll need to access the reference source.

 But there's no information on what properties will be added to the OpenApiReference item. Are you saying the, if someone want's to know what those properties are and what others are available, on has to go to the source code?
Also, the article shows how to install the tool and what switches are available, but not how to invoke the tool.

Basically yes ... I think the product unit would consider the item/attributes to be implementation details that are subject to change without notice. In other words, they probably don't want to document further details.

not how to invoke the tool.

It does in the Example column of each table. However, the code-fencing seems kind'a funky ... the URLs are fenced, but the rest of the commands aren't. Wade will decide if that should be changed.

We could clarify as you pointed out @guardrex, thanks.  Thanks @paulomorgado bringing this up.


 They should be bigger.

Looks like you have a jQuery extension to do this already in /src/js/libs/jquery.fitvids.js but it is not called like post.fitVids() in post.hbs: https://github.com/catalinpit/attila-theme/blob/c0b17c1ddd79d1f88caefc349de40dde7a4994be/post.hbs#L197

Looks like you have a jQuery extension to do this already in /src/js/libs/jquery.fitvids.js but it is not called like post.fitVids() in post.hbs:
https://github.com/catalinpit/attila-theme/blob/c0b17c1ddd79d1f88caefc349de40dde7a4994be/post.hbs#L197

Thanks for the comment! If you want and can fix it, feel free to go ahead. :-)

Fixed by https://github.com/catalinpit/attila-theme/pull/6. Thanks a lot for the PR! Highly appreciate it!


[bug] lastActive or nodeinfo only refreshed at start on Docker

Checklist:

[X]  I am not using HomeAssistant. Or: a developer has told me to come here.

[X]  I have checked the troubleshooting section and my problem is not described there.

[X] I have read the changelog problem was not mentioned there.
Build/Run method

[X] Docker

[ ] PKG

[ ] Snap package

[ ] Manually built (git clone - yarn install - yarn run build )

Describe the bug
i don't see any variation of lasActive (and maybe all nodeinfo). The only way to make it working is to re start Docker.

Epoch converted in human readable time :

{"id":5,"deviceId":"345-82-3","manufacturer":"Qubino","manufacturerId":345,"productType":3,"productId":82,"name":"Volet_Cassydie","loc":"","neighbors":[1,2,6,7,8,9,10,11,13,14,15,18,20,21],"ready":true,"available":true,"failed":false,"lastActive":1621013034723,"firmwareVersion":"1.1","isSecure":false,"keepAwake":false,"maxBaudRate":null,"isRouting":true,"isFrequentListening":false,"isListening":true,"inited":true,"hexId":"0x0159-0x0003-0x0052","dbLink":"https://devices.zwave-js.io/?jumpTo=0x0159:0x0003:0x0052:1.1","productLabel":"ZMNHCD","productDescription":"Flush Shutter","protocolVersion":3,"zwavePlusVersion":1,"zwavePlusNodeType":0,"zwavePlusRoleType":5,"endpointsCount":0,"endpointIndizes":[],"isControllerNode":false,"dataRate":40000,"deviceClass":{"basic":4,"generic":17,"specific":7},"status":"Alive","interviewStage":"Complete"}
To Reproduce
My config :

Expected behavior
In the docs, it's said nodeinfo is refreshed everytime an update it's done on the node.

i don't see any variation of lasActive (and maybe all nodeinfo). The only way to make it working is to re start Docker.

This only change when the node changes his state (Alive, Dead, Asleep...) or there is any kind of event coming from that node, it could be that that node isn't reporting any state change?

Hmm no because they change state very often. (Pir sensor, heat module, door contact...) And nothing is refreshed, for no one of my node. And in the UI it is refreshed and i expect timestamp is refreshed as in the GUI. Is it the correct behavior expected?

So in the UI is refreshed correctly, it isn't updated correctly in MQTT so? What topic are you looking for?

yes correct, the topic is :

but it's not a topic problem because if i restart the docker, it is refreshed.

@Gis70 That's because that topic is only updated when node changes it's status (like I said, ALive, Dead, Asleep ...)

Understood, sorry for my misunderstanding, and when does a node will go in "Dead" mode ? is it when the wakeup time parameter is overtaken ?
Could it be possible to obtain by MQTT the LastUpdated value like in the GUI ? @robertsLando

a node becomes dead when the controller cannot reach him for some reson (network issues or broken device). A node becomes asleep only if it's battery powered after a certain period of activity (to save battery). About your request you could use MQTT apis to get all nodes array when needed.
Use getNodes api with https://zwave-js.github.io/zwavejs2mqtt/#/guide/mqtt?id=send-command

Hello @robertsLando I come back to you regarding my needs, getNodes is to huge, would it be possible to get at least getNodes(myNode) ? and in an ideal world getNodes(myNode,myParams) ==> example getNodes(21, lastActive)
It would be very useful, light and simple for us (users). Thank you

This is what i tryied but without success that why I asked :
Result in debug :
Topic to publish :
zwave/_CLIENTS/ZWAVE_GATEWAY-zwavejs2mqtt/api/driverFunction/set
2021-10-11 18:44:24.052 INFO ZWAVE: Calling api driverFunction with args: [
'const nodeId = 25, const node = this.zwaveClient._nodes.get(nodeId), return node.lastActive',
[length]: 1
]
2021-10-11 18:44:24.054 INFO ZWAVE: Unexpected token 'const' driverFunction undefined

OK i found the problem, it's because of line break. It doesn't work in a json string, we must add dot comma. Like this it's work :-)
{"args":["const nodeId = 26; const node=this.zwaveClient._nodes.get(nodeId); return node.lastActive"]}


Wrong path for removeFallbacks plugin

Hey!
This plugin (maybe others) have the wrong paths https://github.com/Arthie/xwind/blob/master/packages/xwind/plugins/objectstyles/removeFallbacks.js#L1
Workaround:
Importing directly from the lib folder

Hello Florian, thanks for the report!
I indeed messed up the import paths.
This should be fixed in the latest version. (0.7.3)


Broken link under Install Valkey -> Securing Valkey

Hello,
I noticed that the link in is very simple to exploit  (https://valkey.io/topics/http://antirez.com/news/96) directs to a 404 page

The article is also 9 years old. Maybe it would be better to explicitly state the risks associated with exposing a Valkey instance publicly on the internet.

@mimi89999 good catch, looks like it was a issue in moving the content over. That link should go to http://antirez.com/news/96

This was fixed by #156


API 5.27 for FriendsOperations/UsersOperations, NewsFeed improvements

vk API 5.27 for FriendsOperations/UsersOperations
sticker attachment
newsfeed search extended options

This is fantastic!
Thank you very much!


Revert 4608 dev ah 4539

Reversal of PR as 4539 is set for release for 9.0. Currently as of Oct 23 2023, dev is cleared for only 8.4.5 features/release.


Allow `tmt try IP@connect

Pull Request Checklist

[x] implement the feature
[ ] write the documentation
[ ] adjust plugin docstring

@psss how should be this documented? Having to change all IMAGE@HOW into IMAGE_OR_IP@HOW doesn't seem a good idea to me as it will just be confusing.

Unrelated failures, merging.


AttributeError: module 'griffe.expressions' has no attribute 'Name'

Hi! First of all, thanks for this great package. I'm looking forward to migrate from sphinx to quarto and this looks excellent.
I got started with the example from the webpage. But I can't get quartodoc build to work. I'm using the development version. See that it tries to look for Name within griffe.expressions and it's not there. I also see there's a TODO comment in line 124 of md_renderer.py.
(bambi) tomas@tomas:~/Desktop/OSS/bambinos/bambi/qdocs$ quartodoc build
Traceback (most recent call last):
  File "/home/tomas/anaconda3/envs/bambi/bin/quartodoc", line 8, in <module>
    sys.exit(cli())
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/__main__.py", line 177, in build
    doc_build()
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/autosummary.py", line 506, in build
    self.write_doc_pages(pages, filter)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/autosummary.py", line 540, in write_doc_pages
    rendered = self.renderer.render(page)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 483, in __call__
    return self._f(self._instance, *args, **kw_args)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 393, in __call__
    return _convert(method(*args, **kw_args), return_type)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 186, in render
    return "\n\n".join([*header, *result])
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 483, in __call__
    return self._f(self._instance, *args, **kw_args)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 393, in __call__
    return _convert(method(*args, **kw_args), return_type)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 305, in render
    meth_docs.extend([self.render(x) for x in raw_meths if isinstance(x, layout.Doc)])
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 305, in <listcomp>
    meth_docs.extend([self.render(x) for x in raw_meths if isinstance(x, layout.Doc)])
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 483, in __call__
    return self._f(self._instance, *args, **kw_args)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 393, in __call__
    return _convert(method(*args, **kw_args), return_type)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 314, in render
    return "\n\n".join([title, self.render(el.obj)])
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 483, in __call__
    return self._f(self._instance, *args, **kw_args)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 393, in __call__
    return _convert(method(*args, **kw_args), return_type)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 336, in render
    body = self.render(section)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 483, in __call__
    return self._f(self._instance, *args, **kw_args)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 393, in __call__
    return _convert(method(*args, **kw_args), return_type)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 431, in render
    rows = list(map(self.render, el.value))
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 483, in __call__
    return self._f(self._instance, *args, **kw_args)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/plum/function.py", line 393, in __call__
    return _convert(method(*args, **kw_args), return_type)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 441, in render
    annotation = self.render_annotation(el.annotation)
  File "/home/tomas/anaconda3/envs/bambi/lib/python3.10/site-packages/quartodoc/renderers/md_renderer.py", line 125, in render_annotation
    if isinstance(el, expr.Name):
AttributeError: module 'griffe.expressions' has no attribute 'Name'

I added a print() to the render_annotation method and figured out it fails when el is an instance of ExprName
    def render_annotation(self, el: "str | expr.Name | expr.Expression | None"):
        """Special hook for rendering a type annotation.

So then I changed the if statement to the following:
        if isinstance(el, expr.ExprName):
            return sanitize(el.source)

and now I get AttributeError: 'ExprName' object has no attribute 'source'. However, when I go to the source code,
https://github.com/mkdocstrings/griffe/blob/6b943c8fc8e8dcfdc2a0fc9c11a210265b603be7/src/griffe/expressions.py#L440-L446
@dataclass(eq=False, **dataclass_opts)
class ExprName(Expr):
    """This class represents a Python object identified by a name in a given scope.

    Attributes:
        source: The name as written in the source code.
    """

it is supposed to be there (according to the docstring)... So, my question is: are you aware of this? Do you think it's something that should be handle here in quartodoc, or should I post this on griffe?
Thank you!

Update:
I modified
https://github.com/machow/quartodoc/blob/772feed768e0be74ed99391b92a4ef1c416b1527/quartodoc/renderers/md_renderer.py#L110C1-L128C33
to look like
    def render_annotation(self, el: "str | expr.Name | expr.Expression | None"):
        """Special hook for rendering a type annotation.

        Parameters
        ----------
        el:
            An object representing a type annotation.

        """

        if isinstance(el, (type(None), str)):
            return el

        # TODO: maybe there is a way to get tabulate to handle this?
        # unescaped pipes screw up table formatting
        if isinstance(el, expr.ExprName):
            return sanitize(el.name)

        return sanitize(el.path)

and now it worked (replaced expr.Name with expr.ExprName and el.source with el.path)

I think this is where things changed in griffe
https://github.com/mkdocstrings/griffe/commit/66c8ad5074e1475aa88a51d8652b5e197760d774

Hey, thanks for raising! I'm just getting back from vacation, and will work on getting things working with the latest griffe release (the author was kind enough to flag early in this discussion).
In the meantime, if you pin to griffe==0.32.3 (or lower) does it work? (I just checked the tests against v0.32.3 and they passed; I'll create a release with an upper bound on its version or fix in the next day)

Thanks for the prompt reply! I'm happy to open a PR if you want some help :) Otherwise, pinning dependencies will work. Thanks!

@machow I think this is fixed, no? I'm working with quartodoc==0.6.1 and it works perfectly. Feel free to close the issue. Thanks for the great library!

Hey, glad it's working! I pinned the version of griffe for now, but will loop back and handle supporting newer versions after posit conf!


Update config.json

Modification for MQTT port, see Lupusec2Mqtt commit

Hi maionaise,
Thanks for the contribution.
It took a little time to merge the pull request because family and friends were hit by the flood in West Germany and Luxembourg.
I integrated your changes into the Edge version so that you can test them on the nuki device.
Am I right that Nuki is a Smart door lock?
Best regards,
David

Yes, exactly. I test with NUKI SMART LOCK 2.0

What do you think about it to integrate it over Lock integration?
https://www.home-assistant.io/integrations/lock.mqtt/

Yes, makes more sense than a switch with on/off


soroban-rpc: Allow Budget Instruction Leeway to be Configured by Clients

What
This PR allows budget instruction leeway used in preflight calculations to be configured by passing in a new ResourceConfig struct to a SimulateTransactionRequest. Right now we're only allowing the flat addition factor to be configured, but we could add support for both by just adding another field to ResourceConfig.
If not provided the leeway defaults to what we were previously using (3000000 instructions)
NOTE: This PR does not include updating the CLI to support configuring this value through contract command line args.
Why
Preflight estimations have been off, requiring us to repeatedly issue releases to increase the leeway used in these calculations. When users are unable to create contracts due to these issues, there aren't any good workarounds for them.
Closes #1128

Pending updating the SDK to send params as an object so tests will pass


Fix #66: Double schema.sql and different env behavior

Fix default values for schema subcommands, so it's dumped and read from
the same default location.
schema subcommands now use the same value for env as the root one.

@u007 if it's ok for you, can you approve the change, so I can merge the PR?

sorry missed the approved :)


Permissions granting

Use case:
There are actions that given a principle can create, retrieve, update, delete the permissions grants it has.
Acceptance Criteria:

Permissions grants include a permission and resource. e.g opensearch.indexing.index.create, http-logs allows for creating an index named http-logs
Invalid formatted permissions are rejected
Permissions grants cannot be assigned to non-existent principle
Permission grants are stored separately from principles

@peternied, @RyanL1997, @DarshitChanpura, and @cwperks, do you have any thoughts about the permission formatting requirements?
I am thinking of two options. We could make it so that you can do basically anything as a valid permission as long as it had the correct deliminator usage and then leave the real checking to the step where we are going to check that the permission matches the required permission. Or we could implement a way of making sure that the permissions are constrained to real permission items using a list of keywords etc. My one concern with the latter is that we would then offer fewer configuration options since if anyone wanted to modify the naming conventions of the permissions for some reason (maybe they wanted their logs to say mycluster.myindex.read they would need to be able to add things to the list of permission keywords. The first option does not require this but will either combine the matching check into part of the formatting check or duplicate the effort (yuck).
What does everyone think? I am leaning towards the second option but maybe there is another way of doing things I am overlooking.

Hi @cwperks, thank you for your detailed thoughts. I think that using the SQL formatting for granting permissions would be fine. We will need to translate these settings into the old form or vice versa in order to maintain compatibility with the older syntax. This should be easy enough though I am not sure there is a more eloquent solution than a switch case for the different parsing steps.
Right now we seem to only have permissions being handled in the Security plugin itself and it is not clear to me how much of the existing functionality needs to be brought into core and how much is supposed to be replaced from the ground up.

@cwperks Could you provide a mapping of an existing scenario with your SQL Syntax: GRANT <permission> TO <database_principal > ON <table>. notion, how would this look for an OpenSearch user that is being given access to read an index?

Action/Permissions should be broken down into 3 major categories

Could you provide a little more information on why they should be treated differently, or how that different treatment would be seen?
When I think of existing permissions like "indices:data/write/index" and from the alerting plugin "cluster:admin/opendistro/alerting/monitor/write", I think both of them are best expressible as a namespaced permission with a resource association:

opensearch.index.create:index/foo Index creation is granted for indexes named "Foo"
alerting.monitor.create:monitor/foo Monitor creation is granted for monitors named "Foo"
opensearch.user.create:* User creation is granted

I have made some further changes to the syntax and the test cases in the associated PR, that being said, I am not sure about a few things.
For the SQL syntax, I think it may end up being overly complex to support the translation. Some of the SQL syntax commands do not translate well to an OpenSearch cluster's permissions. For example: What would be the use of something like CREATE or INSERT. We can support a limited number of the commands easily enough for instance SELECT = GET, UPDATE = PUT, DELETE = DELETE (we do not need INSERT/POST). This could then be formatted in cases such as: UDPATE <opensearch.index.create> TO <InternalSubject> ON <resource> but I am not sure if this makes the commands necessarily more intuitive since OpenSearch is not really a database and we do not treat resources or subjects like their database counterparts.
I am in favor or using RESTful command syntax however and making the APIs more straightforward. So in line with the normal REST API operations we can have <InternalSubject> PUT <opensearch.index.create> FOR <resource>. Obviously FOR is not a REST operation but I do think there is a smoother translation from REST operations to the API calls when we already make use of REST operations for the other API functions. We could then also allow for true REST syntax in the dev tool where users could specify the same command with PUT InternalSubject/<opensearch.index.create>/<resource>. GET and DELETE would also be supported.

I got this list of action names and handlers from the ActionModule of core by adding:
for (Map.Entry<String, ActionHandler<?, ?>> kv : actions.entrySet()) {
    System.out.println(kv);
}

after this line https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/action/ActionModule.java#L500.

ActionName
Handler
Category
Group(s)
Identity Permission

indices:admin/mapping/put=indices:admin/mapping/put
org.opensearch.action.admin.indices.mapping.put.TransportPutMappingAction
indices

indices:admin/resolve/index=indices:admin/resolve/index
org.opensearch.action.admin.indices.resolve.ResolveIndexAction$TransportAction
indices

cluster:admin/script_language/get=cluster:admin/script_language/get
org.opensearch.action.admin.cluster.storedscripts.TransportGetScriptLanguageAction
cluster

cluster:monitor/tasks/lists=cluster:monitor/tasks/lists
org.opensearch.action.admin.cluster.node.tasks.list.TransportListTasksAction
cluster

cluster:admin/component_template/delete=cluster:admin/component_template/delete
org.opensearch.action.admin.indices.template.delete.TransportDeleteComponentTemplateAction
cluster

indices:admin/flush=indices:admin/flush
org.opensearch.action.admin.indices.flush.TransportFlushAction
indices

indices:admin/data_stream/delete=indices:admin/data_stream/delete
org.opensearch.action.admin.indices.datastream.DeleteDataStreamAction$TransportAction
indices

indices:data/read/explain=indices:data/read/explain
org.opensearch.action.explain.TransportExplainAction
indices

internal:indices/admin/upgrade=internal:indices/admin/upgrade
org.opensearch.action.admin.indices.upgrade.post.TransportUpgradeSettingsAction
internal

cluster:admin/script_context/get=cluster:admin/script_context/get
org.opensearch.action.admin.cluster.storedscripts.TransportGetScriptContextAction
cluster

indices:admin/auto_create=indices:admin/auto_create
org.opensearch.action.admin.indices.create.AutoCreateAction$TransportAction
indices

indices:monitor/shard_stores=indices:monitor/shard_stores
org.opensearch.action.admin.indices.shards.TransportIndicesShardStoresAction
indices

cluster:monitor/remote/info=cluster:monitor/remote/info
org.opensearch.action.admin.cluster.remote.TransportRemoteInfoAction
cluster

cluster:admin/snapshot/delete=cluster:admin/snapshot/delete
org.opensearch.action.admin.cluster.snapshots.delete.TransportDeleteSnapshotAction
cluster

indices:data/write/update=indices:data/write/update
org.opensearch.action.update.TransportUpdateAction
indices

indices:admin/data_stream/get=indices:admin/data_stream/get
org.opensearch.action.admin.indices.datastream.GetDataStreamAction$TransportAction
indices

indices:admin/settings/update=indices:admin/settings/update
org.opensearch.action.admin.indices.settings.put.TransportUpdateSettingsAction
indices

indices:admin/close=indices:admin/close
org.opensearch.action.admin.indices.close.TransportCloseIndexAction
indices

indices:admin/refresh=indices:admin/refresh
org.opensearch.action.admin.indices.refresh.TransportRefreshAction
indices

cluster:admin/ingest/pipeline/simulate=cluster:admin/ingest/pipeline/simulate
org.opensearch.action.ingest.SimulatePipelineTransportAction
cluster

indices:admin/mappings/get=indices:admin/mappings/get
org.opensearch.action.admin.indices.mapping.get.TransportGetMappingsAction
indices

cluster:admin/snapshot/create=cluster:admin/snapshot/create
org.opensearch.action.admin.cluster.snapshots.create.TransportCreateSnapshotAction
cluster

cluster:monitor/stats=cluster:monitor/stats
org.opensearch.action.admin.cluster.stats.TransportClusterStatsAction
cluster

cluster:admin/reroute=cluster:admin/reroute
org.opensearch.action.admin.cluster.reroute.TransportClusterRerouteAction
cluster

cluster:monitor/nodes/info=cluster:monitor/nodes/info
org.opensearch.action.admin.cluster.node.info.TransportNodesInfoAction
cluster

indices:monitor/recovery=indices:monitor/recovery
org.opensearch.action.admin.indices.recovery.TransportRecoveryAction
indices

indices:admin/shards/search_shards=indices:admin/shards/search_shards
org.opensearch.action.admin.cluster.shards.TransportClusterSearchShardsAction
indices

indices:monitor/data_stream/stats=indices:monitor/data_stream/stats
org.opensearch.action.admin.indices.datastream.DataStreamsStatsAction$TransportAction
indices

cluster:admin/snapshot/get=cluster:admin/snapshot/get
org.opensearch.action.admin.cluster.snapshots.get.TransportGetSnapshotsAction
cluster

cluster:admin/component_template/put=cluster:admin/component_template/put
org.opensearch.action.admin.indices.template.put.TransportPutComponentTemplateAction
cluster

indices:admin/index_template/simulate=indices:admin/index_template/simulate
org.opensearch.action.admin.indices.template.post.TransportSimulateTemplateAction
indices

cluster:admin/decommission/awareness/get=cluster:admin/decommission/awareness/get
org.opensearch.action.admin.cluster.decommission.awareness.get.TransportGetDecommissionStateAction
cluster

cluster:admin/routing/awareness/weights/get=cluster:admin/routing/awareness/weights/get
org.opensearch.action.admin.cluster.shards.routing.weighted.get.TransportGetWeightedRoutingAction
cluster

indices:admin/block/add=indices:admin/block/add
org.opensearch.action.admin.indices.readonly.TransportAddIndexBlockAction
indices

indices:admin/template/delete=indices:admin/template/delete
org.opensearch.action.admin.indices.template.delete.TransportDeleteIndexTemplateAction
indices

indices:admin/index_template/get=indices:admin/index_template/get
org.opensearch.action.admin.indices.template.get.TransportGetComposableIndexTemplateAction
indices

indices:admin/mapping/auto_put=indices:admin/mapping/auto_put
org.opensearch.action.admin.indices.mapping.put.TransportAutoPutMappingAction
indices

indices:data/read/search=indices:data/read/search
org.opensearch.action.search.TransportSearchAction
indices

cluster:admin/ingest/pipeline/delete=cluster:admin/ingest/pipeline/delete
org.opensearch.action.ingest.DeletePipelineTransportAction
cluster

indices:admin/create=indices:admin/create
org.opensearch.action.admin.indices.create.TransportCreateIndexAction
indices

indices:admin/seq_no/add_retention_lease=indices:admin/seq_no/add_retention_lease
org.opensearch.index.seqno.RetentionLeaseActions$Add$TransportAction
indices

cluster:admin/repository/verify=cluster:admin/repository/verify
org.opensearch.action.admin.cluster.repositories.verify.TransportVerifyRepositoryAction
cluster

indices:admin/forcemerge=indices:admin/forcemerge
org.opensearch.action.admin.indices.forcemerge.TransportForceMergeAction
indices

indices:admin/template/put=indices:admin/template/put
org.opensearch.action.admin.indices.template.put.TransportPutIndexTemplateAction
indices

indices:data/read/field_caps=indices:data/read/field_caps
org.opensearch.action.fieldcaps.TransportFieldCapabilitiesAction[class org.opensearch.action.fieldcaps.TransportFieldCapabilitiesIndexAction]
indices

cluster:admin/decommission/awareness/delete=cluster:admin/decommission/awareness/delete
org.opensearch.action.admin.cluster.decommission.awareness.delete.TransportDeleteDecommissionStateAction
cluster

indices:admin/seq_no/remove_retention_lease=indices:admin/seq_no/remove_retention_lease
org.opensearch.index.seqno.RetentionLeaseActions$Remove$TransportAction
indices

indices:monitor/upgrade=indices:monitor/upgrade
org.opensearch.action.admin.indices.upgrade.get.TransportUpgradeStatusAction
indices

indices:admin/seq_no/renew_retention_lease=indices:admin/seq_no/renew_retention_lease
org.opensearch.index.seqno.RetentionLeaseActions$Renew$TransportAction
indices

cluster:admin/remotestore/restore=cluster:admin/remotestore/restore
org.opensearch.action.admin.cluster.remotestore.restore.TransportRestoreRemoteStoreAction
cluster

cluster:monitor/task/get=cluster:monitor/task/get
org.opensearch.action.admin.cluster.node.tasks.get.TransportGetTaskAction
cluster

indices:admin/rollover=indices:admin/rollover
org.opensearch.action.admin.indices.rollover.TransportRolloverAction
indices

cluster:monitor/state=cluster:monitor/state
org.opensearch.action.admin.cluster.state.TransportClusterStateAction
cluster

indices:data/write/delete=indices:data/write/delete
org.opensearch.action.delete.TransportDeleteAction
indices

indices:data/read/scroll=indices:data/read/scroll
org.opensearch.action.search.TransportSearchScrollAction
indices

indices:admin/index_template/delete=indices:admin/index_template/delete
org.opensearch.action.admin.indices.template.delete.TransportDeleteComposableIndexTemplateAction
indices

cluster:admin/voting_config/add_exclusions=cluster:admin/voting_config/add_exclusions
org.opensearch.action.admin.cluster.configuration.TransportAddVotingConfigExclusionsAction
cluster

indices:admin/cache/clear=indices:admin/cache/clear
org.opensearch.action.admin.indices.cache.clear.TransportClearIndicesCacheAction
indices

indices:data/write/bulk=indices:data/write/bulk
org.opensearch.action.bulk.TransportBulkAction[class org.opensearch.action.bulk.TransportShardBulkAction]
indices

indices:admin/mappings/fields/get=indices:admin/mappings/fields/get
org.opensearch.action.admin.indices.mapping.get.TransportGetFieldMappingsAction[class org.opensearch.action.admin.indices.mapping.get.TransportGetFieldMappingsIndexAction]
indices

indices:admin/open=indices:admin/open
org.opensearch.action.admin.indices.open.TransportOpenIndexAction
indices

cluster:admin/script/delete=cluster:admin/script/delete
org.opensearch.action.admin.cluster.storedscripts.TransportDeleteStoredScriptAction
cluster

indices:admin/analyze=indices:admin/analyze
org.opensearch.action.admin.indices.analyze.TransportAnalyzeAction
indices

cluster:admin/decommission/awareness/put=cluster:admin/decommission/awareness/put
org.opensearch.action.admin.cluster.decommission.awareness.put.TransportDecommissionAction
cluster

cluster:admin/persistent/start=cluster:admin/persistent/start
org.opensearch.persistent.StartPersistentTaskAction$TransportAction
cluster

indices:data/read/mget=indices:data/read/mget
org.opensearch.action.get.TransportMultiGetAction[class org.opensearch.action.get.TransportShardMultiGetAction]
indices

cluster:admin/routing/awareness/weights/put=cluster:admin/routing/awareness/weights/put
org.opensearch.action.admin.cluster.shards.routing.weighted.put.TransportAddWeightedRoutingAction
cluster

cluster:admin/repository/delete=cluster:admin/repository/delete
org.opensearch.action.admin.cluster.repositories.delete.TransportDeleteRepositoryAction
cluster

indices:data/read/point_in_time/create=indices:data/read/point_in_time/create
org.opensearch.action.search.TransportCreatePitAction
indices

cluster:admin/tasks/cancel=cluster:admin/tasks/cancel
org.opensearch.action.admin.cluster.node.tasks.cancel.TransportCancelTasksAction
cluster

cluster:admin/persistent/completion=cluster:admin/persistent/completion
org.opensearch.persistent.CompletionPersistentTaskAction$TransportAction
cluster

cluster:admin/snapshot/clone=cluster:admin/snapshot/clone
org.opensearch.action.admin.cluster.snapshots.clone.TransportCloneSnapshotAction
cluster

indices:data/read/mtv=indices:data/read/mtv
org.opensearch.action.termvectors.TransportMultiTermVectorsAction[class org.opensearch.action.termvectors.TransportShardMultiTermsVectorAction]
indices

cluster:admin/script/put=cluster:admin/script/put
org.opensearch.action.admin.cluster.storedscripts.TransportPutStoredScriptAction
cluster

indices:admin/data_stream/create=indices:admin/data_stream/create
org.opensearch.action.admin.indices.datastream.CreateDataStreamAction$TransportAction
indices

indices:data/read/point_in_time/readall=indices:data/read/point_in_time/readall
org.opensearch.action.search.TransportGetAllPitsAction
indices

indices:data/read/msearch=indices:data/read/msearch
org.opensearch.action.search.TransportMultiSearchAction
indices

cluster:monitor/nodes/hot_threads=cluster:monitor/nodes/hot_threads
org.opensearch.action.admin.cluster.node.hotthreads.TransportNodesHotThreadsAction
cluster

cluster:monitor/health=cluster:monitor/health
org.opensearch.action.admin.cluster.health.TransportClusterHealthAction
cluster

indices:admin/delete=indices:admin/delete
org.opensearch.action.admin.indices.delete.TransportDeleteIndexAction
indices

indices:data/read/tv=indices:data/read/tv
org.opensearch.action.termvectors.TransportTermVectorsAction
indices

cluster:admin/voting_config/clear_exclusions=cluster:admin/voting_config/clear_exclusions
org.opensearch.action.admin.cluster.configuration.TransportClearVotingConfigExclusionsAction
cluster

cluster:admin/routing/awareness/weights/delete=cluster:admin/routing/awareness/weights/delete
org.opensearch.action.admin.cluster.shards.routing.weighted.delete.TransportDeleteWeightedRoutingAction
cluster

cluster:admin/indices/dangling/find=cluster:admin/indices/dangling/find
org.opensearch.action.admin.indices.dangling.find.TransportFindDanglingIndexAction
cluster

cluster:monitor/task=cluster:monitor/task
org.opensearch.action.admin.cluster.tasks.TransportPendingClusterTasksAction
cluster

cluster:admin/nodes/reload_secure_settings=cluster:admin/nodes/reload_secure_settings
org.opensearch.action.admin.cluster.node.reload.TransportNodesReloadSecureSettingsAction
cluster

indices:monitor/point_in_time/segments=indices:monitor/point_in_time/segments
org.opensearch.action.admin.indices.segments.TransportPitSegmentsAction
indices

indices:admin/template/get=indices:admin/template/get
org.opensearch.action.admin.indices.template.get.TransportGetIndexTemplatesAction
indices

indices:admin/resize=indices:admin/resize
org.opensearch.action.admin.indices.shrink.TransportResizeAction
indices

indices:admin/exists=indices:admin/exists
org.opensearch.action.admin.indices.exists.indices.TransportIndicesExistsAction
indices

cluster:admin/repository/put=cluster:admin/repository/put
org.opensearch.action.admin.cluster.repositories.put.TransportPutRepositoryAction
cluster

cluster:admin/ingest/pipeline/put=cluster:admin/ingest/pipeline/put
org.opensearch.action.ingest.PutPipelineTransportAction
cluster

indices:monitor/stats=indices:monitor/stats
org.opensearch.action.admin.indices.stats.TransportIndicesStatsAction
indices

cluster:admin/settings/update=cluster:admin/settings/update
org.opensearch.action.admin.cluster.settings.TransportClusterUpdateSettingsAction
cluster

cluster:admin/persistent/remove=cluster:admin/persistent/remove
org.opensearch.persistent.RemovePersistentTaskAction$TransportAction
cluster

cluster:admin/script/get=cluster:admin/script/get
org.opensearch.action.admin.cluster.storedscripts.TransportGetStoredScriptAction
cluster

indices:data/read/point_in_time/delete=indices:data/read/point_in_time/delete
org.opensearch.action.search.TransportDeletePitAction
indices

indices:admin/validate/query=indices:admin/validate/query
org.opensearch.action.admin.indices.validate.query.TransportValidateQueryAction
indices

indices:monitor/segments=indices:monitor/segments
org.opensearch.action.admin.indices.segments.TransportIndicesSegmentsAction
indices

cluster:admin/indices/dangling/list=cluster:admin/indices/dangling/list
org.opensearch.action.admin.indices.dangling.list.TransportListDanglingIndicesAction
cluster

cluster:admin/snapshot/status=cluster:admin/snapshot/status
org.opensearch.action.admin.cluster.snapshots.status.TransportSnapshotsStatusAction
cluster

indices:admin/index_template/simulate_index=indices:admin/index_template/simulate_index
org.opensearch.action.admin.indices.template.post.TransportSimulateIndexTemplateAction
indices

indices:admin/aliases=indices:admin/aliases
org.opensearch.action.admin.indices.alias.TransportIndicesAliasesAction
indices

cluster:admin/indices/dangling/import=cluster:admin/indices/dangling/import
org.opensearch.action.admin.indices.dangling.import_index.TransportImportDanglingIndexAction
cluster

indices:monitor/settings/get=indices:monitor/settings/get
org.opensearch.action.admin.indices.settings.get.TransportGetSettingsAction
indices

cluster:monitor/allocation/explain=cluster:monitor/allocation/explain
org.opensearch.action.admin.cluster.allocation.TransportClusterAllocationExplainAction
cluster

indices:admin/aliases/get=indices:admin/aliases/get
org.opensearch.action.admin.indices.alias.get.TransportGetAliasesAction
indices

cluster:monitor/nodes/stats=cluster:monitor/nodes/stats
org.opensearch.action.admin.cluster.node.stats.TransportNodesStatsAction
cluster

cluster:admin/indices/dangling/delete=cluster:admin/indices/dangling/delete
org.opensearch.action.admin.indices.dangling.delete.TransportDeleteDanglingIndexAction
cluster

indices:data/read/scroll/clear=indices:data/read/scroll/clear
org.opensearch.action.search.TransportClearScrollAction
indices

indices:admin/index_template/put=indices:admin/index_template/put
org.opensearch.action.admin.indices.template.put.TransportPutComposableIndexTemplateAction
indices

cluster:admin/repository/get=cluster:admin/repository/get
org.opensearch.action.admin.cluster.repositories.get.TransportGetRepositoriesAction
cluster

cluster:monitor/main=cluster:monitor/main
org.opensearch.action.main.TransportMainAction
cluster

indices:admin/get=indices:admin/get
org.opensearch.action.admin.indices.get.TransportGetIndexAction
indices

cluster:admin/ingest/pipeline/get=cluster:admin/ingest/pipeline/get
org.opensearch.action.ingest.GetPipelineTransportAction
cluster

cluster:admin/persistent/update_status=cluster:admin/persistent/update_status
org.opensearch.persistent.UpdatePersistentTaskStatusAction$TransportAction
cluster

indices:admin/upgrade=indices:admin/upgrade
org.opensearch.action.admin.indices.upgrade.post.TransportUpgradeAction
indices

cluster:admin/repository/_cleanup=cluster:admin/repository/_cleanup
org.opensearch.action.admin.cluster.repositories.cleanup.TransportCleanupRepositoryAction
cluster

cluster:admin/component_template/get=cluster:admin/component_template/get
org.opensearch.action.admin.indices.template.get.TransportGetComponentTemplateAction
cluster

indices:data/write/index=indices:data/write/index
org.opensearch.action.index.TransportIndexAction
indices

cluster:admin/snapshot/restore=cluster:admin/snapshot/restore
org.opensearch.action.admin.cluster.snapshots.restore.TransportRestoreSnapshotAction
cluster

indices:data/read/get=indices:data/read/get
org.opensearch.action.get.TransportGetAction
indices

cluster:monitor/nodes/usage=cluster:monitor/nodes/usage
org.opensearch.action.admin.cluster.node.usage.TransportNodesUsageAction
cluster

When thinking about a permissions naming convention, it will need to consider all of these actions and actions that are added to OpenSearch via plugins/extensions
One idea is to make the concept of an action group part of core so that in addition to an action requiring a name, it can also optionally define a list of groups. This could be statically defined in files like the security plugin or in the definition of the action itself. Here would be SearchAction for example:
public class SearchAction extends ActionType<SearchResponse> {

    public static final SearchAction INSTANCE = new SearchAction();
    public static final String NAME = "indices:data/read/search";
    // Groups added here
    public static final String GROUPS = List.of("read");

    private SearchAction() {
        super(NAME, SearchResponse::new);
    }

}

the current permissions system supports wildcards to resolve the list of permissions that match indices:data/read/* which I think the identity permission system should support as well.

Hi @cwperks, thank you for sharing this list. It is definitely helpful to see all the different actions we currently support when thinking about how to organize/name permissions in the new model. I think one of the major struggles with this is going to be condensing some of the permission names given the existing actions are so long.
As mentioned above, I had been thinking about something along the lines of .. but when the actions themselves have numerous parts it may not be as straightforward. I set up two interfaces and an abstract class for permissions, their handling and storage over in the linked draft.

https://github.com/opensearch-project/OpenSearch/issues/5889 is tracking name schema / campaigns so you could defer some of this as long as the implementation was flexible with whatever constraints we pick

#5889 is tracking name schema / campaigns so you could defer some of this as long as the implementation was flexible with whatever constraints we pick

That sounds good to me. Right now, I am awaiting some more design feedback and looking at how to generalize the exceptions and logging for the two interfaces. I also need to implement admin checks for the operations.

This is all done with #6154 except the part that prevents granting a permission to a non-existant principal. Right now, I am not sure how we do that without having the principals all be stored in the cluster. I had thought that this is something we had wanted to avoid. I am in favor of not worrying about whether a principal exists or not when a grant occurs. Perhaps we will need to add a TTL for permissions in storage to flush out unused permissions (make it LRU queue that runs alongside the mapping), but either way I think more discussion is needed before I can implement a principal validation mechanism.
Maybe we can consider this issue resolved and move the principal validation aspect to its own issue?


Update demo example

Some baras on http://alasql.org/demo/005d3/# looks "funny" when year is selected

Yes, this is not clean demo. We will fix it after finish with Codex or we will integrate all these demos with Codex.

Is this integrated into codex now?


Improved config + treasure group

Bumped it to 1.19.3 too :)

Oh yeah i mightve done a double rebase in git whoops, its just 5 commits


Unexpected behavior comparing SPDX documents with no local LicenseRef text

When comparing 2 SPDX documents with a LicenseRef containing no text, the comparison of those LicenseRef's is false, but no explanation is given.
We probably do not want them to match since we don't have the text to compare, but we could list them in the Extracted Licenses tab as EMPTY.

Attaching a test file with an empty license text and the resultant compare xlsx spreadsheet when comparing to itself.
SPDXTagExample-v2.2-no-text1.spdx.txt
result.xlsx

I'm going to leave this open for not - not sure if we should match empty text or not.
Note that the Verification tab does show that there is missing required license text.

Moving this issue to the Spdx-Java-Library since the fix (if we decide this is a bug) would be in the license compare code in the library.


[folding] Folding is "jumping" when a file is opened in 2 windows

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

VS Code Version: 1.71.2
OS Version: MAC Monterey 12.6

Steps to Reproduce:
Before this last update it was common for me to use a file opened in 2 windows, "fold" the functions of window 1 and leave only what I wanted while looking for parameters or other things to use in window 2 for example in other functions.
However, now if I change anything in both windows, the "cursor" jumps to where it was changed and no longer respects the "folding" in the previous window, as shown in the images below.
1 - somefunction2 window 2 - If I change something, window 1 "lose folding" previous

2 - somefunction1 window 2 - If I change something, window 1 "lose folding" previous

Is there any configuration to keep the feature prior to this update?
Thanks.

Yes, I can reproduce.
This was an intentionally change, but we didn't think of the split screen scenario
The idea is that if we detect that a folded range has gotten larger (or smaller), we expand it.
https://github.com/microsoft/vscode/blob/eab981234f42194a815a62af1aeaa39d450614c8/src/vs/editor/contrib/folding/browser/foldingRanges.ts#L332
FYI @PieterBranderhorst

Hey @aeschli,
Thanks for the answer, do you think we will have any option to disable this change? I believe the old format helps a lot when there are multiple codes in a single file and split screen is needed.

@aeschli I don't think the line you identified is the culprit here. I think this is happening because of the following code in foldingModel.ts:
	if (isCollapsed && (isBlocked(decRange.startLineNumber, decRange.endLineNumber) || decRange.endLineNumber - decRange.startLineNumber !== foldRange.endLineNumber - foldRange.startLineNumber)) {
I don't know why the test for a change in the size of the range is there. I think that just testing for if (isCollapsed && isBlocked(...)) would be correct. But I'm not 100% sure. Can you think of a reason for the decorated range to change which would require that we unfold? I've done a test with
|| decRange.endLineNumber - decRange.startLineNumber !== foldRange.endLineNumber - foldRange.startLineNumber
removed from that line and the split view then behaves properly, not auto-expanding things.
It would be a different matter if the range returned by the folding provider changes, i.e. the test you identified. I think unfolding is correct in that situation.

Hey guys, any news? I updated to version 1.72.2 and the problem still persists, in fact this is very annoying 😞

@aeschli Nudge

@aeschli, are there any plans for fixing this issue? As a Vue dev, I must admit that this auto-expanding behaviour is super annoying when working with single-file-components.

I'll look at it in November.

@aeschli , I have updated VSCode to 1.75.1 and this is still a problem - the issue I described in #159646 is still the same. So it doesn't seem fixed.

The fix will be in 1.76


Consider using summary as content

Nothing seems ideal here, but current content = "timeseries" seems more like a data type than a content. It also forces consumers who need summary explicitly (?) to put logic on tagname, which in turn forces user to "remember to put the correct string here". It smells a little bit.
https://github.com/equinor/fmu-dataio/blob/1838fa7374a4f89c2f65d597ec07d06bfc4424d3/src/fmu/dataio/datastructure/meta/enums.py#L40
Note that comment informs that this is really summary:
https://github.com/equinor/fmu-dataio/blob/1838fa7374a4f89c2f65d597ec07d06bfc4424d3/src/fmu/dataio/_definitions.py#L75
Would it be an improvement to allow (and expect) summary as a content when data contains summary?

Offline discussion has pointed this toward defining this content type as simulationtimeseries.
There was also discussion about whether a sub-category/sub-content for timeseries could be a relevant choice to make here. For the moment, having only one candidate for a sub-category, it make end up being an undesirable pattern if it's the only sub-category. Another possible mark against it being a sub-category is that simulationtimeseries, being a collection of timeseries vectors, may actually make it a super-type of timeseries.


TextureProgress value doesn't change when dragging mouse over Value's input box in Inspector

Godot version:
3.2.3
OS/device including version:
Windows 10
Issue description:
What happened: The value didn't change when I dragged my mouse. If I drag my mouse extremely far, it changes the value by 1 (or whatever value Step was set to).
What was expected: The value to go up or down as I move my mouse while holding down the left mouse button. Similar to other numeric input boxes in the Inspector.
(Maybe because the other input boxes in Range are in decimal values, Value's input box is also in decimals? Though shouldn't it increment/decrement by Step's value?)
Steps to reproduce:

Create a TextureProgress node
Go to the Node Inspector and under the Range section, see Value
Hold the left mouse button over the number input box and drag the mouse up and down
(optional, but for visual feedback) add an Under and Progress texture in TextureProgress

Minimal reproduction project:
TextureProgress Drag Value.zip

it does change by dragging mouse left or right.
but have to move mouse pretty much to see if it change.
it changes pretty small value (i guess 0.001) but it shows changed value after moving pretty far.
you can see its changes if step value to 0.001
I think editor needs to change its value depending on step value.


Compiling a system_properties slang file throws an exception

When sending a system_properties slang file to the compiler for compilation or pre-compilation, the compiler throws an exception, since it only knows how to compile operations & flows

what do you expect it to do?
there is no execution plan for system property file, and no dependencies.
I thing that returning null is not better.

We need to decide what is the correct solution regarding the system properties.
If we decide that it is not compiled at all, and not validated, only run-time, we can make these files for example .properties files and not .sl files.
If we do decide that we want to compile it, and treat the properties as mandatory dependencies of the flow or operation, we need to supply some result from compiling it. For example have a parent class to Executable that includes only name, namespace and maybe something more, and return it from the precompile() method, and find also some construct to return from the compile() method.

Fixed by PR #94


Add Travis-CI

After merging this pull request, someone with admin access to the repo should enable this repo on http://travis-ci.org . Note that I added a build badge to the readme (), but this won't show anything until travis actually starts building commits.
cc: @ahmetalpbalkan

LGTM :shipit:

Updated. Also, maybe @Snesha want's to take a peek at what I did to the tests. These should probably get cleaned up...

fixup doesn't seem like went well, I still see duplicate fixup commits.

I can replace the old commits, but I don't know if github handles that well?

As long as you dont change the commit number on the origin where you forked from and if you didn't touch the commits before that (in this case it all seems in your pr), you can rebase/fixup or squash then git push -f to your local branch and PR will get updated.

Cool, I'll squash em
Sent from my Windows Phone

From: Ahmet Alp Balkan
Sent: 1/20/2015 6:18 PM
To: MSOpenTech/packer-azure
Cc: Paul Meyer
Subject: Re: [packer-azure] Add Travis-CI (#33)
As long as you dont change the commit number on the origin where you forked from and if you didn't touch the commits before that (in this case it all seems in your pr), you can rebase/fixup or squash then git push -f to your local branch and PR will get updated.

Reply to this email directly or view it on GitHub:
https://github.com/MSOpenTech/packer-azure/pull/33#issuecomment-70773514


modified add entry

modified add entry

Pull Request Test Coverage Report for Build 63

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

Totals

Change from base Build 62:
0.0%

Covered Lines:
41

Relevant Lines:
43

💛  - Coveralls


Check issue with validating child fields.

Replicate: When not checking Link Type in LinkIt field, validation should fire.

Fixed in 1.0.0


Unable to import a variable ?

I have a weird bug popping up, on code that was working before (which I don't get because the .js file hasn't been modified since) :
I have a file containing this and this only :
@iconWhiteSpritePath: "../css/glyphicons-halflings-white.png";
And another file containing this :
@import "variables.less";
.icon-white
{
background-image: url(@iconWhiteSpritePath);
}
When I go to my page I get the usual error, with no further details : Cannot call method 'charAt' of undefined
And I just can't seem to find where the error comes from.

@Anahkiasen That works for me. Are you sure your using the latest version?

Did this happen with a post 2.0 version?
This probably might be related with a change I commented here:

https://github.com/cloudhead/less.js/commit/aefd31051476ccac82ec581ab8ac80ed6c2c5575#commitcomment-995979

Sorry, Boostrap changed to url("@iconWhiteSpritePath") and it's been working fine ever since. I just tried going back to url(@variable) and it's working in 1.2.2

The variable replacement still does not work. The less code:
background-image: url("@iconSpritePath");
is turned into the CSS:
background-image: url("@iconSpritePath");
Maybe you no longer get an error from less but that variable is still not being replaced.

what about background-image: url("@{iconSpritePath}"); ?

Hi @agatronic , since this issue is closed, can you please move your question to #657 ?


Inline code escape improvement

This aims to have inline code escaping act more as one would expect in relation to how escaping is handled elsewhere.  The best way to explain is by referencing the tests and babelmark https://johnmacfarlane.net/babelmark2/?text=\\`code`.  Python Markdown is 1 of 3 who handle code escaping in (what I view) a non intuitive way.  My personal belief is this a buggy logic.  So hopefully this pull will be accepted.
All we are doing is processing the escapes specifically related to code before we handle code.
Now, I realize the old tests were testing for this logic and I understand why it was easiest to implement it as it was. If the old logic is preferred, I will need to make one more pull to make tables expect code escaping as it currently is.   It should be an very easy pull, but I am hoping that this pull would be favored over such actions.

Didn't expect it was going to show the Merge remote-tracking branch. Well, if the idea behind this is accepted I can rebase.

https://johnmacfarlane.net/babelmark2/?text=\\`code`. Python Markdown is 1 of 3 who handle code escaping in (what I view) a non intuitive way.

Hmm, that seems to be a weird bug which was introduced in Markdown.pl 1.0.2b8 and was apparently faithfully copied in Python-Markdown and showdown. I think this can clearly be called a bug and changed.

Hmm, that seems to be a weird bug which was introduced in Markdown.pl 1.0.2b8 and was apparently faithfully copied in Python-Markdown and showdown. I think this can clearly be called a bug and changed.

Great!  I found it odd too.  And sense it was found in Markdown.pl as well, I wasn't sure how close to that we wanted to adhere to.
Is the remote-tracking commit an issue?  I picked it up when I re-synced my fork (was trying to avoid re-forking).

Is the remote-tracking commit an issue?

Don't work about it. I'll do a "squash and merge" so it won't show up in the final commit.


Can't set Slider Color by Parent

I try change Hex by v-model but no success the picker still same position color ever, how i can do that?
i have item with hex color and i've to load into slider picker

i got it init slider only with
var defaultProps = {
hex: '#194d33',
a: 1
}
and works partial =) when i change hex the color position ajust in first bar,


[Feature][UI] Add an option "thisMonthBegin" in dependency settings in dependent node

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description

add thisMonthBegin in the drop down menu here, it will be useful in some cases, for example, we have  lots of workflows which depended by other workflows, and the workflow being depended are running on 1st day of the month, if we had this option, things will be easyer.
有的工作流依赖本月初运行的工作流，如果在依赖节点中有 本月初 的选项，会很有用。
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'll deal with this feature.


Updated Readme.md

Added additional badges to respected markdown file.

Thanks for the PR - but I don't even think the badge we have on here makes sense, so adding more shouldn't really happen.


How to debug transforms?

❓ Questions & Help
Is there an intended or best practice way of debugging transforms in PyTorch Geometric?
For example, if I have a graph, representing a mesh:
Is there a way to validate, if my transform is working as it is supposed to?
Debugging with huge tensors and keeping an eye on edge_indices and vertex positions, while not seeing the geometry visually at all, does not feel productive and sufficient to me.
Is there an external tool or library that I can "plug-in" into my debugging process?
Maybe a way, where I do not have to copy the face list and vertex positions, for example, into another tool by hand.
These may introduce their own internal indexing of the data, which may lead to confusion.

If you are working with meshes, you can convert to_trimesh and visualize from there, and if you are working on graphs, you can convert to_networkx and visualize from there, see here and here.

Is there a way of using to_trimesh if I have only edge_index given inside data?

No, that does not exist.

okay. But is there any possibility of displaying meshes just by using edge_index? Everything I can find uses faces, like mayavi.

Well, you can always visualize them with, e.g. matplotlib, where you connect points based on edge_index. We do not provide a wrapper for this though.


Feature/news

Home page should have a news section which displays cards for news related to the cardiomyopathy field of research.
spec:

Blockers are API that returns required information.

Not 100% sure that most apis for news feeds include an image endpoint but I will add it anyways and if the api we choose to implement doesn't have an image endpoint it can be removed

Found another news api named newscatcher api. Requires an api key but managed to get one:
APIKEY: 3gAN3KvnuUCtSQHeYwk4q2GZQNzz04-DB4m5qBSoe5s
Example search: api.newscatcherapi.com/v2/search?q=Cardiomyopathy
the api key goes inside of the header!
A successful request response looks like this: includes title, author, date, summary which matches our needs.
{
    "status": "ok",
    "total_hits": 7471,
    "page": 1,
    "total_pages": 7471,
    "page_size": 1,
    "articles": [
        {
            "title": "Is an Apple Music Subscription Worth It?",
            "author": "Shujaa Imran",
            "published_date": "2022-02-03 16:53:12",
            "published_date_precision": "full",
            "link": "https://www.makeuseof.com/apple-music-subscription-worth-it",
            "clean_url": "makeuseof.com",
            "excerpt": "Thinking of subscribing to Apple Music? Here's how to know if it's worth it for you.",
            "summary": "Since its launch in June 2015, Apple Music has been growing steadily. Because of its easy integration across Apple devices, many Apple users are fond of the streaming service. However, how does Apple Music stack up compared to the other streaming services out there? Does it justify a $9.99 subscription per month? We'll break down all the details for you, so you can decide whether an Apple Music subscription is truly worth it. What Is Apple Music?\nApple Music is the Apple's music streaming service, which allows subscribers to access millions of content for a subscription fee. With over 90 million songs, Apple Music content can either be streamed online or downloaded to your device for offline listening. \n\nConsidering Apple was late to the streaming market, its music streaming service has performed well. While Apple hasn't released any official figures, reports say that Apple Music had over 523 million subscribers by the end of 2021.\nAccording to Midia Research, Apple Music achieved a market share of 15% in 2021. In comparison, Spotify came at first place and captured 31% of the global streaming market in the same year. An Apple Music subscription combines subscription-based music streaming with global radio-like programming. With this, purchasing a subscription doesn't just unlock Apple Music's extensive 90-million song library for you to use. Apple Music also lets you watch music videos without ads, access a few podcasts, listen to its curated playlists, and tune into Apple Music's radio stations.\nApple's main radio offering, Apple Music 1, features an around-the-clock worldwide live broadcast from DJs based in Los Angeles, New York, and London. Other radio stations include Apple Music Hits, which play everyone's favorite songs from the '80s, '90s, and 2000s, and Apple Music Country, which features country music. Which Devices Does Apple Music Work on?\nApple Music is primarily available in the Music app on all iPhones, iPads, and iPod Touch models running iOS 8.4 or later. Aside from this, Apple Music is also available on PC (iTunes app), Mac (Music app), Apple TV, and Apple Watch. Apple Music is also available on non-Apple devices, such as Android phones, smart TVs, streaming boxes, and even game consoles. Alternatively, you can also access Apple Music online at music.apple.com.\nWhen using Apple Music, you can choose to either stream everything directly from the internet or download it onto your device for offline listening. If you're concerned about data usage, or you'll mostly be in an area without a good wireless connection, offline listening is a great feature. However, it could be an issue if you're already running low on storage space on your device.\nSimilar to other streaming services, you don't own the music files downloaded from Apple Music. With this, you won't be able to offload them anywhere else, burn them onto a disk, or use them in separate video projects.  The Benefits of Apple Music\nApple Music works across different platforms including Android. However, its primary advantage is that it's integrated into Apple's ecosystem—meaning you can easily listen to your collection on your iPhone, iPad, Mac, and even Apple Watch.\nIn addition, Apple Music also features high-quality audio playback for audiophiles. For those who enjoy quality streaming, Apple Music offers Lossless, Hi-Res Lossless, Dolby Atmos, and Spatial Audio content, which arrived in June 2021.\nApart from your personal music library, Apple Music can help you enhance your collection with a mix of old and new tracks, along with Apple Music's three live radio stations. You can also stream TV shows, podcasts, music videos, and over 30,000 expertly curated playlists. The Drawbacks of Apple Music\nApple Music's main competitor, Spotify, also offers a robust streaming experience. A key drawback of Apple Music is that it doesn't offer a free version, whereas Spotify does, albeit with ads. Comparatively, Spotify also has a more extensive library than Apple Music, and offers better social media integration. Although, Apple Music still has better integration with the Apple ecosystem, and its content library is increasing every day.\nWhile Apple Music also includes podcasts, they're few and far in between. So, if you're looking for a way to listen to podcasts, Apple Podcasts has a much bigger and organized library. How Much Does Apple Music Cost?\nDepending on your needs, Apple Music operates as a subscription-based service and has different plans available. The basic monthly subscription is $10, which is the same as Spotify Premium and Tidal HiFi.\nAlternatively, you can pay an annual fee of $99. Other plans include a student subscription for $5 per month and a family plan that can be shared between six people for $15 per month. Apple also offers the Apple Music Voice Plan, which is available for $5 per month. The catch—you can only use Siri to verbally request songs, and the service is streaming only. With Apple Music Voice Plan, you can't use the app, download songs, use the Lyrics view, or access Apple's full Lossless audio and Dolby Atmos catalog. Does Apple Music Offer a Free Trial?\nUsually, Apple Music offers a 3-month trial for users looking to try out the subscription, after which it reverts to $9.99 per month. However, while there is no way to use Apple Music for free forever, there are a ton of ways to get it free for longer.\nWith free trials, you can choose to try out the service before you commit to a subscription. If you're not sold on Apple Music, you can simply cancel the trial before it expires. Gone are the times of playing music using CDs—digital music streaming is the new thing. While there are multiple streaming services to pick from, there's no doubt that Apple Music is worth considering.\nIf you own an Apple device, and you're actively looking to get a subscription for your music needs, we'd recommend giving Apple Music a try. In true Apple fashion, Apple Music makes things much easier for a variety of reasons. However, once you get tied into the ecosystem, it can become difficult to escape from. \n How to Get Started Using Apple Music Playlists In this article, we explore how to create, populate, share, discover, and become a master of Apple Music playlists. Related Topics Entertainment IPhone Media Streaming Apple Apple Music \n About The Author Shujaa Imran (54 Articles Published) More From Shujaa Imran Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!",
            "rights": "makeuseof.com",
            "rank": 1729,
            "topic": "news",
            "country": "CA",
            "language": "en",
            "authors": [
                "Shujaa Imran"
            ],
            "media": "https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2022/02/thomas-kolnowski-uY-9Dyz8PPM-unsplash-2-1.jpg",
            "is_opinion": false,
            "twitter_account": "@MUO_official",
            "_score": 11.035287,
            "_id": "1017cfad154df78ba22b6b358d672e1f"
        }
    ],
    "user_input": {
        "q": "Apple",
        "search_in": [
            "title_summary"
        ],
        "lang": null,
        "not_lang": null,
        "countries": [
            "CA"
        ],
        "not_countries": null,
        "from": "2021-12-15 00:00:00",
        "to": null,
        "ranked_only": "True",
        "from_rank": null,
        "to_rank": null,
        "sort_by": "relevancy",
        "page": 1,
        "size": 1,
        "sources": null,
        "not_sources": null,
        "topic": null,
        "published_date_precision": null
    }
}

Example way of implementing this into js would be
const apiKey = "YOUR_API_KEY";
const searchQuery = "cardiomyopathy";
const language = "en";

fetch(`https://api.newscatcherapi.com/v2/search?q=${searchQuery}&lang=${language}&api_key=${apiKey}`)
  .then(response => response.json())
  .then(data => {
    // Handle the API response data here
    console.log(data);
  })
  .catch(error => {
    // Handle any errors here
    console.error(error);
  });

I believe with all our available API newscatcherapi is our best choice