Docker image run on MacOS ends up in error

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
$ docker run covid19model
Expected behavior
Expected results folder populated and figures generated.
Screenshots
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:392,
from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
from :
/usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument ‘__m128’ {aka ‘__vector(4) float’} [-Wignored-attributes]
60 | template<> struct is_arithmetic<__m128>  { enum { value = true }; };
|                                       ^
/usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:61:40: warning: ignoring attributes on template argument ‘__m128i’ {aka ‘__vector(2) long long int’} [-Wignored-attributes]
61 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
|
Calls: stan_model ... cxxfunctionplus ->  -> cxxfunction -> compileCode
In addition: Warning message:
In system(cmd, intern = !verbose) :
running command '/usr/lib/R/bin/R CMD SHLIB file6f80ddb.cpp 2> file6f80ddb.cpp.err.txt' had status 1
Error in sink(type = "output") : invalid connection
Calls: stan_model -> cxxfunctionplus -> sink
Desktop (please complete the following information):

OS: MacOS Catalina
Version 10.15.3

Additional context
N/A

I am getting the same issue when using conda to create the environment and then running base.r in Rstudio in Windows 10.

Hi @usptact, look here Stan has issues with MacOD Catalina
https://github.com/stan-dev/rstan/wiki/Catalina-problems

Hi @jmbrowne26 , Can you give details of the issue not just a single line

Hi @s-mishra this is the error I get when running in the terminal:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created!       2 [main] make 15816 fork: child 8608 - died waiting for dll loa
ding, errno 11
make: fork: Resource temporarily unavailable
Calls: stan_model ...  ->  -> force -> cxxfunction -> compileCode
In addition: Warning message:
In system(cmd, intern = !verbose) :
running command 'C:/Users/j.browne/Documents/R/R-3.6.3/bin/x64/R CMD SHLIB file2c287ef35b3c.cpp 2> file2c287ef35b3c.cpp.err
.txt' had status 1
Error in sink(type = "output") : invalid connection
Calls: stan_model -> cxxfunctionplus -> sink
Execution halted
and when running in the console I get:
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! file398030ec2db2.cpp:6:36: warning: ISO C99 requires whitespace after the macro name
#define STAN__SERVICES__COMMAND_HPP#include <boost/integer/integer_log2.hpp>
^
make: *** [C:/Users/J5116~1.BRO/DOCUME~1/R/R-36~1.3/share/make/winshlib.mk:13: file398030ec2db2.dll] Error 127
In addition: Warning message:
In system(cmd, intern = !verbose) :
running command 'C:/Users/J5116~1.BRO/DOCUME~1/R/R-36~1.3/bin/x64/R CMD SHLIB file398030ec2db2.cpp 2> file398030ec2db2.cpp.err.txt' had status 1
Error in sink(type = "output") : invalid connection

I had a similar issue.  I worked around it by launching a Linux VM on AWS EC2 and running Docker there. :(


Gymkhana scoring plugin

Runs station-keeping + navigation scoring plugins at the same time.
Takes the score from station-keeping if the channel has been passed.
Depends on https://github.com/osrf/vrx/pull/224
The goal for the blackbox is specified in Cartesian coordinates, since the pinger YAML is specified in Cartesian.
This places the red marker for station-keeping above the pinger.
These are the topics associated with the scoring plugin.
The gymkhana is from the new top-level VORC scoring plugin.
The gymkhana_blackbox is from a VRX station-keeping scoring plugin.
The gymkhana_channel is from a VRX navigation scoring plugin.
$ rostopic list
...
/vorc/gymkhana/debug/contact
/vorc/gymkhana/task/info
/vorc/gymkhana_blackbox/debug/contact
/vorc/gymkhana_blackbox/goal
/vorc/gymkhana_blackbox/pose_error
/vorc/gymkhana_blackbox/rms_error
/vorc/gymkhana_blackbox/task/info
/vorc/gymkhana_channel/debug/contact
/vorc/gymkhana_channel/task/info
...

To test:
Keep this command running in a terminal:
$ rostopic echo /vorc/gymkhana/task/info

Initially, the score is always 0.
Use keyboard / joystick to move the boat into the channel.
Once the boat crosses the last gate (determined by /vorc/gymkhana_channel/task/info fields state == "finished" and timed_out == false), non-zero scores should pop up (taken directly from score from /vorc/gymkhana_blackbox/task/info).
Essentially, the score is invalid until the boat crosses the last gate.
The only drawback with this invalidation approach is that, if two users do not cross the last gate, but one got farther than the other, they will both get 0.
One possible way we can have their scores be differentiated is to put something different in the state field of the top-level plugin Task info topic /vorc/gymkhana/task/info. Currently it's "running" or "finished". Maybe if we want to give such users non-zero scores, we can indicate in the state whether they crossed the gate? Then that can be used in combination with the raw score to place the user, if we want.

Comments should have been addressed.
Wiki has been updated with topics of the task https://github.com/osrf/vorc/wiki/Tasks#4-black-box-gymkhana-task


updated:Readme.md example table updated

I will make changes to the table.

Thanks. Commit landed in 387ef05


feat: Add priceLabel to Addon component

Why could this not all be included in price? If there was a difference in HTML structure, I could maybe see the need, but there's nothing stopping you from putting everything in price and not using priceLabel.

I thought about that. Originally we had a JS price formatter and a Handlebar helper. Rather than maintain two formatters, I found the only place the JS formatter was used was to format the price and then concat the priceLabel to pass down to the price field.
I just don't like the idea of having two formatters to maintain. Whatcha think?

Why could this not all be included in price? If there was a difference in HTML structure, I could maybe see the need, but there's nothing stopping you from putting everything in price and not using priceLabel.

I thought about that. Originally we had a JS price formatter and a Handlebar helper. Rather than maintain two formatters, I found the only place the JS formatter was used was to format the price and then concat the priceLabel to pass down to the price field.
I just don't like the idea of having two formatters to maintain. Whatcha think?

In that case, the Handlebars helper can be used, along with the concat helper. I also don't have a problem with both formatters - the Handlebars formatter should be using the JS formatter internally. It also helps when writing template tag (GTS/GJS) components since you don't have to differentiate between the two. In general, we should be using template tag components as much as possible now.


CI for backend API

Is your feature request related to a problem? Please describe.

There is no CI pipeline for backend API

Describe the solution you'd like

Configure CI pipeline for code linting, running unit test and coverage, etc.

Describe alternatives you've considered

N/A

Additional context

N/A

For the code linting, we should use ESlint for the Javascript, and Flake8 for the Python.

For the code linting, we should use ESlint for the Javascript, and Flake8 for the Python.

Yes, looks ESlint is the preferred choice among JavaScript developer. For Python, we have PyLint and Flake8, I think we can just go with Flake8.


Is it possible to open the WIKI up for documentation?

Great stuff you are doing here.
Ideally I would love to contribute, especially to WIKI.
As you can see I have recently started on this.
All around the web is almost enough info on these pedals, but for various reasons hidden away or not collated.
My ultimate aim, now I realise this pedal works in midi, is to create a Ctrlr for it.
I am no GUI expert - but I am good with sysex, reverse engineering, hardware, porting and such stuff.
Instead of collecting and ranting in issues, with your permission I would love to update wiki pages.
With examples, explanations - a glossary so I can get on same page and use consistent nomenclature.
I am also curious about what happened to your G1 (to avoid hitting same issue :-().
If you were in UK I could drop you off a pedal.
I have a B1XFOUR and a G1XFOUR - now that I realise they can essentially do the same thing (it is the ZD2 / ZDL whatever --- see I need nomenclature!!) I dont necessarily need two.
I suspect like me you just get a kick out of looking for hidden Easter Eggs :-)
Best regards
shooking

You also hinted at your age whilst saying "back in the day"... LOL. I'm no spring chicken either. And yes, I'm doing this as it's an interesting puzzle to figure out. I should spend more time practicing bass though.....
My screen failed on the G1, probably as I took it apart many times - figured an FFC track cracked close to the connector. Still talks MIDI, just no screen output.
Let me think on the Wiki side, might like to establish a basic framework first.

Ah so you can still see the ASCII out - cool.
I noticed one command if sent repeatedly iterates thru .. but after a while
it breaks.
Now that I know you didn't brick your pedal by sysex I am more inclined to
get aggressive with the decoding.
Grounds rules is good - really I envisage a "De re Zoom" where the N sysex
headers are the title, some dry but patterns next then copious examples -
just like the 8 bit Atari or SunOS ...now that really dates me.
Also a way to discuss without necessarily going public but with intention
to distil into something public. Like majority of sysex is size 15. But
there are some short form size 8. When I find a 12 say .. am I missing 3
byes and Zoom is putting 00 00 00 in? These sorts of discussions.

But as you said in the beginning - mostly I want to make music with these
and other pedals - and make hardware / software to assist.
Best regards
On Thu, 10 Dec 2020 18:55 mungewell<EMAIL_ADDRESS>wrote:

You also hinted at your age whilst saying "back in the day"... LOL. I'm no
spring chicken either. And yes, I'm doing this as it's an interesting
puzzle to figure out. I should spend more time practicing bass
though.....
My screen failed on the G1, probably as I took it apart many times -
figured an FFC track cracked close to the connector. Still talks MIDI, just
no screen output.
Let me think on the Wiki side, might like to establish a basic framework
first.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mungewell/zoom-zt2/issues/15#issuecomment-742724648,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFO7EVYOVCP73EB6LEUQLMDSUEKTNANCNFSM4UVOECRA
.


Partioner to support more data types

Partitioner currently supports CSV. We need to extend the mechanism to make it more generic and support other implementations, like Apache Parquet

WIP


Can't run "./mvnw install" properly.

When run "./mvnw install", it will automaticly download "Apache Maven 3.5.2", and it will report error as follow:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact com.alibaba.cloud:spring-cloud-alibaba-dependencies:pom:2.2.3-SNAPSHOT @ com.alibaba.cloud:spring-cloud-alibaba:${revision}, E:\Cloud\spring-cloud-alibaba\pom.xml, line 135, column 25
@
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact com.alibaba.cloud:spring-cloud-alibaba-dependencies:pom:2.2.3-SNAPSHOT @ com.alibaba.cloud:spring-cloud-alibaba:${revision}, E:\Cloud\spring-cloud-alibaba\pom.xml, line 135, column 25

mvn -Drevision=2.2.3-SNAPSHOT clean install

mvn -Drevision=2.2.1.RELEASE -DskipTests=true -Dcheckstyle.skip=true clean install  过滤掉TEST

不过滤TEST，简直要等半小时的节奏


Add hyperfine

Closes https://github.com/taiki-e/install-action/issues/257
(more work by me required)

I guess you have to add a bin field to the base manifest like cargo-audit.
https://github.com/taiki-e/install-action/blob/b208058c0b6867428f1ed35938eec7ed87ced1ce/tools/codegen/base/cargo-audit.json#L6


Support migration from Firefly

Summary

Closes #43
Changes

Add firefly source

Testing

...
Regressions

...
Notes for Reviewers

nil
Checklist

[ ] Scope: The referenced issue is addressed, there are no unrelated changes.
[ ] Documentation: Relevant documentation is added or updated.
[ ] Changelog: Significant features, behavior changes, deprecations and fixes are added to CHANGELOG.md.

What is the status here?

It's blocked since we lost access to a Firefly instance.

replaced by #97


Consider whether to support .NET 3.5

Email request from user who still has some 3.5 apps and would like to use FeatureToggle.
Need to investigate how downgrading will affect code and existing packages e.g. Core, need a separate build and NuGet target?
Consider if this would mean a breaking change and semantic version increase to v4?

This will not supported given the move towards .NET core/net standard.


Gradle plugin - different configuration for different builds

I want to have .toString() method in debug, but if includeToString = true I also should add apache library to dependencies. It is only one place where this library is needed, and these methods are redundant in release version.
Also there are two tasks — geterateJsonSchema2PojoForDebug and geterateJsonSchema2PojoForRelease.
I can add this dependency for debug build only, so I need to remove .toString() methods from release build. I don't see correct way to achieve this.

Why not use a property to set the value? For example,

if you have a release phase then you might use 'gradle.taskGraph.hasTask(tasks.xyz)`
if you use an environmental property, e.g. System.env.'xyz'
if you have a project property, e.g. directly xyz or rootProject.hasProperty('xyz') if you need to escape

You might also be able to extend the task using type: GenerateJsonSchemaJavaTask though it may need to be made public (earlier Gradle versions made it public by default, but now has to be explicit).


How to add the spring-boot-cxf-jaxrs to application

I follow Spring Boot guide. I reached chapter 11.4
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#getting-started-first-application-run
Everything is OK.
Then I add dependcy to spring-boot-cxf-jaxrs:1.1
I got exceptions like
ava.lang.IllegalStateException: Error processing condition on com.internetitem.spring.cxf.CxfConfiguration.jsonProvider
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:58)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:190)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:686)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
at cfx.Example.main(Example.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.boot.maven.RunMojo$LaunchRunner.run(RunMojo.java:418)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation)
at org.springframework.util.Assert.isTrue(Assert.java:65)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition$BeanSearchSpec.(OnBeanCondition.java:232)
at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:93)
at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:45)
... 22 common frames omitted
What is wrong? Could you provide working demo how to use spring-boot-cxf-jaxrs?

I just tried to reproduce the above problem but I am unable. I have tested with Spring Boot 1.2.0 (the version I originally developed with), 1.2.5 (latest released version) and 1.3.0.BUILD-SNAPSHOT (latest code). What version of Spring Boot and Spring are you running with?
There is a working example (which hasn't been updated in a while, but should work) here.

My example is here:https://github.com/michaldo/issue1
Command mvn spring-boot:run fails

Unfortunately, your working example doesn't work on my computer. I cloned git repo, call mvn spring-boot:run, I get exceptions like
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'RecipientConfig' in string value "${RecipientConfig}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)

To get GitHook to work, you need to pass some arguments on the command line or else provide an application.properties file (see the project's README.md for more information).
As for your project, you are missing the CXF dependency in your pom.xml:
<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-rt-frontend-jaxrs</artifactId>
    <version>3.0.2</version>
</dependency>

Once you do that you will get a different error ("org.apache.cxf.service.factory.ServiceConstructionException: No resource classes found") which is informing you that you haven't declared any JAX-RS Resource beans. In other words, you are trying to use CXF integration but you aren't using CXF.
The Example service is using Spring's built-in RestController support. Which is great - and can be used in lieu if (or inconjunction with) JAX-RS/CXF - but is a different beast. In fact, if you just remove the spring-boot-cxf-jaxrs dependency from your project, it will work fine.

Thank you, now I started my application.
I think you can increase your documentation.

if spring-boot-cxf-jaxrs needs cxf-rt-frontend-jaxrs, then there should be a maven dependency or documentation note
Minimal demo application (hello world) starting out of the box will be helpful
Line @ImportResource({"classpath:META-INF/cxf/cxf.xml"}) is not clear to me. I don't have cfx.xml it is OK or not? How it relates to default CXF configuration which is expected in /WEB-INF/classes?


TeaVM links incorrect class

TeaVM (v 0.7.0-dev-1204) in my project seems to confuse two identically named classes. Here's the compilation error that occurs on any StringBuilder.append invocation:
ERROR: Method com.google.common.collect.ImmutableSet.iterator()Lcom/google/common/collect/UnmodifiableIterator; was not found
    at com.google.common.collect.ImmutableSet$CachingAsList.iterator(ImmutableSet.java:338)
    at java.util.AbstractCollection.toString(TAbstractCollection.java:146)
    at java.lang.AbstractStringBuilder.insert(TAbstractStringBuilder.java:508)
    at java.lang.AbstractStringBuilder.append(TAbstractStringBuilder.java:504)
    at java.lang.StringBuilder.append(TStringBuilder.java:114)
    ...

StringBuilder.append in the example above is called by string concatenation such as "foo" + "bar"

@ulugbekna please, don't take this "stack trace" into account, it's not a stack trace, but some approximation. There are two options here:

You debug TeaVM to find and fix problem yourself
You provide me access to the code base you are trying to compile and I'll try to fix the issue.

Indeed, sometimes it's quite hard to track down problems like this, but I don't have any solutions for this issue and don't even this it exists in theory.

it's not a stack trace, but some approximation

oh...

Let me try debugging this myself first.
How do you usually approach debugging compilation, e.g., logs, running the compiler in debug mode, etc.?
Is it possible that something scala-specific is causing the problem? Because I don't observe the problem without scala library that I'm adding

But how untrustworthy the stacktrace is? Meaning, if we can't trust this stacktrace, are we sure this is particular method not being found?

@ulugbekna

But how untrustworthy the stacktrace is?

I don't know how to answer this question unless you provide me the metrics for 'untrustworthyness'.

Meaning, if we can't trust this stacktrace, are we sure this is particular method not being found?

Most likely the error TeaVM reports on you project is not related to some issue in your project. There's a great chance of TeaVM being broken and reporting invalid error. But the problem is if error reporter being broken, how can we rely on error it reports to find actual bug? I could tell you if I could reproduce the issue, but I don't have any ideas how to do it.

How do you usually approach debugging compilation, e.g., logs, running the compiler in debug mode, etc.?

As in any other software it depends on the problem. Sometimes you need to debug from IDE, sometimes collect logs, sometimes invent other methods. For this specific issue I would start from debugging MissingItemsProcessor.java. You can find some diagnostics.error calls there, which are good places to put breakpoints.

Is it possible that something scala-specific is causing the problem? Because I don't observe the problem without scala library that I'm adding

Everything is possible.


Migrate from dnscrypt-wrapper to encrypted-dns

The new encrypted DNS server removes the need for the key rotation scripts.
It also significantly improves reliability, and will let us build images that can serve both DNSCrypt and DoH.
The new server can import keys from dnscrypt-wrapper, so the transition can be transparent to users.
The main thing that's missing for now is filtering. I don't know if a lot of people user that feature (server-side), but it will eventually be reimplemented no matter what.

@PeterDaveHello Do you think you could help?

Not sure which part you're asking that I might be able to help?

The new-server branch has been updated to use the new server, and that required quite a lot of changes.
I'm pretty sure you can make your magic again to improve the scripts and reduce the container size :)

The updated image is now available on Docker Hub with the beta tag: jedisct1/dnscrypt-server:beta.

hmmm, I'll take a look, so it'll be merged into the master branch in the future, right?

Yes, it will eventually replace the master branch.
The tricky part is to not break compatibility with previous containers even though the format and the volume mount point changed.

Do we have any ETA on that? When should I start the optimization as I assume the migration is still under going?

There isn't any ETA on anything :)
I was planning to merge the branch to master soon, maybe tonight. It  seems to work fine, although it has a lot of room for improvement. But these improvements can be made to the master branch.
Also one thing that is missing now is the ability to listen to multiple IP addresses (especially for IPv4/IPv6). This is easy to do with the encrypted-dns configuration file, but that can't be configured when creating a container currently.

The master branch has the new server :)

I am having issues with the newest code with kubernetes, seems the configurations no longer work for me and now I get an error saying to init the container when it was already initialized... any suggestions?

@zquestz Aie.
The way keys are stored has changed, as well as the directory where they are stored.
The new location is /opt/encrypted-dns/etc/keys and dnscrypt-init-job.yml was updated with the new path:
        volumeMounts:
          - name: dnscrypt-keys
            mountPath: /opt/encrypted-dns/etc/keys

Same in dnscrypt-deployment.yml:
        volumeMounts:
          - name: dnscrypt-keys
            mountPath: /opt/encrypted-dns/etc/keys

If you had a previous volume mounted in /opt/dnscrypt-wrapper/etc/keys, you may have to revert to the old path.

I tried multiple permutations. I tried mounting the old directory, the new directory and both. Plus even discarded my old setup and tried to launch it from scratch. I could not get past the init error I was seeing. Been running this for years at this point, first time I have had difficulties!

https://github.com/DNSCrypt/dnscrypt-server-docker/blob/master/kube/dnscrypt-init-job.yml has a reference to an old image (jedisct1/unbound-dnscrypt-server).
That one was renamed a long time ago to just dnscrypt-server. Maybe related?
Just a shot in the dark, sorry. I don't use Kubernetes.

Not related. I noticed that and updated the image name. On Oct 28, 2019 5:04 PM, Frank Denis<EMAIL_ADDRESS>wrote:https://github.com/DNSCrypt/dnscrypt-server-docker/blob/master/kube/dnscrypt-init-job.yml has a reference to an old image (jedisct1/unbound-dnscrypt-server).
That one was renamed a long time ago to just dnscrypt-server. Maybe related?
Just a shot in the dark, sorry. I don't use Kubernetes.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.


Add docker ignore file for python

Leaves in the tests/ directory but adds things like git and test coverage file for docker.

Codecov Report

Merging #16 into master will decrease coverage by 5.5%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage    37.3%   31.79%   -5.51%
==========================================
  Files          14       14
  Lines         890      890
  Branches      121      121
==========================================
- Hits          332      283      -49
- Misses        529      598      +69
+ Partials       29        9      -20

Impacted Files
Coverage Δ

modules/cdGetBing.py
13.51% <0%> (-29.73%)
:arrow_down:

modules/cdGetBitly.py
11.82% <0%> (-29.04%)
:arrow_down:

Continue to review full report at Codecov.

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


Escaping characters in links

Describe your issue
Related to #1904
if you use some other sources like flixed.io then during the assembly of the EPG some symbols inside the links are not escaped, such as & and maybe something else. because of this the players think that this xml file is invalid.

cc @freearhey this did not close automatically


Fix Get-GlobalPermissions html parsing

In order to have a good experience with our community, we recommend that you read the contributing guidelines for making a pull request.
Summary of Pull Request

An issue was found with Get-GlobalPermissions where the response of the API didnt have ParsedHTML data. A code change is needed to read the html from response.content directly.
PS C:\Users\Administrator>         $table = $response.ParsedHtml.body.getElementsByTagName("table")[3]
You cannot call a method on a null-valued expression.
At line:1 char:9
+         $table = $response.ParsedHtml.body.getElementsByTagName("tabl ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

PS C:\Users\Administrator> $response

StatusCode        : 200
StatusDescription : OK
Content           : <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">      <title>      Managed Object Browser    </title>


Investigate R5 support

Now that FHIR has officially promoted R5, we should look at how to support it in @bonfhir.
http://hl7.org/fhir/index.html
https://jira.hl7.org/browse/FHIR-5507?filter=19551

Tackled in V2


AppVeyor build and push preview packages to myget feed

TODO BEFORE MERGING:

Transfer ownership of myget feed to domaindrivendev
Create account at appveyor.com
See TODO note in appveyor.yml
Update badge in README.md so it points to domaindrivendev account instead of moander.
https://ci.appveyor.com/project/ACCOUNTNAME/vianett-api/settings/badges
Re-encrypt myget push secret from the domaindrivendev account:
https://ci.appveyor.com/tools/encrypt

Replaced by #208


Add multiple table for DROP TABLE statement

See:
    DROP TABLE IF EXISTS users,hobbies,users_hobbies;

:+1:

Unfortunately, there many small issues like this from this MySQL samples list. So, we will fix problems along with preparing samples for start page.

Done. Will be merged soon. Test358.js


(Questions) Curious about development

Hello, I hope I'm not disturbing anything. I saw this repo out of sheer curiosity. I'm excited to see BetterEnd Forge continue to move toward modern versions. I had a few questions and I hope you don't mind answering.

After you complete this, do you plan to release it on CF/Modrinth?
After the 1,18.2 version is done, do you plan on porting to 1.19.2?
Do you plan on porting Better Nether Reforged as well?

Thank you for your time,
Phwee

Hi, we're happy that you find interest in our development, to answer your questions,
We do plan on releasing the mod once it's completed but we will contact the dev of BetterEnd beforehand to make sure it's okay with them. As for the 1.19.2 port, we didn't plan that far into the future but if everything goes well maybe. Finally, we don't plan on porting BetterNether to forge.
Don't hesitate to ask any other questions you have!

Ahh cool, thanks for responding! I'm interesting in seeing how far this mod port goes in the future. I'll certainly be keeping an eye on this!


Typo "@varbinary_variable"→"@varbinary_variable"

Italic with escape characters
https://docs.microsoft.com/en-us/sql/t-sql/statements/execute-as-transact-sql?view=sql-server-2017

@rothja : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@hyoshioka0128 Because there are merge conflicts, the easiest thing to do is to re-edit this file and make the changes again. You can see the changes that I made further in the "Files changed" tab to change all of the weird **@***variable* formatting to *\@variable*. Please attempt to make these changes again to this file in a new edit and we'll approve. Thank you and sorry for the inconvenience.


[Q] Problem with request.scopes??? Open id? Argumentof type NoneType is not iterable!

I just changed my project Name, and moved my project directory in to some other places, and it just keep printing those error
Argumentof type NoneType is not iterable!!
But the thing is, I've succed Totally fine with other projects,
However, when i changed my project name, and move to some other places,
then it keeps printing those message.
I'm trying to find out what's the error, but the client side works totally fine!
It request the proper uri with geniue client_id and client_secret key`

I think there is no problem with my request, but I cannot find what is the problem.
Also, I think those
ret = server.validate_authorization_request(
                        uri, http_method, body, headers
                    )

codes are keep getting me an message...
anybody have some ideas?
*ps, my enviroment is
python 3.4.3
Flask-OAuthlib==0.9.3
flask 0.11.1
mac os Sierra

I think the problem is related with these?

open Id Issues?

Sorry! !
it was just the problem with upgrading all my packages.
I think Oauthlib 2.0.0 and flask-bcrypt isn't working completely with
flask-oauthlib 0.9.3 !!


Add apply_concat_apply public method to dd.Series and dd.DataFrame. Addresses #1313.

Should address https://github.com/dask/dask/issues/1313
This includes @mikegraham patch https://github.com/mikegraham/dask/commit/e699acf07c86ead1e8fa048cc9a79889afed323b.
Comments on the method naming and examples are appreciated.

Thoughts on alternative names to apply_concat_apply?

The good think about the name apply_concat_apply name is that it self explains what the method does. Some brainstorming:

nested_aggregation
aggregate
aggregate_partitions

I apologize about the long delay in reviewing this.  I was distracted by conferences and moving.  Back now.  Let me know if there is anything more I can do here to help.

I've made some suggested changes here: https://github.com/dukebody/dask/pull/2

Sorry, I'm quite short on time these days as well and failing to move this forward. I will try to review your proposed changes during next week.

What's the status of this? If you don't have the time/interest in finishing this up, I'd be happy to finish it for you.

Hi @jcrist . I think it's better if you finish this one. I have not had time yet to review the proposed changes and I don't want to block this anymore. :)  Thanks a lot!

Superseded by #1483. Closing.


Update http4s-blaze-client, ... to 0.21.13

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-core
org.http4s:http4s-dsl
org.http4s:http4s-prometheus-metrics

from 0.21.8 to 0.21.13.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Codecov Report

Merging #732 (0b6a291) into master (1407759) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #732   +/-   ##
=======================================
  Coverage   81.40%   81.40%
=======================================
  Files         114      114
  Lines        3986     3986
  Branches       93       93
=======================================
  Hits         3245     3245
  Misses        741      741

Impacted Files
Coverage Δ

...pes/src/main/scala/com/ing/baker/types/Value.scala
69.41% <0.00%> (-1.18%)
:arrow_down:

.../akka/actor/process_instance/ProcessInstance.scala
86.48% <0.00%> (+0.67%)
:arrow_up:

Continue to review full report at Codecov.

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


Grammar: Clean up punctuation config

It shouldn't change anything (theoretically). It's a clean up pr to make punctuation grammar config more consistent to other fields.

Could you rebase? Then ready to go.

Sorry, a changelog too please, then ready to go.

Nothing changed, I'd say. Just moving code around


Datepicker initDate

This seems to not be doing anything.
Technically is to set an initial date, but you already do that with the ng-model.
In fact, if you add some init-date, it will get overrode immediately by ng-model.
So, send it to the drain?

It sets the initial active date I think, which differs from the model

On datepicker popup, I can set a date and it will go through just fine.  But when I load it with a date from the model, it will load and even show the correct date when the popup is open, but when the form is submitted it says "invalid".
Now, if I select some other date and then go back to the original date, it will work.
So - for some reason, the validators are not validating the initial input.  They only validate IF you actively select a new date.
Hope that helps - the datepicker is AWESOME - but this bug sucks!
Thanks,
Gim

Please, create an issue if you have a bug, with a reproduction plunker, but don't use this one. Thanks.

@wesleycho, @Foxandxss, what is the resolution on this one?
The docs currently reads

The initial date view when no model value is specified.

Is this going to be removed, or are any other changes wanted?

I opened it to investigate what it really does, but I personally didn't dig too much. So for me, it is still due for investigation.

@Foxandxss, @wesleycho - looks like this is being used now based on Wes' recent changes.  Can this be closed?

I took a look - init-date actually does something, as can be seen here.
Going to close as it is indeed being used.


[Source Request]

Name: Voiranime
Link: https://voiranime.com/
Language(s): French

&

Name: Neko-sama
Link: https://neko-sama.fr/
Language(s): French

Is someone motivated?

I recommended the Aniyomi application on my discord server (200 French), so yes


support for bpftrace_send_signal

Will be in Linux 5.3; bcc already has support: https://github.com/iovisor/bcc/pull/2387/commits/d3d3808b185457c7bb69e35f0fee5cd397c46991
I propose we have a builtin called signal(), which accepts the signal number as the argument. Any objections?

Yeah, this would be a great addition. Should be marked as an unsafe action though owing to it's wide ranging powers.

+1 that it should be unsafe.


Feat/autocomplete ts4nfdi api gateway

TS4NFDI API Gateway story for the autocomplete.
Created two new classes for OLS and Gateway objects, since the JSON response differs (e.g. nesting, naming of ontology vs ontology_name). This makes it backwards compatible with the OLS API.
For the backend type to be shown in the hover menu, please merge first: https://github.com/ts4nfdi/terminology-service-suite/pull/101
Then I can implement the new feature. Otherwise there will be merge conflicts.

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Licensing requirement for GCC environment

Since GCC environment doesn't have free licenses, please update licensing requirement for premium workspace access in GCC.
How do users who don't have a Power BI Pro license in GCC access a premium workspace?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 220c2a2b-9a3e-3bdf-5fcd-ac2fc85542b4
Version Independent ID: 024b0981-3008-08cd-8d2d-4dc6d87fe3fd
Content: Organize work in the new workspaces in Power BI - Power BI
Content Source: powerbi-docs/collaborate-share/service-new-workspaces.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @haider392 -- I added a link to the article "Power BI for US government customers"
https://docs.microsoft.com/en-us/power-bi/admin/service-govus-overview
The change will be live Mon Aug 10 afternoon.
Hope that helps!


Issue-853: Enable Application Test mode from UI

This fixes https://github.com/hortonworks/streamline/issues/853 and both the sub tasks mention in it.

+1


Milestone 2

This issue is meant to track progress on the acceptance criteria and evidence of milestone completion for M2. It also serves as summary document as requested by the milestone completion evidence.
Acceptance Criteria
These are the acceptance criteria for M2
1. Cardano node database snapshots are automatically taken at least once per epoch for each public
network (mainnet, preprod, and preview).

2. The latest two snapshots for each network are retained, at minimum.

3. Anyone can access key metadata about the database snapshots programmatically in JSON format
(containing the download URL and any other relevant information).

4. Files downloaded from each URL are valid Cardano node database snapshots.

5. The restore script successfully restores the downloaded snapshot (allowing the Cardano node
 to continue syncing from that point).

6. The portion of the source code related to creating the snapshots, as well as the restore script,
are publicly accessible with an open-source licence.

7. Any documentation required for utilising the caching service is made publicly available.

As detailed in the change request, most of the acceptance criteria for this milestone are already satisfied by the mithril network, which we use to fetch a trustable snapshot of the cardano-node data.
Criteria 1, 2, 3, 4 and 7 are all already provided by the mithril network:
For criteria 5 and 6 we have created a docker image that contains the cardano-node together with a mithril-client. This image can be used to restore the latest snapshot for each network before starting the node. This image is automatically built and pushed to dockerhub every time there is an update to the relevant files on the repo

https://github.com/mlabs-haskell/cardanow/blob/master/components/cardano-node/Dockerfile

https://hub.docker.com/r/mlabsci/cardano-node

Evidence of Milestone completion
[x] Source code and documentation in the https://github.com/mlabs-haskell/cardanow repository.
[x] A test suite that verifies the acceptance criteria have been met (excluding any criteria which do not apply to automated testing).

Criteria 5 and 6 do not apply to automated testing. The rest are handled by the mithril network directly and as such we don't have  automated tests for that. We are planning to build a whole end-to-end suite, that will spin up a mithril network on a devnet and use that to test the creation and validity of a snapshot, but this will only come in play when the whole end-to-end flow is ready (which will happen in M3)

[x] A video demo explaining how to utilise the caching service.
[x] A summary document that links to specific video timestamps, tests, and acceptance criteria, where applicable.
[x] A post on one or more MLabs social channels announcing the availability of the caching service.

Already approved weeks ago


Release/0.0.9

Codecov Report

Merging #54 (2b6d21d) into main (5329312) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   73.48%   73.48%
=======================================
  Files          11       11
  Lines        1373     1373
=======================================
  Hits         1009     1009
  Misses        364      364

Impacted Files
Coverage Δ

origami/_version.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Autocompletion in Prisma schema

Problem
Right now, the Prisma VS Code extension only shows Red squiglly lines on errors but doesn't actually write your schema in the first place.
Solution
We could implement autocomplete for the Prisma VS Code extension (and other editor plugins) so that people get suggestions for available type, model and field names.
Additional context
Ben Awad mentioned this idea at the beginning of his Prisma 2 Beta review.

@schickling wrote some notes in https://github.com/prisma/vscode/issues/96#issue-598258644:

The VSC extension should enable context-aware auto-completion. This includes:

Suggest semantically correct attributes / types (i.e. don't display attributes that would be invalid in this context)
The auto-completion should also show inline docs (similar to JSDoc for Prisma Client JS)

Update: https://imgur.com/cmSkBms.gif 🔥 🔥 🔥
Nice work so far @carmenberndt 👏


Question about the 128K context dataset

Hi! Thank you for sharing your insights by paper and open source code. But I found the dataset is always 64K in length even when training the 128K model.
For example, train.sh trains the 128K LLAMA model as follows:
accelerate launch finetune.py \
    --output-dir output/yarn-7b-128k \
    --model output/yarn-7b-64k \
    --max-train-steps 200 \
    --scaling-factor 32 \
    --seed 31337

where args.dataset is still the default one: emozilla/pg_books-tokenized-bos-eos-chunked-65536
    args.add_argument("--dataset", type=str,
                      default="emozilla/pg_books-tokenized-bos-eos-chunked-65536")

But how can we use this dataset chunked into only 64K to train the 128K model? I think the tailed half of the model input is the padding. Additionally, I didn't find any chunked version of PG19 in the length of 128K in https://huggingface.co/emozilla.
Please kindly help solve my problem, thank you again!

solved question after reading more details


Update definitions.js to fix @bad slash in steps.d.ts bug typescript

Motivation/Description of the PR
Applicable helpers:

[ ] Webdriver

[ ] Puppeteer

[ ] Nightmare

[ ] REST

[ ] Appium

[ ] Protractor

[ ] TestCafe

Description of this PR, which problem it solves

Resolves #issueId (if applicable).

Type of change

[ ] Breaking changes
[ ] New functionality
[x] Bug fix
[ ] Documentation changes/updates
[ ] Hot fix
[ ] Markdown files fix - not related to source code

Checklist:

[ ] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[ ] Lint checking (Run npm run lint)
[ ] Local tests are passed (Run npm test)

This merge request decides https://github.com/Codeception/CodeceptJS/issues/2084?

Hi Vorobeyko,
Yes. This request is for fixing #2084. I put the wrong issue label#2172(which is duplicated to #2084)


AUG 19th - World Humanitarian Day

Today, on World Humanitarian Day, we honor the heroes who dedicate their lives to helping others, often in the most challenging circumstances.
At CLENT Africa, we are committed to humanitarian efforts that promote sustainable development and environmental conservation. Whether it's providing clean energy solutions to remote communities or empowering locals with sustainable practices, our mission is rooted in compassion and action.
Let’s reflect on how we can all contribute to humanitarian efforts in our daily lives. Share your thoughts or a story of a humanitarian who inspires you.
#WorldHumanitarianDay #HumanitarianHeroes #SustainableDevelopment #CLENTAfrica #CompassionInAction
@clentafrica/wg-design @erioc

@clentafrica/wg-design @erioc just a reminder to start working on this design as we approach August 19th. Thank you :)

I would make the design available before the end of tomorrow, 15th.

This is nice
On Thu, Aug 15, 2024 at 8:48 AM Rehbehkah @.***> wrote:

CLENT.AFRICA_World.Humanitarian.Day.jpg (view on web)
https://github.com/user-attachments/assets/58ac403d-5a5c-4e77-9f59-cd0d33803910
—
Reply to this email directly, view it on GitHub
https://github.com/clentafrica/marketing-and-comms/issues/27#issuecomment-2291206242,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJQTEFJHUKXQJ2YQ5GLZY3DZRSPSVAVCNFSM6AAAAABMDDKPLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGIYDMMRUGI
.
You are receiving this because you were assigned.Message ID:
@.***>

@Okpeelizabeth1989 to post on instagram and Facebook @erioc to post on twitter. I will post o

Due August 19


Any support for 120fps or more?

Recently, iOS devices got 120Hz panel their own iPad lineup.
I think support for 120fps or more isn't hard at all. I've managed to made setFPS function on the Android Native project. (Using Java Reflection interface)
I hope Solar2D to get more fps options to use.
I'm sorry for my bad English.
The Java code of mine is below :
NamedJavaFunction setFPS = new NamedJavaFunction() {
	@Override
	public int invoke(LuaState luaState) {
		int fps = luaState.checkInteger(1);
		try {
			if(fps > 0) {
				Field pmController = runtime.getClass().getDeclaredField("fController");
				pmController.setAccessible(true);
				Object mController = pmController.get(runtime);
				Class.forName("com.ansca.corona.Controller").getDeclaredMethod("setTimer", int.class).invoke(mController, 1000 / fps);
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
		return 0;
	}

	@Override
	public String getName() {
		return "setFPS";
	}
};

We'd like to be able to switch between 30fps and 60fps at runtime so that slower devices can be capped at 30, or even just to preserve battery.
If airtaxi's method could be used for both enabling 120fps and assigning 30/60 at runtime that would be great.

We'd like to be able to switch between 30fps and 60fps at runtime so that slower devices can be capped at 30, or even just to preserve battery.
If airtaxi's method could be used for both enabling 120fps and assigning 30/60 at runtime that would be great.

My method does supports changing FPS at runtime.
At least, on Android.

Following. This would be excellent!


Issue with 3-column bed file

I seem to have a problem using a 3-column bed file. sort_merge in bedutils.py requires a bed file with four columns and throws an error.
I am using a fairly current bcbio development version from Monday: bcbio-nextgen,1.0.1a0-021ba76.
I have used these bed files before with bcbio 1.0.0. Not sure why sort_merge is only called now. Still debugging this, but the issue above is quite obvious.

The reason could be that I am running cnvkit now with the development version. See this commit: https://github.com/chapmanb/bcbio-nextgen/commit/051e9de318203944ee710f505e8aa338d578ba22

This may be related: With the same workflow/template but different bed file (now 4-column) I get an error that the bed file is not sorted. The file is indeed not sorted, but I did not get this error with bcbio 1.0.0. So some things have changed how you prep bed files, I guess.
[2017-01-02T22:36Z] Timing: structural variation
[2017-01-02T22:36Z] Timing: structural variation ensemble
[2017-01-02T22:36Z] Timing: structural variation validation
[2017-01-02T22:36Z] multiprocessing: validate_sv
[2017-01-02T22:36Z] Timing: heterogeneity
[2017-01-02T22:36Z] Timing: population database
[2017-01-02T22:36Z] Timing: quality control
[2017-01-02T22:36Z] multiprocessing: pipeline_summary
[2017-01-02T22:36Z] QC: M0492_S3 fastqc
[2017-01-02T22:36Z] QC: M0492_S3 qualimap
[2017-01-02T22:36Z] QC: M0492_S3 samtools
[2017-01-02T22:36Z] QC: M0492_S3 gemini
[2017-01-02T22:36Z] Uncaught exception occurred
Traceback (most recent call last):
  File "/home/ubuntu/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 22, in run
    _do_run(cmd, checks, log_stdout, env=env)
  File "/home/ubuntu/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 102, in _do_run
    raise subprocess.CalledProcessError(exitcode, error_msg)
CalledProcessError: Command 'set -o pipefail; /home/ubuntu/local/share/bcbio/anaconda/bin/bedtools merge  -i /bioinf-data/10112-cnv-input/validation-1/trusight_cancer_manifest_a_remap.bed > /bioinf-data/10112-cnv-validation-1/work/bcbiotx/tmp2jLC2G/trusight_cancer_manifest_a_remap-merged.bed
Error: Sorted input specified, but the file /bioinf-data/10112-cnv-input/validation-1/trusight_cancer_manifest_a_remap.bed has the following out of order record
chr10	72357808	72358938	PRF1.chr10.72357808.72358938
' returned non-zero exit status 1
[2017-01-02T22:36Z] QC: M0492_S3 qsignature
[2017-01-02T22:36Z] QC: M0492_S3 coverage
[2017-01-02T22:36Z] QC: M0492_S3 variants
[2017-01-02T22:36Z] QC: M0492_S3 picard
[2017-01-02T22:36Z] QC: M0199_S1 fastqc
[2017-01-02T22:36Z] QC: M0199_S1 qualimap
[2017-01-02T22:36Z] Uncaught exception occurred```

Ben;
Thank you for the report and detailed examples. I was able to reproduce the first problem and pushed a fix for it so you can now provide 3 column BED files to CNVkit as well.
I couldn't figure out exactly where the second issue comes from. Would you be able to re-run that problem sample with the latest development version using a single core (bcbio_nextgen.py your_config.yaml -n 1) and post the traceback so we can see exactly where it happens?
Sorry about the issues and thank you for the help debugging these.

Brad,
the second issue stems from an unsorted bed file and the use of qualimap. I think bcbio sorts bed files prior to feeding them to the various tools - probably with the exception of qualimap? When I sort the bedfile with bedtools and restart the task (removing bedprep) the run is finished without errors. Should I open a separate issue?

Ben;
Thanks for following up with the pointer to Qualimap. This helped me identify the issue and push a fix for it. Hopefully everything will now run cleanly going forward even with unsorted BED files. Thanks again for the help debugging.


bugfix: Process fee accumulator disbursements last

The special fee accumulator account can temporarily attain negative balance due to the order in which we process events. When that happens, the indexer grinds to a halt (first at height 8049946) because negative balances violate DB constraints.
This PR fixes the order of event processing to avoid that situation.
An alternative solution discussed in Slack is to special-case the fee accumulator account, and not track it at all.
Another alternative (slow) is to try and change oasis-core so it returns events in the "right" order (see comment in the code diff).
Testing: running locally now.

Just to add another option - when I was debugging the negative balances, I just special-cased the constraint:
ALTER TABLE oasis_3.accounts
    ADD CONSTRAINT positive_balance CHECK (address = 'oasis1qqnv3peudzvekhulf8v3ht29z4cthkhy7gkxmph5' OR general_balance >= 0);

It's not the cleanest, but given that we only have a single fee accumulator address it worked well enough.

Just to add another option - when I was debugging the negative balances, I just special-cased the constraint

I thought of that approach too, and am not opposed to it. A downside of the custom types that we're now using (like UINT_NUMERIC) is that we cannot encode such an exception, unless we stopped using the custom type for that particular column. That is also fine, but it adds a little to the ugliness.
I do prefer the solution from this PR because it doesn't throw away any data or safety checks, and feels (to me) like it introduces a less-special special case, despite the extra code. But if it turns out that it does not suffice, I think this SQL-based exception is also a good way to go :+1:

how did this transfers system work? I didn't know it was separate from the staking events processing

That's the same thing. "transfers" = actual processing of (most) staking events, i.e. tracking of balances. "queueStakingEvents" = no processing/balancing, just logging. See also my other comment; hope that clarifies.

I guess we can't defer check the constraint.

Ah yes we only discussed this on slack. Correct, we can defer FK constraints but not CHECK constraints until the end of the db tx. It's an unfortunate postgres limitation.


On Linux, graphics::clear() does not behave properly, when having drawn a Canvas

Somehow, on Linux, if you draw to a canvas, and then draw the canvas to the screen, you can not fully clear the screen.
When I call graphics::clear(), I expect the screen to be empty, so I can redraw my interface. However, the pixels from an earlier drawn Canvas are not cleared.
I modified the Hello World code to reproduce this:
    fn draw(&mut self, ctx: &mut Context, _dt: f64) -> tetra::Result {
        graphics::clear(ctx, Color::rgb(0.01 * self.iter, 0.584, 0.929));

        let fg = Canvas::new(ctx, 1280, 720);
        let bg = Canvas::new(ctx, 1280, 720);
        graphics::set_canvas(ctx, &fg);
        graphics::draw(ctx, &self.text, self.position + Vec2::new(0.0, self.iter));

        graphics::set_canvas(ctx, &bg);
        graphics::draw(ctx, &self.text, self.position + Vec2::new(0.0, 40.0 + self.iter));

        graphics::reset_canvas(ctx);

        // draw background canvas to screen
        graphics::draw(ctx, &bg, Vec2::new(0.0, 0.0));

        // draw the original text
        graphics::draw(ctx, &self.text, self.position + Vec2::new(0.0, 20.0));

        // draw foreground canvas to screen
        graphics::draw(ctx, &fg, Vec2::new(0.0, 0.0));

        Ok(())
    }

See full file in attachment.
I added two canvases, fg and bg , which also contain the moving text, yet positioned on other y-coordinates, so we can tell them apart.
To be discover whether the canvas is initially empty, we render the canvas a bit lower every loop. At first I thought the Canvas framebuffers were not cleared, but I can now tell they are.
Where the middle text is moving nicely, and the old pixels are cleared in graphics::clear, the top and bottom texts, which are first rendered to a Canvas, are not cleared on graphics::clear. So remnants of those draws remain on the screen.
This looks like:

I have been looking at the Tetra code, but I can't find an obvious cause of this behaviour.
I tried a workaround, where I call graphics::clear after I set the render canvas. With one extra canvas layer, it seems to work, but with more than one canvas layer, there is weird behaviour and flickering, and all hope is lost...
tetra_linux_test.tar.gz

This is on Arch Linux x64 with the following OpenGL version:
OpenGL Device: Mesa DRI Intel(R) Haswell Mobile
OpenGL Driver: 4.5 (Core Profile) Mesa 19.2.0

I think I see the problem! You're recreating the Canvas objects every frame - they're pretty expensive to create, so it's rare that you should ever need/want to do this.
Also note that calling clear will only clear the current render target, so if you want to clear your canvases and the screen, you'll need to call it once for each.
 If so, I'll leave this open as a reminder to document this better!

Thanks so much for your quick response!
Your suggestion works! I created a Vec in the Gamestate, which initializes the layers (creates the canvases) I need in the ::new() function.
In the draw functions, I made sure each canvas is cleared, like you said, with Color:rgba(0.0, 0.0, 0.0, 0.0). Pretty straightforward.
It's hard to say if this is a bug or expected behavior, and whether I could have avoided this if the documentation were better... I did not experience these issues on Windows but maybe I just got lucky.
Anyway, thanks for helping me resolve this.

Yeah, I must admit, I'm not sure why creating the canvases every frame led to such weird graphical glitches 😅 I'll take a look at your original code at some point and see if I can replicate.
At the very least though, I definitely need to add a big "don't create canvases in draw!" message into the docs :) I know I've made similar mistakes in other frameworks before.

I've added a note to the docs, as well as some example code that demonstrates proper usage of the API.


JSON only parses 8192 rows?

I'm looking at the dataset located here: https://covid19.who.int/who-data/countries-by-day.json
It takes a little coercing (keys are a combination of the dimensions and metrics values, the data are in rows) but I've turned it into a CSV file and loaded it into roapi and all is good, 178,935 rows in the resulting API.
However, having similarly converted it to a more conventional JSON structure, roapi doesn't seem to serve all the records, only holding 8,192 rows (I'd presume this was an error in the conversion were it not for the fact that this batch_size used internally.)

I've tried this again with a dummy JSON file created with more than 8,192 rows and the same thing appears to happen (though not with a similarly-size CSV file):
import json
with open("test.json", "w") as o:
    json.dump([{"a": "b"} for _ in range(8192 * 2)], o)

Then running cargo run --bin roapi-http -- --table=test.json and counting the rows returned:
$ curl --silent "http://<IP_ADDRESS>:8080/api/tables/test" | jq | grep a | wc -l
8192

Thanks @PsypherPunk , I found the bug and will get it fixed by end of today.

Amazing—thanks, @houqp!


Store referece instead of full token tree in tokenbuffer

This PR try to minimize the memory allocation in converting SyntaxNode to TokenTree by using reference isnteead of full token tree in TokenBuffer.
Note that the final goal is replace TokenTree with TokenBuffer such that there is no conversion between them.

bors r+


Move app to a monorepo

for you to publish a blueprint you now need to have a dependency on layer-gen so you can extend the Blueprint class (ever since #3)
This means that we are exposing way too much in the current situation. Much to my chagrin it's probably best to move to a monorepo so we can publish blueprint itself independently

I have no idea why this is failing 🙃 I'll figure it out later


refactor/fix/test: CalcActualAmounts rounds in favor of the pool

Closes: #4644
What is the purpose of the change
Currently, rounding behavior in CalcActualAmounts is incorrect.
When adding a position, it should round up so that the user provides more tokens for a given amount of liquidity in favor of the pool.
What withdrawing a position, it should round down so that the user receives fewer tokens for a given amount of liquidity in favor of the pool.
Note, that we always over charge by at most one base unit in favor of the pool which is the desired behavior.
Brief Changelog

remove redundant params from CalcActualAmounts
refactor with correct rounding behavior
add tests
refactor earlier tests

Testing and Verifying
This change is a trivial rework / code cleanup without any test coverage.
Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? no
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
How is the feature or change documented? not applicable

after this fix should we still be truncating values here? https://github.com/osmosis-labs/osmosis/blob/main/x/concentrated-liquidity/position.go#L355

Yes, it's fine because the position has positive liquidity so it should be rounding up. Basically, we first round-up, then truncate. It's equivalent to always rounding up


When swapping fields in the DOM text input value was preserved from the previous control.

This adds a test case to that effect, ensuring that when re-rendering a component that replaces one field with another, the input value after the switch is properly changed.
We fix this by making controlPropsMap.text pass the modelValue as value instead of defaultValue which is only used on initial render.
Every other input component appears to be a controlled component so this one probably should be too.

I'm a bit wary about this one because it would probably break updateOn="blur" functionality. I'm trying to think of an alternate solution.

This issue is addressed by https://github.com/davidkpiano/react-redux-form/commit/7d3dedb093b56861c3f03906468665cf6264f025.


torch.utils.data.BufferedShuffleDataset was removed

not documented but the class no longer exists as of torch 1.9

Hmm, so it means we lose pytorch random shuffling again?

TODO: Verify that rikai.torch.Dataset can work with new PyTorch's shuffling capability (or add back shuffling ourselves?)

https://pytorch.org/blog/pytorch-1.11-released/  Probably need to implement this new API


help  inset lable

how i can to insert  word or bitmap to pdf ？   just like insert  a lable like on pc

you can only overlay ontop of the page, but its not a permanent fixture.


pulseaudio: add libintl dependency on darwin

Log of failure: https://hydra.nixos.org/build/174832426/nixlog/4
Refs: ZHF #172160
Signed-off-by: Otavio Salvador<EMAIL_ADDRESS>Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 172230 run on aarch64-darwin 1

7 packages marked as broken and skipped:

anki
imgbrd-grabber
mnemosyne
projectm
retro-gtk
rootbar
shattered-pixel-dungeon

11 packages failed to build:

castty
gnomeExtensions.sound-output-device-chooser
libcanberra
libcanberra-gtk2
libcanberra-gtk3
libpulseaudio
libsoundio
moc
pulsemixer
rhvoice
roc-toolkit

❯ nix log /nix/store/jk3ya7d6i0nycwfmd4mrcnxxz2zsaanq-libpulseaudio-15.0.drv | ix
http://ix.io/3XoZ

@siraben I am on Linux so it is hard for me to debug this. Could you take  a look?

When I was looking at this earlier, I found the same issue building locally. After passing the libintl issue, the dbus issue appeared. Passing the dbus issue, other ones appeared. In my opinion, we should merge this since it seems necessary and does not make things worse, even though it does not fix the package on Darwin.

Note that libintl is defined as:
# On non-GNU systems we need GNU Gettext for libintl.
libintl = if stdenv.hostPlatform.libc != "glibc" then gettext else null;

which means, depending on taste, it might be preferred to include libintl on all systems, not only Darwin.

When I was looking at this earlier, I found the same issue building locally. After passing the libintl issue, the dbus issue appeared. Passing the dbus issue, other ones appeared. In my opinion, we should merge this since it seems necessary and does not make things worse, even though it does not fix the package on Darwin.

One thing that I found strange is that dbus shouldn't be used in macOS AFAIK (it is a Linux specific thing).
I am trying to do an investigation in my local machine right now. Don't think it is worth merging it in the current state.

One thing that I found strange is that dbus shouldn't be used in macOS AFAIK (it is a Linux specific thing).
I am trying to do an investigation in my local machine right now. Don't think it is worth merging it in the current state.

Sounds good! Let me know if I can help. I (only) have an M1 machine.

One thing that I found strange is that dbus shouldn't be used in macOS AFAIK (it is a Linux specific thing).
I am trying to do an investigation in my local machine right now. Don't think it is worth merging it in the current state.

Sounds good! Let me know if I can help. I (only) have an M1 machine.

Now it starts to build, but it fails during compilation. I think this may be related to the compiler maybe, or something else.

Now maybe it makes sense to merge as-is since at least it tries to build. Still not sure if we want it or not.
BTW, from the looks of it, this release (15.0) seems problematic on Darwin. Both macports and homebrew are still packaging the 14.2 release.

If dbus should not be used on OSX, it seems we need to disable it explicitly. In meson_options.txt, the dbus feature is declared auto, and nixpkgs defaults auto to required. We could fix this by adding to mesonFlags:
++ lib.optional stdenv.isDarwin "-Ddbus=disabled"

You're right that this then runs into further issues, and I agree it could be best to take it one step at a time.

I also get compile-time errors, such as:
In file included from ../src/pulsecore/cpu-x86.c:28:
/nix/store/qlicbgwj6mddbcdcfsqqp7g5fq3rphd1-clang-wrapper-11.1.0/resource-root/include/cpuid.h:11:2: error: this header is for x86 only
#error this header is for x86 only

which looks related to being on an M1 Mac.
If we want to try to continue with this version, I would advocate for committing the following:

Add libintl as a build time and run time dependency (I like unconditionally, but it can also be conditional on Darwin).
Disable oss-output and dbus on Darwin (at least for now)
Add glib as a build time and run time dependency (so that gio-2 is available)

That seems to get us past the configuration phase, and then we can try to tackle the compilation (or mark as broken if we can't figure it out).
I suppose we could also continue using 14.2 on Darwin?

@tjni keep the last known working version does make sense.

I’ve also spent some time on pulseaudio on Darwin but I don’t think I have the time to see it through at the moment. Here’s where I got to: https://github.com/NixOS/nixpkgs/compare/master...thefloweringash:libpulseaudio-darwin?expand=1

If dbus should not be used on OSX, it seems we need to disable it explicitly.

Ignore what I said before. Dbus is used both for Homebrew and MacPorts.
I still think this is mostly unnecessary for macOS, but if it builds and works we should keep it.

https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/pulseaudio.rb#L55
https://github.com/macports/macports-ports/blob/master/audio/pulseaudio/Portfile#L49
Sorry, so dbus is disabled in Homebrew and enabled in MacPorts. I think we are not really interested in dbus inside Darwin (it does seems to build at least though), so yeah, maybe it makes sense to disable it.

I’ve also spent some time on pulseaudio on Darwin but I don’t think I have the time to see it through at the moment. Here’s where I got to: https://github.com/NixOS/nixpkgs/compare/master...thefloweringash:libpulseaudio-darwin?expand=1

Nice. I took your PR and did a clean-up and made it build: https://github.com/NixOS/nixpkgs/pull/172307


spelling and whitespace cleanups

Clean up spelling and fix whitespaces for flake8.

@bigjust mind merging this? We're going to add a few more things on top of this (see #24  )

Strangely the unit tests are not failing, even when I change orig committer...


Unable to connect

Hello
To be very brief !
I can't connect !
This is my Docker Compos configuration
When I enter the elastic address(http://<IP_ADDRESS>:9200), it does not connect...
In addition, I see my indexes easily in Kibana
es7:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
logging:
driver: none
container_name: c-es
environment:
- discovery.type=single-node
- http.port=9200
- http.cors.enabled=true
- http.cors.allow-origin=http://dejavu:1358,http://dejavu:1358
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true
- bootstrap.memory_lock=true
- 'ES_JAVA_OPTS=-Xms512m -Xmx512m'
ports:
- "9200:9200"
networks:
- test
ulimits:
memlock:
soft: -1
hard: -1
restart: unless-stopped
dejavu:
image: appbaseio/dejavu:3.6.0
container_name: dejavu
ports:
- '1358:1358'
links:
- es7
networks:
- test

@AsedMorteza Your docker compose looks correct. Can you share the output of docker-compose ps? And you should then be connecting to Dejavu, for example: if this is being run on localhost, it should be http://localhost:1358

c-es                      /tini -- /usr/local/bin/do ...   Up             <IP_ADDRESS>:9200->9200/tcp,:::9200->9200/tcp, 9300/tcp
dejavu                    docker-entrypoint.sh /bin/ ...   Up             <IP_ADDRESS>:1358->1358/tcp,:::1358->1358/tcp
dejavu is up at http://<IP_ADDRESS>:1358 but unable to connect els

@AsedMorteza Thanks for the above! Can you share the exact error you see in the browser when you connect to it?

"""Unable to connect
Possible Errors
Invalid connection string or index name
Please check if Elasticsearch cluster is up and running"""

@AsedMorteza What does doing a curl http://<IP_ADDRESS>:9200 return?

{
"name" : "3b39b51e76d5",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "f0zUOG7qQYinfn3mckzpSA",
"version" : {
"number" : "7.10.2",
"build_flavor" : "oss",
"build_type" : "docker",
"build_hash" : "747e1cc71def077253878a59143c1f785afa92b9",
"build_date" : "2021-01-13T00:42:12.435326Z",
"build_snapshot" : false,
"lucene_version" : "8.7.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}

@AsedMorteza Thanks! This seems okay too.
When you're connecting to Dejavu from the browser, one of the endpoints to ES is failing. Can you keep your network tab open (see ref below) and share the details of the failing request. You will see an option to copy the request as cURL or you can paste the screenshot here.

@AsedMorteza I spotted the issue

http.cors.allow-origin=http://dejavu:1358,http://dejavu:1358

Change this row in your docker-compose to below:

http.cors.allow-origin=http://<IP_ADDRESS>:1358

Thank you very much for the quick handling and help


Readme files

[x] Finish readme files for all packages

[x] ORM
[x] Service
[x] View

[x] Include a quick start section for detailed package readmes like Darya\Database
[x] Simplify the framework readme with quick start snippets for each package

Not bothering with quick start.
After some testing we're ready to release 0.5.0!


Support Azure SQL Server/Databases

What problem are you facing?
It would be helpful if we start supporting Azure SQL Server
How could Crossplane help solve your problem?
My application requires Azure SQL Server.

MSSQL is added in the provider-jet-azure repo -<EMAIL_ADDRESS>


ElasticSearch on MLA Commons does not show CORE deposits on HC

[x] Add to an appropriate Epic.

Tester (if different from issue creator): Anne
Site: MLA Commons
URL:
Test Account:
Area (CORE, sites, profiles, groups, general): CORE / elastic search
If issue discovered on dev, does it also exist on prod? Yes
Describe the issue
When searching for CORE deposits using Elastic Search on MLA Commons, do not see results from Humanities Commons.

This should be working now.


Add ability to switch canvas background

Currently https://github.com/StaffEngineer/rusticify/blob/main/assets/bg.png is used as canvas background... let's have a way to customise it... maybe have a set of canvas image patterns to choose from and to have one-colour backgrounds (see https://excalidraw.com/ for inspiration)
Note: once there is a way to change canvas background it would be good to add it to saving/loading logic, so the user can have chosen background on app starup.

This can be re-opened if someone wants to work on it.


Resolve GraalVM native image Java 21 warnings with experimental options

Description:
With Java 21, GraalVM native image tool has marked some of the options/properties as experimental in order to remove them in the upcoming releases[1].
Currently there are added as warnings during the native-image build. Example:
Warning: The option '-H:Name=crypto' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: The option '-H:Path=/home/runner/work/module-ballerina-crypto/module-ballerina-crypto/ballerina/target/native' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: The option '-H:ReflectionConfigurationFiles=/home/runner/work/module-ballerina-crypto/module-ballerina-crypto/ballerina/target/cache/tests_cache/native-config/reflect-config.json' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: The option '-H:IncludeResources=resources/.*' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.
Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it. The build output lists all active experimental options, including where they come from and possible alternatives. If you think an experimental option should be considered as stable, please file an issue.

 5 experimental option(s) unlocked:
 - '-H:ClassInitialization' (alternative API option(s): --initialize-at-run-time=org.bouncycastle.jcajce.provider.drbg.DRBG$Default:rerun,org.bouncycastle.jcajce.provider.drbg.DRBG$NonceAndIV:rerun; origin(s): 'META-INF/native-image/io.ballerina.stdlib/crypto-native/native-image.properties' in 'file:///home/runner/work/module-ballerina-crypto/module-ballerina-crypto/native/build/libs/crypto-native-2.8.0-SNAPSHOT.jar')
 - '-H:Name' (alternative API option(s): -o crypto; origin(s): command line)
 - '-H:ReflectionConfigurationFiles' (origin(s): command line)
 - '-H:Path' (origin(s): command line)
 - '-H:IncludeResources' (origin(s): command line)

[1] Experimental Build Options in Native Image in GraalVM for JDK 21 is here! article
Describe your task(s)
Most of them are used in the external Java dependencies(such as netty, bouncy castle etc.). If these options are added by either lang or standard libraries then we need to replace them with the appropriate option. If there is no replacement option, we need to inform the GraalVM community and ask for a resolution.

@warunalakshitha FYI

Experimental options used in Ballerina Lang:

Option
Requirement
Comment/ Resolution
Status

H:Name
The name of the executable
Can be replaced by -o <enitre-file-path-with-name>
PENDING

H:Path
The path for the executable generation
Can be replaced by -o <enitre-file-path-with-name>
PENDING

H:IncludeResources
Include all the resource files in the resources directory of a ballerina project
A resource-config.json can be added for the same requirement. Here the issue is we need to add this for ballerina project only not for a single file
PENDING

H:ReflectionConfigurationFiles
Include the reflection configurations required to run mock tests
A reflect-config.json can be added for the same requirement. Here the issue is the reflection config is not static, it can change based on the ballerina code
PENDING

Experimental options used in Standard Libraries:

Library
Option
Requirement
Comment/Resoultion
Status

crypto
H:ClassInitialization
Initialize BC related classes at runtime
Instead of this use --initialize-at-run-time
PENDING

data.csv
H:+IncludeAllLocales
Include all the locales in the generated native image. This is not packed with the package. But used in tests

kafka
H:AdditionalSecurityProviders
Add additional security provider


Translation of Chinese (Taiwan) is messed up and cannot be changed.

I was editing the translation of Chinese (Taiwan),
because some of them (almost all of them) were wrong.
--
For example:
some one used a bad word for 'Approve' (it should be '同意')

and it's even reviewed by a Chinese guy, at this situation, I can't change anything,
I was wonder if there's any chance to take out all of the translated string of Chinese (Taiwan)
so I can make a fully and complete translation for Chinese (Taiwan), thanks.

@YamiOdymel Please email me at<EMAIL_ADDRESS>I can help set you up with an admin account on Transifex so you can administer the translation.
I'm sorry about the rudeness but unfortunately I'm unable to interpret the translations.

@YamiOdymel I've added you as a coordinator for the language, you should have full access to review and modify existing strings.
If translation text gets stale feel free to PM me so that I can publish them
Thank you for your time and effort, you rule.

@jina I'm really appreciated for what you did, and I spotted another problem #4050,
there's too many 'untranslatable' strings, and I checked for other languages,
they can't translate those strings too, hope you guys can fix it soon :D

I don't think you meant to tag me in this

I don't know when to use tag, sorry


Run this Retinanet on my own object detection dataset?

Hello,
I'm running this Keras implementation of retinanet and it works perfectly on COCO dataset obtained from tfds.load().
I noticed that the downloaded TFrecords (from tfds.load() ) contain COCO annotations in a different way from traditional COCO annotations and that is the cause of all problems. Please, see: annotation comparison
The problem is: How to run this model on my own dataset? i.e.
How to put my dataset in this specific COCO annotation format?
Thanks in advance,
Allan Freitas

@allansdefreitas
You will need to create your own generator that loads your specific dataset into the format that is expected.
Your generator will need to return 3 separate tensors per image. These will represent image, bounding boxes, and classes , respectively.
If memory serves me right, the image should be shape [X, Y, 3] where the first two indices are x, y and divisible by 32.
Bounding boxes is an array of bounding boxes, which have dimensions of X, Y, Width, Height. -- Representing the anchor box co-ordinates.
And, the classes is an array of class Ids corresponding to the bounding boxes.

How to put my dataset in this specific COCO annotation format?

How to put my dataset in this specific COCO annotation format?
They are normalized annotations:  **Y / image height** and **X / image width**

Hi folks, thanks for the discussion. The issue backlog is not the best place for support requests. Can you repost this to one of the forums below? That way your discussion will have more visibility.

TensorFlow forum
Keras mailing list

Thanks!


Prefer delete to tr when using it to remove characters from a string

After doing some benchmarking, it looks like delete is about 19% faster than tr when removing characters from a string.
test_string = "this is the test string"

Benchmark.ips do |x|
  x.report("tr") do
    test_string.tr(" ", "")
  end

  x.report("delete") do
    test_string.delete(" ")
  end
end

Calculating -------------------------------------
          tr      6.367M (± 3.4%) i/s -     31.997M in   5.032180s
      delete      7.567M (± 6.0%) i/s -     38.022M in   5.053830s

Comparison:
      delete:  7566538.8 i/s
          tr:  6366671.2 i/s - 1.19x  slower

Nice. I ran the browser tests and we're still good.


Cleanup Node dependencies

Remove unused modules.
Move modules not used at runtime to devDependencies section.

@aosolis,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Data cleaning and data transformation for dashboard

Write a reproducible script for data cleaning and data transformation. From a standard data extract made by Lisa, write a script that cleans and transforms the data so that it can be used as a data layer by the ArcGIS Operation Dashboard.
Output:

an R script, Jupyter notebook, Google colab Python notebook (the later might be the easiest?)
a datafile in tabular form (saved directly in Google Sheet?)

Input:

a .csv file provided by Lisa.
the decided format and shape for the data layer, see #114)
work previously done, especially regarding data cleaning, there and there

Variables needed:

Date_Collected, Component_Name, Site_Name, Town, Latitude_DD, Longitude_DD, Reporting_Result, Unit_Abbreviation, Activity_Type_ID

Filters:

Component_Name = "Fecal coliform", "Escherichia coil", "Chlorophyll a", "Phosphorus"
Activity_Type_ID = "Sample-Routine" (and not "Quality Control Sample").
filter out Phosphorus samples where Unit_Abbreviation is not "mg/l" (in a later step, those should be corrected in the Access DB, so it's good if we extract those so that Lisa can correct the original data in the Access DB).

To add:

a column that says if each component passed the 'action limits' (ex. for E. coli it'd be 126 and 630).

Open questions:

Is it better to have the data in wide or long format for the web map? I.e. the Component_Name as one column, or each with a column? (see #114)

https://jingsblog.com/2018/12/03/connect-your-jupyter-notebook-to-google-spread-sheet/

a priori Google Colab seems a good solution for this.

River_Mile can still be useful to sort the sampling sites

Can/should also base code on this notebook by SJ (input):  https://github.com/codeforboston/safe-water/blob/master/projects/crwa/notebooks/data_formatting_for_arcgis_SJ.ipynb


Upgrade Caliban to 2.9.0

JsonCodec from Tapir are no longer needed since it's now handled internally by Caliban.

that was quick :) thank you @ghostdogpr!


Cannot read properties of undefined (reading 'buttonState')

Hi
I just updated the plugin today , and now I'm getting this error:
[2/16/2024, 11:02:59 AM] [homebridge-melcloud-control] Air Conditioner Køkken Lock physical controls: UNLOCKED
[2/16/2024, 11:02:59 AM] [homebridge-melcloud-control] Air Conditioner Køkken Temperature display unit: °C
[2/16/2024, 11:02:59 AM] [homebridge-melcloud-control] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'buttonState'). See https://homebridge.io/w/JtMGR for more info.
[2/16/2024, 11:02:59 AM] [homebridge-melcloud-control] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'buttonState'). See https://homebridge.io/w/JtMGR for more info.
[2/16/2024, 11:02:59 AM] [homebridge-melcloud-control] This plugin threw an error from the characteristic 'On': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'buttonState'). See https://homebridge.io/w/JtMGR for more info.

Try to configure Your buttons display type in plugin config again and let me know. The types was changed.

Air Conditioner Bedroom Prepare accessory error: Error: Cannot add a Service with the same UUID '0000008A-0000-1000-8000-xxxxxxxxxxxxxxxxxx' and subtype 'Temperature Sensor' as another Service in this Accessory.

In plugin config / Advanced settings probably to unmark "Temperature sensor"?

Hi
The temperature sensor has never been activated.
I tried to change the button type, but I get the samme error.

try latest update

Temperature sensor still to be fixed, I make this today later

Hi
Just updated with  the latest.
No errors and my buttons seems to be working fine now :-)

Temperature sensor fixed with 0.15.16

Great. Thanks.
Christopher Bojilov
http://www.film-maker.org
На пт, 16.02.2024 г., 21:16 Grzegorz @.***> написа:

Temperature sensor fixed with 0.15.16
—
Reply to this email directly, view it on GitHub
https://github.com/grzegorz914/homebridge-melcloud-control/issues/82#issuecomment-1949164794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BF6GTO4O2TTD4N3QKSNVO53YT6V77AVCNFSM6AAAAABDLYFF26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGE3DINZZGQ
.
You are receiving this because you commented.Message ID:
@.***>


Calculate correct number of cells while adding new plans

DesignationDragger.cs:85
Should try calling method IsShapeCellValid() from CanDesignateCell() instead of DesignateMultiCellInternal().


Added markup text mentioning the role provided to service account used by notebook instance & provided key-version value while destroying it in notebook get_started_with_cmek_training

Added markup text mentioning the role provided to service account used by notebook instance & provided key-version value while destroying it in notebook get_started_with_cmek_training
If you are opening a PR for Community Notebooks under the notebooks/community folder:

[x] This notebook has been added to the CODEOWNERS file under the # Community Notebooks section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

It ran on Workbench successfully. But Colab environment is not compatible for executing this notebook.

The automated test is not running. Submitter manually verified ran in Colab (see comment). I am manually merging the PR.


[IOTDB-4994] Unify reporter

Unify prometheus and iotdb reporter.
Fix some bug

Already test:

Start in default config
Reload Configuration: reload service、reload reporter、reload internalreporter
Check the Grafana Dashboard


Cb edit begin end time

Implemented:

Created a page and form for entering beginning and end time to a user’s schedule
Edited Schedule Table to exclude do not disturb times
Added form validation so events can only happen during available times

Note: do not merge yet! clare and i are working on finishing the edit option

Can be merged now! :3

Tested it out, looks really good!


Support groups in HDF5

In GitLab by @ksiero on Nov 6, 2019, 14:06
We can add groups support for HDF5. I will present my proposition below.
Old config:
decl_hdf5:
  file: data.h5
  datasets:
    data:
      type: array
      subtype: double
      size: [10, '$psize[0]*($dsize[0]-2)', '$psize[1]*($dsize[1]-2)']
  write:
    main_field:
      dataset: data
      when: '$iter<10'
      memory_selection:
        size:  ['$dsize[0]-2', '$dsize[1]-2']
        start: [1, 1]
      dataset_selection:
        size:  [1, '$dsize[0]-2', '$dsize[1]-2']
        start: [$iter, '($dsize[0]-2)*$pcoord[0]', '($dsize[1]-2)*$pcoord[1]']

New config:
decl_hdf5:
  file: data.h5
  root:
    group_1:
      data:
        type: array
        subtype: double
        size: [10, '$psize[0]*($dsize[0]-2)', '$psize[1]*($dsize[1]-2)']
      subgroup_1:
    group_2:
      subgroup_1:
      /group_1:
  write:
    main_field:
      dataset: /group_1/data  #full HDF5 path to dataset
      when: '$iter<10'
      memory_selection:
        size:  ['$dsize[0]-2', '$dsize[1]-2']
        start: [1, 1]
      dataset_selection:
        size:  [1, '$dsize[0]-2', '$dsize[1]-2']
        start: [$iter, '($dsize[0]-2)*$pcoord[0]', '($dsize[1]-2)*$pcoord[1]']

As you can see groups are defined starting with root node.
root has 2 groups: group_1 and group_2.
group_1 has dataset data and group subgroup_1.
group_2 has empty group subgroup_1 (which is not related with /group_1/subgroup_1) and reference to /group_1. This reference is needed to support HDF5 groups cycles: LINK
@jbigot What do you think about it? I don't want to change decl_HDF5 plugin without your permission.

groups should already be supported using / separated components. Your proposition might be more "discoverable"

In GitLab by @ksiero on Jan 29, 2020, 09:59
You are right, I wasn't aware of this feature :)

In GitLab by @ksiero on Jan 29, 2020, 09:59
closed


optimization and loss

Hi, thanks for your code and paper. I am a fresher in EL and I have a question:
bi-encoder and cross encoder are optimized jointly or separately?  Specifically, loss function Eq. 4, loss function in the paragraph following Eq. 6, and loss function in Eq. 10, what is the relationship ?

@lshowway Hi, sorry for the delay in responding. The bi-encoder and cross encoder are optimized separately. For those equations, they are all independent. To be more specific: 1. Use eq.4 to train a bi-encoder. 2. Use eq.6 to train a cross-encoder. 3. Use eq.10 to train a distillation model (teacher: cross encoder, student bi-encoder). I hope that answers your question!


ci: add codecov

Signed-off-by: Long Dai<EMAIL_ADDRESS>Description
Add codecov.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #2
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@6f1fbfe). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage        ?   89.89%
=======================================
  Files           ?        3
  Lines           ?       99
  Branches        ?        0
=======================================
  Hits            ?       89
  Misses          ?        9
  Partials        ?        1

Continue to review full report at Codecov.

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


Update readme, add images and logo

Heyo, I figured since there's an org and a Discord channel now, the readme should probably get an update too. I gave it a spring-clean and added images and the logo, putting as much important (and flashy) information at the top as possible.
Lemme know what you think!

Thanks, it's great.
I think the "Why another template engine?" section could be removed. I wrote that initially to explain why I created this, but I don't think Vento should justify itself in detriment of other template engines.

Thank you!


Added .get, .post, .put, .delete and .getUserId to the Client

Here u go :>
Added:

.get({endpoint, header, params}): Makes a get request
.put({endpoint, header, params}): Makes a put request
.post({endpoint, header, params}): Makes a post request
.delete({endpoint, header, params}): Makes a delete request
.getUserId(username): Gets the user id

.get, .put, .post and .delete are really convenience functions, that promsie parameter security
Warning
I didn't test this code, as I couldn't figure out how to obtain a secret and token, thus someone needs to test this

#3

@RedCrafter07 :grin:

You may test it before I merge 😅

i tested it, but it said, no token or secret to be found cuz i don't have one, but the url seemed right. Maybe implement Testing actions, ms surely won't do bad things with ur twitch tokens


fix(costmodel): move dollar sign to the beginning in price list table

closes #1000

Codecov Report

Merging #1001 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1001   +/-   ##
=======================================
  Coverage   75.79%   75.79%
=======================================
  Files         226      226
  Lines        4317     4317
  Branches      796      796
=======================================
  Hits         3272     3272
  Misses        942      942
  Partials      103      103

Continue to review full report at Codecov.

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


Fixed typography on course detail page as per #180

Closes #180

Currently, the course detail page looks like this:

This PR changes the design of the description to this:

The description is highlighted with
a light blue color which emphasizes it, and the length is restricted, as this improves legibility.


The section "Use flows to extract information" is only for V1 form processing model, it is true for V2 models

[Enter feedback here]
The section "Use flows to extract information" is only for V1 form processing model, it is true for V2 models

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

ID: 82d22cbb-b1f7-43d0-2029-4c52787fd734
Version Independent ID: 82d22cbb-b1f7-43d0-2029-4c52787fd734
Content: Train a structured or freeform document processing model in Microsoft Syntex - Microsoft Syntex
Content Source: microsoft-365/syntex/create-a-form-processing-model.md
Service: microsoft-syntex
GitHub Login: @chuckedmonson
Microsoft Alias: chucked

OK, I missed the important notice:
The information in this section doesn't apply to the latest release of Syntex. It is left as reference only for the form processing models that were created in previous releases. In the latest release, you no longer need to configure the flows to process existing files.

@msqishengc -- Thank you for your comments. We appreciate you looking at the docs and making sure the information is accurate. Thanks again.


Add link to meal in all emails

Originally created by Tom Smyth at 2015-10-14 13:55, migrated from redmine-#3359

Priority changed from 3 to 2

By Tom Smyth at 2016-10-04 06:25

Version changed from 2.4 to 2.5

By Tom Smyth at 2016-10-24 16:30

Version set to 2.4

By Tom Smyth at 2016-10-23 03:15

Status changed from New to Closed

By Tom Smyth at 2016-10-26 03:49


requirements-dev.txt vs requirements.txt

Based on the separation of dependencies and dev-dependencies inside your pyproject.toml, I would have expected the output from pip-compile (relevant snippet from your makefile shown below) to be different in requirements-dev.txt vs requirements.txt, however the two files are identical. For example, since "black" is listed as a "dev" dependency in your pyproject.toml, i would expect to see it in the generated requirements-dev.txt.
I think you need an additional argument in your pip-compile e.g. --extra=dev, so the complete line for the dev requirements would be:
pip-compile --resolver=backtracking --extra=dev --output-file=requirements-dev.txt pyproject.toml
## Build using pip-tools
build:
	python -m pip install --upgrade pip
	python -m pip install pip-tools
	pip-compile --resolver=backtracking --output-file=requirements.txt pyproject.toml
	pip-compile --resolver=backtracking --output-file=requirements-dev.txt pyproject.toml

@edwardcjohnson  - I noticed this exact same thing a couple of months ago. Forgot updating here. We def. need the --extra-dev for the dev!
Updated!
## Build using pip-tools
build:
	python -m pip install --upgrade pip
	python -m pip install pip-tools
	pip-compile --resolver=backtracking --output-file=requirements.txt pyproject.toml
	pip-compile --extra=dev --resolver=backtracking --output-file=requirements-dev.txt pyproject.toml

Great!
Also, I greatly enjoy your blog. So thank you for that!

Appreciate the kind words @edwardcjohnson!