tryWindowsCompatibility in implicit conversions of ProcessExtras

I have implemented a rather stupid method that tries to make commands that do already work on Windows actually work without modifying the build scripts.
It attempts to find an existing .bat/.exe alternative to a given command in the same folder, if that fails it passes the command to cmd.exe which will do whatever it can; likely delegating to whatever programs are installed within Windows.
I do not claim that this method is pretty, it most assuredly is not, but I do claim that it is useful and could save time in having to deal with Windows specific issues.
The example that motivated this pull request: .sh files will run on Windows if Git is installed; the main Scala repository is currently using such as shell script in their partest, and with "cmd /c " appended to the command it just works.
(also note that ProcessExtra is a separate file in sbt 1.0.x, so in that context this horrible hack is hidden away and alone somewhere instead of looking like pollution on top of your otherwise pretty code base)

Hi @acdenhartog,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.lightbend.com/contribute/cla

First, thanks for the contribution. I am a bit concerned about the changes tho.
The fact that implicit changes the behavior from the normal invocation doesn't make sense to me. If it's good enough for implicits, why not change the actual behavior of Process(...).
Also, doesn't this silently change the behavior of the build? Also as you know, Process was donated to the standard library, so I'm reluctant to diverge the behavior in 0.13.
I think a better course of action might be to experiment this first using a plugin. See for example, sbt-doge that I experimented with cross building behavior. That got merged into sbt 1.0.x after sbt and Play trying it out for a while.

@eed3si9n Hi, first of all some context: I was getting a bit annoyed by Perry on the Gitter and his dismissive way of talking about users needing to manual deal with Windows compatibility. The code in this RFC was rushed and not entirely serious; I just wanted to make the point that it is possible and saying "that is all the fault of CreateProcess" is not a sufficient argument.
One can just append "cmd","/C " to get Windows compatibility in many cases, and I think platform independence and time saving should be a major goal of SBT.
Unfortunately, on further reading I can understand a bit better where Perry was coming from.
First of all let us put aside that .bin/.exe lookup hack which is probably a bad idea anyway as it could lead to unintended behaviors.
But what I do think ought to be dealt with is the "issues caused by changes to Runtime.exec". Java used to provide more "implicit cmd.exe calls" and I really want those back if there is going to be shell scripts called in build files.
Windows operating systems have a tiny program called Run Command in their Start Menu. I expected "command"! to work exactly the same as Run Command. But currently that is not the case, and this leads to both confusion and needless incompatibility between platforms.
So perhaps what should be done is figure out how to make Process work as expected. I have taken a look at the actual implementation and it seems that eventually everything gets passed to JProcessBuilder which on Widows delegates to CreateProcess.
On searching about this stuff a bit more I ran into this blog post from a few months ago: Java and Command Line Injections in Windows so clearly the underlying JProcessBuilder is not secure, even now that ambiguities from most implicit cmd calls have been removed.
Having added such easy access too the command line in all of Scala, I think it ought to be safe...
Perhaps Oracle will address these things, but the code referred to in that blog post still exists in the most recent Java API. Perhaps that method in Process of the Scala standard library should be modified such that on Windows it:

Can add an extra layer of security to help avoid command line injections.
Provide the implict "cmd","/C" so we can be more easily platform independent.

Although implicitly getting cmd to interpret things and avoiding injection do seem like contradictory goals.
Another possibly interesting alternative is to let programmers specify that on Windows all commands from Process are delegated to sh.exe (Git bash or similar), that adds a dependency but it should further remove compatibility barriers.
Or maybe we should all be using the Ammonite-Shell instead. Could that be an SBT plugin? There is an SBT plugin to get the REPL. Maybe there needs to be one to get Ammonite code directly into build files as well. How would one approach that? I know how to import dependencies for projects, and SBT plugins that provide settings, but not generic Scala imports for SBT itself...
Anyway, I am not sure what to conclude from all of this.

I was thinking this whole thing sounds familiar then I remembered:

https://github.com/sbt/sbt-sh
https://github.com/foundweekends/conscript/blob/21724b03c4615dd77b56a0d914d933a2d460fb16/src/main/scala/apply.scala#L12-L18

In other words, why not provide something that on Windows wraps using cmd, and on Mac and Linux uses /bin/sh? As per the security concern, I am not sure what the attack vector we are worried about is since this is not a web app. If someone can change the build script, you can pretty much do anything on the file system.
Can we close this PR and restart a discussion on sbt-dev list, or a more focused issue?

And conscript of course does exactly what that microsoft blog says not to:
*Do Not:

Simply add quotes around command line argument arguments without any further processing.
Allow cmd to ever see an unescaped " character.*

I am not sure what the attack vector we are worried about is since this is not a web app.

For SBT it is indeed not a concern. However, that Process is now part of the standard library. (although it is not compatible compatible with Scala.js; that would be something) And I suppose security of JProcessBuilder is really Oracle's responsibility. meh.
I think instead we should just discourage people form using bash/batch scripts in their builds as much as possible. The file system part of Ammonite is at least is Windows compatible now.
Also I just found out about deprecating Build.scala. I renamed a build.scala to build.sbt and eventually, after seeing it not working but not complaining much either, remembered how to import into SBT. :neutral_face::palm_tree:
(will submit a completely different issue regarding Build.scala rewrite soon-ish)
You may close this PR.


Introduce secret scan, deprecate scan

This PR moves the scan command group to a secret group, so ggshield scan path becomes ggshield secret scan path and so on.
scan is no longer listed in ggshield --help:
$ ggshield --help

Usage: ggshield [OPTIONS] COMMAND [ARGS]...

Options:
  -c, --config-path FILE  Set a custom config file. Ignores local and global
                          config files.
  -v, --verbose           Verbose display mode.
  --allow-self-signed     Ignore ssl verification.
  --version               Show the version and exit.
  -h, --help              Show this message and exit.

Commands:
  api-status  Show API status.
  auth        Commands to manage authentication.
  ignore      Ignore some secrets.
  install     Install a pre-commit or pre-push git hook (local or global).
  quota       Show quotas overview.
  secret      Commands to work with secrets.

$ ggshield secret --help

Usage: ggshield secret [OPTIONS] COMMAND [ARGS]...

  Commands to work with secrets.

Options:
  -h, --help  Show this message and exit.

Commands:
  scan  Commands to scan various contents.

$ ggshield secret scan --help

Usage: ggshield secret scan [OPTIONS] COMMAND [ARGS]...

  Commands to scan various contents.

Options:
  --json                       JSON output results  [default: False]
  --show-secrets               Show secrets in plaintext instead of hiding
                               them.
  --exit-zero                  Always return a 0 (non-error) status code, even
                               if incidents are found.The env var
                               GITGUARDIAN_EXIT_ZERO can also be used to set
                               this option.
  --all-policies               Present fails of all policies (Filenames,
                               FileExtensions, Secret Detection).By default,
                               only Secret Detection is shown.
  -v, --verbose                Verbose display mode.
  -o, --output PATH            Route ggshield output to file.
  -b, --banlist-detector TEXT  Exclude results from a detector.
  --exclude PATH               Do not scan the specified path.
  --ignore-default-excludes    Ignore excluded patterns by default. [default:
                               False]
  -h, --help                   Show this message and exit.

Commands:
  archive       scan archive <PATH>.
  ci            scan in a CI environment.
  commit-range  scan a defined COMMIT_RANGE in git.
  docker        scan a docker image <NAME>.
  path          scan files and directories.
  pre-commit    scan as a pre-commit git hook.
  pre-push      scan as a pre-push git hook.
  pre-receive   scan as a pre-receive git hook.
  pypi          scan a pypi package <NAME>.
  repo          scan a REPOSITORY's commits at a given URL or path.

ggshield scan still works, but is deprecated:
$ ggshield scan --help

Usage: ggshield scan [OPTIONS] COMMAND [ARGS]...

  Deprecated: use `ggshield secret scan (...)` instead.

Options:
  --json                       JSON output results  [default: False]
  --show-secrets               Show secrets in plaintext instead of hiding
                               them.
  --exit-zero                  Always return a 0 (non-error) status code, even
                               if incidents are found.The env var
                               GITGUARDIAN_EXIT_ZERO can also be used to set
                               this option.
  --all-policies               Present fails of all policies (Filenames,
                               FileExtensions, Secret Detection).By default,
                               only Secret Detection is shown.
  -v, --verbose                Verbose display mode.
  -o, --output PATH            Route ggshield output to file.
  -b, --banlist-detector TEXT  Exclude results from a detector.
  --exclude PATH               Do not scan the specified path.
  --ignore-default-excludes    Ignore excluded patterns by default. [default:
                               False]
  -h, --help                   Show this message and exit.

Commands:
  archive       scan archive <PATH>.
  ci            scan in a CI environment.
  commit-range  scan a defined COMMIT_RANGE in git.
  docker        scan a docker image <NAME>.
  path          scan files and directories.
  pre-commit    scan as a pre-commit git hook.
  pre-push      scan as a pre-push git hook.
  pre-receive   scan as a pre-receive git hook.
  pypi          scan a pypi package <NAME>.
  repo          scan a REPOSITORY's commits at a given URL or path.

$ ggshield scan path setup.py

Warning: Using `ggshield scan (...)` is deprecated. Use `ggshield secret scan (...)` instead.

No secrets have been found

The README has been updated accordingly.

Codecov Report

Merging #227 (e6b6c04) into main (bbbe5f5) will increase coverage by 0.05%.
The diff coverage is 92.78%.

@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   93.26%   93.32%   +0.05%
==========================================
  Files          55       57       +2
  Lines        2421     2456      +35
==========================================
+ Hits         2258     2292      +34
- Misses        163      164       +1

Flag
Coverage Δ

unittests
93.32% <92.78%> (+0.05%)
:arrow_up:

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

Impacted Files
Coverage Δ

ggshield/cmd/secret/scan/archive.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/ci.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/docker.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/dockerarchive.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/path.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/precommit.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/prepush.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/prereceive.py
94.38% <ø> (ø)

ggshield/cmd/secret/scan/pypi.py
94.44% <ø> (ø)

ggshield/cmd/secret/scan/range.py
100.00% <ø> (ø)

... and 8 more

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 bbbe5f5...e6b6c04. Read the comment docs.


typo: aligment -> alignment

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Publisher.PbParagraphAlignmentType.md
:white_check_mark:Succeeded
View

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


Seems the Calendar isn't Working At All (iOS 9.1.2)

Hey,
So I've followed the storyboard set up, took a look at the Demo Project and followed everything on there, but it seems the calendar is no longer working on the aforementioned version? I've attached my code. I even took out all constraints from my views to see if sizing was an issue but to no avail. What am I doing wrong?

are you implementing the extension of the calendar controller within this class? you can download the demo and see how the code is set up in that

I literally just copy pasted the code into a clean Xcode project and built: the menu view appears as a white view while the calendar view does not appear at all. Same as before :(

Fixed the issue. Fault was mine. Sorry for the bother!

@Archivus would you mind mentioning here what the issue was? I seem to be having the exact problem. Thanks!

@Incyc in Interface Builder go to 'Connections' in the Inspector and drag the view's 'delegate' and 'datasource' to the View Controller :)

Hey @Archivus, did you have an issue with the calendarView being misaligned from the menuView, cause that's what I'm getting


Always prefer loading from API when HOMEBREW_INSTALL_FROM_API is set

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

This PR modifies Formulary and Cask::CaskLoader so that when HOMEBREW_INSTALL_FROM_API is set, formulae and casks are always loaded from the API first (if they're available on the API), regardless of whether homebrew/core and homebrew/cask are tapped. Now, if you have an outdated homebrew/core tap that doesn't have the latest version for a formula, the newer version from the API will always be loaded instead of the outdated version from the tap.
I also modified brew update to not even try to update homebrew/core and homebrew/cask when HOMEBREW_INSTALL_FROM_API is set. Before, these taps were only skipped on auto-updates. I think this makes the most sense since HOMEBREW_INSTALL_FROM_API basically says "ignore the core and cask taps" everywhere else. However, if we think we're not ready for this yet, an alternative would be to add an HOMEBREW_PREFER_API variable or something like that which if not set would revert to the current functionality where taps take precedence.

Review period will end on 2022-06-20 at 17:50:43 UTC.

Review period ended.


Function documentation out of date

Few remarks on Jump_portrait
in get_jump_image

[ ] Would be better if instead of broadcasting the error: "More than one site found", a suggestion of correction was given

[ ] Would be great to enable to pass a list of str instead of just a str.

[ ] all the parameters of get_jump_image are not ully explained:

example apply_correction vs apply_illum

compressed

staging

[ ] tqdm takes a lot of space: let's try something from here, or add a way to disable it.

Workflow 1 and workflow 2

[ ] parameter corrections is not consistently defined which I think is confusing:

corrections = ["Orig"] # Can also be "Illum"

correction = None # or "Illum"

WIP on #44

I marked the ones that were solved by the PR, lmk if I missed something or if the other two bullet points were actually implemented but I failed to notice it.

Regarding tqdm, a parameter verbose has been added so it should be fint like this. People using tqdm will be aware of the loading process but I haven't succeed to make it pretty. Then there is the way to disable (verbose=False).

For the broadcasting error: "More than one site found", it comes from where the image is retrieved.

So either we fix:

The fact that Metadata Source, Batch, Plate, Well and Site are not enough to uniquely identify a site in the original dataset
There is just no image for the specific site queried, hence nothing we can do
We just let it that way knowing it can happen but it is mentioned in the readme that it is a known issue and it may happen.

Either way, thanks for the review !

Which is the other metadata item necessary to identify a unique site? I can't remember.


[BUG] - Select's helper wrapper behaves differently to Input's helper (description / error)

NextUI Version
v2.1.5
Describe the bug

Helper texts on Select behave differently than on Input, and this makes using them hard in the same layout without additional wrappers.
If Helper text wraps (responsive width changes), it's ignored in the layout, so easily overlaps with other components, if not enough space (see second input in the example)

Your Example Website or App
https://codesandbox.io/p/sandbox/infallible-tu-9f4lfx?file=%2FApp.jsx%3A14%2C68&utm_medium=sandpack
Steps to Reproduce the Bug or Issue
For example, issue is visible if multiple Selects are used
Expected behavior

Select has same behaviour as Input
When helper text wraps, it takes the necessary space (I understand issue is with accessibility, but this I would assume is mostly relevant when screen size is changing, which will result in layout changes anyways)

Screenshots or Videos

Operating System Version
macOS
Browser
Chrome

For this issue, I want to emphasise that in general, line breaks in such a component cannot be avoided, and for the component to be accessible these should be considered for the overall layout.
When designing the page, we need to consider that everything needs to work even when the user zoom 200% (https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-scale.html) - I was told by accessibility testet, to achieve this without horizontal scrolling.
When using NextUI's Input helpers, it would result they overlapping each other, or if I am lucky they just remove whitespaces between the components, so in a practical project that needs accessibility check, we would need to custom implement error states and descriptions to respect their height.


feat: redirect logged user to home

Summary

This PR restore feature from https://github.com/snapshot-labs/sx-monorepo/pull/640
How to test

Go to / as a guest user
You should see the home page
Go to / as a logged in user
You should be redirect to /home

Ideal solution would be to have a splash screen, which would show for the first 1 second, or when the app is ready (logged in, or when sure it's a guest), whichever come first.
From claude:
YouTube TV: When launching the web app, it shows a brief splash screen with the YouTube TV logo.

Slack: The desktop and web applications show a splash screen while loading.

Discord: The desktop and web apps display a splash screen during startup.

Some Google Web Applications: Certain Google apps like Google Docs or Google Sheets may show a brief splash screen when opening a document.

Trello: The web app shows a loading splash screen when initializing.

Notion: The web application displays a splash screen while loading.

He also recommended a few alternatives, the most I like is showing a skeleton screen

We can go with the splash screen but first we will need to solve this first: https://github.com/snapshot-labs/sx-monorepo/issues/478


Define base spatial content record (JSON)

Implemented initial spatial content record (SCR) as follows:
export interface GeoPose {
    north: Number;
    east: Number;
    vertical: Number;
    qNorth: Number;
    qEast: Number;
    qVertical: Number;
    qW: Number
}

export interface SCR {
    id: String;
    type: String;
    geopose: GeoPose;
    url: URL;
    timestamp: Date;
}


Support Docker API

Investigate how complex support of the Docker API would be

+1

@magiconair what reason for support docker api? cloud you please give more information?

So that fabio could detect the running services from docker without the need for having consul.

+1


Disable Cipher Suites using "3DES"

I get "WEAK" warnings when I'm testing the HTTPS entrypoint with https://www.ssllabs.com/ssltest/ and there is no option in the traefik.toml to disable cipher suites with "3DES", like "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA".
I would by nice to get slightly more options for HTTPS connections. Thanks!
Result on ssllabs.com/ssltest/:

Hello @patrickbaber, in http://docs.traefik.io/configuration/entrypoints/#specify-minimum-tls-version,
you have the option of specifying which cipher suites you would like traefik to allow.
You can provide it a list of Non-3DES suites.
The full enabled list can be found at https://github.com/containous/traefik/blob/871d097b30ac2adc581f650c74e7e6faee1a4f60/configuration/configuration.go#L390
Thanks!

Thanks for the hint, but I can't get it working with traefik 1.3 or the RC 5 of version 1.4.
My entrypoint config looks like this:
[entryPoints]
  [entryPoints.http]
  address = ":80"
     [entryPoints.http.redirect]
       entryPoint = "https"
  [entryPoints.https]
  address = ":443"
    [entryPoints.https.tls]
    minVersion = "VersionTLS10"
    cipherSuites = ["TLS_RSA_WITH_AES_128_CBC_SHA256", "TLS_RSA_WITH_AES_128_GCM_SHA256", "TLS_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305"]

The browser can't establish a connection to the server via HTTPS. The log doesn't show anything special about the TLS configuration. The certificates came from ACME. What am I doing wrong?

@patrickbaber you can view the loaded configuration via the Debug log, to confirm that the specified cipher suites have been selected.
What does the debug log say?


How to create proper desktop launchers for remoteapps?

How can we create proper functioning desktop launchers for our remote apps? We used to have "Winconn" but it has been abandoned and doesn't work well on newer versions of linux.
I currently have some launchers that I made that just point to a .sh file and that works ok, except the programs spawn seperate "X11" icons on my launcher, needless to say it makes it difficult to distinguish between multiple remoteapps when they all have the same X11 icon.
I know there has to be a way to do this, any help would be appreciated, and if possible it could be added to the readme. Im sure this is a pretty common use case.

I think what I really need to beable to do is to set the "WM_CLASS" of my remote app, but how do I do that? I see that it was possible with the "old" syntax, but I dont see how to do it with the new.

https://github.com/FreeRDP/FreeRDP/wiki/BugReporting
btw: .desktop files should suffice

Oh it does, except that when launching the .desktop file I do not get the apps icon on my launcher, I get a generic "X" icon for all remote apps. Once I have about 3 or 4 remote apps going at the same time its gets very confusing which one is which.
However I did find the solution. in the freeRDP command I can add /wm-class <class name>
and then in the .desktop file I add the line StartupWMClass=<class name> and that solves the problem.
That /wm-class <class name> option really needs to be added to the Command line documentation. I couldnt find that option anywhere on this website, I actually found it on the debian.org page located here


Setting airline_tab does not change termguicolors for unselected tab in tabline

environment

vim: nvim 0.4.4
vim-airline: Latest master
OS: latest Arch
Have you reproduced with a minimal vimrc: yes
What is your airline configuration: below is full vimrc
terminal: Alacritty 0.5.0
$TERM variable: alacritty
color configuration (:set t_Co?):  I am using termguicolors. Output of :set t_Co? is E846: Key code not set: t_Co?
does it happen in Vim: not tested

actual behavior
Setting airline_tab in theme does not change termguicolors colors of unselected tab however setting airline_tabsel works for selected tab. Below is my theme (with red set for fg and bg) and minmal config.
expected behavior
Colors should be applied.
screen shot (if possible)

Theme:
let g:airline#themes#base16_default_dark_hjdmk#palette = {}
let s:gui00 = "#181818"
let s:gui01 = "#282828"
let s:gui02 = "#383838"
let s:gui03 = "#585858"
let s:gui04 = "#b8b8b8"
let s:gui05 = "#d8d8d8"
let s:gui06 = "#e8e8e8"
let s:gui07 = "#f8f8f8"
let s:gui08 = "#ab4642"
let s:gui09 = "#dc9656"
let s:gui0A = "#f7ca88"
let s:gui0B = "#a1b56c"
let s:gui0C = "#86c1b9"
let s:gui0D = "#7cafc2"
let s:gui0E = "#ba8baf"
let s:gui0F = "#a16946"

let s:cterm00 = 233
let s:cterm01 = 235
let s:cterm02 = 237
let s:cterm03 = 240
let s:cterm04 = 249
let s:cterm05 = 253
let s:cterm06 = 254
let s:cterm07 = 15
let s:cterm08 = 131
let s:cterm09 = 173
let s:cterm0A = 222
let s:cterm0B = 143
let s:cterm0C = 109
let s:cterm0D = 109
let s:cterm0E = 139
let s:cterm0F = 131

let g:airline#themes#base16_default_dark_hjdmk#palette.normal = {
   \  'airline_a': [ s:gui01, s:gui0B, s:cterm01, s:cterm0B ],
   \  'airline_b': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_c': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_x': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_y': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_z': [ s:gui0B, s:gui00, s:cterm0B, s:cterm00 ],
\}

let g:airline#themes#base16_default_dark_hjdmk#palette.insert = {
   \  'airline_a': [ s:gui01, s:gui0D, s:cterm01, s:cterm0D ],
   \  'airline_b': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_c': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_x': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_y': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_z': [ s:gui0D, s:gui00, s:cterm0D, s:cterm00 ],
\}

let g:airline#themes#base16_default_dark_hjdmk#palette.replace = {
   \  'airline_a': [ s:gui01, s:gui08, s:cterm01, s:cterm08 ],
   \  'airline_b': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_c': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_x': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_y': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_z': [ s:gui08, s:gui00, s:cterm08, s:cterm00 ],
\}

let g:airline#themes#base16_default_dark_hjdmk#palette.visual = {
   \  'airline_a': [ s:gui01, s:gui0E, s:cterm01, s:cterm0E ],
   \  'airline_b': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_c': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_x': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_y': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_z': [ s:gui0E, s:gui00, s:cterm0E, s:cterm00 ],
\}

let g:airline#themes#base16_default_dark_hjdmk#palette.inactive = {
   \  'airline_a': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_b': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_c': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_x': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_y': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
   \  'airline_z': [ s:gui02, s:gui00, s:cterm02, s:cterm00 ],
\}

let g:airline#themes#base16_default_dark_hjdmk#palette.tabline = {
   \ 'airline_tab':   [ '#ff0000', '#ff0000', 1, 2, '' ],
   \ 'airline_tabsel':   [ '#ff0000', '#ff0000', 3, 3, '' ],
\}

Minial config:

set encoding=utf-8
scriptencoding utf-8

augroup grp
    autocmd!
augroup END

" Install vim-plug if it is not installed
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
	silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim
		\ --create-dirs
		\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
	autocmd grp VimEnter * PlugInstall --sync
endif

" ==== Plug plugins

call plug#begin('~/.local/share/nvim/plugged')
	Plug 'vim-airline/vim-airline'
call plug#end()

" ==== L&F

" Use 24bit colors
set termguicolors

" ==== Airline

let g:airline_powerline_fonts = 0
let g:airline_theme='base16_default_dark_hjdmk'
" Enable the list of buffers
let g:airline#extensions#tabline#enabled = 1
" Show just the filename
let g:airline#extensions#tabline#fnamemod = ':t'
let g:airline_filetype_overrides = {
	\ 'coc-explorer':  [ 'Navigator', '' ],
	\ 'vista':  [ 'Browser', '' ],
\ }
if !exists('g:airline_symbols')
	let g:airline_symbols = {}
endif
let g:airline_symbols.maxlinenr = ' '

it looks like it is using the airline_tablabel highlighting group

I have changed    \ 'airline_tab':   [ '#ff0000', '#ff0000', 1, 2, '' ], in theme to    \ 'airline_tablabel':   [ '#ff0000', '#ff0000', 1, 2, '' ], and effect is the same. Nothing changes for unselected tab.

please show the output of :echo eval(&tabline[2:])

%1@airline#extensions#tabline#buffers#clickbuf@%#airline_tabhid# %(%{airline#extensions#tabline#get_buff
er_name(1)}%) %X%2@airline#extensions#tabline#buffers#clickbuf@%#airline_tabhid_to_airline_tabsel# %#air
line_tabsel#%(%{airline#extensions#tabline#get_buffer_name(2)}%) %X%#airline_tabsel_to_airline_tabfill#
%#airline_tabfill#%=%#airline_tabfill_to_airline_tabfill#%#airline_tabfill#%#airline_tabfill_to_airline_
tablabel_right#%#airline_tablabel_right# buffers

parsing this:
%1@airline#extensions#tabline#buffers#clickbuf@%#airline_tabhid# %(%{airline#extensions#tabline#get_buffer_name(1)}%) %X

Looks like you have 2 different tabs in the tabline:
Tab 1:
      %1...@ Uses the neovim extension to make buffers clickable for buffer 1
      %#airline_tabhid#  use the `airline_tabhid` highlighting group
      %(...%)   group
      %{....}  return the output of that function.
      %X     close button

Tab 2:
     %2@airline#extensions#tabline#buffers#clickbuf@  Uses the neovim extension to make buffers clickable for buffer 2
     %#airline_tabhid_to_airline_tabsel# Switch Highlighting group to airline_tabhid_to_airline_tabsel
     %#airline_tabsel#  Switch Highlighting group to airline_tabsel
     %(...%)  group
     %{...} evaluate vimscript function `airline#extensions#tabline#get_buffer_name(2)` for buffer number 2
      %X  close button

Next follows some switching of highlighting groups:
    %#airline_tabsel_to_airline_tabfill#  use highlighting group airline_tabsel_to_airline_tabfill
    %#airline_tabfill# use highlighting group airline_tabfill
    %=  switch to right align
    %#airline_tabfill_to_airline_tabfill#  see above
    %#airline_tabfill# see above
    %#airline_tabfill_to_airline_tablabel_right# see above
    %#airline_tablabel_right# see above
     buffers  add buffers label

Which means that my unselected tab uses airline_tabhid and using this in my theme indeed works fine.
The question now is, is this the correct behavior? I though airline_tab is suppose to color unselected tabs.
Is there any description what each group does?

Additionally shouldn't code in autoload/airline/extensions/tabline.vim take colors from palette.normal,palette.insert etc if tabline colors are not defined? For me this does not seem to work for unselected tab. It works for others though.

It already does, doesn't it:
https://github.com/vim-airline/vim-airline/blob/9267cef0f833ba0b478432849c5bd3cc3bc2b638/autoload/airline/extensions/tabline.vim#L103-L124

Yes it does, but for whatever reason I mistakenly thought that it doesn't work.
Is airline_tabhid intended for unselected tabs?

Yes I think so. I was just confused, why it is airline_tab, but I think that is because of the my buffers configuration. We should probably document the use of those groups somewhere.

If airline_tabhid is the correct one for that then we can close this bug I think.
Having documented groups would be definitely handy though.


Bug: stacker doesn't compile or pass tests with top of atomfs

stacker version
top of stacker
Describe the bug
https://github.com/project-stacker/stacker/pull/652
^ see for more details
To reproduce

Configuration
Client tool used
Seen error

Expected behavior
No response
Screenshots
No response
Additional context
No response

this is an issue with refcounting in atomfs's Umount code, which wasn't being used by the atomfs umount command, and so was missed in the atomfs test suite that I added a few weeks ago.
The fix will be in atomfs, but I am not sure right now what the best fix is, so I'll keep looking at it tomorrow.


NTR: compound eye pigment cell differentiation

Could I request:
compound eye pigment cell differentiation
The process in which a relatively unspecialized cell acquires the specialized features of a compound eye pigment cell, a cell of the retina containing screening pigments that functions to screen photoreceptors from light leaking from adjacent ommatidia.
PMID:8929534
part of GO:0001745	compound eye morphogenesis
is a GO:0030154	cell differentiation
(relations based on "compound eye cone cell differentiation")
GOC:ha

@gantonazzo

Based on the xref in CL, does this correspond to CL:0001658 (visual pigment cell (sensu Nematoda and Protostomia)?

From the xref, it looks like it is.....it has no description.

As it has no description, erm....looking at the structure of the FBbt and CL ontologies, most probably.

To be used as the example of regenerating imports on the next editors' call.


fix: markers margin adjustment

added @kirchet  suggestions from  #1538

For some reason the pipeline step install-deps failed. @SlicedSilver can you take a look at this?

For some reason the pipeline step install-deps failed. @SlicedSilver can you take a look at this?

It appears to be an issue with downloading and installing chromium for puppeteer. https://app.circleci.com/pipelines/github/tradingview/lightweight-charts/2324/workflows/1f3fb2b3-814d-4e8d-b8d4-3346cf8a0bde/jobs/31071
We could try bump the puppeteer version to the latest but it is possible that memlab would also need to be bumped to a newer version. I'll experiment on a different branch.

@SlicedSilver also to update puppeteer we need to drop node 16, they dropped support for it in 22 major version

We are updating the node requirement in this different PR: https://github.com/tradingview/lightweight-charts/pull/1527
and there is also a task to update all the dependencies before v5 release (CLL-257)


Check parse to this file https://aidstream.s3.us-west-2.amazonaws.com/xml/aauk-org.xml

Related to MLT


add shell.nix

add a shell.nix for development on try in a Nix environment.

Can we add a CI task that tests it out?

Can we add a CI task that tests it out?

Done, we're currently excluding two tests.
try explore: issue created #181
no mergerfs/unionfs: issue created #182


Fastboot Support

Currently if we run fast boot with this module included the following error occurs:
Error while processing route: main Cannot read property 'getScript' of undefined TypeError: Cannot read property 'getScript' of undefined
    at FBInit.fbInitPromise._ember.default.RSVP.Promise.then.window.fbAsyncInit (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:73010:28)
    at initializePromise (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:69123:7)
    at new Promise (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:69611:33)
    at Class.FBInit (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:73005:28)
    at Class.beforeModel (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/stage-360-preregistration.js:577:26)
    at applyHook (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:66590:28)
    at C.runSharedModelHook (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:67209:18)
    at C.runBeforeModelHook (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:67182:17)
    at /home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:66446:15
    at tryCatch (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:69073:14)
    at invokeCallback (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:69088:15)
    at publish (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:69056:9)
    at /home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:48960:16
    at invokeWithOnError (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:10889:16)
    at Queue.flush (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:10948:9)
    at DeferredActionQueues.flush (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:11072:15)
    at Backburner.end (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:11142:23)
    at Timeout._onTimeout (/home/ryan/Dev/Projects/stage-360-preregistration/dist/fastboot/vendor.js:11708:16)
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5)

Is this the facebook sdk assuming its in a browser or is this the module making the call to getScript?

@rydn this is the FB JS SDK trying to do the init, so yes it need to be in a browser. So here the problem is that someone is calling the FBInit function (https://github.com/pitchtarget/ember-cli-facebook-js-sdk/blob/master/addon/services/fb.js#L6). Please, let me know how can I help to solve the issue.

@bugant Assuming the Facebook SDK isn't touching browser specific stuff it would it not be possible to use something like ember-network and then eval'ing the returned text, seems unlikely to me.
Alternatively, why can't it just check isFastboot from the fast boot service?

@rydn @bugant Otherwise, is it possible to set FB = { skipInit: true} from the config/environment if the app's rendering in fast boot mode?


Mock all tests to avoid hitting the rate limit on Yahoo! Finance

Problem
Currently I have hit the daily API limit, twice, because of running tests locally due to the OMXS30 dataset not being mocked. It should not be an issue for our testing workflows to hit the limit, but we are still generating unnecessary web traffic.
Suggestion
One tricky aspect is mocking the requests to NASDAQ, since these fetch an .xlsx file and saves it locally. To properly mock this we would have to first create the .xlsx file with appropriate content, then mock the request, and then read it as usual. Make sure to clean everything up afterwards.
References
Yahoo Developer Network: https://developer.yahooinc.com/dsp/api/docs/traffic/info/rate-limits.html?guccounter=1

Currently we are not hitting the rate limit even when running tests often. The errors are related to API changes at Yahoo! Finance, not getting rate limited. Closing.


More host information

What we currently have on the host page is not sufficient.
We should have more statistics

[x] number of contracts
[ ] total amount of burn locked away
[ ] total number of coins lost due to missed storage proofs
[ ] total number of coins earned due to successful storage proofs
[ ] potential number of new coins you can earn by completing your current contracts
[ ] potential number of total coins (including burn and reward) you can unlock by completing your current contracts
[ ] Current rate of earning
[ ] Current rate of gaining contracts? ==> something to indicate growth speed
[ ] Current rate of bandwidth usage

I'm going to consider this issue outdated. The truth is we don't really know what information people will want, and we'll fill it out over time.


Couple of observations

I know you didn't ask for help lol, but I'm bored and saw your new project pop up.
In the condition where you're checking the user input commands, the comparison values seem incorrect. You’re using strcmp(buffer, "pwd") == 10, but strcmp returns 0 when the strings are equal, not 10. This condition should be corrected for all commands as strcmp(buffer, "command") == 0.
if (strcmp(buffer, "pwd\n") == 0)
if (strcmp(buffer, "clear\n") == 0)
if (strcmp(buffer, "whoami\n") == 0)
if (strcmp(buffer, "ls\n") == 0)

The fgets function captures the newline character (\n) after pressing Enter. To avoid issues with comparison, you need to remove the newline character before performing the comparison.
buffer[strcspn(buffer, "\n")] = 0;  // Remove newline
The message "Unknown command..." is printed regardless of the input. It should be moved into an else block that handles unrecognized commands.
if (strcmp(buffer, "pwd") == 0) { ... }
else if (strcmp(buffer, "clear") == 0) { ... }
else if (strcmp(buffer, "whoami") == 0) { ... }
else if (strcmp(buffer, "ls") == 0) { ... }
else {
    printf("Unknown command...\n");
}

The ls function is currently hardcoded to open the directory "a". Instead, you should pass the current directory (".") or handle arguments properly.
if (strcmp(buffer, "ls") == 0)
{
    char *arg = ".";
    ls(arg);
}

Should look something like this

int main (int argc, char *argv[])
{
    while(1) {
        if(isatty(STDIN_FILENO)) {
            char hostname[1024];

            // Get user name
            pw = getpwuid(getuid());

            // Get hostname
            gethostname(hostname, sizeof(hostname));

            // Print PS1
            print_ps1(pw->pw_name, hostname);

            // Get commands
            char buffer[50];
            if(fgets(buffer, sizeof(buffer), stdin) != NULL) {
                buffer[strcspn(buffer, "\n")] = 0;  // Remove newline

                // pwd
                if(strcmp(buffer, "pwd") == 0) {
                    char cwd[1024];
                    getcwd(cwd, sizeof(cwd));
                    printf("%s\n", cwd);
                }
                // clear
                else if(strcmp(buffer, "clear") == 0) {
                    clearScreen();
                }
                // whoami
                else if(strcmp(buffer, "whoami") == 0) {
                    printf("%s\n", pw->pw_name);
                }
                // ls
                else if(strcmp(buffer, "ls") == 0) {
                    char *arg = ".";
                    ls(arg);
                }
                else {
                    printf("Unknown command...\n");
                }
            }
        }
    }
}

Hey Tojo,
Thanks for pointing out. Hmm I will test. Yes, the else block in wrong position .
If (strcmp(buffer, "ls") == 0)
{
char *arg = ".";
ls(arg);
}
I put here with 'a' because i need to figure out how to pass paths as well, not only current directory.

Fixed on the following commit
https://github.com/0x78654C/xShell/commit/2b8318d0e5db56f3be7431c31611590763897932


Adding some logs to travis

Coverage remained the same at 63.161% when pulling d46dfb8c245091391f009548a2dcdae24a0c05d5 on adding_some_logs_to_travis into 6fc3d5e6a9bdb665eaf879070322510dfd5f647a on master.


Exit schedule for systems to run at end of app run

Objective
Adding a structure for systems that run only when the App is closing.
Fixes #7067
Solution
Adds a Schedule to the default stages with label ExitSchedule to run systems at the end of the App.
Changelog
Added

Created ExitSchedule struct as label for new exit schedule.
Created ExitStage struct as label for new exit schedule's only stage, since it seems schedules need at least one stage currently. I presume this will be easy enough to remove after the stageless RFC.
Updated AppExit documentation to mention exit systems.
Added add_exit_system and add_exit_system_set APIs to App to add systems to the exit schedule.
Added teardown API to App so that runners can call the exit schedule.
Test for default schedule runner to verify exit systems are run when the App is closing.

Changed

Default schedule runner now calls App::teardown before exiting.
Winit schedule runner now calls App::teardown before exiting.
Added ExitSchedule to the App::add_default_stages() method.

Migration Guide

Custom runners would have to call App::teardown in order to run exit systems.

I really want this, but you're going to need to wait until #7267 is merged, and then use the Schedule machinery from there, likely by modifying the default CoreSchedule::Outer behavior.

I really don't want this, or you need to put heavy disclaimers that there are no guarantees any code in this schedule will run

Didn't know you could see draft pull requests ^-^' This is my first PR on a scale more than a small bugfix.
Yeah, I realized pretty early into implementation that this would touch stageless stuff, and tried to write it in a way I figured would be easy to rework without stages, and didn't add more than a single stage to the ExitSchedule. But it sounds like the schedule changes are deeper than I thought, so I'm fine waiting until stageless is merged.
As far as whether this should exist or not, I feel like that's a conversation above my paygrade here. I tried my best to be transparent in the documentation, and I'm fine adding a disclaimer about there being no guarantees for exit systems to run. For the documention, situations that would probably not run exit systems would be:

User force-quits the program
panic!
custom App.runner does not call teardown() before exiting.
others?

Didn't know you could see draft pull requests ^-^' This is my first PR on a scale more than a small bugfix.

No worries!

As far as whether this should exist or not, I feel like that's a conversation above my paygrade here.

There aren't that much paygrades around, and your opinion matters and is valued.

For the documention, situations that would probably not run exit systems would be:

User force-quits the program
panic!
custom App.runner does not call teardown() before exiting.
others?

That comes to mind:

Running in wasm, iOS or Android
User shut down their computer or any other event of this kind

Awwww, warm fuzzies! Merci mon pote!
Okay, that makes sense. Of course if the user cuts power no exit schedule would run.
The iOs/Android comment brings an idea to mind. From the one time I tried mobile development, I vaguely remember that there were hooks that give some time to run code before an app is closed. Is there a way to take advantage of these hooks in current bevy?
Here's my summary of general pros and cons of this:
Pros:

Have a dependable place for systems only meant to run at end of program: Does not depend on the system being scheduled after all systems that writes AppExit.
Seems like a natural complement to startup systems.
Potential for taking advantage in the future of target-specific exit handling in a way that regular systems can't, such as running exit systems in response to an iOS "applicationWillTerminate" hook. (Some of these, such as the Web API "beforeunload" hook, are still a little undependable)

Cons

There are still many situations where exit systems will still not execute,
Not a lot of immediate need: For situations like system resources Drop can handle it better.
Having an official exit system API might communicate something more dependable, and if it works better on some targets than others it can cause problems if used naively in plugins meant to be universal.

Perhaps a good way to get the best of both sides would be to create the specific exit schedule, add handling for it in runners, but we don't add an API specifically for exit systems to main impl App block.
We can instead create a trait WithExitSystems that includes the add_exit_system<_set>() methods. We implement this for App, but we don't include this trait in the bevy prelude. This prevents the functionality from being used naively via intelli-sense or anything like that, but if people want the functionality they can find it in the docs with all the caveats attached. But if they read and understand the issues, to use it would only require them adding the trait to their imports.
Those are my ideas on this anyways!

We should disable this feature on the platforms this doesn't work on. Probably wrap it all in a feature flag.

We should disable this feature on the platforms this doesn't work on. Probably wrap it all in a feature flag.

The Cargo Book specifically states: "... it should usually be safe to enable any combination of features."

I.e. having the feature available at all – even disabled on a platform – exposes crate consumers to the choice to enable it. If enabling it adds functionality that doesn't work on that platform, you're violating the intended use of the features feature.
Features can be – and frequently are – enabled transitively and, once enabled, there is no way to negate them.

rust-lang/cargo № 1197 is still open after EIGHT YEARS.


Report from publicapis.dev - aztro

Name: aztro
URL: https://aztro.sameerkumar.website/
Category: Social
Issue: Broken link
Message: API is down
This report was sent from publicapis.dev.

Seems to be working.


Support React v18

I have been using the library and it's been very helpful! I went to upgrade my project to React v18 and found that this is set to v17. Could we have the React version bumped? I'm happy to do it and make a PR, if you'd prefer

Hello! Thank you for your suggestion. I've been quite busy for a while.
I am planning on reworking and updating this project, hopefully until the end of August.
I will let you know when I manage to have something functionnal.

👋 Hello! So I'm back, after a while... sorry for the long wait. I've just released a new version of the component, which includes a bump to React v18, and a lot more: https://github.com/Adonis-Stavridis/caroumesh/releases/tag/v1.2.2
Hope that this fixes your problems with this component. 👍


Support for scipy.stats.norm.logcdf

Hi there,
Adding support for scipy.stats.norm.logcdf would be very useful to me (for probit in the likelihood).
A workaround would be good too. I saw there is erf, but I could really do with a log version for numerical reasons.
Thanks!

PR #460 should have fixed the problem. Please try it out!

Fantastic, thanks so much!


ERROR canal dump mysql err: exit status 7

when I  test canal use mysql5.5, I got this error.
ERROR canal dump mysql err: exit status 7

So I modify  file dump.go , make it print the mysqldump cmd, and run it in the bash, I get the following error:
/usr/local/mysql/bin/mysqldump: unknown variable 'set-gtid-purged=OFF'

as a result, I fond that it can work only when mysql version greater than 5.5 like 5.6

maybe caused by https://github.com/siddontang/go-mysql/blob/6eeacbf3af5f7680fdb07f987d21189ec1e0d620/dump/dump.go#L151
you can add a flag to skip this, can you file a PR?


Still being maintained?

Hey,
Love the library and idea, but it hasn't been updated in a few months. Just wondering if Zeit has ditched the project or if updates are coming?
Thanks!

hey @nahtnam I saw latest commit is 5 days old. Also micro is supported out of the box in https://zeit.co/
I doubt, they will kill it in coming days

Yes it's being maintained and a lot of ZEIT APIs use Micro.
So basically my take on micro is that it's pretty complete.
Besides https://github.com/zeit/micro/issues/369
There is really nothing to add. It works, it's been in production even before the release, it's being maintained.


allow newer xarray versions

Thanks for the cool package!
xarray moved to calendar versioning early in 2022, so the current poetry dependency doesn't allow for anything greater than 0.21.1.  I tried 2022.12.0 and all tests pass, so hopefully there are no issues with opening this up to newer versions.

Thanks Sam, good catch!

Would you mind recreating the same PR but using a conventional commit i.e. using "fix: allow newer xarray version" as a commit message? Like this GitHub Action bots will automatically trigger a new release and I can keep the commit history clean.


Wip input area model

ping @ellisonbg @sccolbert @jasongrout @Carreau

I went ahead and documented the variables and made a reference implementation of these models in #4.


Gateway in concreate configuration hangs on DefaultSingletonBeanRegistry.getSingleton

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
Problem is not completly deterministic, but happnes very often.
After the upgrade from Hoxton to newest spring versions. Our application stoped running. During the start is hungs in DefaultSingletonBeanRegistry.getSingleton always on the same bean. I am attaching the sample application, in which case it truned out to be undertministic (50% chances).
Reproduction requires specific setup:

service discovery backed by k8s or zk.
feign client
something wich is using the client

Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.
To reproduce you can use the application: app.zip
you need to have a running Zookeeper on <IP_ADDRESS>:2181
Start GatewayApp it should hung on line:
Loaded RoutePredicateFactory [CloudFoundryRouteService]
(you may need to restart it few times)
Now comment @RestController on SuggestionController class and restart. It should start correctly every time.

Now I am observing similar issue with k8s fabric8 service discovery client. It is hanging also in the same place, beacuse discovery client health check is trying to make a call to k8s API. When I disable it: spring.discovery.client.health-indicator.enabled: false , application starts.

It's an issue with feign. Change the auto wire to private ObjectProvider<CoreClient> coreClient;

Looks it is doing the trick. Is it more effcient that than using the ApplicationContext to make the bean lookup?

It is a known issue with Feign beans and initialization.


Activate the ability to integrate libdispatch

@parkera @phausler This uncomments the block that configures the use of libdispatch by Foundation in build.py, activating the __HAS_DISPATCH__ guard.
The block includes guards to check that libdispatch is being built, which means that the toolchain builds in the CI environment won't be affected by this yet.
It will affect the libdispatch CI build, which also builds Foundation, XCTest and Swift PM, so we'll start to exercise the use of libdispatch via TestFoundation and the XCTest and Swift PM unit tests.
If the libdispatch CI builds run clean/stable, we'll then look at adding libdispatch into the toolchain builds via the "buildbot_linux" preset.

Ok - so we don't need to wait for libdispatch to be in Swift CI before merging this right?

@swift-ci please test

My latest pulls this afternoon had it building for Linux iirc

Cool, sounds like we're almost there.

Merging this will add libdispatch into Foundation (and thereby into Swift PM and XCTest) in the following Swift CI builds:
https://ci.swift.org/view/All/job/oss-swift-incremental-RA-libdispatch-linux-ubuntu-15_10/
If those run clean (i.e., the tests for Foundation, XCTest and SwiftPM pass), within just need to add libdispatch into the full package builds.

Thanks @seabaylea!


Bitcoin not running ssh connection always resetting after reboot.

I'm a newbie with limited experience trying to set up a node.  Can always get past set up stage including LND wallet/4 passwords etc but then after a reboot I get 'The bitcoind service is not running' and cannot establish an ssh connection.
Tried deleting keys inside ssh folder on harddrive using ubuntu which allows me ssh access again but will always lose it again after reboot.  Have tried starting again from scratch... same thing.  have tried removing fan and using geekworm case..
Any ideas?  I have a bug report which I can share.
SSD is Crucial MX500 CT1000MX500SSD1 1 TB (3D NAND, SATA, 2.5 Inch, Internal SSD)
Power supply: Official Raspberry Pi
Thanks.

RASPIBLITZ DEBUG LOGS

blitzversion: 1.4
chainnetwork: bitcoin / main
10:08:16 up 37 min,  2 users,  load average: 0.11, 0.33, 0.63
*** BLOCKCHAIN SYSTEMD STATUS ***
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
*** LAST BLOCKCHAIN ERROR LOGS ***
sudo journalctl -u bitcoind -b --no-pager -n8
-- Logs begin at Thu 2020-04-23 09:17:01 BST, end at Thu 2020-04-23 10:08:36 BST. --
Apr 23 09:33:01 raspberrypi systemd[1]: Starting Bitcoin daemon...
Apr 23 09:33:01 raspberrypi systemd[1]: Started Bitcoin daemon.
Apr 23 10:01:49 raspberrypi systemd[1]: bitcoind.service: Succeeded.
1587632820 ERROR: Error found in Logs
1587632891 ERROR: Error found in Logs
*** LAST BLOCKCHAIN 20 INFO LOGS ***
sudo tail -n 20 /mnt/hdd/bitcoin/debug.log
2020-04-23T09:01:41Z UpdateTip: new best=00000000000002ea7efd29fa70c22b02d46c7aea14617363288251985ca920d8 height=206994 version=0x00000001 log2_work=68.988352 tx=8692289 date='2012-11-08T06:58:23Z' progress=0.016478 cache=336.4MiB(3012859txo)
2020-04-23T09:01:41Z UpdateTip: new best=0000000000000438c428585b7ec3d057b0b50b80551639a0b356640555a4e50d height=206995 version=0x00000001 log2_work=68.988387 tx=8692300 date='2012-11-08T07:04:21Z' progress=0.016478 cache=336.4MiB(3012865txo)
2020-04-23T09:01:42Z UpdateTip: new best=00000000000000670275e0e9c0d88a32c51b10a99b7caef783a306926420c7e0 height=206996 version=0x00000001 log2_work=68.988422 tx=8692458 date='2012-11-08T07:09:15Z' progress=0.016479 cache=336.3MiB(3012567txo)
2020-04-23T09:01:42Z UpdateTip: new best=000000000000011c1eb4c6ec30d6c4051e8b2a918cb18258e42d5a1c5a743851 height=206997 version=0x00000001 log2_work=68.988457 tx=8692546 date='2012-11-08T07:09:31Z' progress=0.016479 cache=336.3MiB(3012565txo)
2020-04-23T09:01:42Z UpdateTip: new best=00000000000001b98248a6c252ed69162801fc3fe1b81cbbbf4d3082db5d5756 height=206998 version=0x00000001 log2_work=68.988492 tx=8692574 date='2012-11-08T07:17:59Z' progress=0.016479 cache=336.3MiB(3012590txo)
2020-04-23T09:01:42Z UpdateTip: new best=000000000000009b5d4e79a6b8347be07cce3fb08f6c2e54d3bf1c5410c2f45e height=206999 version=0x00000001 log2_work=68.988527 tx=8692575 date='2012-11-08T07:28:12Z' progress=0.016479 cache=336.3MiB(3012591txo)
2020-04-23T09:01:42Z UpdateTip: new best=00000000000004bdd54a303529953b64a85eee5099acb965f53b577a1ceeca44 height=207000 version=0x00000002 log2_work=68.988562 tx=8692793 date='2012-11-08T07:28:11Z' progress=0.016479 cache=336.4MiB(3012773txo)
2020-04-23T09:01:42Z UpdateTip: new best=0000000000000478e80bae3a9f9ca2d19fe2d2e6d2f129b7fcaa804bdc17529d height=207001 version=0x00000002 log2_work=68.988597 tx=8693124 date='2012-11-08T07:35:29Z' progress=0.016480 cache=336.4MiB(3012723txo)
2020-04-23T09:01:42Z UpdateTip: new best=00000000000000f5c386ed3b4e60c03bc88d2c45201702482cfd681934e49c71 height=207002 version=0x00000001 log2_work=68.988632 tx=8693125 date='2012-11-08T07:37:05Z' progress=0.016480 cache=336.4MiB(3012724txo)
2020-04-23T09:01:42Z UpdateTip: new best=00000000000001899d88c27ff809348eaa873d1099515a0e384396e13211384d height=207003 version=0x00000001 log2_work=68.988667 tx=8693261 date='2012-11-08T07:44:21Z' progress=0.016480 cache=336.4MiB(3012768txo)
2020-04-23T09:01:42Z UpdateTip: new best=0000000000000461fa78737ce125b3aaa3715dd7b685d5e579d6e633086fdc28 height=207004 version=0x00000001 log2_work=68.988702 tx=8693343 date='2012-11-08T07:50:32Z' progress=0.016480 cache=336.4MiB(3012699txo)
2020-04-23T09:01:42Z UpdateTip: new best=0000000000000402b70233fbb8184bb5975f03e045894c0221822462887e82d7 height=207005 version=0x00000001 log2_work=68.988737 tx=8693421 date='2012-11-08T07:51:01Z' progress=0.016481 cache=336.4MiB(3012726txo)
2020-04-23T09:01:42Z UpdateTip: new best=0000000000000088f5a0208aa5e841b9a5c025935c17050c495bc093c8a42cac height=207006 version=0x00000001 log2_work=68.988772 tx=8693429 date='2012-11-08T07:52:55Z' progress=0.016481 cache=336.4MiB(3012725txo)
2020-04-23T09:01:42Z UpdateTip: new best=000000000000022198e63febbf2e93709508bc4327b5b4e82966cc8e64f9e190 height=207007 version=0x00000001 log2_work=68.988807 tx=8693582 date='2012-11-08T07:59:33Z' progress=0.016481 cache=336.4MiB(3012883txo)
2020-04-23T09:01:42Z UpdateTip: new best=00000000000001f5d10aa034a73cdcfe89e92bc858577b863a9ec1e8a16b1637 height=207008 version=0x00000001 log2_work=68.988842 tx=8693602 date='2012-11-08T08:01:27Z' progress=0.016481 cache=336.4MiB(3012884txo)
2020-04-23T09:01:42Z UpdateTip: new best=000000000000026c279d6c3abd88ee23e20f31f5d1d526ae8b9b5aae5ae442c6 height=207009 version=0x00000001 log2_work=68.988877 tx=8693758 date='2012-11-08T08:33:19Z' progress=0.016481 cache=336.4MiB(3012964txo)
2020-04-23T09:01:42Z UpdateTip: new best=000000000000026be9e801c17e9aaf7994e638ff6ae2e9608ea94d996172c4a1 height=207010 version=0x00000001 log2_work=68.988912 tx=8694083 date='2012-11-08T08:34:52Z' progress=0.016482 cache=336.4MiB(3013340txo)
2020-04-23T09:01:42Z UpdateTip: new best=00000000000004fd193c77496a1a2c951dfffe61e7bc832d154e8d6d089ef945 height=207011 version=0x00000001 log2_work=68.988947 tx=8694195 date='2012-11-08T08:42:32Z' progress=0.016482 cache=336.4MiB(3013343txo)
2020-04-23T09:01:42Z UpdateTip: new best=0000000000000038f156dfc2da10520ba18886102bdb6750c5523215f516ac1e height=207012 version=0x00000002 log2_work=68.988981 tx=8694479 date='2012-11-08T08:49:37Z' progress=0.016483 cache=336.4MiB(3013416txo)
2020-04-23T09:01:42Z UpdateTip: new best=0000000000000180a26ced9d8a6f010f2b4e7b46268956e3988e56ff367bc2e4 height=207013 version=0x00000001 log2_work=68.989016 tx=8694490 date='2012-11-08T08:51:52Z' progress=0.016483 cache=336.4MiB(3013420txo)
*** LND SYSTEMD STATUS ***
Failed to get properties: Failed to activate service 'org.freedesktop.systemd1': timed out (service_start_timeout=25000ms)
*** LAST LND ERROR LOGS ***
sudo journalctl -u lnd -b --no-pager -n12
-- Logs begin at Thu 2020-04-23 09:17:01 BST, end at Thu 2020-04-23 10:09:02 BST. --
Apr 23 10:00:10 raspberrypi lnd[734]: loadConfig: log rotation setup failed: failed to create log directory: mkdir /home/bitcoin/.lnd/logs/bitcoin: permission denied
Apr 23 10:00:10 raspberrypi lnd[734]: loadConfig: log rotation setup failed: failed to create log directory: mkdir /home/bitcoin/.lnd/logs/bitcoin: permission denied
Apr 23 10:00:10 raspberrypi systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Apr 23 10:00:10 raspberrypi systemd[1]: lnd.service: Failed with result 'exit-code'.
Apr 23 10:01:10 raspberrypi systemd[1]: lnd.service: Service RestartSec=1min expired, scheduling restart.
Apr 23 10:01:10 raspberrypi systemd[1]: lnd.service: Scheduled restart job, restart counter is at 28.
Apr 23 10:01:10 raspberrypi systemd[1]: Stopped LND Lightning Daemon.
Apr 23 10:01:10 raspberrypi systemd[1]: Starting LND Lightning Daemon...
Apr 23 10:01:10 raspberrypi systemd[1]: Started LND Lightning Daemon.
Apr 23 10:01:11 raspberrypi lnd[1761]: loadConfig: log rotation setup failed: failed to create log directory: mkdir /home/bitcoin/.lnd/logs/bitcoin: permission denied
Apr 23 10:01:11 raspberrypi systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Apr 23 10:01:11 raspberrypi systemd[1]: lnd.service: Failed with result 'exit-code'.
*** LAST 30 LND INFO LOGS ***
sudo tail -n 30 /mnt/hdd/lnd/logs/bitcoin/mainnet/lnd.log
tail: cannot open '/mnt/hdd/lnd/logs/bitcoin/mainnet/lnd.log' for reading: Input/output error

TOUCHSCREEN is OFF by config

Loop is OFF by config

RTL is OFF by config

Electrum Rust Server is OFF by config

BTCPayServer is OFF by config

LNBits is OFF by config

*** HARDWARE TEST RESULTS ***
UndervoltageReports in Logs: 0
raspberryPi=4
powerFAIL=0
powerWARN=0
powerMIN='843800 microVolt'
tempFAIL=0
tempWARN=0
tempMAX='4900 centiGrad'
*** SYSTEM STATUS (can take some seconds to gather) ***
/home/admin/config.scripts/blitz.statusscan.sh: line 4: /mnt/hdd/raspiblitz.conf: Input/output error
localIP='<IP_ADDRESS>'
tempCelsius='49.1'
uptime=2324
/home/admin/config.scripts/blitz.ups.sh: line 4: /mnt/hdd/raspiblitz.conf: Input/output error
upsStatus='OFF'
startcountBlockchain=1
bitcoinActive=0
bitcoinErrorShort='Error found in Logs'
bitcoinErrorFull='0'
OK: log 'ERROR: Error found in Logs' written to /home/admin/systemd.blockchain.log
startcountLightning=29
lndActive=0
blitzTUIActive=0
blitzTUIRestarts=0
scriptRuntime=50
*** OPTION: SHARE THIS DEBUG OUTPUT ***
An easy way to share this debug output on GitHub or on a support chat
use the following command and share the resulting link:
/home/admin/XXdebugLogs.sh | nc termbin.com 9999

The " Crucial MX500 1TB" is not recommended anymore ... but normally should work, but can make problems with power stability in edge cases.
Do you have the ShimFan or already using the passive HeatSink Case running?

Using the heatsink case

Using the heatsink case. It seems that the only way to ssh in is to delete keys from ssh folder on hard drive. This gets me in one time but then if I log out after that then when I try and ssh back in I always get 'Connection reset by [my IP] port 22'

Apr 24 10:35:27 raspberrypi sshd[8796]: Accepted password for admin from [my IP] port 34952 ssh2
Apr 24 10:35:27 raspberrypi sshd[8796]: pam_unix(sshd:session): session opened for user admin by (uid=0)
Apr 24 10:56:16 raspberrypi sshd[5023]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key
Apr 24 10:56:16 raspberrypi sshd[5023]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Apr 24 10:56:16 raspberrypi sshd[5023]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr 24 10:56:16 raspberrypi sshd[5023]: fatal: No supported key exchange algorithms [preauth]

Anyone got any ideas?  Still stuck.

Change that disk or add external power to it (X825 board is the only way I know works with the RPi4 for external power)
That model has froze for me and others too producing similar errors to yours:
https://github.com/rootzoll/raspiblitz/issues/905#issuecomment-581526545

Thanks.  I'll give a new SSD a try.

Result: Switched to the SANDISK SSD Plus and now it's all working fine.  Thanks


Add Pipeline input sanitation

Add a method that takes input and sanitises it properly so that it doesn't have to be done by outside calls. For example, separating lines and parsing them individually, adding line separators, removing problematic input does as horizontal tabs. Currently the bulk of this is performed in the CodeManager when compiling the pipeline.

Fixed in commit 64d128e0e5cb26d794f75322315ba519f877581f


Update flashMode from QRCodeScanner to RNCamera

Currently, the choices for flashMode are being called from RNCamera instead. Please refer to the document.

as mentioned here https://github.com/moaazsidat/react-native-qrcode-scanner/issues/203


Shift key breaks multikey bindings on Linux

If you press <shift> during a multikey binding, the keybinding is unable to resolve.  To demonstrate, here are the results in Atom 0.147.0 on Ubuntu Linux 14.04 x86-64.
In dev tools, do:
atom.keymaps.add("test", {"body": {"o P": "core:confirm" }})

Keybinding resolver output:
o:

o<shift-down>:

o<shift-down>p:

Also tried another keybinding O P:
This works. <shift-down>op<shift-up>:

However, if I released shift and pressed it again, then once again, the keybinding would fail to resolve. When I tested a third keybinding, O p, I found that it always succeeded, unless I pressed shift at some point before typing p.
This seems to indicate that the <shift-down> event is breaking multikey bindings.
See also atom/vim-mode#442

:+1: I'm also affected (using Atom 0.174.0 on Arch x86-64). A fix would be awesome :)

Just want to let you know, that this issue is fixed (at least in my case). I'm using 0.182.0, but skipped 180 and 181. Version 0.180.0 included a fix regarding key bindings, so maybe that also fixed this issue.
@autochthe Can you confirm, that the issue is fixed?

I just tested this in 0.182.0.  The issue seems to have been fixed with the update.


Logger deps cleanup

There was a limitation in including log.h. It was required to define LOG_LEVEL before including log.h. On the other hand log level where defined in log.h (which is a good place). Because of that limitation user could not include log.h in any header thus could not use defined log level (like in #8816).
The reason for that was macros like:
#if LOG_LEVEL
#define MACRO(x) xxx
#else
#define MACRO(x) /*empty*/
#endif

Macro like that was evaluated when header was included for the first time.
In this pull request i've attempted to create a macro (inspired by IS_ENABLED) which would do same thing but evaluation would happen in place of the MACRO(x) call and not when header is included.
Macro_LOG_EVAL(_level, _iftrue, _iffalse) was defined. It evaluates first parameter and if is valid log level (1-4) then _iftrue code is used else _iffalse is used. With this macro MACRO(x) definition can be changed to:
/* brackets needed to allow using commas in code which is injected */
_LOG_EVAL(LOG_LEVEL,(xxx), ())

After this change LOG_LEVEL must be defined before log API is used and not before log.h is included.
PR contains also some cleanup in log_instance.h: internal macros/functions moved to log_core.h which is considered internal to the logger and not API header.

Codecov Report

Merging #9027 into master will not change coverage.
The diff coverage is 80%.

@@           Coverage Diff           @@
##           master    #9027   +/-   ##
=======================================
  Coverage   52.26%   52.26%
=======================================
  Files         197      196    -1
  Lines       24824    24824
  Branches     5166     5166
=======================================
  Hits        12975    12975
  Misses       9769     9769
  Partials     2080     2080

Impacted Files
Coverage Δ

include/logging/log_core.h
66.66% <80%> (+66.66%)
:arrow_up:

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 40f7436...2964d4e. Read the comment docs.

Note that it is expected to have one failure in checkpatch:
-:169: WARNING:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#169: FILE: include/logging/log_core.h:45:
+#define __LOG_ARG_2_DEBRACKET(ignore_this, val, ...) LOG_DEBRACKET val


Training Stopped

Also the training stopped after 2 epoches with the error
FileNotFoundError: [Errno 2] No such file or directory: "lightning_logs\'mnist'\version_1\checkpoints\last.ckpt"
Not sure why last.ckpt was not saved?
Thanks
JB

Hi, thanks for your question. Can you provide more details for which command you executed so that we can reproduce the issue? Thanks!

So you are referring to the model checkpointing, right? What behavior are you trying to achieve?

It seems this is an issue from pytorch lightning.    When save_last = True, every_n_epochs cannot be larger than 1.   Lightning-trainable sets save_last = True, so every_n_epochs  = 5 does not work.
JB


Hi, I have tried to setup selenoid through Configuration manager and Docker compose. However every time the selenoid browser list is empty even though the respective images are downloaded successfully. This is how my localhost shows {"total":5,"used":0,"queued":0,"pending":0,"browsers":{}}. I am using latest version 1.9.2. Can someone please help

I can be reached at<EMAIL_ADDRESS>

@shamirahamed1909 use either cm or Docker compose. Need mode details: CM log and ~/.aerokube/selenoib/browsers.json contents.


[ISSUE #8343] Add more test coverage for MQClientAPIImpl

Fixes #8343 .

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 43.84%. Comparing base (b31e0ce) to head (c67c4b1).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8344      +/-   ##
=============================================
+ Coverage      43.21%   43.84%   +0.63%
- Complexity     10526    10628     +102
=============================================
  Files           1274     1274
  Lines          88940    88940
  Branches       11434    11434
=============================================
+ Hits           38432    38996     +564
+ Misses         45804    45016     -788
- Partials        4704     4928     +224

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Child-Bridge restarts when trigger conditions met

Describe The Bug:
Plugin restarting when trigger triggered
To Reproduce:
Conditions for trigger have been met, automation started in HomeKit, at the same time child-bridge restarted
Expected behavior:
The child-bridge not to be restarted.
Logs:
(typeerror: Cannot read properties of null (reading 'Time')    at AlphaImageService.renderImage (/usr/local/lib/node_modules/homebridge-alphaess/src/alpha/AlphaImageService.ts:119:21)    at /usr/local/lib/node_modules/homebridge-alphaess/src/AlphaPlugin.ts:98:36    at processTicksAndRejections (node:internal/process/task_queues:96:5)[4/19/2023, 12:47:26 PM] [homebridge-alphaess] Child bridge process ended[4/19/2023, 12:47:26 PM] [homebridge-alphaess] Process Ended. Code: 1, Signal: null[4/19/2023, 12:47:33 PM][homebridge-alphaess] Restarting Process...[4/19/2023, 12:47:33 PM] [homebridge-alphaess] Launched child bridge with PID 13238[4/19/2023, 12:47:33 PM] Registering platform 'homebridge-alphaess.AlphaEssPlatform'[4/19/2023, 12:47:33 PM]
[homebridge-alphaess] Loaded homebridge-alphaess v2.24.0 child bridge successfully[4/19/2023, 12:47:33 PM] Loaded 0 cached accessories from cachedAccessories.0E8B0523A971.[4/19/2023, 12:47:33 PM]
[homebridge-alphaess] Alpha Ess Platform Plugin started [4/19/2023, 12:47:33 PM] Initializing platform accessory 'AlphaEssBattery'...[4/19/2023, 12:47:33 PM] Initializing platform accessory 'AlphaEssTrigger'...[4/19/2023, 12:47:33 PM] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-alphaess) is running on port 57446.2023-04-19 12:47:36.451 node[13238:4780352] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}2023-04-19 12:47:36.451 node[13238:4780352] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts2023-04-19 12:47:36.451 node[13238:4780352] XType: unable to make a connection to the font daemon!2023-04-19 12:47:36.451 node[13238:4780352] XType: XTFontStaticRegistry is enabled as fontd is not available.)

Plugin Config:
{
            "username": "xxxxxxx",
            "password": "xxxxxxx",
            "serialnumber": "xxxxxxx",
            "powerLoadingThreshold": 3000,
            "socLoadingThreshold": 100,
            "refreshTimerInterval": 60000,
            "power_image_filename": "/tmp/alpha_power_image.png",
            "logrequestdata": false,
            "_bridge": {
                "username": "0E:8B:05:23:A9:71",
                "port": 57446
            },
            "platform": "AlphaEssPlatform"
        }

Screenshots:

Environment:

Plugin Version:
Homebridge Version: v1.6.0
Node.js Version: v16.14.2
NPM Version: ?
Operating System: macOS Ventura

Should be fixed with 2.25.0. Please check and let me know if this version looks good for you.
If not, i need to look more deeply into it. It would be helpful if you provide the console output from the alpha plugin in Homebridge DEBUG mode. Thanks for not submitting too sensitive information. BR, Jens

Thank you for the swift action! I just installed the update and will monitor
As a side note, there is still the font-error when restarting home bridge and loading the plugin, I assume this has no influence on the actual issue reported, but just wanted to let you know.
2023-04-19 15:49:23.420 node[22011:4852820] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.} 2023-04-19 15:49:23.420 node[22011:4852820] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts 2023-04-19 15:49:23.420 node[22011:4852820] XType: unable to make a connection to the font daemon! 2023-04-19 15:49:23.420 node[22011:4852820] XType: XTFontStaticRegistry is enabled as fontd is not available.

It is still restarting and also the trigger did not fire in HomeKit yesterday in the late afternoon (I have set HomeKit to send me a notification when the trigger triggers)
Let me know if this is enough extract from the log (I copy/pasted it here but it was not formatted very well and therefore hard to read)

hmm, seems like the patch was not applied on your homebridge installation. maybe the old version is still cached.
please try the following:
go to plugins, search for the alpha-ess homebridge plugin, click on update latest version, check that the most recent version 2.26.0 is installed or if not update it- wait for the outcome of the installation which could take some time.
now restart the homebridge via the on/off button on the top right, then the plugin is forced to be reloaded reloaded.
additionally, i updated the plugin with a additional check, please let me know if the error still exists

Thanks again for looking into this, really appreciate it! If you accept donations via PayPal etc. please feel free to share.
Updated successfully to 2.26.0

Restarted Homebridge but issue persists as seen in the logs:
typeerror: Cannot read properties of null (reading 'Time')    at AlphaImageService.renderImage (/usr/local/lib/node_modules/homebridge-alphaess/src/alpha/AlphaImageService.ts:115:86)    at /usr/local/lib/node_modules/homebridge-alphaess/src/AlphaPlugin.ts:99:38    at processTicksAndRejections (node:internal/process/task_queues:96:5)[4/20/2023, 9:40:59 AM] [homebridge-alphaess] Child bridge process ended[4/20/2023, 9:40:59 AM] [homebridge-alphaess] Process Ended. Code: 1, Signal: null[4/20/2023, 9:41:06 AM] [homebridge-alphaess] Restarting Process...

thanks for testing again. it seems the response from alpha is incomplete. i did a new release (2.2.27) including the following:

added better check for the alpha response. your image processing wont work currently.
added response logging from statistics  (only in debug mode!) for me to further investigate

It would be greatly helpful if you could provide the response of the ' [homebridge-alphaess] Response from statistics data :' log line that will show up in debug mode. I can use this for further analysis. It seems that some of the time data is not included in the alpha response
Please attach the the data list  {"code":200,"info":"Success"...  to the ticket  i can further investigate. This should be not to personalized and include only power information for today.
Thanks for your support and feedback. If this bug is resolved and you are happy, you are free to send donations via https://www.paypal.com/paypalme/jenshalde

Update is installed, statistics data attached as text-file.
Font error message still persists, I'll keep you posted about any potential further crashes of the plugin.
statistics_data.txt
Thank you!

thanks for the update, this helped further bugfixing and providing a new version.
can you check if the image is beeing rendered with the version 2.28 on mac ?  it looks like node.js is using local local fonts instead of the mac rendering service which should be fine.

To enable image rendering, add the following settings key to the configuration:
"power_image_filename":"/tmp/somefilename.png",
if the rendering succeeds, an image will be saved onto that location. If not, the rendering seems to be broken - your error indicated that.
For a solution of the not running font daemon on mac os, please see https://stackoverflow.com/questions/69986582/the-connection-to-service-named-com-apple-fonts-was-invalidated-on-xcodebuild-r
and leave me a feedback.

With that command in the Mac Terminal I got rid of the error message and an image is generated in the temp folder!
sudo launchctl load -w /System/Library/LaunchAgents/com.apple.fontd.useragent.plist
The child-bridge doesn't seem to be restarting anymore, I am now waiting for the battery to get to 100% to see if the trigger fires, Will update this thread after some more tests.

Nice, thanks for the update & further testing. Hope we can close the issue if the trigger is working as expected.

I am getting some

in the console (I have debug turned off right now) but otherwise It seems to be working at this point!
I assume these messages come from a timeout with the server or something like that?
Thank you so much for your help and patience resolving this issue!

I don't know, but I just got new error messages.
I don't use a proxy and my connection actually is pretty stable - I do video calls all day and it never lags or freezes..

Could you please attach the debug log right before the error occurs, thanks!


Add OnTranscription Handler

This PR adds an OnTranscription handler to manage transcription events in the Go SDK, following the implementation in livekit/client-sdk-js#1119 for consistency.
Key Updates:

Implements OnTranscription callback.
Matches JavaScript SDK behavior.
Enhances transcription handling in the Go SDK.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Adding label prefixes from file?

I see in the "Label Prefixes" settings tab there's a way to import prefixes from a file rather than entering them manually, but I can't find anything in the wiki about how to do this. We've had to uninstall and reinstall the program and it wiped out all of our settings including the label prefixes, and I want to make a file we can import so we don't have to re-enter them manually next time.

If you are using a local file for the label prefixes, you first create the file using the application on one workstation. Then you can copy the myLabelText.txt file from the original workstation to the others.

On the "Label Prefixes" tab, select the "Use local file" radio button.
Create your label prefixes.
Click "Save Changes". The file myLabelText.txt will be created on the workstation in the folder containing the application.
Copy the file to the other workstations.
Ensure the "Use local file" radio button is selected on the workstations to which you copy the file.

@sethmisk, just checking if you saw my reply to this issue last week. If so, did you get a chance to try it?  Thank you.


Added Google Cloud Storage plugin

All methods unit tested for text and binary files.
Tested from Juliabox by uploading files and logging out and logging in.
Setup instructions in info.md file.

Thanks. This looks good!

I have edited the code to check the exceptions.

A pull_from_bucketstore is done for a user for the first time even when there is nothing in the bucket.  I saw that a None was expected in this scenario hence the return None in the except block.

I have made the changes in a new PR #359


Media Hotlinking: Improve the logic in case of empty value

Summary
Improves how the messages are handled in case of empty link values.

When link is empty, Insert button doesn't do anything
When there's an error and the user clears out the link, the informative message about file types to use is displayed again
When the input is empty and the users tabs away from it, nothing happens.

Relevant Technical Choices

To-do

User-facing changes

Testing Instructions

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[ ] I have tested this code to the best of my abilities
[ ] I have verified accessibility to the best of my abilities (docs)
[ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[ ] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #8847

@swissspidy Let me know if you think this new logic makes sense -- I've added a gif and description of how it works now.


Epson TM-T20III printer setup

I just bought an Epson TM-T20III, I followed all the installation steps and just turned on the printer without any other cable connection. I tried to to detect the printer with EscPosPrinter.discover() or EscPosPrinter.pairingBluetoothPrinter() but it doesn't work. Does this printer have bluetooth or should I do some setup with the printer itself (like connecting it to my wifi) ?

Hi @feiwu77777.
I have printer TM-T20II (LAN connection) and for me, the initial setup was something like this:

Connect the printer to your PC with a LAN cable and assign a new IP address for the printer. Video that might help (for LAN) https://www.youtube.com/watch?v=zyoJXmede94&t=224s
Connect the printer to the router and on a device with connect to the same network trying to discover

Also, you might need to change the connection interface of the printer.
Related video https://www.youtube.com/watch?v=OHP8WquAcyg
For Bluetooth actually, as I know you first need to connect the printer to your device ( as a regular Bluetooth device ) and then discover. Don't forget to complete all the steps in the instructions for the Bluetooth connection
Android

IOS

Hope this helps.

@feiwu77777 Please let me know if it helps or if you find another tutorial ;) I'd like to share it with the community

@feiwu77777  Thanks for the explanation! Yes, I'll think about these docs and how to organize them better. I also was in the same situation when just bought a printer.
And from experience LAN connection is the most stable one so it's a good choice from your side.


Update readme.md

Fixed an error that did not have access during execution

https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally


EXTRA_SUBNETS not working

Hello,
I'm trying to use EXTRA_SUBNETS to access the container via my local network. Here is my docker-compose file I'm working with:
  pia:
    image: qmcgaw/private-internet-access:latest
    cap_add:
      - net_admin
    devices:
      - /dev/net/tun
    restart: unless-stopped
    ports:
      - 8113:8113
    environment:
      - USER=${PIA_USER}
      - PASSWORD=${PIA_PASS}
      - PROTOCOL=udp
      - ENCRYPTION=strong
      - REGION=${PIA_REGION}
      - EXTRA_SUBNETS=<IP_ADDRESS>/24
      - NONROOT=
    labels:
      <<: *default_traefik_opts
      traefik.backend: pia
      traefik.port: 8113
      traefik.local.frontend.rule: 'Host:qbit.localhost'
      traefik.https.frontend.rule: 'Host.qbit.${DOMAIN:-default}'

I'm trying to access it via <IP_ADDRESS>:8113, as I need it to be accessible via that as well as my reverse proxy (traefik). I get a connection refused whenever trying to connect via ip, unfortunately.

I am not too sure on how Traefik works, but from what I can see, the port is published on port 8113 on the VPN server side. You would still need to use the Nginx reverse proxy to publish the port locally and not on the other tunnel side. You can use the example given in the readme.


enh(JavaScript): binary-search

typo in comment

PR Checklist:

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is on refer on the language README.md file
[x] My addition does not have a spelling problem
[ ] My submission has a proper and user-friendly description of the algorithm
[ ] My submission has the time complexity of the algorithm
[ ] My submission has sample input-output of the program (NOT FOR PYTHON)

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] New algorithm
[x] Optimization in previous algorithms
[x] Code style update
[x] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR

Other information:

typo in comment
PR Checklist:

[ ]  My submission is formatted according to the guidelines in the contributing guide
[ ]  My addition is on refer on the language README.md file
[ ]  My addition does not have a spelling problem
[ ]  My submission has a proper and user-friendly description of the algorithm
[ ]  My submission has the time complexity of the algorithm
[ ]  My submission has sample input-output of the program (NOT FOR PYTHON)

What kind of change does this PR introduce? (check at least one)

[ ]  Bugfix
[ ]  New algorithm
[ ]  Optimization in previous algorithms
[ ]  Code style update
[ ]  Refactor
[ ]  Documentation
[ ]  Other, please describe:

Briefly describe the changes in this PR
Other information:

Please check the pull request checklist

I have update the PR, please let me know if there is anything else, thank you.


feat(mongoose): add support for nested properties with name "type"

Readded support for having nested properties in schema with name of "type" using "$type" as typeKey for mongoose schema type specification

Related to https://github.com/HPInc/davinci/pull/177
Moongoose docs https://mongoosejs.com/docs/guide.html#typeKey

Hono seems to be failing the build for some reason with node 14. I tried locally with node 14.20 and seems to be fine...

Regarding the comment in #177 https://github.com/HPInc/davinci/pull/177#issuecomment-1942065026
I think the meaning of "Unfortunately, the change breaks the support for keywords on sub-schemas" refers to the "required" option for example. In arrays we were loosing the keyword before

Regarding the comment in #177 #177 (comment) I think the meaning of "Unfortunately, the change breaks the support for keywords on sub-schemas" refers to the "required" option for example. In arrays we were loosing the keyword before

Actually I am adding a test and seems that the required option is not working with arrays in any case, and it is always defaulting to an empty array.


Add OverlayContainer

Project URL
https://github.com/applidium/ADOverlayContainer
Category
UI
Description
A library to develop overlay based interfaces, such as the one presented in the iOS 12 Apple Maps or Stocks apps.
Why it should be included to awesome-ios (mandatory)
Overlay based interfaces have become popular since Apple introduced them in Maps. I found several libraries (FloatingPanel, Pulley) on it but they all lacked certain details that make the transition joyful. I detailed the motion in a quick blog post<EMAIL_ADDRESS>OverlayContainer is non intrusive and focuses all its effort on the hard part : the relation between the scroll and the translation.
Checklist

[x] Only one project/change is in this pull request
[ ] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 11 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

206
403
https://www.udemy.com/arkit-beginner-to-professional/?couponCode=CREATORS

547
301
https://developer.couchbase.com/mobile/ redirects tohttps://www.couchbase.com/products/mobile/

930
301
https://github.com/schibsted/layout redirects tohttps://github.com/nicklockwood/layout

1003
301
https://github.com/caffe2/caffe2 redirects tohttps://github.com/facebookarchive/caffe2

1174
301
https://github.com/bakkenbaeck/Viewer redirects tohttps://github.com/3lvis/Viewer

1682
301
https://github.com/VirgilSecurity/sdk-x redirects tohttps://github.com/VirgilSecurity/virgil-sdk-x

1705
301
https://github.com/VirgilSecurity/crypto-x redirects tohttps://github.com/VirgilSecurity/virgil-crypto-x

2449
301
https://github.com/hyperoslo/Dropdowns redirects tohttps://github.com/onmyway133/Dropdowns

2705
301
https://github.com/bakkenbaeck/SectionScrubber redirects tohttps://github.com/3lvis/SectionScrubber

3095
301
https://developer.apple.com/app-store/review/rejections/ redirects tohttps://developer.apple.com/app-store/review/#common-app-rejections

3150
301
https://github.com/hyperoslo/SwiftSnippets redirects tohttps://github.com/onmyway133/SwiftSnippets

  Generated by :no_entry_sign: Danger

@gaetanzanella  We cannot merge your PR yet until you write some tests for your lib. Feel free to open PR once it is ready.
Please check our CONTRIBUTION GUIDELINES


Android demo not working

tns build android
fails with
AAPT: No resource found that matches the given name (at 'theme' with value '@style/LaunchScreenTheme').

Noob android developer here. Pls help?

I think you have problems in your manifest file... If you are trying to make Launch Screen take a look at this Launch Screen gist...

I'm only trying to make the included demo work. I haven't changed any of the code.

I have the same error with the demo.
AAPT: No resource found that matches the given name (at 'theme' with value '@style/LaunchScreenTheme').

So you're trying to build an APK instead of running it directly in an emulator?
Just gave it a try, and it worked for me.
git clone https://github.com/dapriett/nativescript-google-maps-sdk.git
cd nativescript-google-maps-sdk/demo
tns build android

And it was successful. platforms/android/src/main/res/values/styles.xml doesn't seem to be there before the process, probably created during the build.
I'd double check that everything is cool with tns doctor. That would be my first thought.

Hi
On android isn't showing the maps it doesn't thrown an error or anything. Just don't paint the map

platforms/android/src/main/res/values/styles.xml is a nativescript generate file, not from this plugin.  Guessing something wrong with the nativescript installation.  If you're still having issues, probably better off posting an issue here https://github.com/NativeScript/NativeScript


You don't see top-level NuGet packages until a design-time build + restore has occured

Change NuGet options to (to make it really obvious what's happening):

File -> New Console App (.NET Core)

Expected: Dependencies node to show the top-level packages in the project (in this case NETCoreApp)
Actual: Dependencies node shows nothing.

We should be populating top-level nodes during evaluation.

Should be fixed by my pending changes, will update when PR is complete.

JUst tried it after https://github.com/dotnet/project-system/pull/1880 ,  removed obj and disabled nuget in Tools/Options. Everything shows up.


CI check to ensure pu/pkg + pu/sdk versions are merged

Fixes #244

@AaronFriel this runs go mod tidy which will fail if there are any errors (i.e. unknown revision due to invalid version), but if it succeeds, then just reverts the changes so it isn't a strict requirement to run go mod tidy


bug(expr): to_char panic with timestamp and null

Describe the bug
thread 'risingwave-main' panicked at 'called `Result::unwrap()` on an `Err` value: ProstFieldNotFound("rex_node")', src/expr/src/expr/build_expr_from_prost.rs:237:69
...
   4: risingwave_expr::expr::build_expr_from_prost::build_to_char_expr
             at ./src/expr/src/expr/build_expr_from_prost.rs:237:44
   5: risingwave_expr::expr::build_from_prost
             at ./src/expr/src/expr/mod.rs:121:19

View full logs below frontend.log.
To Reproduce
select to_char(TIMESTAMP '2022-12-02 01:30:34', CAST(NULL AS CHARACTER VARYING));

Expected behavior
No response
Additional context
compute-node-5688.log
frontend-4566.log
meta-node-5690.log
risedev.log

Currently worked around in sqlsmith

fix by #7936?!


Conceptualisation 🖊 Royal Society

Title

Royal Society
Date or Period 📅

1660 (Royal Society, n.d.).
Intro

The Royal Society is established in London, England.
This story has been published on Tiki-Toki, but please feel free to reopen this issue and make any suggestions below!

#142

#142


How to zoom in/out in the console

how to zoom in/out text in console? Notice that it's not the editor.

Hey @yanyu2015, thanks for reporting. You need to use the same shortcuts as in the editor for this, i.e. Ctrl + + to increase the text size in the console and Ctrl + - to decrease it.
However, since there's no menu entry that shows that, I think we should add it so that this functionality can be easily discovered by users.

How about support that ctrl+mouse scroll up is equal to Ctrl + +, and ctrl+mouse scroll down is equal to Ctrl + -.

Good idea. That will make the support to zoom in/out in the console work the same as in the Editor.

Hello!
Using Spyder 5.5.0 standalone on Windows 11 home 64 bit here.
Somehow, only the shortcut Ctr+- is working on the console, i.e. the zoom out. The shortcut Ctr++ is not working.
It's been a while since I worked on Spyder but I remember it used to work all right earlier on, with the exact same installation I have now. Only thing that has changed meanwhile is some windows updates.
Would a clean Spyder install solve the problem?

Looks like Ctrl++ has a common bug, it doesn't work. Alternatively, press Ctrl+, (MacOS: Cmd+,) or go to Preferences and increase font size in Appearance.


Missing commands

A list of the currently existing commands
First, two commands which are similar enough to others that it shouldn't be to awful to add them:

C-c C-z takes a list of strings and identifiers and returns all the definitions in scope which mention these identifiers in their type and use the strings as part of their names (e.g. in a context where Data.Nat.Properties has been imported, C-c C-z "comm" _+_ RET will return +-comm).

C-c C-; is called from a goal with a candidate inside and it returns the context, the type of the goal and the term the candidate elaborates to at that type. This is useful to see e.g. what instance arguments get resolved to.

And one completely different so it might be more of a challenge:

C-c C-x C-s allows you to switch to another version of agda by inputting the version number you want (it assumes all agda executables are in the same directory and the version-specific ones are named agda-VERSION.NUMBER). It's pretty useful when working on Agda itself and thus having multiple builds.

Thanks! The first two commands shouldn't be too difficult.
Actually I've implemented something similar to C-c C-x C-s (in a fancy way)

But I thought I might be the only person on the planet who would need this kind of feature, so I removed it in v0.7.12 😂😂😂