Should master be compilable?

> ant jar
Buildfile: /Users/jason/ws/reference/MOE/build.xml

clean:
   [delete] Deleting directory /Users/jason/ws/reference/MOE/build

compile:
    [mkdir] Created dir: /Users/jason/ws/reference/MOE/build/classes
    [javac] /Users/jason/ws/reference/MOE/build.xml:33: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 153 source files to /Users/jason/ws/reference/MOE/build/classes
    [javac] /Users/jason/ws/reference/MOE/java/com/google/devtools/moe/client/repositories/Revision.java:12: error: cannot find symbol
    [javac] import com.google.gson.annotations.JsonAdapter;
    [javac]                                   ^
    [javac]   symbol:   class JsonAdapter
    [javac]   location: package com.google.gson.annotations
    [javac] /Users/jason/ws/reference/MOE/java/com/google/devtools/moe/client/repositories/Revision.java:24: error: cannot find symbol
    [javac] @JsonAdapter(AutoValueGsonAdapter.class)
    [javac]  ^
    [javac]   symbol: class JsonAdapter
    [javac] /Users/jason/ws/reference/MOE/java/com/google/devtools/moe/client/database/SubmittedMigration.java:8: error: cannot find symbol
    [javac] import com.google.gson.annotations.JsonAdapter;
    [javac]                                   ^
    [javac]   symbol:   class JsonAdapter
    [javac]   location: package com.google.gson.annotations
    [javac] /Users/jason/ws/reference/MOE/java/com/google/devtools/moe/client/database/SubmittedMigration.java:18: error: cannot find symbol
    [javac] @JsonAdapter(AutoValueGsonAdapter.class)
    [javac]  ^
    [javac]   symbol: class JsonAdapter

BUILD FAILED
/Users/jason/ws/reference/MOE/build.xml:33: Compile failed; see the compiler error output for details.

Total time: 1 second

Doesn't appear to work for me :-(
 find build/classes/
build/classes/
build/classes//com
build/classes//com/google
build/classes//com/google/devtools
build/classes//com/google/devtools/moe
build/classes//com/google/devtools/moe/client
build/classes//com/google/devtools/moe/client/database
build/classes//com/google/devtools/moe/client/database/AutoValue_RepositoryEquivalence.java
build/classes//com/google/devtools/moe/client/database/AutoValue_SubmittedMigration.java
build/classes//com/google/devtools/moe/client/repositories
build/classes//com/google/devtools/moe/client/repositories/AutoValue_Repository.java
build/classes//com/google/devtools/moe/client/repositories/AutoValue_Revision.java

Ran into a problem a bit before when the ant build said it succeeded but the google auto-value processor actually aborted the build, generating a single .java file.  Today though, looks like its failing for other reasons, but unsure if its related or not.

Post conversion to maven, this builds now, but doesn't produce a runnable jar

It's all in progress.  I'll be adding maven jazz to build a binary
shortly.  Sorry for the delay.
On Wed, 26 Aug 2015 at 16:54 Jason Dillon<EMAIL_ADDRESS>wrote:

Post conversion to maven, this builds now, but doesn't produce a runnable
jar
—
Reply to this email directly or view it on GitHub
https://github.com/google/MOE/issues/15#issuecomment-135207900.

@cgruber okay good to get a reply back and know folks are on it.  We are really interested to start using this.  If you guys need any help with any of the maven bits, I'm more than willing to lend a hand, but doesn't seem to complex for what you are after.  But still.

I've got it.  It's just been a matter of time, while I do other things
(like some re-design and features which will be coming out soon)
On Fri, 28 Aug 2015 at 17:50 Jason Dillon<EMAIL_ADDRESS>wrote:

@cgruber https://github.com/cgruber okay good to get a reply back and
know folks are on it. We are really interested to start using this. If you
guys need any help with any of the maven bits, I'm more than willing to
lend a hand, but doesn't seem to complex for what you are after. But still.
—
Reply to this email directly or view it on GitHub
https://github.com/google/MOE/issues/15#issuecomment-135923274.

Aaaand alot of time has gone by, and I apologize, but we're re-owrkign a lot of our internal open-source infrastructure and I got roped in. I will be attempting to fix all this and get #26 done this and next week.

Part of what I need to do is move the external build bits into the internal repository so we can test it in eihter place, so changes that can't be built don't sneak in.

mkay, offer to help still stands if you guys need help to get the mvn side of the config sorted

@cgruber I see its compiling now, and the jar executes yay... but what is the state of the tool generally?
I have a very simple internal git project that needs to be exposed as a public git repo, with very minor changes (omit the entire private/** tree) and replace the top-level README.md.  Is MOE in its current state able to do that?  If so can you point me at some current docs or an example of how that works?
Thanks!

Sorry - it's been a while, and I apologize.  I've made strides.  We decidedly use it a lot internally, so the state of it is good, but I have to sync out the docs and scrub them.  (And fix the README.md obviously).
Since this is compiling now, I"m going to close this issue, and open a few others.  As to how it works, ping me<EMAIL_ADDRESS>directly, and I can talk you through it.  I'll be honest, I've simply not used it outside of google, and our integration tests are not yet open-sourced, so there may be rough edges.

س![Uploading 94361897...]

سك![Uploading 94361927...]


round trip test cases for opcode -> string -> opcode

This is done in the machine module unit tests for opcode > instruction > opcode.
It is also covered in the assembler::parser module for opcode > instruction > string > instruction > opcode

We should also do opcode string > opcode > opcode string and opcode string > instruction > opcode > opcode string


Make the default umask a string

Signed-off-by: Sergey Yedrikov<EMAIL_ADDRESS>This is a correction to a previous commit that added the --umask command line parameter.
The default umask needs to be a string, otherwise the following happens:
2022-03-16 05:14:45 +0000 [error]: unexpected error error_class=ArgumentError error="wrong number of arguments (given 1, expected 0)"
2022-03-16 05:14:45 +0000 [error]: /usr/local/share/gems/gems/fluentd-1.14.5/lib/fluent/supervisor.rb:714:in `to_i'
Which issue(s) this PR fixes:
None

Thanks!


Error running in the background on ubuntu 16.04

[Epoll.cpp:56][!CliClient][&err == -1]  [PosixError : Operation not permitted : 1 : epoll_ctl ADD failed], epoll_fd = 10, fd = 0

run with "systemctl start ---"

Are you using tdbot?
It seems that this error isn't related to TDLib and you need to comment lines 364-365 here: https://github.com/vysheng/tdbot/blob/0141cc01510ba6ff7988034c15d5ad047306c406/cliclient.cpp#L364
to disable using of stdin/stdout.

Are you sure that you have recompiled tdbot? You can also comment lines 361-362 before recompilation to make sure that stdin and stdout aren't used.

yes i'm using tdbot on tdlib v1.1.1
i'm adding // in lines 361+362+364+365 and still error if i running in the backround with systemd on ubuntu 16.04
[Epoll.cpp:56][!CliClient][&err == -1]	[PosixError : Operation not permitted : 1 : epoll_ctl ADD failed], epoll_fd = 10, fd = 0

Could you add
LOG(ERROR) << "Before init CliStdFd";

on line 363,
add
LOG(ERROR) << "After init CliStdFd";

on line 366, recompile tdbot, set log verbosity to 30 (parameter -vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv), redirect the log to file and send the log to @tdlib_bot?


DOCS - ERR_TOO_MANY_REDIRECTS when clicking on a search result on the documentation

Open the documentation website on https://jinja.palletsprojects.com/en/3.0.x/
Search by a term like space (the search page will generate the URL https://jinja.palletsprojects.com/en/3.0.x/search/?q=space )
Click in one of the search results, like https://jinja.palletsprojects.com/en/3.0.x/search/api/?highlight=space

This is the error:

Environment:

Python version: not applicable
Jinja version: 3.0

https://github.com/pallets/pallets-sphinx-themes/issues/39


Questions about monadic parser combinators

Hi,
I am currently working with LowParse to interpret some basic data structures in F*. Here is the data structure:
type simple_struct= {
  num1:uint16;
  num2:uint32
}

Additionally, I have developed the following parsers:
let p = parse_u16
let p' (v1: uint16) = and_then parse_u32 (fun v2 -> parse_ret ({ num1 = v1; num2 = v2 }))

To merge the parsers p and p', such as in and_then p p', it requires me to formally demonstrate that p' is injective.
let proof_p'_injective ()
  : Lemma (ensures (forall x1 x2 b1 b2 . and_then_cases_injective_precond p' x1 x2 b1 b2 ==> x1 == x2))
  =
  let proof_p'_injective_aux (x1 x2: uint16) (b1 b2: bytes)
    : Lemma (requires and_then_cases_injective_precond p' x1 x2 b1 b2) (ensures x1 == x2)
       [SMTPat (parse (p' x1) b1); SMTPat (parse (p' x2) b2)]
    =
    and_then_eq parse_u32 (fun v2 -> parse_ret ({ num1 = x1; num2 = v2 })) b1;
    and_then_eq parse_u32 (fun v2 -> parse_ret ({ num1 = x2; num2 = v2 })) b2;
    let Some (v1, _) = parse (p' x1) b1 in
    let Some (v2, _) = parse (p' x2) b2 in
    assert (v1.num1 == x1);
    assert (v2.num1 == x2);
    ()
  in
  ()

let parse_simple_struct =
  proof_p'_injective ();
  and_then p p'

Could there be a more efficient method to construct a parser for simple_struct? Are there any examples I could reference for using monadic parser combinators?
Thank you!

@tahina-pro should comment.
But, using and_then directly is often inconvenient. parse_dtuple2 is often easier to use:
https://github.com/project-everest/everparse/blob/master/src/lowparse/LowParse.Spec.Combinators.fsti#L1186
Also, if you really need to use and_then directly, then these lemmas (and others nearby in the same file) help with decomposing the injectivity proof: https://github.com/project-everest/everparse/blob/master/src/lowparse/LowParse.Spec.Combinators.fsti#L327

I tried parse_dtuple2, it is indeed much easier to use. Thank you for the suggestions!


Unused blacklist variable in clean-tag

Hey I was reading through some of the new updates in the code and I came across this inside clean-tag
...
const blacklist = [ ...Object.keys(allPropTypes), 'theme' ]

export const omit = (obj, keys) => {
  const next = {}
  for (let key in obj) {
    if (keys.indexOf(key) > -1) continue
    next[key] = obj[key]
  }
  return next
}

export const Tag = React.forwardRef(({
  is: Tag = 'div',
  blacklist = [],
  ...props
}, ref) => React.createElement(Tag, {
  ref,
  ...omit(props, blacklist)
}))

Tag.displayName = 'Clean.div'

Tag.defaultProps = {
  blacklist
}

tags.forEach(tag => {
  Tag[tag] = props => React.createElement(Tag, { is: tag, ...props })
  Tag[tag].displayName = 'Clean.' + tag
})

export default Tag

...

Now I might be going crazy but from the code above it seems that the blacklist variable declared above Tag is never used?

It's used here, unless I'm crazy, which is possible:
Tag.defaultProps = {
  blacklist
}

No your right for some reason it looked like that part was enclosed in the export const Tag =  stuff my bad


Fix for aliased columns in mappable and metable select

When we do a select like select('field1') and field1 and this field is mapped by eloquence as 'column1' it will make a query like "select column1 as field1".
this results in that the attributes is filled with 'field1' instead of column1.
The query should be “select column1” so mappable could do his work.
This is an issue when we use the toArray method in conjunction with the visible option of eloquent.

Changes Unknown when pulling 0c2f1878b3ecfe2a90d8a557556bec9b3469a2ba on rickatultraware:5.2 into ** on jarektkaczyk:5.2**.

This Alsof fixes:
https://github.com/jarektkaczyk/eloquence/issues/105

Thanks, but this is wrong. It should, however, select the real column when you try to do  select(mapping), but definitely not change the way extract alias works. If you can amend it would be cool.

Can you explain Why you think it is wrong. In my opinion extract alias extracts the given alias.  In
"select column1 as field1" the alias is field1.  In  "select column1" there is no alias so null is returned.

Because you're changing the way it works, and is not only for  Mappable. What we want is not to change it but to customize Mappable itself, so it simply replaces select(mapping) with select(mapped_col)

https://github.com/jarektkaczyk/eloquence/pull/107


Create README for HWT

Create a README file in the HWT params directory that describes how stats are generated, viewer docker is set up, socrecards created, possible directories and other useful information

Discussed in meeting 7/23/2020 that this has been completed and should be closed.


Iterate from minimum value

I have a use case where I need to iterate all values greater than a specific number. The bitmaps I'm working with are huge, so using .iter().skipWhile is too slow. I've had a look at the contains method is implemented, and a sound approach to achieve what I need would probably be to do a binary search to find the starting container, and iterate from there, introducing a new method RoaringBitmap.iter_from(&self, min_value: u32)
I just wanted to check if anyone have any insights or opinions on this before I start implementing, or if there is an api to achieve this already that I have somehow missed?

Hey @grelner 👋
I am wondering if it would be better to implement a new method directly on the RoaringBitmap iterator instead of having another iterator constructor.
The method signature would be Iter::skip_to(&self, n: u32) -> SkipTo<Self> working exactly like the SkipWhile iterator adapter but being much more optimized. A call to SkipTo::next would make the iterator skip all the useless internal collections.
I am wondering if we want to introduce four methods on the four iterators (bitmap and treemap with the ref and owned ones) or if we want to declare a new trait 🤔
What do you think?

Hi @Kerollmops
Implementing it on the iterators rather than a new constructor on RoaringBitmap is a great idea! It would probably be much cleaner to implement. I've looked into the constructor way, and it would require adding support functions in the entire call chain (RoaringBitmap, Container, ArrayStore, BitmapStore). Using your suggestion we can avoid most of that.
As for the trait, why not? It may be useful for someone at some point

@grelner, do you plan to implement it and propose a PR? I will be happy to review one and you should probably start without the trait, we can introduce it later in the same PR.

In the CRoaring bindings, I used the name reset_at_or_after, though that's because the c implementation (roaring_uint32_iterator_move_equalorlarger) allows moving both forward or backward.

I've run into a rust quirk I haven't encountered before in my implementation. I want to preserve the DoubleEndedIterator after the skip_to call, so that you can still both go backwards and forwards from the point you skipped to.
To do this I need something like slice::Iter in ArrayStore that can be moved to a specific offset. I could pretty easily implement this myself, but slice::Iter is highly optimized and uses a few unstable calls so I can't really copy the code and modify it. Any tips on how to achieve this efficiently?

Hey @grelner 👋
You should take inspiration from the SkipWhile iterator and as you can see you it doesn't support DoubleEndedIterator.

Think it's worth looking at what the lowest level abstraction would be. I'd argue (similar to advance_by unstablely in std) that the more fundamental operation is advancing an iterator in place until right before the desired location.

Hey @grelner 👋
After thinking a little bit more about this issue I am wondering if implementing a non-lazy advance_to method couldn't be easier, indeed.
Like you just remove the Flatten combinator and move forward until you find the right container iterator and then skip the items from this one until you reach the number.
What do you think?

Hi @Kerollmops , that is essentially what I have implemented in #287 . There are a couple of things I'm not happy with in that PR tho, but I'll clean it up hopefully at some point in the next days, and mark it ready for review


"Could not find gem" when running default docker-compose.yml for latest al-folio docker image

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
The jekyll site does not finish initializing and is unreachable at localhost:8080.
How to reproduce the bug
System
MacBook Air
Apple M3
Sonoma 14.4.1
Steps

Clone the repo
docker compose up (with this docker image)

Error messages and logs
Behavior
[+] Running 2/0
 ✔ Network doyled-itgithubio_default     Created                                                                                0.0s
 ✔ Container doyled-itgithubio-jekyll-1  Created                                                                                0.0s
Attaching to jekyll-1
jekyll-1  | /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/resolver.rb:332:in `raise_not_found!': Could not find gem 'jekyll-tabs' in locally installed gems. (Bundler::GemNotFound)
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/resolver.rb:392:in `block in prepare_dependencies'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/resolver.rb:377:in `each'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/resolver.rb:377:in `map'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/resolver.rb:377:in `prepare_dependencies'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/resolver.rb:61:in `setup_solver'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/resolver.rb:28:in `start'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/definition.rb:626:in `start_resolution'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/definition.rb:311:in `resolve'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/definition.rb:579:in `materialize'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/definition.rb:203:in `specs'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/definition.rb:270:in `specs_for'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler/runtime.rb:18:in `setup'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/bundler-2.5.7/lib/bundler.rb:162:in `setup'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/jekyll-4.3.3/lib/jekyll/plugin_manager.rb:52:in `require_from_bundler'
jekyll-1  | 	from /var/lib/gems/3.0.0/gems/jekyll-4.3.3/exe/jekyll:11:in `<top (required)>'
jekyll-1  | 	from /usr/local/bin/jekyll:25:in `load'
jekyll-1  | 	from /usr/local/bin/jekyll:25:in `<main>'

What operating system are you using?
Mac
Where are you seeing the problem on?
Running locally with Docker
More info
Fix (for me)
I changed the entry point to include bundle install on line 3.
And added this to the docker-compose.yml volume:
- ./bin/entry_point.sh:/tmp/entry_point.sh
entry_point.sh:
#!/bin/bash

bundle install

CONFIG_FILE=_config.yml

/bin/bash -c "rm -f Gemfile.lock && exec jekyll serve --watch --port=8080 --host=<IP_ADDRESS> --livereload --verbose --trace --force_polling"&

while true; do

  inotifywait -q -e modify,move,create,delete $CONFIG_FILE

  if [ $? -eq 0 ]; then

    echo "Change detected to $CONFIG_FILE, restarting Jekyll"

    jekyll_pid=$(pgrep -f jekyll)
    kill -KILL $jekyll_pid

    /bin/bash -c "rm -f Gemfile.lock && exec jekyll serve --watch --port=8080 --host=<IP_ADDRESS> --livereload --verbose --trace --force_polling"&

  fi

done

This allowed me to run the docker container and reach the dev version of my website.

Yep. This is a temporary fix.
You could also do docker compose build and then docker compose up to fix it.
By the way can you paste the content of yourGemfile.lock here?

Related to #2384.


Compatibility with Elasticsearch 2.1.1?

I'm currently running on elasticsearch 2.1.1, and would like to use this plugin, however, I note that the documentation only goes up to version 1.7.0 of elasticsearch.
Are there any plans to update this plugin?

I just released version <IP_ADDRESS> of the naturalsort plugin.
Note that token filter is gone. To use naturalsort, there is a pre-defined analyzer called "naturalsort".

Hi, thanks; I only realised afterwards that this is now covered by the icu-analysis plugin, as far as I can tell.

Will there be a version for Elasticsearch 2.3.3 soon?

I just released <IP_ADDRESS> for Elasticsearch 2.3.3


Generate spec in yml format

Problem statement

May i ask if there is a way to generate a spec in yml format directly by using go-swagger ?
May i ask if i can optionally "not generate" "x-go-name" by using go-swagger as i don't wanna the spec file go specific ?

There are 2 PRs merged for these requirements. Use the latest swagger command

To generate yml format spec, simply specify a output file name with .yml or yaml extension. For example, swagger generate spec -o openapi.yml
To avoid generate go extension, do SWAGGER_GENERATE_EXTENSION=false && swagger generate spec -o openapi.yml

@chenziliang could you be so kind as to add the above to the documentation? It is here:
https://github.com/go-swagger/go-swagger/blob/master/docs/use/spec.md


How to differentiate two toggle buttons on same page

Is there a way to know which toggle button called the action function. The toggle only has one parameter (isToggeled) so how else can i send the Id of the button that triggered the action?

Good idea, how about if you received toggled(isToggled, toggleName) {} where name is set by {{x-toggle name='first'}}?

Your suggestion toggled(isToggled, toggleName) should work fine. The workaround will not work in my case since they buttons a dynamically generated with an id for each of them. So i am guessing that {{x-toggle name=controller.someid}} should work alright?

So i am guessing that {{x-toggle name=controller.someid}} should work alright?

Exactly.

Oh thanks for the fast response. i just downloaded the addon, and this is what is currently stopping me from using it.

Ok, I'l let you know once the feature lands (before the end of this week, maybe tomorrow). Stay tuned.

                                                                                Thanks                                                                                From: Ilya RadchenkoSent: Thursday, August 27, 2015 5:51 PMTo: knownasilya/ember-cli-toggleReply To: knownasilya/ember-cli-toggleCc: izukingzSubject: Re: [ember-cli-toggle] How to differentiate two toggle buttons on same page (#36)Ok, I'l let you know once the feature lands (before the end of this week, maybe tomorrow). Stay tuned.

—Reply to this email directly or view it on GitHub.

Should be released as v0.6.0. Let me know if it works for you.

Works great. Thanks a lot.


Follow Markdown Link

#24
Everything is working as far as my testing could tell. I'm slightly concerned that I over engineered the solution a bit, though. I wanted to make sure that the links could find the file regardless of whether it was in a sub-directory or not plus account for functionality if the link contained a complete reference to the path of the  note. The solution I landed on was to just scan the entire vault directory looking for a matching note and routing there, unless the note name was ambiguous.

Looks great! I'll test this out right now. Looks like the Style and Lint checks are complaining about some minor things


include only pertinent files in npm package

ignores test files, .eslintrc, etc

I added README.md so the documentation is always available when using the module, and published 1.0.2

@assaf npm automatically includes the README and LICENSE regardless of if it is in the files array. Just FYI.

I a) didn't know that it does that, and b) not going to remember that it does that tomorrow. I'm going to go with explicit over "only apparent to people who memorized the entire NPM spec".

I wasn't recommending that you remove it, only rationale for me not
includeing it. And good point. :+1:
On Sat, Mar 26, 2016, 7:04 PM Assaf Arkin<EMAIL_ADDRESS>wrote:

I a) didn't know that it does that, and b) not going to remember that it
does that tomorrow. I'm going to go with explicit over "only apparent to
people who memorized the entire NPM spec".
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/broadly/caching-map/pull/3#issuecomment-201947513

Sorry. Didn't mean to be rude.
Often PRs get referenced elsewhere, e.g this is a change that I plan to roll out to other projects I'm working on, so as matter of practice I try to capture as much detail as possible, even if it's post-merge. So this wasn't a comment on your contribution, which is great, but more of what I should be doing in the next project, and the project after ...


New version: StefHeyenrath.GitHubReleaseNotes <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @StefH,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 776.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-21 03:42:02.376 [FAIL] Installer failed security check. Url: https://github.com/StefH/GitHubReleaseNotes/releases/download/<IP_ADDRESS>/GitHubReleaseNotes.zip Result: 0x80004005 2024-02-21 03:42:02.376 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6

(Automated response - build 776.)

@wingetbot run

Hello @stephengillie,
Can you please advice what to check? Because the Azure Pipelines do not display any error information, so I don't know what's wrong.
Note that I've changed this application to a .NET 8 : SelfContained and SingleFile:
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>True</SelfContained>
<PublishTrimmed>false</PublishTrimmed>

Installing the application locally works fine.
winget install --manifest  <IP_ADDRESS>

Found GitHubReleaseNotes [StefHeyenrath.GitHubReleaseNotes] Version <IP_ADDRESS>
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "GitHubReleaseNotes"
Successfully installed

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-22 21:51:54.053 [FAIL] Installer failed security check. Url: https://github.com/StefH/GitHubReleaseNotes/releases/download/<IP_ADDRESS>/GitHubReleaseNotes.zip Result: 0x80004005 2024-02-22 21:51:54.054 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6

(Automated response - build 808.)

Hello @stephengillie,
Can you please advice what to check? Because the Azure Pipelines do not display any error information, so I don't know what's wrong.

Hi @StefH,
Sorry for the lack of information. These logs are in the ADO run artifacts, which are several links off the main ADO pipeline, inside a ZIP file.

From the ADO pipeline run,
Find the link named 4 published; 1 consumed

This might be "3 published 1 consumed" or another variation of integers.

Find "InstallationVerificationLogs" line and follow to the far right edge.
Click the 3 dots, and click "Download artifacts"
Unzip the download, scrape for "error", "fail", and "exception".

Or feel free to use the script I made to automate this.

@wingetbot run

Hi @StefH,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 813.)

@wingetbot run

Hi @StefH,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 821.)

Automatic Validation ended with:

Installation failed with exit code -1978335187 2024-02-26 06:24:35.056 [FAIL] Installer failed security check. Url: https://github.com/StefH/GitHubReleaseNotes/releases/download/<IP_ADDRESS>/GitHubReleaseNotes.zip Result: 0x80004005 2024-02-26 06:24:35.056 [CLI ] Terminating context: 0x8a15002d at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\DownloadFlow.cpp:1e6

(Automated response - build 821.)

@wingetbot run

Hi @StefH,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 855.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-02-28 07:57:55.158 [FAIL] Installer failed security check. Url: https://github.com/StefH/GitHubReleaseNotes/releases/download/<IP_ADDRESS>/GitHubReleaseNotes.zip Result: 0x80004005

(Automated response - build 855.)

@wingetbot run

Hi @StefH,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 858.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-03-01 10:06:20.676 [FAIL] Installer failed security check. Url: https://github.com/StefH/GitHubReleaseNotes/releases/download/<IP_ADDRESS>/GitHubReleaseNotes.zip Result: 0x80004005

(Automated response - build 858.)

Hi @StefH,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 861.)

@wingetbot run

@wingetbot run

@stephengillie
I see indeed that the scan on the Windows machine shows an error from Microsoft Defender Antivirus:

However scanning the zip file locally does not reveal any issues.
Also uploading the zip file to https://www.virustotal.com shows no errors:

What can I do to resolve this?

Hi @StefH,
What's needed to resolve is to pass a Defender scan within the validation pipeline. My automation would be retrying, but this is blocked. If you could commit any change - even something mundane such as a line break or space - it would also trigger the automation to retry.

Hi @StefH,
What's needed to resolve is to pass a Defender scan within the validation pipeline. My automation would be retrying, but this is blocked. If you could commit any change - even something mundane such as a line break or space - it would also trigger the pipeline to retry.

I did update a file.

@stephengillie
Thanks for your support.
One if these days I will release a new version. Let's hope that it goes ok.


Homebrew install fails

Reproducible failure when trying to install via Homebrew.
(install via git clone, make succeeded)
> brew install SwagGen
==> Installing SwagGen from yonaskolb/swaggen
==> Downloading https://github.com/yonaskolb/SwagGen/archive/2.1.0.tar.gz
Already downloaded: /Users/erwin/Library/Caches/Homebrew/SwagGen-2.1.0.tar.gz
==> make install PREFIX=/usr/local/Cellar/SwagGen/2.1.0
Last 15 lines from /Users/erwin/Library/Logs/Homebrew/SwagGen/01.make:
Cloning https://github.com/kylef/PathKit.git
Resolving https://github.com/kylef/PathKit.git at 0.8.0
Cloning https://github.com/onevcat/Rainbow.git
Resolving https://github.com/onevcat/Rainbow.git at 2.1.0
Cloning https://github.com/kylef/Spectre.git
Resolving https://github.com/kylef/Spectre.git at 0.7.2
Cloning https://github.com/jpsim/Yams.git
Resolving https://github.com/jpsim/Yams.git at 0.5.0
Cloning https://github.com/yonaskolb/JSONUtilities.git
Resolving https://github.com/yonaskolb/JSONUtilities.git at 3.3.8
Cloning https://github.com/jakeheis/SwiftCLI
Resolving https://github.com/jakeheis/SwiftCLI at 5.0.0
Cloning https://github.com/yonaskolb/Stencil.git
Resolving https://github.com/yonaskolb/Stencil.git at 0.9.3
make: *** [build] Error 1

If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
yonaskolb/swaggen

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:220:in `raise_api_error': curl failed!  (GitHub::Error)
curl: (22) The requested URL returned error: 422 Unprocessable Entity
curl: (3) <url> malformed
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:178:in `open_api'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:292:in `search'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:225:in `search_issues'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:238:in `issues_for_formula'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:368:in `fetch_issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:364:in `issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:418:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:133:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:25:in `<main>'

Strange, it's working for me. If using make works I assume you have Swift 4.1?
Can you run brew in verbose mode?
brew install swaggen --verbose

Doing brew install swaggen --verbose yields
> brew install swaggen --verbose
==> Installing SwagGen from yonaskolb/swaggen
/usr/bin/sandbox-exec -f /tmp/homebrew20180531-72568-5x91qm.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/yonaskolb/homebrew-swaggen/Formula/SwagGen.rb --verbose
==> Downloading https://github.com/yonaskolb/SwagGen/archive/2.1.0.tar.gz
Already downloaded: /Users/erwin/Library/Caches/Homebrew/SwagGen-2.1.0.tar.gz
==> Verifying SwagGen-2.1.0.tar.gz checksum
tar xzf /Users/erwin/Library/Caches/Homebrew/SwagGen-2.1.0.tar.gz
==> make install PREFIX=/usr/local/Cellar/SwagGen/2.1.0
swift build --disable-sandbox -c release -Xswiftc -static-stdlib
Compile CYaml src/scanner.c
Compile CYaml src/writer.c
Compile CYaml src/emitter.c
Compile CYaml src/reader.c
Compile CYaml src/api.c
Compile CYaml src/parser.c
Compile Swift Module 'SwiftCLI' (20 sources)
Compile Swift Module 'Spectre' (8 sources)
/Applications/Apps/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] [extern_c] {
       ^
/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
       ^
1 error generated.
/Applications/Apps/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] [extern_c] {
       ^
/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
       ^
1 error generated.
/Applications/Apps/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] [extern_c] {
       ^
/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
       ^
1 error generated.
/Applications/Apps/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] [extern_c] {
       ^
/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
       ^
/Applications/Apps/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] [extern_c] {
       ^
/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
       ^
/Applications/Apps/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'
module libxml2 [system] [extern_c] {
       ^
/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
       ^
error: terminated(1): /Applications/Apps/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /private/tmp/SwagGen-20180531-72570-jgx2du/SwagGen-2.1.0/.build/release.yaml main output:

Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/yonaskolb/Stencil.git
Cloning https://github.com/kylef/PathKit.git
Resolving https://github.com/kylef/PathKit.git at 0.8.0
Cloning https://github.com/onevcat/Rainbow.git
Resolving https://github.com/onevcat/Rainbow.git at 2.1.0
Cloning https://github.com/kylef/Spectre.git
Resolving https://github.com/kylef/Spectre.git at 0.7.2
Cloning https://github.com/jpsim/Yams.git
Resolving https://github.com/jpsim/Yams.git at 0.5.0
Cloning https://github.com/yonaskolb/JSONUtilities.git
Resolving https://github.com/yonaskolb/JSONUtilities.git at 3.3.8
Cloning https://github.com/jakeheis/SwiftCLI
Resolving https://github.com/jakeheis/SwiftCLI at 5.0.0
Cloning https://github.com/yonaskolb/Stencil.git
Resolving https://github.com/yonaskolb/Stencil.git at 0.9.3
make: *** [build] Error 1

==> Formula
Tap: yonaskolb/swaggen
Path: /usr/local/Homebrew/Library/Taps/yonaskolb/homebrew-swaggen/Formula/SwagGen.rb
==> Configuration
HOMEBREW_VERSION: 1.6.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: e4c02fafdaef5676cf40dd6d16e74976cf54b265
Last commit: 6 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 15883bdf7b7143da80587921fa0d1b857718f531
Core tap last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_ENABLE_AUTO_UPDATE_MIGRATION: 1
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 9.1 build 902
Git: 2.15.1 => /Applications/Apps/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: N/A
macOS: 10.13.4-x86_64
CLT: <IP_ADDRESS>.1.1521514116
Xcode: 9.4 => /Applications/Apps/Xcode.app/Contents/Developer
XQuartz: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/bin:/bin:/usr/sbin:/sbin

Error: yonaskolb/swaggen/SwagGen 2.1.0 did not build
Logs:
     /Users/erwin/Library/Logs/Homebrew/SwagGen/01.make
     /Users/erwin/Library/Logs/Homebrew/SwagGen/00.options.out
     /Users/erwin/Library/Logs/Homebrew/SwagGen/01.make.cc
If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
yonaskolb/swaggen

/usr/local/Homebrew/Library/Homebrew/utils/github.rb:222:in `raise_api_error': curl failed!   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current (GitHub::Error)
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 422 Unprocessable Entity
curl: (3) <url> malformed
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:180:in `open_api'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:294:in `search'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:227:in `search_issues'
	from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:240:in `issues_for_formula'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:368:in `fetch_issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:364:in `issues'
	from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:418:in `dump'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:133:in `rescue in <main>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:25:in `<main>'

Swift version:
> swift
Welcome to Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-9<IP_ADDRESS>). Type :help for assistance.
  1>

Looks like the same issue as here https://github.com/yonaskolb/XcodeGen/issues/283

This is due to changes in Xcode 9.3 that homebrew doesn't deal with well.
Fixed in https://github.com/yonaskolb/SwagGen/commit/7e359f8c8b6e4f7868ed61c4bc40c79ffa5c8ce9 and released in 2.1.1
@erwinmaza feel free to reopen this if you have any more issues

Possible fix for homebrew https://github.com/Homebrew/brew/pull/4147


Added pysmbc recipe

Cousin PR to https://github.com/NSLS-II/lightsource2-recipes/pull/74

Thanks for the fast turn-around @arkilic.


How to log Destination Cluster/Source Cluster in Envoy's log

Istio standard metrics has two labels:

Destination Cluster
Source Cluster

Can I access this information in Envoy's logs?
Envoy Log: https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage

you can try with "%CEL(filter_state['wasm.upstream_peer'].cluster_id)%" in istio 1.20, I cannot recall the first supported version.

you can try with "%CEL(filter_state['wasm.upstream_peer'].cluster_id)%" in istio 1.20, I cannot recall the first supported version.

@zirain
In the following example:
cat l.json | jq '.[].filterChains[-1].filters[-1].typedConfig.httpFilters[].name'
"istio.metadata_exchange"
"envoy.filters.http.grpc_stats"
"istio.alpn"
"envoy.filters.http.fault"
"envoy.filters.http.cors"
"istio.stats"
"envoy.filters.http.router"

filter istio.metadata_exchange set FILTER_STATE ?
With Envoy's Document, i think we should access metadata by %FILTER_STATE()%
with "%FILTER_STATE(wasm.upstream_peer::)%", i got

"cluster_id": {
    "@type": "type.googleapis.com/google.protobuf.BytesValue",
    "value": "IAAAAAAAGgAsACgAJAAMACAAHAAAABgAFAAIABAABAAaAAAAKAAAACwAAAAwAAAAWAAAAHAAAAAQAwAAsAIAABQDAABUAAAA1AIAAAEAAAC4AgAAAQAAAFgAAAAKAAAAJAEAAOQAAACwAQAAFAIAAHgBAABAAgAAjAAAAEgAAADMAQAAKAEAAAsAAABjbi1zaGFuZ2hhaQAGAAAAdGVuc29yAAAEAAAAdGVzdAAAAAAPAAAAcml2ZXItd2F0ZXJzaGVkABj+//8UAAAABAAAAAYAAABsYXRlc3QAACMAAABzZXJ2aWNlLmlzdGlvLmlvL2Nhbm9uaWNhbC1yZXZpc2lvbgBY/v//HAAAAAQAAAAPAAAAcml2ZXItd2F0ZXJzaGVkAB8AAABzZXJ2aWNlLmlzdGlvLmlvL2Nhbm9uaWNhbC1uYW1lAJz+//8cAAAABAAAAA8AAAByaXZlci13YXRlcnNoZWQAFgAAAGFwcC5rdWJlcm5ldGVzLmlvL25hbWUAANj+//8cAAAABAAAAA8AAAByaXZlci13YXRlcnNoZWQAAwAAAGFwcAAA////GAAAAAQAAAALAAAAY24tc2hhbmdoYWkAGQAAAHRvcG9sb2d5LmlzdGlvLmlvL25ldHdvcmsAAAA8////FAAAAAQAAAAHAAAAZGVmYXVsdAARAAAAZWNoby50ZWNoL3ZlcnNpb24AAABs////FAAAAAQAAAAHAAAAZW5hYmxlZAAUAAAAZWNoby50ZWNoL2ltLWRlZmF1bHQAAAAAoP///xQAAAAEAAAABAAAAHRydWUAAAAAFwAAAHNpZGVjYXIuaXN0aW8uaW8vaW5qZWN0ANT///8UAAAABAAAAAYAAAB0ZW5zb3IAAA4AAABlY2hvLnRlY2gvdGVhbQAACAAMAAQACAAIAAAAFAAAAAQAAAAFAAAAaXN0aW8AAAAZAAAAc2VjdXJpdHkuaXN0aW8uaW8vdGxzTW9kZQAAABcAAAByaXZlci13YXRlcnNoZWQtZGVmYXVsdAAOAAAAMTcyLjIwLjEwMC4xNTQAACcAAAByaXZlci13YXRlcnNoZWQtZGVmYXVsdC1mZjU5ZDg1YzgtdHNobDUABgAAADEuMjAuMAAATwAAAGt1YmVybmV0ZXM6Ly9hcGlzL2FwcHMvdjEvbmFtZXNwYWNlcy90ZW5zb3IvZGVwbG95bWVudHMvcml2ZXItd2F0ZXJzaGVkLWRlZmF1bHQA"
  }

Is there any way to parse value?
What does CEL mean?

CEL is an envoy accesslog formatter, checkout the doc: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/formatter/cel/v3/cel.proto#extensions-formatter-cel-v3-cel

FILTER_STATE is encoded in flatbuffer, which is difficult for humans to read.

CEL is an envoy accesslog formatter, checkout the doc: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/formatter/cel/v3/cel.proto#extensions-formatter-cel-v3-cel

some information to others who need it

formatter-cel can be used in SubstitutionFormatString
FileAccessLog does not use SubstitutionFormatString
StdoutAccessLog use SubstitutionFormatString

So, if i want to use cel expresion in log, i have to use StdoutAccessLog replace FileAccessLog.

FileAccessLog does not use SubstitutionFormatString

I don't think this's right.

FileAccessLog does not use SubstitutionFormatString

I don't think this's right, following configuration is valid.
- name: envoy.access_loggers.file
          typedConfig:
            '@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
            logFormat:
              formatters:
              - name: envoy.formatter.cel
                typedConfig:
                  '@type': type.googleapis.com/envoy.extensions.formatter.cel.v3.Cel
              textFormatSource:
                inlineString: |
                  [%START_TIME%] %CEL(response.grpc_status)% "%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %RESPONSE_CODE_DETAILS% "%UPSTREAM_TRANSPORT_FAILURE_REASON%" %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-REQUEST-ID)%" "%REQ(:AUTHORITY)%" "%UPSTREAM_HOST%" %UPSTREAM_CLUSTER% %UPSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_REMOTE_ADDRESS% %REQUESTED_SERVER_NAME% %ROUTE_NAME%
            path: /dev/stdout

Yes, you are right


improve message of PackageDeclarationStyle

Was investigating an issue in a codebase today where a PackageDeclarationStyle issue was reported.
From the current issue description it was not really clear what was wrong in my code in the first place. This gives both cases this rule checks a clearer CodeSmell#message.
Should we rename this rule? Having it called PackageDeclarationStyle but it actually also checks the linebreak in between imports and the class declaration is a bit confusing.

I am sure that we can find a better name.
SpacingBetweenPackageAndImports


Tesseract 5 for Android?

Your Feature Request
Does anybody have a pre-build version of Tesseract 5 for Android or a guide on how build it from source?

Please respect the guidelines for posting issues: use tesseract user forum for asking questions/support.


github-pull-request-notifier should support new issues filed as well as new pull requests (since they are very similar in Github's API)

Hi @dbkaplun, thanks for the feature request. This repository is actually deprecated (see https://github.com/github/hubot-scripts/issues/1113) and we won't be making any enhancements to the scripts here. You're welcome to use the existing github-pull-request-notifier script as a starting point and publish a new package with the features you want. Let me know if you have any questions.


DNM: Add tests for delta XDS

This allows checking for various delta xds bugs: missed deletions, extra deletions, missed updates, and areas we send NOP updates that we can optimzie.
We definitely cannot merge it in its current state, just pushing to share it.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all


[OpenType] Language System Tag for Uralic Phonetic Alphabet

There is a registered IETF language tag for the Uralic Phonetic Alphabet, just like there are for the International Phonetic Alphabet and the Americanist Phonetic Alphabets.
There are Language System Tags for IPA and APA, there should be one for UPA as well.
For example, phonetic data transcribed with UPA typically uses U+0251 ɑ with a shape different from the typicall IPA form.

Language System
Language System Tag
Corresponding ISO 639 ID (if applicable)

Phonetic transcription—Uralicist conventions
'UPPH'

See OT 1.9.1 alpha for draft revisions addressing this issue.

This is fixed in OT 1.9.1. See the OT 1.9.1 beta for draft revisions addressing this issue.


Response Timer: Tabular Nums Styling

This prevents the timer to constantly change its width → the text doesn't jump anymore.
BEFORE
https://user-images.githubusercontent.com/12849807/125127540-f3b46b80-e0fc-11eb-867a-dc314ce4a820.mov
AFTER
https://user-images.githubusercontent.com/12849807/125127651-1e062900-e0fd-11eb-9d6e-606439ed7905.mov

This is one of those fixes I didnt realize I needed until I saw the difference. Nice work! I've requested a review from one of the devs.
Thanks for the contribution!

Thanks for the contribution!
Be sure to apply for your Insomnia contributor shirt!

Thanks @reynolek @dimitropoulos @develohpanda, I really appreciate how responsive you are! ❤


Fix reset production errors on sentry

There are three commits:

Fixes error:

Determination.DoesNotExist /{var}
Unhandled Determination matching query does not exist.

Fixes the error while assigning reviewers.

Fixes the error while accessing /search on public site.

@frjo, I am still trying to figure out the error we are getting while saving/publishing the funds.
If that is not done by today, and other fixes are urgent you may go ahead and deploy these.

I will merge this one now since they work and fix issues we are having. I also prefer to many smaller deploys.
Please open new PR when you figured out the fund issue Reset are having. I tried for two days before giving up and passed it on to you :-).


[SPARK-39977][BUILD] Remove unnecessary guava exclusion from jackson-module-scala

What changes were proposed in this pull request?

Remove unnecessary guava exclusion from jackson-module-scala
Why are the changes needed?

The exclusion added in SPARK-6149, the recent versions of  jackson-module-scala does not depend on gauva any more, so we can remove this exclusion.
https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-scala_2.12/2.13.3
Does this PR introduce any user-facing change?

No
How was this patch tested?

Exsiting UT.

Can one of the admins verify this patch?

cc @wangyum, could u please take a look on this minor issue?


Multi-session image SKU name change

It appears the SKU name for the Windows 10 Multi-session SKU has changed.  Windows-10 21h1 was the last image to use the "evd" suffix for Multi-session SKUs. From 21h2 the "evd" suffix appears to have changed to "avd".
I am unable to find this documented anywhere.  The example on this page of a multi-session image is as follows:
"sku": "20h2-evd",
Clarification of this change of suffix on the SKU would be much appreciated.
Many thanks,
Andrew

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

ID: fdd1ceed-3b0d-e6ea-c508-c17a7cadddd1
Version Independent ID: 1ec9906b-ea9d-535b-9523-5f45aa34212f
Content: Create an Azure Virtual Desktop image by using Azure VM Image Builder - Azure Virtual Machines
Content Source: articles/virtual-machines/windows/image-builder-virtual-desktop.md
Service: virtual-machines
Sub-service: image-builder
GitHub Login: @kof-f
Microsoft Alias: kofiforson

@APEThomas
Thanks for your feedback! We will investigate and update as appropriate.

@kof-f
Can you please review above query.

Hi @APEThomas
Please refer below examples for Windows 10 Multi-session.
In addition, you can use the Azure PowerShell command "Get-AzVMImageSku" to find the available images in a specific location and publisher. For example, to find the available Windows 10 Multi-session images in the West US region, you can run the following command:
Get-AzVmImageSku -Location 'West US' -PublisherName 'MicrosoftWindowsDesktop' -Offer 'Windows-10' -Sku 'avd'
This will return a list of available Windows 10 Multi-session images in the West US region, including the version and SKU.
The example you provided is for an older version of Windows 10 Multi-session, which used the "evd" suffix. As I mentioned earlier, starting with Windows 10 version 21H2, the "evd" suffix has been changed to "avd". So, the example you provided should be updated to:
"publisher": "MicrosoftWindowsDesktop",
"offer": "Windows-10",
"sku": "20h2-avd",
"version": "latest"
Please keep in mind that the "version" parameter can also be set to a specific version number, such as "20h2" or "21h1", instead of "latest".

@APEThomas
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.

Hi @APEThomas
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@SaibabaBalapur-MSFT
Using new sku:win10-22h2-avd generated from command below:
Get-AzVmImageSku -Location 'Sweden Central' -PublisherName 'MicrosoftWindowsDesktop' -Offer 'Windows-10'
This does not apply as multi session image but rather a regular 'Windows 10 Enterprise for Virtual Desktops', how do we know which sku is multi session based and not?


lib/modules: add attrArgName

Description of changes
Make the name module parameter configurable, so that extendModules/moduleType can be reused as a submodule type more than once, and so that the parameter can be domain-specific.
Closes #177564.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

I don't like this fix. The fact that a duplicate definition error occurs is an implementation detail, so it shouldn't have a user-facing. However, the capability of being able to specify the attribute name for "name" seems useful in itself. In fact, this is very similar to this PR and relates to that discussion: https://github.com/NixOS/nixpkgs/pull/97378#issuecomment-832355903

The problem solved by this PR is not blocking other work anymore, at least not for me.
I've found another way of dealing with this. The #97378 discussion reminded me that it doesn't have to be attrsOf moduleType. By making it attrsOf (submodule (f moduleType)), I can avoid #177564.

Not terrible, not great, but not needed, so closing.
Fwiw, I also looked into making attrsOf pass the name explicitly, but couldn't find an easy solution.
Rough idea: types have a parameter that represents what context they expect to receive. (a crude coeffect system? Don't quote me on this)
So if attrsOf has now has type type -> type, we could make that
attrsOf   :: type (str -> c) -> type c

for all "type contexts" c.
A type context would be the same as, or convertible to module args.
This also enables currying; perhaps a working principled behind an alternative solution to #97378
x: attrsOf (attrsOf x)   :: type (str -> str -> c) -> type c

We can now also give descriptive types to other functions:
int :: type a
  # for any a

submoduleWith  :: { modules :: [module], contextualModule :: f module, ... } -> type (f module)
  # for any function f, ie not just type constructors

mkOption       :: { type :: type module, ... } -> option
  # most types are `type module` by virtue of being `forall a. type a`
  # while hardcoding `module` here is probably fine and it encodes
  # the completeness of modules nicely, we might want to support
  # something more general here, although I don't think we have any other
  # context aware types.
  # These types are for design purposes only anyway, so it doesn't really matter.

I would really like such semantics to back the feature and it seems quite feasible to implement it.
However, I'm dealing with plenty of more practical matters now, so I'll close it.


Add Occitan language

Sorry for the delay, but I've finally added you translation to a new update.


feat: remove stx sub-balance

Try out this version of the Hiro Wallet - download extension builds.

See title.

yeah, removed


Feature request: prevent blobs fragmentation by saving files in separate packs

Hi @aawsome, in case you don't recall I'm the one who first proposed to rewrite restic in Rust. I see that a lot has happened since then, thanks for your efforts! I'm looking forward to start using rustic in production once it gets stable.
I'd like to suggestion a new feature that could be added to the list of improvements implemented in rustic to make backups quicker (in particular with SSD) and reduce blobs fragmentation.
Reading several files concurrently reduces backup time, in particular with modern SSD drives, as explained here. However with restic this also increases blobs fragmentation, because blobs coming from different files are saved in the same pack, se this restic issue.
To improve performance and reduce blobs fragmentation, rustic should automatically read several files concurrently when an SSD drive is detected, but then save blobs coming from each file in a separate pack. Only when a file is finished, if the corresponding pack is not full yet it should be continued with blobs coming from the next file to read. So for instance if 8 files are read concurrently, then 8 packs should be written concurrently, each one with blobs coming from one of the files.

Thanks a lot @lucatrv for opening this feature request.
Before going into detail, I have a general question: What is the reason you want to prevent blobs fragmentation? I mean, from a very theoretical point of view, fragmentation can always occur. For a large file it could be that ever second blob is already contained in the repository which results in a strongly fragmentated storage...
I thought a bit about the proposal. The current behavior is that rustic has a packfile in-memory which it uses to add new blobs until it is ready for writing to the backend. The writing is done parallel to creating a new one in-memory such that the writing and processing of new blobs is parallelized.
This already means that rustic can use up to 2 time the pack size as memory requirement just for the packer. As rustic allows very large packfiles, we have to take memory usage into account here.
Another thing is preventing of double-saving the same blob. The packer currently checks the index before backing up, a list of already saved blobs during the backup and the list of blobs-in-progress. Using more than one packer, the last check would need additional synchronization.
TL;DR: Using more than one packer would result in a larger refactoring of the whole packer code - nothing that could be done quickly..
On the other hand, I agree that using multiple packers could also increase performance...
I came up with an additional idea - we could identify the origin of the blobs-in-flight and before saving the packfile to the backend re-sort it such that the blobs within the packfile are not (or bette: the least possible way) fragmented. But is also a topic for a packer-rewrite...

Hi @aawsome, sorry for late answer. IMHO the following situation should be avoided: consider backing up a volume with some very large and frequently modified files (for instance virtual machines or databases) and many other smaller files. If reading and processing is carried out in parallel and then processed data is saved concurrently to the same packs, the blobs would and up highly fragmented. Then, if everyday the large files are changed, then many packs would need to be updated, containing also data of other files that instead maybe will never change. I guess you agree that this would be an unwanted situation.
To avoid that, at least as much as practically possible, I can think of only two ways:

Read each file serially, so that processed blobs will be saved in order to the same pack. Clearly some fragmentation will still happen, because for instance a pack could be initiated with data from the last portion of a large file, and then finished with data from other smaller files, but the end result would still be much less fragmented than the situation described above. This is a possible option, but would not optimally use all available resources in current multi-core processors, unless the compression algorithm is the bottle neck and can fill all cores.
Read files in parallel (maybe just a limited amount, for instance Restic defaults to 2, but maybe a better value would be 4 or 8) but then save the blobs of each file separately in different packs, at least until each file is finished and the next file is read. The current average packs size for Rustic, at least for my use case, is about 40 Mb (compressed), and I am not even sure that it is an optimal value, because for the same use case Restic uses smaller packs (less than 18 Mb compressed) and I noticed that it is quicker when updating them. So for instance if a smaller default pack sizes was chosen, assuming 18 Mb compressed is about 30 Mb uncompressed, reading 4 files in parallel would require 150 Mb of memory (considering that one pack at a time would be written to disk before starting a new one), which does not seem to be a large value nowadays for a backup program.  To prevent double-saving the same blob, I guess each reading / compressing process should send a message with a reference to the incoming data to a single process which checks already processed data. Once the single process gives the go ahead, the compressing processes should proceed and confirm at the end.

The defragmenting packer is also a good idea, but ideally it would be in addition to the above solution, because otherwise I think that almost all packs would be written to disk twice.

@dionorgua If you generate separate snapshots (i.e. multiple backup runs), you'll get exactly the behavior you are mentioning. IIRC, running rustic with multiple snapshot configurations will also finalize pack files after each snapshot.


Why only Bavaria?

You say in your docs that you want to support places outside Bavaria. It would be good to outline and document what data and data source access is needed to accomplish this.
Saying "it only works in bavaria" with no information how to potentially make it work in other places is a bit frustrating.

We are currently working on that. The main issue is that every state in Germany has its own dataset and we need to connect them one by one.
A list of data sets that can be used is here: https://github.com/OloOcki/awesome-citygml

However we will have whole Germany (except two states) online within the next weeks.

@spacekookie Now the website is online for all of Germany (https://www.openpv.de)


FR: New icon for Community/group of people

Idea
An icon for representing a group of people

sad, but there only 1 "normal", not "good" https://tabler-icons.io/i/users

It seems that our only choice is https://tabler-icons.io/i/users.
Let's use it

and the prop(s) name(s) will be.... )

team, community

https://discord.com/channels/725182569297215569/896368413243494430/1076536817387569182


Feature request: relative data-* values

I think it'd be nice to be able to position slides relative to the previous one.
So, for example, instead of this:

Slide A

Slide B

Slide C

Slide D

We would have this:

Slide A

Slide B

Slide C

Slide D

That way, if I needed to insert a slide somewhere in there, it doesn't mess up the overall flow.

Hi @bendavis78
There are a couple pull requests that implement this in various ways. I have one here: https://github.com/henrikingo/impress.js/

I too have various extensions including relative positioning at https://github.com/jacekkopecky/impress.js

@jacekkopecky Wow that's an impressive number of commits!
We need to get all this stuff into one repo. I'll try to make progress with @bartaz tomorrow or next week, see if we can poke this forward a bit.

And it's not all - I still have some things I've used but haven't pushed yet.
I actually just thought about starting over, refactoring impress to better suit my needs; but I'll still push everything I've done and used to my fork and I'll be very happy if any of it is useful in the main repository. Let me know and I can prepare PRs.

Oops, I've completely forgot to come back to this thread.
@jacekkopecky Some months ago already, I've added a Relative Positioning Plugin to my for of impress.js, where I implemented a plugin API based on bartaz' guidance. Please have a look and let me know what you think.
This demo presentation uses the relative positioning data- attributes.

The relative positioning plugin is now part of impress.js master, as of 1.0.0-beta1


Issues about "AttributeError: module 'six.moves' has no attribute 'collections_abc'"

I encountered this error message when I was trying to use google analytics API in python
AttributeError: module 'six.moves' has no attribute 'collections_abc'
Here is my python code:

from oauth2client.service_account import ServiceAccountCredentials
from apiclient.discovery import build
import httplib2
credentials = ServiceAccountCredentials.from_json_keyfile_name('client_secrets.json', ['https://www.googleapis.com/auth/analytics.readonly'])
http = credentials.authorize(httplib2.Http())
service = build('analytics', 'v4', http=http, discoveryServiceUrl=('https://analyticsreporting.googleapis.com/$discovery/rest'))

I noticed that someone might have filed the same issue couple days ago, but I still ran into this issue.
Here is the version info of google-api-python-client:

google-api-python-client-1.12.1 (by pip show google-api-python-client)
google-api-core-1.22.2
google-api-python-client-1.12.1
google-auth-1.21.2
google-auth-httplib2-0.0.4
httplib2-0.18.1
six-1.15.0

I am wondering if there is any revision I need to do to fix this issue?
Thank you in advance.

collections was added to six in 1.13.0, so if you are using 1.1.50 it should be available. https://github.com/benjaminp/six/blob/c0be8815d13df45b6ae471c4c436cce8c192245d/CHANGES#L25-L36
Can you try in a new virtualenv?
python3 -m venv env
source env/bin/activate
python3 -m pip install ...
python3 -m name_of_script.py

In addition, oauth2client is no longer maintained so you should use google-auth.
from google.oauth2 import service_account

credentials = service_account.Credentials.from_service_account_file(
    '/path/to/key.json')

scoped_credentials = credentials.with_scopes(
    ['https://www.googleapis.com/auth/cloud-platform'])

@busunkim96
Thank you so much for your reply!
I tried to install the packages in a new virtualenv and it worked!
Here is the code I used for others' reference:
from google.oauth2 import service_account
from googleapiclient.discovery import build

credentials = service_account.Credentials.from_service_account_file('client_secrets.json')
scoped_credentials = credentials.with_scopes(['https://www.googleapis.com/auth/cloud-platform'])

#Create a service object
service = build('analytics', 'v3', credentials=scoped_credentials)

I still have this problem. Six is updated to 1.15.0 and google api client is updated to 1.12.2. I have also tried installing packages in a new environment but to no avail. Is anyone able to help please?

I get the same error, but I'm using the Earth Engine Python API. I need it for for a plugin in a third-party software, so I don't think I can use a virtual environment. I filed the error in that project of the plugin: https://github.com/gee-community/qgis-earthengine-plugin/issues/67 but when I looked closer I realized that the bug actually comes from here. So this bug affects not only the Analytics API, but multiple Google APIs.

I've confirmed that setup.py is correctly requiring >=1.13.0. Please check where your version pins and bump to a sufficiently new version of six.
https://github.com/googleapis/google-api-python-client/blob/2d076b87cff4029a243357dad19564767bbf8751/setup.py#L45


Bitrate command: print the RTT when it's available

I no longer have a RTMP setup in place, so it would be best to double check that the bitrate-only message is printed in that case as intended.
Note that until the translation is added to the non-English locales, the previous bitrate-only message will always be printed for those languages.

Thank you Rational_sail!

Thank you Rational_sail!


ZEPPELIN-364 Make interpreter settings file path configurable

There are other configuration though:
log4j.properties, zeppelin-site.xml, zeppelin-env.sh, interpreter.json
Why not just push the config with Chef/Puppet to /conf if this is to help with config management?

One difference of interpreter.json is it's being updated from Zeppelin. other configuration files under conf/ are read only. So this PR might be useful for some cases.


skipToken support for typescript-react-apollo

skip as an option for suspense hooks is going to be deprecated in favour of a new skipToken technique in an upcoming version of Apollo, as it provides more type safety.
Apollo docs on skip:

This option is deprecated and only supported to ease the migration from useQuery. It will be removed in a future release. Please use skipToken instead of the skip option as it is more type-safe.

More reading:

https://www.apollographql.com/docs/react/data/suspense/#skipping-suspense-hooks
https://www.apollographql.com/docs/react/api/react/hooks/#skiptoken

You can work around this at the moment by using useSuspenseQuery directly from @apollo/client and using the document and types generated by graphql-code-generator, eg:
import { useSuspenseQuery, skipToken } from '@apollo/client'
import { ExampleQueryResult, ExampleQueryDocument } from './generated'`

const { data } = useSuspenseQuery<ExampleQueryResult>(
    ExampleQueryDocument,
    id ? { variables: { id } } : skipToken
  )

Describe the solution you'd like
It would great if the generated suspense hook had native support for this (which aligns with what their docs recommend), eg:
import { skipToken } from '@apollo/client'
import { useExampleSuspenseQuery } from './generated'`

const { data } = useExampleSuspenseQuery(id ? { variables: { id } } : skipToken)

The fix is pretty easy to do:
Before:
export function useFeedSuspenseQueryMySuffix(baseOptions?: Apollo.SuspenseQueryHookOptions<FeedQuery, FeedQueryVariables>) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useSuspenseQuery<FeedQuery, FeedQueryVariables>(FeedDocument, options);
      }`);

After:
export function useFeedSuspenseQueryMySuffix(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<FeedQuery, FeedQueryVariables>) {
        const options = (baseOptions === Apollo.skipToken) ? baseOptions : { ...defaultOptions, ...baseOptions }
        return Apollo.useSuspenseQuery<FeedQuery, FeedQueryVariables>(FeedDocument, options);
      }`);

Just need to add Apollo.SkipToken the type on the baseOptions and change a little bit how options is defined.
I already do a commit on a fork:
https://github.com/vbornand/graphql-code-generator-community/commit/792f7edd446a60164590ee569087ef06c7c05c65
Do you want I create a PR?

@vbornand I attempted something similar but it gives incorrect types for when you don't supply skipToken.
eg:
const { data } = useDataSuspenseQuery({ variables: { foo: bar }})
              ^--- this is now `Data | undefined` instead of just `Data`

The useSuspenseQuery differs from the usual useQuery and useLazyQuery by having a number of overloaded functions. In order to fully support this in codegen, I set it up to generate a dedicated d.ts for useSuspenseQuery and tested it. However, this approach results in the creation of more files in codegen, which is a concern.
To minimize the amount of generated code, I managed to make it function correctly by merely supporting the skipToken. However, inferring types for deepPartial due to options like returnPartialData remains impossible.
I am still considering how to best integrate this feature. Just like useSuspenseQuery, useBackgroundQuery also has various overloaded functions, indicating the need for a separate file to comprehensively define these types.
I can submit a PR for this, but I need opinions on the creation of an additional file.

released<EMAIL_ADDRESS>


Install fails on Raspbian Buster

HI,
I have an emacs (self reports as 26.1) from Raspbian Buster and am having trouble bootstrapping straight.el.
In my init file I have the usual setup:
;; setup straight.el
(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

When the emacs version is started I get:
End of file during parsing: /home/rpostill/.emacs.d/init.el

If run C-x C-e at the end of the let I get:
elisp--preceding-sexp: End of file during parsing

I downloaded the file from the raw URL and placed it in ~/.emacs.d/straight/repos/straight.el/bootsrap.el which got me the bootstrapping straight.el message.  But then an error about :beta not being a recipe version:
error: Unknown recipe version: :beta

In reading the install.el/bootstrap.el file line 157 makes me nervous that I don't know enough to understand the issue.
So I was hoping to get some advice on how to debug the issue?

End of file during parsing: /home/rpostill/.emacs.d/init.el

This indicates that you have a syntax error in your init file.
More specifically, a missing paren. The parser hit the end of the file before seeing the end of the expression it was trying to parse.
If you open the file in Emacs and M-x check-parens it should move point to the start of last expression it was trying to read when it encountered the error.
Fixing this should be your first order of business and may allow straight to bootstrap.

error: Unknown recipe version: :beta

This error indicates that the version of straight.el used during bootstrap was not retrieved successfully.
If the issue persists after fixing the above error, I would double check your network settings.
Are  you able to access https://raw.githubusercontent.com/raxod502/straight.el/install/beta/straight.el :

through a browser on the machine?
via curl or wget on the machine?
by manually evaluating the following in a *scratch* buffer:

(display-buffer
 (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straight.el/install/beta/straight.el"))

Does that help?

Thanks for the reply @progfolio.
So I've commented out everything in my init.el except for:
(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 5))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

Running M-x check-parens does not move the mark or provide any visible feedback.  So I think that's OK?
I can retrieve the file using a browser or curl without issue.  However, the display-buffer form returns an empty buffer.  Which seems bad.  So at this point I'm going to close the bug on the assumption it's an emacs issue instead.

Running M-x check-parens does not move the mark or provide any visible feedback. So I think that's OK?

The syntax of that code looks fine to me.

However, the display-buffer form returns an empty buffer. Which seems bad. So at this point I'm going to close the bug on the assumption it's an emacs issue instead.

Yes, that shouldn't be the case. I would look into seeing if something in your environment is preventing Emacs from being able to retrieve that URL properly. Good luck with it and do share if you find a solution.

I observe the same issue with Emacs 25.3 in a corporate environment (sadly can't upgrade to a newer version).

Are you able to access https://raw.githubusercontent.com/raxod502/straight.el/install/beta/straight.el :
through a browser on the machine?

Yes.

via curl or wget on the machine?

Yes.

by manually evaluating the following in a scratch buffer:

No, I get the message:
Contacting host: raw.githubusercontent.com:443
#<window 10 on  *http raw.githubusercontent.com:443*-195457>


Visualize the curve

I've been thinking a lot about a matrix of black and white squares, the black ones being curve points. Our new curve is so small (13 points) that we could even write the discrete log onto each square. In any case, visualizing the curve (maybe also in the reals) would help people understand what it is.

Resolved by a807b2a4f4351f23795b67c58c25e50405de1649


use "exit": true as advised

https://github.com/bcoe/c8/issues/454

Codecov Report
Patch and project coverage have no change.

Comparison is base (aebdc16) 74.74% compared to head (d1646a2) 74.74%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   74.74%   74.74%
=======================================
  Files           8        8
  Lines        1964     1964
  Branches      204      204
=======================================
  Hits         1468     1468
  Misses        489      489
  Partials        7        7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


ddgr: 1.8 -> 1.8.1

ddgr: 1.8 -> 1.8.1
Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/jarun/ddgr/releases.
meta.description for ddgr is: "Search DuckDuckGo from the terminal"
meta.homepage for ddgr is: "https://github.com/jarun/ddgr"
Updates performed:

Version update

Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.8.1 with grep in /nix/store/j311lima0c63hm0h56fwyz9kssfc3zca-ddgr-1.8.1

directory tree listing: https://gist.github.com/2c64a2ac37ea7e0975f6a625d7746fb1

du listing: https://gist.github.com/6ef846516abadd8dddc3084eb2a98ac5

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
ddgr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j311lima0c63hm0h56fwyz9kssfc3zca-ddgr-1.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ddgr https://github.com/r-ryantm/nixpkgs/archive/ac1993361c77014a84ebc255fa740ca72192b70f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j311lima0c63hm0h56fwyz9kssfc3zca-ddgr-1.8.1
ls -la /nix/store/j311lima0c63hm0h56fwyz9kssfc3zca-ddgr-1.8.1/bin

Result of nixpkgs-review 1

1 package built:
- ddgr

cc @ceedubs @markus1189 for testing.

LGTM


Knowledge Agent: Maintenance 24.08

Description
This issue is not aiming for new or extended functionalities, but assuring all changes are implemented, that are required to ensure the compatibility/interoperability with depending components.
The required changes are depending on the features changes of the depending components, selected during the upcoming PI Planning. The full extent of required changes can only be defined, after all other features requests are approved and finalized in the PI Planning.
The preliminary maintenance changes might include:

Adaptation of changes of depending components (see Dependencies below)
Adaptation of new release guidelines for 24.08
Solving upcoming security issues to fullfil acceptance criteria
Additional maintenance to pass new quality gates

Required enablers
Depending on the selected feature changes of the PI Planning.
Business value
As this is not a feature, it does not provide direct business value, but cares for not losing existing business value, by making sure existing business applications will work with the updated components as well.
Test scenarios
The existing test scenarios shall be passed as expected, as the functional scope of the component is not changed.
Acceptance criteria

Ensured compatibility with depending components based on integration/E2E tests
Security issues are solved
Quality Gate has to be passed

Feature estimation
Not yet possible due to the dependency on the PI Planning.
Developer team
t.b.d.
Dependencies

Eclipse Dataspace Connector (EDC)

https://github.com/eclipse-tractusx/knowledge-agents/issues/111

Story "Maintain/Update Dependencies"
https://github.com/eclipse-tractusx/knowledge-agents/issues/112

was presented in the open planning ⇾ developer and committer are involved

Hello @pdrd,
Since the feature is a 24.08 feature and the development phase is coming to an end, we need a status on the feature.

[ ] Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[ ] Please check whether the status (backlog, work in progress ...) is set correctly
[ ] Please check whether there is an assignment to a committee or expert group (supported-by) to be found on the board
[ ] Please comment on the current status of the feature
[ ] Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.

If you need any clarification, please get in touch, thank you very much.
Stephan

Hello @pdrd
In a few weeks, we want to publish Tractus-X Release 24.08. For this, we need a clear status about the features (which will be included in the release and which will be cancelled or postponed to the next release).
Currently, the feature is still in status Backlog. Please update the status by 09.07.24 eob.
If the feature is not ready for release 24.08, or it is possibly not planned at all, please set the status to Not in release. Please remember that in this case, any dependent components must be informed.
Thank you and best regards.

@TomBuchertTSystems , @pdrd , @drcgjung  This was a feature for milestone 24.08. Is this an ongoing topic? Is it closed? Moved?


Site suggests wrong prerequisite for FieldEngineer app

I'm running on Windows 7, yet the platform suggested for the Xamarin Studio was OS X

deprecated


fix: move template group right below documentation group

closes https://github.com/camunda/camunda-modeler/issues/4617
Proposed Changes

These changes are moving Template group higher on the properties panel list, right below the documentation group
Checklist
To ensure you provided everything we need to look at your PR:

[x] Brief textual description of the changes present
[ ] Visual demo attached
[ ] Steps to try out present, i.e. using the @bpmn-io/sr tool
[x] Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}

Cf. https://github.com/camunda/camunda-modeler/issues/4617#issuecomment-2511603964, potentially relevant for future cross-repository contributions.


contests schema

Issue at work: #68

@ridhishjain  Why would you need Schema validation for get requests ?

looks like we only need schema for
createContest, addModerator, removeModerator

@cjchirag7 review


CI: mkdocs build

This will build mkdocs on PR, as a check that everything is working.
Something like https://github.com/CDCgov/pygriddler/blob/main/.github/workflows/mkdocs_deploy.yaml will deploy too, although I think that file was auto-configured by mkdocs?

Something like https://github.com/CDCgov/pygriddler/blob/main/.github/workflows/mkdocs_deploy.yaml will deploy too, although I think that file was auto-configured by mkdocs?

I don't think so? We don't have one here, and this suggests it's done by hand.
I'll borrow the version that's been working for pygriddler into #24 when I work on the edits.


Revert "Make Service.UpdateStatus non-ambiguous"

- What I did
Revert #2804 for reasons outlined in #2861.
- How I did it
I ran git revert 171d814, but then realized I forgot to add --signoff, so I emptied the commit message to abort the commit. Then, I made this same mistake 2 more times in a row. I am not a clever man.
/cc @thaJeztah
Additionally, this change will be backported to 19.03

Thank @dperny ❤


feature: Better syntax highlighting.

Did you check the docs?

[X] I have read all the solarized-osaka.nvim docs

Is your feature request related to a problem? Please describe.
I only use 2 themes in neovim which is this one and tokyonight.nvim and i noticed that tokyonight provides a little more differentiation and highlighting for some tags which do not reciprocate in solarized-osaka and also this theme has some bad highlighting when it comes to markdown.
One more thing i wanted to add is if it will have some good support working with flash.nvim as the colors do not match when using it and it is very difficult to differentiate when using it.
Describe the solution you'd like
I would like this to also have that same highlighting as it helps a lot in visually differentiating between tags.

A soft example is given below:

This is the solarized-osaka where the components that are being imported and used are not differentiating in color from the other basic html tags whereas if we check this in tokyonight:

This shows a clear difference between those tags.
This was created from a fork of Tokyonight so implementing those features should not be too difficult as it just needs a value of a different color for that treesitter object as far as i can think.
Describe alternatives you've considered
Currently it seems that only Tokyonight has this implemented and i did check it on gruvbox and catppuccin  and they show the same behavior.
Additional context
No response

Hi, since solarized-osaka provides on_highlights callback to override your highlights you can use treesitter to do like so:
in you init.lua (or anywhere inside your nvim config) define a user command
vim.api.nvim_create_user_command("HightlightUnderCursor", function()
    local result = vim.treesitter.get_captures_at_cursor(0)
    print(vim.inspect(result))
end, {})

Then call It using :HighlightUnderCursor with your cursor on your HTML custom tag.
It will give you a list of available treesitter highlights
Then you can override them using your preferred colors inside the on_highlights function inside your plugin setup:
on_highlights = function(hl, col)
      hl["your treesitter highlight here"] = { fg = "your custom color here" }

      --- or use provided col param to retrieve colorscheme's palette
      hl["@tag"] = { fg = c.orange }
end,

Remember that you might need to prepend a @ when referencing a treesitter highlight.
Hope It helps

Can you tell me which token to update?

Just made a quick research and found that the method mentioned above is just deprecated and possible to achieve directly by executing :Inspect with cursor on the interested treesitter node (in our case the react component)
for example, I get the following in a javascript react component
Treesitter
  - @variable.javascript links to @variable javascript
  - @type.javascript links to Type javascript
  - @tag.builtin.javascript links to Statement javascript
  - @tag.javascript links to Statement javascript

the same command executed in a tsx react component gives the following output:
Treesitter
  - @variable.tsx links to @variable tsx
  - @type.tsx links to Type tsx
  - @tag.builtin.tsx links to Statement tsx
  - @tag.tsx tsx

So I guess since solarized-osaka uses mostly treesitter based highlights you can easily override them but It depends on specific language needs

Just made a quick research and found that the method mentioned above is just deprecated and possible to achieve directly by executing :Inspect with cursor on the interested treesitter node (in our case the react component)
for example, I get the following in a javascript react component
Treesitter
  - @variable.javascript links to @variable javascript
  - @type.javascript links to Type javascript
  - @tag.builtin.javascript links to Statement javascript
  - @tag.javascript links to Statement javascript

the same command executed in a tsx react component gives the following output:
Treesitter
  - @variable.tsx links to @variable tsx
  - @type.tsx links to Type tsx
  - @tag.builtin.tsx links to Statement tsx
  - @tag.tsx tsx

So I guess since solarized-osaka uses mostly treesitter based highlights you can easily override them but It depends on specific language needs

Thanks for the info i also created another issue in the repo where i was facing the same kind of issues when working with .jsx format files as the tags would have altogether different colors for the < signs.

Can you tell me which token to update?

Treesitter

@variable.tsx links to @variable tsx
@type.tsx links to Type tsx
@tag.builtin.tsx links to Statement tsx
@tag.tsx tsx
Extmarks
IlluminatedWordRead illuminate.highlight

these are the tokens that need to be changed if it is to follow the tokyonight theme.
Also check the .jsx files and see i couldn't find that out on my own.

@0xfraso  sorry for tagging you but would this be considered correct ?
{
    "craftzdog/solarized-osaka.nvim",
    lazy = true,
    config = {
      function()
        require("solarized-osaka").setup({
          on_highlights = function(hl, col)
<EMAIL_ADDRESS>= { fg = "#ffffff" }
          end,
        })
      end,
    },
  }

I am not too familiar with treesitter and themes so not sure if this is the right method.
Currently this is not displaying any results.

created a pull which fixes this and also the the white <> tag issue.


Replace skip_keyword_starts_with and contains with regex patterns

Relates #310
Instead of using several different argument I've introduced single argument that accept regex pattern for skipping the keyword call names. Also added the documentation for skip formatting and fixed minor issues in docs.

Codecov Report

Merging #334 (2a300fd) into main (e25b88e) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #334      +/-   ##
==========================================
- Coverage   97.14%   97.14%   -0.01%
==========================================
  Files          42       42
  Lines        3220     3218       -2
==========================================
- Hits         3128     3126       -2
  Misses         92       92

Impacted Files
Coverage Δ

robotidy/disablers.py
97.81% <100.00%> (-0.07%)
:arrow_down:

robotidy/transformers/NormalizeSeparators.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Update utils.py to disable  IMDSv1 request for deploy-agent facter call

By default, AWS SDK will retry IMDSv1 request if v2 request is not successful. This change is to disable the behavior and prevent the IMDSv1 request.
Why is IMDSv1 bad?
IMDSv1 is dangerous to use with AWS EC2 because it lacks any built-in security features. The metadata endpoint is publicly accessible, which means that anyone who can reach the EC2 instance can potentially access the metadata. This can be a significant risk if an attacker gains access to the EC2 instance.

related jira ticket https://jira.pinadmin.com/browse/CDP-7759

Current all env vars for deploy agent are set in puppet so having a single place to see all env vars is better than spreading the env vars configs in different places, which makes maintaining and debugging more difficult in the future.


It is possible  but not alone with this library, you would need custom implementation. E.g.in my uwp project I save the the upload into a queue and run the upload itself from a background task (triggered once internet becomes available)


Update manifest.json

Regarding: https://github.com/AngularClass/angular2-webpack-starter/issues/192

thanks!

if you find anymore problems or questions feel free to open an issue


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.31.8

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.31.7 -> v1.31.8

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.31.8
Compare Source
Bug Fixes

deps: update gomod (#809) (5f06800)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 1.7.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Pass ChainTipChange to mempool

Motivation
This PR resolves https://github.com/ZcashFoundation/zebra/pull/2773#issuecomment-923379500.

For some reason, Sneak-ChainTipChange-into-mempool wasn't a valid branch name. I renamed the branch, and this PR closed automatically. I opened a new one instead.

For some reason, Sneak-ChainTipChange-into-mempool wasn't a valid branch name. I renamed the branch, and this PR closed automatically. I opened a new one instead.

Sounds like #2418 again.


Made a single button for Start and Stop for Casino game.

🛠 Fixes Issue (#1447 )
Closes #1447

👨💻 Changes proposed and Brief Description
As mentioned in the issue, I have made it such that, only one of the two buttons, i.e. START and STOP, show on the screen at a time.

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
I made the buttons' display as none, when they are not required.

📷 Screenshots

@VijaySamant4368 Thank you for contributing to this repo. Looking forward for more 🚀


Information about using SDK as a dependency in Gradle

We provide Ably Asset Tracking SDK as a package via Github, but we don't show how to add it as a dependency in Gradle.
┆Issue is synchronized with this Jira Task by Unito

In https://github.com/ably/ably-asset-tracking-android/pull/367 I added this section to the root readme.
@AndyNicks / @kavalerov - could that be enough, for now?
Once we implement https://github.com/ably/ably-asset-tracking-android/issues/318 then perhaps that can expand.

I would prefer to have at least links to Github documentation on how to use packages. It is not obvious, and if we can direct people in the right direction I think it will save them a lot of time.

Shouldn't we just include the specific dependency to add, eg as in https://github.com/ably/ably-java/blob/main/README.md#installation ?


Using Nylas Python v3 SDK, create a code sample to get calendar availability

Using Nylas Python v3 SDK, create a code sample to get calendar availability

It seems like there is a bug in this method when attempting to call client.calendars.get_availability(identifier=os.environ.get("GRANT_ID"), request_body=query_params), I am getting:
Error while fetching calendar events: Unrecognized request URL (POST: /v3/grants/grant-id/calendar/availability). Please see https://developer.nylas.com/docs/api/v3-beta/ or we can help at https://support.nylas.com/.

Probably the endpoint is not available yet. PR will be submitted soon

@wiseaidev Thanks, there's indeed a bug when calling get_availability method. I have already raised a PR to fix it. Your PR #91 doesn't solve it though...

Your PR https://github.com/nylas-samples/nylas-hacktoberfest-2023/pull/91 doesn't solve it though...
I am just demoing this method, not fixing it, know what I am sayin'? Besides, the error seems to be in the corresponding endpoint in the nylas sdk for the get_availability method when making the request. I think it should be /v3-beta/grants/... instead of ``/v3/grants/...`, not sure.

Sorry, poor choice of words from my side. Anyways, this should be fixed when my PR gets merged. I will go ahead and merge your PR (later today) as it will work eventually.