Gridsome VueRemark doesn't escape codeblock

Description
When we have some HTML in our codeblocks it's processed as real HTML by the compiler.
Which create errors in my case because I have Vue syntax on them.
Steps to reproduce

Add @gridsome/vue-remark plugin
Create a Markdown page
Add the following content

// Correct the markdown to avoid any error
`` `html
<p>{{ user.username }}</p>
`` `

Expected result
The codeblock should be escaped and not processed
Actual result
Getting the error TypeError: Cannot read property 'username' of undefined
Environment

Windows 10
Node 13.3.0

Duplicate: https://github.com/gridsome/gridsome/issues/795#issuecomment-549115420


Added Microsoft.AnalysisServices resource

Description of your changes

Fixes #100
Moving analysisservices (1) resource to v1beta1 version

[ ] azurerm_analysis_services_server

I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Manually and Uptest:

/test-examples="examples/analysisservices/server.yaml"

/test-examples="examples/analysisservices/server.yaml"

/test-examples="examples/analysisservices/server.yaml"

/test-examples="examples/analysisservices/server.yaml"


How to reopen date picker modal on Android device?

On ios it is embedded component but on android i see modal. When user selects a date, modal closes. How can I open date modal again?
My current component like this;
<RNDateTimePicker
              style={{flex: 1}}
              value={this.state.birthDate}
              minimumDate={new Date(1920, 0, 1)}
              maximumDate={new Date(this.getCurrentYear() - 10, 0, 1)}
              display="spinner"
              textColor="#fff"
              mode="date"
              onChange={(event, date) => this.handleBirthDate(event, date)}
            />

@hakkikonu You need to do it using state. Something like
this.state.open && <RNDateTimePicker
Set the state of your open variable accordingly as either true or false to display the modal again.
Also, one important question, I see that you are using spinner display here. Is it working for you in standalone app?

@karanmartian thanks your comment.
Yes spinner features working for me. There is no problem about it.

You can follow the basic usage the setShow state control if the picker is hide or not


selectDate() problem

horizontalCalendar.setCalendarListener-> onDateSelected function working fine
but when i using selectDate() to select the date
the date return result is correct but the selected position is -1
for example:
selectDate(11-11-2017)
but showing the selectedItem is (10-11-2017)
(the date return result is showing 11-11-2017<-correct
i think the problem is your position calculation wrong

problem fixed
when you calculate the position using long time select - dateStart and the hours and mins using current
that and my select dateTime is 00:00 ,show that the result is -1 position

selectDate(11-11-2017) how to use this , i am unable to use dates like 11-12-2017 as selected dates , it says
""Wrong 1st argument type. Found: 'int', required: 'java.util.Calendar' more...""


expression eval's missing and/or

Boris,
I'm not sure it's an issue rather than a request... :)
Nevertheless, it would be nice to be able to do a
{{#if varOne==1 && varTwo==2 }}
and Merry Xmas ! ;)

Boris,
do you plan to add it ?
because it's becoming a nightmare for me....
sometimes, I can deal with simple add or sub to replace the && and ||.
but sometimes I'm stuck.....
cheers,
/k

ah ! got it at last !
it works...but under certain condition, surely because of the parser regex ;)
This won't work:
$.template(null,'<#if name=="" && age>18 >NEW</if>');
function () {
return viewsNs.err( e );
}
But this will:
$.template(null,'<#if name==""&&age>18 >NEW</if>');
function anonymous($data, $view) {
try{var views=jQuery.views,tag=views.renderTag,enc=views.encode,html=views.encoders.html,$ctx=$view && $view.ctx,result=""+
tag("if",$view,"",1,{_path:'$data.name==""&&$data.age>18'},$data.name==""&&$data.age>18);return result;
}catch(e){return views.err(e);}
}
no space between subexpressions ! ;)


Illegal characters in macro names should be allowed

Disallowing characters used in Haskell syntax is unnecessarily restrictive, since exact Haskell syntax is no longer relevant. For example, the macro name hygenisization process might convert { to leftBrace, or some similar strategy.

In the case of a macro definition, all special characters will be expanded, even if they are legal names as part of an operator. This is so that a macro name such as {+ can be allowed – if only { was expanded (being the only illegal identifier character), the result would be leftBrace+ which is an invalid Haskell identifier.
Because this will only happen in macro names, this should not be an issue.

r


Threshold of niche and popular items.

Hello, would you mind telling me some suggestions ahout how to determine the threshold while seperating the niche and popular items?

In general, one can use the distribution of the item usage frequency to decide a threshold for separating popular and niche items. However, picking an optimum threshold is a hard problem. One can pick the top-k items that contribute to a large number of data points as popular items. The value of k can be approximated based on the distribution and the dataset. Another strategy could be to always select the top x% items as popular items (and the rest as niche).

Thanks, I pretty think so. And I also find the strategy that many researcher select the top x% items as the popular items(and the rest as niche).


ognl 3.4.3 string equals bug

https://github.com/hengyunabc/ognl34-bug-demo
ognl 3.4.3 result
"aaa".equals(params[0].flowAttribute.getBxApp()), result: false
"aaa" == params[0].flowAttribute.getBxApp(), result: true
params[0].flowAttribute.getBxApp().equals("aaa"), result: true

ognl 3.3.5 result
"aaa".equals(params[0].flowAttribute.getBxApp()), result: true
"aaa" == params[0].flowAttribute.getBxApp(), result: true
params[0].flowAttribute.getBxApp().equals("aaa"), result: true

Isn't this related to #74 and USE_STRICTER_INVOCATION? Please try to run your app using
-Dognl.UseStricterInvocation=false

Either using ognlContext.setRoot(advice); or Object object = Ognl.getValue(conditionExpress, advice); solves the problem. Yet I'm not able to figure it out why your example fails.

Looks like it's due to #204

See the proposed fix, basically specifying root on context solves the problem, because due to changes in #204 null is returned instead.

Hi @lukaszlenart ,
I apologize if this misses the point, but the Javadoc of  Ognl#getValue(Object, OgnlContext, Object, Class<?>) says...

The default context is set for the given context and root via addDefaultContext().

But the call to addDefaultContext() is removed from getValue() and some other methods in #193.
I too am not fully understand, but could this cause the reported behavior change?

@harawata good catch, thanks! I will revert back to addDefaultContext(root, context); as I cannot recall what did I remove it


Add forward reference to GOT in Medium position independent code model section.

Fix #271

Changes:

Rebase
Address both comments


TLS cert on https://python-hyper.org/ expired

The TLS cert on python-hyper.org expired today May 31st.

Yeah, this is likely the result of txacme only supporting SNI challenges and LE turning them off. I’ll move the server over to Caddy today.

Resolved.


Getting (Fetched hashed world seed [a random seed]

I am trying the latest commit and whenever i load a world be it new or old i get "Fetched hashed world seed [seed]" But that seed is totally different from the correct seed.

I am trying it on 20w09a.

Yes? It's the HASHED world seed. Not sure it can get any clearer.

Sorry but i haven't done that heavy of a research on Minecraft seeds, may i know where i go from there?

Yes? It's the HASHED world seed. Not sure it can get any clearer.

Sorry but i haven't done that heavy of a research on Minecraft seeds, may i know where i go from there?

What is a hashed world seed? is there any way to convert it into a normal seed so I can create a world with the same seed?

It's a hash of the world seed.

is there any way to convert it into a normal seed so I can create a world with the same seed?

No, the hash is not useful on its own. The SeedCracker program uses it along with other decorator/structure information to calculate the world seed. The program is just notifying you that it obtained the hash, which is then stored for later use.

So how do you calculate the world seed with seed cracker? I've figured out how to locate structures but not how to find the world seed

Check the readme, there's a video tutorial that explains it thoroughly


Audit journal ID fields

All ID fields need to be ulong, check and confirm this before next release. Some seem to have been missed and need correcting.

ab1d6d41dcd948dfe4998a4f0cee27d74308e7b4


Installing pcscd library with arm-unknown-linux-gnueabihf DockerFile

I'm trying to use cross with Docker to develop for Raspberry Pi. I have created a Dockerfile in order to recreate the enviroment but am not able to install the needed Rust library.
FROM rustembedded/cross:arm-unknown-linux-gnueabihf

RUN apt-get update
RUN dpkg --add-architecture armhf && \
    apt-get update

RUN apt-get install --assume-yes zlib1g:armhf
RUN apt-get install --assume-yes pcscd:armhf libpcsclite-dev:armhf

When installing pcscd i get the error:
#10 9.531 Setting up python2.7-minimal:armhf (2.7.17-1\~18.04ubuntu1.8) ...
#10 9.572 /usr/bin/python2.7: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
#10 9.573 dpkg: error processing package python2.7-minimal:armhf (--configure):
#10 9.573  installed python2.7-minimal:armhf package post-installation script subprocess returned error exit status 127
#10 9.573 dpkg: dependency problems prevent configuration of python2.7:armhf:
#10 9.573  python2.7:armhf depends on python2.7-minimal (= 2.7.17-1~18.04ubuntu1.8); however:
#10 9.573   Package python2.7-minimal:armhf is not configured yet.
#10 9.573
#10 9.573 dpkg: error processing package python2.7:armhf (--configure):
#10 9.573  dependency problems - leaving unconfigured
#10 9.573 Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
#10 9.606 Errors were encountered while processing:
#10 9.606  python2.7-minimal:armhf
#10 9.606  python2.7:armhf
#10 9.629 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
executor failed running [/bin/sh -c apt-get install --assume-yes python2.7:armhf]: exit code: 100

So there is a solution here it seems:
LD_PRELOAD=/lib/arm-linux-gnueabihf/libz.so.1 apt-get install --assume-yes pcscd:armhf libpcsclite-dev:armhf

This will correctly fail to preload the ARM zlib library on the apt-get step, but then succeed on the python2.7 configuration and then the install of these dependent libraries. It might also be possible to add it to the pkg-config path or also create a symlink.
A side note, the image you're using is out-of-date by over a year. You should be using ghcr.io/cross-rs/arm-unknown-linux-gnueabihf:main, not rustembedded/cross:arm-unknown-linux-gnueabihf.

There's a better solution: add the --no-install-recommends flag to apt-get install:
FROM ghcr.io/cross-rs/arm-unknown-linux-gnueabihf:main
# useful in case anything wants an interactive prompt
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update
RUN dpkg --add-architecture armhf && \
    apt-get update

RUN apt-get install --assume-yes zlib1g:armhf --no-install-recommends
RUN apt-get install --assume-yes pcscd:armhf libpcsclite-dev:armhf --no-install-recommends

I'll document this on the wiki.

Closing since the wiki has been updated and I've confirmed the deny lists are working for the latest images. This means that all armhf architecture packages will not have installation candidates for the arm-unknown-linux-gnueabihf target.
$ docker pull ghcr.io/cross-rs/arm-unknown-linux-gnueabihf:main
$ docker run -it --rm ghcr.io/cross-rs/arm-unknown-linux-gnueabihf:main bash
$ dpkg --add-architecture armhf && apt-get update && apt-get install --assume-yes zlib1g:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package zlib1g:armhf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  zlib1g zlib1g:i386

E: Package 'zlib1g:armhf' has no installation candidate
$ cat /etc/apt/preferences.d/all-packages
Package: *:armhf
Pin: release *
Pin-Priority: -1

Sorry to bring this old issue back up and I'm not 100% sure about this, but isn't it reasonable to want to install Debian/Ubuntu's armhf (v7) -dev packages into a (v6) arm-unknown-linux-gnueabihf container for linking against? If so, is there a way to override the deny list?

removing /etc/apt/preferences.d/all-packages will remove the "deny"

Super, thanks!


question about subject list in FastSurfer on multiple subjects

Question/Support Request

I try lots of formats for subjects list file, but it still reported an error. the subjects list is below.
subject1=--t1 /data/subjectx/001.nii.gz\n
subject2=--t1 /data/subjectx/002.nii.gz\n
subject3=--t1 /data/subjectx/003.nii.gz\n
subject4=--t1 /data/subjectx/004.nii.gz\n
subject5=--t1 /data/subjectx/005.nii.gz\n
subject6=--t1 /data/subjectx/006.nii.gz\n
and I also try to exclude the "--t1" like this
subject1=/data/subjectx/001.nii.gz\n
subject2=/data/subjectx/002.nii.gz\n
subject3=/data/subjectx/003.nii.gz\n
subject4=/data/subjectx/004.nii.gz\n
subject5=/data/subjectx/005.nii.gz\n
subject6=/data/subjectx/006.nii.gz\n
Screenshots

Environment

FastSurfer Version: cpu-lastest
FreeSurfer Version: ...
OS: Windows 10
CPU: ...
GPU: ...

Execution

Run Command:

As you can see in "Reading subjects from stdin", the script does not read the subjects at all. Its not the format, its the subject list.
if you look at brun_fastsurfer.sh --help, you can see that your --subjects_list is incorrect.
brun_fastsurfer.sh --subject_list <file> [other options]

I realize that we have a typo in the docs there, I'll fix that.... I had some inconsistent usage of --subject_list and --subjects_list.... this one must have slipped through.
Thanks for pointing this out.

thanks


[release-2.15.0][BEAM-7880] Upgrade Jackson databind to version <IP_ADDRESS>

Just a cherry pick of the dependency update to catch some CVE fixes.
R: @aromanenko-dev
CC: @yifanzou

Thanks @aromanenko-dev


Allow empty mixin (Not urgent)

I found a mixin without any annotations (@ Option, @ Parameters, etc) will invoke picocli.CommandLine$InitializationException. I tried using such "empty" mixin in the following situation.
real situation
public class BaseCommand implements Runnable {
  @Command
  private void subcommandA(@Mixin MixinA mixinA) {
    runSubcommand(mixinA)
  }
  @Command
  private void subcommandB(@Mixin MixinB mixinB) {
    runSubcommand(mixinB)
  }
  @Command
  private void subcommandC(@Mixin MixinC mixinC) {
    runSubcommand(mixinC)
  }
     ..........

  private void runSubcommand(IMixin mixin) {
    //invoke Imixin method
  }

IMixin is an interface. MixinA, MixinB, MixinC...  are the implementation of IMixin. The implementations are basically real mixin, but a few case are empty mixins.
I could avoid the exception easily by creating the instance directly as following. But allowing such empty mixin will help code
consistency like above.
  @ Command
  private void subcommandD() {
      runSubcommand(new MixinD())
  }

@nakanaka7 Have you tried annotating the empty mixin with just @Command?
That may prevent the InitializationException.

It works fine. Thank you.

I'm having a similar issue; in my case the mixin is not empty but provides generic option processing functionality based on mixee.options().
Good to know that the @Command annotation can be used as a workaround, but it feels a bit odd to annotate a mixin with @Command. Any chance that picocli can be improved to allow for mixins that do not have any options or parameters?
Alternatively, can we have a more appropriate annotation that is accepted by the validateCommandSpec method? Maybe we could just add ElementType.TYPE to the list of targets for the @Mixin annotation, to allow mixins to be explicitly declared as being a mixin, and update validateCommandSpec accordingly?

@remkop I'm having a similar issue; in my case the mixin is not empty but provides generic option processing functionality based on mixee.options().
Good to know that the @Command annotation can be used as a workaround, but it feels a bit odd to annotate a mixin with @Command. Any chance that picocli can be improved to allow for mixins that do not have any options or parameters?
Alternatively, can we have a more appropriate annotation that is accepted by the validateCommandSpec method? Maybe we could just add ElementType.TYPE to the list of targets for the @Mixin annotation, to allow mixins to be explicitly declared as being a mixin, and update validateCommandSpec accordingly?

@rsenden
The  @Command annotation is not a workaround, this is the design.  It allows you to mix in command attributes like header, footer, version, etc. All command attributes can be mixed in, so creating another separate annotation would then have to also have all these attributes…
Reusing the @Mixin annotation would also mean that this annotation would need all attributes from the  @Command annotation…
(I actually don’t understand what problem we are trying to solve here…) 😅

@remkop I wasn't (actively) aware that you could use the @Command annotation to mix in command attributes, so for that purpose it indeed makes sense to have an @Command annotation on mixins.
In cases like described in this issue, we are not trying to mix in command attributes though, so in that regards it makes less sense to add an empty @Command annotation.
Anyway, I can live with adding the @Command annotation to such mixins, I'll probably add a comment to explain why though ;)


fzf eating all my CPU

Category

[x] fzf binary

OS

[x] Mac OS X

Shell

[x] zsh

I have just installed fzf and it is working fine, except it eats all my CPU completely.
It is a bug or feature? Maybe some indexing/caching/etc is happening in the background?
If so, I guess it should be mentioned somewhere in the docs.
Here's a screenshot of the processes.

No, it's not normal.  What exactly did you do? Can you provide the steps to reproduce the problem?

I was just messing around with it. Just some basic commands (coping all my history):

Can you reliably reproduce the case?

Not really, I guess it could be closed as unreproducible.

Alright, let me know if it happens again.

just experienced this as well.  here is a screenshot after killing one of the offending fzf instances:

I am able to reproduce this consistently using oh my zsh on Mac OSX Monterey (M1 processor):

Ctrl + R to active history search
Close the Terminal tab with the search open, click Terminate for "Do you want to terminate running processes in this tab?"
A zsh process using 100% CPU gets created

Could not replicate this with the fzf plugin disabled (using the default history search).


Add e2e test for upgrade

1.Add a new e2e test for upgrade. It tries to fetch a base version and upgrade it to the latest version.
2.Add some util functions for download release

cc @myidpt

@yusuoh: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
1ace5969201bb7bfad7850d2a0558478bda46232
link
/test e2e-smoke

prow/istio-presubmit.sh
46f482f3a512c67ea3576c13f0c571d44bbeedef
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all

@yusuoh: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-smoke.sh
1ace5969201bb7bfad7850d2a0558478bda46232
link
/test e2e-smoke

prow/istio-presubmit.sh
46f482f3a512c67ea3576c13f0c571d44bbeedef
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Modiftying Openram

Hello, can anyone please help me figure out the flow of openram that when i run openram what is the driver code, where decoder and arrays are formed as we are thinking of replacing sram with some other kind of ram for that i need to figure out these things.
If anyone can tell it'll be very helpful

Hi,
This is not really an issue, so I'm going to close it.
If you want help, the best place is the OpenRAM slack workspace linked in the documentation. I will answer questions there.
A quick response: The top level now depends on whether you are creating a ROM, RAM, or characterizing.  For SRAMs, there are 3 "top levels":
sram_compile.py - create an SRAM
sram_char.py - characterize an SRAM
sram_func.py - functionally simulate (in Spice) an SRAM

okay, thanks for your response


Drag stop (onStop) not called when dropped at the border of bound parent

I have a problem in my solution where I'm using Draggables with bound set to parent element.
When I drag and release mouse I get dragstop event, but not if the Draggable has been dragged all the way out to the parent border. Then theres no event.
Have anyone a clue what this could be caused by?
BR Peter

@mulgurul
Can you please provide the code you are using to bound to parent component


only one pod scheduled on vNode

Followed instruction to run on VirtualNode and uses following trigger with queueLength 1
triggers:
 - type: azure-queue
   metadata:
     name: msg
     type: queueTrigger
     direction: in
     queueName: blobevents
     connection: org1_STORAGE
     queueLength: 1

Sending 4 messages to the queue, still shows one pod processing all messages sequentially and deployment always has desired state 1
 kubectl get deploy
NAME           DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
trigger-keda   1         1         1            1           13m

It works as expected on regular Nodes, with 4 pods created ...

I had the same result.


Is this abandoned?

No updates for latest Xiaomi air purifiers (4, 4 Pro, MAX, etc.) nor promised enhancements (Quiet/Sleep mode, separate tiles in Home app…) for over a year. What gives?

Hello, I hope it can be updated to use it with Purifier 4. Thank you very much for the work. Regards.


Create updatePatronFirstNameLastName method in sierra-http-client

Apologies if I've missed some reasoning/requirement somewhere - what's the reason for creating different use-case-specific mutation functions rather than the client having an all-purpose updatePatron function that's used everywhere?

I got a bit stuck on the specific updating of a barcode and didn't think i'll eventually need the same kind of function for first and lastnames. I think an all-purpose updatePatron method is the better way to go, I'm going to adjust my PR to do that


[Snyk] Security upgrade org.apache.jena:jena-dboe-base from 4.9.0-SNAPSHOT to 5.2.0

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

jena-db/jena-dboe-index/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Stack-based Buffer Overflow SNYK-JAVA-COMGOOGLEPROTOBUF-8055227
  124
org.apache.jena:jena-dboe-base:  4.9.0-SNAPSHOT -> 5.2.0  No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – 9c9746bc-4bfc-4ee5-a5b1-82088ee1ea45
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Use_of_Cryptographically_Weak_PRNG
/jena-arq/src/main/java/org/apache/jena/sparql/expr/E_Random.java: 34
Attack Vector

Fixed Issues

Severity
Issue
Source File / Package

Host Namespace is Shared
/docker-compose.yaml: 20

Improper_Restriction_of_Stored_XXE_Ref
/jena-iri/src/main/java/org/apache/jena/iri/impl/BuildViolationCodes.java: 35

Improper_Restriction_of_Stored_XXE_Ref
/jena-iri/src/main/java/org/apache/jena/iri/impl/BuildViolationCodes.java: 39

Improper_Restriction_of_Stored_XXE_Ref
/jena-iri/src/main/java/org/apache/jena/iri/impl/BuildViolationCodes.java: 38

Networks Not Set
/docker-compose.yaml: 20


[2863] Send data to BigQuery

Context
We use BigQuery for analytics data. We send an event on create/update of all entities with PII removed. We also send an event for all web requests.
Changes proposed in this pull request
Add the code to enable this, based on the succesful integrations we've added to TTAPI and Apply.
Guidance to review
I've tested locally and on QA and will enable the environments one by one once merged, testing them along the way. The most likely source of failure will be in the secrets config which isn't part of this PR.

This requires local credentials to test (I can pair on that bit or provide them)
Run the app locally with said credentials in place
Do some requesting, creating and updating.
Review the events in BigQuery

 Send data to BigQuery

Did another check, looks good. Something to think about - should we be checking the fields for each table still exist if they get changed? Don't think we need to do it now maybe we can add it to our PR template

Yeah, I did have a chat with @AndrewPetrie1 about this. We do need to work out some way of keeping them in sync. I think a missing field will probably just fail the job report to sentry which we can fix but adding new fields will just send incomplete data silently so it's definitely something to think about.

@Graham Pengelly @.***> In terms of
changed or deleted fields BQ can be configured to make assertions on data
coming in and spot any changes to those, so you may not need to do that
locally. Not sure how we might detect new fields though without manual
effort, it would be nice to automate the detection.
On Wed, 17 Nov 2021 at 17:20, Graham Pengelly @.***>
wrote:

Did another check, looks good. Something to think about - should we be
checking the fields for each table still exist if they get changed? Don't
think we need to do it now maybe we can add it to our PR template
Yeah, I did have a chat with @AndrewPetrie1
https://github.com/AndrewPetrie1 about this. We do need to work out
some way of keeping them in sync. I think a missing field will probably
just fail the job report to sentry which we can fix but adding new fields
will just send incomplete data silently so it's definitely something to
think about.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DFE-Digital/register-trainee-teachers/pull/1662#issuecomment-971791802,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUS2C7YHMA2JCYNX5OOJS6TUMPP6PANCNFSM5GQ4GXEA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Consider changing the license to something applicable to software

Even creative commons suggest not using cc on software/code, perhaps something like mit, zlib or isc

We recommend against using Creative Commons licenses for software. Instead, we strongly encourage you to use one of the very good software licenses which are already available. We recommend considering licenses made available by the Free Software Foundation or listed as “open source” by the Open Source Initiative.
Unlike software-specific licenses, CC licenses do not contain specific terms about the distribution of source code, which is often important to ensuring the free reuse and modifiability of software. Many software licenses also address patent rights, which are important to software but may not be applicable to other copyrightable works. Additionally, our licenses are currently not compatible with the major software licenses, so it would be difficult to integrate CC-licensed work with other free software. Existing software licenses were designed specifically for use with software and offer a similar set of rights to the Creative Commons licenses.
Version 4.0 of CC's Attribution-ShareAlike (BY-SA) license is one-way compatible with the GNU General Public License version 3.0 (GPLv3). This compatibility mechanism is designed for situations in which content is integrated into software code in a way that makes it difficult or impossible to distinguish the two. There are special considerations required before using this compatibility mechanism. Read more about it here.
Also, the CC0 Public Domain Dedication is GPL-compatible and acceptable for software. For details, see the relevant CC0 FAQ entry.
While we recommend against using a CC license on software itself, CC licenses may be used for software documentation, as well as for separate artistic elements such as game art or music.

https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software
https://opensource.stackexchange.com/questions/133/how-could-using-code-released-under-cc0-infringe-on-the-authors-patents

Things changed a bit recently regarding this. Quoting the Unlicense article from Wikipedia:

Until 2022, the Fedora Project recommended CC0 over the Unlicense because the former is "a more comprehensive legal text". However, in July 2022, the CC0 license became unsupported and software to be released in the Fedora distribution must not be under CC0, due to CC0 not waiving patent rights

So, Fedora stopped distributing CC0-based software due to this concern, and other distributions might follow. Because Zlib/ISC/MIT are too restrictive compared to CC0, maybe the Unlicense or the 0-Clause BSD (BSD0) are suitable replacements.

I don't claim any patent rights, so there are none I can waive.


Validation accuracy for if_stop in model selection optional, and access value in safer way

Redid changes introduced when adding the validation threshold optional, to make it compatible with previous domainlab versions.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.10%. Comparing base (332b9f9) to head (c5f6484).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #813   +/-   ##
=======================================
  Coverage   95.10%   95.10%
=======================================
  Files         127      127
  Lines        5028     5029    +1
=======================================
+ Hits         4782     4783    +1
  Misses        246      246

Flag
Coverage Δ

unittests
95.10% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@agisga, are you fine with this PR?  (i.e. approve?) shall I merge it?


Refs #6148 -- Meta table api

Add Model._meta.table_cls attribute to represent table-like objects. Add schema qualified table support.
Continuation from https://github.com/django/django/pull/5278.
TODO:

[ ] PostgreSQL support (we are nearly there)
[ ] tests in Django's test suite (test project attached)
[ ] docs
[x] introspection support as needed by migrations (get_constraints(), table_names())
[ ] Nice failures for cases where schemas are used for Oracle, MySQL and SQLite
[ ] Remove a couple of TODOs and temporary asserts

Not going to be implemented in this PR:

MySQL support (in mysql schemas are a synonym for database. This is going to cause problems for testing, where production and test database schemas would conflict)
SQLite support (no schemas on SQLite)
Oracle support (we use Oracle schemas to differentiate between test and production, so similar problems as with MySQL are preventing support for Oracle in initial implementation)
Inspectdb support
Dynamic schemas (same model on multiple schemas will not be supported by Django)
Ability to configure default schema for project or apps

Test project for PostgreSQL here:
schema_test.tar.gz

There isn't that much complex work left (the hardest part is likely the inspectdb changes). I guess there is about a week's worth of work left. The problem is that I don't have that much time available these days, so process is slow.

I recall an idea brought up for the problem that Oracle and MySQL schema conflicts between production and testing. The idea was something like database setting 'test_schema_mapping'. This maps production schema name to testing schema name. If you use identity mapping, then testing and production uses same schema names. In that case the user is responsible for any problems that might cause.
I'm not going to implement that for the initial merge to Django unless requested. I'd like to keep this patch as simple as possible as I don't have too much time. This means the initial merge will have only PostgreSQL support.

Are there any news? What needs to be done? I would like to help.

Anssi, please reopen if you pick up work on this again.

If anyone is tempted to restart this work at some point, my clone of this branch was rebased today on main branch. As one could expect after such time passed, the result is not usable as is, but can be a starting point.
https://github.com/claudep/django/tree/meta_table_api


Vault Staking Implementation

close #93

32 tests passed
5 tests failing
> truffle test
Using network 'test'.

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.

Warning: Potentially unsafe deployment of OneBtc

    You are using the `unsafeAllow.external-library-linking` flag to include external libraries.
    Make sure you have manually checked that the linked libraries are upgrade safe.

OneBtc deployed at  0xdE2dcA4714440F1F701aFC8465FD81d16E3Eb3Ed
VaultReserve deployed at  0x625eAB31B67F0b70cB7e2eF0F8F5783C50A0fdc0
VaultReward deployed at  0xF8267E6d5A0216Cb996E4af770495323266Df105

  Contract: Collateral unit test
    ✓ init totalCollateral is zero
    ✓ Error on lockCollateral with 0 amount (68ms)
    ✓ LockCollateral with 1 Gwei amount (52ms)
    ✓ after lock: totalCollateral equal 1 Gwei
    ✓ after lock: freeCollateral equal 1 Gwei
    ✓ ReleaseCollateral 0.5 Gwei (72ms)
    ✓ after release: totalCollateral equal 0.5 Gwei
    ✓ after release: freeCollateral equal 0.5 Gwei
    ✓ SlashCollateral 0.2 Gwei to new account (62ms)
    ✓ after slash: totalCollateral equal 0.3 Gwei
    ✓ after slash: 1Vault freeCollateral equal 0.3 Gwei

  Contract: ExchangeRateOracle unit test
    ✓ setExchangeRate, getExchangeRate (161ms)
    ✓ collateralToWrapped (49ms)
    ✓ wrappedToCollateral (47ms)

  Contract: Issue unit test
    1) "before all" hook for "Error on requestIssue with the insufficient griefing collateral"

  Contract: BitcoinKeyDerivation:On-Chain Key Derivation Scheme
    ✓ key derivate (86669ms)

  Contract: issue/redeem test
    2) "before all" hook for "vault register test"

  Contract: Redeem unit test
    3) "before all" hook for "Register Vault with 10 ONE Collateral"

  Contract: Replace unit test
    4) "before all" hook for "Register OLD Vault with 10 Wei Collateral"

  Contract: transaction parse test
    ✓ extractTx and validateTxout (235ms)
    ✓ validateTxout with wrong requestId (190ms)
    ✓ validateTxout with less amount (159ms)
    ✓ validateTxout with more amount (170ms)
    ✓ validateTxout with wrong receiver (167ms)
    ✓ validateTxout without requestId (274ms)

  Contract: VaultRegistry unit test
    5) "before all" hook for "register new vault"

  Contract: VaultReward unit test
Warning: Potentially unsafe deployment of OneBtc

    You are using the `unsafeAllow.external-library-linking` flag to include external libraries.
    Make sure you have manually checked that the linked libraries are upgrade safe.

    ✓ initialize VaultReward with OneBtc address
    ✓ extendVaultLockPeriod (123ms)
    ✓ Error on withdrawal if the vault lock period is not expired (58ms)
    ✓ Errer on extendVaultLockPeriod with mismatched msg.sender (67ms)
    ✓ Errer on extendVaultLockPeriod with invalid lock period (71ms)
    ✓ updateVaultAccClaimableRewards on the second extendVaultLockPeriod (202ms)
    ✓ getClaimableRewards (120ms)
    ✓ updateVaultAccClaimableRewards on collateral change (391ms)
    ✓ claimRewards (255ms)
    ✓ claimRewardsAndLock (427ms)
    ✓ withdraw if the vault lock period is expired (149ms)

  32 passing (2m)
  5 failing

  1) Contract: Issue unit test
       "before all" hook for "Error on requestIssue with the insufficient griefing collateral":
     Error: Contract `OneBtc` is not upgrade safe

*: Linking external libraries like `VaultRegistryLib` is not yet supported
    Use libraries with internal functions only, or skip this check with the `unsafeAllowLinkedLibraries` flag
    if you have manually checked that the libraries are upgrade safe
    https://zpl.in/upgrades/error-006
      at assertUpgradeSafe (node_modules/@openzeppelin/upgrades-core/src/validate/query.ts:19:11)
      at deployImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:104:20)
      at deployProxyImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:70:10)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at deployProxy (node_modules/@openzeppelin/truffle-upgrades/src/deploy-proxy.ts:42:26)
      at Context.<anonymous> (test/Issue.test.js:34:19)

  2) Contract: issue/redeem test
       "before all" hook for "vault register test":
     Error: Contract `OneBtc` is not upgrade safe

*: Linking external libraries like `VaultRegistryLib` is not yet supported
    Use libraries with internal functions only, or skip this check with the `unsafeAllowLinkedLibraries` flag
    if you have manually checked that the libraries are upgrade safe
    https://zpl.in/upgrades/error-006
      at assertUpgradeSafe (node_modules/@openzeppelin/upgrades-core/src/validate/query.ts:19:11)
      at deployImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:104:20)
      at deployProxyImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:70:10)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at deployProxy (node_modules/@openzeppelin/truffle-upgrades/src/deploy-proxy.ts:42:26)
      at Context.<anonymous> (test/OneBTC.test.js:34:23)

  3) Contract: Redeem unit test
       "before all" hook for "Register Vault with 10 ONE Collateral":
     Error: Contract `OneBtc` is not upgrade safe

*: Linking external libraries like `VaultRegistryLib` is not yet supported
    Use libraries with internal functions only, or skip this check with the `unsafeAllowLinkedLibraries` flag
    if you have manually checked that the libraries are upgrade safe
    https://zpl.in/upgrades/error-006
      at assertUpgradeSafe (node_modules/@openzeppelin/upgrades-core/src/validate/query.ts:19:11)
      at deployImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:104:20)
      at deployProxyImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:70:10)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at deployProxy (node_modules/@openzeppelin/truffle-upgrades/src/deploy-proxy.ts:42:26)
      at Context.<anonymous> (test/Redeem.test.js:34:19)

  4) Contract: Replace unit test
       "before all" hook for "Register OLD Vault with 10 Wei Collateral":
     Error: Contract `OneBtc` is not upgrade safe

*: Linking external libraries like `VaultRegistryLib` is not yet supported
    Use libraries with internal functions only, or skip this check with the `unsafeAllowLinkedLibraries` flag
    if you have manually checked that the libraries are upgrade safe
    https://zpl.in/upgrades/error-006
      at assertUpgradeSafe (node_modules/@openzeppelin/upgrades-core/src/validate/query.ts:19:11)
      at deployImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:104:20)
      at deployProxyImpl (node_modules/@openzeppelin/truffle-upgrades/src/utils/deploy-impl.ts:70:10)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
      at deployProxy (node_modules/@openzeppelin/truffle-upgrades/src/deploy-proxy.ts:42:26)
      at Context.<anonymous> (test/Replace.js:34:19)

  5) Contract: VaultRegistry unit test
       "before all" hook for "register new vault":
     Error: VaultRegistryTestWrapper contains unresolved libraries. You must deploy and link the following libraries before you can deploy a new version of VaultRegistryTestWrapper: VaultRegistryLib
      at Context.<anonymous> (test/VaultRegistry.js:23:60)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

I fixed it on my branch.. The old tests are missing the VaultReward, and VaultReserve. I have a deployHelper that takes care of the complex deployment : https://github.com/harmony-one/onebtc/pull/101/files#diff-c221a15fc85b042945076d4e178f7b02c4a228c27cc26359950c1153b6e624b1


Set up git ignored file for config variables

This is an alternative approach to resolving #64 that doesn't use dotenv.
I started looking into dotenv, but it seems that a node.js server or build process would need to be added to the project if we want to use it.  At the moment neither of these is present and all JS is executing client side in the browser.  In this context, dotenv doesn't appear to work.
In the mean time I think we can get most of the same benefits without this library by setting up a git ignored JS config file.  This PR adds style/config.default.js as a template to be copied to style/config.js (a git ignored location) where you modify the variables.  This file is imported as a module and then variables can be accessed as config.VAR_NAME.
Does this approach seem sufficient for now, or should we be looking into a build process so we can use the dotenv library?

If we're going to go with this approach for the time being there should be be some changes to style/CONTRIBUTE.md about where to put the MapTiler key before this gets merged.

This looks good to me.  It separates the key stuff to its own file so there's no danger of committing a key with other changes, which was really the big issue.  It sounds like we just need to update the CONTRIBUTE.md to add the key to config.default.js instead of key.js?

Ok, I've updated CONTRIBUTE.md to explain how the config file works so this should be all set to merge.  I think the changes I made to .github/workflows/deploy.yml should ensure the github pages deploy doesn't break, but it's hard to know without a way to test.

ensure the github pages deploy doesn't break, but it's hard to know without a way to test.

Could make the action run on pull requests save for the deploy step. There are examples somewhere…

If I understand correctly how make works, the make config.js won't overwrite a customized config.js
That's correct.  My thinking was that if someone runs make run without having copied config.default.js to config.js first.  This console error is a bit friendlier than just getting a 404 for config.js:

So have make copy the file for you if it's missing.

Only one way to see if this works.

Looks like the deploy didn't work properly.  I expected the config.js file to get committed back to the gh-pages branch.  It's not there though.
https://github.com/ZeLonewolf/openstreetmap-americana/tree/gh-pages

Must be because the file is git ignored.  So although it gets copied, it doesn't end up in the final deployed file set since the target is a git branch.  ugh.

Can we commit a different .gitignore to the gh-pages branch?

Maybe?  The whole idea of a git branch being the deploy target is a bit confusing to me because of things like this.

how are other ignored files handled?  like the whole sprites directory for example?

Looks like we need to add a make config.js to the github workflow here:
https://github.com/ZeLonewolf/openstreetmap-americana/blob/c21037e3cf3c19365ec2fc3f9690afbb4b8c1d49/.github/workflows/deploy.yml#L19-L25

Oh wait, it's already there.

It looks like the way you handled the sprites is by manually committing them to the gh-pages branch despite them being ignored.
https://github.com/ZeLonewolf/openstreetmap-americana/tree/gh-pages/sprites
Since they are git ignored my guess is that will have to be done any time the sprites change even though the make sprites command is part of the deploy action.  Same with config.js.

Ok I manually committed the config.js file with the proper key to gh-pages branch and that appears to have fixed the production map
https://github.com/ZeLonewolf/openstreetmap-americana/commit/aea8d93735fd9b9683cb8c2b2d25a03f873d3f28

I think we can get rid of the export of MAPTILER_KEY, right?

Yup, that should be fine.  I don't think it's used anywhere outside of the config module so it doesn't really need to be exported.


Error while initializing graph

Hi.
I extracted texture from AR Foundation (ARKit). Trying to pass this texture to Mediapipe. In the process, At the time of initializing graph getting the following error.
WARNING: Logging before InitGoogleLogging() is written to STDERR
F20210524 20:22:12.422282 79132864 calculator_graph.cc:125] Non-OK-status: Initialize(config) status: NOT_FOUND: ValidatedGraphConfig Initialization failed.
No registered object with name: FaceDetectionFrontCpu; Unable to find Calculator "FaceDetectionFrontCpu"
*** Check failure stack trace: ***
What could be the reason for this error?
Can I pass a texture of any size or should it be constant 640*480?
Thank you.

Please use issue templates and describe your environment (tool versions, target platform, etc...).
If your target platform is iOS, then you may have built your app with Use GPU unchecked.
Please check Use GPU and build it again.

"Use GPU" worked. thank you.


hwclock: support for s390x

Hello OpenRC team,
I am trying to get clock support for s390x platform at : https://github.com/alpinelinux/aports/pull/6632.
This runs mostly on QEMU/KVM environment. For z/VM I think s390x has to go with swclock.
The gettod.c file is from qemu project:
qemu/include/qemu/timer.h
qemu/target/s390x/s390-tod.h
Thanks.

Hi, I looked at the Alpine PR you linked, and it would be better if you could open a PR against our repository instead of just an issue.
That way we can make sure it builds with our CI, etc.
Thanks much,
William

Hi William @williamh,
My patch is more like a proposal, I still don't have a final patch yet for openrc.
I was using swclock on s390x and it does not work. hwclock returns immediate on s390x without doing anything. But I still get the correct time after each reboot with both of them disabled (*).
As far as I know on s390x, correct way to get time is to call gettimeofday(), kernel will get the time from the hypervisor (be it KVM or z/VM) through its clock source driver called 'tod'.
Looking at openrc source, I don't see where gettimeofday() is called to set the time. I just figured out (*) today. So if you don't have further comment, I would like we just close this issue as I will disable both clock on Alpine s390x.
Many thanks,
Tuan

Or maybe just use hwclock since it's harmless :)


Can't turn on

Doing as you wrote
fpath=(~/nix-zsh-completions $fpath)
autoload -U compinit && compinit
source ~/nix-zsh-completions/nix.plugin.zsh

And nothing works.
Using https://github.com/svenkeidel/nixos-zsh-completion
fpath=(~/nixos-zsh-completion $fpath)
autoload -U compinit && compinit

and it works. Ideas?
> echo $fpath
< ~/nix-zsh-completion etc

You're right that autoload -U compinit && compinit is needed, I will add that to the readme. Otherwise, I've just tested it and it is working for me. Two possible thoughts. In the following:
> echo $fpath
< ~/nix-zsh-completion etc

you're missing the s in nix-zsh-completions. Also, a few of the commands, due to the way they're written, require a - to start the completion. For example:
nix-build -<TAB>

Nothing else comes to mind at the moment. I'll keep thinking :).

Yup, s was missing.
It works now.
Thank you :)

nix-env works nicely.
But
$ nixos-rebuild
_arguments:comparguments:312: invalid option definition: *--arg[Argument

I'm not sure what would cause that. Are you running zsh from nix-unstable, and if not, can you try that version? Here's my zsh version zsh 5.0.7

zsh --version
zsh 5.0.7

Same issue with zsh 5.1.1

@jagajaga @spwhitt
So after asking someone who actually knows what this crazy completion stuff means, turns out that the sh_word_split setopt was causing this particular issue.
He also mentioned that putting the code outside of a .zsh file and inside the completion files would allow the code to be executed without reliance on options set by the user, and therefore should be executed everywhere the same.
For now I disabled my sh_word_split, but might be worth doing a little bit of search&replace to make things less DRY and more stable.

@manveru that worked for me! Thank you.

Fantastic! Thanks @manveru. I'm admittedly new to writing ZSH completions, and I certainly would have never figured this one out. When I get a free moment within the next week or so I'll figure out how to refactor to avoid the problem (make it less DRY like you suggested if necessary), though if someone else wants to make a pull request I'll happily merge it instead and save myself the work.


Revenant Saga [PCSE01065]

App summary

App name: Revenant Saga
App serial: PCSE01065
App version: 1.00

Vita3K summary

Version: v0.1.5
Build number: 2692
Commit hash: https://github.com/vita3k/vita3k/commit/067135d2
CPU backend: Dynarmic

Test environment summary

Tested by: gymzatan
OS: Windows 11
CPU: AMD Ryzen 7 5800H
GPU: AMD Radeon(TM) Graphics
RAM: 16 GB

Issues
Game stays at the loading screen.
Screenshots

Log
vita3k.log
Recommended labels

Intro
unity

as of https://github.com/Vita3K/Vita3K/commit/4280bea5906fdabf90cbb8493a31cf33c96b0b9b. the game is ingame. but slowdowns because i had a terrible CPU.

Logs
vita3k.log

Playable (if you had a good CPU)
unity


Cleanup

Removed phantomjs and safe-buffer (part of https://github.com/brave/brave-browser/issues/5490)
Updated all dev dependencies
Tidy up with newest standard --fix
Naming convention for importing files (like ESM)
Only test latest LTS (v12)

Thanks @jimmywarting


[gettext:x64-windows] build failure

Host Environment

OS: Windows
Compiler: Mingw-w64 8.1.0
vcpkg: a863c848

Failure logs
build-log.txt

Can you please provide the failure logs:
D:\a\Mudlet\Mudlet\3rdparty\vcpkg\buildtrees\gettext\build-x64-windows-rel-out.log
D:\a\Mudlet\Mudlet\3rdparty\vcpkg\buildtrees\gettext\build-x64-windows-rel-err.log
Thanks.

gettext also fails for me:
Computing installation plan...
The following packages will be built and installed:
    gettext[core]:x64-windows -> 0.21#4
Detecting compiler hash for triplet x64-windows...
Could not locate cached archive: C:\Users\michal\AppData\Local\vcpkg\archives\8c\8c63c77ef763b5a4e60543867bc9fba34d4bcc95.zip
Starting package 1/1: gettext:x64-windows
Building package gettext[core]:x64-windows...
-- Using C:/vcpkg/downloads/gettext-0.21.tar.gz
-- Extracting source C:/vcpkg/downloads/gettext-0.21.tar.gz
-- Applying patch 0002-Fix-uwp-build.patch
-- Applying patch 0003-Fix-win-unicode-paths.patch
-- Applying patch rel_path.patch
-- Applying patch android.patch
-- Using source at C:/vcpkg/buildtrees/gettext/src/0.21-d3cbdc875d.clean
-- Getting CMake variables for x64-windows
-- Using msys root at C:/vcpkg/downloads/tools/msys2/703e5aa15d402568
-- Using msys root at C:/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Using msys root at C:/vcpkg/downloads/tools/msys2/aaafe87dcead272e
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_build_make.cmake:201 (message):
  libtool could not find a file being linked against!
Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_make.cmake:26 (vcpkg_build_make)
  ports/gettext/portfile.cmake:96 (vcpkg_install_make)
  ports/gettext/portfile.cmake:138 (build_libintl_only)
  scripts/ports.cmake:141 (include)

I see no additional errors in logs (out attached, err is empty).
build-x64-windows-dbg-out.log

@Kicer86 It fails for everyone on windows on the moment. For activity, see #19337.

Just built gettext from source on Windows 10 x64. No issues at all.

What is 'Mudlet'? Is it a dependency of gettext?

@JackBoosY
build-log.txt
err-log.txt

Duplicated to https://github.com/microsoft/vcpkg/issues/19337.


GPIO functionality

Is there an yway of controlling gpio using this lib?

Hi there!
There currently are low-level GPIO bindings in the flipperzero-sy crate for which there is an example available.

I'd like for us to support the embedded_hal::digitial traits in our high-level flipperzero API, similar to what was done for I2C, but this hasn't been implemented yet.


Support of local labels

Firstly, many thanks for the great project. Secondly, I apologize if GitHub Issues is the wrong place for feature requests.
It would be convenient if suite8080 supported local labels, for instance:
@@:          ; local label (1)
   nop
   jmp @B ; jump back to (1)
   nop
   jmp @F ; jump forward to (2)
   nop
@@:         ; local label (2)
  nop

The particular syntax is not important. Different assemblers do this differently.

Thanks your kind words, I'm glad you enjoy Suite8080. However, I was actually meaning to archive this repo as I no longer use Python, so I won't enchance or maintain Suite8080.
If you need a good 8080 assembler I recommend zasm which, although it's a Z80 assembler, fully supports 8080, is easy to use, and provides several useful directives.

For Python solutions you may have a look at these 8080 assemblers:

8080-assembler
dis_8080

Developing for the Iskra seems like a cool retrocomputing project, best wishes for your work.

TWIMC I created a fork where I fixed this: https://github.com/afiskon/suite8080


Declare exchanges out of band, handle multiple uplink messages

Coverage decreased (-0.03%) to 63.495% when pulling 9075f4ff6f00058dc05b2ec20eed5a4dc224fcbc on feature/amqp into aa07050dba934ae3757d9799ceeedc4de0b35dcf on v2-preview.

Coverage increased (+1.2%) to 64.731% when pulling 9075f4ff6f00058dc05b2ec20eed5a4dc224fcbc on feature/amqp into aa07050dba934ae3757d9799ceeedc4de0b35dcf on v2-preview.

Coverage decreased (-0.03%) to 64.838% when pulling e2a5e53aae4e90054c04792b97be1b8dd9fbd3c8 on feature/amqp into 8f7a12288e8c5ad1764c5baa940d4c54169307af on v2-preview.

Please document how these exchanges should be declared out of band

Coverage decreased (-0.03%) to 64.838% when pulling 47d329c88d3d22aab91694b9d885fc146c52948c on feature/amqp into bc77653de440f63dfdc5b4a719c8ab2a873dd09b on v2-preview.

Coverage decreased (-0.03%) to 64.889% when pulling 9b7dbdc6e81013751c69722372f65a8c621ae39d on feature/amqp into e55130ad263ee49f494f53a0d947795d9e738a7b on v2-preview.

Coverage decreased (-0.03%) to 64.889% when pulling 19ca954592f032eee122148e168e46f417cff16b on feature/amqp into e55130ad263ee49f494f53a0d947795d9e738a7b on v2-preview.


Bad Request returned with Selenium Server

The following error happens on travis :

[Facebook\WebDriver\Exception\UnknownServerException]
Bad request
Command duration or timeout: 119 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'testing-gce-97d34353-11b8-4d81-9d18-263940f9d73b', ip:'<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-92-generic', java.version:'1.7.0_80'
Driver info: org.openqa.selenium.firefox.FirefoxDriver

You can see the full build here : https://travis-ci.org/BrunoSpy/epeires2/jobs/152623178
I cannot find any difference with the previous passed build : https://travis-ci.org/BrunoSpy/epeires2/jobs/151570338

Hi, are you able to reproduce the problem somehow?
Could you provide log from the selenium server? I see in your travis build that you redirects log from it to /dev/null - you could write it to a file and eg. print it to the output at the end of the travis build. (Or see https://github.com/facebook/php-webdriver/blob/community/.travis.yml for an example).

The travis build is ok now, and I don't know why as I didn't change anything...
I was not able to reproduce the bug on my own machine but next time it happens, I will save the log and post it here.

@BrunoSpy Closing for now, but let us please know if the problem occurs again.


Set up automatic firmware testing on Github Actions

It would be valuable to set up automatic build and testing of our firmware code as part of a Github Actions workflow for code checking of all commits and pull requests. There is a lot of I/O-related firmware functionality which we won't be able to test automatically, but anything which can be tested automatically should be tested automatically. We have set up basic automated testing infrastructure of pure-logic software components using Catch2.
Beyond just running Catch2 tests, we would also like to run the following tools:

Gcov for code coverage checking; ideally we actually set up CodeCov, which will run Gcov and will also show reports and will also run things on our backend and frontend. It looks like there is a way to combine Catch2 with Gcov. However, it was brought up in a firmware meeting that Gcov does not provide modified condition/decision coverage, which is expected for automotive systems software. @chittti can you comment on how important MCDC might be for us?
Run-time code checkers: AddressSanitizer, MemorySanitizer, UndefinedBehaviorSanitizer, and LeakSanitizer. We can start by trying to run these checkers on our Catch2 test runner (we will need to confirm that Catch2 itself doesn't cause errors for these checkers); eventually we will have Catch2 tests for all pure-logic code (e.g. our feedback control algorithm implementations, our serial communication protocol logic).

We would also like to set up these automated tests to run in Git hooks (pre-push), as a convenience tool for developers to run the tests without having to look up the command to use.
As for running the automatic tests on Github Actions, it is not entirely clear to me whether this is reasonably feasible or what kind of configuration is needed. Basically we need to build pufferfish-vent-software/firmware/ventilator-controller-stm32/Core/Test/main_catch2.cpp along with everything else in pufferfish-vent-software/firmware/ventilator-controller-stm32/Core/Test/, and then we need to run the resulting binary.
Additional information:

https://github.com/catchorg/Catch2/blob/master/docs/ci-and-misc.md describes how to integrate Catch2 with continuous integration build systems

@renjipanicker Given the real/potential bugs we've been identifying with respect to segfaults and bounds errors (esp. with array indexing), it might be worth looking into instrumenting our Catch2 builds with the run-time code checkers. We'll probably still keep this, along with uploading of code coverage reports onto CodeCov, as a low priority or wontfix at least for the near future - whether we do these remaining things farther in the future will be up to you.


ui: show systemvm agent version in the list and resource view

This adds changes to show the systemvm agent version in the list and resource view.
Fixes #6831
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

How Has This Been Tested?
Saw this in a test env:

@blueorangutan ui

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 4.31%. Comparing base (0271494) to head (765d576).

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19   #9011       +/-   ##
============================================
- Coverage     14.96%   4.31%   -10.65%
============================================
  Files          5373     363     -5010
  Lines        468970   29177   -439793
  Branches      60770    5090    -55680
============================================
- Hits          70183    1260    -68923
+ Misses       391018   27776   -363242
+ Partials       7769     141     -7628

Flag
Coverage Δ

uitests
4.31% <ø> (ø)

unittests
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@blueorangutan ui

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/9011 (QA-JID-328)


Relocate Env port to the right one

A couple more instances where the Env port is wrong

Hi @jadair-cloudera ,
Thanks for the fix, but I think @akanto has already fixed the same issue with this PR on a different approach.
On the other hand if we merge your PR all the Helm charts should be updated to the changed port number.
Could you please close this one?


List of valid point for testing coordinate transform in OrientationPoints form

I have created a CSV of valid points in various plausible transformations
Format is [EPSG number]_x for x coordinate and [EPSG number]_y for y coordinate

3857 - WGS84 Pseudo-Mercator (Arc default I think)
4326 - WGS84
32711 - WGS 84 UTM 11S
32712 - WGS 84 UTM 12S
26712 - NAD27 UTM 12N
26711 - NAD27 UTM 11N

points.csv

I fixed the issue we found with point-validation, and haven't had any further problems spot-checking from the points.csv

I added a maptool to directly pull coordinates for points from the map. I want to give our users a chance to test this feature out and then I think we can safely close this issue.


Gender Classification Model

Related Issues or bug

Created a gender classification model application which can take image from user and predict the uploaded image is either male or female.
Using Streamlit and Python frameworks.

Fixes: #1746
Screenshots

@akshitagupta15june maam please review this pull request.


Add a note on CHANGES and NEWS in CONTRIBUTING

Did you also see my remark about the typo in the commit message?

Did you also see my remark about the typo in the commit message?

Yup

Once finalized, something about this should go into the "contributing" section of the website maybe?

Are you talking about the Getting started page, @richsalz?  'cause I don't know about you, but I see it refer to this file, and I don't see how that should change.

Merged.
master / 1.1.1:
029c11c21fdd018ec51badaafd34118223055274 Add a note on CHANGES and NEWS in CONTRIBUTING
1.1.0:
fca038db55be460d7751910a03e550ba659d3c4f Add a note on CHANGES and NEWS in CONTRIBUTING

Ok then, that's that.  Cool.


Make eventing-controller work when Application CRD is not installed

Currently, the eventing-controller is dependent on Application CRs.
In modularization, Applications CRD may not exists, so we have to make eventing-controller work even when Application CRD is not installed.

Note: EC code is imported, so the flow needs to be changed in Kyma.

The application is used here.
Task(s):

[x]  Check if we are using the Application CRs in eventing-controller.

[x] If not, clean up the Application CRs based logix from eventing-controller.

[x] Test the eventing-manager must work when Application CRD is not installed on cluster.

I verified the Eventing manager is working without depending on the existence of the application CRD by the following:

Deploy Eventing manager.
Enable NATS, Serverless modules.
Run the E2E tests.
Verify with the Eventing tools (validation and loadtest).


[HOTFIX]fixed loading issue for legacy store

fixed loading issue for legacy store
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2831/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11091/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3062/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3063/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3064/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2832/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2833/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3065/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2834/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2835/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11095/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3066/

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3067/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2836/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11096/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2837/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11097/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3068/


Get the full run of a recurrent cell using Lux

Hi! It's not clear to me how to mimic Flux's behaviour of calling a recurrent cell with a list of values like this:
m.(seq) # returns a list of 5-element vectors

m = Chain(LSTM(10, 15), Dense(15, 5))
m.(seq) # works even when we've chain recurrent layers into a larger model

What I want is the full run of the recurrent cell, i.e. a list of all output values.
It also seems not entirely straight-forward to just accumulate them myself because in the trivial version I'm modifying array state, which can't be reverse-diffed.
As far as I can read the source code, the internal Lux code "throws away" the intermediate results when updating a Recurrent or a StatefulRecurrentCell. Is that correct or am I just missing something?
Thanks :)

Code example:
grucell = Lux.Recurrence(Lux.GRUCell(1 => 3))
rng = Random.default_rng()
ps, st = Lux.setup(rng, grucell)
function gruit(input, ps)
	grucell(input, ps, st)
end
gruit(reshape(1:3, 1, 1, :), ps)
gruit(reshape(3:3, 1, 1, :), ps)

I would expect the third element of the return value of the first call to be different than the return value of the second call, but it's the same, meaning the values were individually passed to the GRUCell and not in sequence.

That is not really true. In your example, you are just batching the input differently, so it is effectively a 3 vs 6 independent inputs in each case. What you want to do is:
gruit(reshape(1:3, 1, :, 1), ps)
gruit(reshape(3:3, 1, :, 1), ps)

But you are right, currently there is no way to access the intermediate values. However, it should be quite easy to patch that.

Hi Avik! That makes sense :) The way with the colon in the last dimension was just how the Flux API works.
Just accumulating the state into a vector of course is not AD-friendly. Flux seems to have code to make this work:
# Type stable and AD-friendly helper for iterating over the last dimension of an array
As someone new to AD, this doesn't seem super easy to me :D But I will look into it

Once #287 gets merged, grucell = Lux.Recurrence(Lux.GRUCell(1 => 3); return_sequence=true) will be able to do what you need

Super cool, thanks so much!! :)

Is there a way to make this compatible with Chains? Like:
encoder = Lux.Chain(Lux.Recurrence(Lux.LSTMCell(data_dims => context_size); return_sequence=true), Lux.Dense(context_size => context_size))

This is a special case for Parallel (needs to be implemented). Current behavior:

case 1: x is Tuple, then we pass each value to each layer
case 2: otherwise, pass x to each layer

Updated behavior:

x is tuple and length of x matches each layer pass them
x is tuple but length doesn't match and number of layers in parallel is 1, so pass each of x into the layer.
Number of layers is >1 then pass x into each of them
Number of layers == 1 and x is a AbstractVector

If layer hasmethod for AbstractVector then pass it in
Else pass each element of x into the layer

For your case, you will need:
encoder = Lux.Chain(Lux.Recurrence(Lux.LSTMCell(data_dims => context_size); return_sequence=true),
                    Lux.WrappedFunction(Tuple),
                    Lux.Parallel(nothing, Lux.Dense(context_size => context_size)))

Are you sure this should be a Parallel as well? Maybe there should be another thing for it, like a Broadcast

You are right, Broadcast seems a more appropriate name.

A simple implementation:
struct BroadcastLayer{T <: NamedTuple} <: AbstractExplicitContainerLayer{(:layers,)}
    layers::T
end

function BroadcastLayer(layers...)
    for l in layers
        if !iszero(statelength(l))
            throw(ArgumentError("Stateful layer `$l` are not supported for `BroadcastLayer`."))
        end
    end
    names = ntuple(i -> Symbol("layer_$i"), length(layers))
    return BroadcastLayer(NamedTuple{names}(layers))
end

BroadcastLayer(; kwargs...) = BroadcastLayer(connection, (; kwargs...))

function (m::BroadcastLayer)(x, ps, st::NamedTuple{names}) where {names}
    results = (first ∘ Lux.apply).(values(m.layers), x, values(ps), values(st))
    return results, st
end

Base.keys(m::BroadcastLayer) = Base.keys(getfield(m, :layers))

This doesn't work for me yet, it throws type Float64 has no field weight, I think it tries to broadcast (with the dot) through my singular object in ps
Using it like:
encoder = Lux.Chain(Lux.Recurrence(Lux.LSTMCell(data_dims => context_size); return_sequence=true), BroadcastLayer(Lux.Dense(context_size => context_size)))

What is it supposed to do with multiple layers? I'm not sure I'm reading the results = ... line correctly

Ah a LuxCore breaking release is needed to fix the default parameter setting. For now define initialparameters(rng, l::BroadcastLayer) = NamedTuple{keys(l.layers)}(initialparameters.((rng, ), values(l.layers))

the issue persists with this. did I do it right?
begin
	struct BroadcastLayer{T <: NamedTuple} <: 	LuxCore.AbstractExplicitContainerLayer{(:layers,)}
    layers::T
	end
	function BroadcastLayer(layers...)
	    for l in layers
	        if !iszero(LuxCore.statelength(l))
	            throw(ArgumentError("Stateful layer `$l` are not supported for `BroadcastLayer`."))
	        end
	    end
	    names = ntuple(i -> Symbol("layer_$i"), length(layers))
	    return BroadcastLayer(NamedTuple{names}(layers))
	end

	BroadcastLayer(; kwargs...) = BroadcastLayer(connection, (; kwargs...))

	function (m::BroadcastLayer)(x, ps, st::NamedTuple{names}) where {names}
	    results = (first ∘ Lux.apply).(values(m.layers), x, values(ps), values(st))
	    return results, st
	end

	initialparameters(rng, l::BroadcastLayer) = NamedTuple{keys(l.layers)}(initialparameters.((rng, ), values(l.layers)))

	Base.keys(m::BroadcastLayer) = Base.keys(getfield(m, :layers))
end

LuxCore.initial... you need to add a method for the predefined function.

oof. thanks

Sorry for more annoying. It seems like the issue actually comes from values not working for ComponentArrays as expected, the values function just gives you back the component array.


REF: Use pkg_resources instead of distutils

https://www.python.org/dev/peps/pep-0632/

Thanks @snowman2


MudTabPanel with @key

Bug type
Component
Component name
MudTabPanel
What happened?
hi,  I am trying to create a Tab Page for my MainLayout using MudBlazor. However, when I attempt to add @key to MudTabPanel, it removes the SliderBar when a currently selected tab is deleted.
This is my first time participating in an issue. If there is anything I did incorrectly, please let me know. Thank you very much.

Expected behavior
work
Reproduction link
https://try.mudblazor.com/snippet/caQeYFFbaBgPNjUA
Reproduction steps
1.click a tab
2.remove a tab
3.click b tab
4.click c tab
...
Relevant log output
No response
Version (bug)
6.12.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Seems like when deleting selected panel you need to select new one when using key attribute.
You can do that by using bind-ActivePanelIndex and changing its value in CloseTab event.
Here is example https://try.mudblazor.com/snippet/GkGSuvnaCeudpmGC
But later on you can encounter issue with disappearing slider for last panels. It is an old issue reported here #2816


Test

import events from events.txt file; better error handling if file not present, if too short, or if all events in past

import events from events.txt file; better error handling if events are past or file missing


adding tfsec docs for check file

First stab at documentation generator, very basic but #LittleAndOften

Generate the CHECKS.md file from the registered checks
For now, run it as a pre-commit change to update.

Had to resubmit - till Form3 I had never used signed commits so my personal laptop isn't configured for it


Bazel support: java_test conversion [phab:D173]

Created by schroederc at 2015-04-14 16:34:42:

zarko accepted this revision at 2015-04-14 16:51:47

schroederc closed via commit a1a4780962cbd45262a52d59c7724c4bc537a266 at 2015-04-14 16:52:28


SPOI-4706: Fix names and description of properties in R operator

Please review.

Please do a squash commit.

Created jira:MLHR-1740 for above, please refer the jira here.

Squashed.

Looks like this PR has conflicts. Can you send a fresh one in against the latest?


How long do you plan to open source the entire project?

Very interesting work. How long do you plan to open source the entire project?

Thank you for your interest! We are currently going through some company processes and plan to gradually open-source the project over the coming month.


Documentation for IndicGLUE

Hi,
This repository has some great resources!
I was wondering where the documentation for the fine-tuning datasets are. Sorry if I overlooked something obvious.
I want to evaluate my models (not IndicBERT) on your dataset, so wanted to see how that is possible.
Thanks!

Hi Ameet,
You can find more details here:
https://indicnlp.ai4bharat.org/
Specifically about the datasets here: https://indicnlp.ai4bharat.org/indic-glue/
And paper about this work here: https://indicnlp.ai4bharat.org/papers/arxiv2020_indicnlp_corpus.pdf

Thanks for the reply! I've gone through all these resources.
However, I was referring to documentation on the code for fine-tuning external models. Is this notebook (link) the only available resource for that? Or is there a place I can look for the documentation?

Hey Ameet. Unfortunately, we don't have a documentation yet. We are working on adding both user and developer documentation in our repository.
For now, depending on your use case, you can check if the following helps:

To get all the parameters, use python3 -m fine_tune.cli --help
To check all the available datasets: Refer the ALL_DATASETS dictionary in https://github.com/AI4Bharat/indic-bert/blob/master/fine_tune/cli.py and use the corresponding key in the colab notebook.
Also note that you can use any Huggingface model with the code, you just have to pass its huggingface shortcut name as model parameter. (e.g. for mbert put bert-base-multilingual-cased) For list of all available names, please refer https://huggingface.co/transformers/pretrained_models.html

Thanks so much!
Leaving this open so that you can close it after you have updated the documentation, but feel free to close it!

Hey, I have added some usage notes here https://github.com/AI4Bharat/indic-bert/blob/master/docs/advanced-usage.md. Does it answer your query?


🗜 Set db soft limits

refs #8143
Sets soft limits for certain db fields:

posts:

title: 255 chars (current hard limit: 2,000 chars)
meta_title: 300 chars (current hard limit: 2,000 chars)
meta_description: 500 chars (current hard limit: 2,000 chars)

users:

bio: 200 chars (current hard limit: 65,535 chars)
location: 150 chars (current hard limit: 65,535 chars)
meta_description: 500 chars (current hard limit: 2,000 chars)
meta_title: 300 chars (current hard limit: 2,000 chars)

tags:

description: 500 chars (current hard limit: 65,535 chars)
meta_title: 300 chars (current hard limit: 2,000 chars)
meta_description: 500 chars (current hard limit: 2,000 chars)

Added a specific error message in validate fn for isLength method.

validate will take the tableName value as optional argument to provide a user friendly error message when exceeding db soft limits

added tests for importer

Error message looks like this in Admin Client:

And this is the error itself:
NAME: ValidationError
MESSAGE: Value in [posts.meta_description] exceeds maximum length of 500 characters.

level:normal

posts.meta_description
ValidationError: Value in [posts.meta_description] exceeds maximum length of 500 characters.

Let me know, if this is an ok error message @kirrg001

Value in [posts.meta_description] exceeds maximum length of 500 characters.

I've double checked how the client show the error.
It either shows Bio is too long or Meta Description cannot be longer than 500 characters..
It would be cool to be consistent here and show the same error message as the client.
But we can improve the error message as sub task of #8143 to get that in.

@AileenCGN Don't care about the message improvement as part of #8143 , @ErisDS remembered me on this issue here.


docker build fails with docker for mac 1.12

I found on stack overflow it is related to a wrong assumption for connecting to docker if DOCKER_HOST is not defined.
I found updating to newer plugin 0.4.10 fixes the issue.  will submit for a pull request
Error;
Failed to execute goal com.spotify:docker-maven-plugin:0.4.0:build (default-cli) on project api: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375

Submitted pull request to update maven plugin

I have tried doing this no luck,
Failed to execute goal com.spotify:docker-maven-plugin:0.4.10:build (default-cli) on project pwisestep-job-search-service: Exception caught: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect


tsProject.src() throws errors (gulp.src() doesn't) when using tsconfig.json without "exclude node_modules" section

Expected behavior:
I expected tsProject.src() and gulp.src() to compile .ts files without throwing a bunch of syntax errors from node_modules when using tsconfig.json without adding "exclude node_modules" section in tsconfig.json.
 However, gulp.src() works fine. The only way to get tsProject.src() to work is to add "exclude node_modules" section to tsconfig.json. I can leave it out when using gulp.src(). Why is that?
Your gulpfile:
var tsProject = ts.createProject('tsconfig.json');

gulp.task('script', function () {
    var tsResult = tsProject // tsProject throws errors, but gulp doesn't
        .src(['wwwroot/app/**/*.ts', 'typings/index.d.ts'])
        .pipe(ts(tsProject));

    return tsResult
        .js
        .pipe(gulp.dest('release'));
});

tsconfig.json
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true
  }
}

Note: I have to add the following in tsconfig.json when using tsProject.src(), but I can leave it out when using gulp.src()

,
  "exclude": [
    "node_modules"
  ]

Question

Why does tsProject.src() throw errors (while gulp.src() doesn't) when "exclude" isn't added to tsconfig.json?
What is the difference between using tsProject.src() and gulp.src() for tsconfig.json?
Why does the Using tsconfig.json section suggest using tsProject.src() instead of gulp.src()?

gulp.task('scripts', function() {
    var tsResult = tsProject.src() // instead of gulp.src(...)
        .pipe(ts(tsProject));

    return tsResult.js.pipe(gulp.dest('release'));
});

My gulpfile passes ['wwwroot/app/**/*.ts', 'typings/index.d.ts'] to tsProject.src()
gulp.task('script', function () {
    var tsResult = tsProject // does not only compile .ts files under wwwroot/apps... compiles everything
        .src(['wwwroot/app/**/*.ts', 'typings/index.d.ts'])
        .pipe(ts(tsProject));

Although my tsconfig.json file doesn't exclude node_modules, I was expecting gulp-typescript to only compile .ts files under wwwroot/app directory as well as typings/index.t.ts when I call tsProject.src() and pass in the argument ['wwwroot/app/**/*.ts', 'typings/index.d.ts'].
So does that mean I shouldn't pass any arguments when I use tsProject.src()? And only pass arguments when I use gulp.src()?
It seems that gulp-typescript will use tsconfig.json as long as you pipe tsProject (i.e., .pipe(ts(tsProject))). It really doesn't matter whether I use tsProject.src() or gulp.src() for using tsconfig.json.
The only thing that matters when using tsProject.src or gulp.src is specifying the location for compiling .ts files (unless I add "exclude" to my tsconfig.json).

When switcing to using tsconfig with I get also strange errors like this:
error TS5023: Unknown compiler option '_readableState'.
error TS5023: Unknown compiler option 'readable'.
error TS5023: Unknown compiler option 'domain'.
error TS5023: Unknown compiler option '_events'.
error TS5023: Unknown compiler option '_eventsCount'.
error TS5023: Unknown compiler option '_maxListeners'.
error TS5023: Unknown compiler option '_writableState'.
error TS5023: Unknown compiler option 'writable'.
error TS5023: Unknown compiler option 'allowHalfOpen'.
error TS5023: Unknown compiler option '_transformState'.
error TS5023: Unknown compiler option '_destroyed'.
error TS5023: Unknown compiler option '_transform'.

which where not there when I used inline config
my gulp config looks like this
var APP_BUILD = './dist';
var tsProject = ts.createProject('tsconfig.json');

gulp.task('ts', function () {
    var tsFiles = ['./src/js/**/*.ts', 'typings/**/*.d.ts'];
    var tsResult = tsProject.src(tsFiles)

    return tsResult
        .pipe(ts(tsResult))
        .pipe(gulp.dest(APP_BUILD));

Your configuration is invalid, you're effectively using the stream of files as the compiler options. You should write this:
gulp.task('ts', function () {
    return tsProject.src()
        .pipe(tsProject())
        .pipe(gulp.dest(APP_BUILD));

Also note that tsProject.src does not take an argument. If you want to specify a glob instead of resolving files based on your tsconfig.json file, you can use gulp.src(tsFiles).

Thank you for your fast answer!
I've fixed the incorrect file stream usage, but now I have this in the gulpfile.js
var APP_BUILD = './dist';
var tsProject = ts.createProject('./tsconfig.json'); // I've also tried without './'

gulp.task('ts', function () {
    return tsProject.src()
        .pipe(tsProject())
        .pipe(gulp.dest(APP_BUILD));

but this still gives me TypeError: tsProject is not a function
my tsconfig.json is
{
  "compilerOptions": {
    "target": "es6",
    "module": "commonjs",
    "declaration": false,
    "removeComments": true,
    "noImplicitUseStrict": true,
    "preserveConstEnums": true,
    "noImplicitAny":false,
    "suppressImplicitAnyIndexErrors": true
  },
  "exclude": [
    "node_modules",
    "dist",
    "other-ts-goodies"
  ],
  "include" : ["./src/js/**/*.ts", "typings/**/*.d.ts"],
  "compileOnSave": true
}

Then you're probably using an older version (2.*). In the version 2, you needed to write ts(tsProject), which has been replaced by tsProject() in version 3.

Yay! I've updated the TS version to 2.x and then the plugin to 3.x and it started working.

One last thing - what is the correct equivalent of specifying the single output file ?
When I used gulp config I did this:
.pipe(typescript({
        out: 'myOutputFile.js',

But trying similar with tsconfig.json doesn't work:
    return tsProject.src()
        .pipe(tsProject())
        .pipe(ts({out: 'charting.js'}))

I also tried to up the out property in tsconfig.json, that didn't work either. What I get is smth like
...
[16:59:55] TypeScript: 2 semantic errors
[16:59:55] TypeScript: emit failed
error TS6054: File .../base/dataService.js' has unsupported extension. The only supported extensions are '.ts', '.tsx', '.d.ts'.
...several lines like this...
[16:59:56] TypeScript: 9 options errors
[16:59:56] TypeScript: emit succeeded (with errors)

So it basically converts all the .ts files into .js but doesn't 'build' then into one resulting .js file.

You should set the option in your tsconfig file or you can set it like this: var tsProject = ts.createProject('tsconfig.json', { out: 'charting.js' });. In your second code block, you're compiling your code twice, which causes that you're passing the compiled JavaScript to the compiler. You should still add .pipe(gulp.dest('dist')) to write the file to the disk.
out has been replaced by outFile; the first option will still work, but it is advised to use outFile from now on.

I still get this with latest TS (2.3.2) and gulp-typescript (3.1.6):
gulp stuff
var tsProject = ts.createProject("tsconfig.json", { module: module, declaration: withTypings || false });

    var tsResult = gulp.src([paths.source])
        .pipe(ts(tsProject()));

tsconfig.json
{
  "compilerOptions": {
    "module": "commonjs",
    "removeComments": true,
    "target": "es5",
    "moduleResolution": "node",
    "lib": ["es2016"]
  },
  "exclude": [
    "node_modules"
  ]
}

@grofit Your probably passing files to the compiler which should not be compiled. These files can be included because they are a part of paths.source or because they are (indirectly) referenced by some other files. TypeScript resolves imported files and @types automatically but that's hard to say without seeing the project. Though I think that your behaviour is correct.

Yeah I appreciate its not easy to diagnose without all the info, if it helps my source bit is:
module.exports = {
  source: "src/**/*.ts",
  output: "dist"
};

So it should only be including *.ts files from within the src directory, and I have checked and there is nothing but *.ts files in there, however one file in there index.ts just contains a list of re-exports and no actual logic of any kind, not sure if that would cause any issues?

@grofit Which files give errors? Are those in node_modules/@types?

It doesnt provide a filename just:
[08:05:33] Starting 'build-common'...
error TS5023: Unknown compiler option '_readableState'.
error TS5023: Unknown compiler option 'readable'.
error TS5023: Unknown compiler option 'domain'.
error TS5023: Unknown compiler option '_events'.
error TS5023: Unknown compiler option '_eventsCount'.
error TS5023: Unknown compiler option '_maxListeners'.
error TS5023: Unknown compiler option '_writableState'.
error TS5023: Unknown compiler option 'writable'.
error TS5023: Unknown compiler option 'allowHalfOpen'.
error TS5023: Unknown compiler option 'js'.
error TS5023: Unknown compiler option 'dts'.
error TS5024: Compiler option 'project' requires a value of type string.

I also have node_modules ignored in my tsconfig (well in the exclude bit)

Oh, that's a different problem. You're passing a stream of files (namely tsProject()) to gulp-typescript when you write ts(tsProject()). The ts function expects an object with compiler options, not a stream. You should use .pipe(tsProject()) instead of .pipe(ts(tsProject())).

AMAZING! thanks for clearing that up!


Release v0.3 to Pipy

You forgot to release it there :)

Not to mention that I did not change the version number in setup.py... Fixed, thanks!


Does silent config work on latest OneDrive?

We have been using silent configuration with OneDrive for some time.  However, it no longer works.  We have verified that other organizations are having the issue; we have not misconfigured our environment.
Is silent configuration still supported?  Do the docs need to be updated to indicate that the feature is deprecated?

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

ID: 3a21a400-6ad2-b371-0205-9a1b51b3fe29
Version Independent ID: 801d184f-046b-8d37-30f7-f82ebda3df3f
Content: Silently configure user accounts
Content Source: OneDrive/use-silent-account-configuration.md
Service: one-drive
GitHub Login: @kaarins
Microsoft Alias: kaarins

@loosus456 thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@scanum  Why would I open a service ticket if I don't even know if there is a problem?  I am asking if this feature is still supported.  Do you know for sure that silent config is still supported in the OneDrive client?


How did

This is truly groundbreaking work! How did you obtain the training dataset for the inducible IPTG promoter?


pod required?

Hey! I am currently using expo for the react native development. Is it required to install the pods in order to implement the blockstack SDK?

@whiteyhat thanks for the issue. Our tutorial code uses the pods. @shreyasthiagaraj perhaps tried that out and can answer your question.

Cool! I’m having such a hard time trying to compile the SDK using explo cli

Hey, I haven't tried using expo, but the recommended way to implement the SDK is via cocoapods. What errors are you getting? And I'm assuming by "pods" you're referring to these, I assume:
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
  'Core',
  'CxxBridge', # Include this for RN >= 0.47
  'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
  'RCTText',
  'RCTNetwork',
  'RCTWebSocket', # Needed for debugging
  # Add any other subspecs you want to use in your project
  ]
  # Explicitly include Yoga if you are using RN >= 0.42.0
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  # Third party deps podspec link
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

The Blockstack pod is definitely needed.

https://github.com/blockstack/blockstack-react-native/issues/12

@whiteyhat I think I know what the issue is, and it may be solved with a new release of the Blockstack iOS SDK. Let me do that now and get back to you, just hang on for a bit--apologies for the issue!

Okay, please reply to me as soon is fixed pls

Closing this as it is essentially a duplicate of #12. Please continue the discussion there.


Removes pybind11 runtime dependency

Description
Removes pybind11 runtime dependency from requirements.txt and pyproject.toml.
Issue link (if applicable): resolves #2330
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[ ] Add our license to new files.
[ ] Check that your code adheres to our coding style.
[ ] Write unittests.
[ ] Run the unittests and check that they’re passing.
[ ] Run the benchmarks to make sure your change doesn’t introduce a regression.

@rileyjmurray The only potential downside I saw was that my IDE complains about this line now:
https://github.com/cvxpy/cvxpy/blob/0a8881d9f8ea38a54d992fd6f0cca0db41fda137/setup/extensions.py#L18
Confirmed that running pip install -e . works without issues.

There is a CI failure but it is transient. Happened to me earlier. Maybe conda is having issues?

Looks like there are no objections, merging here.


Babel the same file twice?

At line 64 of package.json:
 "babel:js": "babel public_src/scripts/main.js public_src/scripts/**/*.js > bower_tmp/app.js;",

Why is the main.js processed separately? Will it be processed twice because of the public_src/scripts/**/*.js?

No. The main.js file is separate because it needs to be loaded first, before all the others (other app files depend on things like the angular 'app' module to exist already).
It doesn't load the file twice. The public_src/scripts/**/*.js is looking at js files within subfolders with any name, not for js files outside of those subfolders. At least that's my understanding of it...


add an install hatch just command

https://gist.github.com/Tobi-De/4cc0c1cabbb4c31ffbf102913a841026
https://gist.githubusercontent.com/Tobi-De/4cc0c1cabbb4c31ffbf102913a841026/raw/6d8c873e5a03ca85bdc39aceb78ebe9142e2268e/install-hatch.sh
https://tinyurl.com/install-hatch

curl -L https://tinyurl.com/install-hatch | sh -s $HOME/.local/bin


Encrypt the Secrets.JSON

Recently as i was working on a team project I saw a developer store encryption Keys in the Secrets.Json for sure this is not advisable but according to him storing the Key inside a class then pushing the code to a version control accessible to other team members was worse. Obviously this meant he had to access the Secrets.JSON at all times be it in Production or Development environments. I would be nice to have the Secrets.JSON encrypted and Partially accessible that is only certain Json Objects are accessible at run time in regardless of the environment.

What is Secrets.Json? Is this in reference to user-secrets?
We highly recommend avoiding checking in any secrets into source control. The user-secrets tool is designed to store development time secrets in a location outside of source control.
cc @blowdart

Oh i see. I actually thought i can be used on production. Thanks for clearing that up.


[Feature Request]: Adding popular and new cryto listing

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Add popular and new listing of coins for making your website that adds value to the bot and helps users stay informed about market conditions without actively watching the prices.

Use Case
This feature will help users be more connected and updated with the market trend.
Benefits
No response
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC WOB24 contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Thank you so much for considering my contribution. Do you have any suggestions for this feature or shall I continue to add feature like the screenshot?

It's a bot not an website

ok


Settings update

[ ] Move to browser settings for extensions
[x] Allow toggling on/off each location HUD
[ ] Add advanced settings for modules, for example - always show iceberg info in iceberg

Marking this as closed as it's good enough how it is for now. 🎉


Some Tasks haven't been updated to use the new category capitalization

Describe the bug
As we implemented the category capitalization changes, a number of tasks need to be adjusted to fit into the correct categories
Tasks

Send Twilio SMS
Replace Tokens in Files
Sleep

https://github.com/boomerang-io/flow.loader/pull/35


All the chunks are loaded at once, not on demand

I have the following issue with this demo app: when a page is loaded, all the chunks of the app are loaded at once, not just the ones needed for this exact route. When a user goes to another page, of course, no more chunks are loaded on demand.

Hi @yantakus this is react-boilerplate, why don't you raise an issue with the folks there. It could be related to the configuration they have and how they manage routes chunking.

It looks like you just deleted/ignored our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.