feat(cheatcodes): random* cheatcodes to aid in symbolic testing

Motivation
Re #4072 : add random* cheatcodes

Solution

added randomUint(bits), randomInt() and randomInt(bits), randomBool() and randomBytes(len) cheatcodes
use proptest and DynSolValue::type_strategy to draw arbitrary values for uint, address, bool, int and bytes
randomBytes(len) ensures returned byte array is of given length
ported Kontrol tests

All of these can just use rand, why do we have to use proptest?

the initial intent was to move bound logic in strategy and reuse uint / int strategies (hence having same logic for edge values and potentially fuzz from state as well) but probably better to reduce scope of this PR (and use plain rng) and follow up with another one, would this work?

If we have custom strategies sure, but as of right now these just wrap rand rng with a lot of extra steps for nothing

If we have custom strategies sure, but as of right now these just wrap rand rng with a lot of extra steps for nothing

kk, will bring them in when needed

If we have custom strategies sure, but as of right now these just wrap rand rng with a lot of extra steps for nothing

@DaniPopes Can you suggest a nice way to generate random Uint/Int with given number of bits without using strategies baked in logic?

We can reuse those, I mean stuff like bytes and bool are simply functions on rng so we should just use those


Generalize tests

Closes #20

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
590

Relevant Lines:
646

💛  - Coveralls


Add the confluent logo to the Registry

File: [themes/default/content/registry/packages/confluentcloud/api-docs/_index.md](https://www.pulumi.com/registry/packages/confluentcloud/api-docs/

)

@isaac-pulumi are you asking for the two different confluent providers to have two different logos?

@susanev This specific provider has no logo. Confluent asked for this one.

right yes i know that ones not showing a logo, but seems a bit strange to use two different logos. would you be okay with us using the same logo?
the one here: https://www.pulumi.com/registry/packages/confluent/
if not, can you please ask them for a logo intended for a light background?

@susanev - I'll ask for one with a light background

to clarify, we dont want a logo with a background at all. we want a logo that works on a light background. can you find out why they don't like the logo on the other confluent package?

this is no longer relevant as a new issue was created for this.


Adapt MT pathogenicity scoring to new MT API (2021)

Is your feature request related to a problem? Please describe.
The new MT API interface (2021) relies on a new algorithm and returns different parameters. Especially the bayes_prob_dc was dropped and replaced with tree_vote.
Describe the solution you'd like
We should adapt to the new interface.
Describe alternatives you've considered
Use the old interface. This might or might not disappear at one point in time.
Additional context
See discussion in #509 and #423

Implementation Proposal
The bayes_prob_dc was dropped and replaced with tree_vote. Define how the new value can be integrated into our calculation. Adapt the database accordingly as we explicitly have a  model with all the parameters returned by the MT API.
Affected Components
VarFish server
Affected Modules/Files

variants/models.py

Required Architectural Changes
None
Required Database Changes

MutationTasterPathogenicityScoreCache model needs to be adapted to the new parameters.

Backport Possible?
Yes
Resolution Sketch

The calculation of the score in _variant_scores_mutationtaster_score() needs to be adapted. Define how.
The update of the database in _variant_scores_mutationtaster_loop() needs to be adapted.

Old Interface:
$ curl -d format=tsv -d debug=0 -d variants='2:233391374T>C' https://www.genecascade.org/MTc85/MT_API.cgi
id	chr	pos	ref	alt	transcript_stable	NCBI_geneid	prediction	model	bayes_prob_dc	note	splicesite	distance_from_splicesite	disease_mutation	polymorphism
1	2	233391374	T	C	ENST00000457943	1144	disease causing (automatic)	without_aae	1000			11	ClinVar
1	2	233391374	T	C	ENST00000258385	1144	disease causing (automatic)	simple_aae	999			11	ClinVar
1	2	233391374	T	C	ENST00000543200	1144	disease causing (automatic)	simple_aae	999			11	ClinVar
1	2	233391374	T	C	ENST00000536614	1144	disease causing (automatic)	simple_aae	999			11	ClinVar

New Interface:
$ curl -d format=tsv -d debug=0 -d variants='2:233391374T>C' https://www.genecascade.org/MT2021/MT_API102.cgi
id	chr	pos	ref	alt	transcript_stable	NCBI_geneid	prediction	model	tree_vote	note	splicesite	distance_from_splicesite	disease_mutation	polymorphism
1	2	233391374	T	C	ENST00000457943	1144	disease causing (ClinVar)	5utr	61|239			11	ClinVar
1	2	233391374	T	C	ENST00000258385	1144	disease causing (ClinVar)	simple_aae	99|1			11	ClinVar
1	2	233391374	T	C	ENST00000543200	1144	disease causing (ClinVar)	simple_aae	99|1			11	ClinVar
1	2	233391374	T	C	ENST00000536614	1144	disease causing (ClinVar)	simple_aae	98|2			11	ClinVar

I've also seen one variant from our database (randomly picked) turning from disease causing prediction to polymorphism. Which means that the change has a large impact on the results.

Additionally we should think about the cached results. Those will reflect the scoring using the old MT API. We should purge the cache also.

MT2021 be explicitly modelled as an alternative option to MT86. The choice should be reflected in the UI (dropdown menu) and the models should not be mixed, since their prediction models and resulting scores are not comparable at all.
This would avoid caching issues.

@xiamaz Good suggestion, sounds very reasonable to me. Maybe a discussion in next dev meeting would also be helpful.

As discussed in #514, the interface for MT 85 is partly buggy. It's unknown if and if so, when this will be fixed.


File name parser does not work in a fancy way

I am using V2.0.1 and Ln 410 - Ln 419 are as follows:
files = []
   if len(sys.argv) > 1:
      for elem in sys.argv[1:]:
         try:
            if elem.split(".")[1] == "out" or elem.split(".")[1] == "log":
               for file in glob(elem):
                   if options.spc == False or options.spc == 'link': files.append(file)
                   else:
                       if file.find('_'+options.spc+".") == -1: files.append(file)
         except IndexError: pass

Obviously, if I have a filename start with '.' or '..', such code cannot detect my filename correctly
Eg: ../Examples/123.out
I wanna write a patch however I don't know the business logic of these parameters (Although I am a student that major in Computational Chem. ). But I think it could be easily to fix.
Meanwhile, use os.path.splitext to get extension is much more pythonic and here's a example

solved in #9


Webapp Searchbox

ad the latest django Version there is a problem with the web app serch box..
At The search js there is a wron url places for the system ( anyting wit .ro) i ve edit hte field with the right Servername.
The search Box opens coreect ic can write a question but the Bot cant answer. No error message is displayed. At devtools i can see:
Failed to load resource: the server responded with a status of 404 ()

I worked in the search but I donțt think it was yet made a push. I hope will work.
The URL is hardcoded in search.js, I changed now to be default http://<IP_ADDRESS>:8000 but aslyou you can overwrite from JS script. Example here: https://victoury.be/1.html

Thanks
i ll wait @

Yeah, I found the issues, It was pushed the hardocoded version. Edit the search.js temporary look for baseURL:"https://____ /api"} and change it.

if changed the base URL  from https://myserver.mydom.de/api. to: http://<IP_ADDRESS>:8000/ without succsess. At hte Chat,js it works with this config..
Ill fetch the search from the hardcoded Version a try it..

You need to change in search.js the baseURL:"https:// and the URL from there change it to your URL,  https://myserver.mydom.de/ and will work. The next version will not need anymore the URL from inside. It will be controlled from JavaScript.

no that doesnt work it tried it..  Axios Error 404

i think i ve to wait for the next version

Maybe the guys will have time today to push the new version and I hope you will like it.

 And it is very great what this tool can do!!!!!

You have a showcase ? We would like to know where people are using the software.

I ll make some features public so youn can acsses it. For the Integration in on of our Plattfor if mad ill send you a Video.. Ill tri it tomorrow

Update was merged.

Key Error with secrety Key?

In your .env add a line
SECRET_KEY='yourkey here to be secret.'

That was the hint that i need. Can confirm that it is working.... Thanks a lot @lvalics...........

Here are to Short Videos about my internal Testintegration for
https://github.com/openchatai/OpenChat/assets/117660389/b6c196fc-ad2b-4067-beee-2a2c1ceef761
https://github.com/openchatai/OpenChat/assets/117660389/493552a5-303f-48f7-9f48-1747ff4ab5b5
Openchat

i got it with the latest update this week, but i made teh Video before.... By the way i ve another Quetion:
I ve made a integration lonnger time ago into another Software not Based on Openchat where i send a axios request to Openai to get a answer .. Can i acsess Openchat via axios to ask the system and get a answer ?

I do not have knowledge in axios, so I cannot help you on this. Sorry.

It s okay axios isnt the problem i dont know how i can connect with openchat api from external system..

https://yourdomain.com/api/chat/ etc, check api/urls.py for API part. I am working on this to do it easier to understand it.
Also try in browser, /api/schema/swagger-ui/  /api/schema/redoc/

Partially. Still need to add all the endpoints, but had no time yet. So if you add, let me know, we will merge it.


docs: swap the day and month in the publication date metadata

I am only guessing that 2023-02-12 was the intended date. Looking at the commit history for the file it seems reasonable.

@seth-schroeder we at Ockam loved your attention to detail 😄
To merge it, could you please accept our Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam-contributors repository? The easiest way to do this is to edit the CONTRIBUTORS.csv file in the GitHub web UI and create a PR, this will mark the commit as verified.

Hi @SanjoDeundiak! https://github.com/build-trust/ockam-contributors/pull/233 has been submitted. I overlooked this step earlier, my bad!


Documentation links

The links to code examples are not displayed correctly in the Readme and the original article (https://spring.io/guides/gs/consuming-web-service/#scratch). For example:

The following listing shows the pom.xml file that is created when you choose Maven:

link:initial/pom.xml[]
The following listing shows the build.gradle file that is created when you choose Gradle:

link:initial/build.gradle[]

Stale cache I think. Try again now.

Works in the article now, but still broken in the readme:

That’s working as designed then (the README is the source code for the website).


Support searching with multiple indexes

Signed-off-by: yah01<EMAIL_ADDRESS>

Codecov Report

Merging #5 (8bdb474) into main (f30266e) will decrease coverage by 21.31%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main       #5       +/-   ##
===========================================
- Coverage   88.70%   67.38%   -21.32%
===========================================
  Files           3        4        +1
  Lines         177      233       +56
===========================================
  Hits          157      157
- Misses         13       69       +56
  Partials        7        7

Impacted Files
Coverage Δ

map.go
84.73% <0.00%> (-4.07%)
:arrow_down:

search.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Null Pointer Exception from h2o-3 backend should render as a Flow Error in the UI

Flow code cell command to reproduce this bug:

buildModel 'word2vec', {"model_id":"word2vec-ace521af-e619-498b-859b-5bb24dc122d3","training_frame":"Key_Frame__winequality_white.hex","min_word_freq":5,"word_model":"SkipGram","norm_model":"HSM","vec_size":100,"window_size":5,"sent_sample_rate":0.001,"init_learning_rate":0.025,"epochs":5}

back-end throws NPE exception
but front-end shows:

dataset to reproduce bug https://archive.ics.uci.edu/ml/machine-learning-databases/wine-quality/

the working state looks like this:

if we expand TOGGLE STACK TRACE, we should see:

progress in fe0bda4f79e27293b1d7c98abb57632bf92ff73f
error now renders in flow ui. still missing error message.
this is what the output looks like at this commit:

something changed with the way we get FlowError.cause.message and FlowError.cause.stack 🤔

ok, where does window.printStackTrace come from?
here is what it looks like in h2o-flow

looks pretty much the same in drift

ok, it looks like it comes from the dependency stacktrace-js https://github.com/stacktracejs/stacktrace.js/
https://github.com/h2oai/h2o-flow/blob/master/bower.json#L49

more progress at d98a3ee414550326f8ac08b01a809d1fe58a70d5

fixed in d21b74de24f530601b971d0087e406cc357f287b 🎉


Add fluent-plugin-generate command

See #1376

This is workin progress.
I will add one more feature https://github.com/fluent/fluentd/issues/1376#issuecomment-267515326

Done my work.
Could you check this PR @tagomoris @repeatedly ?

@okkez Nice implementation! I added general review comment and comments for some points.
@repeatedly please add some other points if you have.

@tagomoris @repeatedly I've pushed changes for all comments.
Could you check again?

LGTM but all tests failed.
Could you check test?

@repeatedly @tagomoris Passed all tests.

Thanks for your work!


Why override ExecutionContext for ScalaTest?

I couldn't find any links to a gitter or other question space so I figured I'd create an issue for my question.
ScalaTest provides its own ExecutionContext for AsyncTestSuites (explained here under 'Asynchronous execution model') which is a serial execution context. The relevant reason for this is:

asynchronous-style tests need not be complete when the test body returns, because the test body returns a Future[Assertion]. This Future[Assertion] will often represent a test that has not yet completed. As a result, when using a more traditional execution context backed by a thread-pool, you could potentially start many more tests executing concurrently than there are threads in the thread pool. The more concurrently execute tests you have competing for threads from the same limited thread pool, the more likely it will be that tests will intermitently fail due to timeouts.

In this library the ExecutionContext is overridden to the Scala global EC. What is the reasoning behind this? I can imagine there is a very good reason, but maybe there should be a comment explaining why?
The reason I am asking is because the global EC is causing issues for me in combination with mockito-scala and its AsyncMockitoSugar which resets the mockito session after each test. Because the global EC will start tests in the same suite in parallel mockito-scala thinks that a previous test has not properly closed mocking, which will throw an exception and fail a bunch of tests semi-randomly. This is fixed when I make my own AsyncIOSpec which does not override the EC set by ScalaTest

I'd have to look back, but I imagine the reason it's being overridden is because the reasoning in the paragraph you quoted isn't particularly compelling. :-) In general, the right way to implement this sort of concern is a rate limiting on the number of tests being run, not a rate limiting on the thread pool. The paragraph is essentially making the argument that concurrency is bad, which… I'm not sure I buy.
With that said, the global EC is also usually quite bad, but for other reasons.
With all of that said, your use-case sounds like it really does need to be sequential. I don't know ScalaTest very well; I take it that it has no equivalent to Specs2's sequential scheduling strategy?

Hello,
I also had inconsistencies with my test runs with that, i also reverted to the scalatest default EC and it works "normally" with that change.
@djspiewak I agree with you that this is not really logical but i think that's the way scalatest implements async tests.
I would really love to migrate my code to another test framework but for now it will have to do :)

From what I could tell ScalaTest's async test setup depends on a synchronous EC, which is how it guarantees tests are run in serial. If you have that you don't need to build any fancy logic for waiting for previous async test results I suppose. I'm guessing this is maybe legacy code from when ScalaTest only had sync testing?
I agree it's not a particularly good reason to have a synchronous EC. IMO if your production code is concurrent, your tests should be too (race conditions and all). ScalaTest says it runs all tests in the same suite sequentially if you don't use ParallelTestExecution but apparently that's not the case when using async tests. In my opinion ScalaTest should have the same behaviour with sync and async tests of waiting for one test to finish before starting another. But that's outside of the scope for this issue and library.
For now  I've created my own copy of the AsyncIOSpec which leaves out the EC:
trait AsyncIOSpec extends AssertingSyntax with EffectTestSupport { asyncTestSuite: AsyncTestSuite =>
  implicit val ioContextShift: ContextShift[IO] = IO.contextShift(executionContext)
  implicit val ioTimer: Timer[IO] = IO.timer(executionContext)
}

I think this library now uses the ScalaTest EC? Either way this has been explained to me, so I'll close this issue. Thank you for this wonderful library!


cmd/govim: range-based GOVIMGoFmt/GOVIMGoImports fail

That.
Both fail with the error:
ToUTF16Column: point is missing offset

Pending https://github.com/golang/go/issues/31150
Once fixed we can remove these two skips:
https://github.com/myitcv/govim/blob/954a4c3fbba3b3f7d8bcb43b8fcc28dd100cd086/cmd/govim/testdata/gofmt.txt#L13
https://github.com/myitcv/govim/blob/954a4c3fbba3b3f7d8bcb43b8fcc28dd100cd086/cmd/govim/testdata/goimports.txt#L21

Closing in favour of #268 now that gopls has actually disabled support for this for now until a proper solution emerges.


Shell completion

It would be great to have support for shell completion for bash, zsh, etc.

Yeah, but I once tried to write a completion function by hand and hated every minute of it :stuck_out_tongue:
Also, I prefer no auto completion at all rather than a faulty one but maybe that's just me.
Feel free to try and send a patch, though ;)

What about integrating clap-complete?
https://github.com/clap-rs/clap/tree/master/clap_complete

Dunno. Might work. Also, one of the links in clap complete's talks about fig, which seems the least painful way to write completion scripts I've seen so far ...
Might try it one day. Again, feel free to try yourself :)


java.lang.IllegalArgumentException: Blake2b digest restricted to one of [160, 256, 384, 512]

Thank you for sharing the project. When I was using by getBalance of method on AccountRequests.balanceOf(address).execute(client).get(); ,that  throw  java.lang.IllegalArgumentException: Blake2b digest restricted to one of [160, 256, 384, 512]

https://github.com/emeraldpay/polkaj/issues/33#issue-730082659
does it resovle? i got the same problem.

https://github.com/emeraldpay/polkaj/issues/33#issue-730082659
does it resovle? i got the same problem.

so the problem is because of jar version add it and resove.

org.bouncycastle
bcprov-jdk15on
1.65

so the problem is because of jar version add it and resove.

org.bouncycastle
bcprov-jdk15on
1.65


TIKA-3651 Activate Dependabot on Tika main branch

This PR addresses https://issues.apache.org/jira/browse/TIKA-3651

LGTM.  Thank you, @lewismc !


Migration three_dart/three_js

Hi,
I will try to migrate my three_dart project on this three_js lib, I will keep you informed.
If you want take a look my lib cannon-es for collision in dart, you can check here : collision-es.zip
It miss some shapes like Cylinder or Heightfield. But it works like a charm, may be add in your project ?
I attach a video demo of my flutter project for show you the possibilities
https://github.com/user-attachments/assets/c6f70d3d-e0d0-4e3c-a175-6148c018dfa7

Hi @MapleNoise,
Thanks for taking a look and trying to move your project over. I took a look at your video and your project looks like it is a lot of fun.
It also looks like we had the same thoughts on physics. I also converted cannon physics over about a year ago here. Which can be added through pub.dev through the yaml file.
Please let me know if you have any issues.


Error installing using github master.zip

Describe the bug
Can't install the package using:pip install https://github.com/pandas-profiling/pandas-profiling/archive/master.zip`
** I know i can pip install regularly but I'm using GCP datalab and I can't get the latest version differently
To Reproduce
pip install https://github.com/pandas-profiling/pandas-profiling/archive/master.zip`
Data:
ERROR: Command errored out with exit status 1:
 command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3w/cv3nt86n7818whhy9fpqs5hh0000gn/T/pip-req-build-2zezRa/setup.py'"'"'; __file__='"'"'/private/var/folders/3w/cv3nt86n7818whhy9fpqs5hh0000gn/T/pip-req-build-2zezRa/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/3w/cv3nt86n7818whhy9fpqs5hh0000gn/T/pip-req-build-2zezRa/pip-egg-info
     cwd: /private/var/folders/3w/cv3nt86n7818whhy9fpqs5hh0000gn/T/pip-req-build-2zezRa/
Complete output (6 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/3w/cv3nt86n7818whhy9fpqs5hh0000gn/T/pip-req-build-2zezRa/setup.py", line 22
    f'__version__ = "{version}"\n',
                                 ^
SyntaxError: invalid syntax
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Are you by any chance running Python3.5?

Python 3.6.2
On Thu, Oct 29, 2020 at 7:48 PM Simon Brugman<EMAIL_ADDRESS>wrote:

Are you by any chance running Python3.5?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pandas-profiling/pandas-profiling/issues/606#issuecomment-718917953,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJHPAMU7D742VZZKPBD4H53SNGTITANCNFSM4TCS5N4Q
.


Add db benchmark script

Which issue does this PR close?

Closes #1870
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

meh, i think im close but im having some issues due to docker memory swapping which isnt allowed by some db-benchmark helpers.  will come back to this.

Lol. I unknowingly created a shell script that had a name conflict with a db-benchmark script which caused issue.

I have this working now.
Would at least one other person be able to give it a try.  I do the following from root directory of arrow-datafusion
$ docker build -t db-benchmark -f benchmarks/db-benchmark/db-benchmark.dockerfile .
# I used privileged as its supposed to improve with CPU intensive scripts
$ docker run --privileged db-benchmark

So far im not seeing as good of results in docker as i was natively but i think thats expected, even using --privileged.  I havent had to performance tune docker too much in the past though so if anyone else has other ideas im open to it.
Right now, this only works with official datafusion release (version 7).  However, I added option to pull in local datafusion so that its easier to benchmark local changes.  Even if the docker performance isnt optimal it should at least give a baseline for making local changes and seeing if there are improvements - which i think is the intent of this script.
let me know if any questions or if you see any areas for improvement.

@matthewmturner you are on a mac machine right?

@matthewmturner you are on a mac machine right?

Yes, M1 Mac

that's expected then. the overhead should go away with when it's executed on a linux box.

Is this specific to M1 Mac? I am running Ubuntu 20.04 on AMD64 and I get this error on docker build:
⚠  Warning: No compatible platform tag found, using the linux tag instead. You won't be able to upload those wheels to PyPI.
📦 Built wheel for abi3 Python ≥ 3.6 to /datafusion-python/target/wheels/datafusion-0.4.0-cp36-abi3-linux_x86_64.whl
WARNING: Requirement 'target/wheels/datafusion-0.4.0-cp36-abi3-linux_aarch64.whl' looks like a filename, but the file does not exist
ERROR: datafusion-0.4.0-cp36-abi3-linux_aarch64.whl is not a supported wheel on this platform.
The command '/bin/sh -c cd datafusion-python     && maturin build --release     && python3 -m pip install target/wheels/datafusion-0.4.0-cp36-abi3-linux_aarch64.whl     && cd ..' returned a non-zero code: 1

@bobtins thanks for trying it out! You'll just need to update the wheel file name in the docker file. Looks like the below is what you'll need.
/datafusion-python/target/wheels/datafusion-0.4.0-cp36-abi3-linux_x86_64.whl

Yeah, that got it to work.
I found this for populating env variables automatically, but it requires BuildKit, which means I have to do export DOCKER_BUILDKIT=1 before running the build step.

@houqp If no other feedback I think this is good to merge for now.
@bobtins im a bit constrained on time right now to work on getting the architectures / wheels integrated properly into the script.  given youve shown interest in the benchmarking area would you be willing to handle that as a follow on PR?

/datafusion-python/target/wheels/datafusion-0.4.0-cp36-abi3-linux_x86_64.whl

Almost got it...will post a diff as soon as it works.

@bobtins thank you for the help! I am going to review and integrate tomorrow morning.


BUG: Fix spline order return type in getter macro

Fix spline order return type in getter macro: use unsigned int to
match the type of the member variable.
Fixes:
In file included from
/home/vsts/work/1/s/Modules/Core/ImageFunction/test/itkBSplineInterpolateImageFunctionTest.cxx:34:0:
/home/vsts/work/1/s/Modules/Core/ImageFunction/test/itkBSplineInterpolateImageFunctionTest.cxx:
In function 'int test2DSpline()':
/home/vsts/work/1/s/Modules/Core/TestKernel/include/itkTestingMacros.h:220:44:
warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   CLANG_SUPPRESS_Wfloat_equal if (variable != command) CLANG_PRAGMA_POP \
/home/vsts/work/1/s/Modules/Core/ImageFunction/test/itkBSplineInterpolateImageFunctionTest.cxx:341:5:
note: in expansion of macro 'ITK_TEST_SET_GET_VALUE'
     ITK_TEST_SET_GET_VALUE(splineOrder, interp->GetSplineOrder());
     ^~~~~~~~~~~~~~~~~~~~~~

raised for example in:
https://dev.azure.com/itkrobotlinux/ITK.Linux/_build/results?buildId=7551&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=f58be928-45a1-58e7-c1ad-04869565b3f4&l=6743
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)

Identified in #3077 build failures.


Kuber 051

Task 051:easy-kubernetes-role-binding completed.

Could you separate commits and check the commit messages?


Editor: Ctrl+Backspace not working in Debian 9.5

Issue Summary
A user noticed that ctrl+backspace, which usually deletes the entire word before the curser, does not work in Koenig. It seems to work fine in the search input field, and other application.
Using the editor in incognito mode didn't fix it.
Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:

Ghost Version: 2.1.3 Ghost(Pro)
Browser/OS: Chrome version is 69.0.3497.100 (Official Build) (64-bit) / Debian 9.5

I can also replicate this on Firefox (v60.2) on Debian using Ghost Pro.


React, Redux, SASS frontend

DO NOT MERGE YET
Here is an ongoing PR for the new frontend.
I am using React, Redux, and SASS.
I use Webpack to transpile and bundle the source code.
I then use a Node to serve the bundle.js file on localhost:8080

Is this one ready to merge?

Ready when u r! (:
Where can I find a list of the user stories?
Do you usually create github issues for them?

I think the frontend issues discussion GitHub issue has the first draft of user stories, need to get those into a spreadsheet and shared with everyone. Yes, we usually would have an issue opened and then a PR for the feature when the code is ready.


Improved the structure of service cards #1230

I have improved the alignment and structure of service cards .
I have corrected the positioning of icons , readmore button , text.
I have also improved the service card for large screen size the service cards should come in next line if the screen size is bigger.
Before:

for large screen size 4th card is missing

After:

for large screen size 4th service card shifts to the next line automatically.

@SMARTHMALIK Awesome contribution to Hacktoberfest'24! 🎉 Your work is super valuable. Keep up the great work!


Support events.preStop

What does this PR do?
Adds support for events.preStop in devworkspaces. Only exec type commands are supported.
Multiple preStop commands may be executed, following a similar format to postStart events, the difference being that the output of the commands are redirected to /proc/1/fd/1  (for stdout) and /proc/1/fd/2 for stderr. This allows reading the output of preStop commands in the kubernetes logs after pod termination.
The webhook warning against the usage of events.preStop was removed, as well as the mention of events.preStop in the unsupported devfile API doc.
What issues does this PR fix or reference?
Fix #1139
Is it tested? How?
Some automated tests (based on the postStart test cases) were added.
To manually test:

Install DWO using the changes from this PR. Make sure the webhook is also built from this PR, otherwise you'll get the old warning about using events.preStop
Apply a DevWorkspace that uses preStop events. I tested with the following:

kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
  name: pre-stop-test
spec:
  started: true
  routingClass: 'basic'
  template:
    projects:
    - name: web-nodejs-sample
      git:
        remotes:
          origin: "https://github.com/che-samples/web-nodejs-sample.git"
    components:
      - name: web-terminal
        container:
          image: quay.io/wto/web-terminal-tooling:next
          memoryLimit: 512Mi
          mountSources: true
          command:
           - "tail"
           - "-f"
           - "/dev/null"
    commands:
    - id: failing-command
      exec:
        component: web-terminal
        commandLine: ./not-a-script.sh
        workingDir: /tmp/
    - id: list-in-project
      exec:
        component: web-terminal
        commandLine: ls -al
        workingDir: ${PROJECT_SOURCE}
    - id: long-command
      exec:
        component: web-terminal
        commandLine: |
          date
          pwd
          sleep 5s
          echo "done sleeping"
        workingDir: $HOME
    - id: output-to-file
      exec:
        component: web-terminal
        commandLine: echo "writing to a file" > output-to-file.log
        workingDir: ${PROJECT_SOURCE}
    - id: multi-line-command
      exec:
        component: web-terminal
        commandLine: |
          echo "date: $(date)" > multi-line-command.log
          pwd >> multi-line-command.log
          sleep 5s
          echo "done sleeping: $(date)" >> multi-line-command.log
        workingDir: $HOME
    - id: background-longrunning
      exec:
        component: web-terminal
        commandLine: |
          nohup sh -c '{
            for i in {1..500}; do
              echo "background: $i"
              sleep 1
            done
          }' &
    events:
      preStop:
        - long-command
        - background-longrunning
        - output-to-file
        - failing-command
        - multi-line-command
        - list-in-project

After the Devworkspace starts up, find the workspace pod's name. In my case, workspace623a8f20aa6442f3-6dccd76799-mqnt5 :

$ kubectl get pods -n $NAMESPACE
NAME                                           READY   STATUS    RESTARTS   AGE
devworkspace-webhook-server-7ff4b8d7bf-szb8f   2/2     Running   0          89s
workspace623a8f20aa6442f3-6dccd76799-mqnt5     1/1     Running   0          63s

Open another terminal and monitor the logs of the workspace pod: kubectl logs -f workspace623a8f20aa6442f3-6dccd76799-mqnt5 -n $NAMESPACE

In another terminal, delete the DevWorkspace: kubectl delete dw pre-stop-test -n $NAMESPACE

In the terminal that you're monitoring the logs, you should see the output of all preStop event commands:

$ kubectl logs -f workspace623a8f20aa6442f3-6dccd76799-mqnt5 -n $NAMESPACE
Defaulted container "web-terminal" out of: web-terminal, project-clone (init)
Wed Aug 23 15:56:13 UTC 2023
/home/user
done sleeping
/bin/sh: line 17: ./not-a-script.sh: No such file or directory
background: 1
background: 2
background: 3
background: 4
background: 5
total 56
drwxr-xr-x. 1 1234 root   240 Aug 23 15:56 .
drwxrwxrwx. 1 root root    34 Aug 23 15:52 ..
drwxr-xr-x. 1 1234 root   158 Aug 23 15:52 .git
-rw-r--r--. 1 1234 root    25 Aug 23 15:52 .gitattributes
drwxr-xr-x. 1 1234 root    20 Aug 23 15:52 .github
-rw-r--r--. 1 1234 root    14 Aug 23 15:52 .gitignore
drwxr-xr-x. 1 1234 root    52 Aug 23 15:52 .vscode
-rw-r--r--. 1 1234 root 14197 Aug 23 15:52 LICENSE
-rw-r--r--. 1 1234 root   449 Aug 23 15:52 README.md
drwxr-xr-x. 1 1234 root    12 Aug 23 15:52 app
-rw-r--r--. 1 1234 root  1384 Aug 23 15:52 devfile.yaml
-rw-r--r--. 1 1234 root    18 Aug 23 15:56 output-to-file.log
-rw-r--r--. 1 1234 root 14289 Aug 23 15:52 package-lock.json
-rw-r--r--. 1 1234 root   265 Aug 23 15:52 package.json
background: 6
background: 7
background: 8
background: 9
background: 10
background: 11
background: 12
background: 13
background: 14
background: 15
$ # Pod has fully terminated and preStop events have finished

PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)

[ ] v8-devworkspace-operator-e2e: DevWorkspace e2e test
[ ] v8-che-happy-path: Happy path for verification integration with Che

I also verified that user-provided preStop events can't interfere with the async-storage-sidecar preStop event:

If a user creates a devworkspace using the async storage strategy and assigns a preStop event to a component named async-storage-sidecar without having a component named async-storage-sidecar, their devworkspace will fail during validation.
If a user uses the async storage strategy, creates a component named async-storage-sidecar and assigns a preStop event to it, their devworkspace will fail validation due to a duplicate container name (the internal async-storage-sidecar container and the user-defined async-storage-sidecar container component).

/retest

/retest

/test v8-images

/test v8-images

/test v8-devworkspace-operator-e2e

/test v8-devworkspace-operator-e2e

/retest

/retest

/retest

/retest


Feature Request: Link runs to YouTube archive

Somehow add a link from any run history page to the time stamps on YouTube for the run.
This would be very handy to hear more about the decision making process at very least.
Affected Functionality
Unknown
Other Relevant Issues
Unknown

I've considered this, but it almost definitely needs a human in the loop. The thing that I have considered, and which might work better, is to embed the edited YT video in it. It's on my to-do, though it's been fairly low-priority thus far. If you're interested in implementing either of those options, let me know, and I'll tell you the requirements (there aren't many)

I thought about this as a feature too.
Trying to think if we could create a Youtube webhook on upload for the Archive channel. If we wanted the specific timestamps, I think the video would need to have the seeds of the runs in the description along with its timestamp. We'd have to scrape the description to do this, but if the video descriptions are the same format we could do it. This would be super annoying for the old runs though where the video description was never updated.
If we didn't need video timestamps we could maybe use the date of the run file and the date of the archive video (not upload date, but the date in the title) and just link to the entire archive video

Alright, so here's the thing 😂 I'm the one who uploads and tags all of the Archives videos. If I have to do more work there to save myself a bit of work on the website, then it's not worth it 😂I can tell you that description with seeds isn't gonna happen if I have to manually trudge through them haha. Though there's probably a way to figure out with when a stream went live, compare it to the timestamp on the run and time taken, and be able to come up with a rough timestamp, I think. I'm not sure how to even start doing that, and that's not something I wanna do at least for now (but you're welcome to!)

I don't blame you lol. Sounds awful.
You probably could figure out when a stream/vod went live through the Twitch API, but this doesn't seem possible to do for older data because vods get automatically deleted and we don't have highlights of the entire streams, just individual runs.
The link to the entire video just seems like a far easier and viable feature at the moment if we can just compare the dates. You said this is pretty low priority anyways, so we can just ignore this for now lol.


99682 - Not all IPOs shown in TODO list

AB#99682
Logic error in method to check if user was invited through FR.

Maybe add an unit test covering the case?


Add Access List does not work

I'm using the current version of the nginx-proxy-manager:latest image in my docker setup on my server.
When I want to add a basic authentication "further called access list", I just receiv a "internal error" popup in the manager administration view.
The container log says the following:
[2/20/2020] [11:45:53 PM] [Access   ] › ℹ  info      Building Access file #1 for: chainovate
[2/20/2020] [11:45:54 PM] [Access   ] › ℹ  info      Adding: chris
[2/20/2020] [11:45:54 PM] [Access   ] › ✖  error     Error: Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1028:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

[2/20/2020] [11:45:54 PM] [Access   ] › ✖  error     Error: Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1028:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

[2/20/2020] [11:45:54 PM] [Access   ] › ✔  success   Built Access file #1 for: chainovate
[2/20/2020] [11:45:54 PM] [Express  ] › ⚠  warning   Command failed: /usr/bin/htpasswd -b "/data/access/1" "chris" "asdasd123"
/bin/sh: /usr/bin/htpasswd: not found
It seems that the provided image has no installed "apache2-utils" package.
My Workaround:
using a own Dockerfile extending from the provided nginx-proxy-manager image and install the missing "apache2-utils" package.

Ok must have missed that in the new base image. Will fix it

Thanks 👍 could you give me an estimate if possible?

In the next 4 hours or so

This base image is still building and then NPM needs to be rebuilt with it. Will comment again when this is all done.

All done, pull either latest, 2 or 2.1.1 docker image tag.

Hello,
I recently installed npm in RPi, using another mariDB package, all seems to work fine but I have the same problem. The ACLs do nothing.
I've checked latest and 2.1.1 packages.
Thank you for your work.

Guys, can u tell me, I don't understand a bit current logic, for example, there is 1 group, can I add a rule so that it works for any access from any IP - but with basic authentication for the host?

Oooops... I apologize, it looks like I figured it out, it is just necessary after each change in the ACL, reapply the host settings. Before these actions, it looked as if my changes in the ACL didn't bring any effect. It looks like the question has been cleared, thanks.

I have a video here showing the basics. https://www.youtube.com/watch?v=0CSvMUJEXIw


[BUG] TSVB fails to load in "edit" mode after upgrading from Opensearch 1.2 to 1.3

Describe the bug
We are using AWS Opensearch service. The initial upgrade was from Elasticsearch 7.10 to 1.2. The worked without any issues. We then upgraded to 1.3 and since then the TSVB visuals are failing to load in the "EDIT" mode. They work fine in the "display" mode.
Browser console shows the following error. I am using SerialDiff and custom script in my TSVB visual.
osd-ui-shared-deps.js:438 TypeError: Cannot read properties of undefined (reading 'links')
at SerialDiffAgg (visTypeTimeseries.chunk.2.js:1:240120)
at ua (osd-ui-shared-deps.js:438:59332)
at Ms (osd-ui-shared-deps.js:438:104414)
at gl (osd-ui-shared-deps.js:438:90018)
at fl (osd-ui-shared-deps.js:438:89943)
at ol (osd-ui-shared-deps.js:438:87291)
at osd-ui-shared-deps.js:438:45733
at t.unstable_runWithPriority (osd-ui-shared-deps.js:446:3462)
at Hi (osd-ui-shared-deps.js:438:45442)
at Gi (osd-ui-shared-deps.js:438:45678)
Expected behavior
The "Edit" mode should show up without any errors.
Plugins
All default plugins that come with OpenSearch.
Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

OS: MacOS
Version [e.g. 12.5]
Google Chrome: Version 109.0.5414.87

Is this reproducible in the open-source distribution? Have you opened a ticket with AWS support yet (if not, please do)?


Listings views and controllers

This is another pull request after making the changes. Please let me know if this one works.
Thanks,
Koni

PR sent to wrong repo


Chain initialization and main chain block inclusion

Still TODO: deposit processing

It this ready for review @vbuterin?
I can handle merge conflict

@vbuterin Because we don't have a "genesis block" but instead just time at which people can start fulfilling their proposer duties:

We need to have an allowance in block validity for a block without a parent
We need to remove the requirement of parent proposer attestation inclusion in blocks without a parent


DockerV2 using ACR - unauthorized: authentication required

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: here Question
Enter Task Name: DockerV2
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks/DockerV2
Environment

Server: Azure Pipelines
Agent: Hosted VS2017

Issue Description
Docker task seems to have stopped working, I'm getting unauthorized: authentication required error but the Docker login step seems to be working ok.
Comparing both logs, the one that worked last week and today runs I can see that today's logs are showing the full path of the image name while before used to show ***/repository:tag
Please see below extract of build file
- stage: Build_and_push_docker_image
  jobs:
  - job: BuildJob
    pool:
     vmImage: 'win1803'
    steps:
    - task: Docker@2
      displayName: Login to ACR
      inputs:
       command: login
       containerRegistry: acrConnection
    - task: Docker@2
      displayName: Build and Push
      inputs:
       command: buildAndPush
       Dockerfile: discounting-app/Dockerfile
       repository: discounting.frontend
       tags: |
         latest
         v$(Build.BuildNumber)

Task logs
Partial logs below
##[debug]tags=latest
v1.0.20190610.6-rc
##[debug]repository=discounting.frontend
##[debug]containerRegistry=null
##[debug]DOCKER_CONFIG=D:\_work\_temp\DockerConfig_1560181940576
##[debug]agent.tempDirectory=D:\_work\_temp
##[debug]Found the Docker Config stored in the temp path. Docker config path: D:\_work\_temp\DockerConfig_1560181940576\config.json, Docker config: {"auths": { "***": {"auth": "***", "email": "ServicePrincipal@AzureRM" } }, "HttpHeaders":{"X-Meta-Source-Client":"VSTS"} }
##[debug]dockerFile=D:\_work\1\s\discounting-app\Dockerfile
##[debug]No pattern found in Docker filepath parameter
##[debug]Pushing ImageNameWithTag: sbukcontainerregistry.azurecr.io/discounting.frontend:latest
##[debug]C:\Program Files\Docker\docker.exe arg: push
##[debug]C:\Program Files\Docker\docker.exe arg: sbukcontainerregistry.azurecr.io/discounting.frontend:latest
##[debug]exec tool: C:\Program Files\Docker\docker.exe
##[debug]Arguments:
##[debug]   push
##[debug]   sbukcontainerregistry.azurecr.io/discounting.frontend:latest
[command]"C:\Program Files\Docker\docker.exe" push sbukcontainerregistry.azurecr.io/discounting.frontend:latest
##[debug]Pushing ImageNameWithTag: sbukcontainerregistry.azurecr.io/discounting.frontend:v1.0.20190610.6-rc
The push refers to repository [sbukcontainerregistry.azurecr.io/discounting.frontend]
36a47b94d65f: Preparing
c194ff6cfc42: Preparing
fe039aa0a5bf: Preparing
da042c660f84: Preparing
9a7536b73870: Preparing
2f0eeaaf4e39: Preparing
bbafc0397559: Preparing
47705f1112f7: Preparing
db27c8df465e: Preparing
4b72d0e6c98a: Preparing
4de80668d45d: Preparing
0c57cbd39c3f: Preparing
1774ad41ac79: Preparing
992f11576297: Preparing
0869fa7c777b: Preparing
5198fe5efc48: Preparing
aafa1d8b8f5b: Preparing
70bba925263c: Preparing
2f0eeaaf4e39: Waiting
bbafc0397559: Waiting
47705f1112f7: Waiting
db27c8df465e: Waiting
4b72d0e6c98a: Waiting
4de80668d45d: Waiting
0c57cbd39c3f: Waiting
1774ad41ac79: Waiting
992f11576297: Waiting
0869fa7c777b: Waiting
5198fe5efc48: Waiting
aafa1d8b8f5b: Waiting
70bba925263c: Waiting
unauthorized: authentication required
##[debug]rc:1
##[debug]success:false
##[debug]task result: Failed
##[error]C:\Program Files\Docker\docker.exe failed with return code: 1
##[debug]Processed: ##vso[task.issue type=error;]C:\Program Files\Docker\docker.exe failed with return code: 1
##[debug]Processed: ##vso[task.complete result=Failed;]C:\Program Files\Docker\docker.exe failed with return code: 1
##[section]Finishing: Build and Push

Hi @lgoncalv, to help us investigate, can you please share the URL of your pipeline ?
Also, which auth type are you using in your Docker registry service connection, and where are you getting the credentials from ?

Also, can you try out the following -

Create a fresh Docker registry service connection using the credentials obtained from Azure portal (Access keys for your registry).
Use this in the pipeline and see if it works.

Hi @ajinkya599, I'm using Azure Container Registry type which doesn't require credentials.

I just tried using Others type and it does work if I enable and use admin credentials on the Registry Access Key section, no idea why the Azure Container Registry type doesn't work though.

The issue started happening after this commit in the Docker task.
When the Docker registry service connection is saved with Azure Container Registry type, the endpoint url can contain uppercase characters.
Since the above commit ensures that the image name is always lower-cased for DockerV2 task, it caused a mismatch when the Docker cli tried to read the auth credentials for the registry from the Docker config file. That is what resulted in the authentication failures.
We have fixed the issue with this commit and rolled out a hotfix. It should be working now. Please try it out and let us know.
Thanks for reporting the issue.

Hi @ajinkya599, it is working now.
Thanks for the quick fix!


Spyder crashes right after launch

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Random problem when launching spyder, I just confirmed it, I was using it normally, then I closed it and when trying to reopen it problem aroused. No modifications to libraries nor anything was done between this two events.
I've searched extensively here and everywhere and found nothing applicable to my situation, I am using a MacBook Pro M1 Max, I'm not using anaconda, since I'm using tensorflow GPU acceleration with metal through miniconda. I'm just using spyder standalone app, and as I said, sometimes it works flawlessly for days, but other times just crashes upon launch
What steps reproduce the problem?

No steps, since problem since to be random

What is the expected output? What do you see instead?
Expected output is spyder window. Instead I get the window but with a popup message saying "Launch Error See the py2app website for debugging launch issues" And gives me only two options, "Visit Website" and "Terminate" both close spyder. I can't use the program at all while this popup is open.
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

I've run the app from the terminal and get this output.

The available OpenGL surface format was either not version 3.2 or higher or not a Core Profile.
Chromium on macOS will fall back to software rendering in this case.
Hardware acceleration and features such as WebGL will not be available.
fromIccProfile: failed minimal tag size sanity
Traceback (most recent call last):
  File "/Applications/Spyder.app/Contents/Resources/__boot__.py", line 251, in <module>
    _run()
  File "/Applications/Spyder.app/Contents/Resources/__boot__.py", line 174, in _run
    exec(compile(source, path, "exec"), globals(), globals())
  File "/Applications/Spyder.app/Contents/Resources/spyder", line 3, in <module>
    start.main()
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/app/start.py", line 266, in main
    mainwindow.main(options, args)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/app/mainwindow.py", line 1822, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/app/utils.py", line 300, in create_window
    main.post_visible_setup()
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/app/mainwindow.py", line 1053, in post_visible_setup
    self.reopen_last_session()
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/app/mainwindow.py", line 1091, in reopen_last_session
    editor.setup_open_files(close_previous_files=False)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/editor/plugin.py", line 3474, in setup_open_files
    self.load(filenames[index::-1], goto=clines[index::-1],
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/editor/plugin.py", line 2273, in load
    finfo = self.editorstacks[0].load(
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/editor/widgets/editor.py", line 2736, in load
    text, enc = encoding.read(filename)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/utils/encoding.py", line 308, in read
    text, encoding = decode( open(filename, 'rb').read() )
TimeoutError: [Errno 60] Operation timed out
2023-03-10 16:31:50.137 Spyder[1535:14979] Launch error
2023-03-10 16:31:50.137 Spyder[1535:14979] Launch error
See the py2app website for debugging launch issues
Uncaught TypeError: Cannot read property 'fit' of undefined
QProcess: Destroyed while process ("/Applications/Spyder.app/Contents/MacOS/python") is still running.
QProcess: Destroyed while process ("/Applications/Spyder.app/Contents/MacOS/python") is still running.
QProcess: Destroyed while process ("/Applications/Spyder.app/Contents/MacOS/python") is still running.

Versions

Spyder version: 5.4.2 Latest Mac standalone
Python version: My Mac has 3.10.9 but I think spyder is using 3.9.14 cause that is shown in the spyder console before it freezes.
Qt version: 5.15.9
PyQt version: 5.15.17
Operating System name/version: macOS Ventura 13.2.1

Dependencies

PASTE DEPENDENCIES HERE

I can't access to this menu

I am sorry if some info is lacking, and will be happy to add anything requested. This is the first time I'm posting here and I'm not a computer guru.

Looks like having some open scripts (open in the spyder IDE) stored in OneDrive and not having OneDrive open at the moment causes the issue. I opened OneDrive and everything worked as expected.
Admin please delete this issue. Sorry for the mistake.
Thank you for your work!

Hey @Gerard568, thanks for reporting. Actually, this error is something we can fix on our side to prevent it from showing up to users. We'll do that for our next version (5.4.3), to be released at the end of the month.


Score

It would be so much more fun to play if it had a scoring system.
Two ideas to base score on:

Time player remains alive
Number of pisces captured

Also, make a leaderboard.


Slight permutation changes?

First off, Great script, appreciate the work. I have used in the past a different script, called Slurp. Primarily for the permutations, it allows the usage of "-" delimiters and even blanks, etc, He has a pretty large list also. But, it's not as fast, and you can not use AWS access creds, nor can it log to any where. Plus, I am really not a fan of the Go Lang. Setting it up in any enviornment then having it spit out the compiled app is just like.. oh, there it is.. way over there, all the time.. ok..
Anyways, I took the time, being bored, to give you the equivlent of what your script would look like if you used the permutations that his does. It's very much larger, duplicate are removed and everything. Probably would want to use an external file to load them.. It would add a LOT more detection on your scripts side, but you'd need to do some obvious changes to the permutation parsing / generating.
https://pastebin.com/RpUkywbV
Thanks again! Hopefully you'll think about it !

Get some!!!

Thanks @moorer2k. I'm about to push a few changes:

Moving permutations to text files, allowing you select different lists with -p or --permutations
Allowing you to choose a "source", either certificate transparency logs (as default) or via a text file passed in with -s or --source


feat(clerk-js): Fallback to invisible CAPTCHA if the element is not found

Description
This PR:

Expects a captcha_public_key_invisible CAPTCHA key alongside with the main key, so it can fallback to invisible CAPTCHA if the clerk-captcha element is not found in the DOM.
Utilizes the unsupported-callback prop of the CF Turnstile, to show error when the browser is not supported.
Sends a captcha_widget_type prop in the /sign_ups POST request to FAPI to let it know what widget type was used.
Removes the support to always_visible widget type option.

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[x] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

❓ How did the captchaPublicKeyInvisible was populated up until now? Wasn;t the invisible mode the default up until now?

@dimkl you are right, the default one until now was Invisible. This captchaPublicKeyInvisible new property is actually a fallback that will be used if the main captcha strategy cannot be used. I'll add a comment to explain this.

I'm confused as to why we need 2 site keys at the same time

@panteliselef The captchaPublicKeyInvisible is a fallback to invisible, if the clerk-captcha element is not found in the DOM.


When trying to use docker login in a non-interactive shell, it returns wrong error

Same as #12959
How to reproduce: try to use docker login --username=right-username --email=right-email --password="". You will get an error inappropriate ioctl for device. It is possible to log in with an interactive shell.
Shell: bash.
Kernel: Linux icweb-logsearch-03-production-us-west-1 3.14.48-33.39.amzn1.x86_64 #1 SMP Tue Jul 14 23:43:07 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
OS: Amazon Linux 15.03
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5/1.9.1
 Built:
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5/1.9.1
 Built:
 OS/Arch:      linux/amd64

Also having this in a jenkins build script.

@adamkdean are you sure it's needed on the server / daemon as well?

@adamkdean I have the same question.Has any one can explain this solution?Why client and daemon use the same config.json?


Exception: 'ascii' codec can't encode character u'\u02ca' in position 952: ordinal not in range(128)

Hi,
Trying to parse a result i'm having an encoding error:
scrounger -p scrounger-report/android.analysis/results.json

--------------------------------------------------------------------------------

[-] Exception: 'ascii' codec can't encode character u'\u02ca' in position 952: ordinal not in range(128)

If I open a text editor (Visual Studio Code) and make a regexp search for [^\x00-\x7F] (non-ascii char) I find no result.
As U+02CA seems to match with ˊ (here), I added one in the doc and used the same regexp and it was detected.
So it seems there are not such non-ascii char in the report.
Plus the JSON file is a one line result so I guess that position 952 means line 1 columns 952 but there is no weird char at this position.
I'm sorry i can't share the result file because it is confidential.

I made a quick ruby script to parse it myself
require 'json'

class String
  def red;            "\e[31m#{self}\e[0m" end
  def green;          "\e[32m#{self}\e[0m" end
  def brown;          "\e[33m#{self}\e[0m" end
end

data = JSON.parse(File.open('scrounger-report/android.analysis/results.json').read)

data.each do |vuln|
  case vuln["severity"]
  when "Informational"
    print vuln["severity"]
  when "Low"
    print vuln["severity"].green
  when "Medium"
    print vuln["severity"].brown
  when "High"
    print vuln["severity"].red
  end
  puts ' ' + vuln["title"]
  #puts vuln["report"]
  vuln["details"].split('\n').each do |line|
    #puts line
  end
end

And the ruby standard json library doesn't seems to have a problem with it.

Hi @noraj,
This one slipped through the cracks. I assume you no longer have any details on this issue?

Yeah the file was confidential and was destructed.


How to setup on Lazy?

I'm trying with:
{
    "arnamak/stay-centered.nvim",
    lazy = false,
},

And it is listed as "loded" but it does nothing.

Nevermind, just created an autocmd
local augroup = vim.api.nvim_create_augroup
local autocmd = vim.api.nvim_create_autocmd

-- Keep cusor always centered
local cursor_group = augroup("cursor", { clear = true })
autocmd({ "CursorMoved"}, {
  desc = "Keep cursor always centered",
  group = cursor_group,
  callback = function()
    vim.api.nvim_exec("norm zz", false)
    baseevent "CursorCentered"
  end,
})

SOLVED:
  --  stay-centered.nvim [cursor centered]
  -- https://github.com/arnamak/stay-centered.nvim
  {
    "arnamak/stay-centered.nvim",
     lazy=false,
     opts = {
       skip_filetypes = { }
     }
  },


add file and cli-tool cli.js

a simple command-line script to jslint files/urls, intended to make it easier for users to migrate back to jslint.
screenshot of cli-tool in action, as it jslints both a local-file, and a remote-url:

I can not accept anything that uses 'require'. I am promoting ES6 modules instead.


Optimize the performance

Before this changeset, a launchTestProtoData task with the validation extensions took whooping 23 minutes to complete for the test Proto definitions in core-java/server (about 210 Proto files). This was unacceptable.
This PR improves the performance of the validation features.
So far, the improvements made reduced the execution time to about 3.5 minutes. Which is still too much, but significantly better than before.
Another, a minor one, part of the improvements is made via spine-server artifact. Its ColumnMapping performance optimization would allow to shave another 1.5 minutes off the execution time. See core-java#1457 for more details. The validation library is migrated to these core-java changes as well.

@dmdashenkov PTAL.
The builds will pass after core-java PR is merged.


Use webpack analyzer to diagnose bundle

Bundle has enormous size of 17MB

We need to detect most heavy libs though Webpack analyzer
Decide how to make them lighter
Find can be loaded with low priority
Other optimisations are welcome

Connected with #1541


Entering commands into terminal closes radar/cam view

Entering commands into the terminal when the monitor or cam views are onscreen causes them to disappear, being very inconvenient when the player wishes to close terminal doors and such.

Entering commands into the terminal when the monitor or cam views are onscreen causes them to disappear, being very inconvenient when the player wishes to close terminal doors and such.

Door codes shouldn't cause the monitor/cam views to disable from what I've seen in my dev testing. Do you mean the regular doors command and stuff like that? Currently it's pretty much intended for most commands to hide the monitor/cams views but if you have specific commands in particular that should not close it I can add those commands as exceptions.

After some more testing, this only seems to happen with codes that are invalid, which will close the view. However if commands hiding the map view ect. are intended, I would love if an option or command toggle ect. was added to keep the view open when using commands as that's what I'm used to in regular gameplay, as I get to always keep a close eye on my crewmates even when doing other things.

One other thing I've just found, while the "switch" command alone will not close the view, the command followed by a player name will, which is a little annoying as it's useful to use to switch to a specific player.

After some more testing, this only seems to happen with codes that are invalid, which will close the view. However if commands hiding the map view ect. are intended, I would love if an option or command toggle ect. was added to keep the view open when using commands as that's what I'm used to in regular gameplay, as I get to always keep a close eye on my crewmates even when doing other things.

Sure that's completely valid. My main reason for hiding cams views for other commands was mostly just because it looked ugly to me to see a load of white text load on top of the camera like when you type "help". I can see about adding a configuration that will allow for the vanilla-type behavior. I'm just not sure if my custom commands such as "vitals" will also allow for this. I'll update here after some testing. Also if you want to offer any further suggestions to expand on this mode please feel free 👍

One other thing I've just found, while the "switch" command alone will not close the view, the command followed by a player name will, which is a little annoying as it's useful to use to switch to a specific player.

I will have to look into this further. "switch" has definitely been the bane of my existence with these cams commands lol. I think while I have tied my logic into the regular "switch" command there may be another node for switching to particular players that I also need to hook into to. I'm going to look into it and see what I can do

Solving this required completely reworking the switch, map, and cams commands. I can explain this in depth if anyone is interested but the summary of this is that the cams/maps commands will now work in the same way as the splitview commands (minimap/minicams).
I think I've also solved some of the lag between this mod and the fastplayerswitchview not detecting the switch command right away.
In short, there will be a new configurable: "camsNeverHide" which you will want to set to true. I've also updated the default so that the switch command or any interactions with the portable radar will not hide the cams views and feel somewhat seemless.
I also hope to have fixed a bug where the player name displayed on the terminal was not the correct one.
Will be pushing this in patch 2.1.1

2.1.1 has been pushed, please download it and try it out 👍


Fix named tuple

Description

Fixes https://github.com/lf1-io/padl/issues/275

clean up named_tuple logic, so that final output is always named tuple for Parrallel/Rollout
Output is namedtuple for all *apply methods in all modes.
Add tests for this logic

is this related to #276?

@jasonkhadka Shouldn't we also remove
        if Transform.pd_mode is not None:
            return tuple(out)

from the call methods in Rollout and Parallel for the time being?

is this related to #276?

Issue #276 will be a larger refactor so we can used namedtuple's in between transforms. Right now a namedtuple can only be returned as the final output of the _apply methods. We cannot used namedtuple's everywhere because they cannot be pickled which makes them incompatible with the DataLoader.

Issue #276 will be a larger refactor so we can used namedtuple's in between transforms. Right now a namedtuple can only be returned as the final output of the _apply methods. We cannot used namedtuple's everywhere because they cannot be pickled which makes them incompatible with the DataLoader.

I see, thanks for the explanation.

@jasonkhadka Shouldn't we also remove
        if Transform.pd_mode is not None:
            return tuple(out)

from the call methods in Rollout and Parallel for the time being?

this is still needed cause users might still want to call single transform and expect named output.
example:
t = (a - 'a1' + b - 'b1') >> (c / d)

users might do t[0](arg) and expect output as namedtuple('a1': a(arg), 'b1':b(arg))
This logic makes it possible.


Gpt-neox-20b model take 1 minutes for 100 token using 4bit...

Is there any way to reduce the time for more token?

Hi @imrankh46
I think this is expected if you use double_quant=True, consider using the non-nested quantization (by default) for faster inference. Feel free to re-open if you have more questions


Deserialize error

Hi, I am trying to reproduce the example where bacteriocins are annotated but am running into this "deserialize" error. I specified 'cpu' in the command, but I get the same error if I specify 'gpu.'
tmvec-build-database \
    --input-fasta bagel.fa \
    --tm-vec-model tm_vec_cath_model.ckpt \
    --tm-vec-config-path tm_vec_cath_model_params.json \
    --device 'cpu' \
    --output bagel_database

RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.

I had the same error, it was fixed in #23.
Try to install the version from the repository - clone the repo and run pip install . in it.

Hi, thanks for catching this.  We just submitted a new pypi release https://pypi.org/project/tm-vec/#history
So the current pypi version should be up to date.


Update workflow to store and pull streetview images from GCS subdirectory

To better organize GCS, this PR adds a subdirectory in which to store streerview images, and also updates the front end to pull the images correctly from that directory. Addresses #717 .

@nlebovits the "PR Checks Backend" is failing. A formatting or linting issue might be causing this. Can you take a look? Thanks!

@CodeWritingCow yep! on it

@zigouras thanks for the review. there are a number of errors in the code--I took a break from working on it on Thursday but expect to get back to it this week.

@CodeWritingCow can you review the front end pieces of this commit and lmk if you see where my code is going wrong and what I can fix. No worries if not--I need to put more time into this one.


Performance on lsp dataset

did you evaluate your network on the lsp dataset? if yes can you kindly share how many epochs for pre-training and training or other parameters?

Not yet. I haven't found an optimal set of hyper-parameter for pre-training or training.
If you have evaluated a good result, would you please share your configurations of training?

Not yet. I haven't found an optimal set of hyper-parameter for pre-training or training.
If you have evaluated a good result, would you please share your configurations of training?

I recently tested your model, with an 80:20 train:val spilt. Got an average PCKh of 63%. Though the model performance on webcamera was not even close. It seemed to suffer from resolution issue, I tried loading a video with 255*255, but the model could not take in the keypoint correctly


Add --style json to cli/fs docs

Updates mentions of --style in the existing docs to match https://github.com/openmicroscopy/openmicroscopy/pull/4906
As far as I can tell these are the only docs that mention --style even though the flag is present on several other commands.
Trello: https://trello.com/c/TKhujUiT/217-document-cli-style-json

Staged at http://www.openmicroscopy.org/site/support/omero5.3-staging/sysadmins/cli/fs.html.

Consistency would be nice, we don't have the additional <``> on other options, do we?

Although, I can fix that up myself later if you don't have time now @manics

Updated (Removed <>)

@mtbc Or did you mean add them?

I don't know. :smiley: We also have options listed on that page like --order <{newest,oldest,prefix}>. Whatever leaves it all making sense in the end is fine with me.

I've removed at  < >. This is consistent with the output of the Python argparse --help message.


Put in-line links on one line in the output

Improves output readability and link detection by dartdoc

Down from 69 to 28 warnings on googleapis with this

All of the warnings left are around exported symbols from a private package.
So all of the link errors are GONE!


Serde serialization and deserialization

I have a need for using serde with your gregorian::Date type.
Would you accept this in a PR if I added it?

Indeed I would. It looks like #6 already does this.

serde support is now available in 0.2.4 :D


README for OTel-Arrow receiver

Edits the README.md for otelarrowreceiver. I figure the exporter will have a lot of similarity, so we'd review this one first and copy a lot of the same text into the other.
This adds the mdatagen mechanism used in collector-contrib, as we prepare to move into that repo.

This has been heavily edited, please take another look @lquerel @moh-osman3, thanks!


"Forum Post" links on modobugs seem to all link to the "report a bug" page rather than a bug page

Example: https://github.com/PennyDreadfulMTG/modo-bugs/issues/1086

The "How to report" link is added by default so that it's easier for people to report and link forum posts.  They're meant to replace it with an actual link, but oftentimes they don't put the effort in.
Counterexample: https://github.com/PennyDreadfulMTG/modo-bugs/issues/1060

Oh I see. So this is wontfix?

Pretty much. I want to make the triage process better, but the issue as reported is "user error, wontfix"

Added Needs Forum Post autolabel


Not execute in test sandbox ?

hi there ~
i have tried rihanna in my Elixir project, follow the config in README.md, but the job is not executed in ExUnit sandbox, is there sth i missing ?

there is no "work, work .." in console, how could i make it run in test env ?
also i am not sure if #59 facing the same problem

OS: mac 10.13.1
Rihanna version: latest
Elixir version: latest(1.9.0)
Phoenix version: latest

Jobs are not automatically run in the ecto sandbox by design (as you probably don't want side effecting jobs to run non-deterministically in your tests).
If you want to to run the jobs query the database for the data and manually run the jobs.
Personally I prefer to query the database and make assertions about what is in the queue and then to unit test the jobs seperately.


css: Use SCSS nesting for #compose-buttons in compose.scss.

Manually tested.

Looks great, merged, thanks @vrongmeal!
One thing we may want to think about is moving some content from media.scss to individual CSS files using or new media-handling technique.


Refacto + Doc (Data): upgrade of notebook first_tweet.ipynb: [1] How …

Description
Refacto of the notebook "first_tweet":

adding documentation
How to request tweet mentioning a user
How to request tweets from a specific user
How to request tweets in a given date range (start/end_time)

Fixes: None, preliminary work for issue #15 and issue #16
Type of change
Please delete options that are not relevant.

[x] Preliminary work
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] examples in notebook

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Cell 11 of the notebook causes the error:
`IndexError                                Traceback (most recent call last)
Input In [11], in <cell line: 1>()
----> 1 tweets[1]['data']
IndexError: list index out of range tweets[1]['data']should be replaced bytweets[0]['data']`
Typo in first cell "Yoi can also"
import json is in a cell below the first use of json
last cell missing a digit in  start_time = '2022-0-02'
Good job and great explanations ! 👍

Nice review @guillaume-salle , I will fix it plus add it into src somehow. Then I will perform again the PR


LL/LC: Release of LC with updated PDF matching new test protocol

As a user testing a new custom labware definition, I would like my the test documentation to match the python test protocol, so that I don't get confused.
Acceptance Criteria

[ ] New PDF instruction guides user to:

[ ] check depth at end of protocol
[ ] place labware to be tested in slot 2

[ ] Update PDF (linked below)

Implementation Notes

This ticket should follow #4451.
The instructions PDF is not part of the LL/LC website release process, it's a separate S3 bucket. When we release LL/LC with the new 3-cross protocol, we need to manually update the PDF at https://opentrons-publications.s3.us-east-2.amazonaws.com/labwareDefinition_testGuide.pdf.

PDF
Labware Test Guide.pdf

@howisthisnamenottakenyet would you update this pdf to reflect both the 'check depth at end of protocol' and 'place labware to be tested in slot 2' changes?

Done in release of LL 1.7.0!


I have a question?

is this login for store owner or customer checkout login?

its for customer login. official documentation

OTPless plugin is for customer login.
For More info, visit Otpless.com.
Check out Official documentation

OTPless plugin is for customer authentication.
For More info, visit Otpless.com.
Check out Official documentation


Fix typos

Found via typos --format brief

[x] Please sign Adobe's CLA if this is your first time contributing to an Adobe open source repo. Thanks!

thanks!! sorry for making you jump through so many hoops - i'll try to find someone who can make the CLA process work better for folks in the future :)

:tada: :tada: :tada: :tada: :tada:


Enhancement for rule "one-element-per-line"

I have suggestion to make rule "one-element-per-line" more configurable so as to be able to disallow only tags to be on the same line but allow the text to be on the same line with wrapping tags.
Here example which currently is recognized as rule violation:

I believe it makes sense to allow including text on the same line with tags. But multiple tags still should be forbidden:

Hello @antondyachuk , thanks for your suggestion. This feature is perfectly feasiable, will let you know once it's implemented.
Thank you!

Hello @FabiowQuixada
Thank you, looking forward for the new version

Hello @antondyachuk ,
sorry for the delay, finally version 5.29.0 comes with the suggestion you prodided! Please take a look at "one-element-per-line" rule documentation and let me know if it works as expected on your side.
Thanks!

Closing due to inactitivity

Closing due to inactitivity


Add configuration for Javadoc plugin

Adds the initial configuration for javadoc plugin in this project; with intention to eventually figure out how to publish this thing.

One thing to keep in mind is that we might not want to run it on regular builds because javadoc generation could add a significant amount of time to the build.

Hmm make sense, I think I will exclude it from the executions then. What is the best way to do this? For some reason the steps for building the javadocs is failing with compilation errors: https://travis-ci.org/spring-cloud/spring-cloud-gcp/builds/598689065?utm_source=github_status&utm_medium=notification
Feel like I am missing something with how the javadoc generation works.

One thing to keep in mind is that we might not want to run it on regular builds because javadoc generation could add a significant amount of time to the build.

Hmm make sense, I think I will exclude it from the executions then. What is the best way to do this? For some reason the steps for building the javadocs is failing with compilation errors: https://travis-ci.org/spring-cloud/spring-cloud-gcp/builds/598689065?utm_source=github_status&utm_medium=notification
Feel like I am missing something with how the javadoc generation works.

I think removing the automatic execution bound to package phase is fine.
Regarding compilation errors, are you sure it's caused by the javadoc stuff? It looks like the regular compilation is failing.

One thing to keep in mind is that we might not want to run it on regular builds because javadoc generation could add a significant amount of time to the build.

Hmm make sense, I think I will exclude it from the executions then. What is the best way to do this? For some reason the steps for building the javadocs is failing with compilation errors: https://travis-ci.org/spring-cloud/spring-cloud-gcp/builds/598689065?utm_source=github_status&utm_medium=notification
Feel like I am missing something with how the javadoc generation works.

I think removing the automatic execution bound to package phase is fine.
Regarding compilation errors, are you sure it's caused by the javadoc stuff? It looks like the regular compilation is failing.

Removed from automatic execution for now. I think the errors are related somehow; you see now, removing the automatic execution also resolves the compilation errors.

Maybe the command to Travis yaml to make sure it tests javadoc generation?

Resolved by #2173.


Please add typescript support

Please add typescript support

Never used TS before. I'll look on how to add basic support.

I've added basic typescript support in release v0.2.0.
Also published on NPM.
Tell me if it works for you, thanks.

Your engine requirement is too strict
https://github.com/jybleau/parseable-winston/blob/de897f8014939424f3b571e2e1068764d09e08db/package.json#L38
I can't even install package now
The engine "yarn" is incompatible with this module. Expected version "^1.22.19". Got "1.22.10"
The engine "node" is incompatible with this module. Expected version "^18.17.1". Got "20.11.0"

I don't think that you need to specify engines at all...

Do you have engine-strict enabled? npm config ls -l | grep engine
https://docs.npmjs.com/cli/v10/using-npm/config#engine-strict
It's suppose to be just a warning by default.
Anyway, I got it wrong, I've changed the values and published v0.2.3.
Yes, not needed for TS, I added to indicate minimum supported engine.
Thanks for the feedback.

Thanks for taking look at this. It seems that basic TS support does allow importing your package into project as a module 🥳
However, I am not able to add ParseableTransport as a tranport for winston.
I am getting this type error:
Type 'ParseableTransport' is not assignable to type 'TransportStream'.
  The types returned by 'end(...)' are incompatible between these types.
    Type 'Promise<void>' is missing the following properties from type 'TransportStream': writable, writableEnded, writableFinished, writableHighWaterMark, and 33 more.ts(2322)

I am not sure why it complains. It probably works if we ignore type errors

I've published a new version 0.2.4 with more TS code conversion.
There are less build errors but still this one :
Type 'ParseableTransport' is missing the following properties from type 'TransportStream': writable, writableEnded, writableFinished, writableHighWaterMark, and 32 more

Not sure how to fix it yet...
It's supposed to be fixed by changing those tsconfig properties:
  "moduleResolution": "node",
  "esModuleInterop": true

Still, it does compile and run correctly. I'll have a look at how LogTailTransport has been done...
NB: module import should be done like this:
import { ParseableTransport } from 'parseable-winston';

or

const { ParseableTransport }  require('parseable-winston');

Removing async and await from end() method seem to fix this error:
Type 'ParseableTransport' is missing the following properties from type 'TransportStream': writable, writableEnded, writableFinished, writableHighWaterMark, and 32 more
But after that you will get a new  error here:
super.end(args, () => {})
Property 'end' does not exist on type 'TransportStream'
Did you mean to use super.close() instead?

I've rewritten the way the close call is handled; removed async and use an onClose method instead.
Anyway, when TransportStream call its close property there is no async or callback support, so it's useless await for the buffer to flush on logger close.
I can build with no error using version 0.3.0.
Thanks again.

Thanks! It seems to be working now


[Question] How to search ignoring column diacritis?

I am using the following where statement for a simple search:
..where(
  drinks.name.like('%$name%'),
)

Considering a table like this one:

id
name

1
cCafe

2
Café

3
caféeee

4
tea

3
coffee

2
jugo

3
water

2
Café

3
caféeee

4
cafeeeeee

If a look for the cafe string, the current result is as follows:

id
name

1
cCafe

4
cafeeeeee

The expected result is this one:

id
name

1
cCafe

2
Café

3
caféeee

2
Café

3
caféeee

4
cafeeeeee

I already tried using collate but the result is the same since their options are limited.

Unfortunately, sqlite3's support for non-ascii chars is quite limited and there's not much moor can do about that.
I think your best approach would be to add a column like normalized_name where you remove diacritics using Dart. Then you can search over that column and still get the right name back.

I had already done that by I was wondering if there was a more suitable way to do it.
Thanks for the reply!


open_file(..., 'x', atomic=True) error is misleading

When using open_file(path, 'x', atomic=True), the exception error message mentions the non-existent "overwrite" parameter. It looks like this message was copied from python-atomicwrites. Perhaps it should change to recommend that package instead?

Click 7.0
Python 3.7.2

Is this issue asking for the message to be changed or to move to a different library?

I'm asking for the message to be changed to recommend that programmers who use that combination move to another library.

Duplicate of #320


Add Dockerfile to build eBPF object files

Hi.
In this PR, I added a new Dockerfile which provides everything needed to build eBPF object files.
Best regards.

Besides some nits the PR looks very good. I think there are further improvements that we can do later on: (I can create issues for it after it's merged)

Automatically build and push the builder image using Github Actions
Pre-download go packages in the image to avoid having to download them each time it's run. (RUN --mount could help)
Provide documentation to indicate how to compile a single gadget (compiling all gadgets takes too long and could be annoying when trying modifications on a single gadget)
Compile all the objects with this image and push them to the repo
Check that compiled objects are updated on the CI

I also requested a review from @alban as he has experience building things inside containers :D.

What do you mean by this?

We should use this image to compile and update the objects checked on the repo. Running make ebpf-objects makes a lot of them as modified and it shouldn't happen if I didn't change the source code.


Error: You should provide GraphQLDirective to schemaComposer.addDirective()

Description
Gridsome v0.7.19

Initializing plugins...
Load sources - 0s
Error: You should provide GraphQLDirective to schemaComposer.addDirective(), but recieved:
  @infer
    at SchemaComposer.addDirective (project/node_modules/graphql-compose/lib/SchemaComposer.js:698:13)
    at addExtensionDirectives (project/node_modules/gridsome/lib/graphql/extensions/index.js:44:20)
    at addDirectives (project/node_modules/gridsome/lib/graphql/extensions/index.js:29:3)
    at createSchema (project/node_modules/gridsome/lib/graphql/createSchema.js:49:3)
    at Schema.buildSchema (project/node_modules/gridsome/lib/app/Schema.js:28:28)
    at Plugins.createSchema (project/node_modules/gridsome/lib/app/Plugins.js:94:22)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
### Steps to reproduce

In gridsome.server.js:
module.exports = {
  plugins: [
    {
      use: 'gridsome-source-graphql',
      options: {
        url: 'http://localhost:8888/graphql',
        fieldName: 'gqlFieldName',
        typeName: 'gqlTypeName',
      },
    },
  ],
}

url is pointing to a local GraphQL server (verified to be working correctly and consumable)
Expected result
Gridsome should consume the GraphQL properly and load the app
Actual result
Gridsome throws the error above and exits, does not start app
Environment
  System:
    OS: macOS High Sierra 10.13.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
  Binaries:
    Node: 12.18.2 - ~/.nvm/versions/node/v12.18.2/bin/node
    Yarn: 1.22.4 - ~/.nvm/versions/node/v12.18.2/bin/yarn
    npm: 6.14.5 - ~/.nvm/versions/node/v12.18.2/bin/npm
  Browsers:
    Chrome: 84.0.4147.89
    Firefox: 77.0.1
    Safari: 13.1.2
  npmPackages:
    gridsome: ^0.7.0 => 0.7.19
    gridsome-source-graphql: ~1.0.2 => 1.0.2

Plugins are added in gridsome.config.js not gridsome.server.js, if you're actually using gridsome-source-graphql then don't use the code in the article I mentioned. I have gridsome-source-graphql only temporarily in my packages.json which I plan to remove later.

You're right. Moving the setting to gridsome.config.js, however, brings me to this: https://github.com/gridsome/gridsome/issues/967

I ended up solving this by removing all the package locks (yarn, npm, pnpm) and do a fresh reinstall using yarn with these dependencies:
    "@gridsome/source-graphql": "~0.1.0",
    "graphql": "^14.0.0",
    "gridsome": "^0.7.0",

Yarn is the only package manager that seemed to work.

Ran into same issue. Downgrading graphql from v15-something to v14 resolved this.


Unable to use RoShade while using Bloxstrap

So, I want to use Roshade instead of Reshade since Roshade has some stuff Reshade doesn't have, but everytime I try to install Roshade while bloxstrap is installed, it won't let me use it.

If you really want to use Roshade, you need to change Bloxstrap's install location from <UserProfileFolder>\AppData\Local\Bloxstrap to <UserProfileFolder>\AppData\Local\Roblox for it to be picked up by the Roshade installer. Keep in mind that uninstalling Bloxstrap would require reinstalling both player and studio.


PNG format in minema

Hi, I wanna use the mod in image sequence mode, bug tga is too large. How did i select another image format, like png or jpeg?

Hi, I wanna use the mod in image sequence mode, bug tga is too large. How did i select another image format, like png or jpeg?

You’ll need to change Encoder arguments to something like:
-f rawvideo -pix_fmt bgr24 -s %WIDTH%x%HEIGHT% -r %FPS% -i - -vf %DEFVF% %NAME%_%d.png

But i'll still be needing the ffmpeg. I'm on Android, the reason for me to use the image sequence is because i can't install ffmpeg. In older versions of the mod it had the option to change the image format, like jpg, png, gif...

But i'll still be needing the ffmpeg. I'm on Android, the reason for me to use the image sequence is because i can't install ffmpeg. In older versions of the mod it had the option to change the image format, like jpg, png, gif...

Oh... then there is no other way, sorry. 😔
There was a way to export pngs instead of tag indeed, but for some reason it got removed.

Well, at least you tried to help me, thank you!


init: ported Index_Left_{String,Unicode} primitive function

Since there are a number of level 1 libraries using the string function, we have to port its primitive ones into HestiaKERNEL library. Let's do this.
This patch ports Index_Left_{String,Unicode} primitive function into HestiaKERNEL library into init/ directory.

merge first since production is unaffected.


Error launching the bot

Please tick all applicable boxes.

[x] I am using Python 3.5.3 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[ ] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[ ] The latest master version (release-260419)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[ ] Feature request
[x] Question

Description of issue
[INFO] launcher: Starting sanity checks
[INFO] launcher: Checking for Python 3.5+
[INFO] launcher: Checking console encoding
[INFO] launcher: Setting console encoding to UTF-8
[INFO] launcher: Ensuring we're in the right environment
[INFO] launcher: Adding local bins/ folder to path
[INFO] launcher: Required checks passed.
[INFO] launcher: Optional checks passed.
[INFO] launcher: Moving old musicbot log
Starting MusicBot release-260819-5-gc87dc05
Loaded autoplaylist with 2531 entries
[ERROR] launcher: Error starting bot
Traceback (most recent call last):
File "run.py", line 373, in main
m.run()
File "C:\Users\User\OneDrive\Documents\GitHub\MusicBot\musicbot\bot.py", line 902, in run
self.loop.run_until_complete(self.start(*self.config.auth))
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\asyncio\base_events.py", line 587, in run_until_complete
return future.result()
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 543, in start
await self.connect(reconnect=reconnect)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 457, in connect
await self._connect()
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 421, in _connect
await self.ws.poll_event()
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\gateway.py", line 469, in poll_event
await self.received_message(msg)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\gateway.py", line 423, in received_message
func(data)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\state.py", line 663, in parse_guild_create
guild = self._get_create_guild(data)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\state.py", line 638, in _get_create_guild
guild._from_data(data)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\guild.py", line 391, in _from_data
self._sync(guild)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\guild.py", line 418, in _sync
self._add_channel(TextChannel(guild=self, data=c, state=self._state))
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\channel.py", line 107, in init
self._update(guild, data)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\channel.py", line 131, in _update
self._fill_overwrites(data)
File "C:\Users\User\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\abc.py", line 271, in _fill_overwrites
self._overwrites.append(_Overwrites(id=overridden_id, **overridden))
TypeError: new() got an unexpected keyword argument 'deny_new'
[INFO] launcher: All done.
C:\Users\User\OneDrive\Documents\GitHub\MusicBot>
musicbot.log
Steps to reproduce

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.

from their discord
RH1-N0: I started my bot, but there's and error!
__new__() got an unexpected keyword argument: 'deny_new'
If you are on windows, simply do py -m pip install -U discord.py[voice] and that should fix it.
If you are on linux or mac os, do pythonx.x -m pip install -U discord.py[voice] and replace x.x with your python version, for example python3.7 and your error should be gone aswell.
You can also change the requirements.txt file so that it looks like this:
pynacl==1.4.0
discord.py[voice]==1.4.1
pip
youtube_dl
colorlog

Then run update.bat (If you're on windows, if not chose the appropriate update file for your system OS) once it's all up to date, then do run.bat (Same note as before). Please make sure to press n when asked if you'd like to reset files then y when asked if you'd still like to update dependencies.


2 xsuuaa instances throws exception

We have a java cap application running with an xsuaa service for authentication. Since we wanna expose the application also as a service we implemented a service broker with another xsuaa instance as described in "Multitenancy in SAP CF"  Paper
Now we tried to secure our endpoint using the cloud security and we get an exception: "Found more than one xsuaa binding. There can only be one".
Caused by: java.lang.RuntimeException: Found more than one xsuaa binding. There can only be one.
at com.sap.cloud.security.xsuaa.XsuaaServicesParser.getJSONObjectFromTag(XsuaaServicesParser.java:91)
at com.sap.cloud.security.xsuaa.XsuaaServicesParser.searchXSuaaBinding(XsuaaServicesParser.java:72)
at com.sap.cloud.security.xsuaa.XsuaaServicesParser.getAttribute(XsuaaServicesParser.java:59)
at com.sap.cloud.security.xsuaa.XsuaaServicePropertySourceFactory.getConfigurationProperties(XsuaaServicePropertySourceFactory.java:65)
at com.sap.cloud.security.xsuaa.XsuaaServicePropertySourceFactory.createPropertySource(XsuaaServicePropertySourceFactory.java:55)
at org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:452)
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:271)
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:242)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:167)

How is it supposed to work? Do you know a way to reference the application xsuaa instead of the broker-xsuaa?
Wouldn't it be possible to select the correct xsuaa with the client_id of the JWT?
Could you please provide a solution/workarround/fix for the problem?
Thank you

Hi,
The broker plan has been updated to be usable for UI and API cases. This eliminates the need for supporting double bindings as you can bind the same service instance to the approuter and your service broker.
Changes you need to make:

In the broker plan instance set the tenant-mode to "shared"
Bind the broker plan instance to the approuter and service broker

Regards,
Martijn

Hey Martijn,
i tried your suggestion. I removed the xsuaa instance with plan "application" and used the broker xsuaa everywhere now.
The app deployed successfully but since we'd protected the subscription endpoints the subscriptions is still not working. I decoded the JWT and the expected scope was missing.
I'm now binding an "application" plan xsuaa again to the app and the scope get's correctly send by the provisioning service. It seems like the provisioning services is expecting an application based xsuaa service and therefore the solution is not yet working.
Hope that's understandable.
Best
Ronald

Can you please point me to your master appid & landscape where you try this?

I already send you a slack message. Would like to discuss this internally first and expose a solution afterwards.

@mwdb could you clarify / solve this issue?

Hi @Skyks,
please re-open this, in case you need further support.
Best regards,
Nena

the procedure is described here:
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/Migration_JavaContainerSecurityProjects.md#multiple-xsuaa-bindings


Bug - cannot import name 'FieldValidationInfo' from 'pydantic'

Describe the bug
I get the following error: cannot import name 'FieldValidationInfo' from 'pydantic'.
When doing:
from instructor import OpenAISchema

To Reproduce
from instructor import OpenAISchema

Expected behavior
Expected it to not crash
Screenshots

Desktop (please complete the following information):
Version 0.2.8
Macbook Pro - Intel
Chrome

Nevermind, this happens when running pydantic version 1.10.
While pip list gets updated, the kernel also needs to be reset so that modules can inherit changes when importing.
Closing this