Excuse me, can the training dataset and training model be downloaded? Thank you！

Excuse me, can the training dataset and training model be downloaded? Thank you！

We released 50 epoch and 100 epoch checkpoints so that people could test more widely.

Also, We published the selfie2anime datasets we used in the paper.

In the test image, I recommend that the face be in the center.


Does the outputClean LDA model generalize to other species?

Hi,
Do you anticipate that the trained LDA model in outputClean will work well for non-human species? I am testing it on some mouse probes and receiving strange results. Particularly, for probes that bowtie2 marks as having several alignments, outputClean passes 100 percent of the candidates when I would expect fewer to pass. This is regardless of how I set the p flag (even -p 1 which seems strange). Maybe there are some caveats I need to be aware of when using the model with outputClean. I'm attaching my input fasta file in case that sheds some light.
Thanks!
mouse.txt

Hi David,
Yes, we have used the LDA mode to design probes for multiple species
without issue.
Looking at your input, I think the issue is that your FASTA header does not
match what the scripts expect: it needs to be chrom:start-stop using the
same scaffold information as the reference genome, e.g. chr1:100000-100035.
This info gets passed to ouputClean via the .fastq header for each probe
candidate, and outputClean will not run properly if it cannot find valid
values for chrom, start, stop. You should see the issue go away if you
either alter your FASTA header or set using the -H flag in blockParse.
Best,
Brian

Brian J. Beliveau, Ph.D.
Assistant Professor of Genome Sciences
University of Washington
He/him/his
+1<PHONE_NUMBER> | beliveau.io
On Mon, Jun 29, 2020 at 12:33 PM David Stein<EMAIL_ADDRESS>wrote:

Hi,
Do you anticipate that the trained LDA model in outputClean will work well
for non-human species? I am testing it on some mouse probes and receiving
strange results. Particularly, for probes that bowtie2 marks as having
several alignments, outputClean passes 100 percent of the candidates when I
would expect fewer to pass. This is regardless of how I set the p flag
(even -p 1 which seems strange). Maybe there are some caveats I need to be
aware of when using the model with outputClean. I'm attaching my input
fasta file in case that sheds some light.
Thanks!
mouse.txt
https://github.com/beliveau-lab/OligoMiner/files/4847634/mouse.txt
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/beliveau-lab/OligoMiner/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIXQ2UOMNR6M5K4IPKQ27TRZDT5DANCNFSM4OLQYC5Q
.

Hi Brian,
Thanks for your help! Does the model actually use the chrom:start-stop information as features for the classification, or only as a way to parse the sam file? I tried it again with ">Tubb3 chr8:123411553-123422015" but I guess I'm still using the wrong header. Looking at the accession on NCBI, https://www.ncbi.nlm.nih.gov/nuccore/NC_000074.6?report=genbank&from=123411553&to=123422015, I thought that my header was correct, sorry if this is outside the scope, but do you know the best way for me to find the correct "chrom:start-stop" metadata when retrieving new sequences?
Best,
David

Hi David,
The chrom:start-stop is used in the parsing of the sam file, which is
important in deciding which candidate probes get passed to the LDA model vs
put directly in the output. This is likely what caused the issue you saw.
The header you would want is ">chr8:123411553-123422015". I would generally
recommend pulling sequence info from UCSC if not from an existing
annotation file.
Hope that helps,
Brian

Brian J. Beliveau, Ph.D.
Assistant Professor of Genome Sciences
University of Washington
He/him/his
+1<PHONE_NUMBER> | beliveau.io
On Mon, Jun 29, 2020 at 1:19 PM David Stein<EMAIL_ADDRESS>wrote:

Hi Brian,
Thanks for your help! Does the model actually use the chrom:start-stop
information as features for the classification, or only as a way to parse
the sam file? I tried it again with ">Tubb3 chr8:123411553-123422015" but I
guess I'm still using the wrong header. Looking at the accession on NCBI,
https://www.ncbi.nlm.nih.gov/nuccore/NC_000074.6?report=genbank&from=123411553&to=123422015,
I thought that my header was correct, sorry if this is outside the scope,
but do you know the best way for me to find the correct "chrom:start-stop"
metadata when retrieving new sequences?
Best,
David
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/beliveau-lab/OligoMiner/issues/11#issuecomment-651337738,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIXQ2VRPHQK4BZBVLK4LELRZDZJHANCNFSM4OLQYC5Q
.

Ok, I'm able to get it working, thanks!


A question about dataset and a error during the process of trainning

Hi ,Guiyu
I'm Kris, during the process of  reproducing code，i meet some difficulty . Firstly, after decompressing the datasetof 3DMatch ,i found it lack of the patches. Secondly,  when i working the order -python train.py. it always occurs the question  indexerror: list index out of range.
Can i have you Wechat? i want to discuss the work of point-cioud.  My WeChat account is     XiaolaoDi0311
Yous sincerely

ok

Hi, Guiyu
I have not received your Wetchat application yet. Can you send me your Wechat? The doubts explained above have troubled me for a long time. I would like to discuss the related work of point cloud with you.
yours sincerely

Sry. I have been very busy for a while. Have you solved the question you wanted to ask?


bump version to 0.4.0

releases #12

@gabor-boros could you please take a look?

@OmarIthawi are you sure you wanted to mention me here?
Anyway, it looks good to me :D

@gabor-boros yes, I wanted a spot check. Thanks for that.
Here's the release:

https://github.com/appsembler/tahoe-lti/releases/tag/release-0.4.0


No video formats found for Pluralsight

Checklist

[ ] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.06.08
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE
youtube-dl --version
2019.06.08
youtube-dl https://app.pluralsight.com/library/courses/reactive-programming-java-8-rxjava/table-of-contents
[pluralsight:course] reactive-programming-java-8-rxjava: Downloading JSON metadata
[download] Downloading playlist: Reactive Programming in Java 8 With RxJava
[pluralsight:course] playlist Reactive Programming in Java 8 With RxJava: Collected 39 video ids (downloading 39 of them)
[download] Downloading video 1 of 39
[pluralsight] reactive-programming-java-8-rxjava-m1-concepts-0: Downloading JSON metadata
[pluralsight] reactive-programming-java-8-rxjava-m1-concepts-0: Downloading mp4-high viewclip graphql
[pluralsight] reactive-programming-java-8-rxjava-m1-concepts-0: Waiting for 2 seconds to avoid throttling
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

You must authenticate for this course.


get_active_design should also sync with the backend by default

Discussed in https://github.com/ansys/pyansys-geometry/discussions/1011
See thread: https://github.com/ansys/pyansys-geometry/discussions/1011#discussioncomment-8588523

Pinging @kmahajan-cadfem for visibility


fix(customer): CHECKOUT-8073 Remove email address from message on sign in link

What?
Remove email address from sign in link on passwordless login form.
Why?
The customer’s passwordless login error message reveals whether or not a user has an account with the BC store. This might give an attacker insight to customers emails in the store allowing for potential other attack vectors.
Testing / Proof

CI

@bigcommerce/team-checkout

cc @bigcommerce/team-localization

@animesh1987 could you remove us from codeowners please 🙏


Is this project not maintained?

Hi,
I see the last commit was in 2018, and few open pull requests as well. Is this project not being maintained?

It is still very much a beta project and there are some know bugs with the web interface that will be fixed shortly but wraith is a hard fork of gitrob. The gitlab redteam had a fork of this that they added features to and fixed bugs on. I also had a fork of this from an internal project at my work. I, in conjunction with several others combined both projects into a new project, wraith, and have been adding features and fixing bugs there.
There are gaps in the documentation and a few things were broken in the brain surgery, we also uncovered several nasty bugs affecting the functionality of gitrob that we are still working to fix. It is fairly stable though and will work, just not to its full potential yet.
Pull requests and bug/feature requests are welcome!
@cybervizay

Thanks @mattyjones


Type hints and drill downs do not work with wasm-bindgen/web-sys

My Goal & Problem
I want to see type hints, hover hints, and use drill-downs to see underlying source code while I program using the wasm-bindgen suite of crates. However, most inline and hover hints do not show up, and "ctrl-clicking" does not drill down to the underlying source code as I expect it would.
My Software

Visual Studio Code version 1.53.2
rust-analyzer

rust-analyzer settings:
"rust-analyzer.cargo.loadOutDirsFromCheck": true,
"rust-analyzer.procMacro.enable": true,
"rust-analyzer.lens.references": true,
"rust-analyzer.lens.methodReferences": true,
"rust-analyzer.updates.channel": "nightly",
"rust-analyzer.diagnostics.disabled": [
    "missing-unsafe"
],

Additional Details

The software I wrote compiles successfully and runs as I expect it to.
When I use the old(?) Rust extension with the rls backend, drill-downs and hover hints do work, but inline-hints do not show up.

Here is a screenshot which shows the lack of type hints:

this is https://github.com/rust-analyzer/rust-analyzer/issues/6029

@jonas-schievink do you want to keep an open issue for web_sys? We've closed most other issues caused by the lack of attribute proc macro support.

Doesn't really seem necessary


PostgREST client suitable for unit tests and caching

Describe the feature you'd like to request
We want to use client-side fetching for event data.
We should have something that satisfies the conditions below.
We should sanity check that we can't just use the default supabase client.
If not, maybe just do something simple with PostgREST directly.
Describe the solution you'd like
The solution should:

Make it easy to stub out functionality for unit tests
Works well with caching libraries like SWR

Describe alternatives you've considered

Just use the supabase client

My hope is that supabase uses: https://github.com/supabase/postgrest-js.

Deprecating in favor of graphql


Enhancement: Document the server endpoint some more

The README does state it's going to be a PUT request and what the expected header data is -- but without writing a script to logg something at that endpoint, I wouldn't know what is being put.
Is it merely JSON (the first paragraph alludes to that)? Will it suffice to store a huge string in a database, or a .json file?

Heh, yeah should include that shouldn't I?
Yes, it forwards along the JSON data generated by Meter, which is nearly the same as the data created by MetricKit, but includes additional fields for symbolication info and exceptions.
I just write it to S3 as a .mxdiagnostic file.

Ok, just added that. But, I think we can leave this open to include some actual sample JSON. In the mean time, you can check out Meter for captured stuff. Or, you can use Xcode's Debug > Simulate MetricKit Payloads to see what it can look like.

Thanks for the info! I personally wouldn't mind your personal experience being added, too:

I just write it to S3 as a .mxdiagnostic file.

Readon is that this puts a concrete idea into the mind of me, the reader, which I find super valuable -- as a "sales pitch" so to speak, because otherwise, how does a prospective user (me) know if it's worth looking into this without spending 1+ hours setting everything up only to find out that it might not be suitable for the project?

That makes total sense. There are really two questions.
a) "Is MetricKit data valuable to me?"
b) "What do I do with these HTTP requests?"
Answering A is pretty much up to you. I have found the data to be extremely valuable when outside the App Store, because it is effectively free and can be really valuable. But, I also don't use any 3rd party analytics.
B is more complex, because it really depends on what you want and how much time/effort you can put in. I already had some AWS stuff built, so this was a snap. I think putting a little more detail into that side really does make sense for this repo.


go-expect test compatibility on windows

This pr fixes go-expect test compatibility on windows by replacing https://github.com/kr/pty with https://github.com/creack/pty and adding some dependencies.
Fixes #10

Hi @prietyc123, thanks for this PR. Can you get the travis job for windows working?

Hi @prietyc123, thanks for this PR.

So this pr will basically executes the tests on windows successfully where go-expect is used package is used. It replaces https://github.com/kr/pty with https://github.com/creack/pty.

Can you get the travis job for windows working?

I will try to make it work for windows. Can I do it in separate pr once it get merged?

Since this PR's goal is to execute tests on windows successfully, I would like it working on travis (for windows) in the same PR.

Any news on this?


How to reflect changes made to constants.js in production?

Hello,
Fantastic library, thank you.
I have made a single change to the node_modules/lib/constants.js file to style the calendar more to my theme:
var DAY_SIZE = 50;
This works fine locally, and the calendar reflects the change. However, when I deploy to Vercel, the calendar reverts to its default settings. I also changed node_modules/esm/contants.js and node_modules/src/constants.js too for good measure, but still default styling in the live environment. I realise I've missed something really obvious, if someone could point it out for me I'd be extremely gratious.
Cheers, Matt

npm-installed packages can't generally be edited like that - vercel probably installs them fresh itself.
node_modules is a black box and you're not supposed to be making changes in there. Anything the library doesn't support customizing via the API, isn't customizable.

Found I can just use the daySize param instead - it's not documented for DayPickerRangeController but does work.

@MattHeslington great! if it's there, it should be documented; care to make a PR doing so?

@MattHeslington great! if it's there, it should be documented; care to make a PR doing so?

Sure


Can XCTestExpectation be used in conjunction with cedar?

I don't intend to use Cedar's assertion syntax, but was curious whether tests defined in Cedar are scoped in a way that XCTestExpectation tests still run and are understood as they should be?
Cheers.

Hey @fatuhoku, that's a great question. Cedar takes some pain to play nicely with XCTest, but we haven't actually allowed users to use XCTestExpectation. I believe you would need to have a reference to the underlying XCTestCase, so you could invoke waitForExpectationsWithTimeout:handler:. That is not something you could do with Cedar today.
It would be hard / strange for Cedar to provide you an XCTestCase instance, because Cedar also supports running tests without XCTest at all. We could do this, but historically Cedar has taken the approach of not providing async assertions by default. While it can be tempting to write tests for async code, it's often easier (and better in my opinion) in the long run to write tests that are synchronous. These tests end up being simpler, easier to reason about when they fail, and easier to maintain in the long run.
I should note, however, there is a project called Cedar-Async which adds some asynchronous support to Cedar. I haven't used it extensively, but the API looks pretty similar to XCTestExpectation. I don't think it's being actively maintained, but it fulfills a pretty similar role and plays nicely with Cedar.

@tjarratt Thanks for the response. My use-case is one of testing UIKit (e.g. test that a view controller is pushed after a button press). I found that it was necessary to yield to UIKit by using dispatch_after. The test actually runs almost instantly, but it is an async test.
I'll think about checking out the async library then.

Hey @fatuhoku, you may be interested in checking out PivotalCoreKit to reduce the need for asynchronous tests when working with UIKit. It includes a number of spec helpers that stub out select pieces of UIKit API to allow them to be tested synchronously.
If you do take that approach, be sure to complement your unit tests with some acceptance tests using something like KIF or XCTest UI testing, to give you test coverage in an unstubbed environment as well.


Handle server configuration where ssl has been previously offloaded

Hi there,
Do you know if the mod supports something like the X-SSL-Protocol of X-HTTPS-Protocol header?
I want to offload SSL before the request gets to the apache server.
I'm currently getting "oidc_authenticate_user: the URL scheme (https) of the configured OIDCRedirectURI does not match the URL scheme of the URL being accessed (http): the "state" and "session" cookies will not be shared between the two!"
Many thanks,
Carl

it supports the X-Forwarded-Proto header that may contain "http" or "https"
Hans.
On Fri, Sep 16, 2016 at 6:10 PM, carldini<EMAIL_ADDRESS>wrote:

Hi there,
Do you know if the mod supports something like the X-SSL-Protocol of
X-HTTPS-Protocol header?
I want to offload SSL before the request gets to the apache server.
I'm currently getting "oidc_authenticate_user: the URL scheme (https) of
the configured OIDCRedirectURI does not match the URL scheme of the URL
being accessed (http): the "state" and "session" cookies will not be shared
between the two!"
Many thanks,
Carl
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pingidentity/mod_auth_openidc/issues/172, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACO0JxaQpankwtNtuxLHfqXk52Zchs1Fks5qqr-RgaJpZM4J_GfX
.

--
https://www.pingidentity.com[image: Ping Identity]
https://www.pingidentity.com
Hans Zandbelt
Principal Solutions Architect
Ping Identity

Hi there,
Do you know if the mod supports something like the X-SSL-Protocol of X-HTTPS-Protocol header?
I want to offload SSL before the request gets to the apache server.
I'm currently getting "oidc_authenticate_user: the URL scheme (https) of the configured OIDCRedirectURI does not match the URL scheme of the URL being accessed (http): the "state" and "session" cookies will not be shared between the two!"
Many thanks,
Carl

I know it's been a while, but did you manage to resolve this @carldini ?

I believe that the suggestion from Hans worked.
It was so long ago, I can't be certain though.


Deployment failing.

Publish seems to be disabled for https://github.com/Azure-Samples/java-docs-spring-hello-world hence azure application deployment is failing.
Build:
Run actions/upload-artifact@v2
Warning: No files were found with the provided path: /home/runner/work/java-docs-spring-hello-world/java-docs-spring-hello-world/target/*.war. No artifacts will be uploaded.
[Enter feedback here]
Deployment:
Run actions/download-artifact@v2
Starting download for java-app-service
Error: Unable to find any artifacts for the associated workflow

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

ID: 4d4f59d4-e488-d175-361d-f7b33f6b9f6c
Version Independent ID: 6f06d97c-c12d-1c98-6988-e2d1fcd8ffd4
Content: Quickstart: Create a Java app on Azure App Service - Azure App Service
Content Source: articles/app-service/quickstart-java.md
Service: app-service
GitHub Login: @JasonFreeberg
Microsoft Alias: jafreebe

@vpraveenreddy
Thanks for your feedback! We will investigate and update as appropriate.

I found for me that it was building a .jar file but then trying to upload *.war files.
I found a workaround by editing pom.xml in the project and adding
war
in the same area that the artifactid and version were location.
<groupId>com.example</groupId>
<artifactId>java-docs-spring-hello-world</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>java-docs-spring-hello-world</name>
<description>Demo project for Spring Boot</description>


Feature Request : Disable hostname verification

It seems that this isn't always necessary, for example when I'm using pinned certs. I ran up against that issue trying to use https://github.com/kelproject/pykube and will have to use a proxy workaround.  I'm using the IP address, not the hostname to contact the server per the prepackaged configuration file. I get the hostname '' doesn't match either of .... message.

So, ultimately this is just not very likely to happen. The utility of having certificate verification but not hostname verification is very low (basically zero) in the general case, so the only useful situation is for pinned certificates. In the pinned certificate case, though, the question has to be asked: why doesn't the owner mint a valid certificate?

In this case the hostname is generic and the same in multiple configurations that will have different certificates - the certificate is specific to the environment.  So the desktop client (which is outside of the environment) uses the ip address to connect.  I disagree that this doesn't have utility.  Another case is with mobile applications where the app does the verification.  There is less reason to "mint a valid certificate" if the app itself is in charge of validating that certificate.

There is less reason to "mint a valid certificate" if the app itself is in charge of validating that certificate.

This is where I don't agree. If you are capable of getting a TLS certificate that will chain to an appropriate trust root, it should be essentially a trivial amount of extra work to ensure that that the certificate will also pass hostname validation.
Regardless, Requests is not going to add an option for this. You can use a Transport Adapter to pass urllib3 a fingerprint to use the validate the certificate for any of these connections if that's what you'd rather do, or you can do the same to disable hostname validation in urllib3, but requests isn't going to add a high-level switch to enable this functionality. Its use in 99%+ of cases would be dangerous.

That's what I'm saying the certificate is not chained to the trust root. It's validated by the app only.  There is less need for the chain of trust if the app itself is validating the cert.

If the certificate is not chained to a trust root then it won't pass cert validation at all, and so you'd need to pass verify=False.

Yes, the point is there are other ways to validate a cert. chained to a trust root is one that is used a lot, but it's not the only way.  Cert pinning is another way.

Sure, and verify=False exists to satisfy those use cases. Why is verify=False insufficient for you?

Well in this case I'd have to add it at the application level or fork the library I'm using.

Hang on, let's stop back for a moment.
Your feature request, as I originally understood it, was to disable hostname verification only. I assumed, from the nature of that question, that disabling verification entirely was insufficient. That appears to be wrong: your follow-up responses appear to me say that that would be fine. I think this means I don't understand what you want. :smile:
So let's step back so that I can better understand your problem. You are using pykube, correct? Your problem, as I understand it, is that you would like to disable certificate validation entirely so that you can use untrusted certificates with pykube, because you plan to validate them some other way. Your last comment suggests that you would like a way to do that that does not involve touching pykube. Does all of that sound correct, or have I misunderstood?

I don't think we really want to turn verify off as it is using client certificates.  I think it's using the filename path to a CA Bundle for validation.  The host in the cert bundle simply doesn't match what's in the k8s config file by default it uses the IP :/

Hrm. Is it worth resolving this by adding a hosts file entry instead? Alternatively, does the remote cert have the appropriate iPAddress subject alternative name field?

The discussion here has stalled for months and there's very little clarity on what's desired. I'm happy to reopen this, but for now I'm closing this.


multicast or simultaneous local playback

It could be interesting to add the possibility of casting to multiple devices and/or allow simultaneous local playback for any stream.
For example, having video and audio on the local computer, while streaming video on chromecast - even if I suppose that sync may be a problem.

It would definitely be nice but would fail (or be very hard to solve properly) on the syncing part. If you have a laggy network and your chromecasts buffer all the time you would need to reflect that buffering to all other devices. I think that would be out of scope for castnow.
You may want to have look at https://github.com/mafintosh/chromecasts


[Request] String literals in SQL

In SELECT "somestring", somecolumn I'd like sometring and somecolumn to have a different color. I posted a piece of MySQL creating a prepared statement with a SELECT query https://i.imgur.com/nLu1MV6.png to SO and even I have trouble reading it despite I wrote it.

Ping.


Automated cherry pick of #3724: update vendor for qcloud cos-go-sdk

Cherry pick of #3724 on release/2.13.
#3724: update vendor for qcloud cos-go-sdk

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@91d8ba9). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.13   #3727   +/-   ##
==============================================
  Coverage                ?   6.94%
==============================================
  Files                   ?     500
  Lines                   ?   84010
  Branches                ?       0
==============================================
  Hits                    ?    5838
  Misses                  ?   77676
  Partials                ?     496

Flag
Coverage Δ

#aFlag
6.94% <ø> (?)

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 91d8ba9...663616c. Read the comment docs.


Fix the CSRF token usage in React powered forms

What: Fix the CSRF token usage in React powered forms
Why: We are having problems with CSRF tokens not working in React based forms. Right now there's code that implements how React is getting this token, but it is also generating the CSRF token manually, something that should be handled by Rails
How:

Remove code to generate and inject CSRF and use Rails implementation instead.
Make React powered forms work correctly.

@orlando let me know if you would like to pair on this one.


Offer issue suggest in PR title input field

This suggest:

Would be great to have in the PR title input field:

Would be great to have this in many places. Upstream issue: https://github.com/microsoft/vscode/issues/196705

Closing as upstream.


Retrain KWS model with new data in one class

Currently I'm using the att_rnn model for training the customized speech command models. Is there any approaches to  retrain the model with the new data from a checkpoint that can improve the overall accuracy?

You can use restore_checkpoint option, so that it will use the latest checkpoint for model initialization and at the same time you can point model training to a new data sets, by specifying data_dir

Thanks for the update, restore_checkpoint option saved my life. Is there any low-shot learning parameters approaches can be applied to the current schema?

There is not special parameter for low-shot learning, but you can play with parameters for spectrogram and audio data augmentation: time_shift_ms, use_spec_augment, use_spec_cutout with theirs settings in line1 and line2


New recommend

https://github.com/fengyuanchen/viewerjs
https://github.com/thevinter/styli.sh
https://github.com/rahuldkjain/github-profile-readme-generator
https://github.com/ekzhang/rustpad
https://github.com/midiblocks/handsfree
https://github.com/whistyun/MdXaml
https://github.com/pedronauck/docz
https://github.com/chubin/cheat.sh

update recommend 838a69a432f1e0c7de651cd10b0662172514dd04


Self-Signed Cert in the Keychain

I'm trying to run sudo wasp db migrate-dev however I get the errors below:
[   Db  !] Error: request to https://binaries.prisma.sh/all_commits/69d742ee20b815d88e17e54db4a2a7a3b30324e3/darwin-arm64/libquery_engine.dylib.node.sha256 failed, reason: unable to get issuer certificate [   Db  !] Error: request to https://binaries.prisma.sh/all_commits/69d742ee20b815d88e17e54db4a2a7a3b30324e3/darwin-arm64/libquery_engine.dylib.node.gz.sha256 failed, reason: unable to get issuer certificate
I'm 100% sure it's because I have a self-signed certificate which is required for my network to work. It's a CA certificate.
What can I do to fix this? Is there any CLI arguments I can pass?

Normally with tools they have CLI arguments to allow self-signed certificates. I am just wondering if Wasp-Lang has something like this?

No it doesn't, but I would be surprised if that is something we should support. Maybe I don't know enough about it though. Can you please give me some examples of such tools and situtations in which they allow for specifying such CLI arguments?
Also, what does wasp start do for you?

https://stackoverflow.com/questions/30405867/how-to-get-python-requests-to-trust-a-self-signed-ssl-certificate
https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi
https://stackoverflow.com/questions/34498736/npm-self-signed-cert-in-chain
I'll update you with the wasp start later when I can get to my PC!

@YoungFizzler thanks for sharing this, this gives me a better idea of what this is about!
I am not 100% sure, but I believe the error you get from Wasp is actually coming from npm -> Wasp is asking npm to install prisma stuff, and npm fails. You could check the logs around that error for extra infromatino to possibly confirm this. Solution therefore would be to look into solutions for npm, and while you can't pass cmd line params, you can set env vars, or you can configure npm globally. I see some such solutions proposed here https://stackoverflow.com/questions/34498736/npm-self-signed-cert-in-chain .
Let me know if this helped! If not, and you could use more help from my side, please share more logs around the error you get, that might help me out, and also wasp start output as I mentioned before, that also might give me some more ideas at which exactly part is stuff failing.


Add documentation on communication channels

I have written a page on Momentum Partnership and UK Met Office communication channels, and have added it to the Wiki.

See https://github.com/ACCESS-NRI/dev-docs/wiki/Communication-channels


Extending a native inner class complains that it has no JS native load spec

The following code works fine:
import scala.scalajs.js

@js.native
trait Outer extends js.Object {
  @js.native
  class InnerClass extends js.Object
}

object HelloWorld {
  def main(args: Array[String]): Unit = {
    val outer = js.Dynamic.literal(
      InnerClass = js.constructorOf[js.Date]
    ).asInstanceOf[Outer]
    println(new outer.InnerClass)
  }
}

and prints the current date/time.
However, if I add
    class Subclass extends outer.InnerClass

    println(new Subclass)

to the main method, then the linker reports a linking error:
[error] helloworld.Outer$InnerClass is a native class but does not have a JSNativeLoadSpec
[error]   called from helloworld.HelloWorld$.main([java.lang.String)void
[error]   called from static helloworld.HelloWorld.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   helloworld.HelloWorld$
[error] There were linking errors

Indeed, InnerClass is encoded as a native js class but without JS native load spec:
> helloworld2_12/scalajsp helloworld.Outer$InnerClass
native js class helloworld.Outer$InnerClass extends scala.scalajs.js.Object {
}

It is correct that it doesn't have a native load spec, since it must be accessed as a field of an outer variable. It should be marked as an abstract js type instead of a native js class.
The same goes for an inner native JS object, although I'm not sure how to write a failing test for those.

Hum, so now the problem is that, if I do fix the above to use AbstractJSType for InnerClass, I get:
[error] helloworld.Outer$InnerClass (of kind AbstractJSType) is not a valid super class of helloworld.HelloWorld$Subclass$1 (of kind JSClass)
[error]   called from helloworld.HelloWorld$Subclass$1
[error]   called from helloworld.HelloWorld$.main([java.lang.String)void
[error]   called from static helloworld.HelloWorld.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   helloworld.HelloWorld$
[error] There were linking errors

I can also amend the Analyzer to let AbstractJSType through as parent of a JSClass, at:
https://github.com/scala-js/scala-js/blob/92c453ddfadfe0e2d350f6361c14828e0f58c158/linker/shared/src/main/scala/org/scalajs/linker/analyzer/Analyzer.scala#L525-L531
(and same for native JS classes and abstract JS types below). But then I'm wondering what other check we need to introduce (like make sure that, when we extend an abstract JS type, that the jsSuperclass is defined).
At that point I'm not 100% anymore what's the best strategy. Here are a few options:

Do as described above, i.e., make it an AbstractJSType, allow AbstractJSTypes as superClasses, and check that jsSuperclass.isDefined when the superClass is an AbstractJSType
Leave it as NativeJSClass, allow NativeJSClasses not to have a native load spec, and check that the superClass has a native load spec when jsSuperclass.isEmpty and when doing LoadJSConstructor (I'm not a fan of this one)
Remove the distinction between AbstractJSType, JSClass and even JSModuleClass. They would all be JSType or something, and LoadJSConstructor/LoadJSModule would be equivalent and allowed only if the target has a native load spec.
Go even further: completely get rid of native load spec on ClassDefs, and replace them by a JSNativeMemberDef with a magic MethodName. jsSuperclass would be mandatory for all JSClass and JSModuleClass; LoadJSConstructor and LoadJSModule would be replaced by a SelectJSNativeMember of that magic name.

The last option would require a fair bit of deser hacks, but perhaps it's the one that offers the nicest end result.
@gzm0 Opinions?

Hum, so now the problem is that, if I do fix the above to use AbstractJSType for InnerClass, I get:
[error] helloworld.Outer$InnerClass (of kind AbstractJSType) is not a valid super class of helloworld.HelloWorld$Subclass$1 (of kind JSClass)
[error]   called from helloworld.HelloWorld$Subclass$1
[error]   called from helloworld.HelloWorld$.main([java.lang.String)void
[error]   called from static helloworld.HelloWorld.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   helloworld.HelloWorld$
[error] There were linking errors

I can also amend the Analyzer to let AbstractJSType through as parent of a JSClass, at:
https://github.com/scala-js/scala-js/blob/92c453ddfadfe0e2d350f6361c14828e0f58c158/linker/shared/src/main/scala/org/scalajs/linker/analyzer/Analyzer.scala#L525-L531
(and same for native JS classes and abstract JS types below). But then I'm wondering what other check we need to introduce (like make sure that, when we extend an abstract JS type, that the jsSuperclass is defined).
At that point I'm not 100% anymore what's the best strategy. Here are a few options:

Do as described above, i.e., make it an AbstractJSType, allow AbstractJSTypes as superClasses, and check that jsSuperclass.isDefined when the superClass is an AbstractJSType
Leave it as NativeJSClass, allow NativeJSClasses not to have a native load spec, and check that the superClass has a native load spec when jsSuperclass.isEmpty and when doing LoadJSConstructor (I'm not a fan of this one)
Remove the distinction between AbstractJSType, JSClass and even JSModuleClass. They would all be JSType or something, and LoadJSConstructor/LoadJSModule would be equivalent and allowed only if the target has a native load spec.
Go even further: completely get rid of native load spec on ClassDefs, and replace them by a JSNativeMemberDef with a magic MethodName. jsSuperclass would be mandatory for all JSClass and JSModuleClass; LoadJSConstructor and LoadJSModule would be replaced by a SelectJSNativeMember of that magic name.

The last option would require a fair bit of deser hacks, but perhaps it's the one that offers the nicest end result.
@gzm0 Opinions?

A couple of quick observations (I'll keep thinking about this):

What is superClass used for in JS classes except for default fallback of jsSuperclass? (something something reflection, I'm sure, but what exactly?).
The idea of only having JS native members is very appealing. I think it would simplify some stuff.
So far, changing a JS class from native back and forth was (IIUC) a binary compatible change. Are we committed to that? (if yes, that has implications for options 3/4 IIUC).

A couple of quick observations (I'll keep thinking about this):

What is superClass used for in JS classes except for default fallback of jsSuperclass? (something something reflection, I'm sure, but what exactly?).
The idea of only having JS native members is very appealing. I think it would simplify some stuff.
So far, changing a JS class from native back and forth was (IIUC) a binary compatible change. Are we committed to that? (if yes, that has implications for options 3/4 IIUC).

* What is `superClass` used for in JS classes except for default fallback of `jsSuperclass`? (something something reflection, I'm sure, but what exactly?).

The most important thing is that it is required for subtyping of arrays of such things.

* So far, changing a JS class from native back and forth was (IIUC) a binary compatible change. Are we committed to that? (if yes, that has implications for options 3/4 IIUC).

Good point. I'm not sure we're really committed to that, though. It's very unlikely that this is even expected.
That said, it raises questions about the deser hacks that would be required for LoadJSConstructor and LoadJSModule. Unless we find a clever solution, they would need non-local information. :(

* What is `superClass` used for in JS classes except for default fallback of `jsSuperclass`? (something something reflection, I'm sure, but what exactly?).

The most important thing is that it is required for subtyping of arrays of such things.

* So far, changing a JS class from native back and forth was (IIUC) a binary compatible change. Are we committed to that? (if yes, that has implications for options 3/4 IIUC).

Good point. I'm not sure we're really committed to that, though. It's very unlikely that this is even expected.
That said, it raises questions about the deser hacks that would be required for LoadJSConstructor and LoadJSModule. Unless we find a clever solution, they would need non-local information. :(

The more I think about this, the more I feel that, the second option is actually very consistent with how our IR looks like today. (And options 3/4 are mere simplifications of the current IR).
I'll try to argue for that, by breaking down the pieces of the names:

"native": The definition of this lies outside of Scala.js.
"class": This is a class, it can be inherited from.

Allowing a JS native class without a jsNativeLoadSpec is essentially the same as a JS class with jsClassCaptures: There is no single statically known class (i.e. constructor) value anymore. It needs to be obtained by other means. For, non-native JS classes, Scala.js provides a mechanism (CreateJSClass to create a new class value (but no mechanism to manage created class values). So for a native JS class, it is natural that this mechanism doesn't exist.
Re-reading option 3, I guess you meant "Remove the distinction between AbstractJSType, NativeJSClass and even NativeJSModuleClass." (native added). This seems very similar to 2, but removes some "type" from the IR (which might be OK).
Re option 4: Maybe we can just re-specify LoadJSConstructor / LoadJSModule to call a special native member if the target is a JSType. I don't think we have precedent for exactly that, but it wouldn't be any more magic IMO than static initializers / class initializers.

The more I think about this, the more I feel that, the second option is actually very consistent with how our IR looks like today. (And options 3/4 are mere simplifications of the current IR).
I'll try to argue for that, by breaking down the pieces of the names:

"native": The definition of this lies outside of Scala.js.
"class": This is a class, it can be inherited from.

Allowing a JS native class without a jsNativeLoadSpec is essentially the same as a JS class with jsClassCaptures: There is no single statically known class (i.e. constructor) value anymore. It needs to be obtained by other means. For, non-native JS classes, Scala.js provides a mechanism (CreateJSClass to create a new class value (but no mechanism to manage created class values). So for a native JS class, it is natural that this mechanism doesn't exist.
Re-reading option 3, I guess you meant "Remove the distinction between AbstractJSType, NativeJSClass and even NativeJSModuleClass." (native added). This seems very similar to 2, but removes some "type" from the IR (which might be OK).
Re option 4: Maybe we can just re-specify LoadJSConstructor / LoadJSModule to call a special native member if the target is a JSType. I don't think we have precedent for exactly that, but it wouldn't be any more magic IMO than static initializers / class initializers.

Allowing a JS native class without a jsNativeLoadSpec is essentially the same as a JS class with jsClassCaptures: There is no single statically known class (i.e. constructor) value anymore. It needs to be obtained by other means. For, non-native JS classes, Scala.js provides a mechanism (CreateJSClass to create a new class value (but no mechanism to manage created class values). So for a native JS class, it is natural that this mechanism doesn't exist.

Hum, yes, that's pretty reasonable. I hadn't thought about the analogy with jsClassCaptures. I will try that approach.

Re-reading option 3, I guess you meant "Remove the distinction between AbstractJSType, NativeJSClass and even NativeJSModuleClass." (native added). This seems very similar to 2, but removes some "type" from the IR (which might be OK).

Yes, indeed, I meant NativeJSClass and NativeJSModuleClass.

Allowing a JS native class without a jsNativeLoadSpec is essentially the same as a JS class with jsClassCaptures: There is no single statically known class (i.e. constructor) value anymore. It needs to be obtained by other means. For, non-native JS classes, Scala.js provides a mechanism (CreateJSClass to create a new class value (but no mechanism to manage created class values). So for a native JS class, it is natural that this mechanism doesn't exist.

Hum, yes, that's pretty reasonable. I hadn't thought about the analogy with jsClassCaptures. I will try that approach.

Re-reading option 3, I guess you meant "Remove the distinction between AbstractJSType, NativeJSClass and even NativeJSModuleClass." (native added). This seems very similar to 2, but removes some "type" from the IR (which might be OK).

Yes, indeed, I meant NativeJSClass and NativeJSModuleClass.


Issue in line 106 of controllers/students.js

controllers/students.js has:
student_name: req.body.student_name || classroom.student_name,
but I think the last bit should be student.student_name

Done


add recording-url to event-006

This PR adds the recordings for yesterdays events.

https://1425-267395254-gh.circle-artifacts.com/0/SORSE/programme/talks/event-006/index.html
https://1425-267395254-gh.circle-artifacts.com/0/SORSE/programme/talks/event-026/index.html

LGTM so merging


Add PersonRole.hasMeasurementOrFact

See working group notes from 22/09/2022 for discussion/rationale around why this property would be a useful addition to the PersonRole class.

Add term to termlist.csv
Update json schema
Update examples

Wiki updated at: https://github.com/tdwg/cd/wiki/2.5-Ranges-and-class-level-properties/d11045efbafe132336c3797054893e1a0a8ddebc


Navigation between pages not working in Tauri-generated apps for PC and MAC

He everyone!
Issue: navigation between pages not working in Tauri-generated apps for PC and MAC.
I am building an app using create-r3f-app and next.js with tailwind css. App does not have any 3D components yet. App has multiple pages and uses AWS backend services (like Cognito User Pool, DynamoDB, S3 etc).
When I run Tauri in dev environment - app works fine - I'm able to log in using AWS Cognito (all pages are protected by Aunthenticator), can jump between pages of the app, all contents are displayed properly.
On PC:
Whenever I generate Tauri bundle (yarn tauri build) - I'm able to log in using AWS Cognito, index.js page is displayed properly but navigation between pages doesn't work and i'm getting the following error:

If I right-click on "not found file/page" and hit ''Back'',  I go back to index.js page.
On MAC:
Everything works fine in the dev environment but when i try to run tauri-generated app (yarn tauri build) - navigation between pages doesn't work and there are no errors in the console. When debugging with 'cargo run tauri --verbose' - i'm getting the following error when trying to jump to another page:
Users-MacBook-Air:src-tauri user1$ cargo run tauri --verbose
   Compiling tauri v1.0.0-beta-rc.0
   Compiling app v0.1.0 (/Users/user1/company/workspace/launcher/src-tauri)
   Compiling tauri-macros v1.0.0-beta-rc.0
    Finished dev [unoptimized + debuginfo] target(s) in 24.98s
     Running target/debug/app tauri --verbose
AssetNotFound("PageName1")
AssetNotFound("PageName2")
AssetNotFound("PageName3")
AssetNotFound("PageName4")
Users-MacBook-Air:src-tauri user1$

Expected behavior:
Be able to jump between pages within Tauri app. Each .js page should display it's content
OS: Windows_NT(10.0.19042) - win32/x64
Node: 14.16.1
NPM: 7.10.0
Yarn: 1.22.10
Rustc: 1.51.0 (2fd73fabe 2021-03-23)
OS:  Mac Chip Apple M1
Node: 14.16.1
NPM: 7.10.0
Yarn: 1.22.10
Rustc: 1.51.0 (2fd73fabe 2021-03-23)

same affecting my app (ViteJS, VueJS, vue-router, vite-ssg)

Are you using "history" or "hash" mode?

Are you using "history" or "hash" mode?

I think hash, as it seems to be the default. If it helps I'm using https://github.com/antfu/vite-ssg, https://github.com/hannoeru/vite-plugin-pages and https://github.com/JohnCampionJr/vite-plugin-vue-layouts to manage the routes.

Ok, the default was History, hash mode doesn't have this problem

FYI we are tracking this at wry:
https://github.com/tauri-apps/wry/issues/170#issuecomment-822904272

Part of the bug should be resolved in WRY, now I need to check what's going on with AWS Cognito & nextjs
I'll invest and keep the thread updated.

Fixed in https://github.com/tauri-apps/wry/pull/173
If you still have this problem with the next release, please open a new issue.
Thanks again for reporting!

Hi everyone, i checked it out.
Multi-page links work great in Tauri v.1.0.0-beta.0
Thanks a lot!


Test on PHP 7

Test the package on PHP 7, but allow failures.

Looks good, merging


Cannot use any API

I successfully download bento2.1.2 and import it. However, all APIs cannot be used. "AttributeError: module 'bento' has no attribute 'tl'"

Hi, @ibimanji.  I also encountered the same problem, and it's solved by downloading the file from https://github.com/ckmah/bento-tools/archive/refs/tags/2.1.2.tar.gz to the local machine, and then install it using the pip command.

Seems that the Bento package on PyPI is incomplete.

That's strange, I will take a look. Thanks for reporting this.

Hi @ibimanji , I recommend @KaiLi-2324 's solution or cloning and installing a local copy of the master branch. Not sure why tests didn't catch this. I switched from poetry to rye for package management, that's a possible reason the release is buggy. I'll make sure the next release doesn't run into the same issue. Apologies again for this.


Consider adding a compatibility layer for Lua 5.1 and 5.2

There are many projects out there that use Lua 5.1 or 5.2, mainly because they are based on LuaJIT rather than PUC-Lua. In order to run such Lua scripts on the JVM, currently the best way to do this involves using LuaJ. In order to LuaJ users a viable alternative, it would be good to have a compatibility layer for running Lua 5.1 and 5.2 on Rembulan.
The simplest way to go about this would be adding alternative implementations of the standard library. This would not provide the exact semantics as Lua 5.1 or 5.2, but might be sufficient in most cases.

One such project is XOWA, an offline interface to Wikipedia. (See gnosygnu/xowa#89.)


Why there are so many "RequestException"?

Why there are so many "RequestException"?
Maybe request interval should be set longer?

RequestException may cause by any network error when downloading file, like connection timeout, proxy error etc. need more detail to know why.

commit 1fe9f66 pushed
please pull the latest code and run it again to see more detail.

The detail of "RequestException":
requests.packages.urllib3.exceptions.ReadTimeoutError: SOCKSHTTPConnectionPool(host='', port=443): Read timed out. (read timeout=3)

looks like network problem. if this error occurs frequently, please check your proxy and network.

okay, thx!

I set the timeout = 100 and solve this question. But there is a new question:
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))


Traefik consume lots of RAM and CPU power, k3s hangs. Occurred after setting the externalName

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Traefik process for k3s consumed lots of CPU and RAM, it occurred after applying below file.
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: ingressroute-http-analytics
  namespace: default
spec:
  entryPoints:
    - web
  routes:
    - kind: Rule
      match: Host(`analytics.kappawingman.com`)
      services:
        - name: extsvc-http-analytics
          port: 80

---
apiVersion: v1
kind: Service
metadata:
  name: extsvc-http-analytics
  namespace: default
spec:
  type: ExternalName
  externalName: <IP_ADDRESS>
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 2080
    - name: https
      protocol: TCP
      port: 443
      targetPort: 2443

What did you see instead?
I did not find specific problem from the system logs.
I do not know if the problem is Traefik or K3S.
I also opened a bug report for K3S is in here
What version of Traefik are you using?
Traefik 2.4.8 (embedded) with k3s version v1.21.2+k3s1 (5a67e8dc)
What is your environment & configuration?
Environmental Info:
k3s version v1.21.2+k3s1 (5a67e8dc)
Node(s) CPU architecture, OS, and Version:
Linux control01 5.4.17-2102.202.5.el8uek.aarch64 #2 SMP Sat May 22 16:34:31 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux
Cluster Configuration:
One single master node, three worker nodes
They are running in SELinux permissive mode.
Traefik v2.4.8
All components are from K3s except I just installed OpenEBS with Helm.
Describe the bug:
Traefik process would consume CPU and RAM, system slow down.
Kubectl command to the k3s cluster is not responsive.
The problem only occurred on the master node after below setting is
applied. It happened immediately when I try to access the URL manually.
Steps To Reproduce:

Installed K3s:
The nodes need to access http proxy for fetching package from internet.
So the k3s.env has configured HTTP(S)_PROXY. http(s)_proxy and NO_PROXY environment variable.

http_proxy=http://server02:8008
https_proxy=http://server02:8008
HTTP_PROXY=http://server02:8008
HTTPS_PROXY=http://server02:8008
NO_PROXY=localhost,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>/23,<IP_ADDRESS>/15,.svc,.svc.cluster,.cluster.local,.svc.cluster.local

After the proxy setting is applied, when I access the HTTP port of analytics.kappawingman.com, the connection is made to one of the worker node port 80. However, the traefik process on the master node would consume lots of memory and CPU and I can't run any kubectl commands. For the externalName, the IP is not the master node, it is another node.
This process consumed lots of memory and CPU. I had to kill this process manually in the host.
traefik traefik --global.checknewversion --global.sendanonymoususage --entryPoints.traefik.address=:9000/tcp --entryPoints.web.address=:8000/tcp --entryPoints.websecure.address=:8443/tcp --api.dashboard=true --ping=true --providers.kubernetescrd --providers.kubernetesingress --providers.kubernetesingress.ingressendpoint.publishedservice=kube-system/traefik --entrypoints.websecure.http.tls=true

I try to find the traefik process on the master node. I think this is the related container (the restart timestamp matches the time when I kill the process). I had to use --previous because I can't run it when the problem occurred.
# kubectl logs --previous -n kube-system traefik-97b44b794-mj9xg

time="2021-07-08T12:07:47Z" level=info msg="Configuration loaded from flags."
W0708 12:07:47.764377       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0708 12:07:47.770908       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0708 12:07:47.909534       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList
W0708 12:07:47.929629       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList
W0708 12:14:41.767814       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0708 12:15:07.912699       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList

This is the log of the pod after it is manuall restarted.
# kubectl logs -n kube-system traefik-97b44b794-mj9xg

time="2021-07-08T12:19:16Z" level=info msg="Configuration loaded from flags."
W0708 12:19:17.009585       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0708 12:19:17.028958       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0708 12:19:17.149207       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList
W0708 12:19:17.169306       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList
W0708 12:26:37.152393       1 warnings.go:70] networking.k8s.io/v1beta1 IngressClass is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 IngressClassList
W0708 12:28:21.013353       1 warnings.go:70] extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress

This is the pod list
# kubectl get pods -A
NAMESPACE     NAME                                          READY   STATUS             RESTARTS   AGE
kube-system   helm-install-traefik-crd-v75n6                0/1     Completed          0          18h
kube-system   helm-install-traefik-pn97n                    0/1     Completed          0          18h
kube-system   svclb-traefik-248vr                           2/2     Running            0          17h
openebs       openebs-admission-server-66bf9476b4-snxhs     1/1     Running            0          16h
openebs       openebs-ndm-rxdj8                             1/1     Running            0          14h
openebs       openebs-ndm-cdjb2                             1/1     Running            0          14h
kube-system   svclb-traefik-rb9sc                           2/2     Running            0          18h
kube-system   metrics-server-86cbb8457f-svxhn               1/1     Running            1          40h
openebs       openebs-ndm-9f7xv                             1/1     Running            1          14h
kube-system   svclb-traefik-w8jnc                           2/2     Running            3          40h
kube-system   svclb-traefik-nhnzg                           2/2     Running            0          19h
openebs       openebs-ndm-g7hwc                             1/1     Running            0          14h
openebs       openebs-ndm-operator-6f584b9bdd-jtpjv         1/1     Running            0          14h
openebs       openebs-snapshot-operator-76b899b7c5-dd8t7    2/2     Running            21         16h
kube-system   coredns-7448499f4d-4lhxq                      1/1     Running            5          40h
kube-system   local-path-provisioner-5ff76fc89d-k9lt2       1/1     Running            9          40h
openebs       openebs-localpv-provisioner-965cfd6b9-dp8tt   1/1     Running            27         16h
openebs       openebs-provisioner-855f4d7598-qk5bz          1/1     Running            27         16h
kube-system   traefik-97b44b794-mj9xg                       1/1     Running            9          40h
openebs       openebs-apiserver-6bf964d6d4-np6zg            0/1     CrashLoopBackOff   184        16h

The last container doesn't seem to related to the problem. It don't have
internet connection and seems to be restarting a while after it is restarted
I0708 12:25:46.908409       1 start.go:288] resources applied successfully by installer
I0708 12:25:46.925852       1 start.go:193] Maya api server configuration:
I0708 12:25:46.926009       1 start.go:195]          Log Level: INFO
I0708 12:25:46.926418       1 start.go:195]             Region: global (DC: dc1)
I0708 12:25:46.926482       1 start.go:195]            Version: 2.10.0-released
I0708 12:25:46.926532       1 start.go:201]
I0708 12:25:46.926571       1 start.go:204] Maya api server started! Log data will stream in below:
I0708 12:25:46.930600       1 runner.go:37] Starting SPC controller
I0708 12:25:46.930700       1 runner.go:40] Waiting for informer caches to sync
I0708 12:25:47.030863       1 runner.go:45] Checking for preupgrade tasks
I0708 12:25:47.034235       1 runner.go:51] Starting SPC workers
I0708 12:25:47.034363       1 runner.go:58] Started SPC workers
E0708 12:25:50.962149       1 googleanalytics.go:49] Post "https://www.google-analytics.com/collect": dial tcp: lookup www.google-analytics.com on <IP_ADDRESS>:53: server misbehaving
I0708 12:28:46.165185       1 start.go:331] Caught signal: terminated
I0708 12:28:46.165216       1 start.go:362] Gracefully shutting maya api server...
2021/07/08 12:28:46.165227 [INFO] maya api server: exiting gracefully
2021/07/08 12:28:46.165234 [DEBUG] http: Shutting down http server
2021/07/08 12:28:46.165265 [INFO] maya api server: requesting shutdown
2021/07/08 12:28:46.165266 [INFO] maya api server: shutdown complete

Expected behavior:
It should not consume lots of CPU and RAM it should return error message.
Actual behavior:
Lots of RAM and CPU is consumed by the traefik process.
Additional context / logs:
I didn't notice any special problem from log in /var/log/messages
If applicable, please paste the log output in DEBUG level
No response

Hello @kappa-wingman,
It sounds like you are encountering a redirect loop somewhere.
Can you enable the debug log and try again? If you are encountering a redirect loop, the debug log should be spammed with the same loop, demonstrating where it is being encountered.

Here's the info from traefik debug log, I trigger the access to Traefik from remote location by wget.
Some info like IP/country are redcated.
time="2021-07-08T15:29:54Z" level=debug msg="vulcand/oxy/roundrobin/rr: completed ServeHttp on request" Request="{\"Me
thod\":\"GET\",\"URL\":{\"Scheme\":\"\",\"Opaque\":\"\",\"User\":null,\"Host\":\"\",\"Path\":\"/\",\"RawPath\":\"\",\"
ForceQuery\":false,\"RawQuery\":\"\",\"Fragment\":\"\",\"RawFragment\":\"\"},\"Proto\":\"HTTP/1.1\",\"ProtoMajor\":1,\
"ProtoMinor\":1,\"Header\":{\"Accept\":[\"*/*\"],\"Accept-Encoding\":[\"gzip\"],\"Cdn-Loop\":[\"cloudflare\"],\"Cf-Con
necting-Ip\":[\"<IP_ADDRESS>\"],\"Cf-Ipcountry\":[\"XX\"],\"Cf-Ray\":[\"66ba57f8ff4b204d-NRT\"],\"Cf-Visitor\":[\"{\\
\"scheme\\\":\\\"http\\\"}\"],\"Connection\":[\"Keep-Alive\"],\"User-Agent\":[\"Wget/1.21.1\"],\"X-Forwarded-Host\":[\
"analytics.kappawingman.com\"],\"X-Forwarded-Port\":[\"80\"],\"X-Forwarded-Proto\":[\"http\"],\"X-Forwarded-Server\":[
\"traefik-7497ddffbd-6zvw8\"],\"X-Real-Ip\":[\"<IP_ADDRESS>\"]},\"ContentLength\":0,\"TransferEncoding\":null,\"Host\":\"
analytics.kappawingman.com\",\"Form\":null,\"PostForm\":null,\"MultipartForm\":null,\"Trailer\":null,\"RemoteAddr\":\"
<IP_ADDRESS>:24459\",\"RequestURI\":\"/\",\"TLS\":null}"
time="2021-07-08T15:29:55Z" level=debug msg="Skipping Kubernetes event kind *v1.Endpoints" providerName=kubernetescrd
time="2021-07-08T15:29:55Z" level=debug msg="Skipping Kubernetes event kind *v1.Endpoints" providerName=kubernetes

Those message with 'Skipping Kubernetes event' appeared before I access the location. When I access the location, The debug log is flooded with similar message like first line but the port in RemoteAddr (<IP_ADDRESS>) is slightly different.
Finally, the client side received an 'ERROR 502: Bad Gateway response'.
Thanks.

Hello @kappa-wingman,
Oxy generates 3 log entries:

A begin ServeHTTP entry;
A Forwarding request to URL entry; and
A completed ServeHTTP entry.

The one we are interested is the 2nd/middle one (vulcand/oxy/roundrobin/rr: Forwarding this request to URL)

I think it's the log that you want:
time="2021-07-08T15:59:10Z" level=debug msg="vulcand/oxy/roundrobin/rr: begin ServeHttp on request" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"Proto":"HTTP/1.1","ProtoMajor":1,"ProtoMinor":1,"Header":{"Accept":["/"],"Accept-Encoding":["gzip"],"Cdn-Loop":["cloudflare"],"Cf-Connecting-Ip":["<IP_ADDRESS>"],"Cf-Ipcountry":["XX"],"Cf-Ray":["66ba84a2a8691aa8-SIN"],"Cf-Visitor":["{\"scheme\":\"http\"}"],"User-Agent":["Wget/1.21.1"],"X-Forwarded-Host":["analytics.kappawingman.com"],"X-Forwarded-Port":["80"],"X-Forwarded-Proto":["http"],"X-Forwarded-Server":["traefik-7497ddffbd-6zvw8"],"X-Real-Ip":["<IP_ADDRESS>"]},"ContentLength":0,"TransferEncoding":null,"Host":"analytics.kappawingman.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"<IP_ADDRESS>:8233","RequestURI":"/","TLS":null}"
time="2021-07-08T15:59:10Z" level=debug msg="vulcand/oxy/roundrobin/rr: Forwarding this request to URL" Request="{"Method":"GET","URL":{"Scheme":"","Opaque":"","User":null,"Host":"","Path":"/","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"Proto":"HTTP/1.1","ProtoMajor":1,"ProtoMinor":1,"Header":{"Accept":["/"],"Accept-Encoding":["gzip"],"Cdn-Loop":["cloudflare"],"Cf-Connecting-Ip":["<IP_ADDRESS>"],"Cf-Ipcountry":["XX"],"Cf-Ray":["66ba84a2a8691aa8-SIN"],"Cf-Visitor":["{\"scheme\":\"http\"}"],"User-Agent":["Wget/1.21.1"],"X-Forwarded-Host":["analytics.kappawingman.com"],"X-Forwarded-Port":["80"],"X-Forwarded-Proto":["http"],"X-Forwarded-Server":["traefik-7497ddffbd-6zvw8"],"X-Real-Ip":["<IP_ADDRESS>"]},"ContentLength":0,"TransferEncoding":null,"Host":"analytics.kappawingman.com","Form":null,"PostForm":null,"MultipartForm":null,"Trailer":null,"RemoteAddr":"<IP_ADDRESS>:8233","RequestURI":"/","TLS":null}" ForwardURL="http://<IP_ADDRESS>:80"
If I am correct, when it has problem, the completed ServeHTTP entry (last entry) does not immediately followed after the first two entries. Usually when I killed process, the completed Serve HTTP entry was displayed. Due to k8s/debug log, it seems it had a buffer and I am unable to get the 3 log entries of the same HTTP/request transaction.

It appears that Traefik is forwarding to http://<IP_ADDRESS>:80 because externalname services don't have a targetPort (since there isnt a good reason to do port translation on an externalname service), the service port is returned here: https://github.com/traefik/traefik/blob/master/pkg/provider/kubernetes/crd/kubernetes.go#L367 and used here:
https://github.com/traefik/traefik/blob/master/pkg/provider/kubernetes/crd/kubernetes_http.go#L331
Since the internal service port is not connected to the entrypoint port used by Traefik, can you try this instead:
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: ingressroute-http-analytics
  namespace: default
spec:
  entryPoints:
    - web
  routes:
    - kind: Rule
      match: Host(`analytics.kappawingman.com`)
      services:
        - name: extsvc-http-analytics
          port: 2080

---
apiVersion: v1
kind: Service
metadata:
  name: extsvc-http-analytics
  namespace: default
spec:
  type: ExternalName
  externalName: <IP_ADDRESS>
  ports:
    - name: http
      protocol: TCP
      port: 2080
    - name: https
      protocol: TCP
      port: 2443

@dtomcej  Your setting works. Thanks for the help.
But the correct setting is not intuitive (for me).
      services:
        - name: extsvc-http-analytics
          port: 2080

It should be a K8S problem, not directly a Traefik problem.

Hello @kappa-wingman,
Great to hear that the settings worked for you. Since this was a configuration issue, I will close this issue.
Thanks!


Mostly remove task-standard/ dir, moving files we use from it into server/

What it says on the tin.
This removes the task-standard directory aside from:

examples/count_odds which is used in the e2e tests
python-package/metr_task_standard which is used in builds
the Dockerfile, which is also used in builds

The pieces of code that we used are moved into various parts of /server. As part of this, the tests are upgraded to use vitest instead of the node test runner.
Watch out:

we'll want to do a final export of our task-standard changes to the main repo before merging this

Documentation:
n/a
Testing:

covered by automated tests

I think we can delete this stuff, then decide whether to add it back as part of getting rid of METR/task-standard as a separate repo. So seems good to me to merge this.

Did a local run to sanity check things. All seems good, so merging.


Use repo to release new versions

It currently uses a released version of release-please-action but could be using its own head source code to insure it works before creating a new release.
It can be done like:
      - uses: ./ # Uses an action in the root directory
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          release-type: node
          package-name: my-package
          default-branch: main

Ref: https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#example-using-a-private-action

I'd rather that we add an end to end smoke test that instantiated a release PR and a GitHub release through the factory, which would have caught the regressions upgrading to 10.x introduced
Running from man makes it easy for us to block our own releases, if head gets in a bad state.

Makes sense @bcoe . I guess my thought was to make sure head would be in a workable state aways.

@pragmaticivan I agree this should be the goal, but I think we can be pretty confident if we just get the coverage up slightly -- perform a couple actual smoke tests with release-please, rather than faking the whole thing.
This was my bad.

@bcoe you are right, I actually should have taken more time to read up the dependency changes. They were major by all means haha Sorry about that.

@pragmaticivan I name myself for not getting a good testing harness in place for this thing yet
No worries, I appreciate your contributions.


fix(Docs): external link to appear

As a new official document was created in this PR https://github.com/juliencrn/usehooks-ts/pull/333, the element of moving to an external link in the document disappeared.
Check ➡ use-intersection-observer
AS-IS

TO-BE

In addition, there was an issue where the element going to the external link was not visible on other custom hook document pages, so it was corrected.

Oh good catch @ojj1123, your fix was good but I've already fixed this bug before seeing your PR. Thanks!


Core :: Speed up CI build

Nowadays a full build for master takes ~17/20 minutes. This ticket collects a few strategies to investigate how to shorter the average wait time:
DoD

[x] Attempt to reintroduce docker caching
[x] Caching in between test and prod builds
[x] Research other projects' workflows to see if there are better approaches to docker builds
[x] Try to move together builds and unit test runs to decrease wait time in between each step and decrease job count

AC

[x] PoCs
[ ] Comments under this ticket to document research results

PoC @ https://github.com/keptn/keptn/pull/8465
combining all changes we gain ~7 minutes and reduce the jobs count.
If we could get rid of the bridge, the timing would significantly shrink. An alternative would be to have two parallel jobs testing and building the container, but this would bring back up the number of jobs...

Created ticket to incorporate research results #8487


RedMi Note3 fail on set display orientation failed

Could anyone give me a help?
Log is as below.
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event: Could not dispatch event: class com.commonsware.cwac.cam2.CameraEngine$OrientationChangedEvent to subscribing class class com.commonsware.cwac.cam2.CameraController
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event: java.lang.RuntimeException: set display orientation failed
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event:     at android.hardware.Camera.setDisplayOrientation(Native Method)
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event:     at com.commonsware.cwac.cam2.plugin.OrientationPlugin$Classic.configureStillCamera(OrientationPlugin.java:149)
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event:     at com.commonsware.cwac.cam2.ClassicCameraEngine$Session.configureStillCamera(ClassicCameraEngine.java:563)
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event:     at com.commonsware.cwac.cam2.ClassicCameraEngine.handleOrientationChange(ClassicCameraEngine.java:355)
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event:     at com.commonsware.cwac.cam2.CameraController.onEventMainThread(CameraController.java:402)
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event:     at java.lang.reflect.Method.invoke(Native Method)
05-08 23:54:54.004 10625-10625/com.github.jinsen47.camerasample E/Event:     at java.lang.reflect.Method.invoke(Method.java:372)

@jinsen47 Please review the contribution guidelines for how to file a bug report. I need:

the Build.MANUFACTURER and Build.PRODUCT values for the hardware on which you are experiencing the problem
the code necessary to reproduce the problem (this could be one of the demo apps, or it could be some demo project of yours that you publish)
the steps necessary, using that code and that hardware, to reproduce the problem

Closing as not reproducible.


Add get and set for security document.

Coverage decreased (-0.52%) to 64.16% when pulling 1464f92cbf55e13dde7c0e236cc670f0179290d7 on security into 474e2a6f142047d57dd557ecfad77633a7a28ed4 on master.


fix(table): fixed left alignment of table headers

Closes #1784
Summary

Removes double padding on header items when embedded in a button.

Change List (commits, features, bugs, etc)

Small scss fix.

Acceptance Test (how to verify the PR)

Go to https://deploy-preview-1789--carbon-addons-iot-react.netlify.app/?path=/story/watson-iot-table--simple-stateful-example and observe the headers that are left aligned.

:tada: This PR is included in version 2.141.0-next.12 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.141.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


suggestions

Hello, im dream.
so i would like suggest some function and modules that you can add.

clone option - to clone the whole db to given path
events - add entry/exit/update events
backup - eventually update backup db

im thinking of adding these functions to your npm package so i was just asking for permission if its okay!
if its okay then i can start the code.

nvm

@DreamBoy65 it's been almost a whole year, but its a feature now!
npm install<EMAIL_ADDRESS>
See release notes.

Thats Great to hear. Sorry i was busy with other businesses so i couldn't contribute.


Error with installing packages trough the CLI with Bun

I noticed a strange problem when using the CLI to add components or to initialize a project. It fails to install the new dependencies and gives an error that looks like this:
Command failed with exit code 1: npm install [DEPENDENCY NAME]
npm ERR! fh.read is not a function. (In 'fh.read(buf, 0, 2048, 0)', 'fh.read' is undefined)

Or:
Invalid stdio option "undefined"

Commands with this issue:
bunx --bun shadcn-ui@latest init
bunx --bun shadcn-ui@latest add [ANY COMPONENT THAT ADDS NEW DEPENDENCIES]

It adds the component files normally, so it's not completely unusable, but you just have to install the new dependencies manually.

similar issue when using bun for the cli
❯ bunx --bun shadcn-ui@latest add navigation-menu
⠋ Installing components...Command failed: bun add @radix-ui/react-navigation-menu
Invalid stdio option "undefined"

it creates the component, just fails adding packages

I'm actually getting this error when I try to init shadcn:
$ bunx --bun shadcn-ui@latest init

✔ Which style would you like to use? › Default
✔ Which color would you like to use as base color? › Zinc
✔ Would you like to use CSS variables for colors? … no / yes

✔ Writing components.json...
✔ Initializing project...
⠋ Installing dependencies...Command failed: bun add tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react
Invalid stdio option "undefined"

similar issue when using bun for the cli
❯ bunx --bun shadcn-ui@latest add navigation-menu
⠋ Installing components...Command failed: bun add @radix-ui/react-navigation-menu
Invalid stdio option "undefined"

it creates the component, just fails adding packages

Yes, I'm getting that as well

Strangely, the problem does not occur in Github Codespaces

I'm running into an issue as well but I don't quite have the same error, mine seems to be related to worker_threads implementation, there is an existing similar issue in the bun repo https://github.com/oven-sh/bun/issues/4165

Same issue here with bun... at the CSS variables step.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

This issue hasn't been fix. I don't see the point of closing it.

I also have this issue, but maybe it is because bun has to support it, is there no issue at bun's side?

I'm working on other things right now, but have you guys done a bun upgrade recently?

I was having the same issue but after bun upgrade from v1.0.22 to v1.0.30 everything seems to be good now!

I'm actually getting this error when I try to init shadcn:
$ bunx --bun shadcn-ui@latest init

✔ Which style would you like to use? › Default
✔ Which color would you like to use as base color? › Zinc
✔ Would you like to use CSS variables for colors? … no / yes

✔ Writing components.json...
✔ Initializing project...
⠋ Installing dependencies...Command failed: bun add tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react
Invalid stdio option "undefined"

Hello sir, I'm facing the same problem, Can you help me fix it?

I'm actually getting this error when I try to init shadcn:
$ bunx --bun shadcn-ui@latest init

✔ Which style would you like to use? › Default
✔ Which color would you like to use as base color? › Zinc
✔ Would you like to use CSS variables for colors? … no / yes

✔ Writing components.json...
✔ Initializing project...
⠋ Installing dependencies...Command failed: bun add tailwindcss-animate class-variance-authority clsx tailwind-merge lucide-react
Invalid stdio option "undefined"

Hello sir, I'm facing the same problem, Can you help me fix it?

Upgrade Bun with bun upgrade to fix that issue

stop your running termianl or any development terminal and then install shadcn ui components. It will fix the error

stop your running termianl or any development terminal and then install shadcn ui components. It will fix the error

This solution works.....if there's any development server running , first stop it then retry to initialize shadcn aur add component, it will work without that error.


Issues with error handling for queueing MDM commands

In my testing, the current logic used when choosing a random password to set for a smart/static group returns a 'success' message even when the API returns an error, e.g., https status 403.
I reproduced this with our Jamf Cloud hosted Jamf Pro server running v11.11.
This is most easily reproducible by removing the "View MDM command information in Jamf Pro API" privilege from the account used to authenticate for the script. Without this privilege, Recovery Lock commands will not send successfully and the API endpoint will return an httpsStatus 403 error, however the script records these as a success.
This is not apparent to the end user as the https status code itself is never returned.
It looks like the issue has to do with how you are checking for success/failure.
The script records the result of this command into the check variable:
check=$(echo "$task" | grep "id" | awk '{print ($NF)}')
However, it is considered a success so long as check is not empty:
if [[ ! -z $check ]]; then 	((success++))
If you look at Jamf's documentation for this API endpoint, failures may return an id field. In my testing, removing the necessary privilege (i.e., httpsStatus 403) does return "id" in the JSON response - however, the value is "0".
Because a value is returned here, or perhaps because the awk statement is not parsing correctly, the script reports these as a success - even though they are clearly a failure.

I recommend returning the http status in the curl response, and then constructing your success/failure check based on the value of that HTTP status code. 201 is a success, anything else is a failure.

Okay! Going to work on this today. Thank you @moose-juice

okay, I did just push out an update to account for httpStatus. Basically a successful call shouldn't include the httpStatus in the response body, but a failure will
https://github.com/chrisgzim/Jamf-API-Recovery-Lock-by-Group/blob/main/swiftdialog_jproapilock.sh
However, I am more concerned that we are still getting errors on the smart group being returned and it is not properly  showing up in the logs.


0.32.2

Codecov Report

Merging #450 into master will decrease coverage by 27.82%.
The diff coverage is 40.24%.

@@             Coverage Diff             @@
##           master     #450       +/-   ##
===========================================
- Coverage   92.61%   64.79%   -27.83%
===========================================
  Files          91       92        +1
  Lines       17635    17680       +45
===========================================
- Hits        16333    11456     -4877
- Misses       1302     6224     +4922

Impacted Files
Coverage Δ

src/lib/cli_test.rs
2.04% <ø> (-94.54%)
:arrow_down:

src/lib/descriptor/mod.rs
46.33% <0.00%> (-40.20%)
:arrow_down:

src/lib/mod.rs
66.66% <ø> (ø)

src/lib/runner_test.rs
30.17% <6.25%> (-59.67%)
:arrow_down:

src/lib/time_summary.rs
11.42% <11.42%> (ø)

src/lib/descriptor/makefiles/mod_test.rs
60.37% <16.66%> (-37.74%)
:arrow_down:

src/lib/runner.rs
42.64% <27.58%> (-45.82%)
:arrow_down:

src/lib/cli.rs
35.90% <50.00%> (-53.64%)
:arrow_down:

src/lib/logger.rs
84.44% <80.00%> (-1.61%)
:arrow_down:

src/lib/types.rs
82.92% <91.66%> (-2.44%)
:arrow_down:

... and 66 more

Continue to review full report at Codecov.

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


[SPARK-19669][HOTFIX][SQL] sessionState access privileges compiled failed in TestSQLContext

What changes were proposed in this pull request?
In SPARK-19669 change the sessionState access privileges from private to public, this lead to the compile failed in TestSQLContext
this pr is a hotfix for this.
How was this patch tested?
N/A

Test build #73192 has started for PR 17008 at commit 99db6cf.

I meet the same error in branch master :
overriding lazy value sessionState in class SparkSession of type org.apache.spark.sql.internal.SessionState;  lazy value sessionState has weaker access privileges; it should be public

LGTM. Just checked the console output. It already passes the build.
Thank! Merging to master.

Test build #73192 has finished for PR 17008 at commit 99db6cf.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/73192/
Test FAILed.

passed localy， retest this please


repl should be able to generate multiple solutions

When multiple solutions are possible, how to get them all successiveley interactively?

Done. Enter a blank line to switch to evcaluation mode.


🐞 - Different styles between light and dark themes for radio-block groups

Playground Link
https://taiga-ui.dev/components/radio-block#groups
Description
Light

Dark

Angular version
latest
Taiga UI version
latest
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

Closing this as it is no longer applicable to 4.0


[Design] Explore rpc method aware CDN caching

Problem
Currently the relay utilizes in app method method based caching as necessary.
While this is sufficient, to support large scaling it would be beneficial to reduce load on app pods in the helm architecture with an open source component that could cache prior to requests hitting the relay server app pods.
Solution
Explore the design and necessary implementation steps to support this and update the relay.
Create sub epic tasklist to capture the necessary work
Alternatives
No response

Thanks for the exploration here.
@AlfredoG87 can you close this and open an exploration ticket for https://github.com/RequestNetwork/json-rpc-proxy in the backlog

I already did a exploration of the RequestNetwork/json-rpc-proxy and was discarded since it does not allow for configurable TTL per method.
That said, I found this other candidate that might be what we are looking for, will add it to the backlog.
https://github.com/ethereum-optimism/optimism/tree/develop/proxyd

https://github.com/hashgraph/hedera-json-rpc-relay/issues/1689


Nitunit fails bad code

Documentation that contains only bad code (not tagged) is now reported by nitunit as it should be.

oups, I tought that #1508 was merged

+1

update: fix nitunits missed by #1508

+1


Seems like the cf command is installed every time instead of knowing it was installed already

The cf command seems to be installed each time you run "jumpbox user" command instead of figuring out it was installed already.
The custom image did have the latest jumpbox release v49.

23 gems installed
installed BOSH CLI (BOSH 1.3184.1.0)
>> Installing cf
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 6389k  100 6389k    0     0  3733k      0  0:00:01  0:00:01 --:--:-- 8129k
installed CF CLI (cf version 6.21.1+6fd3c9f-2016-08-10)
Your Full Name (for git): Norman Abramovitz
Your Email Address (for git<EMAIL_ADDRESS>git is configured
ALL DONE
Norman@bastion:~$ exit
logout
Connection to <IP_ADDRESS> closed.
Normans-MacBook-Pro:codex-google Norman$ gcloud compute ssh bastion --zone us-central1-a
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)

Documentation:  https://help.ubuntu.com
Management:     https://landscape.canonical.com
Support:        https://ubuntu.com/advantage

Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
Last login: Tue Sep 13 14:25:04 2016 from <IP_ADDRESS>
Norman@bastion:~$ jumpbox user

Installing rvm
RVM is already installed (rvm 1.27.0 (latest) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/])
Checking for ruby v2.2.4
ruby is already installed (ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux])
Checking for bosh v1.3184.1.0
bosh is already installed (BOSH 1.3184.1.0)
>> Installing cf
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 6389k  100 6389k    0     0  2305k      0  0:00:02  0:00:02 --:--:-- 4388k

installed CF CLI (cf version 6.21.1+6fd3c9f-2016-08-10)

Git username is already set to 'Norman Abramovitz'
Git email address is already set to<EMAIL_ADDRESS>git is configured
ALL DONE

Norman@bastion:~$ exit
logout
Connection to <IP_ADDRESS> closed.
Normans-MacBook-Pro:codex-google Norman$ gcloud compute ssh bastion --zone us-central1-a
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)

Documentation:  https://help.ubuntu.com
Management:     https://landscape.canonical.com
Support:        https://ubuntu.com/advantage

Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
Last login: Tue Sep 13 14:32:56 2016 from <IP_ADDRESS>
Norman@bastion:~$ jumpbox user

Installing rvm
RVM is already installed (rvm 1.27.0 (latest) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/])
Checking for ruby v2.2.4
ruby is already installed (ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux])
Checking for bosh v1.3184.1.0
bosh is already installed (BOSH 1.3184.1.0)
Installing cf
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 6389k  100 6389k    0     0  3188k      0  0:00:02  0:00:02 --:--:-- 8993k
installed CF CLI (cf version 6.21.1+6fd3c9f-2016-08-10)
Git username is already set to 'Norman Abramovitz'
Git email address is already set to<EMAIL_ADDRESS>git is configured

ALL DONE

Fixed.  cf cli only gets installed if it isn't already installed, or is a bad version.


Moses dev

Hi @RobertMahony and welcome here on github. Thanks for the pull request.
Would you mind adding some description in the field above where it says "No description provided", so that we know what issues the changes address, what features they add, and what testing has been done.

@RobertMahony: please re-open this pull request with some description once it's ready for review and discussion. Thanks.

Hi Julien,
I made this pull request by mistake.  I was actually just trying to get a clone of Moses work so that I could have a look at where he was up to.  But I am not an expert at GIT and I got very lost in the technical details.
   I am happy with that.
I am still interested in participating in the project at sometime in the future, but will need to find more time before commiting.
Cheers,
Rob.
--
Prof. Robert Mahony,
Research School of Engineering,
College of Engineering & Computer Science,
The Australian National University,
Canberra, ACT, 2601,
AUSTRALIA.
Tel: 61-(0)2-<IP_ADDRESS>
FAX: 61-(0)2-<IP_ADDRESS>
W: https://eng.anu.edu.au/
W: http://engnet.anu.edu.au/DEpeople/Robert.Mahony/
CRICOS Provider # 00120C
From: Julian Oes<EMAIL_ADDRESS>Sent: Tuesday, 27 September 2016 8:16 PM
To: PX4/Firmware<EMAIL_ADDRESS>Cc: Robert Mahony<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PX4/Firmware] Moses dev (#5539)
Hi @RobertMahonyhttps://github.com/RobertMahony and welcome here on github. Thanks for the pull request.
Would you mind adding some description in the field above where it says "No description provided", so that we know what issues the changes address, what features they add, and what testing has been done.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PX4/Firmware/pull/5539#issuecomment-249824495, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVXhqh1jTghT1XK5PwgTc9AJ8Bqtc7XAks5quOzjgaJpZM4KFfn-.


Accents Change Variant Suggestion Search Results

When searching for a card that has an accent or other character in its name in the Variant Suggestions tab, it doesn't show if you don't have the accent. Since English keyboards don't have accents, it should be made to ignore those accents.
With accent:

Without accent:

This problem only relates to variant suggestions


Demo authentication not working

Hello!
I was trying out the demo a few days ago, and when I went back yesterday, it wasn't working anymore: I can't log in (nor I can sign in).
After little investigation, I found out the ajax call to https://demo.bluelatex.org/api/session returns the following error:

{
"name":"unexpected_error",
"description":"Something went really wrong. If the problem persists contact an administrator"
}

I hope it's nothing too bad.

Hello,
Sorry, the hard disk of the demo server was full...

Thank you very much :)


Fix for issue with tiledImages loading tiles at every level instead of just the best level:

using && instead of || means the tiledImage's longest side is used for comparison instead of the shortest side.

Thank you!


Zipkin B3 Propagation

Hi are you planning to add support for Zipkin B3 Propagation headers? Will be very useful for integration with service mash. Official Jaeger Client (at least for Go) also has support for this :)

I am learning istio.if necessary, I will support this.

Just some update, I managed to create the extractor for Zipkin B3 Propagator, but met a problem where the values needs to be converted to uint64 which is not supported by default by PHP. Need some workaround using pack and unpack to properly convert the hex to int64 (which we will use to send to Jaeger Agent). This is the code which i used
unpack("J",pack("H*",$value))[1];
Hope this could help in the future :)

Thinks, It will be useful.

Done #22

Hello, this issue still seems open as per #22 changes. I'm working on istio's jaeger too, and when i get a "big" traceid like acee4e36e5ffa734, hexdec/sprintf trip still does not produce correct number:
$value = 'acee4e36e5ffa734';
// $value = '7a70cd36dfbfa746';

$dec = hexdec($value);

echo "value: $value\n";
echo "dec: $dec\n";
echo sprintf("output value: %x\n", $dec);

produces:
value: acee4e36e5ffa734
dec: 1.2460983216675E+19
output value: acee4e36e5ffa800

A "smaller" id, like 7a70cd36dfbfa746, is indeed correctly computed:
value: 7a70cd36dfbfa746
dec:<PHONE_NUMBER>584609094
output value: 7a70cd36dfbfa746

Given that those numbers are in fact a string for our task, why we can't simply cope w/ them as strings w/o this double conversion?
HTH, thanks


[TASK] Enable GA to work with Ensemble Model

Issue Description
Is your feature request related to a problem? Please describe.
GA has been developed and tested with general models but not Ensemble Model. Enable GA to work with Ensemble Model to enhance the flexibility of RAVEN workflows.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Issue checklist is good and can be closed with #2007


Feat/themes/gh workflow

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Adding Publish - Export integration test.

/assign @crwilcox

@mgulimonov: The following test failed, say /retest to rerun all failed tests:
Test name	Commit	Details	Rerun command
pull-en-server-release-unit	cc460e5 link /test pull-en-server-release-unit

Please fix.

/retest

/retest

/retest

/retest

@mikehelmick Could you please take another look?

/lgtm


weird error message on non-existing acl file

I tried to use the library to access the acl for the public and private folders of my personal pod ,
When I try to access https://pod.inrupt.com/jerrykakooza/public/ > returns 404 not found
But on the private folder https://pod.inrupt.com/jerrykakooza/private/ returns a 401 of unauthorized

Thanks for reaching out ! You may have noticed in the ticket template that we ask some additional elements to be able to help you, namely steps to reproduce the bug you are experiencing, the version of the library you are using, the environment you're working in (e.g. browser or NodeJS)... Would you be able to provide this information ? It would be helpful if you described exactly the steps you've taken and the output you expected, and also to attach the result of npx envinfo --system --npmPackages --binaries --npmGlobalPackages --browsers to the ticket.
There are a couple of elements in the bug you are facing that are of interest:

When you get the 401 unauthorized error, are you issuing an authenticated request ? Some examples are provided in our documentation that you may find helpful.
The title of you ticket mentions ACLs, which is not the access control system implemented by https://pod.inrupt.com. Do you specifically want to work with ACLs, or would another access control system be suitable for you ? Additional information is also available in our documentation.

So it is just ideal that the result when there is no ACL on a certain resourse most especially the public folder which is a created by default on the inrupt solid pod should return something which is not an error as people will try to search for this ACL
$ npx envinfo --system --npmPackages --binaries --npmGlobalPackages --browsers

  System:
    OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa)
    CPU: (4) x64 Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
    Memory: 2.26 GB / 3.78 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 14.16.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
    npm: 6.14.11 - /usr/local/bin/npm
  npmPackages:
    @inrupt/solid-client: ^1.6.1 => 1.6.1
    @inrupt/solid-client-authn-browser: ^1.8.1 => 1.8.1
    @inrupt/vocab-common-rdf: ^0.7.4 => 0.7.4
    parcel-bundler: ^1.12.5 => 1.12.5
  npmGlobalPackages:
    npm: 6.14.11

Hi @KakoozaJerry, could you maybe share why you believe that https://pod.inrupt.com/jerrykakooza/public/.acl and https://pod.inrupt.com/jerrykakooza/private/.acl should exist? The server at pod.inrupt.com will not create those for you.
Note that different Solid servers implement different access control systems - some implement Web Access Control (which works with Access Control Lists), and others, and particularly pod.inrupt.com, implement Access Control Policies. solid-client does offer an API that can apply a limited number of access restrictions and transparently does the right thing depending on what the user's server supports in its universal access control API's, so maybe those are something for you to consider?


Raygui.text_box appends unwanted '0' bytes to result

When I call Raygui.text_box bounds text edit_mode the result will append the byte 0 onto text even if no key has been pressed. I can work around this by trimming 0's off the result.
Also, the doc comment suggests there is is a text_size argument, which text_box doesn't actually have.

It's even worse than you say, a null byte is added on each frame and the string length grows and grows. Ouch!
The doc comments were copied from raylib, which has the extra text_size parameter.

The fix is on master now. I'll leave the issue open until I pushed a new release to the opam repo