Adding new languages?

I'm not sure if there message board / other place to ask questions, so I hope this Github issue is fine.
From what I understand, new languages are not being accepted into the main repo, instead they are being put into their own git repo, like Structured Text and Solidity, and then from there being pushed to their own NPM packages.
So my question is:
Is there any benefit to this compared to lets say, me owning the git repo and publishing to NPM myself?

no big advantage... just makes it easier to find new languages at the organization level.

If that's the case, I have already made a repo for the language support and published to NPM, should I transfer the repo to the org or should I keep it in my own org, what would you prefer?

I think if you'd like it here to make it easier to find, we can oblige.  Thoughts?

I appreciate the offer, however I don't specifically see the benefit in having the repo be under the highlightJS org.
I've spoken to many developers and project teams about supporting my language highlighter. They are more than happy to add the feature but their dev teams just want to simply pull in the official library and have all of these languages supported out of the box. They won't even consider adding additional packages and have directed myself and others to add support in the main library. Languages added by adjacent repositories in this organization do not seem to be included in the main download or packaged with the NPM package, which defeats the purpose for many of these projects.
Are there any official policies, criteria, or processes for having a language be added into the main repo?

#8891

Languages added by adjacent repositories in this organization do not seem to be included in the main download or packaged with the NPM package, which defeats the purpose for many of these projects.

That's something we need to find a solution for.  There should be a simple way to build a package that includes external repo grammars.  Long-term I'd like to see the web form doing that... right now you could probably setup a build pipeline with something like Webpack, but I don't find that super intuitive (or I'd prefer the tooling to already be in place so people could invoke it with just a simple command, like the existing tooling).

Are there any official policies, criteria, or processes for having a language be added into the main repo?

We're not accepting any new languages into the core repo now - and long-term I think the grammars will likely move out of core, into their own repos.  There isn't time for us the maintain the grammars we already have.  If you have time to assist and could perhaps help with the tooling around connecting all this stuff together that'd be awesome. :-)
You can see some discussion related here:
https://github.com/highlightjs/highlight.js/issues/2149

So I'm not primarily a JavaScript developer, so I'm unsure about "best practices", but I am pretty well versed in "get this working" practices, and have a few ideas (possibly very naive ones) that could solve a lot of these issues, I'll continue the convo on the linked issue.

@jaredlll08 Do you have a specific language you're wanting to see added?

So I would like ZenScript to be added.
ZenScript is a scripting language for Java. It is primarily used by CraftTweaker(Github, Project Page) which is a Minecraft mod that allows users to change many aspects of the game using scripts.
In terms of usage of the language, I have links in my GitHub Linguist PR about open source repositories on GitHub:
https://github.com/github/linguist/pull/4471
As discussed, it is rather hard to get closed source statistics (but not impossible, I can get them if need be, it would just take some time).
For what it is worth, the GitHub Linguist PR was merged and is currently live on GitHub itself, not sure if this matters.

And is there some service or site using Hightlight.js that's "stuck" waiting on an upstream build (that's unwilling to build a custom package) or you'd just like to see it in Highlight.js just to improve the variety of our offerings in general?

I realize this is what most language requests sound like, but honestly I would be lying if I said anything besides that I would like the language in highlight.js because it is one of the most used Syntax highlighters in the web, and I get a good amount of issues where people upload their script files to sites like hastebin (or self hosted hastebins) which use highlight.js; and people pasting script snippets into DiscordApp, which also uses highlight.js, I did find a work around for discord though, by using the "css" highlighter, but as you can see here: https://twitter.com/jaredlll08/status/1181754530427543558?s=19
It is very hit or miss on what is actually highlights, so a proper solution would be ideal.
In terms of Discord, I did make a feature request on their side:
https://support.discordapp.com/hc/en-us/community/posts/360054118152-Syntax-highlighting-for-ZenScript
After making that request though, someone who works at discord (and is also a fellow modder in the modded minecraft community), reached out and said

I did not mean to do that...

I would also like to add on that naturally adding the language would improve the variety of highlight.js's offerings, but at the same time it would also show that the project isn't stagnant (in terms of adding new content) and is still striving, just looking for more people to help out and contribute.

And do you know what discord app is using in their build pipeline? HighlightJS from CDN, npm, etc?

I believe they use NPM, they use react/react native and viewing source files with inspect element does show node_modules folders.
Also when trying to find the best highlighting for zenscript that discord supported, all of the languages on the highlight.js demo site worked, so I assume it is NPM with all the packages

See I'm thinking (whether npm or not)... @marcoscaceres thought npm was the way to go.
git clone highlightjs (or npm install it?)
npm -i
npm -i --save-dev-whatever zenscript_highlightjs
npm -i --save-dev-whatever highlightjs-robots-txt
npm -i --save-dev-whatever highlightjs-best-of-2019
./tools/build --all --for:web

That seems a pretty easy thing to me... and if someone is doing it as part of a larger project there are probably even easier ways to drop it in the pipeline.

I'm not quite sure I follow, would this be for highlight.js building the package for npm distribution, or is it rather how discord could build a custom highlight.js using npm for their own needs?

How anyone could use it to build packages... (or use the web builder, but that's harder to automate I imagine)...

Pruning issues.  Closing this out in favor of continued discussion on #2149.


[Suggestion]Need console version or option

As the title says, the GUI consumes too much memory, and I want to let this program run in multithreading on the server.I tried to edit some code in gui.py,twitch.py and websocket.py ,but it caused some problem such as cannot switch channel automaticly and will show a blank window after websock launched.

Hello o/
This is exactly what "headless" mode does, and there already is an issue for this - please comment your thoughts there instead: #17
Closing since this is a duplicate.


Detect and report a DataVolumeError VM status

Signed-off-by: Zvi Cahana<EMAIL_ADDRESS>What this PR does / why we need it:
This PR extends the VM status field (.status.printableStatus) with a new DataVolumeError status, reported when a DataVolume referenced by the VM indicates some error. Currently, this includes:

The DataVolume reports a Failed phase.
The DataVolume reports a Running=False condition with the reason set to Error (this happens, for example, when the CDI importer pod is crashlooping, e.g. due to invalid source URL).
Once kubevirt/containerized-data-importer#1962 lands, we should report a DataVolumeError when the DataVolume indicates that a source PVC does not exist.

Release note:
Report DataVolumeError VM status when referenced a DataVolume indicates an error

@rmohr can you give this another pass?

/retest

/lgtm
/approve
:+1:


XMLRPC sync not triggered for plugin config changes

I've noticed that plugin configuration changes are synced only very unreliably to the secondary OPNsense node. Interestingly, it's always working for core components, for example when adding or changing an alias or configuring IPsec tunnels, the change is immediately synced to my secondary OPNsense node.
How to reproduce:

System: High Availability: Settings – enable config sync for all components
Services: HAProxy: Settings – add or change a setting on the primary OPNsense node

Expected result:

the added HAProxy configuration should be available on the secondary OPNsense node

Actual result:

the added HAProxy configuration is missing on the secondary node

Observation:
It looks like config changes in plugins do not trigger a XMLRPC sync at all. A workaround is to change a core component, for example an alias; this will immediately trigger a XMLRPC sync and also transfer all previously made plugin config changes to the secondary node.
Verified on 18.1.3, 17.7.12 and 17.7.10.
It's the same behaviour on three completely different setups.
There's nothing in the system.log on both nodes, and of course no sync error reported in the GUI.
Besides that, System: High Availability: Status looks sane too.

What helped me is to reload the service on the backup firewall via the Status page of "High Availability" site. This way, I could trigger the sync, too.
This is not only the problem for HAsync but also for IDS/Suricata, also for one of the "Unbound" General checkbox buttons, but I forgot which one it was...

Nowadays that is more of a "what you put into it you get out of it" situation. Register a remote reload call... It's triggered here...
https://github.com/opnsense/core/blob/master/src/etc/inc/xmlrpc/legacy.inc#L137
... and defined here...
https://github.com/opnsense/core/blob/master/src/etc/inc/plugins.inc.d/openvpn.inc#L36
We can figure out the rest, but no by raising tickets that nobody will work on.

@fichtner Huh, anything wrong in raising attention for an issue that is not documented elsewhere? Anyway, thanks for pointing to the right direction. I'll try to integrate it into one of the plugins for a starter.

Nothing wrong, but it needs to be broken down into manageable parts that have a clear implementation path. This looks like a conglomerate of wishes and expectations. Need to forcefully break this down to go forward. Core tickets welcome for step by step progress, otherwise we’ll never get to the bottom and solve this reliably.

On 24. May 2018, at 01:38, Frank Wall<EMAIL_ADDRESS>wrote:
@fichtner Huh, anything wrong in raising attention for an issue that is not documented elsewhere? Anyway, thanks for pointing to the right direction. I'll try to integrate it into one of the plugins for a starter.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Cart functionality

Added action creators associated with shopping cart
added boilerplate for product action creators
added functionality for cart reducers

co-authored-by: @sarapowers
co-authored-by: @egcg317

great thunking!


change1/5 - CHANGELOG.md

What does this PR do?

Fixes # (issue) <- this links related issue to this PR
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes [if needed]?
[ ] Did you write any new necessary tests [no need for typos, docs]?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified
[ ] Check that target branch and milestone are aligned!

Did you have fun?
Make sure you had fun coding 🙃

Codecov Report

Merging #8 (cc65ab0) into master (ab7512d) will decrease coverage by 44.86%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master       #8       +/-   ##
===========================================
- Coverage   89.08%   44.22%   -44.87%
===========================================
  Files         134      134
  Lines        9950     9812      -138
===========================================
- Hits         8864     4339     -4525
- Misses       1086     5473     +4387

Flag
Coverage Δ

cpu
44.22% <ø> (-44.87%)
:arrow_down:

pytest
44.22% <ø> (-44.87%)
:arrow_down:

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

Impacted Files
Coverage Δ

...ytorch_lightning/metrics/classification/helpers.py
8.73% <0.00%> (-91.27%)
:arrow_down:

pytorch_lightning/trainer/training_loop.py
19.61% <0.00%> (-76.32%)
:arrow_down:

...ch_lightning/trainer/connectors/model_connector.py
24.13% <0.00%> (-75.87%)
:arrow_down:

pytorch_lightning/callbacks/lr_monitor.py
23.52% <0.00%> (-75.30%)
:arrow_down:

...torch_lightning/trainer/configuration_validator.py
23.25% <0.00%> (-74.42%)
:arrow_down:

pytorch_lightning/utilities/model_utils.py
26.66% <0.00%> (-73.34%)
:arrow_down:

...er/connectors/logger_connector/logger_connector.py
19.88% <0.00%> (-71.27%)
:arrow_down:

pytorch_lightning/core/step_result.py
14.83% <0.00%> (-70.76%)
:arrow_down:

...ghtning/trainer/connectors/checkpoint_connector.py
16.56% <0.00%> (-69.83%)
:arrow_down:

.../connectors/logger_connector/epoch_result_store.py
26.47% <0.00%> (-69.17%)
:arrow_down:

... and 88 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #8 (cc65ab0) into master (ab7512d) will decrease coverage by 44.86%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master       #8       +/-   ##
===========================================
- Coverage   89.08%   44.22%   -44.87%
===========================================
  Files         134      134
  Lines        9950     9812      -138
===========================================
- Hits         8864     4339     -4525
- Misses       1086     5473     +4387

Flag
Coverage Δ

cpu
44.22% <ø> (-44.87%)
:arrow_down:

pytest
44.22% <ø> (-44.87%)
:arrow_down:

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

Impacted Files
Coverage Δ

...ytorch_lightning/metrics/classification/helpers.py
8.73% <0.00%> (-91.27%)
:arrow_down:

pytorch_lightning/trainer/training_loop.py
19.61% <0.00%> (-76.32%)
:arrow_down:

...ch_lightning/trainer/connectors/model_connector.py
24.13% <0.00%> (-75.87%)
:arrow_down:

pytorch_lightning/callbacks/lr_monitor.py
23.52% <0.00%> (-75.30%)
:arrow_down:

...torch_lightning/trainer/configuration_validator.py
23.25% <0.00%> (-74.42%)
:arrow_down:

pytorch_lightning/utilities/model_utils.py
26.66% <0.00%> (-73.34%)
:arrow_down:

...er/connectors/logger_connector/logger_connector.py
19.88% <0.00%> (-71.27%)
:arrow_down:

pytorch_lightning/core/step_result.py
14.83% <0.00%> (-70.76%)
:arrow_down:

...ghtning/trainer/connectors/checkpoint_connector.py
16.56% <0.00%> (-69.83%)
:arrow_down:

.../connectors/logger_connector/epoch_result_store.py
26.47% <0.00%> (-69.17%)
:arrow_down:

... and 88 more

Continue to review full report at Codecov.

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


Doughnut chart: A lot of the more advanced settings need more UX friendly interfaces: e.g. Easing function and legend Template…. This is too complicated at the moment.

We must be able to set these settings , they are part of ChartJS


add FontSelection object with few methods

not sure i did everything right...
please check

Good. I don't see any problem in your patch.

Since this was merged, I am unable to compile:
# github.com/mattn/go-gtk/gtk
could not determine kind of name for C.toGFontSelection

I can find it in gtk.go.h

Sorry, I was wrong. Fixed.


chore: add secrets for aws-pod-identity e2e tests

Signed-off-by: Jorge Turrado<EMAIL_ADDRESS>Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Also, you're way up too late @JorTurFer :D


Custom UI sample error (21.customization-plain-ui) - hooks from 'botframework-webchat-component' not defined

Screenshots

Version

Describe the bug
Running 21.customization-plain-ui throwing undefined errors for all hooks. Not sure if I'm missing a package, but I'm assuming the sample should work out of the box.
To Reproduce
Steps to reproduce the behavior:

git clone BotFramework-WebChat
2 cd BotFramework-WebChat/samples/21.customization-plain-ui
npm i
npm start

App starts on localhost:3000 but throws an error "TypeError: Cannot read property 'useSendMessage' of undefined" and stack trace points to "const { useSendMessage } = hooks;"
Expected behavior
App should start up
Additional context

[Bug]

I think not all hooks are completed yet, but if you use latests bits you can test the sample (removing suggested actions component by the moment). Almost every day the list of completed hooks is growing.
My problem testing the sample is that using and connecting with our own bot I always get activities as an empty list (useActivities hook). Is there someone experiencing the same? How can I test if responses from bot are arriving ?
Thanks!!

@marq47 The useActivities hook should return an array where the first element in the array is a list of activities.
useActivities(): [Activity[]]

@samazadi thanks for reporting, we should write automated tests for our samples so they don't break from time to time. 🙇🏻♂
@marq47 thanks for trying out our new hooks. :)
We try to scope our hooks into 2 types:

Value/setter, following React.useState pattern

They will have a signature of useXXX(): [value, (nextValue) => void], same as React.useState.
useSendBoxValue: [value: string, (nextValue: string) => void]
useLanguage: [language: string] (language is read-only, thus, no setters)
useActivities: [activities: Activity[]]
They will be named using nouns.

Action, e.g. useFocusSendBox, useSendMessage

They will have a signature of useXXX(): (...args) => any.
They will be named using verbs.

We are very new to hooks for composing UI components, please feel free to comment.

@compulim no worries, i know how it goes. Any instructions on how I can fix it and test out the sample? Or any idea of when it can be fixed?

Any update on these hooks?

@samazadi sorry for the delay. I am very hopeful that hooks will be fully implemented before the end of this week. We will circle back to this sample once the final PRs are in.

Sounds good, thanks you! :)

Hi @corinagum just wanted to see if there's been any progress? We're migrating to V4 and I really want to use these hooks in our implementation

@samazadi All of the hooks were included in last weeks v4.7.1 release. Updating your botframework-webchat dependency to the latest version should unblock you.

@tdurnford quick side question... If I wanted to add custom data to the channelData of my messages, whats the best way to do that using the new hooks?

@samazadi using a custom store middleware is probably still the best way to add custom channel data. Take a look at the Piggyback Data on Every Outgoing Activity Web Chat sample.

@tdurnford thank you! Any chance there is documentation or examples on how to do this using React?


[Edit Profile] The elements of the 'Edit photo' popup are not fully displayed after minimizing the browser window on the ENG localization

Environment: Windows 11, Google Chrome Version 108.0.5359.126 (Official Build) (64-bit)
Reproducible: always
Build found: 15.01.23
Preconditions
User should be logged in GreenCity https://www.testgreencity.ga/GreenCityClient/#/
The En localization should be chosen
Steps to reproduce

Go to 'https://www.testgreencity.ga/GreenCityClient/#/'
Open the 'My habits' page
Click on the 'Edit profile' button
Click on the 'Edit picture' button
Resize the browser window to the 320x310 size

Actual result
The scrollbar appeared. The profile photo is partly displayed. The 'Upload new photo' button is displayed on a different background.
Expected result
The scrollbar appeared. All elements of the pop-up are displayed completely and on a white background.

User story and test case links
E.g.: "User story #1006
[Test case] https://jira.softserve.academy/browse/GC-4678

There are no buttons "Change photo", "Save photo"

Not all elements are shown fully, alignment is broken

not reproduced


Option create new wallet is not displayed

When I open the app and go through the onboarding I get stuck at this screen:

I don't see an option to create a new wallet? I haven't created one so have no password yet.

Hi, @mklph this indicates that Lnd has found an existing wallet on your machine. Please see https://github.com/LN-Zap/zap-desktop/issues/591

Aha, thought it might be something like that. I tried removing zap folder in application support but I see it's this folder: /Library/Application Support/Lnd . Probably some old installation. It works now, thanks!


Shuttle console construction

About the PR
Adds circuit boards for constructing Shuttle Consoles.
Changelog
:cl:

add: Added circuit boards for the Shuttle Console and Syndicate Shuttle Console. Cargonia can now truly secede the station, hooray!
tweak: New research category that adds the Shuttle Console Board to the Protolathe's menu.

Should fix the errors. Removed a bit of code that didn't need to be there. Playtest showed everything still worked fine afterwards.

having the curcuitboard: yes
having it printable by science: ehhhh, i guess?

We discussed in discord, research needs a good looking over when someone cares to re do it (tech trees or whatever or just a way of generating points / tech.
I thought this fits in as there will be other avionics tech to come like moonys mass radar console and anything shuttle related we want to be craftable.


GCC compilation error

Code:

package main

import "github.com/go-vgo/robotgo"

func main() {
	for {
		_, y := robotgo.GetMousePos()
		println(y)
		if y < 35 || y > 1037 {
			robotgo.MoveMouse(960, 540)
		}
	}
}

Error:

c:\go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `C:\Users\12526\AppData\Local\Temp\go-link-025442471\000000.o' is incompatible with i386:x86-64 output
collect2.exe: error: ld returned 1 exit status

Closing is due to can't reproduce. Check the gcc environment and version.

OS: Windows 10
robotgo: master
$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/Program\ Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64project' --with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
Thread model: posix
gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)

ERROR
$ CGO_ENABLED=1 go build -ldflags="-s -w -H windowsgui"
go: finding github.com/shirou/w32 latest
# yumc.pw/cloud/sixi-pc-plugin
C:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
C:/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `C:\Users\jtb\AppData\Local\Temp\go-link-525021911\000000.o' is incompatible with i386:x86-64 output
collect2.exe: error: ld returned 1 exit status

C:\Windows\system32>go get github.com/go-vgo/robotgo
github.com/go-vgo/robotgo
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lz
collect2.exe: error: ld returned 1 exit status
I am having this issue if anyone has solved it. I have tried reinstalling gcc using the standard tdm64-gcc-9.2.0 from jmeubank.github.io already and a few other random things with no luck. Any help would be appreciated.

C:\Windows\system32>go get github.com/go-vgo/robotgo
github.com/go-vgo/robotgo
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lz
collect2.exe: error: ld returned 1 exit status
I am having this issue if anyone has solved it. I have tried reinstalling gcc using the standard tdm64-gcc-9.2.0 from jmeubank.github.io already and a few other random things with no luck. Any help would be appreciated.

How is it solved?

Closed because of duplicates, #100. All code tests and C dependencies use MinGw-64, TDM-GCC has not been tested.
But you can compile lpng and lzib yourself, and you can download https://sourceforge.net/projects/mingw-w64/files/ x86_64-posix.

All code tests and C dependencies use MinGw-64, TDM-GCC has not been tested.
But you can compile lpng and lzib yourself, and you can download https://sourceforge.net/projects/mingw-w64/files/ x86_64-posix.


[flutter roll] Revert "fixes android_semantics_integration_test to expect long press for too…"

Reverts flutter/flutter#117547.
revert along with https://github.com/flutter/flutter/pull/117557 to fix tooltip tests.

LGTM, should this merge with the original revert as one commit. It will be easier to reland as well

umm sorry if i am misunderstanding, like combining https://github.com/flutter/flutter/pull/117557 with this PR into one PR?, so that this combined PR would revert 2 PRs?

yes

Sure, thanks for explaining! updated https://github.com/flutter/flutter/pull/117557 to include both reverts


DR2 models don't work at some zoom levels

The DECALS-DR2-models don't seem to work at certain zoom levels.  I'm not clear exactly which work and which don't, but 12 seems to be consistently working, while higher zooms aren't...?
(Discussed this offline a bit with @dstndstn, and I think he found the fix, but asked me to record it here)

Could you check this now?  I think I fixed it...

Yep, seems to be fixed now - closing!


Call the contract with stacks.js using the same parameters according to the transaction of the wallet got an error

I delegate some STX with LoskStacks and I can see the transaction in Leather Wallet.
Now I want to call delegate function with stacks.js, so I use the same parameters, but one parameter: user-pox-addr  {hashbytes: (buff 32), version: (buff 1)} I check the transaction about this parameter:

I use the same string:

When I run the code, I got an error:
Clarity function delegate-stx expects argument 5 to be of type (tuple (hashbytes (buff 32)) (version (buff 1))), not (tuple (hashbytes (buff 42)) (version (buff 4)))
The length of hashbytes(0x....8b5) is 42.
Why I use the same parameter got an error?
What should I do?
Please help me, thanks!

bufferCVFromString converts text into a buffer. You want to convert hex into a buffer. Better use bufferCV(hexToBytes(...)). See https://stacks.js.org/functions/_stacks_common.hexToBytes

In general discord is better for these kind of questions. This is not a support forum.

@friedger Thanks for your reply!  I will go to discord to ask this kind of question.

@friedger Excuse me  I want to join the discord which in README, but it tells me: The invitation may have expired, or you may not have permission to join.
I can't join it.
Please help me, thanks!

@llwinner try this https://community.stacks.org/discord

@friedger Thanks, I have joined the stacks discord by your link!

Thanks for the comments 🙏🏻
We also have a new Cl namespace that can be imported from @stacks/transactions which is great for discoverability of the different methods


Consuming fix for property grid labels

Consuming fix for property grid labels by updating @bentley/ui-components package and other related packages to 2.9.2 (fix is in 2.6, this is the latest non-dev release. was unsure which version to use)

you also need to run rush update to update the lockfile.


GROBID service crashes with more than one thread

Hi,
I tried to parse 136 papers using the Grobid Service and the Java GROBID client (https://github.com/kermitt2/grobid-client-java).
Unfortunately, every time I try to process the papers using more than one thread, the server crashes.
This behaviour is independent from the type of GROBID service (processFulltextDocument, processHeaderDocument, processReferences). Moreover, if I use only one thread, the server parses the paper without incurring in any problems.
This is my procedure:

start the server: gradlew run
start the client: java -jar target/org.grobid.client-0.5.4-SNAPSHOT.one-jar.jar -in path-to-INOUT-pdf -out path-to-OUTPUT-pdf -exe GROBID-SERVICE -n numberOfThread

I am using GROBID 0.5.5 on Windows 10.
If numberOfThread is greater than 1, the server starts to parse the papers but suddenly the following error appears (I'm using  java version "1.8.0_211"):

Task :grobid-service:run FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':grobid-service:run'.

Process 'command 'C:\Program Files\Java\jdk1.8.0_181\bin\java.exe'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 38s
6 actionable tasks: 1 executed, 5 up-to-date
Any helps would be really appreciated.
Thanks in advance

Dear @FraDePace, your problem might be windows related, not sure. Could you please past here the result of ./gradlew run --stacktrace --info?

@FraDePace in complement you should have some server logs under grobid/logs/grobid-service.log which could be useful for us.

@lfoppiano this is the result of ./gradlew run --stacktrace --info
GROBID_stacktrace.txt
@kermitt2 this is the grobid-service.log
grobid-service.log
It seems that if the server fails to parse a paper, the entire process crashes.

@FraDePace could you try to run the pdfalto command to any pdf, it's located in grobid-home/pdf2xml/pdfalto?
Could you also, as a test, replace the content of grobid-home/pdf2xml/win-64/ with the content of grobid-home/pdf2xml/win-64/pdfalto?
@kermitt2, looks like that pdfalto is in a subdirectory too much grobid-home/pdf2xml/pdfalto.. in DocumentSource I don't see anything specific there for Windows...

@lfoppiano this was a modification from Achraf because pdf2xml and pdfalto was depending on different versions of cygwin if I remember well - however I dont see under grobid-home/pdf2xml/win-64/pdfalto the other libraries for local linking, so I don't think this change can work.

@kermitt2 I imagined, but but the path is wrong then... isn't it?

In DocumentSource.java line 78, we have a path change specific to Windows:
if (SystemUtils.IS_OS_WINDOWS) {
     //pdfalto executable are separated to avoid dll conflicts
     pdfToXml.append(File.separator +"pdfalto");
}

OK, sorry. I was looking a the wrong branch... 🤦♂
@FraDePace ignore my second comment Could you also, as a test, replace the content of grobid-home/pdf2xml/win-64/ with the content of grobid-home/pdf2xml/win-64/pdfalto?.

One solution would be to remove entirely pdf2xml, but the problem is that it will make the current grobid-home not compatible with grobid jar libraries prior to 0.5.5 - other grobid modules running with older grobid lib. would fail with current grobid-home.

But the problem here is very likely due to the pdfalto_server under grobid-home/pdf2xml/win-64/pdfalto: with 1 thread pdfalto is used, with several threads it's pdfalto_server.

@lfoppiano this is the result of pdfalto.bat pdf
pdfalto_bat.txt
this is the result of pdfalto_server.bat pdf
pdfalto_server_bat.txt

@FraDePace do you get output files from the commands? Could you attach them?

@lfoppiano result and output files of pdfalto.bat pdf
pdfalto_bat.txt
output_pdfalto.zip
result and output files of pdfalto_server.bat pdf
pdfalto_server_bat.txt
output_pdfalto_server.zip

UPDATE
not sure if it can be useful, but I face the same problem using grobid 0.5.4

@FraDePace that's very useful, it means that PdfAlto is not the cause... We need to investigate more using windows...
I suggest, perhaps, to consider the use of the docker container http://grobid.readthedocs.io/en/latest/Grobid-docker/ (remember to give at least 4Gb of RAM to the docker machine). Would be that possible?

@lfoppiano thanks, I'll try!

@FraDePace did you manage to get it run? Any feedback?

@lfoppiano sorry for the late response. I did not try with a docker container but I got it run using the grobid service on a OSX Mojave :)

mmm given that everything is working fine with one thread anyway on Windows, it's normal that pdfalto and its output are okay when using the (non parallel) command line. It does not mean that the issue does not come from pdfalto when used in parallel mode. But what's nice if that we know it's not specific to pdfalto_server. In the output, we see that there are dependency issues with png for instance in the built version, but that's another issue.
We have this in the provided logs:

ERROR [2019-06-13 07:03:22,731] org.grobid.service.process.GrobidRestProcessFiles: An unexpected exception occurs.
! org.grobid.core.exceptions.GrobidException: [NO_BLOCKS] PDF parsing resulted in empty content

so it's still an indication about an issue with pdfalto or the way temporary files are managed when using multiple threads on Windows. Unfortunately I can't reproduce the problem because I don't have Windows machine, but I will try to find a way :/
It would be nice to rebuild pdfalto for windows with static dependencies if possible I think.


Table design

Not sure if tables are meant to be full-column grids now:

This can lead to some readability issues when there are a lot of tables:

In the current design, tables have fewer vertical borders and their width scales to the size of the content.
Also, the row hover effect is gone in the redesign (rows don't get highlighted when you hover them).

This issue will require design work

Wireframes showing highlighted rows: https://www.figma.com/file/gUgY9eSxcWpLENJHLS5FZv/GitHub-Issues?node-id=302%3A2272
Tables are full width to match our Product Design system, if the width creates issues for readability they can be updated. Consider that standard table width helps keep the UI layout consistent.

That sounds good to me, thank you!

@luciaaaaaaa, can you please add more guidance around column width? As you can see in @taroface's screenshots, that is inconsistent across tables and leads to some pretty difficult reading. For example, see https://www.cockroachlabs.com/docs/stable/cluster-settings.html#settings and https://www.cockroachlabs.com/docs/stable/cockroach-start.html#networking.

oh wow, I'm sorry I missed that!
https://www.cockroachlabs.com/docs/stable/cockroach-start.html#networking in this page would you want the columns to be same size? At a glance, it makes sense that description columns should we wider...but not sure if you agree with that.
I see the issue here https://www.cockroachlabs.com/docs/stable/cluster-settings.html#settings specially with the 'Type' Column.
How is column width being set now?
Here is one way we could standarize...

I would say that the table needs to be full width of the main body
If there are only two columns, and one if a description column, the description column should take more width for readability
The description columns width minimum should be between 300-600px for easy readability
The rest of the columns width should be the same width

Maybe something like white-space: nowrap; in addition to column width adjustments? There are text breaks in the big and small columns in both links.
Also, more padding in table cells may also help with readability.
One last thing is that the table font size seems a bit small and/or out of proportion to code and bold styles:


CNAME or TEXT

The picture in 1.9 tells to add a CNAME and a TXT record.
I think it would be clearer here to add a root domain (contoso.com) and add an A record and a TXT record. This way, it matches the example in 2.3

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

ID: 224b73dd-c59d-a833-0d4d-a778af6086a9
Version Independent ID: c6b167c9-9589-45d0-ee6a-7a47a4aec41e
Content: Map existing custom DNS name - Azure App Service
Content Source: articles/app-service/app-service-web-tutorial-custom-domain.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@joostml1 Thank you for reaching out and sharing the feedback.
The best practice is to use a CNAME wherever possible with Azure Web Apps due to a limited and very rare risk that the inbound IP address for the web app could change, and thus break the availability of your web app.
As a result, we will keep the documentation the way it is as it appears to adhere to this best practice.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


centos 7.8 make error

OS:  CentOS Linux release 7.6.1810 (Core)
# uname -a
Linux <IP_ADDRESS>-linux-robot-app 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

cmake params:
cmake  -DgRPC_INSTALL=ON \
       -DCMAKE_BUILD_TYPE=Release \
       -DgRPC_PROTOBUF_PROVIDER=package \
       -DgRPC_SSL_PROVIDER=package

make error:
[ 26%] Linking CXX executable regexp_benchmark [ 26%] Built target required_prefix_test [ 26%] Linking CXX static library libabsl_examine_stack.a [ 26%] Building CXX object third_party/abseil-cpp/absl/random/CMakeFiles/absl_random_internal_pool_urbg.dir/internal/pool_urbg.cc.o [ 26%] Built target regexp_benchmark [ 26%] Linking CXX executable grpc_php_plugin [ 26%] Building CXX object third_party/abseil-cpp/absl/random/CMakeFiles/absl_random_internal_distribution_test_util.dir/internal/distribution_test_util.cc.o [ 26%] Built target absl_examine_stack [ 26%] Building CXX object third_party/abseil-cpp/absl/status/CMakeFiles/absl_status.dir/status_payload_printer.cc.o [ 26%] Building CXX object third_party/abseil-cpp/absl/synchronization/CMakeFiles/absl_synchronization.dir/blocking_counter.cc.o [ 26%] Building CXX object third_party/abseil-cpp/absl/debugging/CMakeFiles/absl_failure_signal_handler.dir/failure_signal_handler.cc.o [ 26%] Built target grpc_php_plugin In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/cord.h:83:0,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/status/internal/status_internal.h:20,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/status/status.h:58,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/status/status.cc:14: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/types/optional.h:119:7: warning: unused parameter ‘src’ [-Wunused-parameter]  class optional : private optional_internal::optional_data<T>,        ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/status/status.cc: In lambda function: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/status/status.cc:301:25: note: synthesized method ‘absl::lts_2020_09_23::optional<T>& absl::lts_2020_09_23::optional<T>::operator=(absl::lts_2020_09_23::optional<T>&&) [with T = std::basic_string<char>]’ first required here       if (printer) result = printer(type_url, payload);                          ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc: In instantiation of ‘std::string absl::lts_2020_09_23::flags_internal::UnparseFloatingPointVal(T) [with T = float; std::string = std::basic_string<char>]’: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:193:64:   required from here /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:179:66: error: no matching function for call to ‘StrFormat(const char [5], const int&, float&)’        absl::StrFormat("%.*g", std::numeric_limits<T>::digits10, v);                                                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:179:66: note: candidate is: In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:33:0: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note: template<class ... Args> std::string absl::lts_2020_09_23::StrFormat(absl::lts_2020_09_23::FormatSpec<Args ...>&, const Args& ...)  ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec<Args...>& format,                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note:   template argument deduction/substitution failed: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:179:66: note:   mismatched types ‘absl::lts_2020_09_23::FormatSpec<Args ...>’ and ‘const char [5]’        absl::StrFormat("%.*g", std::numeric_limits<T>::digits10, v);                                                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:191:73: error: no matching function for call to ‘StrFormat(const char [5], const int&, float&)’    return absl::StrFormat("%.*g", std::numeric_limits<T>::max_digits10, v);                                                                          ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:191:73: note: candidate is: In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:33:0: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note: template<class ... Args> std::string absl::lts_2020_09_23::StrFormat(absl::lts_2020_09_23::FormatSpec<Args ...>&, const Args& ...)  ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec<Args...>& format,                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note:   template argument deduction/substitution failed: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:191:73: note:   mismatched types ‘absl::lts_2020_09_23::FormatSpec<Args ...>’ and ‘const char [5]’    return absl::StrFormat("%.*g", std::numeric_limits<T>::max_digits10, v);                                                                          ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc: In instantiation of ‘std::string absl::lts_2020_09_23::flags_internal::UnparseFloatingPointVal(T) [with T = double; std::string = std::basic_string<char>]’: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:194:65:   required from here /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:179:66: error: no matching function for call to ‘StrFormat(const char [5], const int&, double&)’        absl::StrFormat("%.*g", std::numeric_limits<T>::digits10, v);                                                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:179:66: note: candidate is: In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:33:0: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note: template<class ... Args> std::string absl::lts_2020_09_23::StrFormat(absl::lts_2020_09_23::FormatSpec<Args ...>&, const Args& ...)  ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec<Args...>& format,                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note:   template argument deduction/substitution failed: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:179:66: note:   mismatched types ‘absl::lts_2020_09_23::FormatSpec<Args ...>’ and ‘const char [5]’        absl::StrFormat("%.*g", std::numeric_limits<T>::digits10, v);                                                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:191:73: error: no matching function for call to ‘StrFormat(const char [5], const int&, double&)’    return absl::StrFormat("%.*g", std::numeric_limits<T>::max_digits10, v);                                                                          ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:191:73: note: candidate is: In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:33:0: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note: template<class ... Args> std::string absl::lts_2020_09_23::StrFormat(absl::lts_2020_09_23::FormatSpec<Args ...>&, const Args& ...)  ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec<Args...>& format,                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note:   template argument deduction/substitution failed: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:191:73: note:   mismatched types ‘absl::lts_2020_09_23::FormatSpec<Args ...>’ and ‘const char [5]’    return absl::StrFormat("%.*g", std::numeric_limits<T>::max_digits10, v);                                                                          ^ [ 26%] Building CXX object third_party/abseil-cpp/absl/synchronization/CMakeFiles/absl_synchronization.dir/internal/create_thread_identity.cc.o /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc: In function ‘std::string absl::lts_2020_09_23::flags_internal::UnparseFloatingPointVal(T) [with T = float; std::string = std::basic_string<char>]’: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:192:1: warning: control reaches end of non-void function [-Wreturn-type]  }  ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc: In function ‘std::string absl::lts_2020_09_23::flags_internal::UnparseFloatingPointVal(T) [with T = double; std::string = std::basic_string<char>]’: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/flags/marshalling.cc:192:1: warning: control reaches end of non-void function [-Wreturn-type]  }  ^ [ 26%] Linking CXX static library libabsl_flags_private_handle_accessor.a make[2]: *** [third_party/abseil-cpp/absl/flags/CMakeFiles/absl_flags_marshalling.dir/marshalling.cc.o] Error 1 make[1]: *** [third_party/abseil-cpp/absl/flags/CMakeFiles/absl_flags_marshalling.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 26%] Building CXX object third_party/abseil-cpp/absl/synchronization/CMakeFiles/absl_synchronization.dir/internal/per_thread_sem.cc.o In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h:19:0,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/civil_time.h:76,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/time.h:88,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/clock.h:26,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h:33,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/mutex.h:71,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/blocking_counter.h:24,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/blocking_counter.cc:15: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h:26:5: warning: "__cpp_constexpr" is not defined [-Wundef]  #if __cpp_constexpr >= 201304 || (defined(_MSC_VER) && _MSC_VER >= 1910)      ^ [ 26%] Linking CXX executable grpc_python_plugin [ 26%] Built target absl_flags_private_handle_accessor In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h:19:0,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/civil_time.h:76,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/time.h:88,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/clock.h:26,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h:33,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h:32,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc:27: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h:26:5: warning: "__cpp_constexpr" is not defined [-Wundef]  #if __cpp_constexpr >= 201304 || (defined(_MSC_VER) && _MSC_VER >= 1910)      ^ [ 26%] Building CXX object third_party/abseil-cpp/absl/synchronization/CMakeFiles/absl_synchronization.dir/internal/waiter.cc.o /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc: In function ‘std::ostream& absl::lts_2020_09_23::random_internal::operator<<(std::ostream&, const absl::lts_2020_09_23::random_internal::DistributionMoments&)’: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:77:66: error: no matching function for call to ‘StrFormat(const char [45], const double&, double, const double&, const double&)’                                 moments.skewness, moments.kurtosis);                                                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:77:66: note: candidate is: In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:25:0: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note: template<class ... Args> std::string absl::lts_2020_09_23::StrFormat(absl::lts_2020_09_23::FormatSpec<Args ...>&, const Args& ...)  ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec<Args...>& format,                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/strings/str_format.h:338:34: note:   template argument deduction/substitution failed: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:77:66: note:   mismatched types ‘absl::lts_2020_09_23::FormatSpec<Args ...>’ and ‘const char [45]’                                 moments.skewness, moments.kurtosis);                                                                   ^ /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:78:1: warning: control reaches end of non-void function [-Wreturn-type]  }  ^ In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h:19:0,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/civil_time.h:76,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/time.h:88,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/clock.h:26,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h:33,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.h:32,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc:19: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h:26:5: warning: "__cpp_constexpr" is not defined [-Wundef]  #if __cpp_constexpr >= 201304 || (defined(_MSC_VER) && _MSC_VER >= 1910)      ^ make[2]: *** [third_party/abseil-cpp/absl/random/CMakeFiles/absl_random_internal_distribution_test_util.dir/internal/distribution_test_util.cc.o] Error 1 make[1]: *** [third_party/abseil-cpp/absl/random/CMakeFiles/absl_random_internal_distribution_test_util.dir/all] Error 2 [ 26%] Building CXX object third_party/abseil-cpp/absl/synchronization/CMakeFiles/absl_synchronization.dir/notification.cc.o [ 26%] Linking CXX static library libabsl_random_internal_pool_urbg.a In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h:19:0,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/civil_time.h:76,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/time.h:88,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/clock.h:26,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h:33,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/waiter.h:39,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc:15: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h:26:5: warning: "__cpp_constexpr" is not defined [-Wundef]  #if __cpp_constexpr >= 201304 || (defined(_MSC_VER) && _MSC_VER >= 1910)      ^ [ 26%] Built target grpc_python_plugin [ 26%] Building CXX object third_party/abseil-cpp/absl/synchronization/CMakeFiles/absl_synchronization.dir/mutex.cc.o [ 26%] Linking CXX static library libabsl_failure_signal_handler.a In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h:19:0,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/civil_time.h:76,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/time.h:88,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/clock.h:26,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h:33,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/mutex.h:71,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/notification.h:56,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/notification.cc:15: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h:26:5: warning: "__cpp_constexpr" is not defined [-Wundef]  #if __cpp_constexpr >= 201304 || (defined(_MSC_VER) && _MSC_VER >= 1910)      ^ [ 26%] Built target absl_random_internal_pool_urbg [ 27%] Linking CXX executable grpc_objective_c_plugin In file included from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h:19:0,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/civil_time.h:76,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/time.h:88,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/clock.h:26,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/internal/kernel_timeout.h:33,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/mutex.h:71,                  from /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/synchronization/mutex.cc:15: /usr/local/src/grpc-framework/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h:26:5: warning: "__cpp_constexpr" is not defined [-Wundef]  #if __cpp_constexpr >= 201304 || (defined(_MSC_VER) && _MSC_VER >= 1910)      ^ [ 27%] Built target absl_failure_signal_handler [ 28%] Linking CXX executable grpc_ruby_plugin [ 28%] Linking CXX executable grpc_node_plugin [ 28%] Built target grpc_objective_c_plugin [ 28%] Linking CXX executable grpc_csharp_plugin [ 28%] Built target grpc_ruby_plugin [ 28%] Built target grpc_node_plugin [ 28%] Linking CXX static library libabsl_status.a [ 28%] Built target grpc_csharp_plugin [ 28%] Built target absl_status [ 28%] Linking CXX executable re2_test [ 28%] Built target re2_test [ 28%] Linking CXX static library libabsl_synchronization.a [ 28%] Built target absl_synchronization [ 28%] Linking CXX executable grpc_cpp_plugin [ 28%] Built target grp

/usr/local/src/grpc-framework/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:77:66: error: no matching function for call to ‘StrFormat(const char [45], const double&, double, const double&, const double&)’

what's your gcc --version?

Same error with gcc 4.8.5.  Fine with 4.9.2, 5.3.1 and 7.3.1 (CentOS).  Possibly related -  #24940.

Same error with gcc 4.8.5.  Fine with 4.9.2, 5.3.1 and 7.3.1 (CentOS).  Possibly related -  #24940.

Note the default compiler on CentOS 7 is still 4.8, it would make life easier to keep compatible with older version.

Same error with gcc 4.8.5. Fine with 4.9.2, 5.3.1 and 7.3.1 (CentOS). Docs do indeed state gcc 4.9+ as a requirement however cmake does not check for it.

I've managed to compile it on RHEL7(CentOS7) with Devtoolset 8 (GCC 8.2.1) from https://www.softwarecollections.org/en/scls/rhscl/devtoolset-8/
Using:
cmake -DgRPC_INSTALL=ON
-DgRPC_BUILD_TESTS=OFF
-DCMAKE_INSTALL_PREFIX=/my/path/to/grpc
../..
make -j2 # (for my spec. system)


🐛 CSS parser does not recognize multiple semicolons after a declaration

Environment information
CLI:
  Version:                      1.8.3
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v18.19.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "yarn/4.4.0"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?
Biome's CSS parser raises a parser error when a CSS declaration ends with multiple semicolons, e.g.
.foo {
  color: red;;
}

Sorry if it was reported already, but I couldn't find an issue for that.
Expected result
The CSS file parses correctly. The formatter could simply remove multiple semicolons. This is what prettier does

More info
For some context: One of my colleagues use IntelliJ to author a CSS file, and it did not show any errors. During the pre-commit hook, when biome was called to format the CSS file, it reported a syntax error in the CSS file. Took him some time to find the issue. It turned out the issue was that a declaration in the CSS file had 2 semicolons at the (;)
I took a look at the CSS specification. If I understand it correctly, CSS syntax 3, 5.4.5, Consume a list of declarations allows for multiple semicolons:
Repeatedly consume the next input token
  <semicolon-token>
    Do nothing.

Various other tools such as IntelliJ, VSCode or https://jigsaw.w3.org/css-validator/validator also accept multiple semicolons. Biome however produces a parser error (tested with 1.8.3)

According to this comment here in declaration_or_rule_list_block.rs, the parser only seems to consider a single semicolon for now.
Code of Conduct

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

I would be happy to help!

@h-a-n-a
go ahead💪

Sorry. I'm a little bit busy in these days and I cannot handle this at the moment. I have to unassign ;-(.
cc @chansuke


Loading modal copy variations

since user can get stuck on the loading modal for 5+ seconds, it will be good to give him a sense that something is happening :D
lets add some variations to the copy, doing some magic is nice, but when it stays there for 10 seconds its not optimal

Variations

it will replace the "doing some magic" in a 4 second interval

copy:
Doing some magic
Building the Experience
Finishing Touches
Almost There
in this order

👋


Screenshots- Error------------ TypeError: this.attach is not a function

How to attach screenshots to test report?
Trying this  :
 After(async function (scenario) {

if (scenario.stepsResults !== 'FAILED') {

// screenShot is a base-64 encoded PNG

const screenShot = await browser.takeScreenshot();

this.attach(screenShot, 'image/png');

}

});

This should do the trick https://github.com/wswebcreation/multiple-cucumber-html-reporter#how-to-attach-screenshots-to-html-report

Thanks for the quick response.
Will check it out. Hope this would attach the screenshots to the html report
On Wed, Nov 22, 2017 at 2:31 PM, Wim Selles<EMAIL_ADDRESS>wrote:

This should do the trick https://github.com/wswebcreation/multiple-
cucumber-html-reporter#how-to-attach-screenshots-to-html-report
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wswebcreation/protractor-multiple-cucumber-html-reporter-plugin/issues/8#issuecomment-346286021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AedzoLPqji42Q142wkTbX6uT3NFGhx4Fks5s4-L-gaJpZM4QnBBi
.

sorry , but in this, what is screenshot, on which we are caling replace?
const decodedImage = new Buffer(screenshot.replace(/^data:image/
png;base64,/, ''), 'base64');
On Wed, Nov 22, 2017 at 2:31 PM, Wim Selles<EMAIL_ADDRESS>wrote:

This should do the trick https://github.com/wswebcreation/multiple-
cucumber-html-reporter#how-to-attach-screenshots-to-html-report
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wswebcreation/protractor-multiple-cucumber-html-reporter-plugin/issues/8#issuecomment-346286021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AedzoLPqji42Q142wkTbX6uT3NFGhx4Fks5s4-L-gaJpZM4QnBBi
.

tried as below:
After(async function (scenario) {
browser.driver.takeScreenshot().then((screenshot) => {
const decodedImage = new Buffer(screenshot.replace(/^data:image/
png;base64,/, ''), 'base64');
scenario.attach(decodedImage, 'image/png');
});
got this error:
: Property 'attach' does not exist on type 'HookScenarioResult'. (2339)
On Wed, Nov 22, 2017 at 2:54 PM, Subhavani<EMAIL_ADDRESS>wrote:

sorry , but in this, what is screenshot, on which we are caling replace?
const decodedImage = new Buffer(screenshot.replace(/^data:image/
png;base64,/, ''), 'base64');
On Wed, Nov 22, 2017 at 2:31 PM, Wim Selles<EMAIL_ADDRESS>wrote:

This should do the trick https://github.com/wswebcreati
on/multiple-cucumber-html-reporter#how-to-attach-
screenshots-to-html-report
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wswebcreation/protractor-multiple-cucumber-html-reporter-plugin/issues/8#issuecomment-346286021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AedzoLPqji42Q142wkTbX6uT3NFGhx4Fks5s4-L-gaJpZM4QnBBi
.

@subhavani
You are using TypeScript? If so, please check this for CucumberJS 2 and this for CucumberJS 3. Those are my boilerplates.

thanks , but my need is to make the screenshot appear as a link on the
cucumber html report
On Wed, Nov 22, 2017 at 3:13 PM, Wim Selles<EMAIL_ADDRESS>wrote:

@subhavani https://github.com/subhavani
You are using TypeScript? If so, please check this for CucumberJS 2
https://github.com/wswebcreation/protractor-cucumber-typescript-boilerplate/blob/2.x/e2e-tests/config/helpers/after.scenario.ts
and this for CucumberJS 3
https://github.com/wswebcreation/protractor-cucumber-typescript-boilerplate/blob/master/e2e-tests/config/helpers/after.scenario.ts.
Those are my boilerplates.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wswebcreation/protractor-multiple-cucumber-html-reporter-plugin/issues/8#issuecomment-346296691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AedzoHfKcxo64ivhllNqMc0Gs4yuut1pks5s4-ylgaJpZM4QnBBi
.

I am using Protractor and have a similar issue:
This is my hoos.js file:
const {After} = require('cucumber');

	After(function(scenario) {
		if(scenario.isFailed()){
			return driver.takeScreenshot()
				.then(function (buffer) {
					const decodedImage = new Buffer(screenshot.replace(/^data:image\/png;base64,/, ''), 'base64');
					scenario.attach(decodedImage, 'image/png');
				});
		}
	});

"chromedriver": "2.33.2",
"cucumber": "4.2.1",
"protractor": "5.1.2",
"protractor-cucumber": "0.1.8",
"protractor-cucumber-framework": "5.0.0",
"protractor-multiple-cucumber-html-reporter-plugin": "^1.7.0",
"selenium-server-standalone-jar": "3.4.0"

This is the error:
× After # support\hooks.js:13
      TypeError: scenario.isFailed is not a function
          at World.<anonymous> (C:\workspace\project\support\hooks.js:14:15)


Update font-awesome script in docs website

We are using this kit but it's inaccessible (403 forbidden)
  {# Font awesome 6 kit for this doc website. Anyone can create a free kit for open source. #}
    <script src="https://kit.fontawesome.com/892cb27850.js" crossorigin="anonymous"></script>

Look into updating the URL
Also noticed that this is the asset we have listed on installation

Fixed by https://github.com/cds-snc/gcds-docs/pull/244


Required runtime version

Would it be possible to add since which version try methods are available, just like e.g. in https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/byte/byte-data-type?

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

ID: 8c9b78f4-1a5e-a177-1674-d947b69b56ef
Version Independent ID: 903a9845-3fdd-21b1-4d6d-08fa02875b0f
Content: Handling Errors by Using Try Methods - Business Central
Content Source: dev-itpro/developer/devenv-handling-errors-using-try-methods.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hi, thanks for your feedback. Try methods are available since runtime version 2.0. This will be added to the documentation with the next refresh.

Hi, thanks for your feedback. Try methods are available since runtime version 2.0. This will be added to the documentation with the next refresh.


AttributeError in tutorial/quantum_mechanics_1D_wave_packet.ipynb

Thanks, the function qm.plot() has been removed. This has been replaced with qm.plot_field(np.abs(qm.psi)**2). I have pushed the changes.

👍


#3: Broken link fixed.

Hi, i changed the readme link with the newer convention of author's article.
This pull request is related to #3 Issue.
Regards.

:+1: thank you!


Branch-2-Branch via NVA

The Article mentions that Branch-2-Branch is not supported with Azure Firewall. However, it not states that this is suported with NVAs. It should be clearly mentioned if B2B routing via NVAs is supported or not.

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

ID: fac72373-5539-de97-0acd-5f217279536e
Version Independent ID: 58a01edf-3fba-871d-bb7b-5044adf95794
Content: About virtual hub routing - Azure Virtual WAN
Content Source: articles/virtual-wan/about-virtual-hub-routing.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@marcelkmfst Thank you for reaching out to us. We are actively investigating and will get back to you soon.

@marcelkmfst, Appreciate your patience. It is stated in the connectivity matrix for user convenience and understanding,
Through NVA:

Can't place NVA's here for Branch to Branch communication.
Through Azure Firewall:

Can't use Azure Firewall here for Branch to Branch communication.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


UI Fix on Monthly Leaderboard #287

All three points done as asked in the issue.

Can you please link the issue that is supposed to be solved by merging this PR right in the description? This helps reviewers quickly take a look at the issue's requirements. Another PR for reference: https://github.com/OWASP/BLT-Flutter/pull/318

Fixes #287


Early-out of connection attempt if getting deployment list fails.

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.

Description
In the locator connection flow, If getting the deployment list fails, it will continue to attempt to connect and usually crash with a cryptic error. This is a temporary fix that just early-outs from the connection attempt, as a workaround until a proper solution for UNR-576 is completed.
Tests
Tested manually by connecting with a bad login token, and to a deployment that doesn't exist.
Documentation
n/a
Primary reviewers
@m-samiec @girayimprobable

Please wait on this review, making a few changes.

OK ready for review again.


yotta should check for updates and warn user if out of date

Much like pip will give you a warning if you are using an out of date version, i think yotta should also warn the user if they are a minor revision or more out of date and offer instructions on how to update yotta.
Something like
yotta is now at version X.X.x, you are using version Y.Y.y, you can update yotta by running pip install -U yotta

yup, would be good to do this. It should probably do it only when otherwise making a network request to avoid introducing extra overhead (the client version is anyway sent to the registry when making requests).


Update Thanos vendoring to include config reloader fixes

See https://github.com/coreos/prometheus-operator/issues/2501
Signed-off-by: Julius Volz<EMAIL_ADDRESS>

@metalmatze I guess the new Docker image and associated version changes will need to be done by you CoreOS people?

Yes, exactly. We need to do a release and Travis will do/push the rest. :relaxed:

Cool!

@metalmatze An unrelated mesh test flaked out in one of the CI builds, can you trigger a re-run?

restarted the build, let's see how this goes :crossed_fingers:

lgtm :+1: thanks @juliusv!


bugfix/readme typo

separate branch to fix typos in readme

Hey @sgluzins ,
I can't accept pull request for this!!
Thanks a ton for pointing out Typos.


Missing comma package.json

missing comma package.json

I'm unsure of the other changes you have made (guessing it was unintentional to have 'em included in this pull request). Anyways, I've just added in the missing comma myself instead of hand-picking you commit. Thanks for spotting this though :+1:


Replace: make it more obvious that you are in replace mode

Refs: #8184
I find it currently hard to understand that the results list shows different matches when you have focus in replace and typed something. You show the preview of the operation. If we want to keep this concept, we should at least show the before and after in one line, e.g. you could strike through the old result and show the replacement right after. I would also use different colors for that.
Related: https://github.com/Microsoft/vscode/issues/8302

Will give my suggestion in https://github.com/Microsoft/vscode/issues/8184


Tomcat authentication on servlet throws serialization exception

having any authentication done by tomcat on servlets throws a serialization exception
example: authentication on tomcat manager
stack trace:
24-Jan-2017 15:12:45.596 WARNING [msm-storage-thread-2] de.javakaffee.web.msm.BackupSessionTask.call FAILED for session id 997C1C88C2A62C89AD10D6318CBC4DDD
java.lang.IllegalArgumentException: Non-serializable object
at de.javakaffee.web.msm.TranscoderService.serializePrincipal(TranscoderService.java:352)
at de.javakaffee.web.msm.TranscoderService.serializeSessionFields(TranscoderService.java:197)
at de.javakaffee.web.msm.TranscoderService.serializeSessionFields(TranscoderService.java:190)
at de.javakaffee.web.msm.TranscoderService.serialize(TranscoderService.java:180)
at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:117)
at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:50)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.NotSerializableException: org.apache.catalina.realm.GenericPrincipal
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at de.javakaffee.web.msm.MemcachedBackupSessionManager.writePrincipal(MemcachedBackupSessionManager.java:885)
at de.javakaffee.web.msm.TranscoderService.serializePrincipal(TranscoderService.java:348)
... 9 more
tomcat version : 8.0.15
Java version: multiple versions/ Java 7.X, Java 8.x
technology used: elastic cache memcached
Jars tested with:
latest Jar from elastic cache: AmazonElastiCacheClusterClient-1.1.1.jar
memcached-session-manager-2.0.0.jar , 2.1.0, 2.1.1, 1.8.3
memcached-session-manager-tc8-2.0.0.jar , 2.1.0, 2.1.1, 1.8.3
configuration for memcached:

the same stack trace happens on all combinations mentioned above

The GenericPrincipal in the latest tomcat 8.0 version implements Serializable, according to https://tomcat.apache.org/tomcat-8.0-doc/api/org/apache/catalina/realm/GenericPrincipal.html.
In previous versions it did not implement Serializable, this was changed with this commit (2014-12-16). According to the tomcat changelog 8.0.15 was released 2014-11-07.
I'd suggest you use the latest tomcat 8.5.x release, alternatively a current 8.0.x release could work.

unfortunately i cannot upgrade my tomcat (for compatibility issues with other tools), but i cannot use the session manager as is, would like to double check with you on changing a small part of the implementation of the session manager? i will be changing the read/write principle methods to force-serialize the principle by casting it to a serializableprinciple.

I don't think that this would work.
In commit https://github.com/magro/memcached-session-manager/commit/343133a58796fda3e20a5311600db2f5d4edb2ab you see the change in msm in reaction to the change in tomcat. AFAICS it was released with msm 1.9.0, so the previous version could work for you.

thank you everything is solved now!

Great to hear that!


cfi: fix parsing of function relative pointers

Also move the function base out of BaseAddresses so that it's easier to be sure we are setting it correctly.
I wasn't able to find a compiler that generates this, but this behaviour matches gdb and breakpad.
Fixes #398

Coverage increased (+0.02%) to 86.642% when pulling d9c71ffc7ccab61dc11a984ac9d7072aee6757c9 on philipc:issue-398 into 57637915bbb59bb9743dab9cd2b4ff62454f2f93 on gimli-rs:master.


Custom NavigationController Delegate

I have a custom segue class that instantiates a UINavigationController class like this:
class CustomNavSegue: UIStoryboardSegue {

    override func perform() {
        let nav = ModalNavigationController(rootViewController: destination)
        nav.isHeroEnabled = true
        nav.modalPresentationStyle = .overCurrentContext
        source.present(nav, animated: true, completion: nil)
    }
}

In the ModalNavigationController viewDidLoad I set delegate = self since I need to perform a custom action on:
extension ModalNavigationController: UINavigationControllerDelegate {
    func navigationController(_ navigationController: UINavigationController,
                              willShow viewController: UIViewController,
                              animated: Bool) {
        //need to configure something on viewController.view
    }
}

However, when I set nav.isHeroEnabled I see that the navigationController's delegate gets set to Hero.shared.
Basically both need to be the delegate even though they need different method callbacks.
Do you have any ideas for solutions?
Maybe Hero could expose an extra navigationDelegate:UINavigationControllerDelegate  property that only replays the callbacks it receives (probaby worth doing for other delegates as well).

So you want to have your own navigation delegate while having hero enabled? It is doable if I expose some of the internal Hero methods. But can you use 'viewWillAppear' or 'viewDidAppear' instead?

You can probably do something like this:
extension ModalNavigationController: UINavigationControllerDelegate {
    func navigationController(_ navigationController: UINavigationController,
                              willShow viewController: UIViewController,
                              animated: Bool) {
        //need to configure something on viewController.view
    }

    func navigationController(_ navigationController: UINavigationController, animationControllerFor operation: UINavigationControllerOperation, from fromVC: UIViewController, to toVC: UIViewController) -> UIViewControllerAnimatedTransitioning? {
        return Hero.shared.navigationController(navigationController, animationControllerFor:operation, from:fromVC)
    }

    func navigationController(_ navigationController: UINavigationController, interactionControllerFor animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? {
        return Hero.shared.navigationController(navigationController, interactionControllerFor:animationController)
    }
}

Hero.shared is not avaliable on cocoapods and carthage yet. The current master contains a major API change. Will wait a few day before releasing the next version. In the mean time, you can use
pod "Hero", :git => 'https://github.com/lkzhao/Hero.git'

I had to add nav.transitioningDelegate = Hero.shared instead of setting isHeroEnabled.
It turns out those two delegate methods are not being called at all. (even with setting isHeroEnabled) - is that expected?

Oh. I guess I didn't understand your question clearly.
Yes, for the modal presentation you only have to set 'transitionDelegate'. Hero also sets the navigation controller's delegate for animating navigation controller's child view controllers. If you don't need that functionality then it is ok to just set the 'transitionDelegate'


Busting Cached Markdown

I noticed that updating tags on a post in Ghost (not sure if this applies to all metadata, but probably) won't invalidate the cache when netlify builds. Hope that makes sense. Basically, if I go to Ghost and update the tags on a post, which triggers a Netlify Build—the Netlify won't replaced the cached markdown, with what should be new markdown coming from ghost with the updated tags.
At least that seems to be how it's working when running netlify build locally. If I change text in the body of the post—things work as I'd expect.

Are you removing / adding tags to a post? Because that's technically what a post update should be. The cache is busted when there's a new updated_at value so I'm surprised this doesn't qualify. We may need to investigate this up the chain and ask someone at Ghost for why this is the case

Going to close this issue and will reopen it if it's still a problem. I'm hoping that Ghost fixed this at their end


Add dismiss function for dismissing the currently active Snackbar, if any

Hi, thanks for this awesome module!  I wanted to be able to dismiss any open Snackbars when I navigate to a different screen in my app, so I added a dismiss function to the Java module and JS component.

You rock! Released with the other pull as 0.0.4

Awesome, thank you @pedro!


Make test.Bridge and packetio.Buffer compatible with net.Conn

Part of #57
Related to https://github.com/pion/dtls/pull/208
dtls.Conn now supports SetRead/WriteDeadline if underlying Conn supports them.
I would also like to move webrtc/internal/mux, which internally use packetio.Buffer, to this package and add support of SetRead/WriteDeadline.
deadline package is temporary duplicated with dtls package. I think pion/transport is a better place for deadline package.

@enobufs please take a look when you have time.

Merging for now to proceed https://github.com/pion/dtls/pull/226.
Please add comments if any.

Great feature! Sorry for late!


Crashes on load with unknown ng-template error

I had to hack out this section in the source. Am I missing something?
      <ng-template [ngIf]="option.isLabel">
        {{ option.name }}
      </ng-template>

It's because the latest version is depending on angular 4.x, I will make it angular 2.x compatible again in the next release.


Lack of undervoltage calculation

Looking for 1V1 output voltage with 0.6V reverence, the closest resutl was ~1.13V and it was increasing. There were no values <1.1V as well as the perfect solution Rtop=10k, Rbot=12k.
I found the proper divider by changing the target voltage to 1V.

Thank you for detecting this issue. The error is fixed in commit 0341c08.


Reintroduce -nostdinc for all system except macOS

macOS won't have -nostdinc until we support properly framework search
path discovery.
Context
Fixes https://github.com/gradle/gradle-native/issues/925
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

expect or except?

@pzygielo except. For all platforms except for macOS, we want to restrict the include path used by the compiler to the set that Gradle knows about.  We need to do a little more work to get this to work on macOS (to support Frameworks).


fix: PaC build

Fixed the issues where PaC configuration failed under unprivileged user.

fix: Pipelines as Code setup failure under unprivileged user

The Integration Test (ubuntu-latest) test failed several times because of low disk space. I don't think it's related to this PR.
@dsimansk please override it

/override Integration Test (ubuntu-latest)

/override "Integration Test (ubuntu-latest)"


[BUG]: Invalid table name when attaching schema name to it in getTableUniqueName

What version of drizzle-orm are you using?
0.31.4
What version of drizzle-kit are you using?
0.22.8
Describe the Bug
I get this error  PostgresError: relation "public.<table_name>" does not exist
and I think it's because the table name should be "public"."<table_name>" and not "public.<table_name>".
seems like the getTableUniqueName is producing this problem
Expected behavior
No response
Environment & setup
No response

thanks, fixing it asap

@KevinShio-Quan can you show a query where it's failing? Maybe some code repro example?

Hello, sorry for the later response.
seems like the problem still exists, since there is another issue created for this:
https://github.com/drizzle-team/drizzle-orm/issues/2637

@AndriiSherman hi, I have created a small code example, mentioned here https://github.com/drizzle-team/drizzle-orm/issues/2637


diffoscope: 179 -> 180

Motivation for this change
ChangeLog: https://diffoscope.org/news/diffoscope-180-released/
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 132918 at a35341af run on x86_64-linux 1

2 packages built successfully:

diffoscope
diffoscopeMinimal

1 suggestion:

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/tools/misc/diffoscope/default.nix:22:5:
   |
22 |     ./ignore_links.patch
   |     ^


omnibus: minor env cleanup

What does this PR do?
Remove a few environment variables from the agent build env.
Motivation
Those variables serve no purpose so we can declutter the env a bit
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Input an array of (50385, ) where each is an array of (x, 127) into MLP)

I want to input a numpy 2d array into MLP but I have an array of 50395 rows that contains many 2d array of shape (x, 129). x because some matrices have different row numbers. Here is an example :
train['spec'].shape
>>(50395,)
train['spec'][0].shape
>>(41, 129)
train['spec'][5].shape
>>(71, 129)

Here an snippet of my code :
X_train = train['spec'].values;     X_valid = valid['spec'].values
y_train = train['label'].values;    y_valid = valid['label'].values
model.add(Dense(12, input_shape=(50395, ), activation='relu'));
model.fit(X_train, y_train, validation_data=(X_valid, y_valid), epochs=500, batch_size=1);

I get this error on last line (model.fit) :
ValueError: Error when checking input: expected dense_54_input to have shape (50395,) but got array with shape (1,)
How to fix this problem so that the network can take as input all 50395 matrices of shape (x, 129)?

try to reshape the array and also try to change number 12 of dense layer and modify them try if that work. Another thing I guess you should enter flatten there and it may work

try to reshape the array and also try to change number 12 of dense layer and modify them try if that work. Another thing I guess you should enter flatten there and it may work

try to reshape the array and also try to change number 12 of dense layer and modify them try if that work. Another thing I guess you should enter flatten there and it may work

Yes @Rahul-132. I reshape the array but I do face at new  error. Where is my code now :
``
labels = [‘yes’, ‘no’, ‘up’, ‘down’, ‘left’,’right’, ‘on’, ‘off’, ‘stop’, ‘go’, unknow]
X_train = list(train['spec']);
y_train = train['label'].values;
encoder = LabelEncoder();
encoder.fit(y_train);
encoded_y_train = encoder.transform(y_train);
dummy_y_train = to_categorical(encoded_y_train);
model = Sequential()
model.add(Dense(8, input_shape=(50395, 71, 129), activation='relu'));
model.add(Dense(8, activation='relu'));
model.add(Dense(11, activation='sigmoid'));
model.compile(loss='categorical_crossentropy', optimizer='sgd', metrics=['accuracy']);
Fit model
model.fit(np.array(X_train), dummy_y_train, epochs=50, batch_size=1);
``
And now, I get this error :
ValueError: A target array with shape (50395, 11) was passed for an output of shape (None, 71, 11) while using as loss categorical_crossentropy. This loss expects targets to have the same shape as the output.
Please, how I can fixe them ?

try to reshape the array and also try to change number 12 of dense layer and modify them try if that work. Another thing I guess you should enter flatten there and it may work

Yes @Rahul-132. I reshape the array but I do face at new  error. Where is my code now :
``
labels = [‘yes’, ‘no’, ‘up’, ‘down’, ‘left’,’right’, ‘on’, ‘off’, ‘stop’, ‘go’, unknow]
X_train = list(train['spec']);
y_train = train['label'].values;
encoder = LabelEncoder();
encoder.fit(y_train);
encoded_y_train = encoder.transform(y_train);
dummy_y_train = to_categorical(encoded_y_train);
model = Sequential()
model.add(Dense(8, input_shape=(50395, 71, 129), activation='relu'));
model.add(Dense(8, activation='relu'));
model.add(Dense(11, activation='sigmoid'));
model.compile(loss='categorical_crossentropy', optimizer='sgd', metrics=['accuracy']);
Fit model
model.fit(np.array(X_train), dummy_y_train, epochs=50, batch_size=1);
``
And now, I get this error :
ValueError: A target array with shape (50395, 11) was passed for an output of shape (None, 71, 11) while using as loss categorical_crossentropy. This loss expects targets to have the same shape as the output.
Please, how I can fixe them ?

model.add(Flatten())
model.output_shape
do this in the last layer this might help to fit

model.add(Flatten())
model.output_shape
do this in the last layer this might help to fit

if not can you provide the data set or array

if not can you provide the data set or array

if not can you provide the data set or array

I use this dataset: Speech Command Dataset
I removed the silence in all my audio then I transformed the result into array using the function scipy.signal.spectrogram (...).
After transformation, I ended up with a two-dimensional array for each audio where, all the array had the same number of columns (129) but different rows (some matrices had 20 rows, others 50, others 28 , etc).
So that all the array have the same number of rows, I first got the matrix that had the highest number of rows (71 rows) and then I completed the other array with rows filled with 0's. end of the process, all array have shape (71, 129).
`train_df.sample(5)

              label	   spec

    4848	unknown	   [[0.15134239, -0.2616245, -0.7671668, -0.46412...
    58112	up	           [[-1.2584903, -2.3514917, -2.077282, -1.820599...
    62298	yes	           [[-0.7747345, 0.49947095, -0.3060484, -2.01911...
    61883	yes	           [[0.3465101, -0.008627839, -0.14907381, 0.0984...
    39726	right	           [[-0.10674563, 0.9989633, 0.5195742, -0.032281...`

train_df.iloc[25000] label                                                  off spec     [[-0.7718518, -0.05070683, -0.63815033, -0.513... Name: 31984, dtype: object
train_df['spec'][2500] array([[ 0.6734798 ,  0.3073784 ,  0.61223936, ...,  1.0119904 ,          0.8119934 ,  0.43300468],        [ 0.2315741 ,  0.35808802,  1.2006477 , ...,  1.0028452 ,          0.75628084,  0.8467174 ],        [-2.3041399 ,  1.3576472 ,  1.2938004 , ...,  0.66340053,         -0.7343602 ,  0.57536685],        ...,        [ 0.        ,  0.        ,  0.        , ...,  0.        ,          0.        ,  0.        ],        [ 0.        ,  0.        ,  0.        , ...,  0.        ,          0.        ,  0.        ],        [ 0.        ,  0.        ,  0.        , ...,  0.        ,          0.        ,  0.        ]], dtype=float32)
Here is where I am!

if not can you provide the data set or array

I use this dataset: Speech Command Dataset
I removed the silence in all my audio then I transformed the result into array using the function scipy.signal.spectrogram (...).
After transformation, I ended up with a two-dimensional array for each audio where, all the array had the same number of columns (129) but different rows (some matrices had 20 rows, others 50, others 28 , etc).
So that all the array have the same number of rows, I first got the matrix that had the highest number of rows (71 rows) and then I completed the other array with rows filled with 0's. end of the process, all array have shape (71, 129).
`train_df.sample(5)

              label	   spec

    4848	unknown	   [[0.15134239, -0.2616245, -0.7671668, -0.46412...
    58112	up	           [[-1.2584903, -2.3514917, -2.077282, -1.820599...
    62298	yes	           [[-0.7747345, 0.49947095, -0.3060484, -2.01911...
    61883	yes	           [[0.3465101, -0.008627839, -0.14907381, 0.0984...
    39726	right	           [[-0.10674563, 0.9989633, 0.5195742, -0.032281...`

train_df.iloc[25000] label                                                  off spec     [[-0.7718518, -0.05070683, -0.63815033, -0.513... Name: 31984, dtype: object
train_df['spec'][2500] array([[ 0.6734798 ,  0.3073784 ,  0.61223936, ...,  1.0119904 ,          0.8119934 ,  0.43300468],        [ 0.2315741 ,  0.35808802,  1.2006477 , ...,  1.0028452 ,          0.75628084,  0.8467174 ],        [-2.3041399 ,  1.3576472 ,  1.2938004 , ...,  0.66340053,         -0.7343602 ,  0.57536685],        ...,        [ 0.        ,  0.        ,  0.        , ...,  0.        ,          0.        ,  0.        ],        [ 0.        ,  0.        ,  0.        , ...,  0.        ,          0.        ,  0.        ],        [ 0.        ,  0.        ,  0.        , ...,  0.        ,          0.        ,  0.        ]], dtype=float32)
Here is where I am!

model.add(Flatten())
model.output_shape
do this in the last layer this might help to fit

Thank you @Rahul-132! It's work!

model.add(Flatten())
model.output_shape
do this in the last layer this might help to fit

Thank you @Rahul-132! It's work!


Terms of fiscal sponsorship missing from host page

Describe the bug
There used to be a link to the host terms of fiscal sponsorship near the top of the page, but it's disappeared.

@alanna The link has not disappeared from the code (https://github.com/opencollective/opencollective-frontend/blob/7a19d5e85e765c3f333fadc7888b6fc2ad84c501/components/ApplyToHostBtn.js#L47), however it seems that there's no tos link in OSC's settings. Can you provide the link where this should go so I can add it to the config?

OK this is a bug then. The terms of fiscal sponsorship have been set for OSC for a very long time, and have not changed. Can you please investigate how and when it got deleted? This is pretty concerning because we require new Collectives to agree to these terms and we don't know how long they haven't been linked. What happens when they get to the screen where they have to tick the box to agree to them? Is it linked there?
I just tried to test this, but I can't actually get the system to let me apply to OSC. I have an unhosted Collective (test collective) but when I go to the OSC host page, it says "Apply to create a collective" instead of "Apply with your Collective, test collective". I tried creating a brand new Collective to test it, but I got stuck in an endless loop: Apply to create collective > create it > get to host selection screen > choose OSC > see again the button that says "apply to create collective".
After all that I went ahead and re-added the terms URL in the OSC host settings.

Seems that it was removed from the settings on 2019-07-18 05:55:05

What happens when they get to the screen where they have to tick the box to agree to them? Is it linked there?

Yes

OK this is a bug then.

I don't exclude the possibility of a bug in the edit collective form, but I'll need steps to reproduce if we want to tackle that. I just tried locally and the field seems to react normally.
Another possibility is that someone mistakenly removed it.

OK I guess this will be a mystery for now. If it happens again, we need to track down what's causing it, as this could put OSC in a questionable legal position if the terms are not linked.
I raised #2281 to deal with the other problem.

The same thing happened to Open Collective Foundation!
I was editing the org description and I noticed the terms link box was empty. It was definitely linked before and somehow disappeared. I'm 100% sure I didn't delete it and I seriously doubt anyone else has been editing that org.
I know this is really hard to troubleshoot but I really think there's a glitch going on.

I did some more investigation and finally found the root cause. Pushing a fix right now.
I'm also adding this to #2253 because it is directly linked to the way edit collective is implemented.