Add printscreen as a special key mapping  for 44

Add printscreen as a special key mapping  for 44

Pull Request Test Coverage Report for Build 796

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

Totals

Change from base Build 731:
0.0%

Covered Lines:
191

Relevant Lines:
211

💛  - Coveralls

Codecov Report

Merging #229 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #229   +/-   ##
=======================================
  Coverage   90.52%   90.52%
=======================================
  Files           1        1
  Lines         211      211
=======================================
  Hits          191      191
  Misses         20       20

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 e6ac5c9...e6781e5. Read the comment docs.

@ifdion It is not a standard key code? macOS keyCode=124, windows  keyCode=44,  Linux keyCode=42

KeyboardEvent.code
Internet Explorer 11
Google Chrome 34
Chromium 34
Safari 7
Gecko 29

Windows
Windows
Mac (10.9)
Linux (Ubuntu 14.04)
Mac (10.9)
Windows
Mac (10.9)
Linux (Ubuntu 14.04)

"PrintScreen"
0x2C (44) *4
0x2C (44) *4
0x7C (124)*5
0x2A (42)
0x7C (124)*5
0x2C (44) *4
0x2C (44)
0x2A (42)

@jaywcjlove You're right. Should we check the the value on the user agent as you did on isff?

@ifdion I wonder if there is a better way to achieve it?


test

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

/test all

/test all

/test all


Ignore mode of introduction (M/I)

Does not seem to contain more useful information (Deliberate / Accidental) than V/I, so we'll ignore this in the mapping.
@qgroom is that correct?

yes, that's fine

Please discuss with Filip if it's actually worth keeping M/I. Doesn'tV/I (Food refuse, Hort.) already imply accidental vs deliberate?

We will ignore this column and rely on V/I

we need to cross check first whether there are any non-release/escape pathways listed as accidental and vice versa

I quickly inspected the mapped data, and I think that we should include the information included in m_i after all. An example of our mapping of ``v_iinto pathway information, with extra information ofm_i`:

m_i
v_i
cbd_standard

D
Birdseed
contaminant_seed

A/D
Hort., timber?
contaminant_timber

The CBD category contaminant is associated with unintentional release (see Saul et  al.). Based on this information, we should think that the mode of introduction was accidental. However, the raw dataset specifies that it could also be an deliberate introduction. We are thus missing some information, although these cases are rather rare.
@timadriaens ?

This is the agreed framework of Harrower et al. on deliberate versus accidental introductions linked to the CBD pathway classification, which we also use for the TrIAS pathway indicators:

Of course, this is very crude and so MAP has more detailed information. M/I also contains a value "H": this refers to hybrids and does not say anything about intentionality actually unless the hybrid is of cultivated origin. So it is a bit of a mess actually with different kinds of information in there.
I suggest we keep this in the checklist but not for the unified (there, we base entirely on v_i) @LienReyserhove ?

My preference on this would be to get Filip to adopt the CBD pathway categories, but I don't know if he would be up for it.

Indeed, or he can keep working like he's used to but include a mapped field himself. Also, it would be good if he could keep the regional information on introduction dates etc. We might have a jobber this summer who could do that for the current MAP version so that we can provide him with that.


Cache transactions

Pull Request Test Coverage Report for Build 771381869

1 of 251 (0.4%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.6%) to 24.945%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

services/indexes/avax/reader.go
0
3
0.0%

services/indexes/params/collections.go
0
12
0.0%

services/indexes/avax/reader_list_txs.go
1
73
1.37%

services/indexes/avax/reader_aggregate_processor.go
0
163
0.0%

Files with Coverage Reduction
New Missed Lines
%

services/indexes/avax/reader_aggregate_processor.go
1
0.72%

Totals

Change from base Build 767813265:
-0.6%

Covered Lines:
1804

Relevant Lines:
7232

💛  - Coveralls


Improvements on tasklist isolation

What changed?

Increase the look-back window for getting poller isolation groups
Update task reader to not set timeout when dispatching async tasks
Add debug log for getting isolation group for tasks

Why?

Reduce the probability of task leak for the root partition of scalable tasklists
Prevent task leak for non-root partition of scalable tasklists
Improve debugging experience for task leak
Improve efficiency for async task dispatch in passive cluster

How did you test it?
tested in dev environment

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 01882c52-8952-46c7-8a6b-6d2d2a922d27

12 of 24 (50.0%)  changed or added relevant lines in 3 files are covered.
30 unchanged lines in 8 files lost coverage.
Overall coverage increased (+0.1%) to 57.422%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/matching/taskReader.go
8
11
72.73%

common/log/tag/tags.go
0
9
0.0%

Files with Coverage Reduction
New Missed Lines
%

common/peerprovider/ringpopprovider/config.go
2
81.58%

common/persistence/sql/common.go
2
50.65%

common/persistence/sql/sqlplugin/mysql/db.go
2
83.33%

common/persistence/sql/sqlplugin/postgres/db.go
2
85.0%

common/task/fifoTaskScheduler.go
2
87.63%

service/history/task/transfer_standby_task_executor.go
2
87.76%

service/matching/taskListManager.go
3
82.98%

service/history/execution/mutable_state_task_refresher.go
15
62.03%

Totals

Change from base Build 0188213d-51c6-49cd-b12b-eb555da0ec0b:
0.1%

Covered Lines:
87212

Relevant Lines:
151879

💛  - Coveralls


Add PSO logo

"Official" PSO logo

@Pure-AdamuKaapan you should be able to do  a View from the PR to see it

Ah yep, I went to your branch and it worked fine.


Gantt progress improvements

tried to fix #1186 with colored indicator of progress

Ok, but you also changed the way to calculate the progress percentage.

@fguillot maybe there could be an option to switch the two behaviour?

I merged partially your pull-request to change the bar color based on progress. I will see later how to add an option to choose the progress calculation.


Funding 2021: Proposal for APW

Please react to this comment to vote on this proposal (:+1:, :-1:, or no reaction for +0)

Congratulations @adrn!  This proposal has the support of the Astropy Community and has been awarded $18,000 to implement.  This PR will be merged, and you can contact<EMAIL_ADDRESS>or reach out on Slack to arrange financial details (see more details in the email to astropy-dev).


Add endpoint to unsubscribe all users from a list

We're going to use this with the single-page notifications feature to
alert a user when a page is removed or redirected, and remove their
now-dead current subscription.
I went back and forth on the naming for this a bit.  I originally used
"destroy", but actually we're not destroying the list here, we're just
unsubscribing everyone and (optionally) sending an email.  We could
destroy the list, but there isn't really any need to, as it'll be
cleared out by the HistoricDataDeletionWorker - and in fact I'm wary
of adding a new way of deleting data when there is already an
established pattern people may expect to hold.
So I went for "bulk-unsubscribe" instead.
If a message body is given, a sender_message_id is also required.
This is to ensure we don't send multiple unsubscribe emails if the
same publishing event is processed twice (this matches the behaviour
of content changes).  But the sender_message_id has to be a UUID.
To generate this UUID, generate a v5 UUID with:

namespace: content_id
name: public_updated_at

ActiveSupport has a helpful Digest::UUID.uuid_v5 method to do this.

Trello card

Looks good, pending: https://github.com/alphagov/email-alert-api/pull/1696

Pushed two fixup commits where I've:

Made it return a 202 (rather than a 204), to match the messages endpoint
Rearranged the tests slightly so that message creation is tested regardless of whether or not there's a user
Added the missing GET /subscriber-lists/xxx endpoint to the docs
Added our new endpoint to the docs


Unwind error if the Coroutine::yield_with is inlined

Now we can only add #[inline(never)] on the Coroutine::yield_with method.
You can reproduce it anytime by replacing it with #[inline(always)], and then call cargo test --release, you will see the coroutine_unwinds_on_drop test will fail.
$ cargo test --release
...
test coroutine::test::coroutine_unwinds_on_drop ... FAILED
...

failures:

---- coroutine::test::coroutine_unwinds_on_drop stdout ----
	thread 'coroutine::test::coroutine_unwinds_on_drop' panicked at 'assertion failed: `(left == right)` (left: `0`, right: `1`)', src/coroutine.rs:593
note: Run with `RUST_BACKTRACE=1` for a backtrace.

failures:
    coroutine::test::coroutine_unwinds_on_drop

test result: FAILED. 26 passed; 1 failed; 0 ignored; 0 measured

error: test failed

We really should keep this issue open until we've found the reason.
It's not that bad that this method can't be inlined safely but it still annoys me to no end... The only thing that comes to my mind as a plausible reason though, is that Rust's (or LLVM's) ABI does something funky somewhere which Boost.Context does not know and thus something isn't carried over correctly. For instance some kind of stack frame pointer which isn't updated every time because LLVM viewed it as unnecessary.

coroutine_unwind causes undefined behavior by unwinding through extern "C"
Proposed:
Check a flag after context.resume returns and start unwinding there.
Small performance hit, need to keep the flag in the Coroutine and check it on every switch, but it should allow inlining.
I'll try to get it working and PR later today.

Hmm, I think it doesn't require a flag in Coroutine. You can make use of the data field in the Transport.

Proof-of-concept in PR
I'll try to figure out passing through data.

Hey @glasswings! If you intend to stick with this project for a while I can offer you to give you a quick introduction into how coio works and answer all your questions. You can ping me at my mail address if you want to and if you're comfortable with voice chat, because typing everything down would take ages. :smile:


fix path to header files to install.

The header path has changed from sratom/*.h to include/sratom/*.h, so installation path should follow that.

Whoops.  Second time I've done that :disappointed:
Merged as 6677a42, thanks.


Added Weekend Tabs

Summary
Map will now display Menu Tabs for Sat/Sun & associated markers when there are weekend courses in your calendar.

Test Plan
Checked that functionality works swapping between schedules and when removing the weekend course
Issues
Closes #588

Instead of doing the filter on days here can you move the variable to be initialized after hasWeekendCourse?

Wasn't 100% sure how you wanted it done, but it should be fine now :D

see the two comments I added on one of the threads then re-request

donezo :)


Create user journeys

Overview
Create user journeys for these workflows:

Add files
Explore the tabular data
Edit data: delete, copy, paste etc
Save changes
Publish

User journeys for the ADD functionality has now been created. @Faithkenny is reviewing this from the UX side of the ODE. We will post user journeys here once information is validated.

ODE function
Step #
Tasks / Instructions

Adding a file
1
Open the ODE

Adding a file
2
Click ADD

Adding a file
3
Dialog box to select file

Adding a file
4
Data loads successfully

Adding a file
5
The ODE assess data and produces and error reports

Adding a file
6
If the the file is not a tabular file, the ODE displays this message on the main screen: "Preview is not available for this file format (TYPE FORMAT)"

Adding a remote file
1
Open the ODE

Adding a remote file
2
Click ADD--Remote file

Adding a remote file
3
Dialog box to paste the URL

Adding a remote file
4
https://raw.githubusercontent.com/frictionlessdata/frictionless-py/main/data/capitals.csv

Adding a remote file
4
https://catalogodatos.gub.uy/dataset/ministerio-de-turismo-turismo-receptivo

Adding a remote file
4
https://docs.google.com/spreadsheets/d/1dFVoF6f9VU5pjaGhyyvQaBN0n6ae-iLCtlvsO1N2jhA/edit?usp=sharing

Adding a remote file
5
Data loads successfully

Adding a remote file
5
The ODE assess data and produces and error reports

Adding a remote file

Adding a problematic URL (partial URL, for example)

Adding a remote file
1
Open the ODE

Adding a remote file
2
Click ADD--Remote file

Adding a remote file
3
Dialog box to paste the URL

Adding a remote file
4
https://docs.google.com/spreadsheets/d/1dFVoF6f9VU5pjaGhyyvQaBN0n6ae-iLCtlvsO1N/edit

Adding a remote file
4
https://docs.google.com/spreadsheets/d/1dFVoF6f9VU5pjaGhyyvQaBN0n6ae-iLCtlvsO1N2jhA/edit?usp=sharing

Adding a remote file
5
The ODE displays this message: "Enter a valid URL"

Adding a folder
1
Open the ODE

Adding a folder
2
Click ADD--Remote file

Adding a folder
3
Select the local folder

Adding a folder
4
Data loads successfully

Exploring data
1
Open the ODE

Exploring data
2
Upload file/remote file/folder

Exploring data
3
Data loads successfully

Exploring data
4
In the datagrid, click on the icon next to the name of any of the columns

Exploring data
5
Click Sort descending

Exploring data
6
Click Sort descending

Exploring data
7
Click Unsort

Exploring data
8
Click Column to unselect columns

Exploring data
9
Click Hide to hide a column

Exploring data
10
Click Show (after hiding a column)

Exploring data
11
Click on the search engine to search for key terms in the data

Correcting / Editing cells

Making changes in the datagrid respecting the data format in the column

Correcting / Editing cells
1
Double clicks to edit a cell

Correcting / Editing cells
2
Update content

Correcting / Editing cells
3
Click SAVE

Correcting / Editing cells
4
ODE reasses data and save changes

Correcting / Editing cells

Making hanges in the datagrid against data format in the column

Correcting / Editing cells
1
Double clicks to edit a cell

Correcting / Editing cells
2
Update content

Correcting / Editing cells
3
Click SAVE

Correcting / Editing cells
4
ODE reasses data

Correcting / Editing cells
5
The errors reports is updated

Correcting / Editing cells
6
Higlights the cell in TBC color

Undoing changes when editing cells
1
Double clicks to edit a cell

Undoing changes when editing cells
2
Update content

Undoing changes when editing cells
3
Click on Undo to revert changes

Undoing changes when editing cells
4
Click SAVE to save all changes

Redoing changes when editing cells
1
Double clicks to edit a cell

Redoing changes when editing cells
2
Update content

Redoing changes when editing cells
3
Click on Undo to revert changes

Redoing changes when editing cells
4
Click Redo

Redoing changes when editing cells
5
Click SAVE to save all changes


Highlight text token if available

Since reek does not return column numbers, the best we can do for now is parse the smell messages and highlight the referenced tokens.
Before:

After:

I also changed the cmd property for no particular reason, but I can revert that if it doesn't make sense.

Looks great! Thank's for the contribution, that's super cool!

Thank you for this awesome package 😄


fix(calendar): Fix Schedule error when no events

Since actual track instances (like "General", etc) are computed from the available appointments, the scheduler can't form groups if there are no appointments available because it never expects there to be no instances of a group when a group is specified. In reality, this is a bug in the scheduler component itself, and should be fixed a different way, perhaps by patching React Scheduler itself, but this will fix it for now by not attempting to render groupings when there are no groupings available.
fixes #191

still breaking dude...

Yeah I'm very dumb but this will fix it for now, with minimal changes.


Updating workflow json templates; adding working PY3 templates

Fixes #10654
Status
In development
Description
Another run at our json workflow templates. Changes are so far:

ReRecoSkim removed, since it relies on slc5_* scramArch, which is no longer supported by the WM system/cmssw-wm-tools
TaskChain Python3 from scratch and without pileup (using CMSSW_12_0_0_pre6)
TaskChain Python3 with input and pileup data (using CMSSW_12_0_0_pre6)
StepChain Python3 with input and pileup data (using CMSSW_12_0_0_pre6)

Is it backward compatible (if not, which system it affects?)
YES
Related PRs
None
External dependencies / deployment changes
None

The following requests are using an input dataset that is no longer available in the storage (maybe invalidated):
2021-09-15 02:04:51,547:ERROR:PycurlRucio: Failure in getBlocksAndSizeRucio function for container /RelValTTbar_14TeV/CMSSW_12_0_0_pre4-PU_120X_mcRun3_2021_realistic_v2-v1/GEN-SIM-DIGI-RAW. Response: {'url': 'http://cms-rucio.cern.ch/dids/cms/dids/search?type=dataset&long=True&name=/RelValTTbar_14TeV/CMSSW_12_0_0_pre4-PU_120X_mcRun3_2021_realistic_v2-v1/GEN-SIM-DIGI-RAW%23%2A', 'data': '', 'headers': 'HTTP/1.1 200 OK\r\nServer: nginx/1.17.10\r\nDate: Wed, 15 Sep 2021 00:04:51 GMT\r\nContent-Type: application/x-json-stream\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nAccess-Control-Allow-Origin: None\r\nAccess-Control-Allow-Headers: None\r\nAccess-Control-Allow-Methods: *\r\nAccess-Control-Allow-Credentials: true\r\nCache-Control: no-cache, no-store, max-age=0, must-revalidate, post-check=0, pre-check=0\r\nPragma: no-cache\r\nX-Rucio-Host: cms-rucio.cern.ch\r\n\r\n'}
2021-09-15 02:04:51,548:WARNING:RequestInfo: Removing workflow that failed processing in MSTransferor: amaltaro_SC_PY3_PURecyc_Sept2021_Val_210914_214038_4739
2021-09-15 02:04:51,548:WARNING:RequestInfo: Removing workflow that failed processing in MSTransferor: amaltaro_TC_PY3_TTbarPU_Sept2021_Val_210914_214047_4235

I am pushing in two replacements for them.


Security group policy failing

Policy Template Name
[This name of the policy template having an issue]
Issue Type
[Bug -or- Feature Request -or- New Policy Template Request]
Use Case (Feature Request -or- New Policy Template Request Only)
[Describe the use case for this feature request or new policy template request]
Policy Template version (Bug Only)
[Version of Policy Template in use, this can be found in the long_description]
Code Snippet (Bug Only)
[Please provide any relevant code snippets (ie. datasource,escalation,policy, RCL, etc.) as it relates to the bug]
Error Messages (Bug Only)
[Provide any error messages returned (if applicable)]

Fixed in #34


Help with script-loader and using in webpack config / es2015 imports ?

Hi,
I found the script-loader and got it working using the example given using require. I am actually using a webpack.config and ES2015
Can anyone confirm if I can use this with

ES 2015 imports and how to do this?

Using webpack.config and adding it to the loaders sections

There seems to be little documentation.
Its worth noting that i am using multiple script-loaders currently like so (using the nodejs require syntax)
require("script-loader!../lib/packer.js");
require("script-loader!../lib/decompress.js");
require("script-loader!../lib/consol.js");
An example for the 2 ways of doing this above would really helpful.
Thanks in advance

@appsolutegeek
file.js
require('path/to/script.exec.js')

webpack.config.js
{
   test: /\.exec\.js$/,
   use: [ { loader: 'script-loader' } ]
}


dim_names, coord_names, var_names, attr_names convenience functions

It'd be nice to have some convenience functions for easy outout of dim/coord/variable/attr names, eg:
ds.dim_names() == list(ds.dims.keys())
ds.coord_names() == list(ds.coords.keys())
ds.var_names() == list(ds.vars.keys())
ds.attr_names() == list(ds.attrs.keys())

just for reading/writing sanity.

All of these are dictionaries (on Dataset objects), so you can simply write list(ds.dims) or ds.dims.keys() if you want to be more explicit. That's not any more characters than ds.dim_names(), so I'm not sure if there's much of an advantage to it.

Dataset currently has around 100 attributes. It would be nice to keep this manageable.

Fair enough, I wasn't aware list(ds.dims) worked..
.keys() returns a keys though, not a list:
In [4]: ds.dims.keys()
Out[4]: KeysView(Frozen(SortedKeysDict({'time': 70128, 'z': 1, 'x': 1, 'y': 1})))

In [5]: ds.dims.keys()[0]
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-5-874ed46e2639> in <module>()
----> 1 ds.dims.keys()[0]

TypeError: 'KeysView' object does not support indexing


feat(protocol): bridge L1 TKO to L2 ethers

If we want to launch a network with TKO as gas fee, i think what we only need to do is modifying:

current bridge contracts (need to take care about decimals) / bridge UI
TaikoL1.depositEtherToL2 method

And there is no need to change anything in client / node, opened this issue for discussion.

This is something we can do easier now as Taiko token's decimals is now 18, not 8 any more. Lets put this feature on hold and maybe launch an alpha-6 with it


Bump to 1.0.4-1.6

This is resolved via https://github.com/hortonworks-spark/spark-llap/commit/1f1cb551f215faf53121ba5f661de1c61c6c13b3


v4.1.0 beta 4, safari V13 bug (more infos)

My project and playground run on Safari v12 but not on v13

thanks

Could you send as well the error you are seeing in the console ?

and do you have any experimental features turned on ?
As their name implies they do not work all the time like the WebGL2 ones. It is still not fully compliant.

I am actually on Safari 13 as well without the issue so I guess you have some special features turned on ?

closing for now as I guess it is related to your env and not a general issue. Tried on 3 different Macs.
Do not hesitate to continue on this thread even closed, I will monitor it to try to unlock you.  I do not want everybody thinking that the full Safari does not work. Or we can continue the discussion on the forum if it is easier.

Ok got it,
If i disable Webgl v2 experimental feature, everything work great.

Yup it is still not fully compliant on their side so nothing we can really do at the moment.


 Bundle them all together.
Bump the cache key since this changes a lot of packages.

Validating with check-pr.

Codecov Report

Merging #3400 (dd99d8c) into main (a364051) will decrease coverage by 3.28%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3400      +/-   ##
==========================================
- Coverage   34.23%   30.96%   -3.28%
==========================================
  Files         297      133     -164
  Lines       36366    14378   -21988
==========================================
- Hits        12451     4452    -7999
+ Misses      23915     9926   -13989

see 164 files with indirect coverage changes

check-pr looks clean


Store patches in the npz file.

vertex-patch assignment is stored as a "patch" attribute on the surfaces, and can be loaded from the npz output
Surfaces will also be colored if they are not written to ply (can still be retrieved from the npz). This simplifies the logic somewhat.
Fixes a bug by calling msms in Angstrom units and then converting back.

This can be used to assign hydrophobic patches to residues as follows:
#!/bin/bash

pep_patch_hydrophobic input.parm7 input.rst7 --out out.npz --potential --patches --scale crippen --ply_out out.ply

python << EOF
import pandas as pd
import numpy as np
from surface_analyses.surface import surfaces_from_dict

with np.load("out.npz") as npz:
    print(list(npz))
    surfs = surfaces_from_dict(npz, "hydrophobic_potential")
    closest_atom = surfs[0]["atom"]
    patch = surfs[0]["patch"]
    patch0 = np.flatnonzero(patch == 0)
    patch0_atoms = set(closest_atom[patch0])
    print("Atoms in patch 1:", patch0_atoms)
EOF


ARROW-2286: [C++/Python] Allow subscripting pyarrow.lib.StructValue

Thanks @kszucs. Can you rebase to fix the CI failures?

@pitrou rebase done, but the builds are still failing

Ok, so the Travis-CI failure is unrelated (we are getting npm errors intermittently: see ARROW-2509).
However, the Windows compile errors are probably caused by this PR. I'll point out the issue in a comment.


Digits - WIndows

Am facing with the syntax error:
C:\DIGITS>python digits-devserver
File "digits-devserver", line 6
python2 -m digits $@
^
SyntaxError: invalid syntax

Right, that's a bash script - not a python script:
https://github.com/NVIDIA/DIGITS/blob/v5.0.0/digits-devserver#L1
Look at the contents of the script. You want something like this instead:
python -m digits

Why did you try that command? Do we need to update our docs somewhere?

i got this..........
C:\DIGITS>python -m digits

|   _ / | | / |
| |) | | ( || |  | | _
|/_|| || |__/ 5.1-dev
Traceback (most recent call last):
File "C:\Anaconda\lib\runpy.py", line 174, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Anaconda\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\DIGITS\digits_main.py", line 70, in
main()
File "C:\DIGITS\digits_main.py", line 53, in main
import digits.config
File "digits\config_init_.py", line 7, in
from . import (  # noqa
File "digits\config\caffe.py", line 13, in
from digits.utils import parse_version
File "digits\utils_init_.py", line 167, in
from . import constants, image, time_filters, errors, forms, routing, auth
noqa
File "digits\utils\image.py", line 15, in
import PIL.Image
ImportError: No module named PIL.Image

is digits installed  lukeyeager
?

Please follow the windows instructions that @IsaacYangSLA contributed:
https://github.com/NVIDIA/DIGITS/blob/digits-5.0/docs/BuildDigitsWindows.md

I got this:
xuelei@xuelei-Z97-HD3:~/digits$ ./digits-devserver

|   _ / | | / |
| |) | | ( || |  | | _
|/_|| || |__/ 5.1-dev
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/xuelei/digits/digits/main.py", line 70, in
main()
File "/home/xuelei/digits/digits/main.py", line 53, in main
import digits.config
File "digits/config/init.py", line 7, in
from . import (  # noqa
File "digits/config/caffe.py", line 13, in
from digits.utils import parse_version
File "digits/utils/init.py", line 167, in
from . import constants, image, time_filters, errors, forms, routing, auth  # noqa
File "digits/utils/forms.py", line 8, in
from wtforms.compat import string_types
ImportError: No module named compat

@lukeyeager Is there anything more recent information on installing Digits for Windows than the link from Aug 2016?  When you're presented with the option to install it on Windows it appears that it's a simple down load and install....

I have also received the, "No module named PIL.Image command" However, isn't PIL outdated and if using Pillow,, shouldn't it be "from PIL import Image" If still using PIL won't the import statement be just "import Image".

@satishknl I have found the fix for the no module Pil.Image. You need to use the old version of Pillow (3.1.1 or 3.1.2), not the new one.


No compatible version found<EMAIL_ADDRESS>

Not found version 3.0.2 in npm.

Forgot to npm publish in spite of tagging and everything else. Thanks for catching that!


PIRK-79

This PR is to address the notional problem that the QueryDeserializer I wrote would throw an exception if it received a request to deserialize a query which didn't have a full schema included, only a name. I realized that Pirk should be expected to handle such a circumstance, and that my code wouldn't.
Ironically, the best way of fixing this was to eliminate my custom deserializer. I realized this when I couldn't get changes to the QueryDeserializer code to affect anything. I looked closely at the JsonSerializer and realized my IDE had auto-imported the wrong "Query" (thanks, Intellij!) and so the custom class wasn't actually performing the deserialization. This...I'll be honest, it felt embarassing, and so I share it with you, to simultaneously embiggen and diffuse the embarassment.
Along the way, I did some small bug fixing and, more importantly, fleshed out SerializationTest. We now actually test serializing and deserializing Response and Querier objects (and, along the way, Query, QueryInfo, QuerySchema, and Paillier objects), for both serializers, java and json.

+1


Added cpu_load support on Windows

Added cpu_load support on Windows using Pdh. The tests fail randomly as the returned values dont always add to a number close to 1.00. nice is also unpopulated, and left as 0.
Fixes #65

Thanks!

the returned values dont always add to a number close to 1.00

Interesting.. have you looked into how other libraries do this?

I don't think any of the other rust libraries report back the cpu usage in this format, but I might be mistaken. I based this PR off of the sample code from here: https://docs.microsoft.com/en-us/windows/win32/api/pdh/nf-pdh-pdhgetformattedcounterarraya.
Also, is the CI failure a problem?

is the CI failure a problem?

No. You can see that it didn't even start, like they don't have enough machines or something. I'll remove that one.


livecheck: Add Xml strategy

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

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

This adds a generic Xml strategy to livecheck that requires a strategy block to operate. The XML-parsing code is taken from the existing approach in the Sparkle strategy. As such, Sparkle has been updated to use the Xml#parse_xml method instead.
Unlike the Json strategy, we don't currently have any strategy blocks in first-party taps that manually parse XML. However, we had a user request support for something like this and I was already working on an Xml strategy (as a way of extracting the XML-parsing code from Sparkle into something general-purpose), so here we are.
Future strategies that parse simple XML data can potentially use the Xml#find_versions method (similar to how we have strategies that leverage PageMatch#find_versions) instead of having to implement something bespoke like Sparkle.
Resolves #13991.

Besides manually testing this with example Xml strategy blocks and exercising the strategy in the related tests, I did comparative runs across all casks using the Sparkle strategy (no formulae use it) without/with these changes and the behavior remains the same as when the XML-parsing code was directly in Sparkle#items_from_content.

Review period will end on 2023-03-01 at 19:41:03 UTC.

Thanks, Sam! This should probably be good to go after livecheck/strategy/xml.rb is added above this line:
https://github.com/Homebrew/brew/blob/7c15dce285900c85476d445dcbc01418e61be37c/Library/Homebrew/.rubocop.yml#L55

Thanks, I'll have to keep that in mind. I've pushed an updated commit with the change.


[TC-500] Personnel Entity Updates

TC-0500
Objective:

personnel entity changes
notes:
personnel has some common fields that should be updated whenever bcws OR emcr makes an update
bcws/emcr personnel share some common names but must be updated independently i.e. status
bcws/emcr personnel have unique fields that should only be visible to users from their specific program

This one doesn't seem right? A bunch of changes from the other two PRs?


Draft: Bolt v2.8.0-beta.4 (With/Without Support)

Jira
(Enter a link to the Jira issue this PR applies to, if any)
Summary
(Enter a one-line summary of the changes in this PR.  This will be included in the release notes)
Details
(Explain the changes in enough detail fo reviewers to understand.  Raise any questions for reviewers to consider.)
How to test
(List clear steps to test that the changes are working)

+3.81 MB packages/with-without/img/BG_with_desktop.jpg
+1.14 MB packages/with-without/img/BG_with_mobile.jpg
+448 KB packages/with-without/img/BG_with_tablet.jpg
+3.95 MB packages/with-without/img/BG_without_desktop.jpg
+1.22 MB packages/with-without/img/BG_without_mobile.jpg
+555 KB packages/with-without/img/BG_without_tablet.jpg

^ filenames use inconsistent naming convention + aren't run through any image optimization processes.


[test] Update version of the Horovod module

@jenkins-cscs daint dom

@jenkins-cscs daint dom

Codecov Report

Merging #1689 (ea894d8) into master (1160d2d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1689   +/-   ##
=======================================
  Coverage   87.21%   87.21%
=======================================
  Files          45       45
  Lines        7546     7546
=======================================
  Hits         6581     6581
  Misses        965      965

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 1160d2d...ea894d8. Read the comment docs.

Codecov Report

Merging #1689 (ea894d8) into master (1160d2d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1689   +/-   ##
=======================================
  Coverage   87.21%   87.21%
=======================================
  Files          45       45
  Lines        7546     7546
=======================================
  Hits         6581     6581
  Misses        965      965

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 1160d2d...ea894d8. Read the comment docs.


es-demo-1 cannot pass through verification in ubuntu 16.04

With the provided make file, there are some errors with compilation. I fixed it by rearrange the order of -lssl, -lcrypto, and other output .so libs and put all these in the same line as es-demo-1 and es-demo-2 for linkage.
However, when I run es-demo-1, I an error is encountered for ECCSI validate SSK. The output said that it is "unable to set coordinate for 'P'". It happens in line 1261 of function "eccsi_validateSSK" in eccsi.c, where a function "EC_POINT_set_affine_coordaintes_GFp" is called. The function is from SSL library, I guess. Could anyone help to look into the issue?
Regards.
Haiguang Wang

Hello, I have had the same problem on ubuntu 20.04. Previously, I also solved the makefile compilation failure and repeated memory release. Is this problem finally solved?Thank you. @wanghg73 @jim-b

Yes. I have solved the makefile problem. But for the memory leakage issue,
I did not encounter any problem. Maybe because I just use it for research
instead of product.
Best regards
Haiguang
On Thu, 15 Jul 2021 at 10:01 AM, tanyin511 @.***> wrote:

Hello, I have had the same problem on ubuntu 20.04. Previously, I also
solved the makefile compilation failure and repeated memory release. Is
this problem finally solved?Thank you. @wanghg73
https://github.com/wanghg73 @jim-b https://github.com/jim-b
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jim-b/ECCSI-SAKKE/issues/2#issuecomment-880329792,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJNGTBOMBNO6OOOFLUVREBTTXY6N3ANCNFSM4FA2KYCA
.

Yes. I have solved the makefile problem. But for the memory leakage issue, I did not encounter any problem. Maybe because I just use it for research instead of product. Best regards Haiguang
…
On Thu, 15 Jul 2021 at 10:01 AM, tanyin511 @.***> wrote: Hello, I have had the same problem on ubuntu 20.04. Previously, I also solved the makefile compilation failure and repeated memory release. Is this problem finally solved?Thank you. @wanghg73 https://github.com/wanghg73 @jim-b https://github.com/jim-b — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNGTBOMBNO6OOOFLUVREBTTXY6N3ANCNFSM4FA2KYCA .

"unable to set coordinate for 'P'"

Yes. I have solved the makefile problem. But for the memory leakage issue, I did not encounter any problem. Maybe because I just use it for research instead of product. Best regards Haiguang
…
On Thu, 15 Jul 2021 at 10:01 AM, tanyin511 @.***> wrote: Hello, I have had the same problem on ubuntu 20.04. Previously, I also solved the makefile compilation failure and repeated memory release. Is this problem finally solved?Thank you. @wanghg73 https://github.com/wanghg73 @jim-b https://github.com/jim-b — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNGTBOMBNO6OOOFLUVREBTTXY6N3ANCNFSM4FA2KYCA .
"unable to set coordinate for 'P'"

Yes. I have solved the makefile problem. But for the memory leakage issue, I did not encounter any problem. Maybe because I just use it for research instead of product. Best regards Haiguang
…
On Thu, 15 Jul 2021 at 10:01 AM, tanyin511 @.***> wrote: Hello, I have had the same problem on ubuntu 20.04. Previously, I also solved the makefile compilation failure and repeated memory release. Is this problem finally solved?Thank you. @wanghg73 https://github.com/wanghg73 @jim-b https://github.com/jim-b — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNGTBOMBNO6OOOFLUVREBTTXY6N3ANCNFSM4FA2KYCA .

Is this problem finally solved? --
" I an error is encountered for ECCSI validate SSK. The output said that it is "unable to set coordinate for 'P'"
Best
Regards.

Should be OK now, made changes to 'make' script and issues with getting/setting affine_coords.
As for the memory leaks, believe I found the cause - was using BN_CTX_start/end to try obtain BNs and then using the same BN context for BN calculations. This seemed to be have been causing the problem/leak, so have replaced relevant affected areas with explicit BN_new() calls.

Closing this issue as I think it's fixed, let me know if not.


n8n node for ntfy

Hi! I've been using n8n, and wanted to integrate with ntfy.sh. I built a community node here. I'm posting here in case it's useful to anyone else, and if it's a useful addition to the docs. Any feedback is welcome

Awesome. I love seeing projects built around ntfy! I added it to the list of projects here: https://github.com/binwiederhier/ntfy/commit/75c07221efd9d17cbd87804836fadf4ced2d98d2
https://docs.ntfy.sh/integrations/#projects-scripts


Watatsumi Research Notes

Missing aux gear from items. Useful for META fleet building.

Thanks for letting me know, will be added with next update

Added


Figure out cross-compile for MIPS64/Linux for Ubiquiti USG

libpcap makes cross compiling harder... how does this work?

Cross compiling is doable using qemu and other methods, but is a pretty complex/heavy lift.
Instead, it appears we can have some basic sniffing/writing frames using pure Golang (no libpcap) with:
https://github.com/mdlayher/raw
More info / links  / ideas:
https://medium.com/@mdlayher/network-protocol-breakdown-ethernet-and-go-de985d726cc1
https://community.ui.com/questions/EdgeOS-MIPS-cross-compiler-C-C/99104598-15c6-4d36-a2c0-5ba1a0f40f64
cross compiling with
https://community.ui.com/questions/Compiling-own-application/d32a9121-b8ca-42b5-b485-05b4fb485137?page=1


Teams for Linux starts typing text automatically after sharing your screen.

Start a call, share your screen, After exiting the call or even before you finish the call, try typing a sentence or copy pasting text with ctrl+c ctrl+v. You should see very weird behaviour with random keys being pressed. The issue disappears if you exit teams.
OS: Linux Mint 19.3
Kernel: 5.0.0-37-generic
Teams Build No: teams_<IP_ADDRESS>451_amd64

@louisnow We cannot reproduce the issue on our side. Could you please let us know the mint flavour/desktop environment you are on so that we will try it on the same system?

Hi @Gousia-MSFT
The typing error occurs without having to go to sleep even. I just had a call where another person was added to the call and after the call was over, the typing error presented itself. Quitting teams fixed it.
I always use two monitors either external only or dual display (don't know if that could be it)
Here is the output of inxi -Fxz with the info about my two displays and X.Org driver
System:
  Host: E480 Kernel: 5.3.0-28-generic x86_64 bits: 64 compiler: gcc
  v: 7.4.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia
  base: Ubuntu 18.04 bionic
Machine:
  Type: Laptop System: LENOVO  v: ThinkPad E480
  serial: <filter>
Battery:
  ID-1: BAT0 charge: 42.7 Wh condition: 42.7/45.7 Wh (93%)
  model: SMP 01AV447 status: Full
  Device-1: hidpp_battery_0
  model: Logitech Wireless Mobile Mouse MX Anywhere 2S charge: 100%
  status: Discharging
CPU:
  Topology: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP
  arch: Kaby Lake rev: A L2 cache: 6144 KiB
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800
  Speed: 1790 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 1790 2: 1588
  3: 2294 4: 1847 5: 1701 6: 2575 7: 2716 8: 1590
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
  bus ID: 00:02.0
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa
  resolution: 1366x768~60Hz, 1920x1080~60Hz
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
  v: 4.5 Mesa 19.2.8 direct render: Yes

@louisnow We tried to reproduce the problem on Linux Mint but we did not see the issue. Could you please run the following command when the problem happens again?

sudo lsof -Fn -nPd txt | sed -n '/^n/proc/!s/^n//p' |
sort -u | xargs -d '\n' grep -l XTestFakeKeyEvent

This will list the files that are currently open and mapped as executable to any process and greps for XTestFakeKeyEvent in them. This is a guess that some process might be generating XTestFakeKeyEvent events.

I think this could be a device specific issue.
Here's exactly what I tried:
Start a video call, share screen, stop sharing screen. The problem has now started.
Open a text editor and type asd, the key presses won't show up for a second then suddenly start printing a continuously. It's as if it believes the key is being held.
I connected an external keyboard. External keyboard works and key presses are fine but not the Thinkpad's keyboard.
With the help of the external keyboard I ran the command but I'm afraid our guess was wrong about XTestFakeKeyEvents. Here's the output
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse file system /run/user/1000/doc
      Output information may be incomplete.

Here's what else I did try though, when the other person accepts the call from teams for android, the problem does not occur. The problem occurs when we're both on Linux using the native teams app. The other system is Ubuntu 18.04.4 LTS and that has the problem as well so this isn't just limited to Linux Mint. It might be all Laptops or just Thinkpads? External/Secondary keyboards work fine. Have not tested on a desktop.

I ran the command as a bash script
#!/bin/bash

while true; do

    sudo lsof -Fn -nPd txt | sed -n '/^n/proc/!s/^n//p' | sort -u | xargs -d '\n' grep -l XTestFakeKeyEvent
    echo "\n"
    sleep 2

done

Now when the problem occurred, there still wasn't any change in the output of the log. So maybe XTestFakeKeyEvents isn't the culprit.

Could it happen because the rendering process is overloaded? Do you see some other issues when the keyboard issue is active? Like resizing the GUI window would be too slow? Does mouse pointer move smoothly over the teams window? Could you check system process monitor if you see some CPU usage spike when the keyboard issue is active?

What you are experiencing seems similar to https://forums.lenovo.com/t5/ThinkPad-11e-Windows-13-E-and/E480-keyboard-problems/td-p/4190409 and the bug description on launchpad https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1787782. The reporter claims the issue is gone after updating BIOS and firmware. Could you try this?

Hi @RudolfTomori-MSFT,
Thanks for the quick reply. My bios is up to date so I don't think that is the problem although the description of the bug on launchpad is very similar. Installing firmware updates besides the bios will be tricky for me as I don't have windows, I'll figure something out. I'll keep you posted about the results after updating my firmware.
My mouse seems to work fine, however Teams does use comparably more CPU when the problem is occurring.

@louisnow Any update on this? Are you still facing any issue?

Please re-open if you are still facing the issue.


Add Work API

Signed-off-by: Mike Ng<EMAIL_ADDRESS>Adding a high level overview of the Work API. The goal is to keep it short and concise so reader can get an idea of the Work API is.

CC @lauralorenz @qiujian16 @RainbowMango @ryanzhang-oss


Correction of SetSender() to use "sender" field instead of "from" field.

Add SetFrom and SetReplyToList to use "from" field and "reply to list" feature

Thank you for this pull request Guillaume!
You're correct that this behaviour was not right.
The changes broke a couple of the automated tests (as they were checking that the "from" populated the "sender", which was obviously fixed as part of this change), so I have fixed those tests.  I also added tests for the four new methods (get/set from/reply-to-list).
I will get these merged now (thank you!), and will look to release an update of the library later this week.
Regards,
Craig.


Revisit the Installation section in the README regarding shaded JAR

Does the Installation section need to be updated regarding the shaded and non-shaded JARs? Do we need to simply remove mention about the versions and just says that both are provided?
I just checked and both the shaded and non-shaded JARs are in Maven Central but I'm not sure how you specify that in your POM.

Ok, I think I found the answer. According to How to reference to a shaded jar in maven on Stack Overflow, you add the classifier to the POM, e.g.
<dependency>
    <groupId>org.kiwiproject</groupId>
    <artifactId>consul-client</artifactId>
    <version>0.5.0</version>
    <classifier>shaded</classifier>
</dependency>

If this works, the README should be updated to remove the mention about specific versions, and add instructions for how to reference the shaded JAR.


Fix crash issue in pre transforming column name

Fix the crash happen when column ref is followed by a comment without space like : 'SELECT table1.c2--table1.REPGETTEXT('.
Previously, the column transform didn't consider '--' will directly followed with column ref and will wrongly regard the comment part as the column ref, thus will cause crash later in finding the column name.
This fix add the check for '--' at the end of column def in the sql string to avoid this crash.
Task: BABEL-5070
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 73.432%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
42180

Relevant Lines:
57441

💛  - Coveralls


Shall we add requests to the default packages for nodejs:10?

there are three official actions which use the request package in https://github.com/apache/incubator-openwhisk-catalog

packages/github/webhook.js
packages/slack/post.js
packages/weather/forecast.js

but cannot found such package while invoke these actions:
    "response": {
        "result": {
            "error": "Initialization has failed due to: Error: Cannot find module 'request'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:508:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n    at require (internal/modules/cjs/helpers.js:22:18)\n    at eval (eval at evalScript (/nodejsAction/runner.js:180:16), <anonymous>:4:15)\n    at eval (eval at evalScript (/nodejsAction/runner.js:180:16), <anonymous>:175:14)\n    at evalScript (/nodejsAction/runner.js:180:16)\n    at NodeActionRunner.init (/nodejsAction/runner.js:67:35)\n    at doInit (/nodejsAction/src/service.js:166:14)\n    at initCode (/nodejsAction/src/service.js:93:24)"
        },
        "status": "action developer error",
        "success": false
    }

use needle instead? that should be available in all the node runtimes iirc.

great, it will be better

closed as resolved


register:  secret hash issue

I have an app pool with a client secret and either I'm doing something wrong, or i've uncovered an issue with the register() method when requiring a client secret.
The instructions for instantiating the Cognito object for register do not include the username parameter (which makes sense, since you are trying to create one).  So self.username is None.
However, the register method calls:
self._add_secret_hash(params, 'SecretHash')
which if you follow the tree is trying to hash self.username + client id + client secret.
BEFORE it creates the user, so it throws a null reference exception.
I think that the readme needs to state that if you have a client secret, you need to include the username when you instantiate Cognito (or alternatively, modify the implementation to populate the self.username from the one passed in on the register() method BEFORE trying to add secret hash.

We are already passing username argument to the register method. It could update the class attribute self.username then it would solve the problem.
I don't know if you are maintaining this library (and saw that 15 PR's are waiting) but if you accept I can create another one to fix that issue.


Tag request for GCHP

It would be useful to have a GFE tag with versions that will be included in the upcoming GCHP 14.0 release. Then we can swap out the submodules with GFE at any time. The versions we will be using are:
gFTL-shared: v1.4.1
gFTL: v1.6.0
pFlogger: v1.6.1
yaFyaml: v1.0-beta.4
This is the combination of the latest versions that I found work with MAPL 2.18.3. We currently do not use the other libraries in GFE so they can be any version. Would generating a tag with this set be possible?

@lizziel One more question. Would you be okay with using yaFyaml v1.0-beta5? The difference from beta4 to beta5 was:

New interface to Parser::load() to allow a user to directly load a configuration from just a filename rather than being required to first construct a FileStream from the filename.

and this is the version of yaFyaml MAPL 2 is currently using.
Note: I'm asking because it would allow me to make a nice Semantic Version progression the GFE releases. :)

@lizziel Just checking in to see you had any objection to using beta5 of yaFyaml?

Sorry for the delay on getting back to you on this, I was on vacation. When I was testing with MAPL 2.18.3, which is what we are currently using GCHP dev, I could not get beta5 to work. I don't recall if the problem was incompatibility with MAPL or with pFlogger.

Sorry for the delay on getting back to you on this, I was on vacation. When I was testing with MAPL 2.18.3, which is what we are currently using GCHP dev, I could not get beta5 to work. I don't recall if the problem was incompatibility with MAPL or with pFlogger.

Well, if it doesn't work, it doesn't work! It's only my sense of style that was "offended". I'll work on getting you something soon

Thanks @mathomp4. Hopefully this will be the only "for GCHP" tag that we will need. In future versions there will always be at least one GFE tag compatible with each MAPL release, right?


string to varchar with length

Background [Optional]
A clear explanation of the reason for raising the question.
This gives us a better understanding of your use cases and how we might accommodate them.
Question
we want to write the dataframe to SQL server, the dataframe has string datatype where we want to change the type to varchar with correct length. Is there a way to get fieldName, dataType and length from the copyBook?

Hi, you can get lengths and other parameters from an AST generated by parsing a copybook using CopybookParser.parseSimple(copyBookContents).
Example: https://github.com/AbsaOSS/cobrix#spark-sql-schema-extraction
When invoking parseSimple() you get an AST that you can traverse and read field lengths and other field properties.

ok, thanks  let me try

I'm also thinking of adding a metadata field to the generated Spark schema that will contain maximum lengths of string fields, so converting this question to a feature request.

Thanks, Ruslan, the same idea came to my mind as well. Our use case is to load the data to RDBMS, currently, all strings default to max length (nvarchar). If we have lengths available we can add an option like this:
df.write.format("JDBC").option("createTableColumnTypes","ProductID Int, ProductName nvarchar(100) )

The new metadata field ('maxLength') for each Spark schema column is now available in the 'master' branch.
Here are details on this: https://github.com/AbsaOSS/cobrix#spark-schema-metadata
You can try it out by cloning master and building from source, or you can wait for the release of Cobrix 2.6.0, which should be soon.

Hi Ruslan,
Another question: we have a data file with x length (x > 90), but I want to
parse only the first 90 bytes, is it possible with the current approach?
I tried with record_length option but it did not work.
Let me please know your thoughts.
On Mon, Oct 10, 2022 at 6:08 AM Anil Ramapanicker @.***>
wrote:

Thanks for the quick turnaround. Will check it out.
On Mon, Oct 10, 2022 at 3:18 AM Ruslan Yushchenko <
@.***> wrote:

The new metadata field ('maxLength') for each Spark schema column is now
available in the 'master' branch.
Here are details on this:
https://github.com/AbsaOSS/cobrix#spark-schema-metadata
You can try it out by cloning master and building from source, or you can
wait for the release of Cobrix 2.6.0, which should be soon.
—
Reply to this email directly, view it on GitHub
https://github.com/AbsaOSS/cobrix/issues/517#issuecomment-1272878987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7NTXCPBAJNPFB6LMFTJUDWCO7NRANCNFSM6AAAAAAQTQ4HAI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Anil Ramapanicker
148 Stony Brook Road
Fishkill, New York 12524
Home: +1<PHONE_NUMBER>
Cell: +1<PHONE_NUMBER>
Great Algorithms are poetry of computation!!!

Francis Sullivan

--
Anil Ramapanicker
148 Stony Brook Road
Fishkill, New York 12524
Home: +1<PHONE_NUMBER>
Cell: +1<PHONE_NUMBER>
Great Algorithms are poetry of computation!!!

Francis Sullivan


SQL Server Service Broker is Required

Fixes #452

@ChrisKibble : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks @ChrisKibble for the contribution!
#sign-off

@aczechowski: I'm sorry - only the author of this article, @mestew, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

Blurg! 🤕  I keep forgetting the automation in this repo requires the tagged author to signoff...hang on

@aczechowski Gets me every time too =)


Ability to remove DM's from channel drawer

PR https://github.com/mattermost/mattermost-mobile/pull/171

Completed by #171.


Multiple Policies in Authorize attribute

The page shows the following example for authorize:
[Authorize(Policy = "AtLeast21")]
But it does not explain what happens if multiple policies are applied, like:
[Authorize(Policy = "AtLeast21, IsFemale")]
What is the behavior in this case? Are the two policies ANDed or ORed?
Docs should be clear in this.

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

ID: b1141d92-adeb-6841-229f-914c808f9a2b
Version Independent ID: 7089b376-949f-c1c6-c37a-5d8cc7ecf104
Content: Policy-based authorization in ASP.NET Core
Content Source: aspnetcore/security/authorization/policies.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

What is the behavior in this case? Are the two policies ANDed or ORed?

The Authorize attribute doesn't support taking multiple policies via a comma-separated list. This invocation is likely to lead to an exception because the AuthorizationService will try to look for a policy with the name "AtLeast21, IsFemale". The recommended approach here is to use two Authorize attributes on the endpoint. The policies in each attribute will be combined at the end.
IMO, the docs are clear about Authorize only accepting a policy name. We might want to consider adding a code sample that showcases applying multiple attributes to OR the applied policies together but I think that's likely to make the samples more complicated than needed.

What is the behavior in this case? Are the two policies ANDed or ORed?

The Authorize attribute doesn't support taking multiple policies via a comma-separated list. This invocation is likely to lead to an exception because the AuthorizationService will try to look for a policy with the name "AtLeast21, IsFemale". The recommended approach here is to use two Authorize attributes on the endpoint. The policies in each attribute will be combined at the end.
IMO, the docs are clear about Authorize only accepting a policy name. We might want to consider adding a code sample that showcases applying multiple attributes to OR the applied policies together but I think that's likely to make the samples more complicated than needed.

Any example to multiple policies with "OR" combination?

Any example to multiple policies with "OR" combination please?


[ {} ] does not work

{
     addresses: [
           {
               address: '.address',
               location: '.location'
          }
     ]
}

Returns:
{ addresses: [] }

Expected:
{
     addresses: [
           {
               address: 'address',
               location: 'location'
          }
     ]
}

what does the HTML look like?

It looks like:

                address
                location

@monolithed I think for your example to work you'd need to add class="address" and class="location" to those  tags.
However I believe the original issue still stands. I've been struggling with the same problem: the only array selector that works is a basic string: x(url, ['.selector']).

@disbelief, thanks, fixed.

Try this:
x('http://example.com', {
  addresses: x('.addresses ul', [{
    address: '.address',
    location: '.location'
  }]);
})(fn)

@matthewmueller yes that works! I guess I hadn't tried that specific combination of nesting the x() call.
However I'm trying to do something along the following lines, and xray seems to just die on me:
x('http://example.com',
  {
    companies: x('.vcard', [
      {
        name: 'a.url',
        domain: x('a.url@href', '.domain')
      }
    ])
  }
)(function(err, obj){
  if (err) {
    console.error(err);
  }
  console.log("RESULT:", object);
});

So the first page read in by xray contains a list of links, and I'd like xray to follow each link to grab the .domain element on the resulting page.
Should this work?
When I run the above, I see no console output at all but if I remove the domain: key, the correct array of objects with name attributes is returned.

yah, so for the domain key, the first argument would be the scope, the second would be the selector.
I don't understand exactly what you're trying to do, but you should use x(...) if you want to narrow down or scope the selection. My guess is that this:
domain: x('.domain', 'a.url@href')

Is what you want.

Here's what I'm trying to do:

    Company1

    Company2

  company1.com

  company2.com

x("example.com/index.html",
  {
    companies: x('.company', [
      {
        name: 'a.url',
        domain: x('.domain', 'a.url@href')
      }
    ])
  }
)(function(err, object){
  console.log("done", err, object);
});

returns the following:
{
  companies: [
    {
      name: "Company1"
    },
    {
      name: "Company2"
    }
  ]
}

note the lack of a domain attribute on the nested objects.
If I swap the arguments for the domain lookup to
domain: xray('a.url@href', '.domain')

there is no result logged to the console. It does seem to do something, but nothing is returned to the callback function.

oh hm, you're following links. got it. okay i think that should work, can you run the program using DEBUG=x-ray*?

DEBUG=x-ray* babel-node index.js
  x-ray params: {"source":"http://example.com/index.html","scope":null,"selector":{}} +0ms
  x-ray starting at: http://example.com/index.html +1ms
  x-ray fetching http://example.com/index.html +0ms
  x-ray-crawler getting: http://example.com/index.html +1ms
  x-ray:phantom going to http://example.com/index.html +0ms
  x-ray:phantom got response from http://example.com/index.html: 200 +2s
  x-ray:phantom redirect: http://example.com/index.html +1ms
  x-ray:phantom got response from http://example.com/index.html: 200 +3ms
  x-ray:phantom http://example.com/index.html - 200 +1s
  x-ray got response for http://example.com/index.html with status code: 200 +3s
  x-ray params: {"scope":".company","selector":[{"name":"a.url"}]} +135ms
[TypeError: Converting circular structure to JSON]

this is exactly the output? you're sure you kept all the pathnames intact? it doens't seem like it's going to company1 and company2 at all

I thought the same thing so I double checked and yes this is the output. The secondary pages are never visited.
That TypeError only seems to show up in debug mode also.

Also notice that the "selector" doesn't include the "domain" key in that last "params" debug line. Not sure if that's expected or not.

Okay hm. Can you verify via curl or whatever that the HTML you're getting back contains the proper links that you described about (company1, company2, etc.) and it's not being set on the client-side.

Yep I'm actually doing this with locally hosted pages. Their markup is exactly as you see in my snippets above, just a local domain name (not example.com).
If I remove that domain lookup, it does return the other attributes on the page correctly. eg.
x('http://localhost/home.html',
  {
    companies: x('.company', [
      {
        name: 'a.url',
        url: 'a.url@href'
      }
    ])
  }
)(function(err, object){
  console.log(object);
});

outputs:
{
  companies: [
     { name: 'Company1', url: 'http://localhost/company1.html' },
     { name: 'Company2', url: 'http://localhost/company2.html' }
  ]
}

dang, that's strange. so those domain urls should hit this chunk of the code:
https://github.com/lapwinglabs/x-ray/blob/master/index.js#L88-L104
Can you investigate in your local copy of x-ray why it may not be hitting that?

To be clear... using: domain: xray('a.url@href', '.domain') as your logic.

sure I'll throw a few more debug lines in and see what I can find out.

No joy yet, but a bit of news:
It appears that this debug call was causing the TypeError whilst in debug mode: https://github.com/lapwinglabs/x-ray/blob/master/index.js#L75
Commenting it out allows xray to execute further. In fact it seems to do exactly what is expected, however the final function is never called. This is the entire output:
  x-ray starting at: http://example.com/index.html +0ms
  x-ray fetching http://example.com/index.html +1ms
  x-ray-crawler getting: http://example.com/index.html +1ms
  x-ray:phantom going to http://example.com/index.html +0ms
  x-ray:phantom got response from http://example.com/index.html: 200 +1s
  x-ray:phantom redirect: http://example.com/index.html +0ms
  x-ray:phantom got response from http://example.com/index.html: 200 +1ms
  x-ray:phantom http://example.com/index.html - 200 +2s
  x-ray got response for http://example.com/index.html with status code: 200 +3s
  x-ray resolving to a url: a.url@href +135ms
  x-ray resolved "a.url@href" to a http://example.com/company1.html +0ms
  x-ray fetching http://example.com/company1.html +0ms
  x-ray-crawler queued: "http://example.com/company1.html", waiting "0ms" +0ms
  x-ray resolving to a url: a.url@href +1ms
  x-ray resolved "a.url@href" to a http://example.com/company2.html +0ms
  x-ray fetching http://example.com/company2.html +0ms
  x-ray-crawler queued: "http://example.com/company2.html", waiting "0ms" +0ms
  x-ray-crawler getting: http://example.com/company1.html +0ms
  x-ray:phantom going to http://example.com/company1.html +146ms
  x-ray-crawler getting: http://example.com/company2.html +1ms
  x-ray:phantom going to http://example.com/company2.html +1ms
  x-ray:phantom got response from http://example.com/company1.html: 200 +1s
  x-ray:phantom redirect: http://example.com/company1.html +0ms
  x-ray:phantom got response from http://example.com/company1.html: 200 +1ms
  x-ray:phantom got response from http://example.com/company2.html: 200 +2s
  x-ray:phantom redirect: http://example.com/company2.html +0ms
  x-ray:phantom got response from http://example.com/company2.html: 200 +1ms
  x-ray:phantom http://example.com/company1.html - 200 +671ms
  x-ray got response for http://example.com/company1.html with status code: 200 +14s

notice that there's no line reading: x-ray got response for http://example.com/company2.html, and the xray callback function does not fire. The process simply terminates silently at this point.

Hello, first of all thank you matthewmueller for the great job!
Unfortunatelly I have to confirm the same problem. I am trying to follow three links from one page and grab some data from those linked pages (the html structure is quite the same as in example of disbelief). But array selector for links seems not to work. If I delete it I am able to grab data from the first linked page just fine.
Than you very much for your help.

I can confirm the same bug. See my duplicate closed issue https://github.com/lapwinglabs/x-ray/issues/81 For crawling to other (sub)pages just [ .a ] or just [ .b ] collection selector scrapes its multiple contents correctly but collection  [{ .a, .b }] does not work for crawling.
Your main page example  works for more other page links (collection of links)
x('http://google.com', {
  image: x('#gbar a@href', ['a'']),
})(function(err, obj) {
})

or for more other page headings (collection of h1s)
x('http://google.com', {
  image: x('#gbar a@href', ['h1']),
})(function(err, obj) {
})

but not for headings as well as links (collection of links and h1s):
x('http://google.com', {
  image: x('#gbar a@href', [{'a','h1'}]),
})(function(err, obj) {
})

Collection for more items [{ }] works only for scraping on direct page not when using a@href crawling.

I can confirm the same bug. Any clue how to fix this ?

I can confirm the same bug.
var x = require('x-ray')()

x('https://www.retsinformation.dk/Forms/R0210.aspx', {
  laws: x('.tbl.tbl2 tr:not(.th) td:nth-child(2) a@href', {
    title: 'title',
    paragraphs: x('.ParagrafNr', [{
      no: '@html'
    }])
  })
})(function (err, obj) {
  if (err) {
    console.log(err)
    return
  }

  console.log(obj)
})

The above code works, but this does not
var x = require('x-ray')()

x('https://www.retsinformation.dk/Forms/R0210.aspx', {
  laws: x('.tbl.tbl2 tr:not(.th) td:nth-child(2) a@href', [{
    title: 'title',
    paragraphs: x('.ParagrafNr', [{
      no: '@html'
    }])
  }])
})(function (err, obj) {
  if (err) {
    console.log(err)
    return
  }

  console.log(obj)
})

alas, I also am at this wall...

@monolithed, I ran into this problem a few weeks back while working on a webscraper and I came up with a simple solution. Here's what you can do:
x("example.com/index.html",
  {
    companies: x('.company', [ // get company name and link
      {
        name: 'a.url',
        domainURL: 'a.url@href')
      }
    ])
  }
)(function(err, object){ // pass company name and link to this function
  object.companies.forEach(company, function(company){ // forEach function to get to '.domain'
    x(company.domainURL,{
      domain: '.domain'
    })(function(err, result){
      console.log(result); // log the domain
    }
  })
  console.log("done", err, object);
});

It is not much but I hope it helps. You can get the result from the first callback stored in the DB then make a call to the DB to get back the URL links and then crawl the links to get additional information. Take time and consumes resources but it will help. :)
@matthewmueller I believe 'q' promises will help solve this bug. Just a suggestion

Same issue,
'use strict';

var Xray = require("x-ray");
var fs = require('fs');

var x = new Xray();

x('http://testing-ground.scraping.pro/', '#content > .caseblock:nth-child(3) ', {
    title: 'a',
    link: 'a @href',
    other: x('#content > .caseblock:nth-child(3) a@href',{
        title: 'h1',
        text_links: ['#caseinfo ul li a@href'],
        text_links2: x('#caseinfo ul ', ['li a@href']),
        text_list: x('#caseinfo ul ', [{link: 'li a@href'}]),
        content: x('#caseinfo ul li a@href' , 'h1'),
    })
}).write('results.json');

if you run:  `DEBUG=x-ray node xray_poc.js` & cat results.json
You will see that the list works well but when you need a list of objects, only the first item in the list appears:
{
  "title": "TEXT LIST",
  "link": "http://testing-ground.scraping.pro/textlist",
  "other": {
    "title": "TEXT LIST ",
    "text_links": [
      "http://testing-ground.scraping.pro/textlist?ver=1",
      "http://testing-ground.scraping.pro/textlist?ver=2",
      "http://testing-ground.scraping.pro/textlist?ver=3",
      "http://testing-ground.scraping.pro/textlist?ver=4",
      "http://testing-ground.scraping.pro/textlist?ver=5"
    ],
    "text_links2": [
      "http://testing-ground.scraping.pro/textlist?ver=1",
      "http://testing-ground.scraping.pro/textlist?ver=2",
      "http://testing-ground.scraping.pro/textlist?ver=3",
      "http://testing-ground.scraping.pro/textlist?ver=4",
      "http://testing-ground.scraping.pro/textlist?ver=5"
    ],
    "text_list": [
      {
        "link": "http://testing-ground.scraping.pro/textlist?ver=1"
      }
    ],
    "content": "TEXT LIST (version 1)"
  }
}

First let me say this is a great project!!
Anyone find a solution for this? Having a similar problem. I'm thinking I may just need to scrape a page, save all the links to other pages into an array, iterate that and scrape the links.
I may have to do that anyway, in some cases I need to scrap 3+ pages deep.

Any update on this issue ?
I'm trying to follow a list of links from a webpage, and for each link scrape some elements. I can only get the elements from the first followed link.

this is my html

`
 a
 b
 c
 d

`
``
and  i want this array

[{title:a},{title:b},{title:c},{title:d}]

what can i do?

did anyone tried to use promises for waiting for child X's ?


File Processing modifications

Added main.xml and fault.xml
Remade sample

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


Window Controls Overlay: consider calling controlsOverlay windowControlsOverlay

Just a piece of naming feedback.  controlsOverlay strikes me as a bit too generic.  I would imagine that there could be more control overlays in the future, for example, a browser controls overlay with forward and back buttons.  Consider using your full feature name as the name for your new navigator property: windowControlsOverlay?

I agree. The original proposal didn't mention a "window controls overlay", so that's why this was just controlsOverlay. However, now that we've renamed the feature, I think it's best to update the API to navigator.windowControlsOverlay

Fixed in #315


Fix 'title patterns that use procs are not supported'

This commit makes the module compatible with puppet generate types.
Fixes #226

Coverage decreased (-0.05%) to 74.385% when pulling 2c9c5e267d37bf98b4522e56fa29c85e7252a0ed on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

Coverage decreased (-0.05%) to 74.385% when pulling 2c9c5e267d37bf98b4522e56fa29c85e7252a0ed on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

Coverage decreased (-0.05%) to 74.385% when pulling 2c9c5e267d37bf98b4522e56fa29c85e7252a0ed on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

Coverage decreased (-0.05%) to 74.385% when pulling 2c9c5e267d37bf98b4522e56fa29c85e7252a0ed on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

Coverage decreased (-0.05%) to 74.385% when pulling 2c9c5e267d37bf98b4522e56fa29c85e7252a0ed on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

Coverage decreased (-0.05%) to 74.385% when pulling 2c9c5e267d37bf98b4522e56fa29c85e7252a0ed on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

Coverage decreased (-0.05%) to 74.385% when pulling 2c9c5e267d37bf98b4522e56fa29c85e7252a0ed on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

@jairojunior Would you be able to review this?  Tests have failed, but that looks like it may have been a temporary glitch.  I'll repush and hopefully they'll pass.

Coverage decreased (-0.05%) to 74.385% when pulling 5ce74114808f67be746c909d307e20a4ec6e5b1d on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

Coverage decreased (-0.05%) to 74.385% when pulling 5ce74114808f67be746c909d307e20a4ec6e5b1d on alexjfisher:fix_generate_types into 0c7666f873ab1eb82d3dbd5a09da723e20feb48a on biemond:master.

@alexjfisher Something wrong with containers, it's passing locally with VM's. Merged it and will fix tests soon.


3 setup structs

Implementation of structs Config, Transformer Weights, Runstate and Transformer.
Tests for Config, Runstate and Transformer Weights.
Transformer struct has nothing to tests so there are no tests for that.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

src/Llama2.jl
100.00% <ø> (ø)

src/config.jl
100.00% <100.00%> (ø)

src/transformer.jl
100.00% <100.00%> (ø)


Project development status

Hi @marceloboeira . Given some activity on this repo, are you considering to work on this again? Can you pleas add discord link to README.md? I'm willing to spend time on this project if there is some traction (discord will help observe this).

@tekjar at the moment I'm not directly able to make so much progress here, but hopefully soon enough there will be more time for me to focus. However, there are people contributing in parallel. I'll setup a discord and link int he readme, great idea!

@tekjar at the moment I'm not directly able to make so much progress here, but hopefully soon enough there will be more time for me to focus. However, there are people contributing in parallel. I'll setup a discord and link int he readme, great idea!


Options on start up

I chose "do not show this dialog on start up" (about options), but it is shown again and again each time I start the Syncplay.
v1.6.6 beta 2 (release 89)

Do you mean the "Don’t always show the Syncplay configuration window" option?
As noted in the tooltip text and the guide at https://syncplay.pl/guide/client/ this option only means that Syncplay won't open the configuration window if you open a file with Syncplay unless you need to specify configuration options. If you are running Syncplay directly then it will always display the configuration window irrespective of what you choose for that option.

Yes, I meant exactly than option. I translated it from Russian. And in Russian it sounds like "Don't show the Syncplay configuration window at all".

I just checked and you're right, according to Google "Не показывать больше этот диалог" translates to "Don't show this dialog again". Can you please review this @and-semakin ?

@MarisKori If you let me know what the Russian translation should be then I can change it. @and-semakin can then tweak if it needed.


Add file extensions which are mandatory for the latest Node 12.x.

Note: This doesn't solve the upstream import's which still don't comply but it preps CyberChef for it.

Thanks very much for this. These have all been fixed in different commits now so I'll close this PR, but the help is appreciated nonetheless!


Qt 5.12.4

Motivation for this change
This pull request updates Qt 5.12.3 to Qt 5.12.4, including several long-awaited bug fixes. There is a newer long-term support patch-level release, but I don't have it working yet, nor do I have Qt 5.13 working. This is working on NixOS, but it is still broken on macOS.
Things done

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This should be fixed on macOS now.


if archiveArtifacts fails the VMs are not destroyed

I just found out if tests/copy_files fails, because the VM entered in a weird state, the following destroy -f lines are not executed and the VMs are not destroyed
    post {
        always {
            sh './tests/copy_files'
            archiveArtifacts "cilium-files.tar.gz"
            sh 'vagrant destroy -f'
            sh 'cd ./tests/k8s && vagrant destroy -f'
        }
    }

As a workaround for the PR where I saw this I simply removed the set -e and append a || true on all lines in the copy_files script but this needs a proper fix
copy_files:
#!/bin/bash

sudo rm -rf ./cilium-files

IDENTITY_FILE=$(vagrant ssh-config | grep IdentityFile | awk '{print $2}')
PORT=$(vagrant ssh-config cilium-master | grep Port | awk '{ print $2 }')

vagrant ssh cilium-master -c 'sudo -E bash -c "journalctl --no-pager -u cilium > ${GOPATH}/src/github.com/cilium/cilium/tests/cilium-files/cilium-logs && chmod a+r ${GOPATH}/src/github.com/cilium/cilium/tests/cilium-files/cilium-logs"' || true

scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r -P ${PORT} -i ${IDENTITY_FILE} vagrant@<IP_ADDRESS>:~/go/src/github.com/cilium/cilium/tests/cilium-files . || true

sudo tar -czvf cilium-files.tar.gz cilium-files || true

I'm taking care of this as part of #1040 .


Error: 'NoneType' object is not subscriptable

💚💜 Thank you for interest. ❤💛
Please make sure to check for more efficient package management.
To Reproduce

[x] I have read README.md. Please read me.
[x] I have searched for existing issues and FAQ (Most of the issues are duplicates.)
[ ] I installed the appropriate version and confirmed that the previous version was properly removed upon reinstallation.
[ ] I also checked the environment (not only on a single local machine but also on Google Colab, different Google accounts, and tried resetting cookies, etc. Please make sure to attempt these steps if necessary, and test the functionality in a new virtual environment if needed.)

Example
pip uninstall bardapi             # and restart kernel
pip install bardapi==0.1.29       # check proper version
pip install -u bardapi==0.1.29    # upgrade version

import bardapi
bardapi.__version__

----------Please delete the content above this line, including this line.-------------
Describe the bug
A clear and concise description of what the bug is.
Version
OS: Ubuntu 20.04.6 LTS
Python: 2.7.18
Bard API: 0.1.29
Using proxy: No
Legion:
Code
code line

Error
error message

Error: 'NoneType' object is not subscriptable
I'm trying to run a IRC BOT (https://github.com/knrd1/bard/), but after it connects to IRC and ask a question, it shows this error message in console:
Error: 'NoneType' object is not subscriptable
and on IRC:
<@Bard> BARD PANIC! Check console for error message.
How can this be fixed it?

Conclusion: It's challenging to address at the package level. Code to allow for temporary circumvention when using the service.
In cases of 'NoneType subscriptable' or 'object not iterable' errors, it typically indicates that the response thrown by Bard is insufficient or the interface has slightly changed. This can often be a temporary block or may occur even when repeating the same question multiple times.
Therefore, instead of porting this Bard to some solution, it's better to aim for one or two reproductions, and even then, it might be preferable to use the official APIs of OpenAI or PALM.
If you wish to use it for free, it's advisable to use it in a way that avoids hitting the limit rating.
As you know, the inference cost for a large language model is enormous, so another option could be to find a model with similar functionality on Hugging Face and use it with quantization to reduce costs.
Ultimately, there aren't many free APIs available that can provide smooth and quick responses for free, so it's best to use them for a few reproductions...
Conclusively, this error is hard to resolve at the package level, unfortunately...
Also, if you input a new cookie to start clean (the error may not be reproduced), in bard.get_response, you can only code to avoid these difficult situations by hard coding an exception block with messages like "I'm having trouble answering now. Please ask again later." or "I'm having trouble answering now. Please contact the developer after exiting."

Thanks for your response!
After not giving up I finally found the solution... i have to install bardapi version 0.1.30 to make it works

charls-a
I will check 0.1.30. thanks.


How to use this repository?

I have reviewed the paper, which asserts that there is no audio or information from unknown speakers during the training process. However, in your code, your validation set includes information from unknown speakers. Doesn't this imply that the model had already assimilated information from unknown speakers during training, and the reference speech used for inference corresponds to the speech encountered during training?

For speaker p261，the model already meet this speaker？
please help me！

First of all, I am not the author of the paper. The purpose of this repo is to test the model, and the authors’ implementation and dataset configuration may differ. Additionally, in the current code, there is no bias in tuning the model because only a single test sample is generated (link), and there is no validation loss calculation during the training process.

这是来自QQ邮箱的假期自动回复邮件。你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。


Add embedded base64-encoded executable rule

I'm not sure what it's unhappy about, I believe the yaml is valid.


Syntax highlighting: incorrectly parsed /**/ comments after // comments in C code

See attached screenshot.

Thanks @AlexeyKhrabrov, I took a look at this one and it's going to be a bit more annoying to fix. Might wait until #6140.


Convert dx scripts to sf CLI

Converting deprecated sfdx commands in scripts into sf CLI

Create in ERROR closing - NO ACTION required


Hover issue on Change Languages

sometime i can hover and select but sometime cannot.

fixed by updated the repo.


Doc: Clarify or correct usage of "Program" configuration options

Issue
The documentation states:

A Program is a package that can be configured. Programs install the binary to your path, and allow you to specify the configuration for the package. You can see the multitude of options for programs on the Home Manager website.

This seems to imply (at least to me) that the configuration options can be applied in some way via the .fleek.yml configuration file. Digging through other issues and some of the inline documentation created in ~/.local/share/fleek/*.nix files, there is this line in ~/.local/share/fleek/programs.nix:
# programs are installed and configuration applied to dotfiles
# add your personalized program configuration in ./user.nix

As far as I can tell, this is the only direction as far as where to put additional home manager config options. I tried a few methods of applying config options directly in .fleek.yml, and while I was able to get a successful "fleek apply" using the syntax below, I could not find the setting applied anywhere. My config was otherwise stock.
...
packages:
paths:
    - $HOME/bin
    - $HOME/.local/bin
programs:
    - dircolors
    - helix
...
programs.helix.settings = {
    theme = "gruvbox";
    editor = {
        line-number = "relative";
        text-width = "60";
    };
}

Applying the same programs.helix.settings lines inside user.nix applies the settings correctly as expected.
Request
It seems to me, based on existing documentation, that it should be possible to apply custom home manager configuration options to packages installed under the "programs" section directly from .fleek.yml. I would request that the documentation be expanded or clarified to specify how/where to correctly apply home manager options.
I would be happy to contribute to the docs if my understanding is correct!
Details
If I've missed something, or what I've described should be working, here are the details of my environment.

OS: Fedora SilverBlue 38
Shell: bash
fleek version: 0.9.17
nix version: 2.16.1

There is no way to add program configuration to the fleek yaml file. it has to be done in the user.nix file. I'd love any contributions to docs that clarifies this.

There is no way to add program configuration to the fleek yaml file. it has to be done in the user.nix file. I'd love any contributions to docs that clarifies this.

@bketelsen is there plans to support this to align with Fleeks motto of managing everything in one file?


create hyperdrive tweet bot

tweet automatically based on simple template
recommend tweets in discord based on more complicated templates

liaise with @ILeybovich on the templates


Support Kubernetes Job workload

The Scope probe reports CronJobs; it should also report plain Jobs.
And the GUI should display them.

Display them where? Jobs don't have a controller, so they don't naturally belong in the Controller topology.

Job looks enough like Deployment for me to say put them in the same place.

Jobs don't have a controller

Actually, reading the docs again, it looks like they do.

This is what CronJobs look like:


fix for /apply

thanks @xdamman! can you ping me when you push this? Have someone waiting to create one. <3


Bump style.sh version

Homebrew is now serving up clang-format v8.

It actually looks like some of the style rules have changed between version 7 and 8. See this commit on my other PR. clang-format 8 had fixes the spacing and long line, but clang-format 7 saw those as wrong.
Do we have a plan for how to handle style discrepancies between clang-format versions?

It looks like Travis is still pulling from 7: https://travis-ci.org/firebase/firebase-ios-sdk/jobs/458598973#L684
Let's set up a discussion to see what the strategy is, if we should always move to latest or not.

From the documentation it seems like they just use what's on their disk image, but it can run brew update if we would like. In the past we just allowed it to stay old, but update the script like I did in this PR. This allows us to update the version on our machines ahead of Travis and fix style issues before Travis breaks us.

Oops, didn't mean to close this PR. Reopening it.

Updating clang-format turned out to be a natural follow-on of updating travis to Xcode 10.1 and I did it in #2222.


User-specific certificates and authentication

Implement user data and authentication. User data contains:

Name
Email
Password
Private key

The private key is to remain confidential, but can remain on the server as long as it is encrypted. Encrypt both the private key (preferably encoded using something like Base64) and the password with the password, so only the user will be able to decrypt the information. The public key of the user can remain unencrypted (though preferably also encoded).
The user data should also contain a certificate, signed with the private key of the server. This requires a minor modification of CertificateUtilities#createCertificate which currently accepts a KeyPair. This should be split into the public key of the client, and the private key of the server.
The private key of the user should be generated by the user, and be encrypted with their password before it is sent to the server. The reason this key is to be stored is so it can be accessed by the user later, on different devices.

Note that it is not required to have encrypted communication in this issue yet. This will later be implemented in a future issue

Note: CSR should be performed before the private key is sent


3D Prints cannot be "on" next to each other

Title. If you attempt to turn a 3D print on while there is an adjacent 3D print already in the "on" state, both prints turn off. Similarly, placing a 3D print next to a 3D print in the "on" state causes the already-placed 3D print to toggle.
https://user-images.githubusercontent.com/12676241/225799696-c074dbc1-43f5-4a31-8538-7ffe06d08868.mp4

Also, not sure if this is a related bug or not, but a 3D print in the "on" state next to a computer that turns on will also turn off.

Actually, apparently, doing anything that causes a block update will cause the 3D print to turn off (place block, break block, cause block to update). Not sure if this is related to any button-mode specific code?


Expose DataQuality entities detail information

Add / Revisit:

DataQuality entities detail information for UI
DataQuality entity's run history
Support in Search API

Linked backend task: https://github.com/opendatadiscovery/odd-platform/issues/6

Done


Custom table name for Sugar

Hi I'm creating a custom record called MessageEntity that extends the SugarRecord object. If I understand this correctly, queries related to this entity will select a table called message_entity. Would it be possible to override the table name with a custom one ? If so, how ?

You have to use annotations if you want custom names for your tables. A quick example would be:
@Table(name="table_name")
public class MessageEntity {
    private long Id;
}

Note that I'm no longer extending SugarRecord. Sugar will pick up the annotation and create the proper table in the database. Let me know if you have any issues with this.

This annotation only work for Sugar 1.4
Someone know when 1.4 will be released for gradle and maven?

There's still quite a lot of work left to do for 1.4.0. My guess is sometime close to the end of this month or mid next month. As for when they'll be released on gradle or maven, I'm not sure. @satyan has been busy, so what I may have to do is host it myself using a different group id. When we're closer to actually releasing 1.4.0, I'll take stock of how many people would be okay with that and then decide from there.
In the meantime, you can build yourself a jar from source by checking out master and running:
./gradlew libraryJar

You don't even need gradle or anything like that installed. Running this command will take care of that for you.

@whoshuu, this process will compile 1.4.0? Is 1.4.0 into master already?

Technically the version of the master branch is 1.3.1. We got lazy with the versioning, but what you see in master will be released in 1.4.0.


InvokeForRequestInterceptor throw java.lang.IllegalStateException: No active context

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[x ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Related issues
#1280

Question

What do you want to know?
There still have problem in this place. InvokeForRequestInterceptor seems triggered before RestMappingMethodInterceptor in Spring MVC,so there is no active context.Who can help to fix this problem.

Bug

Which version of SkyWalking, OS and JRE?
5.0.0-beta2

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

ERROR 2018-07-05 11:12:06 InstMethodsInter :  class[class org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod] before method[invokeForRequest] intercept failure
java.lang.IllegalStateException: No active context
at org.apache.skywalking.apm.agent.core.context.ContextManager.getRuntimeContext(ContextManager.java:204)
at org.apache.skywalking.apm.plugin.spring.mvc.commons.interceptor.InvokeForRequestInterceptor.beforeMethod(InvokeForRequestInterceptor.java:47)
at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:82)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at com.hpe.msp.admin.AccessFilter.doFilterInternal(AccessFilter.java:123)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Could you provide some demo for us?

I have test it by myself,and I found the reason.When I use Spring Boot with Tomcat in my previous project,this plugin just work well.
However, my current project is using Spring Boot with Undertow,It throws this exception.

I think Undertow plugin was needed,And I will try to implement it by myself.

We still need your demo, even you are using undertow.
@ascrutae  Spring MVC should works well, independent on Tomcat.

OK,Here is my test demo:https://github.com/BlackEragon/api-demo.git

This issue is that there isn't any TraceContext created before the spring interceptors invoked. because of the spring plugin store the request and the response object in RuntimeContext in TraceContext.
@wu-sheng Maybe we can't store  request and response in RuntimeContext. What do you think ?

I think you overuse RuntimeContext. It is designed for across plugins communication only. Consider to use TraceContext.

it get me all day  and I  read all  code fund it was a bug in springboot ,WTF !!!

I use TomCat has the same error ,I use Spring Cloud Version : Dalston.SR3
and I  use ctripcorp/apollo as config server

You shoud use master codes, it is fixed yesterday.


Azure CLI

Great with PS but can we have CLI version also for the same...?

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

ID: 55e23176-40c4-39bd-4f6f-cc48e518cf96
Version Independent ID: 370fcf36-dce0-6718-4566-34a71cd0314e
Content
Content Source
Service: virtual-machines-windows

Azure CLI #5040
Closing this #5040 as it was duplicated by mistake..  The same issue is opened under #5039.


Jesse: Watch bazzarstone.com

Jesse requests the watch of the watch_keyword bazzarstone\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

bazzarstone\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Mast in Charcoal HQ