npm can't build complex packages that require compiles by default without build-essential

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
https://gist.github.com/tomasnorre/963b1af6688265a11d8db6ce4ff876fc
Current Behavior
We are having problems with NPM on Apple M1 (arm64). make and g++ is missing in the image as far as we have seen.
You can reproduce this on Apple M1, by following steps.

Create a new ddev project (ddev config) , current folder and php
ddev start
ddev ssh
npm install node-sass

you will then first get the error that: stack Error: not found: make and if that gets installed it, you can run npm install node-sass again and will then complain about g++ missing.
Expected Behavior
As NPM is installed within DDEV I would expect this to be possible without installing software/tools my self.
So expecting make and g++ to be part of the images, then this problem would not occur.
Steps To Reproduce
Please see current behaviour.
Anything else?
This problem cannot be reproduced on a Linux (Ubuntu 20.04 x86_64)

Yes, make and g++ are required for npm packages that do installs. As build-essential is a pretty heavyweight set of packages, it's not provided by default. I do recommend webimage_extra_packages: [build-essential] for this situation.

The likely reason that this happens to you on arm64 is that there aren't prebuilt packages for arm64, and there are for amd64.

Thanks for a super fast reply. The webimage_extra_package was also the one we went for in the config.local.yml as it will not affect the ones not on M1.

With respect to your feedback. I think this could be closed then, as it doesn't sound like a wanted situation to "bloat" up the images more than needed. The ones needed the extra pages, can install them.
I just didn't think of the consequences of adding them as default.

I see problems like this when installing packages in the default build in tests. Sometimes the download fails and it tries to compile and fails because of missing build-essential. And of course it fails. If there weren't the problem of image bloat (it's bloated enough) I'd just add them. Maybe sometime I'll look at what that actually does to size. Closing, happy to continue the conversation here or elsewhere, and great to see you around!


Refactor

Hej @anders-larsson,
here is the code and readme refactor. Please check and merge.
I will then continue to add the anti-sort functionality of the open PR.

Hi,
Thanks for your contributions as always and it looks good.
However I tried this on a system and it fails because $ticket_lifetime is not a string.  but I cannot understand why. Currently it is Hiera as specified below and the value finds itself into krb5.conf.
krb5::ticket_lifetime: '24000'

It's working in version 0.7.1, there must be something in this pull request which I'm currently unable to understand.

Error for completeness:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: krb5::ticket_lifetime is not a string. at /etc/puppet/environments/testenv/modules/krb5/manifests/init.pp:38 on node mysystem.domain.tld```

Thanks for the feedback, I'll look into this detail to fix it.

Using git bisect I can also confirm it is commit https://github.com/kodguru/puppet-module-krb5/pull/24/commits/c225f0003b90c2d1c4bd94d4b1f01528045dcdd6 causing this which was what I would expected as well but might as well be thorough.

Hi again,
I did some further investigation and it appears is_string fails if there are only digits within the string (auto converted to integer(?)).
24000 fails
x24000 works
24000x works

yepp made the same observation.
Prepering a workaround is_string atm...

The workaround should do the trick. Let me upgrade the module to utilize stdlib 5.2.0.

Should be fixed now, please retest in production to verify.
I haven't have any more to add to this PR.

I can confirm that it works correctly with the workaround. Would you mind squashing some commits such as switching to stdlib 5.2.0 directly and maybe change commit satisfy Phil with something more descriptive? Thanks!

et voilà

Don't forget Satisfy Phil too!

oh you need to click on the three dots ;)

Ok. Looks good to me. Shall we have this merged then?

yes please, this will start me weekend then 🍹

Merged. Thanks!

Thanks Anders, that's a great start into the weekend :)


Remove leading backslash from use statements

Move conventional and inline with PHP recommendations.
From the PHP documentation:
http://php.net/manual/en/language.namespaces.importing.php#language.namespaces.importing

Note that for namespaced names …, the leading backslash is unnecessary
and not recommended, as import names must be fully qualified, and are
not processed relative to the current namespace.

Can you add a higher version of phpcs-fixer https://github.com/brianium/paratest/blob/master/composer.json#L43 to your PR?
It's currently locked to 2.3.2 because 2.4.0 ist able to detect exactly your change.

Doing so causes other phpcs errors in the files src/Runners/PHPUnit/ExecutableTest.php (braces) and src/Runners/PHPUnit/Configuration.php (no_break_comment) do you want these fixes included in this PR as well or would you prefer them to be separate?

Sorry for the delay. Nvm, I just thought we would get it for free then, but didn't remember that it was more than the includes.


Question about OutputFilePath

Hi,
I was trying to run npm package.
I have used *.nswag file to generate angular2 typescript proxies.
When I have an OutputFilePath like this
"OutputFilePath": "..\\src\\shared\\service-proxies\\service-proxies.ts"
I got an error but if I use full path like "D:\.................\service-proxies.ts" it works.
Can we use relative paths for OutputFilePath ? If so, can you share an example ?
Here is the exception message I'm getting.
System.AggregateException: One or more errors occurred. ---> System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at NSwag.CodeGeneration.Utilities.PathUtilities.MakeAbsolutePath(String relativePath, String relativeTo) in C:\Data\NSwag\src\NSwag.AssemblyLoaderCore\Utilities\PathUtilities.cs:line 83
at NSwag.Commands.NSwagDocumentBase.ConvertToAbsolutePaths() in C:\Data\NSwag\src\NSwag.Commands\NSwagDocumentBase.cs:line 250
at NSwag.Commands.NSwagDocumentBase.<>c__DisplayClass59_01.<LoadAsync>b__0() in C:\Data\NSwag\src\NSwag.Commands\NSwagDocumentBase.cs:line 159    at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.CodeGeneration.Commands.NSwagDocumentCommand.d__0.MoveNext() in C:\Data\NSwag\src\NSwag.AssemblyLoaderCore\Commands\NSwagDocumentCommand.cs:line 23
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.Commands.NSwagDocumentCommandBase.d__5.MoveNext() in C:\Data\NSwag\src\NSwag.Commands\Commands\NSwagDocumentCommandBase.cs:line 47
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.Commands.NSwagDocumentCommandBase.d__4.MoveNext() in C:\Data\NSwag\src\NSwag.Commands\Commands\NSwagDocumentCommandBase.cs:line 28
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NConsole.CommandLineProcessor.d__12.MoveNext() in C:\projects\nconsole\src\NConsole\CommandLineProcessor.cs:line 138
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NConsole.CommandLineProcessor.d__11.MoveNext() in C:\projects\nconsole\src\NConsole\CommandLineProcessor.cs:line 107
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at NSwag.Commands.NSwagCommandProcessor.Process(String[] args) in C:\Data\NSwag\src\NSwag.Commands\NSwagCommandProcessor.cs:line 39 ---> (Inner Exception #0) System.UriFormatException: Invalid URI: The format of the URI could not be determined.    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)    at NSwag.CodeGeneration.Utilities.PathUtilities.MakeAbsolutePath(String relativePath, String relativeTo) in C:\Data\NSwag\src\NSwag.AssemblyLoaderCore\Utilities\PathUtilities.cs:line 83    at NSwag.Commands.NSwagDocumentBase.ConvertToAbsolutePaths() in C:\Data\NSwag\src\NSwag.Commands\NSwagDocumentBase.cs:line 250    at NSwag.Commands.NSwagDocumentBase.<>c__DisplayClass59_01.b__0() in C:\Data\NSwag\src\NSwag.Commands\NSwagDocumentBase.cs:line 159
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.CodeGeneration.Commands.NSwagDocumentCommand.d__0.MoveNext() in C:\Data\NSwag\src\NSwag.AssemblyLoaderCore\Commands\NSwagDocumentCommand.cs:line 23
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.Commands.NSwagDocumentCommandBase.d__5.MoveNext() in C:\Data\NSwag\src\NSwag.Commands\Commands\NSwagDocumentCommandBase.cs:line 47
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.Commands.NSwagDocumentCommandBase.d__4.MoveNext() in C:\Data\NSwag\src\NSwag.Commands\Commands\NSwagDocumentCommandBase.cs:line 28
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NConsole.CommandLineProcessor.d__12.MoveNext() in C:\projects\nconsole\src\NConsole\CommandLineProcessor.cs:line 138
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NConsole.CommandLineProcessor.d__11.MoveNext() in C:\projects\nconsole\src\NConsole\CommandLineProcessor.cs:line 107<---
Thanks a lot.

Relative paths are allowed, but must be relative to the nswag file. Is this the case?

Hi,
Thank you for your response. Yes, it's relative to nswag file.
I'm attaching some screenshots to make it more clear.
This is the error message:

These are the locations of nswag file and output file directories.

and I'm using an outputfilepath like this.
"OutputFilePath": "..\\src\\shared\\service-proxies\\service-proxies.ts"

Can you try nswag run without file name?

Thanks, It works that way 😊

Ok, then you found a bug which i can reproduce.. will be fixed in the next version...

Thanks for your great work.
We can continue with your solution at the moment.

Will be fixed in v7.1


Update Parse By Comma Tests

Coverage increased (+2.5%) to 90.392% when pulling 4a5d180f25f74fe83abe5a841e685a97324f8d86 on luishengjie:master into fe3e664de28bf91ad3a010ac4c31a37d5f76fa56 on CS2103JUN2017-T4:master.


allow snapshots of single tiles

This PR enables to take snapshots of single tiles of the current sceen.
The api changed to  http://<your_ip>/api/snapshot.bmp?tile=1 where tile = 1..6. Missing or wrong query results in the standard full screen snapshot.

FYI should look at the other open PR, I found the issue regarding ethernet snapshot to work.

Oh that's fine, was just pointing it out. The only reason it hadn't already been merged is @sumnerboy12 wanted you to look / weight in on it

I made a different change to solve the ethernet issue with large payloads.
I send the image data row by row (~1k) which is working for ethernet and wifi. The payload per write cycle is well below the 2k buffer limit. This solution makes much more sense to me than the writeP usage which helps for an unknown reason .

sounds good to me. i assume it's not slowing down responsiveness with the way your doing it? full snapshot for me was taking less than 1.5 seconds i think.

Debug builds are uploaded to discord. Please do some comparison / testing

so my original fix:
using writeP on WiFi = 12.64 seconds
using write for WiFi = 1.47 seconds
now writeP is the only one that will work with ethernet but it takes 1.12 seconds
the new proposal:
WiFi 3.01 seconds
Ethernet 1.17s seconds

Just to confirm, this supersedes #5?

Just to confirm, this supersedes #5?

correct


Add repository field for Bower

This allows purescript-these to be published on Pursuit.

Thanks!

I've added it to Pursuit too.


[Accessibility] Terminal input edit is still buggy

Type: Bug
CC @meganrogge
Reproducible Steps

Create a new terminal

Type echo hello and hit enter

Type echo world in a new line and hit enter (you must create at least two lines of code to test b/c the single line does not have this issue)

Press UpArrow

Press LeftArrow multiple times to test if you can hear "echo world" character by character.

Notes: For NVDA and JAWS on Windows, it keeps saying "d" which is the last character.

VS Code version: Code - Insiders 1.83.0-insider (7c7f7eee860e299499a3bd2915ad716f09f2d6a6, 2023-09-19T08:56:35.775Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.71GB (6.31GB free)

Process Argv
C:\Users\jseo1005\OneDrive - University of Illinois - Urbana\Desktop\source.R --crash-reporter-id b05b88e5-8894-4031-ae34-fa034ebddea9

Screen Reader
yes

VM
0%

Extensions (91)

Extension
Author (truncated)
Version

android-dev-ext
ade
1.3.2

aiprm-lang
AIP
0.0.2

Bookmarks
ale
13.4.1

openscad
Ant
1.2.1

spellright
ban
3.0.118

zoterolatex
bna
0.4.1

mermaid-markdown-syntax-highlighting
bpr
1.5.2

doxdocgen
csc
1.4.0

vscode-markdownlint
Dav
0.51.0

vscode-eslint
dba
2.4.2

vscode-quick-select
dba
0.2.9

vscode-deno
den
3.22.0

gitlens
eam
14.3.0

EditorConfig
Edi
0.16.4

prettier-vscode
esb
10.1.0

vscode-google-translate
fun
1.4.13

codespaces
Git
1.15.3

copilot
Git
1.112.422

copilot-chat
Git
0.8.2023091902

remotehub
Git
0.60.0

vscode-github-actions
git
0.26.2

vscode-pull-request-github
Git
0.72.0

overleaf-workshop
iam
0.1.5

cslpreview
igo
0.2.2

easy-snippet
inu
0.6.3

path-autocomplete
ion
1.25.0

latex-workshop
Jam
9.14.0

lilypond-syntax
jea
0.1.1

scheme
jea
0.2.0

better-cpp-syntax
jef
1.17.2

google-search
kam
0.0.1

vscode-lua-format
Koi
1.3.8

lilypond-formatter
lhl
0.2.3

lilypond-pdf-preview
lhl
0.2.8

lilypond-snippets
lhl
0.1.1

vslilypond
lhl
1.7.3

zotero
mbl
0.1.10

git-graph
mhu
1.30.0

vscode-docker
ms-
1.26.0

black-formatter
ms-
2023.4.1

flake8
ms-
2023.6.0

isort
ms-
2023.11.12061012

python
ms-
2023.16.0

vscode-pylance
ms-
2023.9.10

jupyter
ms-
2023.8.1002501831

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.311.0

remote-ssh
ms-
0.106.4

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.3

vscode-remote-extensionpack
ms-
0.24.0

azure-repos
ms-
0.36.0

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

js-debug-nightly
ms-
2023.9.1317

powershell
ms-
2023.6.0

remote-repositories
ms-
0.38.1

vscode-github-issue-notebooks
ms-
0.0.129

vscode-selfhost-test-provider
ms-
0.3.18

vscode-serial-monitor
ms-
0.10.0

vsliveshare
ms-
1.0.5883

autodocstring
njp
0.6.1

pandocciter
not
0.10.3

shiny-python
Pos
0.1.4

shinyuieditor
pos
0.4.3

quarto
qua
1.98.0

r-debugger
RDe
0.5.4

java
red
1.22.1

vscode-xml
red
0.26.1

r
REd
2.8.1

multi-command
ryu
1.6.0

vscode-deepl
soe
1.0.6

abc-music
sof
0.4.0

lua
sum
3.7.0

latex-utilities
tec
0.4.10

cmake
twx
0.0.17

errorlens
use
3.13.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.2.30

vscode-arduino
vsc
0.6.0

vscode-java-debug
vsc
0.54.0

vscode-java-dependency
vsc
0.23.1

vscode-java-pack
vsc
0.25.14

vscode-java-test
vsc
0.39.1

vscode-maven
vsc
0.42.0

markdown-all-in-one
yzh
3.5.1

grammarly
znc
0.22.1

(1 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
py29gd2263:30784851
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pynewext54:30618038
a9j8j154:30646983
showlangstatbar:30737417
ecj1e332:30687743
pythonfmttext:30716741
fixshowwlkth:30771523
showindicator:30805243
pythongtdpath:30726887
i26e3531:30792625
welcomedialog:30812478
pythonnosmt12:30779711
pythonidxpt:30768918
pythonnoceb:30776497
copilotsettingt:30808721
asynctok:30821568
dsvsc013:30777762
dsvsc014:30777825
diffeditorv2:30786206
pythonlinttype:30823781
pythonmpsinfo:30815194
dsvsc015:30821418
pythontestfixt:30826906
pythonfb280951:30830809

Yeah, this is acting very buggy on windows

This bug has been fixed in the latest release of VS Code Insiders!
@jooyoungseo, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 8bac42dd1ec2bb223e847a16437b196c040680e5 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

@TylerLeonhardt repro steps as listed should work. Lmk if you have questions

reopening because @rzhao271 marked verification-found per the process.

It's a lot better today. Closing and marking as verified.

@jooyoungseo can still repro. He's going to send me the output logs. The command decorations are off here.

@jooyoungseo can still repro. He's going to send me the output logs. The command decorations are off here.

@Tyriar the command start line is off here, which is causing this issue. Do you know why / how that happens?

Does not reproduce for me on Windows.

@meganrogge this can happen sometimes on Windows. What I'd recommend is add some logic when a command starts that does a quick scan of nearby lines to re-adjust for the common PS/cmd prompt case if the current line does not look like a prompt. This is a workaround until shell integration sequences are passed through correctly by conpty.

@meganrogge added feature as we'll want to call this out in the terminal section of the release notes


Docs sidebar doesnt feature all rst files

When clicking thru both the user and message rst files for the docs they are not shown, this should not be the case.

Appears to be fixed in the latest build...? No idea why


Fix for #147

The package Sweet Alerts 2 is upgraded to support new lifecycle hooks.
Before counts are sent to the Suma server, a loading modal is displayed that will block user interaction until the submission is resolved.

@jcraitz I would get rid of the "Ok" on the pop up.

Pretty sure this is no longer needed.


[macOS] Default Xcode will be set to Xcode 12.2 on November, 30.

Breaking changes
Default Xcode will be changed to 12.2, and default Xamarin bundle will be changed to 6_12_3 which includes Xamarin.iOS 14.4, Xamarin.Android 11.1, Xamarin.Mac 6.22, Mono 6.12
Target date
Update propagation will start on November, 30 and will take 2-3 days.
The motivation for the changes
We would like to provide images with the latest stable updates as a default ones.
Possible impact
If you use default Xcode version and your project is not compatible with Xcode 12.2 your build can be broken.
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.13
[ ] macOS 10.14
[x] macOS 10.15
[x] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Mitigation ways
Please consider switching Xcode in runtime to version that you need to build app.
The following snippet can be used to switch Xcode:
sudo xcode-select -s "/Applications/Xcode_12.0.app"
The list of all available Xcode versions can be found in image documentation

New images with Xcode 12.2 as default were deployed everywhere. Closing the issue


styled team 'card' in the non-null state

a .png pokeball exists in ./assets, but i wasn't able to get it to display and be removable upon a drop. it more or less broke dropping so i took it out. left it in the rep in case you want to try tinkering with it.

assigning this to you Sung-Jin in case you want to continue working and adding before any kind of PR review. currently the team display looks like:


Webpack error

I am trying to add "flatpickr" to the webpack but webpack giving this error :

Expected Behavior
Normaly just giving me bundle file.
Current Behavior
when i add flatpickr module, everything is giving an error.
Possible Solution

Steps to Reproduce (for bugs)

add flatpickr module with require("flatpickr")  to ./bundles/in/dashboard-footer.js
i am writing to terminal this command :

 webpack --output-file ./bundles/out/dashboard-footer.out.js --config ./webpack.config.js ./bundles/in/dashboard-footer.js
Context

Your Environment

Version used: 2.3.7
Browser Name and version: "Chorome - version 56.0.2924.87"
Operating System and version (desktop or mobile): Desktop - Ubuntu 16.04
Link to your project:

Hello,
Looks like its pulling flatpickr's .babelrc, even though it shouldn't.
Install https://www.npmjs.com/package/babel-plugin-transform-remove-strict-mode OR pull dist/flatpickr.js or fix your webpack config.


work on translation text size simulator bookmarklet

Use table to simulate expected expansions based on English source:
https://www.w3.org/International/articles/article-text-size

consider some variation of getElementsByXPath('//body/*[text()][not(@hidden)]')

maybe getElementsByXPath("//body/*[normalize-space()][string-length(text()) > 0][not(@hidden)]")

https://bookmarklet-generator.surge.sh/


help center: Improve documentation on the ? in-app reference.

Adds a sentence at the end of the intro section of each help center page explaining that you can pull up a Keyboard shortcuts, Message formatting, and Search filters reference from inside the app.
Adds/updates the in-app help section at the bottom of the page with instructions for opening the reference.
Adds Related Articles section to the Keyboard shortcuts page.
Fixes #23758.
Questions:

Should we rephrase the first sentence of the intro in the Searching for messages page? Any ideas?

We might want to consider rewriting [the phrase "Zulip has a powerful search engine under its hood"] in a follow-up pass; it looks like we wrote that back in 2018 (6880af6c2e3b4e598f385e3c2efb2eba4e2ce226).
Originally posted by @timabbott in https://github.com/zulip/zulip/pull/23690#discussion_r1038661809.

Also, we are using the term search filters in the documentation, but the in-app reference tab is still called Search operators.

Should we change the title "Format your messages" > "Format your messages using Markdown" so that it matches de sidebar index?

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Calls out remaining decisions and concerns.
[x] Automated tests.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Links.

Should we rephrase the first sentence of the intro in the Searching for messages page? Any ideas?

Yeah, let's try to make it more centered on user benefits. Maybe something like this, riffing off the language on https://zulip.com/for/business/?

It's easy to find the right conversation with Zulip's powerful full-text search.

Also, we are using the term search filters in the documentation, but the in-app reference tab is still called Search operators.

Filed as #23767. Might be something you can pick up if you like?

Do you think "in-app" is a good user-facing term, or is it too geeky? Do other apps use it in their documentation?

Should we change the title "Format your messages" > "Format your messages using Markdown" so that it matches de sidebar index?

I think it would be good to consolidate these, but I don't see a clear benefit in mentioning Markdown in the left sidebar or title. What if we just make it "Message formatting" in both places?
@timabbott your thoughts here?

@alya I've updated this PR in response to your feedback and the screenshots too.

Looks good to me!
@timabbott please take a look. There is also a question for you above.

I think it would be good to consolidate these, but I don't see a clear benefit in mentioning Markdown in the left sidebar or title.

There's probably some SEO benefit as well as benefit for folks who just see the heading and don't click in because they know Markdown.

Merged, after removing the reference to "GitHub-flavored Markdown"; we use our own variant that is kinda similar to GitHub-flavored Markdown but probably no more than so any other popular Markdown variant.

There's probably some SEO benefit (will folks who google for "Zulip markdown" get directed there?) as well as benefit for folks who just see the heading and don't click in because they know Markdown.

Eh, OK, I think those are outweighed by the benefits of using "Message formatting", which is friendlier for users who are not familiar with Markdown. Markdown is still mentioned on the page, so hopefully Google would be smart enough to find it. And a user who's familiar with Markdown can learn what they need by reading the first line on the page. So I think we should go ahead with that change.

I can submit a PR to rename the page "Format your messages" > "Message formatting".

Great, thanks!


⚠ Bofrost.de has degraded performance

In 76272da, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1323 ms

Resolved: Bofrost.de performance has improved in 01c7160 after 13 minutes.


CMake find package config mode doesn't include the CMake macro nanopb_generate_cpp() and the MODULE mode does not include the targets

I have been playing with nanopb and cmake, and there is a problem in my view as to how the package provide the FindNanopb.cmake file and such.
I see for example that nanopb provides nanopb:: namespace and targets but there is not example provided where this is use.  To use those targets normally one creates an application and use.
find_package(nanopb CONFIG)

target_link_libraries(myapp PRIVATE nanopb:: <target>)

Yet, doing so cause an issue because then the developer cannot use the CMake macro nanopb_generate_cpp(), which only gets added when adding nanopb using the MODULE mode:
find_package(nanopb MODULE) vs find_package(nanopb CONFIG)
My understanding is that the macro nanopb_generate_cpp() should be in its own .cmake file such as nanopb_macros.cmake and this file should then be included by both FindNanopb.cmake and nanopb-config.cmake, as to make it available in both mode.
The use of CMake targets is related to what they call modern CMake: https://cliutils.gitlab.io/modern-cmake/
The MODULE mode is the old way, where one would have to use something like
target_include_directories(myapp PRIVATE NANOPB_INCLUDES)
target_link_libraries(myapp PRIVATE NANOPB_LIBRARIES)

and then have to ensure out-of-band that the same gcc DEFINES flags are used across the compilation chain using that library, this is where the modern CMake shines in that it takes care of the gcc related details for the developers.

If one were to write a sample app using CONFIG mode and the macro:
find_package(nanopb CONFIG)

nanopb_generate_cpp(PROTO_SRC PROTO_HEADER simple.proto)

add_executable(${PROJET_NAME} simple.c ${PROTO_SRC} ${PROTO_HEADER})

target_link_libraries(simple PRIVATE nanopb:: <target>)

CMake would then report an error.

I must admit that my CMake knowledge is not enough to understand this.

I think #911 may also be tangentially related to this problem.


AWS Logs + Working user data script

Hello here,
Here is a proposition for the Amazing GuestBook App userdata script.
Simplify nodejs installation + Activate CloudWatch Logs

To test the user data script before the merge, use:
#!/bin/bash
curl https://raw.githubusercontent.com/sogos/LIVE-CODING/master/guestbook-app/setup/userdata.sh | bash

Thanks Thibault for your contribution!


Set up dialog_field relationships through DialogFieldAssociations

This will allow us to set up associations directly between dialog fields, which we will be using for the targeted auto refresh. ~There are two associations, dialog_field_trigger_associations and dialog_field_respond_associations. I (originally) went with the verbose name but I think just trigger_associations and respond_associations is fine too.~
This PR requires a migration, which can be found here.
https://www.pivotaltracker.com/story/show/148838143
@miq-bot assign @gmcculloug

Tests are failing due to needed migration. Will need to be restarted after the migration PR gets merged.

Updated with different association names. Instead of trigger_associations, this has been changed to dialog_field_responders, as it is specifically a list of dialog fields that are set to respond when the given dialog field triggers (which I realize seems confusing).
Similarly, respond_associations has been changed to dialog_field_triggers, which is a list of dialog fields that are currently set to trigger the given dialog field.
Hopefully that clears things up.

@d-m-u I preferred this name as it makes it clearer that we are expecting dialog_field objects returned but I am open to hearing your suggestions.

@gmcculloug Restarting travis should fix the specs now that the schema PR has been merged.


Android ndk cmake

Could anyone be so kind as to tell me how I would integrate this cereal code into my android studio project with cake? Please. I've got it working outside of android just to test it.

Then what "doesnt work" with android?
I got it working on windows, linux and android studio the same way, i didnt
do anything special for android afair.
On Thu, May 16, 2019, 10:33 gentlemansuicide<EMAIL_ADDRESS>wrote:

Could anyone be so kind as to tell me how I would integrate this cereal
code into my android studio project with cake? Please. I've got it working
outside of android just to test it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/USCiLab/cereal/issues/570?email_source=notifications&email_token=ACF5UVUVRY3SF2AFSHAMP4DPVUL65A5CNFSM4HNKGDXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUDO6AQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACF5UVSQZBDWPT53X5O7RUTPVUL65ANCNFSM4HNKGDXA
.

Well I did an include_directories in cmake  on the cereal folder which I put into cpp and I included
The vector type from it ok, but vector includes cereal/cereal.hpp which it could not find. How do I fix that.


Update CI

Complete the migration to GitHub Actions, use GHA Caching for Houdini 17.5 and other Houdini builds
Re-enable the Houdini debug build (and fix a minor assert compiler error in VDB Activate SOP)
Turn Azure Pipelines workflow into hello world example (to be completely disabled after merging this PR)
Re-organize ci directory and remove scripts no longer in use
Add GHA badge in place of Azure badge in Readme

Worth adding release notes for this

To me knowledge, we've never put CI changes in the release notes - how do you see users benefitting from this?


Annotation less definition

Defining whether an object is on heap or off heap using annotation at the point of definition is not very continent:

Case class can be defined in another library
You need to use both on heap and off heap version

So the decision if you need a on heap or off heap object should be ideally left to the point where you allocate the object

Unfortunately at this moment in time it's not possible to do this without changing the language. The goal of scala-offheap right now is to be the best library for off-heap memory. If the situation changes (e.g. more language extension points are exposed) we might change the way we do off-heap classes. I believe that annotations are the best way to do this right now even though they make it impossible to use the same class definition for both on-heap and off-heap allocations.

p.s. One of the reasons to use annotations is a clean way to give user feedback if his class can not be used off-heap (and why precisely). There are quite a few restrictions right now. For example inability to have references from off-heap to on-heap types, limited kinds of definitions that be nested in off-heap classes etc.

Cann't you have something like
val a = Alloc[A]?

Macro annotation generates quite a lot of class-specific low-level code that is necessary to make off-heap classes work. Outside of macro-annotations there is no easy way to generate a definition and re-use it across multiple allocation call-sites. Not only you can't share generated you also can't get an AST of the class outside of current compilation unit which is necessary for rewriting.

 I don't know this might work in your case.

Off-heap and on-heap are completely different on byte-code level. On-heap classes are regular JVM classes and off-heap ones are value classes over offfheap references. Generation of the value-class based representation can only be done with macro annotation (as it's the only practical way to do the required code generation at the moment.) We might explore unification of off-heap and on-heap classes in the future.

Just food for thought. Thinking through how to do this in an unified way from the start maybe the best way to get about it. Wouldn't looking into be able to use on heap for off heap also be the better and easier way to go? Also no need to restrict your self to value classes. Maybe there is a different but easier way to do this.

I'm quite certain that unification is not possible without changing the compiler and that's out of scope at the moment. It might be easier to change the language but we can't just add functionality on the whim, Scala is quite a big language already. Instead we'll do our best at making a nice library that makes due with tools we already have like macros, implicits, value classes etc.

OK

There were a bunch of nuggets in this thread that should end up on the wiki
or README. Copy paste? :-)
Irfan
On Mar 31, 2015 9:30 AM, "Suminda Dharmasena"<EMAIL_ADDRESS>wrote:

OK
—
Reply to this email directly or view it on GitHub
https://github.com/densh/scala-offheap/issues/23#issuecomment-88161260.

I've just enabled support for wikis, feel free to add stuff there.


close() missing in org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants.setUserAgentValue(OpenStreetMapTileProviderConstants.java:67)

Issue Type
[ ] Question
[X ] Bug
[ ] Improvement
[ ] Build system related
[ ] Performance
[ ] Documentation
Description and/or steps/code to reproduce the problem
No big deal, but libraries should be clean, shouldn't they? Reading Issue #819 I enabled some StrictMode policies on my app and got (beside lots of other things) this trace:
 java.lang.Throwable: Explicit termination method 'close' not called
                                                                             at dalvik.system.CloseGuard.open(CloseGuard.java:180)
                                                                             at java.io.FileInputStream.<init>(FileInputStream.java:78)
                                                                             at java.util.Scanner.<init>(Scanner.java:158)
                                                                             at java.util.Scanner.<init>(Scanner.java:138)
                                                                             at org.osmdroid.tileprovider.util.StorageUtils.getAllStorageLocationsRevised(StorageUtils.java:507)
                                                                             at org.osmdroid.tileprovider.util.StorageUtils.getStorageList(StorageUtils.java:198)
                                                                             at org.osmdroid.tileprovider.util.StorageUtils.getStorage(StorageUtils.java:232)
                                                                             at org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants.<clinit>(OpenStreetMapTileProviderConstants.java:25)
                                                                             at org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants.setUserAgentValue(OpenStreetMapTileProviderConstants.java:67)

Environment
Just an Activity with a MapView.
If it's a bug, version(s) of android this affects:
Found in a 6.0 Emulator.
Version of osmdroid the issue relates to:
5.6.5

OK, getting beyond that point, there seems to be more:
java.lang.Throwable: Explicit termination method 'close' not called                                                                              at dalvik.system.CloseGuard.open(CloseGuard.java:180)                                                                              at java.io.FileInputStream.<init>(FileInputStream.java:78)                                                                              at java.util.Scanner.<init>(Scanner.java:158)                                                                              at java.util.Scanner.<init>(Scanner.java:138)                                                                              at org.osmdroid.tileprovider.util.StorageUtils.getAllStorageLocationsRevised(StorageUtils.java:507)                                                                              at org.osmdroid.tileprovider.util.StorageUtils.getStorageList(StorageUtils.java:198)                                                                              at org.osmdroid.tileprovider.util.StorageUtils.getStorage(StorageUtils.java:232)                                                                              at org.osmdroid.config.DefaultConfigurationProvider.<init>(DefaultConfigurationProvider.java:74)                                                                              at org.osmdroid.config.Configuration.getInstance(Configuration.java:23)                                                                              at org.osmdroid.views.MapView.<init>(MapView.java:158)                                                                              at org.osmdroid.views.MapView.<init>(MapView.java:212)

see #819, i think they were fixed on that branch

Still have it on the (right now) Sonatype Snapshot. Note that the things I reported were missing "close" actions. #819 was about missing "end".
Message is:
java.lang.Throwable: Explicit termination method 'close' not called
Positions is:
org.osmdroid.tileprovider.util.StorageUtils.getAllStorageLocationsRevised(StorageUtils.java:507)
(Actually same as with 5.6.5)

I just pushed another snapshot. Give it a shot

The end bit is not our code and most likely is called after closing the connection, which should be fixed. I just pushed another snapshot, give it a shot when you have time

I just pulled another snapshot and it seems to work now.
Note (and this also fits here: #824 ) I realized, that I have to go to gradle cache and manually delete the last downloaded snapshot, as gradle does not see a reason to automatically update a snapshot with all visible version numbers the same.

if you work with snapshots a lot, you can add this to your root build.gradle file
allprojects  {
    // forces all changing dependencies (i.e. SNAPSHOTs) to automagicially download
    configurations.all {
        resolutionStrategy {
            cacheChangingModulesFor 0, 'seconds'
        }
    }


refactor(cypress): cy.login() is available to all specs

What's in this PR?

moves command definition of cy.login() from admin.spec.js to Cypress's support file, making it available to all spec files.
Uses Cypress.env() to declare URLs in cypress.json, similar to the speech-db
Creates a new command: cy.readCypressUserJSON() to do exactly that!
enables a test that was skipped in the last PR — the paradigm labels require a logged-in user (for now)

Codecov Report

Merging #832 (5fd5e94) into main (c9b9b56) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #832      +/-   ##
==========================================
+ Coverage   81.29%   81.34%   +0.04%
==========================================
  Files         104      104
  Lines        4213     4213
  Branches      618      618
==========================================
+ Hits         3425     3427       +2
+ Misses        668      667       -1
+ Partials      120      119       -1

Impacted Files
Coverage Δ

src/CreeDictionary/CreeDictionary/views.py
83.17% <0.00%> (+1.86%)
: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 c9b9b56...5fd5e94. Read the comment docs.


Update FieldOfViewNeurons.py

Fixed the bug that FoV Neurons with BVC decreased their firing rate with increase of the wall distance. It was because cell_fr_norm was calculated during BVC initialization when the cells tuning parameters are not changed yet.

That's great, thanks for catching this and for the PR! Worth bearing in mind, I guess, that the real way would be to calculate the firing rates at all positions and heading directions and normalise by the max of that but it sounds like a pain which isn't worth going through to me.
By the way, we're soon going to refactor this a bit so FoV_OVCs and FoV_BVCs aren't the same class. It should affect your workflow too much but worth being aware, tagging @mehulrastogi so he's aware of this change.


Stop breaking type coercion

The current way we match over the result breaks type coercion, example:
example this will break: (https://play.rust-lang.org/?gist=487d56225ce4b06116eb357f75bf6474)
#[logfn(INFO)]
fn first() -> Result<u8, Box<dyn Error>> {
    Err(Box::new(MyError))
}

Possible solutions:

Use match instead of map/map_err (this complicates no-std support, see #7)
Use the ? operator, (ie Ok(expr?)), but this again complicates no-std support because Ok is a prelude that might not always be in scope

If the possible solution is merged might this issue be now closed?


please update examples to not use beta version of ingress

it seems the beta version is deprecated and throws warnings when deploying
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress

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

ID: df590818-cbf1-3473-b408-70b1224977fa
Version Independent ID: 6b52d0c4-03e3-358c-0828-e1afcc676708
Content: Expose an AKS service over HTTP or HTTPS using Application Gateway
Content Source: articles/application-gateway/ingress-controller-expose-service-over-http-https.md
Service: application-gateway
GitHub Login: @Caya
Microsoft Alias: caya

@roberts2727 Thank you for your feedback . We will investigate and update the thread.

Hello @roberts2727
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Any update on this?
also see similar ticket #86842

Hi - I've assumed ownership of this article. I am reassigning the issue to myself. We currently have a large backlog of GitHub issues so I'm prioritizing these and working them as I am able.  Please reply to this thread if you are still experiencing an issue with the article that is referenced, or if you feel the issue can be closed now.  Thanks! #reassign:greg-lindsay


Serializer2 docs

Initial stab at documentation for the EmberDataSerializer that provides primaryKey and transforms (equiv of attrs from ember data serializer)
Also updated the advanced configuration section on how to opt into this

I think it looks good!

Thats what I have at the moment. I would think the next thing to do would be to do a release.
I am not very familiar with that process though.

Would be great to great your help releasing!
Why don't you give this a watch and then open a new issue with any questions: https://www.youtube.com/watch?v=IeKNE_ERadY


FATAL ERROR: JS Allocation failed - process out of memory

I'm seeing a new issue with 0.6.0-RC1 and Scala 2.10 (only; 2.11.5 is fine).
Ideas?
Reproduction

Checkout https://github.com/japgolly/nyaya
git co scalajs-0.6
./sbt-210 T

Problem
Tests crash like this:
[info] 1/4     japgolly.nyaya.util.MultimapTest.list		Success
[info] 2/4     japgolly.nyaya.util.MultimapTest.set		Success
[info] 3/4     japgolly.nyaya.util.MultimapTest.vector		Success
[info] 4/4     japgolly.nyaya.util.MultimapTest		Success
[error] FATAL ERROR: JS Allocation failed - process out of memory
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:189)
	at java.net.SocketInputStream.read(SocketInputStream.java:121)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
	at java.io.DataInputStream.readInt(DataInputStream.java:387)
	at org.scalajs.jsenv.nodejs.NodeJSEnv$ComNodeRunner.receive(NodeJSEnv.scala:181)
	at org.scalajs.testadapter.ComUtils$.receiveResponse(ComUtils.scala:23)
	at org.scalajs.testadapter.ComUtils$.receiveLoop(ComUtils.scala:15)
	at org.scalajs.testadapter.ScalaJSTask.execute(ScalaJSTask.scala:62)
	at sbt.TestRunner.runTest$1(TestFramework.scala:76)
	at sbt.TestRunner.run(TestFramework.scala:85)
	at sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)
	at sbt.TestFramework$$anon$2$$anonfun$$init$$1$$anonfun$apply$8.apply(TestFramework.scala:202)
	at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:185)
	at sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)
	at sbt.TestFramework$$anon$2$$anonfun$$init$$1.apply(TestFramework.scala:202)
	at sbt.TestFunction.apply(TestFramework.scala:207)
	at sbt.Tests$$anonfun$9.apply(Tests.scala:216)
	at sbt.Tests$$anonfun$9.apply(Tests.scala:216)
	at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
	at sbt.std.Transform$$anon$3$$anonfun$apply$2.apply(System.scala:44)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:235)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[error] Could not run test japgolly.nyaya.test.GenTest: java.net.SocketException: Connection reset
java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
	at java.io.DataOutputStream.flush(DataOutputStream.java:123)
	at org.scalajs.jsenv.nodejs.NodeJSEnv$ComNodeRunner.send(NodeJSEnv.scala:173)
	at org.scalajs.testadapter.ScalaJSRunner$$anonfun$stopSlaves$1.apply(ScalaJSRunner.scala:128)
	at org.scalajs.testadapter.ScalaJSRunner$$anonfun$stopSlaves$1.apply(ScalaJSRunner.scala:128)
	at scala.collection.Iterator$class.foreach(Iterator.scala:727)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
	at scala.collection.MapLike$DefaultValuesIterable.foreach(MapLike.scala:206)
	at org.scalajs.testadapter.ScalaJSRunner.stopSlaves(ScalaJSRunner.scala:128)
	at org.scalajs.testadapter.ScalaJSRunner.done(ScalaJSRunner.scala:67)
	at sbt.Defaults$$anonfun$allTestGroupsTask$1$$anonfun$16.apply(Defaults.scala:547)
	at sbt.Defaults$$anonfun$allTestGroupsTask$1$$anonfun$16.apply(Defaults.scala:545)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
	at scala.collection.immutable.Map$Map1.foreach(Map.scala:109)
	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
	at scala.collection.AbstractTraversable.map(Traversable.scala:105)
	at sbt.Defaults$$anonfun$allTestGroupsTask$1.apply(Defaults.scala:545)
	at sbt.Defaults$$anonfun$allTestGroupsTask$1.apply(Defaults.scala:543)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:235)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[error] (nyaya-test-js/test:executeTests) java.net.SocketException: Broken pipe

There's this warning that persists with scalac.patmat.analysisBudget set to 512, 1024, 2048.
It can't be a coincidence but I don't see how that would cause a crash after compilation...
[warn] /home/golly/projects/nyaya/nyaya-core/src/main/scala/japgolly/nyaya/Logic.scala:70: Cannot check match for unreachability.
[warn] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=1024 or -Dscalac.patmat.analysisBudget=off.)
[warn]   final def ∨(q: Logic[P, A]): Logic[P, A] = this match {
[warn]                                              ^
[warn] /home/golly/projects/nyaya/nyaya-core/src/main/scala/japgolly/nyaya/Logic.scala:82: Cannot check match for unreachability.
[warn] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=1024 or -Dscalac.patmat.analysisBudget=off.)
[warn]   final def ∧(q: Logic[P, A]): Logic[P, A] = this match {
[warn]                                              ^
[warn] /home/golly/projects/nyaya/nyaya-core/src/main/scala/japgolly/nyaya/Logic.scala:70: Cannot check match for unreachability.
[warn] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=1024 or -Dscalac.patmat.analysisBudget=off.)
[warn]   final def ∨(q: Logic[P, A]): Logic[P, A] = this match {
[warn]                                              ^
[warn] /home/golly/projects/nyaya/nyaya-core/src/main/scala/japgolly/nyaya/Logic.scala:82: Cannot check match for unreachability.
[warn] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=1024 or -Dscalac.patmat.analysisBudget=off.)
[warn]   final def ∧(q: Logic[P, A]): Logic[P, A] = this match {
[warn]                                              ^
[warn] /home/golly/projects/nyaya/nyaya-core/src/main/scala/japgolly/nyaya/Logic.scala:120: Cannot check match for unreachability.
[warn] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=1024 or -Dscalac.patmat.analysisBudget=off.)
[warn]   final def rename(n: => String): Logic[P, A] = this match {
[warn]                                                 ^
[warn] /home/golly/projects/nyaya/nyaya-core/src/main/scala/japgolly/nyaya/Logic.scala:120: Cannot check match for unreachability.
[warn] (The analysis required more space than allowed. Please try with scalac -Dscalac.patmat.analysisBudget=1024 or -Dscalac.patmat.analysisBudget=off.)
[warn]   final def rename(n: => String): Logic[P, A] = this match {

The analysisBudget has nothing to do with this ;)

It seems there is a major memory leak somewhere. Strange thing, with Rhino, it runs ^^ And with PhantomJS, it's much worse because it doesn't detect the memory blowup, and hence the RAM of my entire system when berserk (and I got 16 GB) ...

OK that's a bug in the optimizer with constant folding ^^ (which is why it works in Rhino)
Can you see the obvious mistake here:
https://github.com/scala-js/scala-js/blob/v0.6.0-RC1/tools/shared/src/main/scala/org/scalajs/core/tools/optimizer/OptimizerCore.scala#L1948
? :-p
It is revealed by this downward loop:
https://github.com/japgolly/nyaya/blob/scalajs-0.6/nyaya-test/src/main/scala/japgolly/nyaya/test/Gen.scala#L85
which, after inlining of the Range optimization of 2.10 (which is different than that of 2.11 - hence why it happens only in 2.10), and some crazy constant folding, wants to optimize this expression:
val len = buf.length
val numElems = len - 1
val lastElem = len + (numElems - 1) * (-1)

The (numElems - 1) * (-1) there is incorrectly "optimized" as just - (-1) instead of - (numElems - 1).
This causes this loop to never terminate (well, it has 2^32 iterations due to wrapping), which in turns causes the OutOfMemory problem.
This is a critical bug. So we'll have an RC2 with a fix for this.
In the meantime, if you want to make progress on your libraries, you can deactive the optimizer with
scalaJSOptimizerOptions ~= { _.withDisableOptimizer(true) }

which should work around the problem for now.

Nice work as always! Glad we hit it now it the RC phase. I'm only compiling
the 2.10 build for testing and completeness but thanks for the workaround.
Everything else was perfect. In fact now that this issue is understood I'll
report on the mailing list...
On 14 January 2015 at 22:09, Sébastien Doeraene<EMAIL_ADDRESS>wrote:

OK that's a bug in the optimizer with constant folding ^^ (which is why it
works in Rhino)
Can you see the obvious mistake here:
https://github.com/scala-js/scala-js/blob/v0.6.0-RC1/tools/shared/src/main/scala/org/scalajs/core/tools/optimizer/OptimizerCore.scala#L1948
? :-p
It is revealed by this downward loop:
https://github.com/japgolly/nyaya/blob/scalajs-0.6/nyaya-test/src/main/scala/japgolly/nyaya/test/Gen.scala#L85
which, after inlining of the Range optimization of 2.10 (which is
different than that of 2.11 - hence why it happens only in 2.10), and some
crazy constant folding, wants to optimize this expression:
val len = buf.lengthval numElems = len - 1val lastElem = len + (numElems - 1) * (-1)
The (numElems - 1) * (-1) there is incorrectly "optimized" as just - (-1)
instead of - (numElems - 1).
This causes this loop to never terminate (well, it has 2^32 iterations due
to wrapping), which in turns causes the OutOfMemory problem.
This is a critical bug. So we'll have an RC2 with a fix for this.
In the meantime, if you want to make progress on your libraries, you can
deactive the optimizer with
scalaJSOptimizerOptions ~= { _.withDisableOptimizer(true) }
which should work around the problem for now.
—
Reply to this email directly or view it on GitHub
https://github.com/scala-js/scala-js/issues/1453#issuecomment-69901354.


Add a BitstreamWriter Abstraction

Add a counterpart to BitstreamReader and shuffle the deck chairs a bit so the different abstractions are well separated and their shared infrastructure is in one place. The first commit largely does the shuffling parts, the latter two commits contain the juicy bitstream writer bits.
rdar://73517080

@owenv As somebody with more knowledge of bitstream than most, I'd like your opinion here as well.

@owenv As somebody with more knowledge of bitstream than most, I'd like your opinion here as well.

@swift-ci test

@swift-ci test

I'd be curious if we could provide a less... error-prone API surface than the existing append-based one. The C++ uses the BCRecordLayout to ensure that e.g. if you mess up the record emission step you get a horrific spew of template errors.

I'd be curious if we could provide a less... error-prone API surface than the existing append-based one. The C++ uses the BCRecordLayout to ensure that e.g. if you mess up the record emission step you get a horrific spew of template errors.

My ideal API would be gobs of magic to bind everything to Codable. But bitstream's abbreviations make that awkward on top of the fact that it's somewhat to know when to use a new block section instead of extending a logical record that way. Another alternative could be a SwiftUI-style DSL to define the schema which would yield templates for the record types that we could check (possibly at runtime). I don't know, it's all kind of messy...

My ideal API would be gobs of magic to bind everything to Codable. But bitstream's abbreviations make that awkward on top of the fact that it's somewhat to know when to use a new block section instead of extending a logical record that way. Another alternative could be a SwiftUI-style DSL to define the schema which would yield templates for the record types that we could check (possibly at runtime). I don't know, it's all kind of messy...

@swift-ci test

@swift-ci test

⛵

⛵


make launch failed

getting this error:
/media/shahzeb/Volume/UnrealEngine_4.26/Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h:234:43: note: expanded from macro 'UE_DEPRECATED'
#define UE_DEPRECATED(Version, Message) [[deprecated(Message " Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.")]]
^
4 warnings generated.
3 warnings generated.
[58/66] Compile CarlaUE4.cpp
8 warnings generated.
15 warnings generated.
8 warnings generated.
[59/66] Link (lld) libUE4Editor-Carla.so
[60/66] Link (lld) libUE4Editor-StreetMapRuntime.so
[61/66] Link (lld) libUE4Editor-CarlaUE4.so
[62/66] Link (lld) libUE4Editor-StreetMapImporting.so
make[1]: *** [Makefile:315: CarlaUE4Editor] Error 6
make[1]: Leaving directory '/media/shahzeb/Volume/new_carla/carla/Unreal/CarlaUE4'
make: *** [Util/BuildTools/Linux.mk:8: launch] Error 2
What is the problem and how can I solve it?

Hi,
This does not show the actual error. Could you share the entire build log?


HttpHelper class stuck？

I use a 50 thread loop queue to perform "get_block" , total of 100,000 blocks, and finally there will always be 1-3 threads in the "runing" state can not exit.
I found that the code for these threads is running to line 115 of the HttpHelper.cs:
return JsonSerializer.Create(jsonSettings).Deserialize(jtr);

I don't see a reason for that to get stuck unless the block has a lot of information and so It takes time to deserialize.
Created a unit test for this:
https://github.com/GetScatter/eos-sharp/blob/master/EosSharp/EosSharp.UnitTests/StressUnitTests.cs#L31
Give it a try. So far fetching 1000 blocks with 50 threads runs very fast, 5 seconds to finish for me.
If you want to check the network you can enable fiddler proxy here:
https://github.com/GetScatter/eos-sharp/blob/master/EosSharp/EosSharp.UnitTests/app.config#L6

You can reopen if you find more information about this issue.


Add new FAQ to README in case users cannot see results due to the default filter_mode

Summary
This PR adds a new FAQ for users having trouble with seeing the results.
closes #39
Details
The newly added FAQ looks like below.
### Why can't I see the results?
Try looking into the `filter_mode` options explained [here](https://github.com/reviewdog/reviewdog#filter-mode). TypeScript errors will sometimes appear in lines or files that weren't modified by the commit the workflow run is associated with, which instead get filtered with the default `added` option.

Hello again @EPMatt
Thanks for that useful tip! Really surprised to know GitHub had this cool automated feature. I'm gaining a lot of helpful experience by contributing to your repo. Thank you for your kind and detailed explanation!

Hi @jihoon416,

I'm gaining a lot of helpful experience by contributing to your repo. Thank you for your kind and detailed explanation!

 I'm so glad that my help allowed you to make your first contributions here. Seeing new contributors starting their journey into open source is always a great pleasure for me, and I'll always be happy to help people contributing to the projects they truly love. 😄
Thank you for looking into my suggestions. I'll now merge this PR into main, effectively adding your contribution to the repo's README.
Thank you again for dedicating your precious time to this project, and welcome to the open source community! 🎉


Unify collection of congruence information

In the cp6 branch, we've added a KB class to hold the congruence information of temporaries that are generated inside the selector. What we should do is extend the scope of this schema to the generation of linear SSA form as well, which will simplify the way we are passing the congruence information to Minizinc.

Addressed in #161


Dehydrated gets confused by openssl req -verify output.

With the latest openssl update (at least from macports) openssl req -verify outputs the verification result to stdout (as opposed to stderr in the past). This gets merged into the altnames.
Created PR #923 as a fix.

Output on the console:
Warning: Will read cert request from stdin since no -in option is given

Requesting new certificate order from CA...
ERROR: An error occurred while sending post-request to https://acme-v02.api.letsencrypt.org/acme/new-order (Status 400)

Details:
HTTP/2 400
server: nginx
date: Sun, 03 Dec 2023 19:40:39 GMT
content-type: application/problem+json
content-length: 1535
boulder-requester: 119415
cache-control: public, max-age=0, no-cache
link: https://acme-v02.api.letsencrypt.org/directory;rel="index"
replay-nonce: [...]
{
"type": "urn:ietf:params:acme:error:rejectedIdentifier",
"detail": "Error creating new order :: Cannot issue for "certificate": Domain name needs at least one dot (and 4 more problems. Refer to sub-problems for more information.)",
"status": 400,
"subproblems": [
{
"type": "urn:ietf:params:acme:error:malformed",
"detail": "Error creating new order :: Domain name needs at least one dot",
"status": 400,
"identifier": {
"type": "dns",
"value": "certificate"
}
},
[...]

From a trace with bash -x:

local challenge_identifiers=
for altname in ${altnames}
[[ Certificate =~ ^ip: ]]
++ printf '{"type": "dns", "value": "%s"}, ' Certificate
challenge_identifiers+='{"type": "dns", "value": "Certificate"}, '
for altname in ${altnames}
[[ request =~ ^ip: ]]
++ printf '{"type": "dns", "value": "%s"}, ' request
challenge_identifiers+='{"type": "dns", "value": "request"}, '
for altname in ${altnames}
[[ self-signature =~ ^ip: ]]
++ printf '{"type": "dns", "value": "%s"}, ' self-signature
challenge_identifiers+='{"type": "dns", "value": "self-signature"}, '
for altname in ${altnames}
[[ verify =~ ^ip: ]]
++ printf '{"type": "dns", "value": "%s"}, ' verify
challenge_identifiers+='{"type": "dns", "value": "verify"}, '
for altname in ${altnames}
[[ OK =~ ^ip: ]]
++ printf '{"type": "dns", "value": "%s"}, ' OK
challenge_identifiers+='{"type": "dns", "value": "OK"}, '
for altname in ${altnames}
[[ nostromo.teiken.net =~ ^ip: ]]
++ printf '{"type": "dns", "value": "%s"}, ' my.host.name
challenge_identifiers+='{"type": "dns", "value": "my.host.name"}, '
[...]

Thanks, I've merged your PR. I'm going to read up on openssl changelogs in the coming days to see if there might be any other hidden surprises about output changes (again)...

By the way, the warning was a bug in openssl that is fixed in openssl 3.4.0 (released October 22, 2024).
https://github.com/openssl/openssl/commit/1d2cbd9b5a126189d5e9bc78a3bdb9709427d02b


[SPARTA-568][WEB]: Over Last in Streams Triggers must be a multiple of Batch window

Given a policy wizard
When I am creating a stream trigger
And I add an overlast which is not multiple of policy batch window
Then error is shown
Given a policy wizard
When I edit the policy batch window
And policy has stream triggers
And I click on the 'save policy' button
Then Error is shown telling me that overlast has to be multiple of policy batch window
NOTE: Bug in trigger accordion has been fixed. When user was creating a trigger and he changed to see a previous created trigger and he came back to the trigger creation, view was not updated correctly.

:shipit:

Comment accepted. Will treat it ASAP

Squashing and checks in progress.


"Not found", the come back

I got "Not found" message when i try to use bowerphp. I used bowerphp 1.0.*@dev.
I tried like following : (not working with or without --working-dir option)
> bin/bowerphp -vvvv --working-dir="/PATH/assets" install
bower admin-lte.scss#^3.1.2
bower admin-lte.scss#v3.1.2    install
bower bootstrap-sass-official#~3.3.4
bower bootstrap-sass-official#v3.3.6    install
bower jquery#>= 1.9.0
bower jquery#2.2.3             install
bower jquery-slimscroll#~1.3.6
bower jquery-slimscroll#v1.3.7    install
bower fastclick#~1.0.6
bower fastclick#v1.0.6         install
Not Found

The BOWERPHP_TOKEN var is set in env.
export BOWERPHP_TOKEN=MY_TOKEN

Here the package i try to install, the bower.json is in assets directory. Obviously it's working fine with npm and gulp.
I saw #123 and #117 but seem not answer.

Can you post the content of your bower.json file? Even only the relevant part (where your package is mentioned)

.bowerrc
{
  "directory": "bower"
}

bower.json
{
  "name": "cvepdb/laravel-cms",
  "version": "1.0.0",
  "authors": [
    "Antoine Benevaut<EMAIL_ADDRESS>  ],
  "description": "cvepdb/laravel-cms tools",
  "keywords": [
    "cvepdb",
    "laravel-cms",
    "cvepdb/laravel-cms"
  ],
  "license": "Ca va ENCORE parler de bits!",
  "homepage": "http://cvepdb.fr",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "test",
    "tests"
  ],
  "dependencies": {
    "admin-lte.scss": "^3.1.2",
    "cvepdbjs": "0.1.9",
    "components-font-awesome": "^4.5.0",
    "html5shiv": "^3.7.3",
    "respond": "^1.4.2",
    "Ionicons": "ionicons#^2.0.1",
    "dropzone": "^4.3.0",
    "angular2-build": "^2.0.0-alpha.34",
    "iCheck": "icheck#^1.0.2",
    "select2-bootstrap-theme": "^0.1.0-beta.4",
    "select2": "^4.0.2",
    "Jcrop": "jcrop#^2.0.4"
  },
  "devDependencies": {}
}

I used bowerphp 1.0.*@dev.

This is interesting, the latest release is v0.3.6-beta :)
Can you check composer show to get the version currently in use?

@clue 1.0.*@dev is just an alias for dev-master

> composer show | grep bowerphp
beelab/bowerphp                             dev-master 28b655c An implementation of bower in PHP

-> I'm trying with the v0.3.6-beta

With the following, in composer.json :
"require": {
    "php": ">=5.5.9",
    "beelab/bowerphp": "0.3.*@beta",

...

I get the same output.

Problem is that we currently support only github repositories, while your package is hosted on gitlab.

Hooo, yes when i remove my gitlab package ("cvepdbjs": "0.1.9",), i can get another output.
> bin/bowerphp -vvvv --working-dir="/PATH/assets" install
bower admin-lte.scss#^3.1.2
bower admin-lte.scss#v3.1.2    install
bower bootstrap-sass-official#~3.3.4
bower bootstrap-sass-official#v3.3.6    install
bower jquery#>= 1.9.0
bower jquery#2.2.3             install
bower jquery-slimscroll#~1.3.6
bower jquery-slimscroll#v1.3.7    install
bower fastclick#~1.0.6
bower fastclick#v1.0.6         install
bower components-font-awesome#^4.5.0
bower components-font-awesome#4.6.3    install
bower html5shiv#^3.7.3
bower html5shiv#3.7.3          install
bower respond#^1.4.2
bower respond#1.4.2            install
Cannot fetch registry info for package Ionicons from search registry (Package not found).

But seems to be another issue 😺

It looks like bower is supporting that weird syntax of "packageName": "lowercasepackagename#version".
If you try to replace lines like "Ionicons": "ionicons#^2.0.1", with "ionicons": "^2.0.1", it should work

Let's follow tickets #145 & #146 😄


Elasticsearch 1.4.0 hangs on running twitter river

Elasticsearch version - 1.4.0
River version - 2.4.1
Symptom - curl 'http://<IP_ADDRESS>:9200/_cluster/state' hangs
Strangely this works well in my dev environment but not production.

I think were having the same issue, anyone found anything out about it?

@Vineeth-Mohan Did you try to upgrade to 1.4.2? The first tests I'm running (JUnit tests) seem to pass on 1.4.3-SNAPSHOT which is close to 1.4.2.

1.4.2 doesn't seam to work. maybe they have fixed it in 1.4.3

That's super weird. I tested this on 1.4.0 and 1.4.2 (also dev machine and can not reproduce it).
Here is what I did:

install elasticsearch 1.4.0 (and 1.4.2)
bin/plugin -install elasticsearch/elasticsearch-river-twitter/2.4.1
modify config/elasticsearch.yml:

river:
      twitter:
          oauth:
             consumer_key: ""
             consumer_secret: ""
             access_token: ""
             access_token_secret: ""

launch bin/elasticsearch
create the river: curl -XPUT localhost:9200/_river/my_twitter_river/_meta -d '{ "type" : "twitter" }'
call cluster api: curl localhost:9200/_cluster/state?pretty

Everything works well on both versions. I don't understand what could happen here.
For you guys who are hitting this issue, could you tell me more about your infra. Are you running on ec2 on premise or other cloud provider?
Could you turn on trace in config/logging.yml and attach the result?
Thanks for your help!

I saw recently another report which got the same issue. Worth reporting this here as well.
What I can see in logs is that the cluster can not be updated when creating the index. Because the index was already existing.
I'm wondering if this happened because the bulk request tries to create a new index which has been created in the meantime.
2015-01-26 10:17:06,784][TRACE][cluster.service          ] [NODENMAE] failed to execute cluster state update, state:
version [11], source [create-index [twitter], cause [api]]

... skipped cluster state ...

org.elasticsearch.indices.IndexAlreadyExistsException: [twitter] already exists
	at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexName(MetaDataCreateIndexService.java:167)
	at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:559)
	at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$200(MetaDataCreateIndexService.java:87)
	at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2.execute(MetaDataCreateIndexService.java:243)
	at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:329)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:153)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

For sure after this trace nothing else happened. Other rivers which should started don't start so I think the cluster state is somehow in a blocked state.

 JVM? Hardware? OS?

@wasmum Also, could you update config/logging.yml file and set:
  river: TRACE
  twitter4j: TRACE

And upload somewhere the results?
By the way, could you confirm that you are doing that on an empty cluster? No other data, no other plugin.

Just an update here. I think I managed to reproduce the issue. Fix will come in next days I think. Need some more testing :)

Hi there,
I did a patch today which sounds to work fine on my test machine but I'd like to double check with someone else.
IF NOT IN PRODUCTION, could someone try this new version and tell me the results?
bin/plugin -remove river-twitter
bin/plugin -install river-twitter --url https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch-river-twitter/2.4.2-SNAPSHOT/elasticsearch-river-twitter-2.4.2-20150205.183621-56.zip

BTW, if you can activate DEBUG logging in config/logging.yml as I put more traces:
 river: DEBUG

Thanks for your help fixing this!

@dadoonet, that be this weekend.  I'll reproduce it.  I am using CentOS 6.6 on a Fusion VM.  My puppet manifest is requiring java-1.7.0-openjdk for elasticsearch.  No other java processes on the VM.


Add Comment Scripting Element and changes to german localisation

Improvements and minor spelling checks for the german translation.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Added a Comment Scripting Element as suggested here: https://github.com/chrismaltby/gb-studio/issues/254
Improved german translation.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No.


Release notes for version 0.3.0?

I saw a 0.3.0 release was pushed 6 days ago after a 2 year hiatus of releases.
https://github.com/ypresto/android-transcoder/releases/tag/v0.3.0
@ypresto, could you share what's new in this version?
Thank you

Please see CHANGELOG :)

Thanks, @ypresto :)


FAQ

Added FAQ

 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.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66542874165fa142a1e8515c--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://665e113f21f2e63070a075ef--harness-developer.netlify.app

FYI @roshnisarangadharan @SushrutHarness @krishi0408 I did an editorial review of the CI FAQs that @lijo-harness added and fixed the resulting merge conflicts. A CD writer needs to resolve the merge conflict (looks like the topic was renamed).

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://665e15417255b93dc182461b--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://666c23dd1733a474c54db611--harness-developer.netlify.app


list db pagination fix

Please see https://github.com/kovihq/sqltools-athena-driver/issues/29 for the full context. The TLDR is that only up to 100 databases in a single Athena catalog were being returned. The root cause of this is that the AWS Athena API uses pagination to return results, and use the 'NextToken' response field, if it exists, to make subsequent calls to retrieve the next set of 100 databases.
I tested this locally on both an Athena datasource with fewer than 100 databases and an Athena datasource with more than 100 database. In both cases, the complete list of databases was correctly returned.

Can somebody please review this?

@brunoventura, can you please review/sign-off?


[English]: How to contribute

Details (optional)
Optional details

We also already have a how to contribute. If you want to contribute but don't know how, the best way is to pick an existing issue. Please note that we are implementing a new way to vet issues (proposed terms) before they are approved for the Glossary. Not all current issues will be green-lighted. Feel free to pick one and wait until we decide and let you know.


Web component: Leadspace - Tag group/ breadcrumb are mis aligned on mobile landscape mode

Detailed description
Issue:
Leadspace - Tag group/ breadcrumb are misaligned on mobile landscape mode
Additional information

Just checked canary, no longer an issue.


[HTTP Option support] Deprecate httpProtocol: "Disabled" in config-network

As per design doc https://docs.google.com/document/d/1yVOGo-j1hI7oCpuWVIi5iBJwX1wKbOzWaV0QNJxCbaY/edit#

Note that we will not support Disabled at least in the beginning because it may break HTTP01 challenge of auto TLS feature.

It has a plan to make "Disabled" unsupported.
Also, Disable should be possible by stop exposing :80.

Curious - rather than deprecating it can we figure out a solution/workaround for http-01 challenges?
ie. looking at https://letsencrypt.org/docs/challenge-types/#http-01-challenge could we just allow HTTP for URLs of the form? http://<YOUR_DOMAIN>/.well-known/acme-challenge/<TOKEN>

I guess http-01 is still supported with redirects

Our implementation of the HTTP-01 challenge follows redirects, up to 10 redirects deep. It only accepts redirects to “http:” or “https:”, and only to ports 80 or 443. It does not accept redirects to IP addresses.

@ZhiminXiang ^ Do you have any thoughts?

bump @ZhiminXiang since he's back
cc @carlisia

We will still support "Redirect" and "Enabled". So HTTP01 challenge will work for those two scenarios.
For "Disabled", technically we can support it with only allowing http01 challenge URL (at least for Istio).
But from KIngress API's perspective, I am concerned that

Allowing HTTP01 challenge URL when HTTP is "Disabled" is implicit and a bit confusing for client to be aware.
I am not sure if the all of the downstream KIngress implementations support allowlisting HTTP01 URL or not.
I am not sure if this behavior aligns with k8s Gateway API.

Is there any reason why we want to support "Disabled"?

@dprotaso @carlisia @ZhiminXiang Is there any update on this?
(Either support or non-support for Disabled is fine me.)

Any update on this 🙏  ?

We should sort this out
/lifecycle frozen


fix(docs): optimization of text selection

close https://github.com/dream-num/univer-pro/issues/2602#issuecomment-2398664502

Pull Request Checklist

[x] Related tickets or issues have been linked in the PR description (or missing issue).
[x] Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
[x] Unit tests have been added for the changes (if applicable).
[x] Breaking changes have been documented (or no breaking changes introduced in this PR).

https://github.com/dream-num/univer-pro/issues/2751


Not syncing body fat, skeletal muscle mass, bone mass, or body water

Hi,
Great work!
I have set up withings-sync using the docker image, but it only syncs weight and BMI to garmin.
I thought this would also sync body fat, skeletal muscle mass, bone mass, and body water.
If this is not a feature, can this be added, and if it is supposed to be synced how do I get it to work?
Best,
Martin

I found the issue, I had not seen that default from date is today's date.
I now have old measurements synced as well.
Best,
Martin


Missing mdadm

I have k3os running on a machine which has two disks attached that used to encompass a RAID array. I'd like to reassemble the array in order to attach the storage to my k3s cluster, but mdadm does not exist. Should mdadm be added to the k3os base?
Alternatively, I don't believe k3os comes with a package manager; how would you recommend one goes about installing additional dependencies that must run on the host?
Thanks!

By the way, if you agree that the package should be added to the base distribution, I'd like to do the work to change this issue into a PR. If you could give me some development pointers, I'll come back with a patch :-)

By the way, if you agree that the package should be added to the base distribution, I'd like to do the work to change this issue into a PR. If you could give me some development pointers, I'll come back with a patch :-)

@sgielen I await your pull-request submission.

We should definitely have mdadm.

@sgielen Take a look at images/00-base/Dockerfile

Thanks @dweomer, I had actually also arrived at the patch in your PR but was having some problems testing it.
While I could build k3os using scripts/default successfully, running it using scripts/run failed during its run of scripts/build with:
+ docker build --build-arg TAG=dev --build-arg VERSION=47f442c-dirty --build-arg REPO=rancher --build-arg ARCH=amd64 -f /home/sjors/src/k3os/k3os/images/00-base/Dockerfile -t rancher/k3os-base:dev .
[+] Building 3.8s (4/6)
 => [internal] load build definition from Dockerfile                                                                                2.0s
 => => transferring dockerfile: 927B                                                                                0.1s
 => [internal] load .dockerignore                                                                                2.2s
 => => transferring context: 2B                                                                                0.0s
 => ERROR [internal] load metadata for docker.io/library/alpine:3.9                                                                                1.1s
 => ERROR [1/3] FROM docker.io/library/alpine:3.9                                                                                0.2s
 => => resolve docker.io/library/alpine:3.9                                                                                0.2s
------
 > [internal] load metadata for docker.io/library/alpine:3.9:
------
------
 > [1/3] FROM docker.io/library/alpine:3.9:
------
rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files`

Also, the actual run of qemu-kvm failed because I was running this on a Xen VM and the hypervisor probably does not allow running further virtualization in the VM, as the kvm-intel module was failing to load.

Do you have some documentation on building the arm64 version either within k3s or cross-compiling it from another architecture?


Fix indentation in command sample

What does this PR do / why we need it:
The command sample indentation was not correct.
Which issue(s) this PR fixes:
Fixes #?
PR acceptance criteria:

[ ] Unit Tests
[ ] E2E Tests
[ ] Documentation

How to test changes / Special notes to the reviewer:

@l0rd can you rebase with a signoff?

Hi @l0rd , this is applicable I believe to all versions not only 2.1.0:

2.0.0: https://github.com/devfile/devfile-web/blob/d6dcc51e01d7f916f094d5c1e16ba228d42336e1/libs/docs/src/docs/2.0.0/adding-commands.md?plain=1#L32-L35
2.2.0: https://github.com/devfile/devfile-web/blob/d6dcc51e01d7f916f094d5c1e16ba228d42336e1/libs/docs/src/docs/2.2.0/adding-commands.md?plain=1#L34-L37
2.2.1-alpha: https://github.com/devfile/devfile-web/blob/d6dcc51e01d7f916f094d5c1e16ba228d42336e1/libs/docs/src/docs/2.2.1-alpha/adding-commands.md?plain=1#L34-L37

added to https://github.com/devfile/devfile-web/pull/76


How to create schedule Local Notification on Android?

Hi there,
I want to create an schedule local notification on Android, I tried 'fireDate' parameter like iOS, but it does not work. Can anyone give me some hint?
Thanks in advance.

Hi,
unfortunately, this feature is not supported on Android.
Consider using Android's JobScheduler (or assign a PR :-) )


Dlib cnn detector failing with  code: 600, reason: device not ready

Expected Behavior

I was running the code located here and it reached to the part where it tries to use the cnn detector and breaks due to error below.
I expected that image detector for cnn_face_detection_model_v1() should work properly and use the GPU as expected. I tested using a CPU dlib version of this, and it worked, but was painfully slow.
Current Behavior

detector code is breaking
  File "test_FaceDict.py", line 26, in get_5_points
    dets = detector(img, 1)
RuntimeError: Error while calling err in file C:\Users\User\AppData\Local\Temp\pip-install-72q7pmts\dlib_19599fc305d04f0daf10d17aee4187d0\dlib\cuda\gpu_data.cpp:100.
 code: 600, reason: device not ready

I had made sure that GPU is not being used or at high usage when running it.
Steps to Reproduce

Install dlib using pip install dlib
run this code
detector = dlib.cnn_face_detection_model_v1('./packages/mmod_human_face_detector.dat')
img = dlib.load_rgb_image(img_path)
dets = detector(img, 1)

System Information:
Windows Version	10.0.19042 Build 19042
GPU RTX A4000
CPU Ryzen 3950x
Also,
dlib.DLIB_USE_CUDA returns True

DLIB Version:   19.22.0
Where did you get dlib:  pip install (pypi)
Platform:  64 bit windows,
Compiler:  During pip install, it does not mention which visual studio build tools it was using, but I believed it was Visual Studio 15 2017 since it was failing before I tried installing it, and then when I installed Visual Studio 15 2017 it worked.

Code was executed on Anaconda Powershell prompt if that matters.

I rechecked my CUDA_PATH and PATH pointers, tried python setup.py install on repo and make sure it picks up the correct cudnn, but then used pip install dlib with all of that done.
Seems to be working now with cudatoolkit 11.3 and cudnn 11.x July 2021.
P/S: python  setup.py install fails with this error:
copying tools\python\dlib.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying tools\python\dlib.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying tools\python\dlib.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying tools\python\dlib.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO
copying tools\python\dlib.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
error: [WinError 183] Cannot create a file when that file already exists: 'build\\bdist.win-amd64\\egg\\EGG-INFO\\PKG-INFO'


Improve spinlock implementation to perform better in high-contention situations

This reduces the cache-pressure while acquiring highly contented spinlock instances by mostly reading from it instead of constantly trying to write to it.
As a flyby, this removes the dependency on boost/smart_ptr/detail/spinlock.hpp and related Boost facilities.

I ran a benchmark to see how much this helps as I wanted to test it before it is merged.
Something must be wrong with my testing because I see a significant drop in performance

Unfortunately, the previous runs of the benchmark were in December, and so many things have changed that  it is hard to be certain what might be responsible, but I'm pasting this image just for reference.
This may be a false reading, so do not be alarmed yet, I will double check my scripts and report back, but I thought I'd mention it now just in case anything else shows problems.

Uhh, not good. I wouldn't think that this particular change is causing this. So I guess the only thing we can do is to bisect...

 This looks more like what I would have expected. Brilliant!

For completeness - included is a daint test


x/mobile/cmd/gomobile: download adb for install

What did you expect to see?
Expected gomobile init to download adb for gomobile install.
What did you see instead?
Need to download/unpack and add adb to path manually.

I did want to do this, but there's no easy reliable source of adb to download. Ideally the protocol would be simple enough that we could implement it, but it's not.
As I don't know how to do, I'm closing this.

Why there is no reliable source? platform-tools_r24.0.3-windows.zip from any update mirror, like http://mirrors.neusoft.edu.cn/android/repository/

When I looked into it there were no obvious rules to follow for versioning. I decided it was easier to say "install android studio".

Do you mean that Eclipse update site is hard to parse to find archives like platform-tools_*.zip? Or did I miss something else?

I mean, in platform-tools_*.zip, what goes in the *? There are lots of decisions we could make (a fixed vetted value, the latest, etc), but no obvious one. I would much rather say "use Android Studio".

And what is the * in the NDK? I guess it is just current version, no?


Phantom Updates on LIFX GU10 After Homebridge Restarts

Describe The Bug:
Every time the Homebridge restarts, the phantom updates appear for LIFX GU10 bulbs. I have three GU10 bulbs, and they sometimes show one to three updates. They disappear on their own after one to 12 hours. The phantom update doesn't happen for other LIFX bulbs, including A19 and Day & Dusk.
To Reproduce:

Have a LIFX GU10 bulb
Restart Homebridge
Receive a notification for the "phantom" update

Expected behavior:
The phantom update should not happen for GU10 bulbs. There should be an option to disable an update check for bulb/s. Homebridge API documentation mentions Firmware Update.
Logs:
N/A
Plugin Config:
        {
            "name": "LIFX Plugin",
            "duration": 0,
            "brightnessDuration": 300,
            "colorDuration": 300,
            "broadcast": "<IP_ADDRESS>",
            "lightOfflineTolerance": 3,
            "messageHandlerTimeout": 45000,
            "resendPacketDelay": 150,
            "resendMaxTimes": 3,
            "debug": false,
            "autoDiscover": true,
            "excludes": [
                {
                    "name": "LIFX Switch",
                    "id": "d073d5635c52"
                }
            ],
            "platform": "LifxPlugin"
        }

Screenshots:

Environment:

Plugin Version: v0.1.20
Homebridge Version: v1.4.0
Node.js Version: v16.13.1
NPM Version: v8.1.2
Operating System: macOS Mojave

Hi @L0T8,
I had the same problem with my Z Strips that are secondarily not connected to power.
In the latest update (v0.1.21) we should no longer have problems with the update function of the Homekit.
In addition, I have added the function to disable updates manually
If you have any other problems with the plugin let me know

Hi @calvarium,
Thanks for the quick fix. The phantom update no longer shows up for GU10 when I restart my Homebridge
-L0T8


Can not complete docker commands after alias with grc

Can not get docker completion work after alias with grc.
$ alias docker='grc -es --colour=auto /usr/bin/docker'
$ docker <tab> # Not working anymore

Any ideas? thanks.

You should specify that you want to use docker completions with the docker alias with compdef _docker docker. But you have to also run setopt completealiases to disable zsh's behavior of looking at the alias definition to know which completion function to run (in your case, it would try to find completions for the grc command).
Enabling this option will mess up the rest of aliases that don't have an explicit completion defined, so here's a better option: use a function instead of an alias, like so:
function docker { grc -es --colour=auto /usr/bin/docker "$@" }
compdef _docker docker


Comment code qd

Coverage increased (+0.04%) to 85.577% when pulling 1abd70d7323828838fe5e67c09d7f7532f29610f on comment-code-qd into 443de0172475e503263cd26dadd99e9500526211 on master.


Update history

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2433

Relevant Lines:
2847

💛  - Coveralls


Release Google.Cloud.GkeBackup.V1 version 2.2.0

Changes in this release:
New features

Added new restore scope options (commit b606f4c)
Added transformation rules for restore (commit b606f4c)
Added BackupPlan and RestorePlan state information (commit b606f4c)

Documentation improvements

Minor documentation fixes (commit c78b468)

Created release for Google.Cloud.GkeBackup.V1-2.2.0


[Communication - Calling] Cannot start a call to a Teams user

Package Name: @azure/communication-calling
Package Version: 1.22.3
Operating system: Windows
browser

name/version: Chrome 123.0.6312.124

Describe the bug
Attempting to start a call to a Teams user does not work.
To Reproduce
Use the add-1-on-1-voice-calling sample, and place a call to a Teams user ID
Expected behavior
Able to start the call.
Actual behavior
Not able to start the call.
Errors in console:

Additional context
Have already completed this setup Enable interoperability in your Teams tenant
This used to work. First saw this with Group calls, now it seems to be more scenarios... #29074

Closing. Have been able to confirm this is not a client bug. This functionality now requires the Teams user to have a Teams Phone license.


[e2e]: nodejs release main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v40.0.229
Run: https://github.com/slsa-framework/example-package/actions/runs/8387466767
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.release.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.release.main.default.slsa3.yml
Trigger: release
Branch: v40.0.229
Date: Fri Mar 22 08:30:02 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v40.0.230
Run: https://github.com/slsa-framework/example-package/actions/runs/8399862190
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.release.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.release.main.default.slsa3.yml
Trigger: release
Branch: v40.0.230
Date: Sat Mar 23 06:08:16 UTC 2024
Tests are passing now. Closing this issue.


Install using pip

This PR will add support for installing using pip.
Installation can be done with
pip install git+git://github.com/axelniklasson/vasttrafik-api-wrapper.git
after that you can import vasttrafik in python.
if you want to submit the package to the PyPI repo, the following guide is quite good: http://peterdowns.com/posts/first-time-with-pypi.html

Thanks for this PR! Might look into submitting the package to PyPi in the future :)


Sample is incorrect

Spent several hours trying to make this work only to find the sample is incorrect.
innerGrid.RowDefinitions.Clear(); is missing after the else.  bolded below
if (width > height) {
innerGrid.RowDefinitions.Clear();
innerGrid.ColumnDefinitions.Clear ();
innerGrid.RowDefinitions.Add (new RowDefinition{ Height = new GridLength (1, GridUnitType.Star) });
innerGrid.ColumnDefinitions.Add (new ColumnDefinition { Width = new GridLength (1, GridUnitType.Star) });
innerGrid.ColumnDefinitions.Add (new ColumnDefinition { Width = new GridLength (1, GridUnitType.Star) });
innerGrid.Children.Remove (controlsGrid);
innerGrid.Children.Add (controlsGrid, 1, 0);
} else {
innerGrid.RowDefinitions.Clear();
innerGrid.ColumnDefinitions.Clear ();
innerGrid.ColumnDefinitions.Add (new ColumnDefinition{ Width = new GridLength (1, GridUnitType.Star) });
innerGrid.RowDefinitions.Add (new RowDefinition { Height = new GridLength (1, GridUnitType.Auto) });
innerGrid.RowDefinitions.Add (new RowDefinition { Height = new GridLength (1, GridUnitType.Star) });
innerGrid.Children.Remove (controlsGrid);
innerGrid.Children.Add (controlsGrid, 0, 1);
}

Thanks for feedback @withtao - the page is being updated right now!


Fig 1 creating python script

I would replace " - " with "generated externally". The "-" looks a bit like you don't want to share this particular code. The reality is that you've made this Figure in powerpoint or so since it's just an overview.

done


Export mesh-object with parent camera-object

mesh index not present in nodes:node  from that objects

Please explain further — you are exporting a mesh, and its parent is a camera, and the mesh does not get exported correctly? Could you share the .blend file?

You can drag-and-drop ZIP files in GitHub comments by the way.

bug-mesh-parent-camera.blend.zip

maybe I was wrong and the problem is because of something else, but it is

gltf2_generate.py.zip

Fix bug with no mesh index - lines 1710-1713 + 1587 (I think it was bug)
Add export userGroups in extras - lines 1678-1686
Add export corrections in extras in same node - lines 1718-1797 (add export_setting 'inline correction' for backward compatibility ) -> not tested with animation and so on  .
init.py.zip
add export_setting 'inline correction'
Test with - testenv.blend.zip

I hope this will be useful for you