Add preserve data

Project Update.

add books.json
add peoples.json
add rentals.json
add loader.rb
add storage.rb
add storage_handler.rb

INVALID ❌ ❌ ❌
Hi @TEAM  👋
While you made a great effort in this project, I can't go ahead and review your code.
Invalid Code Review Request ❌
Kindly, this is a pair-programming project and I only see the commits made by @imranhossainemi 😨, Kindly make make equal contribution and submit again once you are done 🙏
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Kindly create  a new PR that follows the Gitflow approach
Cheers, and Happy coding!👏👏👏
✅ Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.
⚠ Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Feat: Add explore page

Is your feature request related to a problem? Please describe

An explore page where users can explore colors

Describe the Solution You'd Like

A page where users can browse shades of colours and also palette in which colours go well

Describe Alternatives You've Considered
N/A
Additional Context
Similar to https://coolors.co/palettes/trending

Thanks for this feature request @RNAdvani
Before we get into coding it, how would you suggest to get the trending colour palettes or good colour palettes?

for starts we would show all the palettes for now and then as the application grows we would use user data to show trending colors

But we don't have any good palettes or colour combinations right now. I guess this would require a designer to give us some good suggestions/proper palettes.

there are many placeholder palettes available we can map them for starters also if you want i can make a scrapper that finds color palettes over internet

I guess then we can have an Explore page. Don't add the scraper to the repo. Please add a file in constants folder which is an array of objects of different colours.
Thanks @RNAdvani

I would like to resolve this issue. Please assign it to me.
Thanks


Pod file links causing build error on windows x64_icl14..

Errors are of the form:
"C:\strawberry-perl-<IP_ADDRESS>-64bit-portable\perl\bin\perl.exe" "../util/mkpod2html.pl" -i "..\doc\man1\CA.pl.pod" -o doc\html\man1\CA.pl.html -t "CA.pl" -r "../doc"
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl(1)> in paragraph 11.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl(1)> in paragraph 12.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl(1)> in paragraph 12.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-req(1)> in paragraph 22.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-req(1)> in paragraph 24.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-req(1)> in paragraph 26.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-req(1)> in paragraph 28.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-ca(1)> in paragraph 28.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-ca(1)> in paragraph 33.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-ca(1)> in paragraph 35.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-x509(1)> in paragraph 37.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-ca(1)> in paragraph 37.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-ca(1)> in paragraph 39.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-ca(1)> in paragraph 41.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl(1)> in paragraph 45.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-req(1)> in paragraph 45.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl(1)> in paragraph 56.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-x509(1)> in paragraph 56.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-ca(1)> in paragraph 56.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<openssl-req(1)> in paragraph 56.
../util/mkpod2html.pl: ..\doc\man1\CA.pl.pod: cannot resolve L<config(5)> in paragraph 56.
"C:\strawberry-perl-<IP_ADDRESS>-64bit-portable\perl\bin\perl.exe" "-I." "-I..\doc" -Mconfigdata -Mperlvars "..\util\dofile.pl" "-omakefile" "..\doc\man1\openssl-asn1parse.pod.in" > doc\man1\openssl-asn1parse.pod
I suspect Commit id 0e7e3b9b9d2d0a49097b4e224098036d3e6b8087
It worked 5 days ago, so it is a recent change.
Build Config:
perl C:\jenkins\workspace\openssl-windows_x64_icl14\Configure --prefix=C:\jenkins\workspace\openssl-windows_x64_icl14/install-win enable-trace no-asm --openssldir=ssl VC-WIN64A
Command line (with current working directory = .):
C:\strawberry-perl-<IP_ADDRESS>-64bit-portable\perl\bin\perl.exe ..\Configure --prefix=C:\jenkins\workspace\openssl-windows_x64_icl14/install-win enable-trace no-asm --openssldir=ssl VC-WIN64A

Perl information:
C:\strawberry-perl-<IP_ADDRESS>-64bit-portable\perl\bin\perl.exe
5.14.4 for MSWin32-x64-multi-thread

Enabled features:
aria
async
autoalginit
autoerrinit
autoload-config
bf
blake2
bulk
cached-fetch
camellia
capieng
cast
chacha
cmac
cmp
cms
comp
ct
deprecated
des
dgram
dh
dsa
dso
dtls
dynamic-engine
ec
ec2m
ecdh
ecdsa
engine
err
filenames
gost
idea
legacy
loadereng
makedepend
md4
mdc2
module
multiblock
nextprotoneg
ocb
ocsp
padlockeng
pic
pinshared
poly1305
posix-io
psk
rc2
rc4
rdrand
rfc3779
rmd160
scrypt
secure-memory
seed
shared
siphash
siv
sm2
sm3
sm4
sock
srp
srtp
sse2
ssl
static-engine
stdio
tests
threads
tls
trace
ts
ui-console
uplink
whirlpool
tls1
tls1-method
tls1_1
tls1_1-method
tls1_2
tls1_2-method
tls1_3
dtls1
dtls1-method
dtls1_2
dtls1_2-method

Disabled features:
acvp-tests          [default]   OPENSSL_NO_ACVP_TESTS
afalgeng            [not-linux] OPENSSL_NO_AFALGENG
asan                [default]   OPENSSL_NO_ASAN
asm                 [option]    OPENSSL_NO_ASM
buildtest-c++       [default]
crypto-mdebug       [default]   OPENSSL_NO_CRYPTO_MDEBUG
devcryptoeng        [default]   OPENSSL_NO_DEVCRYPTOENG
ec_nistp_64_gcc_128 [default]   OPENSSL_NO_EC_NISTP_64_GCC_128
egd                 [default]   OPENSSL_NO_EGD
external-tests      [default]   OPENSSL_NO_EXTERNAL_TESTS
fips                [default]
fips-securitychecks [cascade]   OPENSSL_NO_FIPS_SECURITYCHECKS
fuzz-afl            [default]   OPENSSL_NO_FUZZ_AFL
fuzz-libfuzzer      [default]   OPENSSL_NO_FUZZ_LIBFUZZER
ktls                [default]   OPENSSL_NO_KTLS
md2                 [default]   OPENSSL_NO_MD2 (skip crypto\md2)
msan                [default]   OPENSSL_NO_MSAN
rc5                 [default]   OPENSSL_NO_RC5 (skip crypto\rc5)
sctp                [default]   OPENSSL_NO_SCTP
ssl-trace           [default]   OPENSSL_NO_SSL_TRACE
ubsan               [default]   OPENSSL_NO_UBSAN
unit-test           [default]   OPENSSL_NO_UNIT_TEST
weak-ssl-ciphers    [default]   OPENSSL_NO_WEAK_SSL_CIPHERS
zlib                [default]
zlib-dynamic        [default]
ssl3                [default]   OPENSSL_NO_SSL3
ssl3-method         [default]   OPENSSL_NO_SSL3_METHOD

Config target attributes:
AR => "lib",
ARFLAGS => "/nologo",
AS => "ml64",
ASFLAGS => "/nologo /Zi",
CC => "cl",
CFLAGS => "/W3 /wd4090 /nologo /O2",
CPP => "\"\$(CC)\" /EP /C",
HASHBANGPERL => "/usr/bin/env perl",
LD => "link",
LDFLAGS => "/nologo /debug",
MT => "mt",
MTFLAGS => "-nologo",
RANLIB => "CODE(0x2bd1b18)",
RC => "rc",
ar_resp_delim => "

",
aroutflag => "/out:",
asflags => "/c /Cp /Cx",
asm_arch => "x86_64",
asoutflag => "/Fo",
bin_cflags => "/Zi /Fdapp.pdb",
bin_lflags => "setargv.obj /subsystem:console /opt:ref",
bn_ops => "SIXTY_FOUR_BIT",
build_file => "makefile",
build_scheme => [ "unified", "windows", "VC-common" ],
cflags => "/Gs0 /GF /Gy /MD",
coutflag => "/Fo",
cppflags => "",
defines => [ "OPENSSL_BUILDING_OPENSSL", "OPENSSL_SYS_WIN32", "WIN32_LEAN_AND_MEAN", "UNICODE", "_UNICODE", "_CRT_SECURE_NO_DEPRECATE", "_WINSOCK_DEPRECATED_NO_WARNINGS" ],
disable => [  ],
dso_cflags => "/Zi /Fddso.pdb",
dso_scheme => "win32",
enable => [  ],
ex_libs => "ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib",
includes => [  ],
ld_implib_flag => "/implib:",
ld_resp_delim => "
",
lddefflag => "/def:",
ldoutflag => "/out:",
ldpostoutflag => "",
ldresflag => " ",
lflags => "",
lib_cflags => "/Zi /Fdossl_static.pdb",
lib_cppflags => "",
lib_defines => [ "L_ENDIAN" ],
makedep_scheme => "VC",
makedepcmd => ""$(CC)" /Zs /showIncludes",
module_cflags => "",
module_cxxflags => undef,
module_ldflags => "/dll",
mtinflag => "-manifest ",
mtoutflag => "-outputresource:",
multilib => "-x64",
perl_platform => "Windows::MSVC",
perlasm_scheme => "auto",
rcoutflag => "/fo",
shared_cflag => "",
shared_defflag => "",
shared_defines => [  ],
shared_ldflag => "/dll",
shared_rcflag => "",
shared_target => "win-shared",
sys_id => "WIN64A",
thread_defines => [  ],
thread_scheme => "winthreads",
unistd => "<unistd.h>",
uplink_arch => "x86_64",
Recorded environment:
AR =
ARFLAGS =
AS =
ASFLAGS =
BUILDFILE =
CC = icl
CFLAGS =
CPP =
CPPDEFINES =
CPPFLAGS =
CPPINCLUDES =
CROSS_COMPILE =
CXX =
CXXFLAGS =
HASHBANGPERL =
LD =
LDFLAGS =
LDLIBS =
MT =
MTFLAGS =
OPENSSL_LOCAL_CONFIG_DIR =
PERL =
RANLIB =
RC =
RCFLAGS =
RM =
WINDRES =
__CNF_CFLAGS =
__CNF_CPPDEFINES =
__CNF_CPPFLAGS =
__CNF_CPPINCLUDES =
__CNF_CXXFLAGS =
__CNF_LDFLAGS =
__CNF_LDLIBS =

Makevars:
AR              = lib
ARFLAGS         = /nologo
AS              = ml64
ASFLAGS         = /nologo /Zi
CC              = icl
CFLAGS          = /W3 /wd4090 /nologo /O2
CPP             = "$(CC)" /EP /C
CPPDEFINES      =
CPPFLAGS        =
CPPINCLUDES     =
CXXFLAGS        =
HASHBANGPERL    = /usr/bin/env perl
LD              = link
LDFLAGS         = /nologo /debug
LDLIBS          =
MT              = mt
MTFLAGS         = -nologo
PERL            = C:\strawberry-perl-<IP_ADDRESS>-64bit-portable\perl\bin\perl.exe
RANLIB          = ranlib
RC              = rc
RCFLAGS         =

Why would anything in util/find-doc-nits make util/mkpod2html.pl fail?????
I suspect that, because dependency specs are lacking, the POD files to be generated haven't yet...  and as a matter of fact, the line at the end of your log demonstrates exactly this:

"C:\strawberry-perl-<IP_ADDRESS>-64bit-portable\perl\bin\perl.exe" "-I." "-I..\doc" -Mconfigdata -Mperlvars "..\util\dofile.pl" "-omakefile" "..\doc\man1\openssl-asn1parse.pod.in" > doc\man1\openssl-asn1parse.pod

If CA.pl.pod would have had a L<openssl-asn1parse(1)> somewhere, you would have seen a complaint about that too.
The quick fix is to add a dependency on build_generated_pods somewhere.
The not quite as quick fix is to add dependencies manually in doc/build.info (and oh boy maintenance issue!)
The more difficult fix is to do something similar to the automatic dependency generation, by parsing all POD files for any of those that are generated and place those dependency specs in appropriate .d files.

There were alot of complaints - that was just the first one..
The question is why is this problem newly introduced? (i.e it has broken in the last 5 days).

I'm guessing this isn't related to the AppVeyor failure: https://ci.appveyor.com/project/openssl/openssl/builds/39388894/job/4e51ipp4jgqrhgbh

@slontis,can you confirm that make build_generated_pods first fixes the problem?

Should this already be doing this? Makefile.in contains
doc-nits: build_generated_pods
$(PERL) $(SRCDIR)/util/find-doc-nits -c -n -l -e

Hmm - The problem seemed to disappear when I rebuilt.. Will close this for now.

Of course the problem went away after the first build...  at that point, all pods to be generated are actually generated.


Slayer Task Counter Desync with Multiple Kills on the Same Tick

When doing barrage tasks (Dust Devils, Jellies, Nechrael, etc), the slayer task counter desyncs when more than one monster is killed during the same game tick.

Duplicate of #1046


Change uint to float64 for TimeStamps

Hey,
currently the develop branch will throw the following error when parsing a PRESENCE_UPDATE containing a Game object:
2017/10/30 14:52:48 [DG0] wsapi.go:477:onEvent() error unmarshalling PRESENCE_UPDATE event, json: cannot unmarshal number<PHONE_NUMBER>406.0 into Go struct field TimeStamps.start of type uint
This change will fix the error by changing the TimeStamps.start and TimeStamps.end values from an uint to a float64.

Why use a float64 when the payload is an int64?
https://discordapp.com/developers/docs/topics/rich-presence#updating-presence-update-presence-payload-fields

Breaking the API is not the right way to fix this, writing a custom UnmarshalJSON seems right here.

@iopred As I see it, the API itself is broken. Discord returns startTimestamp and endTimestamp as signed 64-bit integers, but TimeStamps.start and TimeStamps.end are 32-bit integers on some platforms, thus causing the unmarshalling error.

My previous comment was incorrect in assuming the Discord Rich Presence SDK payload was reflective of the Discord API. I see now that Discord returns the "timestamps" object's fields as integers encoded as floats.
I agree that a custom UnmarshalJSON makes sense but the API still must be changed as a uint is 32-bit on some platforms. I've created a pull request (#475) with the changes I believe are necessary.


set QTableWidget::indicator size

Set QTableWidget::indicator size, Just like other checkbox indicators.

Thank you for the contribution, merged, and sorry for the delay.


Parameters' auto-complete does not work on Windows

I want function's arguments autocomplete like:
"Hello world".replaceAll(
100ms later
"Hello world".replaceAll(searchValue, replaceValue
On Android (Termux) it works great, but on Windows it does not work 😢. Why?
➡  Additional information:

Windows 10 1607 (build 14393.6897)
Node.js 20.13.0 (V8 <IP_ADDRESS>-node.20)
I installed it by npm i nodejs/repl -g

Now I updated Node.js to 21.7.3 (V8 <IP_ADDRESS>-node.20). Update didn't give effect...


[DRAFT] Build: separate install of the FIPS module

Fixes #13693

Ups, removed the 'draft' mode from the wrong pull  request.

Ups, removed the 'draft' mode from the wrong pull  request.

@levitte since your work has been integrated into #13684,  can this PR be closed now?

@levitte since your work has been integrated into #13684,  can this PR be closed now?

@levitte since your work has been integrated into #13684, can this PR be closed now?

Sure, no problem

@levitte since your work has been integrated into #13684, can this PR be closed now?

Sure, no problem


add tests for SFCs that return null in react 15

React 15 added support for SFCs that return null. I added tests for this scenario in mount and shallow to complement preexisting tests for class components that return null

Sweet, thanks! LGTM


[Doc Issue][Verbatim Adaptive Card tabs]

removed reference to Adaptive Card tabs are a new way to build.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/sbs-tab-with-adaptive-cards.yml
92
23
link
:white_check_mark:

msteams-platform/tabs/how-to/build-adaptive-card-tabs.md
98
1
link
:white_check_mark:

msteams-platform/tabs/what-are-tabs.md
95
4
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/sbs-tab-with-adaptive-cards.yml
92
23
link
:white_check_mark:

msteams-platform/tabs/how-to/build-adaptive-card-tabs.md
98
1
link
:white_check_mark:

msteams-platform/tabs/what-are-tabs.md
95
4
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Support optional JSON extractors

Axum allows for Result<Json<Value>, JsonRejection> to be passed as a variant of an optional extractor.
A handler with that kind of argument does not implement OperationHandler.
It would be useful to support in case the handler has its own error handling logic.

Result inputs now should be possible in 0.10.0.


F-P link GO:0019888	protein phosphatase regulator activity

From @gocentral on November 14, 2014 14:30
Could it go to
part_of
GO:0043666  regulation of phosphoprotein phosphatase activity
and
GO:0004864 - protein phosphatase inhibitor activity
to
negative regulation of phosphoprotein phosphatase activity
Reported by: ValWood
Original Ticket: geneontology/annotation-issues/1251
Copied from original issue: geneontology/go-annotation#1232

It isn't clear to me why this isn't inferred by  existing logical relationships.
Let me know  why not and I'm happy to delve.
@kltm
@cmungall
cheers
Val

Val,
It's not reasonning because the relation was not there. The logical definitions are really incomplete (and still quite inconsistent), so please send requests if you see an assertion missing.
Thanks, Pascale


[APB-4533][SM]: BUG: Track page : Client type page is missing incase of VAT

we always used to show clientType page in-case of vat journeys - but with recent CGT changes, we always populated clientType in the background and this caused VAT journey to miss the client type -


Enhancing and improving the "why join us?" section with proper styling and alignment.

📋 Description
Enhancing and improving the "why join us?" section with proper styling and alignment.
issue no.: #350
BEFORE:

AFTER:
https://github.com/user-attachments/assets/3f9b4f0a-5ba1-4647-8d88-534c9e4d03f0
✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[x] I have followed all the guidlines mentioned in CONTRIBUTING.md.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation (if applicable).
[x] I have tested it locally and it works fine.
[x] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛

[ ] New feature (non-breaking change which adds functionality) ✨

[x] UI enhancement (non-breaking change which enhances UI) 🎨

[ ] Documentation update 📚

Fixes #350

Thank you for contributing to Research Nexus! We look forward to reviewing your PR and getting it merged!

@shriyadindi It seems the previous PR changes are included in this PR, open a PRs with different branches and make sure your previous changes of the PR does not included

@Harshdev098 Okay

@Harshdev098 I've opened a new branch and created a New PR for it.
https://github.com/Harshdev098/Research-Nexas/pull/363

@Harshdev098 Kindly assign the labels


Fix ./gradlew build docker

This should be bootJar now. Plus adds tests so that it's easy to
detect when docker build is broken.
Obvious Fix

FYI: I had to enable sudo and add docker service for travis-ci so that the test for ./gradlew build docker can run.


fix: Microsoft.Network

Remove nextHopType as required because it is not a property. This build will likely fail because of other existing errors in the swagger file for duplicate paths
May be better handled by https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md#suppression but I'm not sure

Can one of the admins verify this patch?

Automation for azure-sdk-for-js

Automation for azure-sdk-for-ruby
Nothing to generate for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-java
A PR has been created for you:
https://github.com/Azure/azure-sdk-for-java/pull/2677

Automation for azure-sdk-for-go

May be better handled by https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md#suppression but I'm not sure

@nschonni please apply your fixes to our montly branchhttps://github.com/Azure/azure-rest-api-specs/tree/december-network-release/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01 to the latest api version 2018-11-01

@MikhailTryakhov I've repointed this to the December branch. I'm assuming that will get merged back to master after the release. I'm also not sure this is the right fix , or if this should be a Suppression instead.

@number213 I'm not sure about fixing the duplicate endpoints, since one has a different path with /reset at the end https://github.com/Azure/azure-rest-api-specs/pull/4518#issuecomment-447259813

@nschonni you're right, I pointer to the wrong path. The error is in those two:

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{connectionSharedKeyName}/sharedkey
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey

Even though they have different naming for the last parameter, they are essentialy one path.
Let's fix this by mirroring newer API versions (https://github.com/Azure/azure-rest-api-specs/blob/december-network-release/specification/network/resource-manager/Microsoft.Network/stable/2018-11-01/virtualNetworkGateway.json#L1158):

Move data under get from path with connectionSharedKeyName to path with virtualNetworkGatewayConnectionName
In that data rename connectionSharedKeyName to virtualNetworkGatewayConnectionName
Remove /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{connectionSharedKeyName}/sharedkey

@nschonni opened PR with fixes for those two errors: https://github.com/Azure/azure-rest-api-specs/pull/4940


Suggestion: ability to make "smooth continuous line" brushes

I have been using p5.brush to add hatching to some bar charts. It looks very nice, but as far as I can tell, all possible brushes have some level of variability/splotchiness to their strokes. Sometimes you may just want a nice smooth line drawn along the path of the brush. The closest I managed to get was
brush.add('line', {
            type: 'standard',
            weight: 1,
            vibration: 0,
            definition: 1,
            quality: 255,
            opacity: 255,
            spacing: 1,
            blend: false,
            pressure: {type: 'standard', curve: [1, 1], min_max: [1, 1]},
        })

but if I end up re-drawing some hatching using this brush when I update frames, the hatching still seems to "shimmer" a bit. I can make it deterministic by re-setting the seed each time, but frankly in some cases I would rather just have boring 'ol straight lines ;-)
P.S. I have attached an updated TypeScript definitions file for this lovely module. Anyone wanting to use p5.brush in a TypeScript setting will need something like this. You might want to just ship one in the dist folder of your library on npm. You are welcome to use this in any way that would be helpful.
p5.brush.d.ts

Hi @gwhitney
Thank you for the TypeScript definitions. To be honest, I've never used TypeScript, but I would check these if I ever decide to update p5.brush with it.
Regarding your request, I think what you are intending to do can be much more easily done with custom code, no need to import the whole library. I could help you define a hatching algorithm if you want, or you can reuse that part of the code without the natural brush effect. p5.brush draws lines by adding points together, which doesn't make sense if you just want normal boring straight lines!
Let me know if you need help!

Regarding your request, I think what you are intending to do can be much more easily done with custom code, no need to import the whole library. I could help you define a hatching algorithm if you want, or you can reuse that part of the code without the natural brush effect. p5.brush draws lines by adding points together, which doesn't make sense if you just want normal boring straight lines!

I mean, there are numerous sketches out there that do hashing, but (perhaps surprisingly) the only npm-downloadable add-on package for p5 that offers a hatching fill, that we could find, was yours. We're not really interested in maintaining our own hatching function -- we just want one we can download and use. So you could easily fill the gap by adding "boring straight lines" to your package -- I do think they would round it out in a way, and could still be valuable with the other effects. Or maybe you know of another existing package for "boring" hatching? Anyhow, these are just suggestions for you. Feel free to use, and by the same token, also feel free to close this issue as wontfix.


setup publishing aka get nuget-ified

I see nuget config, but I suspect we'll need something to set this up for routine publication. I've never done anything like this, so help wanted.

Catching up on GitHub notifications. I've never even been near nuget, but I'll keep this on my list in case I run out of Zipkin work and want more. If someone comes around who's more knowledgeable / has motivation: go ahead!

This is fixed now.


Feature Request

Hello,
i have about 240 text strings, distributed over several drop downs.
Like this
lorem ipsum (2.409)
Pand con vice merida (13.492)
...
I would like to select them all to delete only the "space and (...) part of each string.
I am sure, RenameIt will be the only one plug in that could do it, right ;-)
Thanks a lot

@mischugo Unfortunately, RenameIt only works for changing the layer's name. When I need text to be replaced, I use this plugin https://github.com/thierryc/Sketch-Find-And-Replace


fix(ui): include suggested nodes in search results

Description:
Include suggested nodes in search results in create channel node search view

Motivation and Context:
Currently we don't include suggested nodes in the search results

How Has This Been Tested?
Manually

Types of changes:
Enhancement

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

@mrfelton @JimmyMow As a further improvement I'd recommend to rank suggested nodes higher in the search results and/or add suggested badge in some form. What are your thoughts on this?

Coverage decreased (-0.02%) to 19.176% when pulling 98855c3429de321f990c24f39aee80930dedb2e5 on korhaliv:fix/include-suggested into c125adc6cdc07c8470caf5a7df2ba78eea23f1d2 on LN-Zap:next.

I'm going to merge this as is since it resolves the issue with suggested nodes not being included in the listing at all.
I think that ranking the suggested nodes higher in the search results is also a good suggestion. We already do the same thing with connected peers.
I'm not sure about showing a badge though


[Desktop] index.desktop.js is not working

If you haven’t already, check out our contributing guidelines for onboarding!

Platform - version:  Desktop - PR1533
Action Performed (reproducible steps):
Run the desktop app on macOS.
npm run desktop

If run the desktop app, you will see the following screen.

If desktop environments works well and index.desktop.js files are applied to desktop app, you will get following screen.

Expected Result
Current Result

I'm not entirely sure I am following the problem. Can you elaborate on what exactly is broken, and if possible, how we might fix it?

cc @AndrewGable @roryabraham if they have any ideas on how to fix this...
I tested out @ilijaprzeski's PR here and discovered a workaround:

If we do not include an index.js file and instead include a index.website.js and index.native.js and index.desktop.js the correct file is used. So maybe we can go with that for now to unblock the linked PR.

Hi, @marcaaron
You mean, i should create index.website.js and index.native.js instead of index.js?

Ok, everything works correctly.

@ilijaprzeski Thanks for reporting this issue. I found a simple solution to this problem which I'll x-post here: https://github.com/Expensify/Expensify.cash/pull/1533#issuecomment-783604268

Thanks, @roryabraham

Solved. Thanks again, @roryabraham


Webpack hot module loses debug information in Chrome

I'm submitting a bug report

Aurelia Skeleton Version
skeleton-typescript-webpack

Framework Version:
1.1.2

Please tell us about your environment:

Operating System:
Windows Server 2016

Node Version:
6.9.4

NPM Version:
4.1.1

JSPM OR Webpack AND Version
webpack 2.3.2

Browser:
Chrome 59

Language:
TypeScript 2.2.2

Current behavior:
Webpack is loozing debug inforation if --hot module is specified.
Ok to reproduce on the skeleton:

Start the application by running: npm start
Open the browser (Chrome) and navigate to the application address: localhost:9000
Open dev tools by pressing F12
In dev tools goto sources then on webpack.// and then .
Here I can see all the ts files of my application.
Change one file in the src folder and save
npm rebuilds only the changed module which is fine because of the -hot module reload
Press F5 (refresh) to refresh the browser and reopen the dev tools
Now in sources->webpack://. i see only the changed file, all the others are lost.

Expected/desired behavior:

What is the expected behavior?
To see all the application files in the dev tools, so I can debug my app.

What is the motivation / use case for changing the behavior?

Seems like a webpack bug. Please open an issue in webpack. Thanks!


VBPieChart not add on UIView objective c

hi,
I am creating a uiview in nib and setting uiview parent class 'vbpiechart' and set all  the thing copy from tutorial but the chart doesn't appear, and when i add chart to self.view it works fine, why this behavior.

it does not work with nib files, yet

Implemented

Example of editing in xib


Regression in key conversion in 0.9.7

TL;DR Regression pertaining to 2edd47929f7298bddde8f682ded330dbaf9c43a6.
With the 0.9.7 release, this created breakage when converting from an RsaKeypair to a SigningKey. More specifically, in the context of ssh_key::Signer::try_sign, which has caused tests with a dependency on rsa = "0.9" to fail in russh due to this call. I've tried refreshing the key used for tests, but it still results in an error due to this change.
The only fix I found was to pin the dependency on rsa to version 0.9.6, as seen in https://github.com/Eugeny/russh/pull/400.

This sounds like you are trying to sign using an invalid key, or we have an underlying bug in key validation. Do you have a key that can reproduce the issue?

Here's a minimal reproduction using a PKCS8 encrypted key: https://github.com/EpicEric/rsa-regression-example
As it shows, RsaPrivateKey::from_components() succeeds, but converting to an ssh_key::KeypairData before trying to sign fails when it shouldn't.

Thanks for the repo, I just looked into it, and the failure happens in the key conversion, and not in actual signature generation here:
https://github.com/RustCrypto/SSH/blob/ssh-key/v0.6.7/ssh-key/src/signature.rs#L668
let data = rsa::pkcs1v15::SigningKey::<Sha512>::try_from(self)?

I don't know yet if the key itself is invalid, or there is an issue in the conversion.

I've generated a new key with the following command, and the conversion error persists:
openssl genrsa -aes128 -passout pass:blabla 3072

What a labyring of traits..but I found the bug that was revealed by the validation: https://github.com/RustCrypto/SSH/blob/ssh-key/v0.6.7/ssh-key/src/private/rsa.rs#L201-L202
  rsa::BigUint::try_from(&key.private.p)?,
  rsa::BigUint::try_from(&key.private.p)?,

This is passing the p prime twice, instead of p and q creating an invalid key. Before this was left silently and invalid signatures were generated.


Add files via upload

m11209317
DIRHUNT, WIG, BUILTWITH.COM
Checks

[x] Your YAML file has required fields as listed in Specs
[x] All checks have passed yaml-lint passed
[x] You agree to contribute your work under MIT license

no files to be reviewed, closing


conflicting implementations when rerun a jupyter cell

Sorry if it is duplicate. I sometimes re run jupyter cells, and if one of them contains an impl Trait for Type I will get an error like this:
[E0119] Error: conflicting implementations of trait `Mammal` for type `Cat`
   ╭─[command_18:1:1]
   │
 1 │ impl Mammal for Cat {
   · ─────────┬─────────
   ·          ╰─────────── conflicting implementation for `Cat`
───╯

I expect the new impl to override the old one, similar to functions and structs.

Overriding a trait implementation is not something that can be done soundly as the code for previous invocations is still loaded in the evcxr process and this code may use the previous implementation.

Is dyn Trait your concern? I think between persisting dyn Trait objects and changing trait implementations I would prefer it to reject persisting dyn Trait objects, like how it doesn't persist closures and non static types. But it is possible to persist dyn Traits and remove them only when a change in some trait implementation was detected, with a message like bindings x, y, z was discarded due trait implementation change.

It is also possible to spawn a background thread that uses the old implementation. In addition it is not possible for evcxr to know if some type contains dyn MyTrait, for example because it is wrapped in Box<dyn Any> or a typemap::TypeMap.
One possibility would be to define an entirely new type every time a trait impl is replaced. In that case the old type becomes unreachable except through dyn Trait and in the case of dyn Trait the old impl will remain used.

Wouldn't background threads use the old binary so they won't be affected by the changes in trait implementation? The casting to dyn Any is an interesting problem, the invalidating solution probably needs to invalidate all dyn Traits on each change.
But I tried and the unsoundness problem already exists, in most simple case:
Welcome to evcxr. For help, type :help
>> struct X(i32);
>> let x = X(5);
>> x.0
5
>> struct X(i64);
>> x.0
93939524698117

The general solution to this problem is probably something around your suggestion. A new type on each type change. But keeping compiler errors beautiful would be a challenge.

Huh, that's unfortunate. I guess X(i32) and X(i64) are being assigned the same type-id (in different compilation units), otherwise evcxr would be reporting that the variable x was lost due to its type changing. Presumably it's using only the path to the type (X) to create the type ID and not also including a hash of the contained field types (i32 or i64).
I think probably the best thing to do would be to say that when a type is redefined, all impl blocks for that type get dropped. The starting point for that code is self.unnamed_items.push(item_block) in eval_context.rs in case you're interesting in taking a look.

Presumably it's using only the path to the type (X) to create the type ID and not also including a hash of the contained field types (i32 or i64).

It also uses the -Cmetadata arguments and the crate name. Rustc requires that crates with the same name have distinct -Cmetadata arguments when attempting to link them together to prevent symbol and type id conflicts. When using extern crate/--extern, rustc will check that this holds and refuse to link if there are conflicts, but when using dlopen, it is your own responsibility to handle this.

Thanks, @bjorn3, that makes sense. I guess to make use of that, I'd need to switch back to having each compilation unit use a new crate name and each crate depend on all previous crates. I used to do something like that in very early versions of evcxr, but moved to using the same crate name for all compilations since it allows you to do thing like struct Foo {} in one line, then impl Foo {...} in a second line. If the two lines were put in separate crates, then rustc would reject it due to coherence.

I think you can duplicate the type definition (and all existing trait impls) every time you add or remove a trait impl. It may be confusing for users though as variables using the old type definition could still exist.

I think you can duplicate the type definition (and all existing trait impls) every time you add or remove a trait impl. It may be confusing for users though as variables using the old type definition could still exist.


Channel List resize not working

Describe the bug
Channels list drag-to-resize not working.
To Reproduce
Steps to reproduce the behavior:
Main > Resizable Channel List > Enable
Expected behavior
Attempting to drag from bottom right corner of list. Cursor changes, but dragging does nothing. Worked before BetterDiscord 1.11
Desktop (please complete the following information):

OS: Win10
Discord Version: Stable
Enabled Theme(s): None

This is caused by the same issue as #150, so I'm going to mark it as a duplicate - thanks for the report!

appreciate your efforts!


Chef14: property_is_set? error out

Description
All my cookbooks using property_is_set? method in a custom resource are failing since on chef 14
Chef Version
sha1	1e8019cf630e8a7c6287e1b950ddeecbe042d554
sha256	26c31070a71309709ed1d19b796ad0b47a283c5c21930906f19e0771a5dd1c1b
url	https://packages.chef.io/files/stable/chef/14.0.190/ubuntu/16.04/chef_14.0.190-1_amd64.deb
version	14.0.190
Platform Version
debian8
debian9
ubuntu1604
ubuntu1404
rhel7
centos7
win2008r2
win2012r2
win2016
Replication Case
Use a cookbook with a custom resource that uses the propert_is_set method on one of the properties.
Client Output

* adjoin_fx[default] action join

           ================================================================================
           Error executing action `join` on resource 'adjoin_fx[default]'
           ================================================================================

           NoMethodError
           -------------
           undefined method `property_is_set?' for #<#<Class:0x0000000003494ca8>:0x00000000032d31d0>

           Cookbook Trace:
           ---------------
           /tmp/kitchen/cache/cookbooks/adjoin_fx/resources/adjoin_fx_rhel.rb:53:in `block in class_from_file'

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/adjoin_fx/recipes/kitchen.rb

            14: adjoin_fx 'default' do
            15:   username   node['adjoin_fx']['username']
            16:   domain     node['adjoin_fx']['domain']
            17:   password   node['adjoin_fx']['password']
            18:   server     node['adjoin_fx']['server']
            19:   os_name    node['platform']              if node['platform_family'] == 'rhel'
            20:   os_version node['platform_version']      if node['platform_family'] == 'rhel'
            21:   action     :join
            22: end
            23:
            24: adjoin_fx_configure 'default' do
            25:   domain       node['adjoin_fx']['domain']
            26:   login_groups node['adjoin_fx']['login_groups']
            27:   login_users  node['adjoin_fx']['login_users']
            28:   action       :configure
            29: end unless node['platform_family'] == 'windows'

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/adjoin_fx/recipes/kitchen.rb:14:in `from_file'

           adjoin_fx("default") do
             action [:join]
             default_guard_interpreter :default
             declared_type :adjoin_fx
             cookbook_name "adjoin_fx"
             recipe_name "kitchen"
             username "JoinDomain"
             domain "c.dazzlingwrench.internal"
             password "*sensitive value suppressed*"
             server "activedirectory.c.dazzlingwrench.internal"
             os_name "redhat"
             os_version "7.4"
           end

           System Info:
           ------------
           chef_version=14.0.190
           platform=redhat
           platform_version=7.4
           ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
           program_name=/opt/chef/bin/chef-client
           executable=/opt/chef/bin/chef-client

       Running handlers:
       [2018-04-04T14:04:05+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2018-04-04T14:04:05+00:00] ERROR: Exception handlers complete
       Chef Client failed. 0 resources updated in 02 seconds
       [2018-04-04T14:04:05+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2018-04-04T14:04:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2018-04-04T14:04:05+00:00] FATAL: NoMethodError: adjoin_fx[default] (adjoin_fx::kitchen line 14) had an error: NoMethodError: undefined method `property_is_set?' for #<#<Class:0x0000000003494ca8>:0x00000000032d31d0>

Stacktrace
I don't have the stacktrace right now

I was seeing a similar issue as well. I ended up changing my property_is_set?(:values) calls to just check for the value of new_resource.values` for now.

Hey, just posting the chef-stacktrace
[kitchenuser@tk-rhel-centos7-d076cc cache]$ sudo cat chef-stacktrace.out
Generated at 2018-04-05 15:30:55 +0000
NoMethodError: adjoin_fx[default] (adjoin_fx::kitchen line 14) had an error: NoMethodError: undefined method `property_is_set?' for #<#<Class:0x00000000031931f8>:0x0000000002fddcc8>
/tmp/kitchen/cache/cookbooks/adjoin_fx/resources/adjoin_fx_rhel.rb:53:in `block in class_from_file'
(eval):2:in `block in action_join'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/provider.rb:231:in `instance_eval'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/provider.rb:231:in `compile_and_converge_action'
(eval):2:in `action_join'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/provider.rb:177:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/resource.rb:594:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/runner.rb:70:in `run_action'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/runner.rb:98:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/runner.rb:98:in `each'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/runner.rb:98:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/resource_collection/resource_list.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/resource_collection/stepable_iterator.rb:114:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/resource_collection/stepable_iterator.rb:103:in `iterate'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/resource_collection/resource_list.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/runner.rb:97:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/client.rb:717:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/client.rb:712:in `catch'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/client.rb:712:in `converge'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/client.rb:751:in `converge_and_save'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/client.rb:283:in `run'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/application.rb:303:in `run_with_graceful_exit_option'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/application.rb:279:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/application.rb:261:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/application/client.rb:440:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/lib/chef/application.rb:66:in `run'
/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.0.190/bin/chef-client:26:in `<top (required)>'
/opt/chef/bin/chef-client:59:in `load'
/opt/chef/bin/chef-client:59:in `<main>'

@lamont-granquist : Btw, if you wanna have a look at the cookbook, it's on the supermarket: adjoin_fx I'm using the latest version.

@wheatevo : I understand your use case, we're still on chef 13 on our infra (this error is just because our tests play automatically on latest version of chef and we upgrade only when everything passes so no hurry for me, but I would imagine this will cause some problems for a lot of cookbooks since it's oftenly used)

Not sure if this helps in investigation, but I found that using new_resource.property_is_set?(:values) worked successfully while property_is_set(:values) did not. Guessing the issue has something to do with the new changes to require new_resource.PROPERTY though it might be entirely unrelated.

Ah, this makes sense.
That is a side effect of this:  https://github.com/chef/chef/pull/6952
Specifically the line which excludes the Chef::Resource.instance methods.  Most of those methods make no damn sense to be called from the provider directly and magically (there were probably 50-100 methods that were yanked out, this was just lost in a long list of things that made no sense at all).
I don't find this one to be that bad though.  I'll submit a PR to reinstate it and see what people think.

Hey, I don't really mind this changing, just needs to be documented. In my opinion, since t wasn't a chef deprecation, it should still exist in Chef14, and might be deprecated for Chef15. On the other hand, might as well pull the bandaid off right now and get it over with ^^

Yeah, you'll get some argument from me on that.
The change that I made which caused this was this one line:
https://github.com/chef/chef/pull/6952/files#diff-31a0474b150c23d5e0e8669133fce6d9R354
That does not obviously have anything to do with property_is_set? so it never would have occurred to me to deprecate it in Chef-13.  If that was the right thing to do for 14, it sets up a game of "gotcha!" where if I'm just not smart enough to figure out every possible implication of every change it leads to perverse things being done -- during a major release where we're supposed to be able to make breaking changes -- and everything starts to slip and we start do perverse coding to work around not just ripping the band aid off.  It'd be better to add a new deprecation warning to the next maintenance release of Chef-13 -- then a month later people can upgrade to that version of Chef-13 and fix the deprecations and work correctly on Chef-14.
But I don't have a problem with reinstating the API per #7122 since it doesn't seem to hurt anything, and it can be put back in a much less magical and more straightforward to read manner -- so I don't think we need to have that discussion...

@lamont-granquist : Sure, I'll follow your pull request and see what happen to it and how things are resolved. Taking action accordingly once the matter is resolved


Interface header should be optional

Describe the bug
According to the dbus specification, the interface header can be omitted in method calls. If you do that, then this trace results:
ERROR    Unexpected error processing message: %s
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/dbus_fast/aio/message_reader.py", line 23, in _message_reader
    process(message)
  File "/usr/lib/python3.8/site-packages/dbus_fast/message_bus.py", line 847, in _process_message
    handler = self._find_message_handler(msg)
  File "/usr/lib/python3.8/site-packages/dbus_fast/message_bus.py", line 918, in _find_message_handler
    if "org.freedesktop.DBus." in msg.interface:
TypeError: argument of type 'NoneType' is not iterable

This is the same bug I logged against dbus_next.
To Reproduce
Run example service
python3 examples/example-service.py

Call method with no interface. For this I used the old python-dbus package, since this is also where my bug is coming from: Old code using that package.
import dbus
bus = dbus.SessionBus()
bus.call_blocking('dbus.next.example.service', '/example/path', None, 'Echo', '', ['hello'])

Possible fix
This fixes it for me, but I didn't have time to really absorb your whole test/pre-commit framework. I also don't know if this affects performance disproportionately.
diff --git a/src/dbus_fast/message_bus.py b/src/dbus_fast/message_bus.py
index 14776fb..aa9a7d5 100644
--- a/src/dbus_fast/message_bus.py
+++ b/src/dbus_fast/message_bus.py
@@ -915,7 +915,7 @@ class BaseMessageBus:
     def _find_message_handler(
         self, msg: _Message
     ) -> Optional[Callable[[Message, Callable[[Message], None]], None]]:
-        if "org.freedesktop.DBus." in msg.interface:
+        if msg.interface is not None and "org.freedesktop.DBus." in msg.interface:
             if (
                 msg.interface == "org.freedesktop.DBus.Introspectable"
                 and msg.member == "Introspect"
@@ -949,7 +949,10 @@ class BaseMessageBus:
                     if method.disabled:
                         continue

-                    if (
+                    if msg.interface is None and (
+                        msg.member == method.name
+                        and msg.signature == method.in_signature) \
+                    or (
                         msg.interface == interface.name
                         and msg.member == method.name
                         and msg.signature == method.in_signature

The change looks reasonable, please feel free to open a PR


Executing text query

Robin, I have a model like
export class Department extends Model {
@PrimaryKey
@Column
DepartmentID: number;
@Column
DepartmentName: string;
@Column
Available: boolean;
@Column
Description: string;
}
and I need to execute a string query (made from different options):
"Select DepartmentID, Available from Department"
I can't found how I can do it within sequelize-typescript.
Thanks in advance
Marcos

@mtabaj it's same like it's in pure Sequelize (see docs).
You just have to get hold of the sequelize object. You can get it from your database object or, if you have a model instance, as this.sequelize.
So if you want to add a custom find function, you can do something like this:
// your db instance in some other file
const options = ...
export const db = new Sequelize(options)

// your model in some other file
export class Department extends Model {
  /** all your column defintions **/
  public static selectWithOptions(options: string) {
    return db.sequelize.query(`select ${options} from Department`)
  }
}

// usage
const deps = await Department.selectWithOptions("DepartmentID, Available")

By the way, if you just want to select different attributes included in select, you can pass attributes property to your .find method on the model. Here is the docs.


2FA for user actions

Allow users to enable 2FA (or force users to have 2FA enabled) in environments where auditing is more important

i did this
well done


Instance creation for workflow service

Hi Team,

I am unable to understand why do we need to create a separate instance and key for "Workflow Service" when the booster already creates an instance for it?
Also, why doesn't the booster put in at least the basic authorizations ( may be GET operation ) in the service instance created by it ?
If it is as per the design to separately create instance, then how is "wm_workflow" instance useful ? Isn't it duplicate to what we create manually?

Thanks & Regards
Srinivas Rao.

@venugopalchembrakalathil @rich-heilman  - Could you please help me to understand ?

@venugopalchembrakalathil @rich-heilman  - Could you please help me to understand ?

Hello @srinivasnrao,
Here are the answers in order:

Workflow Service Instance provides the needed access to the APIs based on the scope assigned. The default "wm_workflow" instance created by the booster have the default scopes (TASK_GET, FORM_DEFINITION_DEPLOY, TASK_DEFINITION_GET, WORKFLOW_DEFINITION_DEPLOY) because these covers all the scenarios. For APIs call, you need to explicitly create new workflow service instance of needed scopes.
As mentioned above, Booster. created default workflow service instance with basic default scopes.
"wm_workflow" service instance is used while importing the content from API Hub using Process Flexibility application, the same instance can be used to deploy workflow MTAs from Business Application Studio.

Hope that answers!

Hello @srinivasnrao,
Here are the answers in order:

Workflow Service Instance provides the needed access to the APIs based on the scope assigned. The default "wm_workflow" instance created by the booster have the default scopes (TASK_GET, FORM_DEFINITION_DEPLOY, TASK_DEFINITION_GET, WORKFLOW_DEFINITION_DEPLOY) because these covers all the scenarios. For APIs call, you need to explicitly create new workflow service instance of needed scopes.
As mentioned above, Booster. created default workflow service instance with basic default scopes.
"wm_workflow" service instance is used while importing the content from API Hub using Process Flexibility application, the same instance can be used to deploy workflow MTAs from Business Application Studio.

Hope that answers!

Thanks @ArchanaShukla. Clears the doubt. Thank you very much !

Thanks @ArchanaShukla. Clears the doubt. Thank you very much !


Improve Java interop

This is an ABI breaking change.
Example change to address Java consumption of library.
The value of this PR is twofold

Java consumers will not need to return Unit.Instance in their lambdas

                Statsig.getLayerWithCustomExposureLoggingAsync(
                        user,
                        layerName,
                        (layerExposureEventData) -> {
                            onExposure.accept(layerExposureEventData);
                            return Unit.INSTANCE;
                        }),

More importantly we can stop bringing Kotlin std-lib into the consumer's compile classpath

Reference: https://developer.android.com/kotlin/interop#lambda_arguments

API deprecated in v1.0.0 and fully removed in v1.1.0


AttributeError: 'OpenAI' object has no attribute 'kwargs'

I am trying to use langchain's implementation of OpenAI instead of dspy's
llm = OpenAI(model_name=model_name)
#llm = dspy.OpenAI(model=model_name, max_tokens=250)

dspy.settings.configure(lm=llm)

I was getting my hands on with the Minimal work example. I have set up keys and other requirements.  I have followed all the steps mentioned here.
My openai version is openai 1.30.4
When I compile and evaluate the model. I get this error:
from dspy.teleprompt import BootstrapFewShot

# Set up the optimizer: we want to "bootstrap" (i.e., self-generate) 4-shot examples of our CoT program.
config = dict(max_bootstrapped_demos=4, max_labeled_demos=4)

# Optimize! Use the `gsm8k_metric` here. In general, the metric is going to tell the optimizer how well it's doing.
teleprompter = BootstrapFewShot(metric=gsm8k_metric, **config)
optimized_cot = teleprompter.compile(CoT(), trainset=gsm8k_trainset)

Error:
AttributeError: 'OpenAI' object has no attribute 'kwargs'
What am I missing while defining the llm? How can I resolve this?

What's the drawback of using DSPy's OpenAI client?

Hi @rohanprasadsap ,
Langchain’s OpenAI LM is currently not supported as a DSPy LM and will not inherit all the related properties needed to run DSPy pipelines with it. Feel free to share any particular use cases for using Langchain’s OpenAI LM over the current dspy.OpenAI LM and we can explore if any changes are needed!

for me it was working you have to use dspy to initialize the llm like the below
turbo = dspy.AzureOpenAI(deployment_id=model_name,
api_key=openai_api_key,
api_base=azure_endpoint,
model_type="chat",
api_version=openai_api_version,
max_tokens=4000,
)


Add more Die func for Workload Spec and Status

Description of problem
Currently the codebase contains lot of repeated code in dies(generating fakes) for the WorkloadSpec and WorkloadStatus. This can be done better by adding some helper func to set some fields.

Not migrated because this hasn't been picked up to-date and assuming lack of traction for value or feasibility.
If eng disagrees, let's talk.


build doesn't work

The index.html file has admin/ in file path but the directory does not exist
also how can I deploy it to production or change hostname to <IP_ADDRESS> ??

Hey @AdrianPrendas — we will need more information to help you here.
In production, Payload serves the contents of the /build folder statically via Express, so everything under /admin will first attempt to match to a file in /build, but if there is no file there, it will fall back to serving to /build/index.html.
In regards to deploying to production, we have a collection of tutorials that show how to deploy Payload to a DigitalOcean droplet here:
https://payloadcms.com/docs/production/deployment#digitalocean-tutorials
But you can deploy it to anywhere that can host a Node / Express app.
Here's another walkthrough for Northflank:
https://northflank.com/guides/deploying-payload-cms
I'm going to convert this to a discussion as it is not related to an issue with Payload but we are happy to continue to help there in the discussion!


IOS 14

I just received this message from Google:
"As part of iOS 14, developers will need to:

Update to use GMA SDK v7.64 or later.

Request the new AppTrackingTransparency Framework permission.

Both of these steps are crucial to avoid unintentional revenue loss. "
Is anything being done to address this?
Thanks

Yeah, that isn't form me at all that is the google mobile ads sdk.


Inconsistent results with Unity project.

Two machines, both new installs of OSX, Unity, and Atom, both sets of packages installed the same way.
We've run rm *.sln *.csproj on both machines, then use the "Open C# Project" in Unity's menu (formerly "Sync MonoDevelop Project".
At this point, on one machine, everything works a charm. On the other machine, the second I go to edit any code the log fills up with errors about missing references, even to plenty of built in stuff.
There is no difference in the .sln files, and the only difference in the *.csproj files is a full path to a DLL and some Unity defines (working machine has a pro license and the other machine is a personal license).
Has anyone come across this?

Can you open the solution that doesn't work in MonoDevelop or Xamarin Studio?

Yep, and everything works as expected in MonoDevelop.

Do you have a sample of the errors you're seeing?
On Thu, Sep 17, 2015 at 11:59 AM mikew<EMAIL_ADDRESS>wrote:

Yep, and everything works as expected in MonoDevelop.
—
Reply to this email directly or view it on GitHub
https://github.com/OmniSharp/omnisharp-atom/issues/510#issuecomment-141132282
.

--
Thanks,
David

It goes between not being able to find UnityEngine stuff, to finding that but failing half-way through loading the projects code.
https://gist.github.com/mikew/319d3d47339c53e98b15#file-omnisharp-output-log is log from omnisharp. Some interesting bits:
Line 108:
An unhandled exception has occurred: Diagnostic must have span '[1403..1403)'

Line 70
Failed to process project file '/Users/pankaj/src/alaska/Assembly-CSharp-Editor.csproj'

@mikew what are the names of the csproj files? Unity used to emit 2 out per project and one used to end in -csharp.csproj. That's the one that we use for Unity.
Maybe they changed something?

@mikew see here https://github.com/OmniSharp/omnisharp-roslyn/blob/master/src/OmniSharp/MSBuild/SolutionPicker.cs#L17

Yeah it looks like Unity 5.2.0 drops the *-csharp.sln file. All of the *-vs.csproj are gone as well. This blog post mentions "Native Visual Studio Integration".
Either way, neither machine has any *-csharp.sln file, but we are still in this jam.

I wonder if you're able to drop back to something pre 5.2.0, and see if it works there?  It could be need some sort of alternative if those files are gone.

Once work is finished I'll try 5.1 and 5.2, with and without licenses, in a project I can share the source in, and see what happens.

The issue persisted with 5.1.3, with either Pro or Personal licenses.
The issue did not crop up on a new project, everything worked fine there.
I tried opening the project in Vim with YouCompleteMe, and it could load the references omnisharp-atom said it couldn't find.

YouCompleteMe uses the old version of the server (omnisharp-server vs omnisharp-roslyn)
Is it possible for you to share your code? maybe privately?

Sure, hit my email, it's on my profile.

Emailed!

Seems to be working for me.

Just as I feared. Thanks for taking a look tho!

On the machine that doesn't work, can you just check the references in your csproj, and see if they exist on disk where they are supposed to be?

How do I find the log file? I've been having a similar issue. Where. In the event that I have to force-quit ( usually from Cutting or Deleting multiple lines over a certain size * that cause a temporary error * . Unclosed if  as an example ).  Atom will hang. I know it's an omnisharp issue , or I've narrowed it down that far at least.  Would be fine, except for when I reload the file. The internal ( atom? ) backup replaces the current working version from unity. This has resulted re-fixing a project more than once. How can I help this ?

@Angrycrow For that hanging issue, do you have Enhanced Highlighting on?  There is an outstanding issue, that appears to cause atom to get stuck in an infinite loop.  Disabling Enhanced Highlighting has been known to fix it (it is also the reason that enhanced highlighting is off by default still).
I've not been able to get the Chromium Debug tools to get in there while the issue is happening to determine what the real and true fix is.  If you can some extra traction in there that would be helpful, but you certainly don't have to.

oh.. While the issue is happening.. What am I looking for ?

From what I've seen, as I've been unable to narrow it down, it has to do
with something in the atom core code, around tokenization.  It's also
possible it's something OmniSharp-atom is doing, that atom just doesn't
like.  Unfortunately I don't have much more than I've seen it happen, and
turning off highlighting has been the fix.
On Mon, Sep 21, 2015 at 1:44 PM, Ben Nix<EMAIL_ADDRESS>wrote:

oh.. While the issue is happening.. What am I looking for ?
[image: screen shot 2015-09-21 at 12 43 29 pm]
https://cloud.githubusercontent.com/assets/2450703/9999889/78942474-605e-11e5-9ec2-28ad8f6bc964.png
—
Reply to this email directly or view it on GitHub
https://github.com/OmniSharp/omnisharp-atom/issues/510#issuecomment-142056116
.

hermm...  This is worth learning more about.. Let's see.. I'll tinker around and see if I can re-create it in these conditions.

I think I caught it while capturing , But I don't know if it'll ever finish retrieving events... hanging on this now :

I've been able to re-create this condition pretty reliably. Let me know if you need the solution to see what happens. All I've been doing is cutting out the condition at the end of that method.
 // draggin detail.
        if ( isDragging )
        {
            arm.SetActive(false);
            drag.SetActive(true);
        }
        else
        {
            drag.SetActive(false);
        }

If you have the repo somewhere that'd be great, if it's closed source, I
can get you my email, and I can test it there.
On Mon, Sep 21, 2015 at 2:35 PM, Ben Nix<EMAIL_ADDRESS>wrote:

I've been able to re-create this condition pretty reliably. Let me know if
you need the solution to see what happens. All I've been doing is cutting
out the condition at the end of that method.
// draggin detail.
if ( isDragging )
{
arm.SetActive(false);
drag.SetActive(true);
}
else
{
drag.SetActive(false);
}
—
Reply to this email directly or view it on GitHub
https://github.com/OmniSharp/omnisharp-atom/issues/510#issuecomment-142069998
.

Here's a link to the project ( Unity 5.1 ),  let me know if you can recreate the bug. I'm runnin OSX 10.10.5 and the current atom/omniSharp release.
https://www.dropbox.com/s/06fsar9383tkifr/Archive_TROLL_LD33.zip?dl=1

I think I finally nailed this... hopefully this is the last edge case we have...

@Angrycrow try v0.24.13 and let me know if the problem is gone for you (it was for me with your code anyway)

Checked the pre : Issue still exists.
updating
Sorry to say. Still getting it. Disabling that green pencil icon thing certainly works around it. But I was able to recreate the bug just the same:

on quick question did you restart atom after you updated?

I did. Yes. I'm re-installing omniSharp just to be sure. Atom is V 1.0.18 currently?

I found another clue. Trying to nail down the specific behavior.
so in  .
if ( isDragging )
        {
            arm.SetActive(false);
            drag.SetActive(true);
        }
        else
        {
            drag.SetActive(false);
        }

I see it now...

I think I found the common edge cases (I'm sure there are more).
@Angrycrow you mind trying out this branch locally https://github.com/OmniSharp/omnisharp-atom/pull/522 and letting me know if it works for you? (If you need instructions just reply or hit me up on Jabbr ( https://jabbr.net/#/rooms/omnisharp )


JS.ORG CLEANUP

JS.ORG CLEANUP
Hello, it seems a js.org subdomain that was requested to target this repository no longer works.
The subdomain requested was es6-tween.js.org and had the target of tweenjs.github.io/es6-tween.
It produced the following failures when tested as part of the cleanup:

HTTP: Failed with status code '404 Not Found'
HTTPS: Failed with status code '404 Not Found'

To keep the js.org subdomain you should add a page with reasonable content within a month so the subdomain passes the validation.
Failure to rectify the issues will result in the requested subdomain being removed from JS.ORGs DNS and the list of active subdomains.
If you are wanting to keep the js.org subdomain and have added reasonable content, YOU MUST reply to the main cleanup issue with the response format detailed at the top to keep the requested subdomain.
:robot: Beep boop. I am a robot and performed this action automatically as part of the js.org cleanup process. If you have an issue, please contact the js.org maintainers.

@js-org-cleanup You can close host (domain) as es6-tween not supported anymore


query subject_closure & object_closure by default, add direct boolean param

This change is mainly happening in monarch-py, but will change the fastapi params as well
We need to add a direct boolean parameter that defaults to False
if direct is True
subject, object & entity should query using subject and object fields
if direct is False
subject, object and entity params should actually use subject_closure and object_closure fields

See monarch-py#53

Implemented in monarch-py, what changes need to be made here in the API / frontend?


Attach screenshots in the readme

For better visual appeal you can add screenshots of your webpage hero section.

will be added soon, Thank you for checking out!


Vectorize differenced process

This PR:

refactors DifferencedProcess to be compatible with vectorized input
Moves integration of discrete timeseries to its own helper function integrate_discrete(), in pyrenew.math, which DifferencedProcess calls under the hood.
Adds tests for multidimensional input, including checks that appropriate and informative errors are raised.
Changes from using numpyro.contrib.control_flow.scan to  jax.lax.scan in the integrator, since it's fully deterministic.

Out of scope but planned

Helper functions for broadcasting / shape checking / etc for multi-dim array dimensions after the first, where the first dimension is time and is scanned along

Out of scope but planned

Helper functions for broadcasting / shape checking / etc for multi-dim array dimensions after the first, where the first dimension is time and is scanned along

Is there an issue for this?

Created #451

Could be good to have a test that makes use of both the vectorized differenced process and the vectorized AR process to make sure they work together. Perhaps as a test for rtperiodicdiffar. Could be done here or as part of https://github.com/CDCgov/PyRenew/pull/419


Add wb-hochschule

@LukasGerm Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

The URL is https://www.wb-fernstudium.de/
The Adress is:
Street: Hilpertstr. 31
City: 64295 Darmstadt
Country: Germany
https://www.wb-fernstudium.de/kursseite/bachelor-studiengang-angewandte-informatik-bsc.html when you scroll a bit down you can see that its a Bachelor Degree with 7 semesters
I don't actually know what you mean with that. Thats the official website with a german impressum etc.

@LukasGerm Thank you very much for the clarification. Would you please provide us with a proof, which shows that the school recognizes the domain student.wb-hochschule.com that you are submitting as an official email domain for the students?
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Okay so basically to get an e-mail address we go to here, search for Wilhelm Büchner Hochschule and get redirected to our website for single sign on.
Also here are the instructions to do so.

@LukasGerm Thank you very much for the clarification. Pull request merged.


added pre-commit hook

added pre-commit hooks!
HIGHLIGHTS!

used grunt-githooks as dev dependency!
added postinstall script in order to bind the lint to pre-commit hooks of git

Feature branch is behind master. I'll wait for us all to chat to figure out our best workflow. Awesome to see git hooks!

Cool beans, rebased with master


[FLINK-12344][coordinator] Remove legacy runtime messages

What is the purpose of the change
Remove legacy runtime messages that only used in pre-FLP-6 codebase.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector:(no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

cc @tillrohrmann @zentol

will merge this one travis is green.


Reconfigured install.deb.yml to allow for Debian based systems

This commit will allow Debain based systems to install the oracle-java7-installer package via adding apt-key and performing and apt update before install.

Thank you for the PR!


Question: Does it work on Python 3.6?

We are using this asgi_redis with python 3.6 and we are having problems setting this up. The docs say:
Redis >= 2.6 is required for asgi_redis. All Channels projects currently support Python 2.7, 3.4 and 3.5.

So not sure it it will work in 3.6. May someone more experienced please confirm?

I see no reason why not - 3.6 has no backwards incompatible features, it just came out more recently than that doc said. Let me add 3.6 to our build test suite and check for you.

Yup, 3.6 build is all green and works as expected: https://travis-ci.org/django/asgi_redis/jobs/237051035


[REQUEST] - Add Azure AI Search as supported vector store

Description
Add vector store support for Azure AI Search
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots
![DESCRIPTION](LINK.png)

Logs
No response
Browsers
No response
OS
No response
Additional information
No response

any updates or timeline on this ? Adding AI Search would be a great addition!


how to train?

Can you give instructions how to train this?

Thanks for your feedback!
I will update the repository with instructions shortly!

Sure! Thank you for letting me know! I will update the repository as soon as possible!


[FEATURE] Compatibility with the More Music Discs mod

discs from the More Music Discs mod arent affected by Stackables. any chance you could change that?

Hopefully.....this should be fixed with 2.0.0. They don't have their source code published anywhere, but I've refactored Stackables to utilized tags now. If More Music Discs for some reason doesn't work with it by default now, then you should be able to add compatibility with a data pack adding all of their new music discs to the stackables:music_discs tag.
At the moment 2.0.0 is only out for 1.20.3/1.20.4, but I hope to backport it to the earlier 1.20-1.20.2 versions soon.


BlueSky crash on start - resolved

Had an issue when starting BlueSky, would not boot through.
error log ... 'np.string_' was removed in the NumPy 2.0 release. Use 'np_bytes_' instead.
I removed Numpy2.0, and used :  pip install numpy==1.26.4 , dated 06/02/2024.
This seems to have fixed the booting issue.

I tried that, but I get
Bluesky needs numpy._core.numeric
And
pip install numpy._core.numeric
says it could not find a version that satisfies the requirements numpy._core.numeric

Hi @thomasrdean and @tinpusher! This seems to be an issue introduced with the new major release of NumPy. We'll have a look at what needs to be changed in BlueSky to be compatible with these changes.

It seems that Qt gui threw a fatal error.
radarwidget.py line 138,  in initializeGL super().initializeGL
glhelpers.py line 752,  in initializeGL obj.creater()
navdata.py,line 123, in create npwids=np.array(wptids, dtype=np.string_.
Seems that to support both 1.x and 2.x versions of NumPy,  modules will need to be compiled with numPy 2.0.
....
I took the easy way out.... downgraded to the last 1.x NumPy version I found ...1.26.4

When I downgraded, I got the error message about core.numeric.

Has anyone found a temporary working solution? Encountering the same issue, and seeing the issue has been titled as resolved.
I tried downgrading numpy to 1.26.4, however getting same error message about core.numeric as @thomasrdean

Maybe check if numpy2.0, or some remaining artifacts are not in the path, uninstall then reinstall the previous version, ensuring it is in the path. I used pip to remove and reinstall the previous version. This was all that I needed to do. When pip reinstalls the previous version, it automatically uninstalls the newer numpy version.

Yes, I tried that again (uninstalling numpy 2.0 via pip uninstall numpy -y, and clearing from the path, and reinstalling with 1.26.4 via pip install numpy==1.26.4), however still running into the same issue when running python3 BlueSky.py:
C:\Users\StuCheckout\Documents\Vishal\bluesky>python3 BlueSky.py
Using Python-based geo functions
Reading config from C:\Users\StuCheckout\Documents\Vishal\bluesky\settings.cfg
Reading magnetic variation data
Loading global navigation database...
Reading cache: C:\Users\StuCheckout\Documents\Vishal\bluesky\cache\navdata.p
Bluesky needs numpy._core.numeric
Run setup-python.bat (Windows) or check requirements.txt (other systems)
Install using e.g. pip install numpy._core.numeric
BlueSky normal end.

Current numpy version:
>python -c "import numpy; print(numpy.__version__)"
1.26.4

The solution that worked for me was simply changing the following lines in \bluesky\bluesky\ui\qtgl\glnavdata.py to the following (simply changing the dtype from np.string_ to np.bytes_ respectively):
Line 123:
npwpids = np.array(wptids, dtype=np.bytes_)

Line 158:
self.aptlabels.create(np.array(aptids, dtype=np.bytes_),
                              self.airports.lat, self.airports.lon,
                              palette.aptlabel, (apt_size, 0.5 * apt_size),
                              instanced=True)

This worked for me with NumPy 2.0.

The solution that worked for me was simply changing the following lines in \bluesky\bluesky\ui\qtgl\glnavdata.py to the following (changed the dtype from np.string_ to np.bytes_ respectively):
Line 123:
npwpids = np.array(wptids, dtype=np.bytes_)

Line 158:
self.aptlabels.create(np.array(aptids, dtype=np.bytes_),
                              self.airports.lat, self.airports.lon,
                              palette.aptlabel, (apt_size, 0.5 * apt_size),
                              instanced=True)

This worked for me with NumPy 2.0.

This is enough to start the program however I needed to change 2 more np.string_ to np.bytes_ (basically all np.string_) and then I was able to create aircraft. Hopefully I won't encounter any other issues.

The solution that worked for me was simply changing the following lines in \bluesky\bluesky\ui\qtgl\glnavdata.py to the following (changed the dtype from np.string_ to np.bytes_ respectively):
Line 123:
npwpids = np.array(wptids, dtype=np.bytes_)

Line 158:
self.aptlabels.create(np.array(aptids, dtype=np.bytes_),
                              self.airports.lat, self.airports.lon,
                              palette.aptlabel, (apt_size, 0.5 * apt_size),
                              instanced=True)

This worked for me with NumPy 2.0.

This is enough to start the program however I needed to change 2 more np.string_ to np.bytes_ (basically all np.string_) and then I was able to create aircraft. Hopefully I won't encounter any other issues.

Hi, may I know which other 2 np.string_? manage to find 1 more only
I am having this issue on my macOS and it was fine 2 weeks ago, I am getting "Bluesky needs numpy._core.numeric". Please share if you manage to solve it, thanks!

The solution that worked for me was simply changing the following lines in \bluesky\bluesky\ui\qtgl\glnavdata.py to the following (changed the dtype from np.string_ to np.bytes_ respectively):
Line 123:
npwpids = np.array(wptids, dtype=np.bytes_)

Line 158:
self.aptlabels.create(np.array(aptids, dtype=np.bytes_),
                              self.airports.lat, self.airports.lon,
                              palette.aptlabel, (apt_size, 0.5 * apt_size),
                              instanced=True)

This worked for me with NumPy 2.0.

This is enough to start the program however I needed to change 2 more np.string_ to np.bytes_ (basically all np.string_) and then I was able to create aircraft. Hopefully I won't encounter any other issues.

Hi, may I know which other 2 np.string_? manage to find 1 more only
I am having this issue on my macOS and it was fine 2 weeks ago, I am getting "Bluesky needs numpy._core.numeric". Please share if you manage to solve it, thanks!

If you change the following np.string_ to np.bytes_ it should work (at least for me so far i have no problems)

Hi all,
Thanks for the suggestions. This has been fixed in 56ae5de.


Remove some !important declarations

Relates to b071548
The navigation was using !important in a few places. I've changed the CSS a bit to no longer need these, but that means I've made some selectors slightly more specific.
The use of !important was to get around the hover state being persisted when the menu was opened but the mouse hadn't moved, which meant the menu button kept its white background when it should be black.
Making the hover state only apply when the nav is closed, gets around that.
I also added comments to a few other !important's

Updated to fix tag pages and so on.

Does this fix the issue where the icon appears white by default?

Yep :) I've updated the commit & PR message to clarify that.


How to Upload Image to Firebase Storage?

Hey I was wondering if there is a way to upload the Base64 string we get using toDataURL to Firebase Storage as png image.

Nevermind solved it with: https://github.com/firebase/firebase-js-sdk/issues/576#issuecomment-533221157


Merge analaytics from docs site and flutter.io site.

Fixes #24072

From this PR, the GA tracking id also exists in doc/index.html, in addition to analytics.html.

Yeah, but the "doc" directory no longer exists.  That PR was a loooong time ago.  I searched for the analaytics ID over the entire codebase, and it only appears in the one file.

Cool, thanks for double checking.


light gray text on light background

Is there a way to darken the light gray styled text to make it more legible on terminals with a light background?

Not yet. Which terminal and with what background color are you using? Could you paste a screenshot of your terminal running gdu?

It's the Mac terminal with the Basic (Default) profile which has a white background. It works great, just a bit hard to read.

There is problem in rivo/tview with transparent modals but I will do my best to improve the colors :)


Make sure the pod of the operator is running, before test case is running

Proposed Changes

This PR makes sure the pod of the operator is running, before test case is running.

Release Note

/lgtm
/approve


Bug: Web Interface Downloading Fails for Multiple Files Totaling Over 1GB

Describe the bug
Downloading multiple files of more than 1GB from the web interface generates an incomplete .tar file of 980MB. The following error is logged: {"level":"error","service":"frontend","pkg":"rhttp","time":"2023-05-13T12:44:22.339036398Z","message":"reached max total files size"}.
Steps to reproduce
Steps to reproduce the behavior:

Go to the web interface.
Select multiple files that together exceed 1GB.
Download the selected files.

Expected behavior
The expected behavior is to download all the selected files, regardless of their total size.
Actual behavior
A .tar file of 980MB is generated, which is incomplete because the total size of the selected files exceeds this amount.
Setup
The infrastructure I'm using is an LXC container with Debian, running OCIS with docker compose. The template being used is: https://github.com/owncloud/ocis/tree/master/deployments/examples/ocis_wopi

@isasmendiagus This is not a bug. This value is configurable.
FRONTEND_ARCHIVER_MAX_SIZE is your friend. It is an int64 type and the default is<PHONE_NUMBER>.
You can find that in the ocis documentation https://doc.owncloud.com/ocis/next/deployment/services/s-list/frontend.html

@micbar Thanks!


piping data from another command to vibrant cli

Is it possible to feed an image to the vibrant cli tool from a unix pipe?
ie.
~$ curl https://i.imgur.com/nzcJuDx.png  | vibrant -json
usage: vibrant [options] file

options:
  -compress
    	Strip whitespace from output.
  -css
    	Output results in CSS.
  -json
    	Output results in JSON.
  -lowercase
    	Use lowercase only for all output. (default true)
  -rgb
    	Output RGB instead of HTML hex, e.g. #ffffff.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 16 30609   16  4910    0     0  18374      0  0:00:01 --:--:--  0:00:01 18389
curl: (23) Failed writing body (1945 != 2759)

this does not work, btw ^
I can achieve what I want though by saving to a temp file
eg.
~$ curl https://i.imgur.com/nzcJuDx.png  -o temp && vibrant -json temp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 30609  100 30609    0     0   100k      0 --:--:-- --:--:-- --:--:--  100k
{
  "darkvibrant": {
    "color": "#004285",
    "text": "#ffffff"
  },
  "lightvibrant": {
    "color": "#7bbdff",
    "text": "#000000"
  },
  "vibrant": {
    "color": "#3f9fff",
    "text": "#ffffff"
  }
}

Hm, I could definitely explore adding a feature like this (i.e. read image data from stdin) to the reference implementation cli tool.
Do you have any other suggested improvements in mind after using it? e.g. the flags, default behavior, output, etc...
Thanks,
-tso

My plan is to wrap library in a node.js server.
Basically you'll send the server a URL of an image, vibrant does its thing, and you get back the  json output of the color palette.

@lmj0011 neat!
I added reading stdin as a command-line flag -i:
$ vibrant image.jpg
     Vibrant: #ede01b, population: 1350
LightVibrant: #f5ae82, population: 2981
 DarkVibrant: #9d5f09, population: 438
       Muted: #5f8ca3, population: 2454
  LightMuted: #d6e2ec, population: 2933
   DarkMuted: #253948, population: 2529
$ cat image.jpg | vibrant -i
     Vibrant: #ede01b, population: 1350
LightVibrant: #f5ae82, population: 2981
 DarkVibrant: #9d5f09, population: 438
       Muted: #5f8ca3, population: 2454
  LightMuted: #d6e2ec, population: 2933
   DarkMuted: #253948, population: 2529

Automatically detecting whether there is data to read with stdin is a bit tricky/buggy on windows at least (you have to use os.Stdin.Stat() which then doesn't let you Read() idk probably a windows bug)
So I hope the -i isn't too inconvenient and I hope that my little tool fits well into your stack (at least well enough to let you ignore node-vibrant >_>)
Happy hacking,
-tso

Thanks, been looking for a reason to start using go-lang anyway
On Sun, Oct 29, 2017, 07:54 generaltso<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/generaltso/vibrant/issues/1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/generaltso/vibrant/issues/1#event-1315523119, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AI9f3euE42zV2bIrLyO9Vf66d8p_clBIks5sxHVzgaJpZM4QJ1SP
.

@lmj0011 I hope that wasn't sarcasm, I added the feature ._.

It wasn't

Oh. My bad, sorry.
Enjoy your time using Go! It's a great language and useful for so many things! :D


Kanban Stuff ... ?

Lifehacker weighs in on the topic ...

How to Use Personal Kanban to Visualize Your Work

Kanban in a Notebook

My new personal kanban

Bakeries

http://planet-lean.com/customer-service-and-a-factory-that-runs-like-clockwork-thanks-to-lean-thinking-the-extraordinary-growth-of-a-chain-of-bakeries-in-barcelona


Decomission uwhackweeks

See #2173

I'm going to close this and break into separate commits so I can better debug this failure


Feature/remove grpc

As part of v10, gRPC support is moving out of beta and into GA(General Availability). As part of this, the documentation for gRPC has moved out of labs-docs and into https://learning.postman.com/docs/.

Update link on the Labs Overview page to link to the new docs (See image 1 below)
Update left nav bar links
Remove all other gRPC docs

Image 1

@SterlingChin Can you update the link on the landing page as well? You can update it in index.jsx
https://user-images.githubusercontent.com/67992216/190675726-8c1bc81d-ec4b-43fd-9eb3-b4f05fa018f0.mov

@SterlingChin Can you update the link on the landing page as well? You can update it in index.jsx
Screen.Recording.2022-09-16.at.9.00.03.PM.mov

Great catch! I've updated the PR.


getAuthorName returns firstname + NULL when last name is null

hi, when i get the issue's authorName, the return is strange.
the api version is 3.0.0, and the return is "authorName null".
when i use the api version 2.6.0, i found that the author's lastname is null and the firstName is truly full name. so the full name it return is "authorName null"

I recall this was added as a workaround for Redmine REST API limitations when they clumped first and last name together in one field and we did some parsing to guess what was first and last there.
		if (author != null) {
			result.setAuthorId(author.getId());
			result.setAuthorName(author.getFullName());
		}

    public String getFullName() {
        return getFirstName() + " " + getLastName();
    }

I guess getFullName() can use an empty string if getLastName() returns NULL.

fixed


[elixir] fix: glue throttling because of aggressiveness on oban's part.

After doing a load test on the ingestion process, I ran into an issue with throttling because of Glue's job concurrency limits. This throttling and Oban's speed created many other errors in the process as Oban moved to execute on other jobs in its pipeline.
Initially, I was hoping to be make a determination on when exactly Glue was actually done with a job, so I can start the next one, but upon further investigation Glue does not actually report this in its Glue.get_job_run() which contains the latest status of the job. So ultimately, I resulted in using a "low-tech" approach of just giving AWS time to sync its status across systems.

@paulswartz This was tested with 200+ change tracking loads, and it performed without a hitch. I will be running a bigger test, once the refactor PRs are approved and merged in.

Can you say more about the throttling issue you ran into? I'm having trouble understanding how waiting for 60s after Glue completes is addressing the problem.

Can you say more about the throttling issue you ran into? I'm having trouble understanding how waiting for 60s after Glue completes is addressing the problem.

Upon getting a "SUCCEEDED" status from the glue job, Oban completed its job, and then quickly spun another job to kickstart another glue job. Glue however doesn't seem to consider "SUCCEEDED" as the job is done. There are some other states that apparently it goes through. Initially I thought I can tap into the "STOPPING" and/or "STOPPED" states, but glue doesn't report them when querying for status. So I opted for waiting, as I suspect that Glue needs a little bit of time to either stop the job and/or sync its state so it considers the job done.

And you were seeing "ThrottlingException" errors? Those should be handled by ExAws.request with an exponential backoff, so I'm a little confused as to how they made it back to you. I also don't see that exception in the dataplatform-dev logs. Do you have any logs from the local run you could share?

And you were seeing "ThrottlingException" errors? Those should be handled by ExAws.request with an exponential backoff, so I'm a little confused as to how they made it back to you. I also don't see that exception in the dataplatform-dev logs. Do you have any logs from the local run you could share?

Sharing the logs from local. You'll see a lot of ConcurrentRunsExceededExceptions and then a few ThrottlingExceptions.  I won't know I have exceeded concurrent runs until I run another job, but I rather not do that and just give space to Glue to finish. That's why I'm using the Process.sleep/0. I guess we could argue that we should just catch the ConcurrentRunsExceededException/ThrottlingException when we run another Glue job and just keep checking when it's available, but it feels wrong to wait then, rather than at the end of a current job. Let me know if you're thinking something else.
local_logs.txt

To me, it makes more sense to wait at the beginning of the new job. From the old Oban job's perspective, it's done with the work it set out to do. If for some reason the job crashed after seeing the Glue job SUCCEEDED status, there wouldn't be a need to restart the Oban job even if the 60s timeout was up.
The new job can wait a few seconds and retry, or possibly use Oban's built-in "snooze" logic. This also has the advantage of being easier to test, as you can check whether perform/1 correctly returns {:snooze, _} without having to actually wait in the test case.

@paulswartz This is not ready, but wanted to note a couple of observations in case you have any feedback.

Using the :snooze feature works well and I was able to run without error with about 100+ load files coming through. I feel confident that it will scale beyond that.
Once a job snoozes, the next job starts which hits the same issue of ConcurrentRunsExceededException, and so it goes for all of the rest of the jobs queued up, and essentially snoozing all of them. We might be able to slow this down with a Process.sleep(5_000) or speed it up with a {:snooze, 5}, both achieving the same result at the expense of Glue's API hits.
Currently, logging these ConcurrentRunsExceededException as warnings, but because they are expected I almost feel like just downgrading them to infos.

That all seems fine, and I agree on reducing the level for ConcurrentRunsExceededException as long as we're expecting it as an error.

@paulswartz Was able to test this with double the concurrency value for Glue, and it eliminated ConcurrentRunsExceededExceptions as expected. The snooze logic is still in here as a fall back.


Fix marketplaceAverageLevel metric

Fixed marketplaceAverageLevel metric. For items, this metric was being calculated incorrectly. This lead to specific cases where the metric might become a negative value after updating. This would violate the typeguard of the metric which expects it to be greater or equal than 0 and an error would be thrown. This means the buy item flow would not complete hence why the item would still remain in the market state.
Fixes 2 bugs:

#61
#53

removing #53 from linked issues since there's still some work to do on that one after merging this


Update error

I’ve flashed the ArkOS image linked in the main wiki page, performed the first setup correctly, connected the WiFi dongle and checked the network status. Then performed a system update. It went fine until an error occurred: cannot resolve “GitHub”. Tried again, no luck
It's just after the "Fix File Manager from last update" line
It tries to fetch the update from: https://github.com/christianhaitian/arkos/raw/main/12262020-1/DinguxCommander
I think the right url is without the "/raw/main/" folders: https://github.com/christianhaitian/arkos/12262020-1/DinguxCommander
The same goes for the more recent updates.

The url is correct.  The issue is most likely the wifi adapter has stopped responding. Reboot your device and try again.

I already did it 4 times, but it always stops there. Once returned to the ArkOS home, the WiFi is still working...

According to the picture you posted, you're unit is not able to resolve github.com at all of a sudden.  Are you able to do anything else online with the unit like scrape game thumbnails or videos?

Yes, I’ve tried exactly that and it worked... I think it could be some sort of issue with the chipset of my WiFi dongle. Power saving is off, by the way.

My guess is that your wifi dongle is based on the rtl8188 or rtl8192 chipset.  Take a look at a possible fix for this here.  Can you try this then attempt to update again and let me know what you get?

You're right, it's based on the rtl8192cu chipset.
I've installed the fix and I'm happy to confirm it worked!
Thanks a lot :)
The console still makes weird noises when the wifi dongle is working, but now the network is faster and much more stable.
Would it be possible to include the fix in future updates?
Anyway, happy new year!

You're right, it's based on the rtl8192cu chipset.
I've installed the fix and I'm happy to confirm it worked!
Thanks a lot :)
The console still makes weird noises when the wifi dongle is working, but now the network is faster and much more stable.
Would it be possible to include the fix in future updates?
Anyway, happy new year!

It's already included in the update after the one you were getting stuck at. LOL.  The next image will include that built in.  Happy New Year to you as well!

It's already included in the update after the one you were getting stuck at. LOL.  The next image will include that built in.  Happy New Year to you as well!


Base Currency different than USD

Hi everyone,
I tried changing the base currency to EUR but keep getting an error that prices are not found for USDEUR.
I simply added a dictionary with codename USDEUR and then changed the lambda x:x to lambda x: 1/x. as said in the guide. Ideally the code could figure out concurrent currencies by triangular multiplication or inverting.

Did you check that said prices are actually downloaded? Unfortunately
Quandl has recently retired its WIKI currency price database, which is a
real frustration.
On 21 May 2018 at 15:24, Jeroen De Ryck<EMAIL_ADDRESS>wrote:

Hi everyone,
I tried changing the base currency to EUR but keep getting an error that
prices are not found for USDEUR.
I simply added a dictionary with codename USDEUR and then changed the
lambda x:x to lambda x: 1/x. as said in the guide. Ideally the code could
figure out concurrent currencies by triangular multiplication or inverting.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chrism2671/PyTrendFollow/issues/31, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAb3XfpragBX0OwnuWk7sEmH6-w0nFR5ks5t0s4VgaJpZM4UHEmt
.

--
Chris MuktarDirector
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>Switchboard 0845 625 9454
Website www.wikijob.co.uk http://www.wikijob.co.uk/
101 Finsbury Pavement, London, EC2A 1RS
http://wikijob.co.uk/

Hey Chris, you are correct, no prices have been downloaded. Could you explain how prices/currencies are downloaded exactly because I only see calls being made to the functions in data_feed and not to the  Provider classes.
Thanks in advance

Normally it downloads everything you need when you download the contract.
The functions to download stuff are in quandl_provider.py. There's a script (download.py) that should download everything too.