Add indentation to error message when it has several line breaks(#2159)

At the moment mocha only indent the first line of the report message.
This PR would indent all lines of the message when it has line breaks so that it would look neat.
I checked out that it worked out with the example below.
describe('suite', function() {
  it('test', function() {});
  it('test2', function() {
    throw new Error('foo\nbar\nbaz');
  });
});

by the way, I ran "npm test" before creating PR and got 185 passing, 4 pending, 6 failing.
but the errors seems regardless of code that I added.
So I ran "npm test" again after commenting out changes I made and got the exactly same result.
errlog_original.txt
I was wondering if there's any other ways to check this change is safe.

Coverage increased (+0.08%) to 92.503% when pulling 4d446e6d55789e838a9b0103a8f90c84cc43b5ca on 2kindsofcs:issue/2159 into fafa9b98809b941e8e6ea81868eabdc22cbd17af on mochajs:master.

@2kindsofcs Please sign CLA by clicking the CLA badge above.

@outsideris I signed CLA jsut a minute ago. thanks.

ref: https://github.com/mochajs/mocha/issues/2159

This issue is still present. Is there any reason not to merge this?


edit during sourcing of vimrc: display issue with messages / missing undo

Given t-edit-current-vimrc.vim:
echom 1
echom 2
edit
echom 3
normal! cc

Running it (with -u and as argument) shows two issues:
% vim -Nu t-edit-current-vimrc.vim t-edit-current-vimrc.vim
1
2"t-edit-current-vimrc.vim" "t-edit-current-vimrc.vim" 5L, 40C
3
Press ENTER or type command to continue

messages are not handled correctly: the output from/for the edit should be on a new line probably, and also appears to have the new twice?

after continuing you see:

echom 2
edit
echom 3
normal! cc

Here the first line it missing as expected (from the cc), but undoing (u) then results in an empty file (5 fewer lines; before #1).
Instead it should have an undo step for the cc there inbetween.
Not sure about this, and sorry for mixing issues - but I've noticed this while trying to debug undo issues with the SudoEdit plugin and thought it is worth reporting already.
Regarding 1. I've meant to reproduce an issue where echom-messages are hidden/overwritten completely due to edit being used in SudoEdit, which was/is very confusing while debugging.
Vim 8.1.1968

Daniel Hahler wrote:

Given t-edit-current-vimrc.vim:
echom 1
echom 2
edit
echom 3
normal! cc

Running it (with -u and as argument) shows two issues:
% vim -Nu t-edit-current-vimrc.vim t-edit-current-vimrc.vim
1
2"t-edit-current-vimrc.vim" "t-edit-current-vimrc.vim" 5L, 40C
3
Press ENTER or type command to continue

messages are not handled correctly: the output from/for the edit
should be on a new line probably, and also appears to have the new
twice?

I don't see this problem, the "2" is on a line by itself.  Oh wait, with
"-N" it does happen.  It's because of the "o" flag in 'shortmess'.
Still, it should then overwrite the message, not append.  This can be
fixed with:
--- src/message.c       2019-09-21 20:46:14.736275700 +0200
+++ message.c   2019-09-26 20:51:37.566652624 +0200
@@ -1303,6 +1303,7 @@
msg_start(void)
{
int                did_return = FALSE;

int                prev_msg_col = msg_col;
if (!msg_silent)
VIM_CLEAR(keep_msg);
@@ -1325,6 +1326,8 @@
cmdmsg_rl ? Columns - 1 :
#endif
0;

  if (msg_col == 0 && prev_msg_col != 0)

      msg_putchar('\r');

}
else if (msg_didout)                   /* start message on next line */
{

Please check if that helps or makes it worse.  Hmm, it does make several
tests fail.

after continuing you see:

echom 2
edit
echom 3
normal! cc

Here the first line it missing as expected (from the cc), but
undoing (u) then results in an empty file (5 fewer lines; before #1).
Instead it should have an undo step for the cc there inbetween.

The behavior is correct, this all becomes one undo block.  You can break
it by setting 'undolevels':
set undolevels&

Not sure about this, and sorry for mixing issues - but I've noticed
this while trying to debug undo issues with the SudoEdit plugin and
thought it is worth reporting already.
Regarding 1. I've meant to reproduce an issue where echom-messages are
hidden/overwritten completely due to edit being used in SudoEdit,
which was/is very confusing while debugging.

--
MORTICIAN:    Bring out your dead!
[clang]
Bring out your dead!
[clang]
Bring out your dead!
CUSTOMER:     Here's one -- nine pence.
DEAD PERSON:  I'm not dead!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Looks like this was already fixed by  8.1.2094.
Please close if you see it's fixed.

Yes, it is fixed.
Thanks!
For reference: https://github.com/vim/vim/commit/473952e85286eb9c6098801f1819981ba61ad153#diff-3f7fe7da389a0156620b62301cfe8ad5R42-R63


bug need fix

when change one qty but add another one to cart, we will get pre one qty

can you please clearly explain this?
Thank you

Duplicate of #https://github.com/sivadass/react-shopping-cart/issues/42


Bugs

Bugs
Not installing with Rufus
I can install ChimeraOS fine with BalenaEtcher, but i'm unable to do so when using Rufus. Does anyone know the reason for this?
Can't install packages through pacman
I'm unable to install packages through pacman -S [package]. If anyone could just give me a tutorial on how to install Wine it would be highly appreciated :)

Another bug: I'm unable to install packages through pacman -S [package]. If anyone could just give me a tutorial on how to install Wine it would be highly appreciated :)

pacman is disabled. ChimeraOS is immutable.
You can install Lutris or similar using flatpak/Software store.
Or you can unlock the filesystem to use pacman with sudo frzr-unlock. Any changes you make will be lost after an OS update.


Making rhts metric value optional.

It's been identified in the following issue 2592 that the 'metric' value of the rhts call needs to be optional. As such, I've updated the logic in the BASH script to set it as such and have also updated some of the tests to ensure that when called without that parameter that the report is still generated but without the value having been set to anything.
Pull Request Checklist

[ ] implement the feature
[ ] write the documentation
[ ] extend the test coverage
[ ] update the specification
[ ] adjust plugin docstring
[ ] modify the json schema
[ ] mention the version
[ ] include a release note

/packit test --identifier full


Adding attributes to rows in a data table in “custom properties”

The metadata description of each row requires extensive description of business rules, such as the business meaning, etc.

Hello @k103hub, Thanks for creating the issue, It would be great if you share some examples of what you are looking for.

fyi

 fyi

Hello @k103hub , Can you please elaborate more as from image not clear what you want and why?

Business personnel need to understand the column from additional dimensions

@k103hub unclear what the ask is here. I'll be closing it. If you have a detailed explanation of the request feel free to re open it


refactored and updated

this project has been entirely refactored please accept the PR

accept the latest readme

any updates on this? @jkomg

@stevemart can hopefully direct this where it needs to go for someone to look at it, I'm not the OM for ICP any longer.

@SaifRehman the diff is huge, +963,966 −13,800, I have no idea where to start for a code review, aside from blindly merging this PR.
Can you update the first comment in this conversation with a summary of what changes were made?

done

any updates on this?


cross compile error

xrdp version
<IP_ADDRESS>
Detailed xrdp version, build options

Operating system & version
OpenWrt aarch64
Installation method
other
Which backend do you use?
No response
What desktop environment do you use?
OpenWrt
Environment xrdp running on
No response
What's your client?
No response
Area(s) with issue?
Other
Steps to reproduce
CONFIGURE_ARGS += \
	--prefix=/usr \
	--disable-pam \
	--enable-tjpeg

✔ Expected Behavior
No response
❌ Actual Behavior
2024-05-06T23:00:39.0737006Z verify_user.c:221:9: error: implicit declaration of function 'putpwent'; did you mean 'getpwent'? [-Werror=implicit-function-declaration]
2024-05-06T23:00:39.0738444Z   221 |         putpwent(spw, fd);
2024-05-06T23:00:39.0738972Z       |         ^~~~~~~~
2024-05-06T23:00:39.0739399Z       |         getpwent
2024-05-06T23:00:39.1114725Z cc1: all warnings being treated as errors
Anything else?
No response

Thanks for this @predators46
putpwent() is an interesting one. It's not in POSIX, and I can't find where it actually comes from.
Regarding your problem, I don't believe the function calling putpwent() is currently used. Can you try this patch against v<IP_ADDRESS>? That should let us find any other compile issues at least.
--- a/sesman/verify_user.c
+++ b/sesman/verify_user.c
@@ -42,8 +42,10 @@
 #define SECS_PER_DAY (24L*3600L)
 #endif

+#if 0
 static int
 auth_crypt_pwd(const char *pwd, const char *pln, char *crp);
+#endif

 static int
 auth_account_disabled(struct spwd *stp);
@@ -184,6 +186,7 @@ auth_check_pwd_chg(const char *user)
     return AUTH_PWD_CHG_OK;
 }

+#if 0
 int
 auth_change_pwd(const char *user, const char *newpwd)
 {
@@ -292,6 +295,7 @@ auth_crypt_pwd(const char *pwd, const char *pln, char *crp)

     return 0;
 }
+#endif

 /**
  *

@matt335672
there is another problem if doing cross compilation I don't find CC_FOR_BUILD in configure. keygen must cross-compile.
https://github.com/neutrinolabs/xrdp/blob/33670aed48ee6bdd5f9296ffa0bf36cf5ec9f934/keygen/Makefile.am#L23

Thanks for this @predators46
putpwent() is an interesting one. It's not in POSIX, and I can't find where it actually comes from.
Regarding your problem, I don't believe the function calling putpwent() is currently used. Can you try this patch against v<IP_ADDRESS>? That should let us find any other compile issues at least.
--- a/sesman/verify_user.c
+++ b/sesman/verify_user.c
@@ -42,8 +42,10 @@
 #define SECS_PER_DAY (24L*3600L)
 #endif

+#if 0
 static int
 auth_crypt_pwd(const char *pwd, const char *pln, char *crp);
+#endif

 static int
 auth_account_disabled(struct spwd *stp);
@@ -184,6 +186,7 @@ auth_check_pwd_chg(const char *user)
     return AUTH_PWD_CHG_OK;
 }

+#if 0
 int
 auth_change_pwd(const char *user, const char *newpwd)
 {
@@ -292,6 +295,7 @@ auth_crypt_pwd(const char *pwd, const char *pln, char *crp)

     return 0;
 }
+#endif

 /**
  *

alpine has patches
Upstream: Not applicable but they are doing it wrong
Reason: Upstream is enabling Werror for non-debug builds

diff --git a/configure.ac b/configure.ac
index 8a2d230..7c9fdc2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,8 +156,6 @@ AX_TYPE_SOCKLEN_T
 AX_CFLAGS_WARN_ALL
 AX_APPEND_COMPILE_FLAGS([-Wwrite-strings])

-AM_COND_IF([LINUX],
-  [AX_APPEND_COMPILE_FLAGS([-Werror])]) # bsd has warnings that have not been fixed yet

 AM_COND_IF([XRDP_DEBUG],
   [AX_APPEND_COMPILE_FLAGS([-g -O0])],

xrdp-keygen is a tricky one.
It's used by make install, but also needs to be available on the target system itself.
I'm wondering if a way round this is to ignore fails if xrdp-keygen during install, but to run it when the xrdp service is started if the file doesn't exist.
Presumably you're having to write a service script for OpenWRT to handle xrdp?

This patch should let the build run through without an rsakeys.ini being generated:-
--- a/keygen/Makefile.am
+++ b/keygen/Makefile.am
@@ -20,7 +20,7 @@ xrdpsysconfdir = $(sysconfdir)/xrdp
 install-data-hook:
        umask 077 && \
        if [ ! -f $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini ]; then \
-         ./xrdp-keygen xrdp $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini; \
+         ./xrdp-keygen xrdp $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini || : ; \
        fi && \
        if [ ! -f $(DESTDIR)$(xrdpsysconfdir)/cert.pem ]; then \
          $(OPENSSL) req -x509 -newkey rsa:2048 -sha256 -nodes \

@matt335672
thank you I understand now

Let me know how you get on - this definitely falls into the 'interesting' category of PRs!
We might want to add a way to disable the compile-time generation of rsakeys.ini and the TLS files. These are only useful if you're running make install on the local machine. They're pointless if you're building a package as they need to be regenerated for each machine that the package is installed on.

Let me know how you get on - this definitely falls into the 'interesting' category of PRs!
We might want to add a way to disable the compile-time generation of rsakeys.ini and the TLS files. These are only useful if you're running make install on the local machine. They're pointless if you're building a package as they need to be regenerated for each machine that the package is installed on.

in openwrt to cross compile you have to build the host first.
i can cross compile but xrdp needs openssl host while building xrdp as host but OpenWrt doesn't add host package in openssl
so for the time being, I created rsakeys.ini on my local machine.
is there a way to disable openssl in xrdp while building? i can cross compile if xrdp doesn't need openssl
currently I managed to build xrdp without rsakeys.ini when building xrdp.

I think that openssl is only used on make install. Is that what you are seeing?

I think that openssl is only used on make install. Is that what you are seeing?

I see openssl is required when building xrdp

Yes - the libraries are. You'll need those in your build environment.
We've looked into using other ssl libraries when all the fuss started over openssl maintenance, but in the end we didn't implement any changes apart from the migration to the EVP interface for OpenSSL 3.0.

@matt335672
maybe add --disable-openssl

We need some sort of SSL library to provide RDP over TLS which is pretty mandatory these days.
Is there anything that works better for you than openSSL in your environment?

We need some sort of SSL library to provide RDP over TLS which is pretty mandatory these days.
Is there anything that works better for you than openSSL in your environment?

I haven't tried again. i don't have access to my virtual machine on linode


Roll engine e695a516f148..802bd1518b30 (11 commits)

https://github.com/flutter/engine/compare/e695a516f148...802bd1518b30
git log e695a516f148cef9c7850a6e00151f00bfadf0d4..802bd1518b30948045ac7e7132d1b5ffae7b3ba9 --no-merges --oneline
802bd1518 iOS platform view opacity (flutter/engine#9667)
3b6265b74 Roll src/third_party/dart b5aeaa6796..06c3d7ad3a (44 commits)
887e05233 Refactor ColorFilter to have a native wrapper (flutter/engine#9668)
75387dbc1 TextStyle.height property as a multiple of font size instead of multiple of ascent+descent+leading. (flutter/engine#9041)
eb89d9d42 Explain why OpacityLayer has an offset field (flutter/engine#9713)
f37b78a39 Roll src/third_party/skia aee26ea14efc..56065d9b875f (16 commits) (flutter/engine#9714)
92c4469a7 Improve window documentation (flutter/engine#9669)
7a2232341 Revert "Roll src/third_party/dart b5aeaa6796...966038ef58 (#9708)" (flutter/engine#9711)
e9c3da4d7 Roll src/third_party/skia 829b6a0ff49f..aee26ea14efc (8 commits) (flutter/engine#9709)
4abf1d8a4 Revert "Revert "Use track-widget-creation transformer included in the sdk. (#9085)" (#9134)" (flutter/engine#9707)
cd2ab3761 Roll src/third_party/dart b5aeaa6796...966038ef58 (flutter/engine#9708)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5869516351864832

Commit queue failed; closing this roll.


TypeScript usage seems a little cumbersome

This is the best I can come up with:
import * as CreateSTLLoader from "three-stl-loader";
import * as THREE from "three"; // For the STLLoader
...
CreateSTLLoader(THREE);
let loader = new (<any>THREE).STLLoader();

I'm afraid I'm not sure whether I'm overlooking something, or what would be involved in making a better solution if I'm not.  For what it's worth, I'm using @types/three for TypeScript definitions of Three.js itself.

hmm, i don't like that THREE magically gets access to an STLLoader fxn after CreateSTLLoader is called.
in your example, it's no problem. but in a larger file, it could become less clear where THREE's STLLoader came from.


feat(TFD-1696) new Type Converter component

What is the current behavior? (You can also link to an open issue here)
In Data Streams we need to be able to convert fields of records into specific, strong data type but can't do it
What is the new behavior?
Adding a new component TypeConverter to fill this need
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...


UI for dealing/reading cards

Given a dataset and a spread, have a mechanism by which a user "deals" cards into each of the spaces of the spread, one at a time.
Before the card is dealt, user can hover over a space in the spread to get information about the meaning or connotation of that space.
When a card is dealt, user can hover over the card to get information about it.

All done!


DRT: InvalidStateError: Internal Dartium Exception

DRT messages have gotten much worse recently. If I open the same thing in Dartium, I get:
    Error:
    http://<IP_ADDRESS>:35669/root_dart/samples/third_party/todomvc/test/listorder_test.html?crossOriginPort=58094:0:
    Exception: No static method 'register' declared in class 'Polymer'.
    NoSuchMethodError: incorrect number of arguments passed to method named 'register'
    Receiver: Type: class 'Polymer'
    Tried calling: register("editable-label", type: Type: class 'EditableLabel')
    Found: register(String, [Type])
That's pretty useful. But from the command line this message doesn't appear.
You can reproduce by adding a bug somewhere in TodoMVC, then run:
$ python tools/test.py -mrelease -rdrt --checked -t240 samples/third_party/todomvc/test/listorder_test

FAILED: none-drt-checked release_ia32 samples/third_party/todomvc/test/listorder_test
Expected: Pass
Actual: RuntimeError
CommandOutput[content_shell]:
stdout:
CONSOLE MESSAGE: line 210: Error:
http://<IP_ADDRESS>:35669/root_dart/samples/third_party/todomvc/test/listorder_test.html?crossOriginPort=58094:0:
Exception: InvalidStateError: Internal Dartium Exception
CONSOLE MESSAGE: line 210: FAIL
Content-Type: text/plain
 Error:
http://<IP_ADDRESS>:35669/root_dart/samples/third_party/todomvc/test/listorder_test.html?crossOriginPort=58094:0:
Exception: InvalidStateError: Internal Dartium Exception
FAIL
#EOF
#EOF
stderr:
Xlib:  extension "RANDR" missing on display ":99".
#EOF
To retest, run:  /mnt/code/dart/dart/tools/testing/bin/linux/dart /mnt/code/dart/dart/tools/testing/dart/http_server.dart -p 35669 -c 58094 --build-directory=/mnt/code/dart/dart/out/ReleaseIA32 --runtime=drt
Command[content_shell]: /mnt/code/dart/dart/client/tests/drt/content_shell --no-timeout --dump-render-tree http://<IP_ADDRESS>:35669/root_dart/samples/third_party/todomvc/test/listorder_test.html?crossOriginPort=58094
Took 0:00:02.492000
Short reproduction command (experimental):
    python tools/test.py -mrelease -rdrt --checked -t240 samples/third_party/todomvc/test/listorder_test
===
=== 4 tests failed
===
[00:03 | 100% | +    0 | -    4]

assumed stale


Texture node should be present when texture file cannot be found

Summary:  When importing a prop/figure, all texture nodes should be created and linked even if the files they reference are missing
Here's how it stands now - when an imported prop/figure refers to a texture file that cannot be found:

In such case that a texture file may not exist at the location specified, PT could create the nodes for those files and connect them (but leaving the file location blank).
The user can then go into the Blender Shader and for each node missing a texture file, locate those files manually.

Great point


[release-2.6] Added sonar project properties file to repo

Related issue: https://github.com/stolostron/backlog/issues/24275
Signed-off-by: dislbenn<EMAIL_ADDRESS>

/hold

/lgtm

/unhold


[Breaking Change] Report should link to prior preview with approved breaking changes

Breaking changes approved in a preview version will be flagged for review in all subsequent api-versions until they finally make it to a GA version. These redundant reviews are wasteful, consuming reviewer time and slowing down service teams.
In an ideal world such "re-appovals" would be automated, but that would require checking that no new breaking changes were introduced in the new api-version. However, there is part of the process that could be automated -- checking for a prior preview, finding the relevant PR, and checking to see if it has approved breaking changes.
Specifically, I would like the Breaking Changes report to add a message near the top of the report -- only added when there is a prior preview with approved breaking changes -- that says something like:

Breaking changes may have been previously approved in [PR link].

There is an email thread, Re: Breaking Changes for Microsoft.Sql 2023-02-01-preview Version Release, with @jeremyfrosti where this issue is particularly acute. That is: Jeremy pushed many updates to their dev release* branch resulting in reviews. Then when finally merging the dev branch to main, in this PR:

https://github.com/Azure/azure-rest-api-specs/pull/25293

The breaking changes were reported all over again. Jeremy had to resort to manually compiling a table of all the previous PRs where appropriate breaking changes have been already approved.
Note there is a related issue where we want to disable mandatory reviews (just the reviews, not the checks) of breaking changes on PRs to dev branch:

https://github.com/Azure/azure-sdk-tools/issues/5838

This way users would still get feedback early, but the formal breaking change review would happen only once, when merging the dev branch to main.

Additional context in Teams, here.


Android Basics issue:

URL of codelab
In which task and step of the codelab can this issue be found?
Describe the problem
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@yukan980905
The issue is closed as no further clarification of it was provided.


[Bug] series.labelLayout: hideOverlay not working with yarn build and yes in development

Version
5.4.1
Link to Minimal Reproduction
https://jsfiddle.net/Eloy97/s6ctu3fw/4/
Steps to Reproduce
The test is carried out with an application in ReactJS and with another that is Vite + ReactJS.
Current Behavior
The chart behaves as expected with series.labels Layout: {hide Overlap: true} when you run the yarn build, in production the chart displays differently.

Expected Behavior
The chart behaves as expected with series.labels Layout: {hide Overlap: true} on development

Environment
- OS: Ubuntu 20.04.4 LTS
- Browser: Chrome Versión 110.0.5481.100 (Build oficial) (64 bits)
- Framework: "vite": "^4.1.0"

Any additional comments?
No response

Sorry this is an known issue that the LabelLayout feature will be tree-shaked when building. Please import this feature manually for now.
import * as echarts from 'echarts/core'
import { LabelLayout } from 'echarts/features'

echarts.use([LabelLayout])

Thanks, it's works.


The solution for insure #29 Inline JavaScript

This pull request is The solution for insure #29 Inline JavaScript

@ranforce neat, thanks for your PR. I ran into the same issue.
@izolate any chance, this gets a review and can get merged?

@ranforce is it possible that you can add this for style as well?

@JPeer264  In my case, i didn't get more changes to use this pkg, u can try to fork , publish, and use ur own pkg.

@ranforce thanks for the follow up, the update and your suggestions :+1:

Hi @ranforce ,
Thank you for your contributions, but I'm closing this in favour of #35. The library core has been refactored and these issues addressed in the linked PR.
cc @JPeer264


Cannot read property "indexOf" null

I was getting this error, the same as in #1 .

2019-02-26T05:27:05.6187481Z Task         : Update config
2019-02-26T05:27:05.6187672Z Description  : Update config variables in files
2019-02-26T05:27:05.6187835Z Version      : 1.2.2
2019-02-26T05:27:05.6187985Z Author       : Digitalmedia34
2019-02-26T05:27:05.6188204Z Help         : v1.2.2 - [More Information](https://github.com/digitalmedia34/updateconfig#readme)
2019-02-26T05:27:05.6188432Z ==============================================================================
2019-02-26T05:27:05.9355690Z ##[error]Cannot read property 'indexOf' of null

The cause was that one app setting in my config file did not have a matching release variable. Does this task require a variable to be present for every setting in the config file?
It would be great if this task would 1) provide a better error message or 2) even better, not require there to be a release variable for every config setting.

I believe this is related to #2 .
My config file has two settings:
ToAddress
TestToAddresses
TestToAddresses was not defined in the release stage where I got this error.
I would like to install version 1.2.3 to see if this resolves the issue but like #3 , I'm also unable to install this version. I uninstalled and reinstalled but it still looks like I have version 1.2.2, at least that's what's printing in the logs.
It's odd because I see that the version is 1.2.3 in the marketplace but that's not what I'm getting.

I made some improvement and update the version to 1.3.0.


python310Packages.losant-rest: 1.16.2 -> 1.16.3

Description of changes
Update to latest upstream release 1.16.3

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 178706 run on x86_64-linux 1

2 packages built:

python310Packages.losant-rest
python39Packages.losant-rest


Remove replicated usage instructions

Summary

Closes #59
Closes #69
Depends on PR: https://github.com/canonical/matter-docs/pull/27

In a future PR that updates this README.md, it would be helpful to mention in the HW Compatibility section that this snap hasn't been tested on other SBCs, but it may / could work.

Yes, with a bit of luck:
https://github.com/canonical/matter-pi-gpio-commander/blob/5f3a19552ffd3d83e224a48a51f58e0fac6f8640/snap/snapcraft.yaml#L18-L29


add operation docs

rewrite getting_started
create operation section to hold

install
configuration
protocol upgrade

It is necessary to add more docs to fill the operation section, refer to #78.
Need you guys help @jiangxianliang007 @kaikai1024

Please declare it with a comment when you deal with the feedback.
Then reviewers can get notificitions.

@kaikai1024 done

cool. would you please post some previews?


PLW3201 conflicts with attrs initialization best practices

https://www.attrs.org/en/stable/init.html#hooking-yourself-into-initialization recommends dunder methods: .__attrs_pre_init__, .__attrs_post_init__, and .__attrs_init__ which PLW3201 (bad-dunder-method-name) flags.

We should add these.


Use d3-geo-projection

I noticed in a tweet by mbostock this weekend that d3-geo-projection actually ships with command line tools which might obviate some of the work that's happening in reproject-geojson.   I think it would make sense to refactor to use that, and keep this repository very specifically focused on the trickery required to get this to work with Mapbox Studio / GL

Yeah, I basically discovered that around the same time and am working on that in this more projections branch.
One issue I ran into early on is that all the projections come of the box with a flipped Y axis. I'm betting this is to make it plug-and-play with the D3/SVG workflow, which flips the Y axis as well. I made forks of d3-geo and d3-geo-projection to correct this, and it's working for everything except the all-important Albers US projection, which shows Hawai'i and Alaska right, but the continental 48 upside-down. This was as far as I got last weekend.

@anandthakker if you have a cycle and want to take a look at the current state of things, that branch is the place to start. My fork of d3-geo, where the projection calculation is happening, is here. I almost didn't have to fork d3-geo-projection, except it includes d3-geo as a dep.

A cleaner option could be to leave d3-geo alone and flip the projected data ourselves, or go back to using the script you already wrote. The d3-geo-projection CL tool is a bit cleaner on some of the weirder projections though.

Ah, cool.  I'll check out that branch -- maybe there's a nice in-between
solution; I think it would be beneficial to avoid forking the d3-* stuff if
possible.
On Mon, Nov 21, 2016 at 7:31 PM Derek Lieu<EMAIL_ADDRESS>wrote:

A cleaner option could be to leave d3-geo alone and flip the projected
data ourselves, or go back to using the script you already wrote. The
d3-geo-projection CL tool is a bit cleaner on some of the weirder
projections though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/developmentseed/dirty-reprojectors/issues/5#issuecomment-262111710,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvmR-0dMhOToHLNSEzzr6arOq69nuduks5rAjfZgaJpZM4Kxk_j
.

See #6


Faculty profile page..

Add a page for faculty to show their bio..
At least, department...

Options for changing password needs to be provided for the faculty in the profile tab.

Added faculty profile page..
It displays their Name and Department
Now, faculty can change the password...

I'm re-opening this because of inconsistencies and bugs in the faculty view.

The profile page link disappears when the user navigates to the FAQ page.
The top nav bar in the faculty FAQ page says "Home", but it should be showing "Advisees" and "Courses". The same issue is present when the faculty is seeing the courses taken by a student and when viewing course applicants. I think "courses" and "advisees" should be rendered in separate views like '/faculty/courses' and '/faculty/advisees'.
In the course page for faculty to approve students, the email address at the right top disappears, and hitting on the profile page under the nameless dropdown menu triggers a server error.

All the above issues are fixed with current push!!


Compatibility with Cloud Foundry

Check the readme comments for more details.
Added minor information in order to be deployable into IBM Bluemix (based on Cloud Foundry open technology).

Nice! Thanks!

Thank you for your excellent work on this tool. It has helped me a lot! I contributed just a little bit, but hope to do more.


Upgrade from v4 to v5: Error: Invalid byte sequence

Describe the bug
When upgrading the Stacks.js deps from v4 to v5 I am receiving one of the following error Error: hexToBytes: received invalid unpadded hex119 or Error: Invalid byte sequence. Does this has to do with the signature prefix change? It's not clear from the codebase if one has to do any change to get it to work.
Log:
Error: hexToBytes: received invalid unpadded hex119
    at hexToBytes (/Users/leo/dev/sigle/sigle/node_modules/.pnpm/@noble+secp256k1@1.6.3/node_modules/@noble/secp256k1/lib/index.js:528:15)
    at ensureBytes (/Users/leo/dev/sigle/sigle/node_modules/.pnpm/@noble+secp256k1@1.6.3/node_modules/@noble/secp256k1/lib/index.js:544:63)
    at Function.fromSignature (/Users/leo/dev/sigle/sigle/node_modules/.pnpm/@noble+secp256k1@1.6.3/node_modules/@noble/secp256k1/lib/index.js:304:19)
    at publicKeyFromSignatureVrs (/Users/leo/dev/sigle/sigle/node_modules/.pnpm/@stacks+transactions@5.0.1/node_modules/@stacks/transactions/dist/keys.js:40:37)
    at publicKeyFromSignatureRsv (/Users/leo/dev/sigle/sigle/node_modules/.pnpm/@stacks+transactions@5.0.1/node_modules/@stacks/transactions/dist/keys.js:46:12)
    at eval (webpack-internal:///(api)/./src/modules/auth/sign-in-with-stacks/signInWithStacksMessage.ts:196:114)
    at Array.map (<anonymous>)
    at eval (webpack-internal:///(api)/./src/modules/auth/sign-in-with-stacks/signInWithStacksMessage.ts:195:87)
    at new Promise (<anonymous>)
    at SignInWithStacksMessage.verify (webpack-internal:///(api)/./src/modules/auth/sign-in-with-stacks/signInWithStacksMessage.ts:130:16)

To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/sigle/sigle/pull/720 and clone the branch locally
pnpm install && cd sigle
pnpm dev
Login and try to sign the message and see error

Expected behavior
Upgrade should work just fine.

Will check now 🤔

This is part of the change from Buffers to UInt8Arrays. There is some more information in the migration guide. In this case it's tricky to find, since Buffer wasn't mentioned in the previous code, even though it was a buffer type. The .toString('hex') is something that mostly works on Buffers, and in this case JS ignore the 'hex' part and just converted the bytes to an array-string, which isn't hex compatible.
This patch should solve the issue.

Thanks for the help @janniks !


BlockMaxSize and BlockMaxWeight are stored as long, uint and int. Casts. Everywhere.

We should decide on data type and use it everywhere.
I believe long makes the most sense for these values, as we won't have issues with large numbers in the future (sure, who wants 2GB blocks now, buttttt who knows?), and there are a lot of places that calculations happen with these numbers, so long will be easier to use than ulong.
I have noticed that the 'configuration' seems to only deseralize ints? So this may need to be fixed too.

Closing and re-raising in VSTS.


chore: upgrade to latest checkpoint with optimistic indexing

Need to link latest checkpoint.

To use optimistic indexing we would need to add the config optimistic_indexing isn't?

It just updates the code to work with latest checkpoint that added optimistic indexing so we need to use different way of accessing block numbers.
It doesn’t actually enable it.


asynchronous requests

Good morning,
this is my Repository:
`[Transaction(ReadOnly = true)]
public abstract class EntityRepository<T, K> : IEntityRepository<T, K> where T : Entity
{
[Autowired]
public ISessionFactory SessionFactory { protected get; set; }
    protected ISession CurrentSession
    {
        get
        {
            return SessionFactory.GetCurrentSession();
        }
    }

    public FlushMode FlushMode
    {
        get
        {
            return CurrentSession.FlushMode;
        }
        set
        {
            CurrentSession.FlushMode = value;
        }
    }

    public K Save(T entity)
    {
        return (K)CurrentSession.Save(entity);
    }

    public async Task<K> SaveAsync(T entity)
    {
        return (K)await CurrentSession.SaveAsync(entity);
    }

    public void Save(IEnumerable<T> entities)
    {
        foreach (T entity in entities)
        {
            CurrentSession.Save(entity);
        }
    }

    public T Get(K id)
    {
        return CurrentSession.Get<T>(id);
    }

    public async Task<T> GetAsync(K id)
    {
        using (var session = SessionFactory.OpenSession())
        {
            return await session.GetAsync<T>(id);
        }
    }

    public IQueryable<T> GetAllQueryable()
    {
        return CurrentSession.Query<T>();
    }`

and to make asynchronous requests I have to create a new session:
using (var session = SessionFactory.OpenSession())             {                 return await session.GetAsync<T>(id);             }
@lahma how can I configure nhibernate and spring to use the current session in asynchronous requests?

This would probably require NHibernate's AsyncLocalSessionContext to be in use and Spring.NET definitely hasn't been updated to work with that. Spring.NET uses LogicalThreadContext which in turn uses ThreadStaticStorage (has backing field with [ThreadStatic] attribute). So this would require some changes to work with async flow.

Will there be support in the future?

I personally would be more than willing to review a pull request for that 😉

@lahma how can i create a pull request for that?

I think GitHub has quite good documentation about  forking and creating PRs from your work .

@lahma Who here accepts our PR's? I want to add support for Integrated Pipeline Mode which doesn't set HttpContext.Current.Request and screws up Spring Object creation.

@Exagram I can gladly have a look, I have rights to bring in PRs.

I'm doing a rude experiment with closing this, like what stale bot does, but maybe more human as I will probably actually react to feedback. As this issue has been stale for so long, I'll close it. If it's still an issue you would like to pursue, we can definitely reopen.
With limited resources this is just something that we need to do. Thank you for your understanding.

I'm using Spring.NET from a long time. I stick to it because of Spring.Data, especially it's transaction management.
Recently I've experimented with asynchronous code in ASP.NET Core with .NET 6.
I've used following line in the controller to cause thread switching:
Console.WriteLine("thisIsAsyncStart: " + System.Threading.Thread.CurrentThread.ManagedThreadId.ToString()); await Task.Delay(3000); Console.WriteLine("thisIsAsyncEnd: " + System.Threading.Thread.CurrentThread.ManagedThreadId.ToString());
This caused an error:

'No value for key [Spring.Data.Common.DbProvider] bound to thread [.NET TP Worker]'

I have the transaction open at the beginning of controller method.
However when I've placed following in Startup.cs:
ThreadStaticStorage.UseAsyncLocal = true;
then everything works fine. I'm using mix of NHibernate and Spring.Data with HibernateTransactionManager.
I think that this could be useful info for somebody.
Possible it would be better to have something like this:
LogicalThreadContext.SetStorage(new AsyncLocalStorage());
but anyway it just works.


Allow for class static vars to be called static

Fixes #43836 - due to the implementation of #41127 which ended up triggering the bug
Now you can have a static variable called static, and code like static static p: string doesn't work because that's static static and p: string but you need to add a ; to correctly disambiguate.
/cc @weswigham

To make sure I understand correctly, this PR allows declaration of static properties named static if they're formatted like so
static
static

at the cost of a non-specific error message in case of duplicated static keywords -- the new message kind of assumes that you meant to declare a property named static, followed by a static property named p. Is that correct?

Essentially yes - since you can only have one static modifier, and you're allowed to have a static property named static.

OK, let's get this in as it's been reviewed and we felt pretty confident with it


BadQueryRequestException when filtering on metric column first

This is a weird one.
This query works fine
select currency, sum(amount)
from my table
where id = X
and amount > 0
group by currency

The following query fails
select currency, sum(amount)
from my table
where amount > 0
and id = X
group by currency

I get back
[
  {
    "errorCode": 200,
    "message": "QueryExecutionError:\norg.apache.pinot.spi.exception.BadQueryRequestException: Unsupported function: sum not found\n\tat org.apache.pinot.core.operator.transform.function.TransformFunctionFactory.get(TransformFunctionFactory.java:296)\n\tat org.apache.pinot.core.operator.transform.function.TransformFunctionFactory.get(TransformFunctionFactory.java:259)\n\tat org.apache.pinot.core.operator.filter.ExpressionFilterOperator.<init>(ExpressionFilterOperator.java:59)\n\tat org.apache.pinot.core.plan.FilterPlanNode.constructPhysicalOperator(FilterPlanNode.java:237)"
  },
  {
    "errorCode": 200,
    "message": "QueryExecutionError:\norg.apache.pinot.spi.exception.BadQueryRequestException: Unsupported function: sum not found\n\tat org.apache.pinot.core.operator.transform.function.TransformFunctionFactory.get(TransformFunctionFactory.java:296)\n\tat org.apache.pinot.core.operator.transform.function.TransformFunctionFactory.get(TransformFunctionFactory.java:259)\n\tat org.apache.pinot.core.operator.filter.ExpressionFilterOperator.<init>(ExpressionFilterOperator.java:59)\n\tat org.apache.pinot.core.plan.FilterPlanNode.constructPhysicalOperator(FilterPlanNode.java:237)"
  }
]

I've tried <, >, =, is null, is not null; but no matter what, if you filter on amount first, the query fails.
I can't repro with latest master and the meetupRsvp table, so it might already be fixed.

The query is missing the group by currency though. What is the response with the latest master?

i just missed typing it. I've updated the description. I will be updating to latest master early next week so can check again.

It seems even after moving the filter condition around and updating to latest master, this is still happening

Based on the exception message, the engine is processing sum(amount) in the filter clause. Do you have alias in the query? Based on the query I don't know how is that possible though..

Ohhh you're totally right and this is a result of our confusing column names.
Because we pre-aggregate, we name the column 'sum_amount'. And then when we query we do 'sum(sum_amount) as amount'. So filtering by 'amount' is wrong and only looks like it should work because of the alias. In reality the column is 'sum_amount'
Cc @noon-stripe


[AutoPR sql/resource-manager] Failover Database Readable Secondary

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7405

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/6184


Integrations: Add Uptime Robot integration

Add Uptime Robot Integration as mentioned in issue #13854.
Uptime Robot webhook informs users if their site is up or down, so give appropriate message for these two events.

Thanks for this! Could you squash the commits into one? And have you tried testing manually?
Overall looks good to me, but I haven't worked with our webhooks, so it may be best to wait for Tim to review.

@mateuszmandera squashed the commits and improved the doc. Regarding manual testing the webhook supports only two events so I made sure it worked for those events and the integration works fine on my pc. If there is anything else I can do regarding manual testing please suggest.

That's good I think. Let's wait for @timabbott to take a look.

@timabbot Updated the documentation and changed the output form according to review. Kindly check.

I am interested in this feature and would be willing to contribute, is there anything left to do here before merging?


Exception on demo site

I just tried out a yubikey device on this demo site: https://demo.yubico.com/u2f?tab=register
Registration failed with this error:
Traceback (most recent call last):
File "/root/python-u2flib-server-demo/examples/yubiauth_server.py", line 161, in call
raise Exception("FIDO Client error: %s" % error)
Exception: FIDO Client error: 1 (OTHER ERROR)
It shouldn't raise an exception for any client input, right? Let me know if this is the right place for the bug. I'm using Chromium on Lubuntu 16.04, if that helps.

I had the same thing on Fedora.. found the solution (udev rules) here: https://forum.yubico.com/viewtopic.php?p=5938#p5938

I had the same thing on Fedora.. found the solution (udev rules) here: https://forum.yubico.com/viewtopic.php?p=5938#p5938

This link is broken. I know the issue is closed, but still may be a good pointer for who comes with the same problem and google to here. Thanks.

Thanks @drbeco. Unbroken link: https://forum.yubico.com/viewtopic4e66.html?p=5938#p5938


PAINT_002 Draw a point

Acceptance Criteria:
-) Create points when tapped on canvas
Description:
As a user I want to draw a point at the position of my finger on the painting area (white area on the screen).

Finished feature


Revoked hosted assertions shown as valid in validator

The Open Badges documentation states:
If either the 410 Gone status or a response body declaring revoked true is returned, the Assertion should be treated as revoked and thus invalid.
I'm testing an assertion with both 410 status and revoked = true and it's shown as valid in the validator.
https://jhpdn65dri.execute-api.us-east-1.amazonaws.com/Prod/certificado/f7e372de-c1b8-43f7-b13c-70f672bc18f2.json

Also, there's a mismatch between how revoked assertions are shown by the validator for hosted and signed assertions.
Hosted revoked assertions are shown as valid but signed revoked assertions are shown as not valid with the following error message:
"report": {
        "openBadgesVersion": "2.0",
        "errorCount": 1,
        "warningCount": 0,
        "validationSubject": "urn:uuid:39d90b25-5ddb-4518-8f05-1ac74f1c1f91",
        "messages": [
            {
                "messageLevel": "ERROR",
                "node_id": "urn:uuid:39d90b25-5ddb-4518-8f05-1ac74f1c1f91",
                "success": false,
                "result": "Assertion urn:uuid:39d90b25-5ddb-4518-8f05-1ac74f1c1f91 has been revoked in RevocationList https://REDACTED/revocationlist/org14.json with reason: Generado por error 2",
                "name": "VERIFY_SIGNED_ASSERTION_NOT_REVOKED"
            }
        ],
        "valid": false
    }


Added ubuntu 16 support to solve #16

Here is my try to solve the issue #16 with the new directories : we add PETSC_DIR/$PETSC_ARCH to the search.

Sorry for the late reply. With the pull requestion #18 , my problem is solved so there is no need for this patch anymore. I just need to set PETSC_DIR=/usr/lib/petscdir/3.6.2/x86_64-linux-gnu-real ant it works.


Improve compatibility with Eclipse

See #217. This fixes the issues mentioned there. In addition it also excludes build artifacts from tracking.

Hey! Thank you so much for all of your work on this! I've been kinda AWOL the past few months, but I'll be going through your work and merging it all in over this weekend!


feat: update landing page layout and content

Description

This PR updates the layout and content of the landing page.
The layout follows #239
I have rewritten the goals by putting two of the existing goals into one ("To create a framework for setting up an infrastructure for health data" and  "To develop the framework as installable software") and adding a goal of "leading by example". What do you think?
I have also added a "definition" of a data resource to make it a bit clearer for new users what is meant there.
These changes are done to make the landing page more visually appealing and to update the content that users/visitors of the webpage meet first.

Related Issues

Closes #144 and #241

See also Issues #...
Reviewer Focus

This PR requires an in-depth review.

Checklist

For all PRs that are not general documentation

[ ] Tests accompany or reflect changes to the code
[ ] Tests ran and passed locally
[ ] Ran the linter and formatter
[ ] Build has passed locally
[ ] Relevant documentation has been updated

For general documentation:

[X] Spell-check
[X] Did the page(s) preview correctly on your machine without breaking
[X] New category words (keywords) (if any) added to the code snippet file (none)

Nice with the shorter texts! 🎉


Pull request for issue #1179 on phalcon/zephir: Use camelization for getter/setter shortcut function names

This change results in auto-generation of getter/setter function names using camelization of property name instead of first letter capitalization when processing getter/setter shortcut directives. Example: If property is
protected my_sample_property {
    get, set
};

then the auto-generated PHP setter/getter function names will now be generated as
getMySampleProperty()
setMySampleProperty()

which is more conventional, rather than
getMy_sample_property()
setMy_sample_property()

Looks good to me

:+1:

Thanks!


Maybe use Type 1 fonts intead of Type 3 fonts

Currently bitmap Type 3 fonts are used in the generated PDF (at least on Texlive 2018 on Debian Buster), which makes rendering quite slow.
I believe Type 1 fonts would increase experience -- I used
\usepackage{lmodern}

to use them.

Thanks for the tip, fixed in 637606137bde9b499ee63001deb1dcafffe3cbb3.


Add mvn & travis testing to everything.

Java

[x] Ensure all Java samples build.
[ ] Ensure all Java samples pass check style.
[ ] Get unit & integration tests running on Travis.

Python

[x] Lint
[ ] Test

Scala

[ ] Build
[ ] Test

Build Java: https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/154

The following Java samples do not pass checkstyle:

dataproc-wordcount
dataflow-connector-examples
gae-flexible-helloworld
simple-cli
simple-performance-test

I'm about to replace gae-flexible-helloworld

Unlikely to move forward with this issue as we are working on migrating samples out of this repo. Closing for now, please reopen if there's a still a strong case for this work.


Prevent denial of service attack

This is a spinoff of #347.
Issue #347 is about some unfortunate situation that caused the creation of two issues with that same title which is also the ID of the issue hosting the comments for a particular page.
As @sirinath pointed out in https://github.com/utterance/utterances/issues/347#issuecomment-652245246, a malicious user could carry out a denial of service attack by creating a new issue with a title matching that of an existing issue being used by utterances to store the comments for a particular page.  This is because utterances decides to fail when it finds multiple matching issues.

Alternatives behaviors include

merging the comments from all matching issues for display or
only displaying the comments from the least recent matching issue.

(Only displaying the comments from the most recent matching issue suffers from a similar security issue as the current behavior.)
It would be easier to only display the comments from the least recent matching issue, and this is also the behavior that I prefer.

I think "merging the comments from all matching issues for display" is the best option as users can open issues directly on GitHub which might be valid comments or issues with the page or content.


add get value or default function

While converting deis to confd 0.7, I couldn't find a way to express "get value or default", which is used a lot in deis.
This PR adds a function, which returns a default value, when the key is not found. I'm not super happy with the name, so feel free to make me change it ;-)

I'd personally change it to getvor, otherwise this is very a useful function instead of having to write out {{ if exists }}{{ else }}{{ end }} everywhere in our templates. :+1:

Actually, I'm wondering if we should have something similar to getv that returns an empty string if the key's not found so we can take advantage of existing text/template functions, e.g. {{ or (getv "/this/key/does/not/exist") "default"}}.

I was searching right now if theres a way to do this after getting errors trying to write a template like VAR = '{{ or (getv /some/key/in/etcd) "" }}'. Will be VERY useful :+1:

Fixed in 71620c5


fix typo

Pull Request Test Coverage Report for Build 92

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 72.283%

Totals

Change from base Build 88:
0.0%

Covered Lines:
1124

Relevant Lines:
1555

💛  - Coveralls

Pull Request Test Coverage Report for Build 92

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 72.283%

Totals

Change from base Build 88:
0.0%

Covered Lines:
1124

Relevant Lines:
1555

💛  - Coveralls


Transform input streams into consistent JSON objects

Implement (or require) a stream that parses its input buffers and transforms input CSV, JSON, etc to json objects that will be written as blocks in our hypercore feeds.
There's Placeholder code for this stream in lib/import.js (see PR #31)
This is the functionality that parse-input-stream aims to support. If you can get that module to work, feel free to use it!
If you don't want to use parse-input-stream, you could use some of the libraries it depends on to parse csv, json, etc (look in the package.json).  Otherwise, grab the CSV parsing code form last week. Check out the parse_csv branch for some code you could start with.

For reference, here are some tests I wrote that trigger the whole importStream pipeline and test the results.  Note It might be better to test the parseInputStream function on its own, and then test the import process more broadly.
Also see the tests for the csv-parser module. They're a good reference.
Import json
test('import json to jawn', function (t) {
  var jawn = freshJawn()
  var importStream = jawn.createImportStream({'format': 'json'})
  // Imitate the stream that would come from reading sample.csv
  // importStream should parse the CSV correctly, identifying the first row as headers
  // This is the same as doing
  //    var data = fs.createReadStream('./test/data/sample.csv')
  //    data.pipe(importStream)
  // except the writes are being performed synchronously/inline so we can call importStream.end() after writing the contents into it.
  importStream.write('{foo: "bar", name: "josie"}')
  importStream.write('{foo: "baz", name: "eloise"}')
  importStream.write('{foo: "baz", name: "francoise"}')

  var expected = [
    {foo: "bar", name: "josie"},
    {foo: "baz", name: "eloise"},
    {foo: "baz", name: "francoise"}
  ]

  importStream.end(function () {
    var feedId = importStream.id.toString('hex')
    var rs = jawn.core.createReadStream(feedId)
    rs.on('data', function (block) {
      t.same(block.toString(), expected.shift(), 'block matches imported line')
    })
    t.same(jawn.core.get(feedId).blocks, 3, 'correct number of blocks returned')
    t.end()
  })
})

Import csv
test('import csv to jawn', function (t) {
  var jawn = freshJawn()
  var importStream = jawn.createImportStream({'format': 'csv'})
  // Imitate the stream that would come from reading sample.csv
  // importStream should parse the CSV correctly, identifying the first row as headers
  // This is the same as doing
  //    var data = fs.createReadStream('./test/sample/sample.csv')
  //    data.pipe(importStream)
  // except the writes are being performed synchronously/inline so we can call importStream.end() after writing the contents into it.
  importStream.write('Type of Experience,Little/No Experience,Some Experience,Very Familiar')
  importStream.write('Writing software in any programming language,1,5,4')
  importStream.write('Frontend Web Development,4,3,3')
  importStream.write('Server-side (“backend”) Web Development,4,4,2')
  importStream.write('"Using Git to track changes and share code (add, commit, push, pull)",2,5,3')

  var expected = [
              {'Type of Experience': 'Writing software in any programming language', 'Little/No Experience': 1, 'Some Experience': 5, 'Very Familiar': 4},
              {'Type of Experience': 'Frontend Web Development', 'Little/No Experience': 4, 'Some Experience': 3, 'Very Familiar': 3},
              {'Type of Experience': 'Server-side (backend) Web Development', 'Little/No Experience': 4, 'Some Experience': 4, 'Very Familiar': 2},
              {'Type of Experience': 'Using Git to track changes and share code (add, commit, push, pull)', 'Little/No Experience': 2, 'Some Experience': 5, 'Very Familiar': 3}
  ]

  importStream.end(function () {
    var feedId = importStream.id.toString('hex')
    var rs = jawn.core.createReadStream(feedId)

    rs.on('data', function (block) {
      t.same(block.toString(), expected.shift(), 'block matches imported line')
    })

    var blocks = jawn.core.get(feedId).blocks

    // If you get 5 blocks instead of 4, importStream probably did not recognize the CSV headers
    t.same(blocks, 4, 'correct number of blocks returned')
    t.end()
  })
})

FYI I figured out how to make parse-input-stream work. See the tests in this PR on that github repo https://github.com/karissa/parse-input-stream/pull/2


Package in Opensuse Build Service?

I was just wondering if this would be possible

I'm hoping for it to go into the obs and support OpenSUSE


Error when static_dir, static_route or templates_dir are set None

The case where static_dir, static_route or templates_dir are set to None is not handled
api = API(static_dir=None, static_rout=None, templates_dir=None)

I'm gonna disable static serving if they are set to None


Any interest in a material-ui implementation example?

Not sure if this is of any interest to you guys, but I grabbed the fork from https://github.com/ctrlplusb/react-universally/pull/366#issuecomment-298662808 and added material-ui which was a bit difficult for me, being my second day on the job as a React developer. No idea if this aligns with your goals in maintaining branches with other ingredients in the recipe.
Went down a rabbit hole with the material-ui folks due to the complexity in the redux-opinionated fork:
https://github.com/nathanmarks/jss-theme-reactor/issues/41#issuecomment-298260293
https://github.com/brianfeister/react-universally/commit/2e80248a2c46b68fe38fa7c022dad33fd07a84de
/cc @ctrlplusb @sergiokopplin

Hey Brian, we're trying to keep the project as lean as possible, so I think we have to pass on that, and other UI libraries. This project is not meant to solve UI.
I get that you're new to react, keep up the good work and you'll get there.

Cool, no worries


test cluster with Anaconda and PySpark

Use scripts developed in Phase 1 to test the cluster and document the speed differences.  Use the same data set.

Done.  The numbers will be documented in https://github.com/lowcloudnine/singularity-spark/issues/9.


incorrect value written to memory after returning from a STATICCALL

The following is failing:
[503] (tests/GeneralStateTests/stStaticCall/static_CallEcrecover0.json,static_CallEcrecover0_Berlin_0_0_0)
The trace below shows us that upon returning from the STATICCALL, what has been written to memory is incorrect.

Having looked at this now, I think this is just really a duplicate of #338.  Basically, the ECDSARECOVER precompiled contract is not implemented yet.


404 Not found !

The library is not working on Android Studio. Showing 404 error on download links.
Problem with jitpack :(

Checking and fixing it.

@abir-cse
Solution:
Add this in your settings.gradle:
maven { url 'https://jitpack.io' }

If you are using settings.gradle.kts, add the following:
maven { setUrl("https://jitpack.io") }

Add this in your build.gradle
implementation 'com.github.amitshekhariitbhu:PRDownloader:1.0.1'

If you are using build.gradle.kts, add the following:
implementation("com.github.amitshekhariitbhu:PRDownloader:1.0.1")

It's working.
Thank you.


[Bug]:

Notebook with bug
LLM_finetuning_and_batch_inference.ipynb
What happened?
Get the following errors while running the following cell
trainer = HuggingFaceTrainer(     trainer_init_per_worker=trainer_init_per_worker,     scaling_config=ScalingConfig(num_workers=num_workers, use_gpu=use_gpu),     datasets={         "train": train_dataset,         "evaluation": validation_dataset,     },     run_config=RunConfig(         checkpoint_config=CheckpointConfig(             num_to_keep=1,             checkpoint_score_attribute="eval_loss",             checkpoint_score_order="min",         ),     ),     preprocessor=batch_preprocessor, )

Environment info
ray 2.8 python3.9
Issue Severity
High: It blocks me from completing my task.

@kamil-kaczmarek is it possible to update the document or rewrite the function using ray 2.8?

Hi @robinsonmhj, thanks for pointing this out.
We introduced new, simpler API in Ray 2.7, including unified Torch based Trainers.
Have a look at new integration with Transformers, that will help you navigate the transition.


NESICA - Review iDmacDrv Dll

About this issue : https://github.com/vicboma1/loaderDumpsArcade/issues/76
Review Fast I/O Emu for NESICAxLive games

Hooking
https://github.com/vicboma1/loaderDumpsArcade/tree/master/assets/Platform/Hooks/iDmacDrv32


CUI-7170 Coral.ColumnView: single selection loads next

Description
The actual issue is that on selecting the item(clicking on thumbnail) in a column view(selectionMode : Single), it loads the next column.
The root cause is the code triggers the activate event of next column when an item is selected. AFAIU Setting an item as active results in loads item data , which is the folder content.
This is not the expected behaviour. In 6.3 , next column is not loaded on selecting asset thumbnail .
Related Issue

Motivation and Context

How Has This Been Tested?
Have run Gulp build and verified everything run fines .
CQ Issue also got resolved after applying this fix.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.

@icaraps Please review it. Or please tag appropriate reviewer for coral-spectrum PR

cc @CezCz @majornista for review

I have incorporated changes requested from @indra2gurjar  .
Please review @indra2gurjar  @icaraps  @CezCz @majornista

@icaraps @CezCz  This is a customer issue delaying which affects the SLA. Request you to review.
Changes looks fine to me.
cc @gagan031992

@icaraps thanks for review

@icaraps  Please review it now


Refactor auth interceptors

-- cleanup of auth interceptors code after upgrading to version 1.9.3. of google.apis.auth library.
-- make method details accessible from header interceptor.

The Windows tests failed.

Windows build was broken in upstream/master. After fixing that, jenkins seems green now.

Green.


[Data Structure] AVL Tree [C++]

Can I take this ?

@paawan01, I have sent you an invitation. Accept it so that I can assign you the issue. In case I forget it, feel free to ping me on gitter https://gitter.im/NITSkmOS/algo

Thanks for the invitation. I have accepted it !


add deepin

add deepin

Yes,Deepin is great for beginners.It has beautiful ui and Deepin v20 will be released this month.
It seems that this list is arranged in alphabetical order,so you should put Deepin in front of Elementy OS.


User initiation branch merging with main

Added functions in transact_init.py

Although the frontend test failed, my code only changed files in the backend (specifically adding the transactions_init.py), so it wouldn't have any impact on the front end tests.


EM Weapon Systems outdated challenge

The SFCP reverts the challenge on EM Weapon Systems to an older one.

Details
The challenge for EM Weapon Systems has changed from "Deal X damage to enemy ships with EM weapons" to "Dock with X enemy ships", which needs to be corrected in the patch.
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Self-explanatory

The changes to record 002C53B2 appear to be obsolete now. This record will be removed in the next SFCP release.

Also remove 002c5558


[TASK] Show/hide values on the logins based on /config

Description
The login page is not dynamic to the social.properties values. If you change the <auth_type>_login values from true/false it doesn't affect/change the UI
Existing

LoginPage.tsx
config.store.ts

Reference
https://github.com/SEMOSS/community/issues/11
Tasks

[ ] Utilize loginsAllow from /config to dynamically set the login options

#220


Cyrillic glyphs

Nah, sorry. There are no Cyrillic glyphs in the ROM, so this would be a lot of work.

sadness...


MetricsPanelCtrl incompletely declared in common.d.ts

I have effectively no prior experience with TypeScript (or JavaScript for that matter), so feel free to disregard this if it's ridiculous.
I'm looking at a panel developed internally at my organization that was originally copied from a builtin Grafana panel. I'm working on converting it to a proper plugin.
The controller for this panel extends MetricsPanelCtrl, which it imports from app/plugins/sdk. When built in the Grafana source tree, as it currently stands, this import ultimately resolves to the real MetricsPanelCtrl. As a plugin, using grafana-sdk-mocks with a reference path directive to include app/headers/common.d.ts, it resolves to this empty definition:
https://github.com/grafana/grafana-sdk-mocks/blob/4eead586bdba3f5030db894aeb8a316fc853dad7/app/headers/common.d.ts#L161
I therefore get a bunch of errors from the TypeScript compiler related to fields and methods not being found.
Should the definition linked above perhaps be fleshed out to include declarations to extend PanelCtrl, and to contain the fields and methods that the real MetricsPanelCtrl contains?

I'm admit that I am dumb at js/ts but here's my solution of this issue #3

This lib is a work in progress - I created this lib when working on the Azure Monitor data source which is a data source plugin. I have plans to convert the Worldmap and Clock plugins to TypeScript and to using this lib as well but I haven't got that far yet.
I just merged @hagen1778 's PR which should hopefully solve this for you. Let me know if anything else is missing and I will add it.


Add license.txt and CONTRIBUTING.md

Smart developers won't think twice about not using this if there is no license available.  The project is currently in the grey area, see here: http://choosealicense.com/no-license/
More specifically this:

"... generally speaking, the absence of a license means that default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work."

As for the CONTRIBUTING.md, see here as to why it's a good idea: https://github.com/blog/1184-contributing-guidelines
Also, we may want to set some sort of style guide that is followed for the code so it looks like a single developer has worked on the project even if dozens have.  Perhaps some sort of public style-guide would be the easiest to implement.
Airbnb has a nice style guide: https://github.com/airbnb/javascript
If these are some things that I should handle personally then I can get that done and send in pull requests for each feature.  If I am to do these then:

What license should we use?  Might I suggest WTFPL? :100: http://www.wtfpl.net/about/
2.) What style guide?  I have a vote towards airbnb's, check it out.

@JenkinsDev I am all in favor for using airbnb's style guide. It's already set and done, we just need to use it. As for the license, that works. I went ahead and created the files in develop, but anything else that needs to be added, just send a PR.


[FEATURE] Really missing pre built code that can help site visitors setup NFT vault

Issue to be solved
In FLOW, we cannot deposit promotional NFTs to our site visitors unless they have a vault ready. We needed to pre build a functionality where this could be done when the user clicks Register. However, probably many other devs would be grateful if this existed as a built-in functionality in FCL. We had to go the hard route, but would be happy if new people don't have to. Thanks :)
Suggest A Solution

A simple function that takes the address of the said NFT as input, and prompts the registering user to create a vault among any other useful functions would suffice.

What are you currently working on that this is blocking?
We are a part of the Crowd FLOW team. It's not necessarily a blockade, but it made things a bit lengthier, which could be solved by providing a pre built solution to a recurring issue for new devs.

Initializing a vault should be done as part of the claim/register transaction. FCL attempts to avoid proscribing specific cadence transactions where ever possible. If you are looking for some common transactions to take advantage please look at this repository.


fixes in CORS, rest metrcis, flake

Coverage: 82.782% (+0.03%) from 82.751% when pulling<PHONE_NUMBER>de5dfb1046c3afdfee0a29ad7ccc45 on dissoupov into 638c6b57f2a95e40c5ee979c6283478374c9a808 on main.


so much better

IN EVERY WAY

there is no reason to replace the more common (and phonetically more correct) -ize- spelling with the french based -ise- spelling.


Now we can change pages without losing data

https://my.optrispace.com/contracts/9zZRJzQxbrpJuQ7VGzzA4E/

It was a great warm up. I did all coding on my phone. It took too long because of this.
iPhone’umdan gönderildi

Alexander Kadyrov @.***> şunları yazdı (7 Kas 2022 21:07):

Merged #199 into master.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


Add http protocol support

can use http
html_context = {
"display_gitlab": True, # Integrate GitLab
"gitlab_user": "xxxx", # Username
"gitlab_repo": "xxxxxx", # Repo name
"gitlab_host": "gitlab.aibeike.com",
"theme_vcs_pageview_mode": "edit",
"conf_py_path":  "/source/", # Path in the checkout to the docs root
"repo_scheme": "http"
}

What is the purpose of this? Why is this an issue? Why is https an issue here?

Our company's gitlab code warehouse uses a protocol that is HTTP instead of HTTPS. I have to modify the HTTPS protocol of the breadcrumbs.html inside my installation package for HTTP, but my colleagues need to modify it, and it's very troublesome. If the repo_repo option is available, we only need to set HTTP in conf.py. It is not necessary for me and my colleagues to modify the breadcrumbs.html file.


ModuleNotFoundError: No module named 'librlers'

Describe the bug
Essentially I download the latest binary version named 'Ubuntu cme-ubuntu-latest-3.11' and tried to run it on Kali.
It throws this missing module error named 'librlers' related to aardwolf but there is very little online in regards this library. Updated aardwolf to see if it would fix it but no joy. Any help would be greatly appreciated.
To Reproduce
cme smb $IP -u user -p 'pass'
Expected behavior
Start scanning
Screenshots

Crackmapexec info

OS: Kali 2021.3
Version of CME v5.4.0
Downloaded Binary

Hello, what's the result of python -v ?

Hi there, thanks in advance for any guidance. Please find the outout requested below. Happy to provide more as I love this tool!
$ python -v
installing zipimport hook
import zipimport # builtin
installed zipimport hook
/usr/lib/python2.7/site.pyc matches /usr/lib/python2.7/site.py
import site # precompiled from /usr/lib/python2.7/site.pyc
/usr/lib/python2.7/os.pyc matches /usr/lib/python2.7/os.py
import os # precompiled from /usr/lib/python2.7/os.pyc
import errno # builtin
import posix # builtin
/usr/lib/python2.7/posixpath.pyc matches /usr/lib/python2.7/posixpath.py
import posixpath # precompiled from /usr/lib/python2.7/posixpath.pyc
/usr/lib/python2.7/stat.pyc matches /usr/lib/python2.7/stat.py
import stat # precompiled from /usr/lib/python2.7/stat.pyc
/usr/lib/python2.7/genericpath.pyc matches /usr/lib/python2.7/genericpath.py
import genericpath # precompiled from /usr/lib/python2.7/genericpath.pyc
/usr/lib/python2.7/warnings.pyc matches /usr/lib/python2.7/warnings.py
import warnings # precompiled from /usr/lib/python2.7/warnings.pyc
/usr/lib/python2.7/linecache.pyc matches /usr/lib/python2.7/linecache.py
import linecache # precompiled from /usr/lib/python2.7/linecache.pyc
/usr/lib/python2.7/types.pyc matches /usr/lib/python2.7/types.py
import types # precompiled from /usr/lib/python2.7/types.pyc
/usr/lib/python2.7/UserDict.pyc matches /usr/lib/python2.7/UserDict.py
import UserDict # precompiled from /usr/lib/python2.7/UserDict.pyc
/usr/lib/python2.7/_abcoll.pyc matches /usr/lib/python2.7/_abcoll.py
import _abcoll # precompiled from /usr/lib/python2.7/_abcoll.pyc
/usr/lib/python2.7/abc.pyc matches /usr/lib/python2.7/abc.py
import abc # precompiled from /usr/lib/python2.7/abc.pyc
/usr/lib/python2.7/_weakrefset.pyc matches /usr/lib/python2.7/_weakrefset.py
import _weakrefset # precompiled from /usr/lib/python2.7/_weakrefset.pyc
import _weakref # builtin
/usr/lib/python2.7/copy_reg.pyc matches /usr/lib/python2.7/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.7/copy_reg.pyc
/usr/lib/python2.7/traceback.pyc matches /usr/lib/python2.7/traceback.py
import traceback # precompiled from /usr/lib/python2.7/traceback.pyc
/usr/lib/python2.7/sysconfig.pyc matches /usr/lib/python2.7/sysconfig.py
import sysconfig # precompiled from /usr/lib/python2.7/sysconfig.pyc
/usr/lib/python2.7/re.pyc matches /usr/lib/python2.7/re.py
import re # precompiled from /usr/lib/python2.7/re.pyc
/usr/lib/python2.7/sre_compile.pyc matches /usr/lib/python2.7/sre_compile.py
import sre_compile # precompiled from /usr/lib/python2.7/sre_compile.pyc
import _sre # builtin
/usr/lib/python2.7/sre_parse.pyc matches /usr/lib/python2.7/sre_parse.py
import sre_parse # precompiled from /usr/lib/python2.7/sre_parse.pyc
/usr/lib/python2.7/sre_constants.pyc matches /usr/lib/python2.7/sre_constants.py
import sre_constants # precompiled from /usr/lib/python2.7/sre_constants.pyc
import _locale # builtin
/usr/lib/python2.7/_sysconfigdata.pyc matches /usr/lib/python2.7/_sysconfigdata.py
import _sysconfigdata # precompiled from /usr/lib/python2.7/_sysconfigdata.pyc
/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.pyc matches /usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py
import _sysconfigdata_nd # precompiled from /usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.pyc
/usr/lib/python2.7/glob.pyc matches /usr/lib/python2.7/glob.py
import glob # precompiled from /usr/lib/python2.7/glob.pyc
/usr/lib/python2.7/fnmatch.pyc matches /usr/lib/python2.7/fnmatch.py
import fnmatch # precompiled from /usr/lib/python2.7/fnmatch.pyc
zipimport: found 12 names in /usr/share/offsec-awae-wheels/ply-3.11-py2.py3-none-any.whl
zipimport: found 7 names in /usr/share/offsec-awae-wheels/backports.functools_lru_cache-1.6.1-py2.py3-none-any.whl
zipimport: found 23 names in /usr/share/offsec-awae-wheels/requests-2.23.0-py2.py3-none-any.whl
zipimport: found 13 names in /usr/share/offsec-awae-wheels/pyOpenSSL-19.1.0-py2.py3-none-any.whl
zipimport: found 8 names in /usr/share/offsec-awae-wheels/PySocks-1.7.1-py27-none-any.whl
zipimport: found 41 names in /usr/share/offsec-awae-wheels/urllib3-1.25.9-py2.py3-none-any.whl
zipimport: found 11 names in /usr/share/offsec-awae-wheels/colorama-0.4.3-py2.py3-none-any.whl
zipimport: found 48 names in /usr/share/offsec-awae-wheels/chardet-3.0.4-py2.py3-none-any.whl
zipimport: found 6 names in /usr/share/offsec-awae-wheels/ipaddress-1.0.23-py2.py3-none-any.whl
zipimport: found 23 names in /usr/share/offsec-awae-wheels/pycparser-2.20-py2.py3-none-any.whl
zipimport: found 7 names in /usr/share/offsec-awae-wheels/enum34-1.1.10-py2-none-any.whl
zipimport: found 22 names in /usr/share/offsec-awae-wheels/beautifulsoup4-4.9.1-py2-none-any.whl
zipimport: found 13 names in /usr/share/offsec-awae-wheels/idna-2.9-py2.py3-none-any.whl
zipimport: found 6 names in /usr/share/offsec-awae-wheels/six-1.15.0-py2.py3-none-any.whl
zipimport: found 9 names in /usr/share/offsec-awae-wheels/certifi-2<IP_ADDRESS>-py2.py3-none-any.whl
zipimport: found 11 names in /usr/share/offsec-awae-wheels/soupsieve-1.9.5-py2.py3-none-any.whl
zipimport: found 40 names in /usr/share/cffi-wheels/py-1.8.1-py2.py3-none-any.whl
zipimport: found 104 names in /usr/share/cffi-wheels/setuptools-44.1.0-py2.py3-none-any.whl
/usr/lib/python2.7/sitecustomize.pyc matches /usr/lib/python2.7/sitecustomize.py
import sitecustomize # precompiled from /usr/lib/python2.7/sitecustomize.pyc
zipimport: found 53 names in /usr/local/lib/python2.7/dist-packages/shodan-1.26.1-py2.7.egg
import encodings # directory /usr/lib/python2.7/encodings
/usr/lib/python2.7/encodings/init.pyc matches /usr/lib/python2.7/encodings/init.py
import encodings # precompiled from /usr/lib/python2.7/encodings/init.pyc
/usr/lib/python2.7/codecs.pyc matches /usr/lib/python2.7/codecs.py
import codecs # precompiled from /usr/lib/python2.7/codecs.pyc
import _codecs # builtin
/usr/lib/python2.7/encodings/aliases.pyc matches /usr/lib/python2.7/encodings/aliases.py
import encodings.aliases # precompiled from /usr/lib/python2.7/encodings/aliases.pyc
/usr/lib/python2.7/encodings/utf_8.pyc matches /usr/lib/python2.7/encodings/utf_8.py
import encodings.utf_8 # precompiled from /usr/lib/python2.7/encodings/utf_8.pyc
Python 2.7.18 (default, Sep 24 2021, 09:39:51)
[GCC 10.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.7/lib-dynload/readline.x86_64-linux-gnu.so", 2);
import readline # dynamically loaded from /usr/lib/python2.7/lib-dynload/readline.x86_64-linux-gnu.so

Run the binary with python 3.11 if you dl the 3.11 binary of cme 😀

Oh no that's embarrassing. I didn't think that was version numbers for various versions of Python for some reason and it was different versions of CME but of course CME is around version 5 so doesn't make sense. So for python 2.7 what would you recommend using? Thanks.

Nothing, python2.7 is long dead since 2020 😅

Haha fair enough, time for an upgrade


cannot publish config

Hi
in the installation one is asked to publish the config
php artisan vendor:publish --provider="Stepanenko3\LogsTool\LogsToolServiceProvider"

however:
   INFO  No publishable resources for tag [].

I am facing the same issue

same how to add resource on menu bar with MenuSection
MenuSection::resource(LogsTool::class)->icon('shopping-bag'), like this

@rabol @danish-khan-I This package does not have a config file


Unable to give rating in integer value

Need a way to give rating in integer only without disabling allowedFraction.
When allowedFraction is enabled, it also shows half filled stars on hover. There should be a way to show stars filled completely on hover when even allowedFraction is enabled.

Found out that disableFillHover provides the expected behaviour so closing the issue


Tabs (as in tabs vs spaces) make vs code lag and crash

VSCode Version: Code - Insiders 1.9.0-insider (d384271ffb5655cee1ddf8f93f51cd892ee2cc40, 2017-01-03T07:10:03.605Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

tortoise-svn
fantasytyx
0.1.1

PowerShell
ms-vscode
0.8.0

Steps to Reproduce:

for some reason sometimes tabs make vs code crash/lag
especially after copy paste

@TheKnightCoder you talk about "tab" as being "tab vs spaces" or the "tab UI control"?

Tab vs spaces.... So the actual tab on the keyboard... Indenting
On 5 Jan 2017 1:17 p.m., "Benjamin Pasero"<EMAIL_ADDRESS>wrote:

@TheKnightCoder https://github.com/TheKnightCoder you talk about "tab"
as being "tab vs spaces" or the "tab UI control"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/18150#issuecomment-270641674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXKxCE4t2XrwyulfWn-3p2r-stPKR52Wks5rPO1dgaJpZM4LblsO
.

@TheKnightCoder Can you please try disabling emmet?
File > Preferences > Keyboard Shortcuts and add this rule:
{ "key": "tab", "command": "-editor.emmet.action.expandAbbreviation" }

emmet has some well known bugs where it loops forever.

@TheKnightCoder I believe what you are experiencing is a lag the first time you press TAB.
This is because of the lazy loading we do for emmet and is being tracked in #17220
Therefore, closing this one as duplicate.
If you don't use emmet much, then follow @alexandrudima 's suggestion and unbind TAB and the short cut for emmet expansions
If you see the lag not just the first time you press TAB, then please let us know, we can re-open this issue for further investigation


Add libsec-panel to bitcoin-review-podcast

This PR adds Libsec Panel transcript to the bitcoin-review-podcast directory.

I am seeing now that others have kept the timestamps in the transcript. I removed them after looking at an older podcast transcript as an example: https://btctranscripts.com/what-bitcoin-did-podcast/2019-05-14-adam-back-bryan-bishop-block-reorgs/ IMO removing them is better because it makes reading much easier.

I am seeing now that others have kept the timestamps in the transcript. I removed them after looking at an older podcast transcript as an example: https://btctranscripts.com/what-bitcoin-did-podcast/2019-05-14-adam-back-bryan-bishop-block-reorgs/ IMO removing them is better because it makes reading much easier.

Before AI transcription, we didn't use timestamps. Because we now get them "for free" through diarization, we're exploring how to store and present them, considering their potential as metadata for future use.
Regarding the reading experience, an idea is to have a regex that will remove them for the users of btctranscripts.

Thank you for the contribution @fjahr!
I've pushed some fixups, just a note for future reviews: Try to use an "edited transcription" style, which can also be referred to as clean verbatim transcription. The goal of an edited transcription is to preserve the meaning of a text without paraphrasing. Stammering, filler words such as 'like' or 'you know', and unnecessary non-verbal communication can be omitted. Strike a balance between completeness and readability.
Some examples of the fixups that I did following this transcription style:

filler words: "I think both because, ~you know,~ in a way or another, ~I mean, like, you know,~ the code is what makes Bitcoin, ~you know,~ happen."

becomes "I think both because, in a way or another, the code is what makes Bitcoin, happen"

stammering&filler words: "There's a lot of dabs out there that ~like, you know, they're,~ they are working more on the business logic level."

becomes: "There's a lot of dabs out there that they are working more on the business logic level"

rephrasing: "There's the LightningDevKit as well that ~is trying to do,~ has a very similar goal for Lightning, have composable tools that ~let make you use,~ allow you to ~use,~ implement the Lightning protocol in your stack, giving a simpler experience for your users because ~it's not,~ you're not having to run some extra node. It's like integrated into the app.

becomes: "There's the LightningDevKit as well that has a very similar goal for Lightning, have composable tools that allow you to implement the Lightning protocol in your stack, giving a simpler experience for your users because you're not having to run some extra node, it's like integrated into the app."

Thanks again!🚀

@kouloumos Alright, that makes sense, thanks for the heads-up!
Some feedback from my side on the estimate: It took 2-3x the estimated time for me to make this review as is. I am not sure how you make the estimates (I guess based on word count?) but in this case, there were a lot of participants who talked over each other and I needed to listen to the original to make out who said what many times and the original podcast was almost 2h with the estimate being 1h. Also, the tools discussed (libsecp, zkp, valgrind etc.) were all butchered in many different ways by the AI so search and replace didn't help. The AI also struggled with non-native English, for example when a German said "math" it came out as "marv". Maybe you can factor this in somehow to improve future estimates. I am pretty sure a conversational podcast with multiple participants always requires more editing than a 1-on-1 interview or a straightforward presentation.

Appreciate the feedback @fjahr! Feedback is important at this stage of the project as we are still figuring things out towards making this process as productive as possible for everybody involved.
You are right, the current estimate is based on word count, but it seems that we need to rethink that. The initial estimate should probably be closer to the duration of the audio with extra time added for multispeaker and other variables.
Also, did you use the in-app editor for your review?

I only explored the online editor for a few minutes but saw some lagging so I copied the content and switched to my normal editor. I am used to my shortcuts there and also I know markdown so this way it was very close to my usual workflow for some static site generator websites I edit sometimes.


Problem with InvalidOptionError when running gravity_density.ipynb

#Description
When running the 3rd code block of gravity_density.ipynb, grav_problem.set_data_mistfit() throws up an error no matter the input. Default here is "L2". A function here seems to be self referential: "Invalid_option" for "set_data_misfit" is set to variable name "data_misfit".
#To reproduce
Run first three blocks of gravity_density.ipynb
#Expected behaviour
Code should return the following error:

InvalidOptionError                        Traceback (most recent call last)
Cell In [6], line 46
     43 grav_problem.set_regularization(reg_l1, epsilon, args=[W])
     45 # Use default L2 misfit
---> 46 grav_problem.set_data_misfit("L2")
     47 grav_problem.set_initial_model(Starting_model3)
     49 # Set gradient, in hope of helping optimisers converge better

File ~/Projects/inlab_forked/venv/lib/python3.10/site-packages/cofi/base_problem.py:954, in BaseProblem.set_data_misfit(self, data_misfit, args, kwargs)
    950         self.data_misfit = _FunctionWrapper(
    951             "data_misfit", self._data_misfit_squared_error, autogen=True
    952         )
    953     else:
--> 954         raise InvalidOptionError(
    955             name="data misfit", invalid_option=data_misfit, valid_options=["L2"]
    956         )
    957 else:
    958     self.data_misfit = _FunctionWrapper(
    959         "data_misfit", data_misfit, args, kwargs
    960     )

InvalidOptionError: the data misfit you've entered ('L2') is invalid, please choose from the following: ['L2'].

Hi, thanks for reporting the issue!
Sorry for the confusion here. We've changed the keyword from L2 to squared error since it's strictly not the norm (but we forgot to change the error message, sorry!). Please replace L2 with squared error and it should work.
We'll update the next release of cofi with this error message fixed within this week. Will update cofi-examples soon as well.


Add tolerance to rounding errors when sending Apple/PWG Raster

Describe the bug
I have added raster cakkbacks for streaming processing of Apple/PWG Raster input (Issue #57) to my PostScript printer Application, problem is now that I can only reliably print documents with a page size smaller the the printer's page size set in the web interface, for example an A5-sized document on A4-sized paper. If I try printing an A4-sized document on A4-sized paper the job gets aborted with a "Unsupported raster data seen." message in the log.
I looked for this message in PAPPL's source code and found in the _papplJobProcessRaster() function in pappl/job-process.c:
    if (header.cupsWidth > options->header.cupsWidth || header.cupsHeight > options->header.cupsHeight || (header.cupsBitsPerPixel > 8 && !(printer->driver_data.color_supported & PAPPL_COLOR_MODE_COLOR)))
    {
      papplLogJob(job, PAPPL_LOGLEVEL_ERROR, "Unsupported raster data seen.");
      papplJobSetReasons(job, PAPPL_JREASON_DOCUMENT_UNPRINTABLE_ERROR, PAPPL_JREASON_NONE);
      job->state = IPP_JSTATE_ABORTED;
      break;
    }

This means that if the job's pixel count in one (x or y) dimension is larger than the appropriate pixel count for the paper in the printer, or if a color job is sent to a black-and-white printer the job is aborted.
I have a color printer, so only a too large dimension can be the problem here. My printer's data in the Printer Application is based on the same PPD file as I use with cups-filters to turn a PDF file into a PWG Raster file for testing. Problem is that the calculation of pixel counts is not done exactly the same way in PAPPL and cups-filters (and perhaps even another way on other clients, like iOS), leading to rounding errors, pixel counts differing by a small amount, perhaps 1 % or lower. This makes the document's pixel count for the same page size (in PostScript points) for the document and for the Printer Application larger than the printer's pixel count in 50% of the cases, getting the job aborted.
Here we would need some tolerance, accepting also jobs with a dimension by a few pixels to large. We could throw away these extra pixels to avoid any overflows, they are usually white border or at least irrelevant content anyway.
Below is a debug log of such a job. Here you see that the pages of the job have are 4958x7017 pixels but the printer page calculated by PAPPL is 4960x7015 pixels, making the page aborted due to too many raster lines in y dimension:
I [2020-11-04T21:45:32.440Z] [Job 32] Page 1 raster data is 4958x7017x24 (RGB)
D [2020-11-04T21:45:32.440Z] [Job 32] Getting options for num_pages=0, color=true
D [2020-11-04T21:45:32.440Z] [Job 32] print-color-mode=color
D [2020-11-04T21:45:32.440Z] [Job 32] header.cupsWidth=4960
D [2020-11-04T21:45:32.440Z] [Job 32] header.cupsHeight=7015

I can solve the problem by adding simple tolerance margins:
    if (header.cupsWidth > options->header.cupsWidth +10 || header.cupsHeight > options->header.cupsHeight + 10 || (header.cupsBitsPerPixel > 8 && !(printer->driver_data.color_supported & PAPPL_COLOR_MODE_COLOR)))
    {
      papplLogJob(job, PAPPL_LOGLEVEL_ERROR, "Unsupported raster data seen.");
      papplJobSetReasons(job, PAPPL_JREASON_DOCUMENT_UNPRINTABLE_ERROR, PAPPL_JREASON_NONE);
      job->state = IPP_JSTATE_ABORTED;
      break;
    }

This is not the perfect solution, probably a certain percentage, for example 2 % should be given here, and extra pixels/raster lines being skipped.
To Reproduce
Steps to reproduce the behavior:
Take a PDF document and convert it to a Raster document via
FINAL_CONTENT_TYPE=pwg PPD=hp8730ps.ppd /usr/lib/cups/filter/pdftopdf 1 1 1 1 'PageSize=A4 ColorModel=rgb page-scaling=fill' ~/ghostscript/testfiles/launch_leaflet.pdf | FINAL_CONTENT_TYPE=pwg PPD=hp8730ps.ppd /usr/lib/cups/filter/gstoraster 1 1 1 1 'PageSize=A4 ColorModel=rgb page-scaling=fill' > out.raster

Create a printer with the same PPD file in the PostScript Printer Application. In the options set A4 as page size, mark "Borderless" (if available) and select to print in color. Then print out.raster. The job gets aborted due to the mismatch shown above.
Expected behavior
Job getting printed despite the slight mismatch in raster sizes.
System Information:

OS: Ubuntu 20.10 Groovy
Current GIT snapshot of the PostScript Printer Application, PAPPL, and cups-filters

Additional context
Debug log of an aborted job due to raster dimension mismatch:
I [2020-11-04T21:45:31.963Z] [Job 32] Starting print job.
D [2020-11-04T21:45:32.137Z] [Job 32] Getting options for num_pages=0, color=true
D [2020-11-04T21:45:32.137Z] [Job 32] print-color-mode=color
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsWidth=4960
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsHeight=7015
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsBitsPerColor=8
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsBitsPerPixel=24
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsBytesPerLine=14880
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsColorOrder=0
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsColorSpace=19 (sRGB)
D [2020-11-04T21:45:32.137Z] [Job 32] header.cupsNumColors=3
D [2020-11-04T21:45:32.137Z] [Job 32] header.HWResolution=[600 600]
D [2020-11-04T21:45:32.137Z] [Job 32] num_pages=0
D [2020-11-04T21:45:32.137Z] [Job 32] copies=1
D [2020-11-04T21:45:32.137Z] [Job 32] finishings=0x0
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.bottom-margin=0
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.left-margin=0
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.right-margin=0
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.size=21000x29700
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.size-name='iso_a4_210x297mm'
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.source='tray-1'
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.top-margin=0
D [2020-11-04T21:45:32.137Z] [Job 32] media-col.type='stationery'
D [2020-11-04T21:45:32.137Z] [Job 32] orientation-requested=none
D [2020-11-04T21:45:32.137Z] [Job 32] page-ranges=1-0
D [2020-11-04T21:45:32.137Z] [Job 32] print-color-mode='color'
D [2020-11-04T21:45:32.137Z] [Job 32] print-content-optimize='auto'
D [2020-11-04T21:45:32.137Z] [Job 32] print-darkness=0
D [2020-11-04T21:45:32.137Z] [Job 32] print-quality=high
D [2020-11-04T21:45:32.137Z] [Job 32] print-scaling='auto'
D [2020-11-04T21:45:32.137Z] [Job 32] print-speed=0
D [2020-11-04T21:45:32.137Z] [Job 32] printer-resolution=600x600dpi
D [2020-11-04T21:45:32.439Z] [Job 32] Adding options for finishings
D [2020-11-04T21:45:32.439Z] [Job 32] Adding option: PageSize
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option: InputSlot
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option: MediaType
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option: orientation-requested
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option presets depending on requested print quality
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option: print-scaling
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option: Resolution
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option: Duplex
D [2020-11-04T21:45:32.440Z] [Job 32] Adding option: OutputBin
D [2020-11-04T21:45:32.440Z] [Job 32] PPD options to be used: Duplex=None InputSlot=Tray1 MediaType=Plain page-ranges=1-0 PageSize=A4.FullBleed print-scaling=auto Resolution=600dpi
I [2020-11-04T21:45:32.440Z] [Job 32] filterPOpen: Filter function (PID 152512) started.

To assure that the raster callbacks can generate correct output, having their raster header (options->header in pappl/job-process.c) and the actual raster data (the number of lines received and the length of each line) correspond to each other.
This would need a small change on pappl/job-process.c, letting the three y loops, the for loop to call the raster callback for the raster lines and the two while loops for padding with white lines, stop at options->header.cupsHeight and not at header.cupsHeight. This way the Printer Application has exactly the number of raster lines as announce in the heaser in its job options structure.
This one
    for (y = 0; !job->is_canceled && y < header.cupsHeight; y ++)
    {

->
    for (y = 0; !job->is_canceled && y < options->header.cupsHeight; y ++)
    {

and 2 times this one:
        while (y < header.cupsHeight)
        {
	  (printer->driver_data.rwriteline_cb)(job, options, job->printer->device, y, line);
          y ++;
        }

->
        while (y < options->header.cupsHeight)
        {
	  (printer->driver_data.rwriteline_cb)(job, options, job->printer->device, y, line);
          y ++;
        }

I think it will be enough to drop data to the right and bottom of the page.

[master bbfb4e7] Pad/crop PWG/Apple raster data rather than erroring out (Issue #59)


Added a statement to specify that building the code runs the tests.

Hey there,
as the issue #52 asks, I added such information to the TESTS.md documentation. Is this what you had in mind, @LegalizeAdulthood?

Looks great, thanks!


Support the highcharts context menu (export menu) through angular

Feature Request
It would be nice if there was some 'Angular way' to configure and include the highcharts context-menu items (mainly used for the export module http://www.highcharts.com/docs/export-module/export-module-overview).
Currently, you configure this context menu through your chart configuration object
const menuItems = Highcharts.getOptions().exporting.buttons.contextButton.menuItems;
menuItems.push({
    text: "Change to Pie Chart",
    onclick() {
       //change to pie chart will require a $scope $digest
    }
});
exporting: {
   enabled: true,
   buttons: {
      contextButton: {
          menuItems: myMenuItems
      }
   }
}

Since the onclick handler you provide to highcharts is outside of Angular you must inject $scope into your component as well as manually trigger a $digest which is unfortunate.
Maybe the ability to add
<context-menu-item>
elements as transcluded content to the highcharts component/directive
Thoughts?

Sounds like a worthwhile feature. But unlikely I'll get anytime to work on it. Happy to assist with a PR though.


Reduce module size

As of now, these are the contents of the package:
fettepalette
├── .eslintrc
├── .github
│   └── workflows
│       └── main.yml
├── LICENSE
├── README.md
├── dist
│   ├── index.d.ts
│   ├── index.esm.js
│   ├── index.html
│   ├── index.iife.js
│   ├── index.js
│   └── index.js.map
├── fp.png
├── package.json
├── src
│   └── index.ts
└── tsconfig.json

Most of these files are not needed. Could you reduce them to the minimum?
To see what files will be included when publishing to npm, you can run npx npm-packlist.

For more information, read the following:
https://docs.npmjs.com/cli/v7/commands/npm-publish