text:
add filename download rename

$ export NOTION2MD_UUIDFILE=true
filename format:
![Untitled](fb2abbfc-4d1c-49da-bb7b-e3fda5a04750.png)

Thank you for your contribution. It may solve #24 issues. I will check it and merge on later version.

I merged your pull request thank you! However, since I think your idea of saving file name as uuid is good enough to make it as default way, I will remove env variable option, but will keep as default way.


text:
Update CONTRIBUTING.md for Specification Project's repositories

Create/Update CONTRIBUTING files
Per input from the Eclipse EMO, each Specification Project needs to ensure that a CONTRIBUTING.md or CONTRIBUTING.adoc file exists in each specification-related repository maintained by Specification Projects.
In addition, the CONTRIBUTING.md or CONTRIBUTING.adoc file needs to include the following text:
## Eclipse Development Process

This Eclipse Foundation open project is governed by the Eclipse Foundation
Development Process and operates under the terms of the Eclipse IP Policy.

The Jakarta EE Specification Committee has adopted the Jakarta EE Specification
Process (JESP) in accordance with the Eclipse Foundation Specification Process
v1.2 (EFSP) to ensure that the specification process is complied with by all
Jakarta EE specification projects.

* https://eclipse.org/projects/dev_process
* https://www.eclipse.org/org/documents/Eclipse_IP_Policy.pdf
* https://jakarta.ee/about/jesp/
* https://www.eclipse.org/legal/efsp_non_assert.php

Please do this at your earliest convenience.
Thank you!
-- EE4J PMC (ee4j-pmc@eclipse.org)

Done

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Fix major Java version detection

Detect "11" as 11 even without minor or dotted version notation by a
non-greedy match after the major version.

Unfortunatelly you don't have Eclipse Contributor Agreement siged. If you like this PR to be merged, please see this page for details and sign the ECA.

feel free to reopen after signing ECA and resolving conflicts, thanks!

I am more than sure I signed anything requested back then and there never were conflicts either. As this change already by far exceeded filing effort over its implementation effort, I hereby ask you pick its trivial change or leave it.
I will delete the branch after a week for good.

source: gharchive/pull-request

authors: bravehorsie lukasj nelbrecht

license_source: bigquery


text:
Update EFSL for Specifications and Javadoc

Per the discussions on the Spec Committee and Platform Dev mailing lists, it's been discovered that many of the Javadoc and Spec references to the EFSL need updating. Please reference the following required updates and keep them in mind as your Spec Project is updating the files for Jakarta EE 9.
Note: Some Spec Projects have already started or even completed these updates. If so, just kindly return/close this Issue. Thanks!
Required EFSL updates for Javadoc
For javadoc, the EFSL.html located in src/main/javadoc/doc-files should be modified as follows:

the <<url to this license>> needs to be replaced with efsl.php link[1]
the [title and URI of the Eclipse Foundation specification document] needs to be replaced with the Specification Name and URL (Reference [2] for an example.)
The javadoc footer copyright year needs to be updated to 2018, 2020 as defined in the pom.xml

Required EFSL updates for Specifications
For specification, the license-efsl.adoc located in src/main/asciidoc should be modified as follows:

Update copyright year to 2018, 2020 from 2019. Add link to EFSL.
the <<url to this license>> needs to be replaced with efsl.php link[1]
the [title and URI of the Eclipse Foundation specification document] needs to be replaced with the Specification Name and URL (Reference [2] for an example.)

[1] https://www.eclipse.org/legal/efsl.php
[2] https://jakarta.ee/specifications/enterprise-beans/4.0/

is this the issue not supposed to be created based on https://www.eclipse.org/lists/jakartaee-platform-dev/msg01775.html ? In the other words, is just closing this the right way for resolution or do we have to actually do  something more?

@kwsutter ^^^

@lukasj It's not that the issues were not supposed to be created.  It's just that the wording in the description may be stronger than required.  I decided to leave these issues in place and let each component determine whether changes are necessary or not.  I am not doing any verification if the requested changes were performed or not.  It's up to the component to decide what's appropriate.  Thanks!

ok, thanks. I believe nothing needs to be done then.

authors: kwsutter lukasj


text:
Grant loader CSV pilot analysis

What?
We need to do two things related to the grant loader CSV pilot:

Investigate impact of award_number being null on Grant.
Set up being able to load a CSV of grant data locally and show what it looks like in PASS running locally.  We should use the CSV file we received from Oregon, ask Daryl for link to data (don't link the sheet to this issue since this issue is public).

Why?
To move the pilot forward and answer questions.
How?
As described
Acceptance Criteria
As described
Related Issues

Re: "Investigate impact of award_number being null on Grant."
@markpatton Searched for usage in pass-support/pass-core/pass-ui.  Didn't find anything stopping a grant with no award number.  Grant will be available in UI and submissions can be done based on testing locally (created grant with null awardNumber and award status pre-award).  I also noticed that submission can be done on grants that are terminated.  I wonder if this is correct, but it is a different question than the original question.
Found this in UI: https://github.com/eclipse-pass/pass-ui/blob/965f8694bb70e0550b6887d2cad50527798a7187/app/models/grant.js#L5 saying it is required, but I don't see any issues happening if not there.  @jaredgalanis can you confirm UI doesn't require Grant.awardNumber?

@markpatton In order to run grant loader locally against pass-docker running locally, here are the steps:

Create dir named grantloadertest

cd grantloadertest

touch connection.properties

touch grant_update_timestamps

touch policy.properties

create env.list file containing in grantloadertest:

APP_HOME_ENV=/data/grantloader
PASS_CORE_URL=http://localhost:8080
PASS_CORE_USER= (value from .eclipse-pass.local_env PASS_CORE_BACKEND_USER)
PASS_CORE_PASSWORD= (value from .eclipse-pass.local_env PASS_CORE_BACKEND_PASSWORD)

Copy test.csv to grantloadertest dir

test.csv

In pass-docker, modify docker-compose.yml:

For pass-core, add:
ports:
- "8080:8080"

Start pass-docker in local mode: docker compose -f docker-compose.yml -f eclipse-pass.local.yml up -d --no-build --quiet-pull

Once pass-docker is up and loader container is done running, login with nih-user to pass.local

Go to Grants tab

In another terminal, cd to dir above grantloadertest

execute docker run -it -v ./grantloadertest:/data/grantloader --env-file ./grantloadertest/env.list --network host ghcr.io/eclipse-pass/jhu-grant-loader:1.4.0-SNAPSHOT -a load /data/grantloader/test.csv

Once done, in pass.local, click on Dashboard then Grants links to show Sample NIH Grant loaded.

Notes:

If grant csv contains new Funders, you should figure out PASS policy ID and put the funder local key to policy ID mapping in policy.properties (i.e. funder_local_key=pass_policy_id)

I was able to load in the test data using the instructions.
But very strangely running the grant loader image with the volume mount causes the Java in the container to fail for me with a class not found exception. Removing the volume mount lets Java run successfully. I tried changing the mount location without success.
In any case I just ran the grant loader jar directly and it worked fine.

Working perfectly. I think I figured out why the volume mounts weren't working. I had a typo in env.list which was somehow messing up the processing.

authors: markpatton rpoet-jh

repo: eclipse-pass/main


text:
Help team implement consumer side of contract test

Help a team implement consumer side of the test. They need to generate the pact file that can be shared later with the provider team.

would have been great...

repo: eclipse-tractusx/sig-infra


text:
New Tractus-X project contributor

Before requesting the project contributor role, please make sure, that you:

Make yourself familiar with the Eclipse Foundation project roles: https://eclipse-tractusx.github.io/docs/oss/contributor-committer
Make ourselves familiar with prerequisites, like a signed ECA: https://eclipse-tractusx.github.io/docs/oss/getting-started
Check the committer list of our project and highlight at least one of them on this issue, since every committer
can add project contributors: https://projects.eclipse.org/projects/automotive.tractusx/who

Necessary Information
Email address to add: rohan.krishnamurthy@zf.com
Committers, that could take over: @borisrizov-zf
Please make sure, that you accept the invitation you receive from GitHub, after you have been added as project contributor.

Hi @RoKrish14, do you know maybe a committer from ZF?

I am only aware of @borisrizov-zf , just from the ZF Id.

to @RoKrish14 just to inform you every committer can add new Contributors to our Eclipse Foundation project.
To @borisrizov-zf, cool then congrats  for your voting and won election to be a committer.
Question from myside could you please take over the onboarding a new Contributor into our Eclipse Project?
If help needed we are here 👍
Thanks in advance.

@FaGru3n sure. Do we have a workflow for this I can follow?

Hi not a place where i am aware of.
but simple for Email address to add: rohan.krishnamurthy@zf.com

Thanks! It's done.


text:
Reboot Class Diagram and rename client libraries

Given the final decisions for L1 and L2 APIs defined in 1.5.8 of the specification, this PR cleans up the class diagram and language vs transport libraries requirements.

Unfortunately have to blow away and restart my PR, I screwed something up

repo: eclipse-uprotocol/up-spec


text:
Support multiple receivers on a topic with the same message queue name (iox::runtime::PoshRuntime::getInstance("/xxx"))?

I get the following error message, when I try to start an example subscriber multiple times:
$ ./build/iceoryx_examples/icedelivery/ice-subscriber-bare-metal
Receiving: 1249
Receiving: 1250
Receiving: 1251

$ ./build/iceoryx_examples/icedelivery/ice-subscriber-bare-metal
2020-01-22 00:45:03.179 [Warning]: MQ still there, doing an unlink of /subscriber-bare-metal
2020-01-22 00:45:33.183 [ Error ]: ICEORYX error! MQ_INTERFACE__REG_ACK_NO_RESPONSE
ice-subscriber-bare-metal: /home/wenwen/tools/iceoryx-rs/iceoryx/iceoryx_utils/source/error_handling/error_handling.cpp:53: static void iox::ErrorHandler::ReactOnErrorLevel(iox::ErrorLevel, const char*): Assertion `false' failed.
fish: “./build/iceoryx_examples/icedel…” terminated by signal SIGABRT (Abort)

Is it possible to support multiple receivers on a topic with the same message queue name? Or it is not allowed because of some good reasons? Better error message for such "misuse" would be very nice.

As #25 is nearly done and iceoryx 1.0 on the horizon, I'll close this issue.

authors: callalilychen mossmaurice

repo: eclipse/iceoryx


text:
May 2019 Git Stats (fun media push)

Ryan,
As mentioned before, lets start the creation of a fun summary of what went down for May via git issues with focus on individual Contributors.
Wording: lets work on it after we see design- added a pic with the stats to be used as the baseline.

Google Forum Members: 1134

Who is involved, 3 months Git stats

May 2019 Commits (163 commits)

March, April, & May Individual Contributors summarized by the collection of the 8 pictures from the stats added as 1 JPG pic

@rstjames ticket is updated with May stats. Please follow up with design using pic and pull me in once that is ready for quick efficient description of the tweet. thanks!

@rstjames can you create the media tweet so that we can close this May activity ticket?

this initiative seems to have not traction, closing ticket.

repo: eclipse/microprofile-marketing


text:
Aggregation functions don't use non-strict comparisons when using ExtendedEvaluationStrategy

ExtendedEvaluationStrategy doesn't pass-thru strict=false to QueryEvaluationUtil.compareLiterals() for aggregation functions (GroupIteration).

Hey, @pulquero can you please explain the issue in detail?
An example maybe?

Aggregate functions like min/max use compareLiterals. But the behaviour doesn't respect strict=true/false. So if I have some filter(?x>?y) involving dates and then try to aggregate min(?x) using extended evaluation strategy, it doesn't produce the answer you would expect.

Hey,
Pardon me if I understand the problem incorrectly, but the compare literals function takes care of strict behaviour,
public static boolean compareLiterals(Literal leftLit, Literal rightLit, CompareOp operator, boolean strict)
			throws ValueExprEvaluationException {
		// type precendence:
		// - simple literal
		// - numeric
		// - xsd:boolean
		// - xsd:dateTime
		// - xsd:string
		// - RDF term (equal and unequal only)

like this..
Also, by aggregate functions not taking care of strict rule in ExtendedEvaluationStrategy, you mean that this function passes the strict as false always ?
@Override
	public Value evaluate(Compare node, BindingSet bindings)
			throws ValueExprEvaluationException, QueryEvaluationException {
		Value leftVal = evaluate(node.getLeftArg(), bindings);
		Value rightVal = evaluate(node.getRightArg(), bindings);

		// return result of non-strict comparisson.
		return BooleanLiteral.valueOf(QueryEvaluationUtil.compare(leftVal, rightVal, node.getOperator(), false));
	}

Or,
the problem is with the FILTER method that it only accounts for the datatypes like string, integers, doubles?

Aggregate functions always use strict=true, even if extended strategy uses strict=false for expressions. If I am using extended strategy, both aggregates and expressions should use strict=false, not just expressions.

Hey,
Please refer to my latest commit, I changed the compare method to
QueryEvaluationUtil.compare(v, max, Compare.CompareOp.GE, false)
please tell me if it is correct.
And tell me how can I write a test for that ?

The false/true should depend on whether the evaluation strategy is strict or extended.

I have added a check for StrictEvaluationStrategy instance, and updated the strict boolean variable according to the condition.
And on adding this check two of the test-cases present in org.eclipse.rdf4j.query.algebra.evaluation.iterator.GroupIteratorTest.java are failing because of incompatible comparison.
I am attaching the screenshot for the same .

Do you have the full stack, not just a screenshot?

And which test cases exactly?

testcase1
testcase2
This is the stack for testcase1 and testcase2 is same.
org.eclipse.rdf4j.query.algebra.evaluation.ValueExprEvaluationException: Only literals with compatible, ordered datatypes can be compared using <, <=, > and >= operators

	at org.eclipse.rdf4j.query.algebra.evaluation.util.QueryEvaluationUtil.compare(QueryEvaluationUtil.java:106)
	at org.eclipse.rdf4j.query.algebra.evaluation.iterator.GroupIterator$MaxAggregate.processAggregate(GroupIterator.java:520)
	at org.eclipse.rdf4j.query.algebra.evaluation.iterator.GroupIterator$Entry.addSolution(GroupIterator.java:327)
	at org.eclipse.rdf4j.query.algebra.evaluation.iterator.GroupIterator.buildEntries(GroupIterator.java:208)
	at org.eclipse.rdf4j.query.algebra.evaluation.iterator.GroupIterator.createIterator(GroupIterator.java:170)
	at org.eclipse.rdf4j.query.algebra.evaluation.iterator.GroupIterator.hasNext(GroupIterator.java:129)
	at org.eclipse.rdf4j.query.algebra.evaluation.iterator.GroupIteratorTest.testMaxEmptySet_DefaultGroup(GroupIteratorTest.java:81)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
	at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
	at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
	at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)

After adding the compare in inline it worked.
Can you tell me how can I test this?


text:
(Follow-up of #994) JSON SPARQL parser fails if non-standard keys with arrays are present

After the fix for #994 the org.eclipse.rdf4j.query.resultio.sparqljson.AbstractSPARQLJSONParser can process non-standard keys with string values (e.g., "other": "Other keys, with different names, may be present in the JSON Results Object"), but it fails if the value is an array: (e.g., "otherArray": [ "Other keys, with different names, ", "may be present in the JSON Results Object" ]).

A pull request prepared https://github.com/eclipse/rdf4j/pull/1046 .
Please advise if the issue #994 can be reopened or it should reference this new issue.


text:
IOS Build Failures

Hi,
I keep getting the same build failure with iOS (Android building OK):
Aborted due to warnings.
/Users/travis/build.sh: line 151:  2850 Terminated: 15          travis_jigger $! $timeout $cmd
travis_time:end:08082b75:start=1483276174290467000,finish=1483276201181497000,duration=26891030000

The command "travis_wait grunt build deploy" exited with 6.
travis_fold:start:after_failure
travis_time:start:174a30f8
$ sleep 3
travis_time:end:174a30f8:start=1483276201201725000,finish=1483276204221108000,duration=3019383000
travis_fold:end:after_failure
travis_fold:start:after_script.1
travis_time:start:05e1a6ea
$ security delete-keychain ios-build.keychain
travis_time:end:05e1a6ea:start=1483276204240156000,finish=1483276204283778000,duration=43622000
travis_fold:end:after_script.1
travis_fold:start:after_script.2
travis_time:start:0e7ca2e4
$ rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*
travis_time:end:0e7ca2e4:start=1483276204302401000,finish=1483276204323685000,duration=21284000
travis_fold:end:after_script.2

Done. Your build exited with 1.
/Users/travis/build.sh: line 148: shell_session_update: command not found

Anything I am doing wrong? keep in mind, I have only just created certificates for the first time

@camstuart Thanks for the additional hint with the certificates. I scanned the latest failing builds and found the following Code Sign error:
Check dependencies
Code Sign error: Provisioning profile does not match bundle identifier:
The provisioning profile specified in your build settings (“***-and-*******-test-group”)
has an AppID of “**.***.****-and-*******” which does not match your bundle identifier “****.and.*******”.

PS: This kind of error is near the end of the log file.

Yes, that has fixed it. I didn't realize when creating the app ID on apple developer that the ID must match exactly to the cordova/config.xml widget ID. Makes sense no that I know that of course. Thanks @fwaibel

authors: camstuart fwaibel

repo: eclipsesource/tabris-js


text:
A time format props

#58
Maybe can add a new props like timeFormatter, or something like this, it can receive a string or a function. Then we can render time ui style by using this props, like timeFormatter={'HH:MM'} or timeFormatter={'HH : MM'} or even timeFormatter={(hour, minute) =>hour&minute}

New version v2.2.4 published, add timeFormat and timeFormatter props.

repo: ecmadao/react-times

license: MIT


text:
html codes not plotted for PS and EPS output

What happened?
Magics does not plot html codes correctly in title when PS and EPS output is chosen.
What are the steps to reproduce the bug?
This is reproduced using the following Python script (based on Axis example 2):
#importing Magics module
from Magics.macro import *

ref = 'axis2'

#Setting of the output file name
output = output(
                output_formats = ['png','ps','eps','pdf'],
                output_name_first_page_number = "off",
                output_name = ref
               )

#Setting the cartesian view
projection = mmap(
                  subpage_y_position= 2.,
                  subpage_map_projection = 'cartesian',
                  subpage_x_axis_type = 'date',
                  subpage_y_axis_type = 'regular',
                  subpage_x_date_min = "2012-04-10",
                  subpage_x_date_max = "2012-04-28",
                  subpage_y_min = -20.,
                  subpage_y_max = 20.
                 )

#Vertical axis
vertical = maxis(
                 axis_orientation = "vertical",
                 axis_grid =  "on",
                 axis_type =  "regular",
                 axis_grid_colour = "grey",
                 axis_grid_thickness = 1,
                 axis_grid_reference_level = 0.,
                 axis_grid_reference_line_style='solid',
                 axis_grid_reference_thickness=2,
                 axis_grid_line_style = "dot"
                )

#Horizontal axis
horizontal = maxis(
                   axis_orientation = "horizontal",
                   axis_type =  "date",
                   axis_grid =  "on",
                   axis_days_label_height =  0.4,
                   axis_months_label_height =  0.4,
                   axis_years_label_height =  0.4,
                   axis_grid_colour = "grey",
                   axis_grid_thickness = 1,
                   axis_grid_line_style = "dot"
                  )

lines =["Using time series...for units μm - should be  micrometres with a Greek letter mu"]

title = mtext({
               "text_lines" : lines,
               "text_html" : "true",
               "text_justification": "left",
               "text_font_size": 0.75,
               "text_colour" : "charcoal"
             })

#To the plot
plot(output, projection, vertical, horizontal, title)

Run as:
python3 axis2.py

The title should read:

"Using time series...for units µm - should be  micrometres with a Greek letter mu"

This is correct for PNG and PDF output but the "µ" is not printed in the PS or EPS output.
Also fails to print in PS/EPS if tried with HTML decimal (μ), HTML hex (μ;, or as "\u03BC).
See also plots attached to linked ticket MAGP-1343.
Version
4.14.1 and older
Platform (OS and architecture)
Linux ac6-200.bullx 4.18.0-372.52.1.el8_6.x86_64 #1 SMP Fri Mar 31 06:22:44 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux
Relevant log output
No response
Accompanying data
No response
Organisation
ECMWF (reporting on behalf of AEMET)

Hi Sylvie,
I hope retirement is treating you well !  I see you are still able to provide some Magics support in GitHub !
Of course, I can ask the user to use PDF.  Unfortunately, the same user also reported the issue with the Spanish weekday names in https://github.com/ecmwf/magics/issues/109 which doesn't work with PDF !!
But, if you can solve 109 so that the Spanish (or non-english) weekday names are plotted correctly in PDF then the user should be able to use PDF for everything.
Paul

repo: ecmwf/magics


text:
mongodb logs readable

improove mongodb logs readable

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Yurii seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@yuriipozharzuhlke if you can just sign the CLA and run the format logging.py, I can merge this in

@yuriipozharzuhlke if you can just sign the CLA and run the black formatter on logging.py, I can merge this in

Sure, thanks. Will fix it.

authors: FussyDuck peshence yuriipozharzuhlke

repo: ecmwf/polytope-server


text:
热力图datazoom内无内容

问题简述 (One-line summary)
我希望给热力图添加datazoom，现在datazoom可以显示，但是datazoom区域内部没有显示任何内容。
版本及环境 (Version & Environment)

ECharts 版本 (ECharts version):
浏览器类型和版本 (Browser version):
操作系统类型和版本 (OS Version):

重现步骤 (Steps to reproduce)

期望结果 (Expected behaviour)
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)

option = {
var hours = ['12a', '1a', '2a', '3a', '4a', '5a', '6a',
        '7a', '8a', '9a','10a','11a',
        '12p', '1p', '2p', '3p', '4p', '5p',
        '6p', '7p', '8p', '9p', '10p', '11p'];
var days = ['Saturday', 'Friday', 'Thursday',
        'Wednesday', 'Tuesday', 'Monday', 'Sunday'];

var data = [[0,0,5],[0,1,1],[0,2,0],[0,3,0],[0,4,0],[0,5,0],[0,6,0],[0,7,0],[0,8,0],[0,9,0],[0,10,0],[0,11,2],[0,12,4],[0,13,1],[0,14,1],[0,15,3],[0,16,4],[0,17,6],[0,18,4],[0,19,4],[0,20,3],[0,21,3],[0,22,2],[0,23,5],[1,0,7],[1,1,0],[1,2,0],[1,3,0],[1,4,0],[1,5,0],[1,6,0],[1,7,0],[1,8,0],[1,9,0],[1,10,5],[1,11,2],[1,12,2],[1,13,6],[1,14,9],[1,15,11],[1,16,6],[1,17,7],[1,18,8],[1,19,12],[1,20,5],[1,21,5],[1,22,7],[1,23,2],[2,0,1],[2,1,1],[2,2,0],[2,3,0],[2,4,0],[2,5,0],[2,6,0],[2,7,0],[2,8,0],[2,9,0],[2,10,3],[2,11,2],[2,12,1],[2,13,9],[2,14,8],[2,15,10],[2,16,6],[2,17,5],[2,18,5],[2,19,5],[2,20,7],[2,21,4],[2,22,2],[2,23,4],[3,0,7],[3,1,3],[3,2,0],[3,3,0],[3,4,0],[3,5,0],[3,6,0],[3,7,0],[3,8,1],[3,9,0],[3,10,5],[3,11,4],[3,12,7],[3,13,14],[3,14,13],[3,15,12],[3,16,9],[3,17,5],[3,18,5],[3,19,10],[3,20,6],[3,21,4],[3,22,4],[3,23,1],[4,0,1],[4,1,3],[4,2,0],[4,3,0],[4,4,0],[4,5,1],[4,6,0],[4,7,0],[4,8,0],[4,9,2],[4,10,4],[4,11,4],[4,12,2],[4,13,4],[4,14,4],[4,15,14],[4,16,12],[4,17,1],[4,18,8],[4,19,5],[4,20,3],[4,21,7],[4,22,3],[4,23,0],[5,0,2],[5,1,1],[5,2,0],[5,3,3],[5,4,0],[5,5,0],[5,6,0],[5,7,0],[5,8,2],[5,9,0],[5,10,4],[5,11,1],[5,12,5],[5,13,10],[5,14,5],[5,15,7],[5,16,11],[5,17,6],[5,18,0],[5,19,5],[5,20,3],[5,21,4],[5,22,2],[5,23,0],[6,0,1],[6,1,0],[6,2,0],[6,3,0],[6,4,0],[6,5,0],[6,6,0],[6,7,0],[6,8,0],[6,9,0],[6,10,1],[6,11,0],[6,12,2],[6,13,1],[6,14,3],[6,15,4],[6,16,0],[6,17,0],[6,18,0],[6,19,0],[6,20,1],[6,21,2],[6,22,2],[6,23,6]];

data = data.map(function (item) {
    return [item[1], item[0], item[2] || '-'];
});

option = {
    tooltip: {
        position: 'top'
    },
    animation: false,
    grid: {
        height: '50%',
        y: '10%'
    },
    xAxis: {
        type: 'category',
        data: hours
    },
    yAxis: {
        type: 'category',
        data: days
    },
    dataZoom: [{
        show:true,
        type: 'inside',
        start: 0,
        end: 10
    }, {
        show:true,
        start: 0,
        end: 10,
        bottom:'28%',
        height: '40'
    }],
    visualMap: {
        min: 1,
        max: 10,
        calculable: true,
        orient: 'horizontal',
        left: 'center',
        bottom: '15%'
    },
    series: [{
        name: 'Punch Card',
        type: 'heatmap',
        data: data,
        label: {
            normal: {
                show: true
            }
        },
        itemStyle: {
            emphasis: {
                shadowBlur: 10,
                shadowColor: 'rgba(0, 0, 0, 0.5)'
            }
        }
    }]
};
}

其他信息 (Other comments)

"但是datazoom区域内部没有显示任何内容"
这句话没有理解。

用你的配置，我看到的是这样的效果，你觉得问题是在哪里？

repo: ecomfe/echarts


text:
柱状图X轴月份只显示奇数

问题简述 (One-line summary)
我的柱状图X轴月份只显示奇数.
版本及环境 (Version & Environment)

ECharts 版本 (ECharts version):
浏览器类型和版本 (Browser version):
操作系统类型和版本 (OS Version):

我的代码 ：
var myCharts_bar = echarts.init(document.getElementById('bar'));
option = {
tooltip: {
trigger: 'axis'
},
toolbox: {
feature: {
saveAsImage: {show: true}
},
left:'90%',
top:'90%'
},
legend: {
data:['主营业务收入','毛利润','利润比率']
},
xAxis: [
{
type: 'category',
data: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月']
}
],
yAxis: [
{
type: 'value',
name: '单位(万)',
min: 0,
max: 250,
interval: 50,
splitArea: {
show: true,
areaStyle:{
opacity:0.3
}
},
axisLabel: {
formatter: '{value} ',
margin:2
}
},
{
type: 'value',
name: '利润比率',
min: 0,
max: 100,
interval: 20,
axisLabel: {
formatter: '{value} %',
textStyle:{
fontSize:5
},
margin:3
}
}
    ],
    series: [
        {
            name:'主营业务收入',
            type:'bar',
            z:100,

            data:[0, 5.9, 9.0, 22, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3]

        },
        {
            name:'毛利润',
            type:'line',
            z:1,
            data:[2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3],
            areaStyle: {normal: {
                color:'#ddf6e8'
            }}

        },
        {
            name:'利润比率',
            type:'line',
            yAxisIndex: 1,
            data:[2.0, 2.2, 3.3, 4.5, 6.3, 10.2, 20.3, 23.4, 23.0, 16.5, 12.0, 6.2]
        }
    ]
};
myCharts_bar.setOption(option);

我的错误图：

期望结果 (Expected behaviour)

同 https://github.com/ecomfe/echarts/issues/3583#issuecomment-231329379

authors: pissang sendUbullet


text:
组件引入问题

目前使用版本1.1.1
组件不能一次性全部加载？
目前发现Table和List组件要单独加载
（List组件缺了API）

您好，能用代码描述一下你在引用Table和List的时候遇到的问题吗？

import {List, ListItem} from 'san-mui'
import {List, ListItem} from 'san-mui/lib/List'
无法用第一种方式引用，需要用第二种方式单独引用，table组件也是如此

了解，多谢反馈

repo: ecomfe/san-mui

license: mit


text:
draggable="true"会被解析成draggable

draggable part

期望解析成

draggable part

实际生成的dom为

draggable part

这样就没法拖动了，请问怎么写才能让他变成可拖动的

{{}}

@Dafrok

draggable part

或

draggable part

    initData() {
        return {
            canDrag: true
        };
    },

或

draggable part

    initData() {
        return {
            canDrag: 'true'
        };
    },

都还是会被解析成

draggable part

之前 hi 上告诉过你啊，实在不会你就把 https://github.com/Dafrok/Sanrise 拉到本地打断点自己跑一下

@Dafrok 谢谢，看了下是因为我用了3.4.1，换成你demo里面的3.4.3就好了。

还真查出点问题，在某种场景下首次编译时会把 property 当成 attribute 处理，issue 先开着吧

draggable 这个真的迷，同样是 prop，contentEditable 就不用做特殊处理，draggable 不做处理的话就会无法重新绑定它的值。这确实是个问题，issue 先留着吧，抽时间查查

找到问题了，draggable 和 contentEditable 都是枚举属性，draggable 的枚举值是 true / false / "auto" ，而 contentEditable 的枚举值是 "true" / "false" / ""， 类型不一样，之前把 draggable 当做布尔属性来处理了所以出现这种现象

authors: Dafrok SnailSword

repo: ecomfe/san


text:
Firefox SyntaxError: missing = in const declaration

i'm getting this error on firefox
SyntaxError: missing = in const declaration
module.exports = function except(properties) {
const collection = {};
for (const prop in this.items) {
if (properties.indexOf(prop) === -1) {
collection[prop] = this.items[prop];
}
}
return new this.constructor(collection);
};

reference : MDN link

@isurindu How do you import this library?

like this
window.collect = require('collect.js')

Well, browsers don't support CommonJS, so you can't use require directly. You can use some tools like Webpack to bundle it. To be delightful, this library may support UMD later, which means you can use collect as a global variable.

i'm using laravel mix

Oh, sorry for my misunderstanding.

I'm not able to reproduce this. What am I missing?
//file:  resources/assets/js/app.js

window.collect = require('collect.js');

//file: webpack.mix.js

let mix = require('laravel-mix');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel application. By default, we are compiling the Sass
 | file for the application as well as bundling up all the JS files.
 |
 */

mix.js('resources/assets/js/app.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css');

<!doctype html>
getLocale() }}">

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>Laravel</title>

        <link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">

            @if (Route::has('login'))

                    @if (Auth::check())
                        Home
                    @else
                        Login
                        Register
                    @endif

            @endif

                    Laravel

                    Documentation
                    Laracasts
                    News
                    Forge
                    GitHub

npm run hot

@isurindu
I've just published version 3.0.31.
Could you try to reinstall your node modules? And try again?
rm -rf node_modules/
npm install

authors: ajaymathur ecrmnn g-plane isurindu


text:
[GA][JSSP] Introduce cache to machine

Each machine is queried multiple times in a row with the same interval -- we can calculate the answer once and cache it!

It does not the way I thought it does. Each query has different end of the range, as it is determined by duration of given operation.

repo: ecrs-org/ecrs


text:
[WIP] Save & load full training state

Instead of just model & optimizer. Implements #307.
Note: not fully complete yet. Will implement loading of state dict.

Thanks for your PR! As per the discussion in #307, we have decided to opt for a more complete overhaul of the API. Unfortunately, that means that this request is no longer necessary and will therefor be closed.

repo: ecs-vlc/torchbearer


text:
Complement documentation for iOS setup

Adds the entitlement and AID list necessaties to the docs.

Would it make sense to write that this is step is only necessary when not using the cocoa pod?

Got to check - I think it is also nescassary if adding the library manually.

It is nescassary - but during checking this i just learned, that there has to be even more :/
I will further complement.

repo: ecsec/open-ecard


text:
What license is this under?

Hi, Evan, I’m guessing that just like your other GitHub projects this would be under the MIT license, is that right?

Yup, MIT license


text:
Registering version 0.1.3

@JuliaRegistrator register()

Error while trying to register: "Tag with name v0.1.2 already exists and points to a different commit"

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/53555
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.3 -m "<description of version>" 579d6f7793bf4cc1cd2bd4fbf527b7ab64993d3e
git push origin v0.1.3

Registration finished


text:
Support COVERALLS_ENDPOINT for Enterprise usage

This is need for posting coverage to a Coveralls Enterprise instance.
More info here: https://enterprise.coveralls.io
Thank you!
Edit: added support for COVERALLS_PARALLEL
(https://coveralls.zendesk.com/hc/en-us/articles/203484329-Parallel-Build-Webhook)

Thanks @jtbandes -- I'm not sure why this Travis job is failing now:
https://travis-ci.org/eddyxu/cpp-coveralls/jobs/156086540#L156

Looks like probably a Python version problem: http://stackoverflow.com/questions/38957513/hi-i-just-installed-requests-with-pip-but-i-cant-import-it

2 months ago 😅
Probably the requests package has changed since then — maybe you can try updating this repo's requirements.txt to point to a specific (older) version and then it'll work.

I suspect this only broke recently: https://github.com/kennethreitz/requests/commit/7700ecae14930fd078e28e35425661d46778bfa9

Requests officially supports Python 2.6–2.7 & 3.3–3.5

😫
@eddyxu, how do you feel about dropping 3.2 from the build matrix?

@jtbandes @eddyxu all green! 🎉

@jtbandes  thanks a lot for working on this. I am totally fine of dropping python 3.2 :)

@nickmerwin @jtbandes  what about let us drop Python 3.2 follow the lead  of request?

@eddyxu ok sounds good -- I'll update the PR.

@nickmerwin awesome!

This LGTM. I look forward to installing it from pypi :)

Merged and release 0.3.12. Enjoy

authors: eddyxu jtbandes nickmerwin

repo: eddyxu/cpp-coveralls


text:
contribution guide v.1

branches description and it's purpose. How to use
how to use tags
steps to propose PR
PR review rules
steps to propose hot-fix
Release process (demo/preprod/prod)

There are some examples of well done contributing guides:
https://github.com/babel/babel/blob/master/CONTRIBUTING.md
https://github.com/atom/atom/blob/master/CONTRIBUTING.md
https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md
https://github.com/angular/angular/blob/master/CONTRIBUTING.md
https://github.com/emberjs/ember.js/blob/master/CONTRIBUTING.md
https://reactjs.org/docs/how-to-contribute.html
https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md
https://github.com/moby/moby/blob/master/CONTRIBUTING.md

authors: kiurchv lymychp


text:
test pr

Description
Summary of the change here
Type of change
Please delete options that are not relevant.

[ ] Bug fix
[ ] New feature
[ ] Document
[ ] Test
[ ] CI/CD
[ ] Refactor

How has this been tested

[ ] Unittest
[ ] Others:

Checklist:

[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Let's make the world better✨😋🐍🌎

Codecov Report

Merging #12 (eb5c815) into main (f6dd1b8) will increase coverage by 1.06%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   92.29%   93.36%   +1.06%
==========================================
  Files          18       18
  Lines         480      482       +2
  Branches       29       29
==========================================
+ Hits          443      450       +7
+ Misses         25       21       -4
+ Partials       12       11       -1

Impacted Files
Coverage Δ

pypj/setting.py
94.73% <ø> (ø)

pypj/environment.py
94.20% <85.71%> (+7.63%)
: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 f6dd1b8...eb5c815. Read the comment docs.

authors: codecov-commenter edge-minato

repo: edge-minato/pypj


text:
Disable runtime checks in production by default

Runtime type checks in edb.common.ast and edb.common.checked are taking up to
15% of the compilation cost based on profiling done as part of #694.
This change disables runtime type checks  by default unless an
EDGEDB_DEBUG_TYPECHECK=1 flag is passed in the environment.  Note: this is also
true for tests with the exception of tests of the runtime typechecking
capability itself.
In the case of edb.common.checked, disabling type checks cannot unfortunately
be done by replacing the data structures with builtin untyped versions due to
picklability.  Instead, we're shadowing the type checking classmethods from the
abstract classes with identity functions on the concrete types.
Benchmarks to follow.

@elprans Do you want typechecking to be enabled by a separate debug flag? I was thinking about enabling it always in tests & when EDGEDB_DEBUG_SERVER is set.

I feel we should avoid lumping many behaviors into a single flag, so a separate flag is OK.  We should enable it in devmode and tests by default for now.

We should enable it in devmode and tests by default for now.

Yeah, that's what I'm talking about.

some context
I've done some syntax tweaks recently and runtime types checking was extremely useful, simply because our parsers aren't yet typed. Strictly typing them is going to be quite challenging and it's hard to put an ETA on that. Elvis also finds runtime type checking useful. So we better keep it.
OTOH we don't change syntax that frequently, so having runtime type checking working in prod or in regular local edb test runs doesn't make a lot of sense. Having them in CI and as an opt-in via a debug flag should be sufficient.

This is rebased.

authors: 1st1 ambv elprans

repo: edgedb/edgedb


text:
Bump deps

Bumps outdated dependencies.
Tests are green and plus I got this fork running in a project, everything is worked as expected. Might want to test for incompatibilities anyway.

@qgadrian hey thanks! I will merge and release a new version soon 🎉

authors: edgurgel qgadrian

repo: edgurgel/httparrot


text:
🛑 Webmail-DGE is down

In ad10089, Webmail-DGE (http://webmail.mendoza.edu.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Webmail-DGE is back up in f246247.

repo: edu-red/DGE-GOV


text:
Heroku Application Error

After clicking the button in README.md I enter a name and click "Create App". After a minute or two, I get the message "Your app was successfully deployed." However, if I click the button "View" another page opens with the following error message:
 Application error

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

I found the following issues #394 & #364 (the last one is similar however, I have not even entered my credentials yet)... I tried using Safari as well as Firefox and Firefox Developer Edition (in case my browsers were stripping the referee headers) and this link from #394:
https://heroku.com/deploy?template=https://github.com/eduardoboucas/staticman/tree/master
and I am still getting the Application Error.

FYI - When I check the logs with heroku logs --tail I get the following error message:
 ›   Error: Missing required flag:
 ›     -a, --app APP  app to run command against
 ›   See more help with --help

FYI - When I check the logs with heroku logs --tail I get the following error message:
 ›   Error: Missing required flag:
 ›     -a, --app APP  app to run command against
 ›   See more help with --help

When I run the command heroku logs --tail I get the following:
2021-01-23T16:27:38.578873+00:00 app[api]: Initial release by user <my email address>
2021-01-23T16:27:38.578873+00:00 app[api]: Release v1 created by user <my email address>
2021-01-23T16:27:38.693018+00:00 app[api]: Release v2 created by user <my email address>
2021-01-23T16:27:38.693018+00:00 app[api]: Enable Logplex by user <my email address>
2021-01-23T16:27:39.000000+00:00 app[api]: Build started by user <my email address>
2021-01-23T16:28:38.261575+00:00 app[api]: Deploy by user <my email address>
2021-01-23T16:28:38.261575+00:00 app[api]: Release v3 created by user <my email address>
2021-01-23T16:28:38.281753+00:00 app[api]: Scaled to web@1:Free by user <my email address>
2021-01-23T16:28:42.000000+00:00 app[api]: Build succeeded
2021-01-23T16:28:42.306729+00:00 heroku[web.1]: Starting process with command `npm start`
2021-01-23T16:28:44.493617+00:00 app[web.1]:
2021-01-23T16:28:44.493632+00:00 app[web.1]: > staticman@3.0.0 prestart
2021-01-23T16:28:44.493633+00:00 app[web.1]: > if [ ! -d node_modules ]; then npm install; fi
2021-01-23T16:28:44.493633+00:00 app[web.1]:
2021-01-23T16:28:44.501013+00:00 app[web.1]:
2021-01-23T16:28:44.501014+00:00 app[web.1]: > staticman@3.0.0 start
2021-01-23T16:28:44.501014+00:00 app[web.1]: > node index.js
2021-01-23T16:28:44.501014+00:00 app[web.1]:
2021-01-23T16:28:44.849819+00:00 app[web.1]: Error: Empty key given
2021-01-23T16:28:44.849855+00:00 app[web.1]: at NodeRSA.module.exports.NodeRSA.importKey (/app/node_modules/node-rsa/src/NodeRSA.js:178:19)
2021-01-23T16:28:44.849855+00:00 app[web.1]: at Object.<anonymous> (/app/lib/RSA.js:6:5)
2021-01-23T16:28:44.849856+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:44.849856+00:00 app[web.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
2021-01-23T16:28:44.849856+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:973:32)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:813:14)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Module.require (node:internal/modules/cjs/loader:997:19)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at require (node:internal/modules/cjs/helpers:92:18)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Object.<anonymous> (/app/controllers/encrypt.js:4:13)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:44.903653+00:00 heroku[web.1]: Process exited with status 0
2021-01-23T16:28:44.944658+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-23T16:28:44.947909+00:00 heroku[web.1]: State changed from crashed to starting
2021-01-23T16:28:49.753525+00:00 heroku[web.1]: Starting process with command `npm start`
2021-01-23T16:28:53.301422+00:00 app[web.1]:
2021-01-23T16:28:53.301436+00:00 app[web.1]: > staticman@3.0.0 prestart
2021-01-23T16:28:53.301437+00:00 app[web.1]: > if [ ! -d node_modules ]; then npm install; fi
2021-01-23T16:28:53.301437+00:00 app[web.1]:
2021-01-23T16:28:53.322432+00:00 app[web.1]:
2021-01-23T16:28:53.322434+00:00 app[web.1]: > staticman@3.0.0 start
2021-01-23T16:28:53.322434+00:00 app[web.1]: > node index.js
2021-01-23T16:28:53.322435+00:00 app[web.1]:
2021-01-23T16:28:53.874567+00:00 app[web.1]: Error: Empty key given
2021-01-23T16:28:53.874597+00:00 app[web.1]: at NodeRSA.module.exports.NodeRSA.importKey (/app/node_modules/node-rsa/src/NodeRSA.js:178:19)
2021-01-23T16:28:53.874599+00:00 app[web.1]: at Object.<anonymous> (/app/lib/RSA.js:6:5)
2021-01-23T16:28:53.874600+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:53.874601+00:00 app[web.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:973:32)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:813:14)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at Module.require (node:internal/modules/cjs/loader:997:19)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at require (node:internal/modules/cjs/helpers:92:18)
2021-01-23T16:28:53.874603+00:00 app[web.1]: at Object.<anonymous> (/app/controllers/encrypt.js:4:13)
2021-01-23T16:28:53.874603+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:53.977894+00:00 heroku[web.1]: Process exited with status 0
2021-01-23T16:28:54.030222+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-23T16:29:47.637614+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=staticman-fallfishtenkara.herokuapp.com request_id=196b4314-8b0a-476f-8fdf-4df303d21daa fwd="68.6.219.60" dyno= connect= service= status=503 bytes= protocol=https
2021-01-23T16:30:54.644374+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=staticman-fallfishtenkara.herokuapp.com request_id=2823928b-5051-4c7b-bc99-bcdf3c28f085 fwd="68.6.219.60" dyno= connect= service= status=503 bytes= protocol=https
2021-01-23T16:31:04.420138+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=staticman-fallfishtenkara.herokuapp.com request_id=4609c891-eb9e-4a6d-b220-acc9158037e4 fwd="68.6.219.60" dyno= connect= service= status=503 bytes= protocol=https

When I run the command heroku logs --tail I get the following:
2021-01-23T16:27:38.578873+00:00 app[api]: Initial release by user <my email address>
2021-01-23T16:27:38.578873+00:00 app[api]: Release v1 created by user <my email address>
2021-01-23T16:27:38.693018+00:00 app[api]: Release v2 created by user <my email address>
2021-01-23T16:27:38.693018+00:00 app[api]: Enable Logplex by user <my email address>
2021-01-23T16:27:39.000000+00:00 app[api]: Build started by user <my email address>
2021-01-23T16:28:38.261575+00:00 app[api]: Deploy by user <my email address>
2021-01-23T16:28:38.261575+00:00 app[api]: Release v3 created by user <my email address>
2021-01-23T16:28:38.281753+00:00 app[api]: Scaled to web@1:Free by user <my email address>
2021-01-23T16:28:42.000000+00:00 app[api]: Build succeeded
2021-01-23T16:28:42.306729+00:00 heroku[web.1]: Starting process with command `npm start`
2021-01-23T16:28:44.493617+00:00 app[web.1]:
2021-01-23T16:28:44.493632+00:00 app[web.1]: > staticman@3.0.0 prestart
2021-01-23T16:28:44.493633+00:00 app[web.1]: > if [ ! -d node_modules ]; then npm install; fi
2021-01-23T16:28:44.493633+00:00 app[web.1]:
2021-01-23T16:28:44.501013+00:00 app[web.1]:
2021-01-23T16:28:44.501014+00:00 app[web.1]: > staticman@3.0.0 start
2021-01-23T16:28:44.501014+00:00 app[web.1]: > node index.js
2021-01-23T16:28:44.501014+00:00 app[web.1]:
2021-01-23T16:28:44.849819+00:00 app[web.1]: Error: Empty key given
2021-01-23T16:28:44.849855+00:00 app[web.1]: at NodeRSA.module.exports.NodeRSA.importKey (/app/node_modules/node-rsa/src/NodeRSA.js:178:19)
2021-01-23T16:28:44.849855+00:00 app[web.1]: at Object.<anonymous> (/app/lib/RSA.js:6:5)
2021-01-23T16:28:44.849856+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:44.849856+00:00 app[web.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
2021-01-23T16:28:44.849856+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:973:32)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:813:14)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Module.require (node:internal/modules/cjs/loader:997:19)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at require (node:internal/modules/cjs/helpers:92:18)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Object.<anonymous> (/app/controllers/encrypt.js:4:13)
2021-01-23T16:28:44.849857+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:44.903653+00:00 heroku[web.1]: Process exited with status 0
2021-01-23T16:28:44.944658+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-23T16:28:44.947909+00:00 heroku[web.1]: State changed from crashed to starting
2021-01-23T16:28:49.753525+00:00 heroku[web.1]: Starting process with command `npm start`
2021-01-23T16:28:53.301422+00:00 app[web.1]:
2021-01-23T16:28:53.301436+00:00 app[web.1]: > staticman@3.0.0 prestart
2021-01-23T16:28:53.301437+00:00 app[web.1]: > if [ ! -d node_modules ]; then npm install; fi
2021-01-23T16:28:53.301437+00:00 app[web.1]:
2021-01-23T16:28:53.322432+00:00 app[web.1]:
2021-01-23T16:28:53.322434+00:00 app[web.1]: > staticman@3.0.0 start
2021-01-23T16:28:53.322434+00:00 app[web.1]: > node index.js
2021-01-23T16:28:53.322435+00:00 app[web.1]:
2021-01-23T16:28:53.874567+00:00 app[web.1]: Error: Empty key given
2021-01-23T16:28:53.874597+00:00 app[web.1]: at NodeRSA.module.exports.NodeRSA.importKey (/app/node_modules/node-rsa/src/NodeRSA.js:178:19)
2021-01-23T16:28:53.874599+00:00 app[web.1]: at Object.<anonymous> (/app/lib/RSA.js:6:5)
2021-01-23T16:28:53.874600+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:53.874601+00:00 app[web.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:973:32)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:813:14)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at Module.require (node:internal/modules/cjs/loader:997:19)
2021-01-23T16:28:53.874602+00:00 app[web.1]: at require (node:internal/modules/cjs/helpers:92:18)
2021-01-23T16:28:53.874603+00:00 app[web.1]: at Object.<anonymous> (/app/controllers/encrypt.js:4:13)
2021-01-23T16:28:53.874603+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1108:14)
2021-01-23T16:28:53.977894+00:00 heroku[web.1]: Process exited with status 0
2021-01-23T16:28:54.030222+00:00 heroku[web.1]: State changed from starting to crashed
2021-01-23T16:29:47.637614+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=staticman-fallfishtenkara.herokuapp.com request_id=196b4314-8b0a-476f-8fdf-4df303d21daa fwd="68.6.219.60" dyno= connect= service= status=503 bytes= protocol=https
2021-01-23T16:30:54.644374+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=staticman-fallfishtenkara.herokuapp.com request_id=2823928b-5051-4c7b-bc99-bcdf3c28f085 fwd="68.6.219.60" dyno= connect= service= status=503 bytes= protocol=https
2021-01-23T16:31:04.420138+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=staticman-fallfishtenkara.herokuapp.com request_id=4609c891-eb9e-4a6d-b220-acc9158037e4 fwd="68.6.219.60" dyno= connect= service= status=503 bytes= protocol=https

Hi!
[first time I help somebody in github]
Go other way! (I'm on ubuntu) (I just add staticman a few days ago) :
Delete your heroku app.
Make githubBOTaccount (verified).
Install heroku CLI on your OS.
Generate new personnal access token with githubBOT (save it in txt file) + select scopes (repo -all + user -all)
Then :
git clone https://github.com/eduardoboucas/staticman.git
Go in staticman folder.
Create "Procfile" file add "npm start".
openssl genrsa -out key.pem
Create "config.production.json" add this :
{
  "githubToken": "yourtoken",
  "rsaPrivateKey": "-----BEGIN RSA PRIVATE KEY\n-----la clé entier-----\nEND RSA PRIVATE KEY-----",
  "port": 8080
}

heroku login
heroku create nameofyourapp
heroku config:set NODE_ENV="production"
heroku config:set GITHUB_TOKEN="votretoken"
heroku config:set RSA_PRIVATE_KEY="$(cat ./key.pem)"

git checkout -b production 55d1430
Then :
in .gitignore add "!config.production.json"
Deploy :
git add .
git commit -m "Set up Staticman v3 for deployment to Heroku"
git push heroku production:master

go see your app if everything good you will see :
Hello from Staticman version 3.0.0!
After install just do configuration and your partials.

Hi!
[first time I help somebody in github]
Go other way! (I'm on ubuntu) (I just add staticman a few days ago) :
Delete your heroku app.
Make githubBOTaccount (verified).
Install heroku CLI on your OS.
Generate new personnal access token with githubBOT (save it in txt file) + select scopes (repo -all + user -all)
Then :
git clone https://github.com/eduardoboucas/staticman.git
Go in staticman folder.
Create "Procfile" file add "npm start".
openssl genrsa -out key.pem
Create "config.production.json" add this :
{
  "githubToken": "yourtoken",
  "rsaPrivateKey": "-----BEGIN RSA PRIVATE KEY\n-----la clé entier-----\nEND RSA PRIVATE KEY-----",
  "port": 8080
}

heroku login
heroku create nameofyourapp
heroku config:set NODE_ENV="production"
heroku config:set GITHUB_TOKEN="votretoken"
heroku config:set RSA_PRIVATE_KEY="$(cat ./key.pem)"

git checkout -b production 55d1430
Then :
in .gitignore add "!config.production.json"
Deploy :
git add .
git commit -m "Set up Staticman v3 for deployment to Heroku"
git push heroku production:master

go see your app if everything good you will see :
Hello from Staticman version 3.0.0!
After install just do configuration and your partials.

@subversive-eu Hi thanks for your help!  I would like to point out that la clé entier in your config.production.json can be translated to the entier (RSA private) key.
For a minimal Heroku config, no installation is needed, as suggested by the README file.  Just click the Heroku deploy button and fill in the necessary API config parameters in the apps setting page.

@Isaac-Tait These two lines in the log explain everything.
Error: Empty key given
at NodeRSA.module.exports.NodeRSA.importKey (/app/node_modules/node-rsa/src/NodeRSA.js:178:19)

You need to set generate your own RSA private key PEM file and paste the content of this file into your Heroku app's config variable.

Successful example: https://github.com/VincentTam/TestStaticmanLab/pull/95

Reference: https://hajekj.net/2020/04/15/staticman-setup-in-app-service/

Remarks about the referenced article:
I tried following the instructions about the additional manual treatment of the RSA PEM file (the removal of the first and the last \n) without success.  As last, I decided not to follow its advice and I just pasted the contents of the PEM file into the text area as shown in the above screenshot.  Do this for both RSA_PRIVATE_KEY and GITHUB_PRIVATE_KEY.  Finally, I've managed to get through this problem.

Screenshot of my private app: heroku log -a secretman3 --tail
In the middle of this screenshot, you see that there's an InvalidAsn1Error, which is caused by the incorrect formatting of the Heroku app's config variable RSA_PRIVATE_KEY.  After I corrected that (observe the green line set ... by user ...), the error was gone, and I was able to access the v3/encrypt endpoint.

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

I had deployed my first app on heroku and getting application error.
Someone please help to fix the problem.
https://github.com/dev-dk813/Todo-website

solution for flask app deployment ??
I got this error
An error occurred
in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command

authors: Isaac-Tait ShamZee VincentTam dev-dk813 faisoabdirisak subversive-eu

repo: eduardoboucas/staticman


text:
Header-decor with Expandable RecyclerView

Hi Eduardo! I tried use Header-decor view with Expandable RecyclerView library (by Ryan Brooks https://github.com/rbro112/expandable-recycler-view ) to create Expandable items with sticky headers but, I have a problem, can you write any commentary to me. When I StickerheaderDecoration send request to adapter by method getHeaderId I can retrun right header position but when expandable items expended then header will be draw header on incorrect position. Can you any suggestion to solve this?

I haven't really used the header library with expandable items. The cause might be the change of item numbers in the list after an item is expanded since it seems like the library you're using adds extra items to the adapter, so calling clearHeaderCache on the decoration might force the headers to be drawn in the correct place. If you could create a sample project that shows this behaviour I could look more into it on my free time. Thanks!

@boyfox if you search both functionalities, you might want to check my implementation on my page. Feel free to ask there.

Thanks @davideas, I seen your project "FlexibleAdapter", I will be try it today.

authors: boyfox davideas edubarr

repo: edubarr/header-decor


text:
speed up CI builds

This PR helps speed up the feedback process by:

preventing duplicate builds of PRs from local branches
skip packaging as part of the CI build

Current master:

Ran for 10 min 49 sec
Total time 17 min 42 sec

This PR:

Ran for 2 min 1 sec
Total time 3 min 56 sec

@srinjoym feel free to merge master into your outstanding PR branches to get that improved feedback time

repo: education/classroom-desktop


text:
Multiple Groups

Hi,
I was able to use the teachers_pet toll to create "students" and "groups".
My students file looks like:
StudentName1
StudentName2
StudentName3
team1 StudentName1 StudentName2 StudentName3
Ok, how can I create more students (StudentName4, StudentName6) and teams (team2) ?
Do I have to create a new students file? Or eyerything in one file?

I tried like this:
StudentName1
StudentName2
StudentName3
team1 StudentName1 StudentName2 StudentName3
StudentName4
StudentName5
StudentName6
team2 StudentName4 StudentName5 StudentName6
But that was not working out...

Hi @PatrickWolfVDA I have my students organized into a couple of different formats.
I have files for teams, files for students, and files for different sections of students.
For example I have an all_student_teams file that looks like this:
team1 studentname1 studentname2 studentname3
team2 studentname4 studentname5 studentname6
I have a file for all_students which is just:
studentname1
studentname2
studentname3
...

Hi @tarebyte,
thanks first. Ok, that sound intuitive for me. Would it than work like:

use the create_student_team command with the all_students file
use the  teachers_pet add_to_team command with the all_students.csv file

Hi @tarebyte,
thanks first. Ok, that sound intuitive for me. Would it than work like:

use the create_student_team command with the all_students file
use the  teachers_pet add_to_team command with the all_students_team.csv file

Not quite, let's make this into an example.
Let's assume the method of sandboxing that I want is that there are multiple student teams with several members per team.
My all_student_teams file looks like this:
team1 studentname1 studentname2 studentname3
team2 studentname4 studentname5 studentname6
# more teams etc

I want to invite the students to my organization (my-classroom-org) AND separate them into teams, I would use the create_student_teams command
teachers_pet create_student_teams --organization my-classroom-org --students all_student_teams

Now if I want to add members to my team, I can just add them to my all_student_teams file and then rerun the command above.
Does that make sense @VDAStudent2?
Side Note
The method I'm using requires that you have the TEACHERS_PET_GITHUB_TOKEN setup in your ENV.

Hi @tarebyte,
yes that looks creat. I guess i will try the following:

all_students_team to create the team structure
a file (single_students) which just contains: Studen1, Student2, ... to create individual accounts
teachers_pet create_repos with all_student_teams/single_student

Thank's for helping and I write how it works.
By the way: How to create the syntax highlighting in here :)

Hi @tarebyte,
yes that looks good. I guess i will try the following:

all_students_team to create the team structure
a file (single_students) which just contains: Studen1, Student2, ... to create individual accounts
teachers_pet create_repos with all_student_teams/single_student to create the repos

Thank's for helping and I write how it works.
By the way: How to create the syntax highlighting in here :)

@VDAStudent2 https://help.github.com/articles/github-flavored-markdown/#syntax-highlighting
:smile_cat:

@tarebyte !
I was able to do it. Tank's for yout great help.
I created a "students file" with both - names and groups.

Wonderful! I'm glad I was able to help :smiley_cat:

authors: PatrickWolfVDA VDAStudent2 tarebyte


text:
Update Dockerfile

https://github.com/edumeet/edumeet/issues/1006

Thanks. But please make pull requests into develop branch.

repo: edumeet/edumeet


text:
Fix Crash when opening nav drawer on Find Courses when search bar dis…

Description
MA-2593
-Check for null when accessing search bar view.
-Removed unused imports
Testing

[ ] Unit, integration, acceptance tests as appropriate
Given every permutation of webview/native and search bar enabled/disabled, ran repro steps and ensured no crash.

Reviewers
If you've been tagged for review, please check your corresponding box once you've given the :+1:.

[ ] Code review: @BenjiLee
[ ] Code review: @brianguertin

@@             master       #758   diff @@
==========================================
  Files           484        484
  Lines         20909      20909
  Methods           0          0
  Messages          0          0
  Branches       2948       2948
==========================================
  Hits           3668       3668
  Misses        16827      16827
  Partials        414        414

Review [#758][cc-pull] on Codecov

Powered by Codecov. Last updated by [518f614...e3631a6][cc-compare]
[cc-base-branch]: https://codecov.io/gh/edx/edx-app-android/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/edx/edx-app-android/compare/518f61493970591ddcc981869f580592d197114e...e3631a6a698f79335e20a8ddac5ad9adff661e6e
[cc-pull]: https://codecov.io/gh/edx/edx-app-android/pull/758?src=pr

👍

@brianguertin?

use @bguertin, @brianguertin  is his personal handle.

@bguertin?

@bguertin just a friendly reminder to review

👍
Sorry for the delay

authors: BenjiLee bguertin codecov-io mdinino

repo: edx/edx-app-android


text:
Deploy to PyPI

ECOM-3833

FYI @nedbat

repo: edx/edx-lint


text:
Mirror works with https, not with ssh

Bitbucket 4.10.1.
Repository Mirror Plugin 2.0.0
When I use a ssh connection, for example git@github.com:itext/itextsharp.git, then mirroring doesn't work.
When I change this to https connection, for example https://github.com/itext/itextsharp.git, then mirroring does work.

Can you SSH from the bitbucket server to your remote host when logged in as the bitbucket user? (Default is atlbitbucket I think.)

As @nathansgreen suggests, verify the github ssh key is being used by the bitbucket user.
You can try a manual mirror command:
https://github.com/ef-labs/stash-hook-mirror/wiki#troubleshooting

FYI - On windows, you cannot log in as the bitbucket user

authors: adrianluisgonzalez amedee nathansgreen patrick-compass

repo: ef-labs/stash-hook-mirror


text:
Adding POLY2 table for GF180 DRC

Adding POLY2 table for GF180 DRC

@atorkmabrains Ready to review


text:
Fix Odb.RemoveRoutingObstructions failing with non-integer coordinates

When specifying non integer coordinates in ROUTING_OBSTRUCTIONS, the Odb.RemoveRoutingObstructions would fail as it would truncate the decimal part before trying to match the coordinate.
For example, the following config would fail on any project (due to 16.5 appearing in the coordinate list):
  "ROUTING_OBSTRUCTIONS": [
    "met1 10 10 20 16.5"
  ],

Why are we converting dbus to microns just to convert them back to DBUs? @kareefardi

Why are we converting dbus to microns just to convert them back to DBUs? @kareefardi

add_obstructions:

takes microns
convert to dbus
creates an obstruction using dbu

remove_obstructions:

takes microns
iterates over existing obstructions (in dbu)
converts to microns for comparison
removes if match

There is no redundancy here. The input should be in microns

why not convert both to dbus and compare in integer space where things are more reliable?

@kareefardi I updated the code to not use floats. Please review.

authors: donn kareefardi urish


text:
run then crashed in iPhone5s with iOS 9.2

while crashed,  xcode debug output:
dyld: Library not loaded: @rpath/GCDWebServer.framework/GCDWebServer
Referenced from: /var/mobile/Containers/Bundle/Application/B01E17BD-180B-4260-9654-04DDAB17D93C/iOSRTCApp.app/iOSRTCApp
Reason: image not found

It seems an usage problem.

and details ?

No. It is just that this is not the forum of any Cordova+iOS related problem. cordova-plugin-iosrtc does not use such a GCDWebServer at all. If that is part of Cordova+iOS then that is not a bug in this plugin.

I found its solution----- I remove the external frameworks named GCDWebServer and XWalkerView.framework.
iOSRTCApp run normally.

But after run up iOSRTCApp, I see the html error :
Uncaught TypeError : can not read property 'platform' of undefined.
in appwindows.html  Line 133:
if (window.device.platform === "iOS") {

This is the project bug-tracker. Please ask your doubts and questions in the project public mailing list (unless you really find a bug).

ok

find :    window.device  is  undefined.
It appears repeatly.

Yes, that's because you copy&pasted the example code without reading it:

(assuming that cordova-plugin-device is installed)


text:
🛑 Nodo UTT Ramos Mejia is down

In c3e1bef, Nodo UTT Ramos Mejia (https://www.uttnodoramosmejia.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo UTT Ramos Mejia is back up in 20cccf8 after 14 minutes.

repo: efecear/upptime


text:
🛑 Tierra Firme is down

In c1a317a, Tierra Firme (https://www.tierrafirmenodoutt.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tierra Firme is back up in 9e13d70.


text:
🛑 Almacén Reina Batata is down

In d5b6b9d, Almacén Reina Batata (https://www.reina-batata.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Almacén Reina Batata is back up in 0bb762c.


text:
Video thumbnail storage

It seems like the thumbnail generated for videos is not stored correctly.
See #5

Per Ghost docs https://ghost.org/docs/config/
It looks like we should by default be storing the thumbnails at /content/media/thumbnail/
I've been digging into how these adapters work a bit trying to chase down some other problems I have with it. But thought I'd share this tidbit in case it's helpful.

authors: egeldenhuys fritz-fritz


text:
Webpack loader

import MyIcon from './my-icon.react.svg'

const App = () => (
  <MyIcon />
)

// webpack config
{
  test: /\.react.svg$/,
  loader: 'svg-to-component-loader',
  options: {
    type: 'react'
  }
}

Done: https://github.com/egoist/svg-to-component-loader

repo: egoist/svg-to-component


text:
WriteBehind writer blocks cache put operation

I define a CacheLoaderWriter that simulate a long write operation, and couple it with a write behind config:
public class LongCacheLoaderWriter<K, V> implements CacheLoaderWriter<K, V> {

 ...

 public void write(final K k, final V v) throws Exception {
    try {
      Thread.sleep(4000);
    } catch (InterruptedException e) {
      throw new RuntimeException(e);
    }
  }
...

The following code, just doing a cache.put(...) is then blocked by the writer
   CacheManagerBuilder<CacheManager> cacheManagerBuilder = CacheManagerBuilder.newCacheManagerBuilder();
    cacheManagerBuilder
        .withCache("writebehindcache", newCacheConfigurationBuilder()
            .withResourcePools(ResourcePoolsBuilder.newResourcePoolsBuilder()
                .heap(100, EntryUnit.ENTRIES).build())
            .buildConfig(Long.class, String.class));

    cacheManagerBuilder
        .using(WriteBehindConfigurationBuilder.newWriteBehindConfiguration()
            .concurrencyLevel(3).batchSize(4)
            .queueSize(10)
            .build());
    cacheManagerBuilder
        .using(new LongCacheLoaderWriterFactory<Long, String>(datasource));
    CacheManager cacheManager = null;
    try {
      cacheManager = cacheManagerBuilder.build(true);

      Cache<Long, String> cache = cacheManager.getCache("writebehindcache", Long.class, String.class);
      assertThat(datasource.size(), is(equalTo(0)));
      long start = System.currentTimeMillis();
      cache.put(1L, "value");
      long elapsedTime = System.currentTimeMillis() - start;
      assertThat("the cache.put should not be blocked by the write behind cachewriter", elapsedTime, is(lessThan(3000L)));
    } finally {
      if (cacheManager != null) {
        cacheManager.close();
      }
    }

I tried recreating the bug by using the following CacheLoaderWriter for simulating write operation:
public class LongCacheLoaderWriter<K, V> implements CacheLoaderWriter {
private static final Logger LOGGER = LoggerFactory.getLogger(LongCacheLoaderWriter.class);

@Override
public Object load(Object key) throws Exception {
  throw new UnsupportedOperationException("Implement me!");
}

@Override
public Map loadAll(Iterable keys) throws Exception {
  throw new UnsupportedOperationException("Implement me!");
}

@Override
public void write(Object k, Object v) throws Exception {
  try {
    LOGGER.info("Write");
    Thread.sleep(4000);
  } catch (InterruptedException e) {
    throw new RuntimeException(e);
  }
}

@Override
public void delete(Object key) throws Exception {
  throw new UnsupportedOperationException("Implement me!");
}

@Override
public void deleteAll(Iterable keys) throws Exception {
  throw new UnsupportedOperationException("Implement me!");
}

@Override
public void writeAll(Iterable iterable) throws Exception {
  try {
    LOGGER.info("WriteAll");
    Thread.sleep(4000);
  } catch (InterruptedException e) {
    throw new RuntimeException(e);
  }
}

}
And the following LoaderWriteFactory
private class LongCacheLoaderWriterFactory<K, V> implements CacheLoaderWriterFactory {

@Override
public void start(ServiceConfiguration<?> config, ServiceProvider serviceProvider) {
  //noop
}

@Override
public void stop() {
  //noop
}

@SuppressWarnings("unchecked")
@Override
public <K, V> CacheLoaderWriter<? super K, V> createCacheLoaderWriter(String alias, CacheConfiguration<K, V> cacheConfiguration) {
  return new LongCacheLoaderWriter<K, V>();
}

@Override
public void releaseCacheLoaderWriter(CacheLoaderWriter<?, ?> cacheLoaderWriter) {
  //noop
}

}
And used the following configurations for a simple put operation:
@Test
public void testWriter() {
CacheManagerBuilder cacheManagerBuilder = CacheManagerBuilder.newCacheManagerBuilder();
cacheManagerBuilder
    .using(new LongCacheLoaderWriterFactory<Long, String>());

CacheManager cacheManager = cacheManagerBuilder.build(true);

final Cache<Long, String> writeBehindCache = cacheManager.createCache("writeBehindCache",
    CacheConfigurationBuilder.newCacheConfigurationBuilder()
        .withResourcePools(ResourcePoolsBuilder.newResourcePoolsBuilder()
            .heap(100, EntryUnit.ENTRIES).build())
        .add(WriteBehindConfigurationBuilder.newWriteBehindConfiguration()
            .queueSize(10)
            .concurrencyLevel(3)
            .batchSize(1))
        .buildConfig(Long.class, String.class));

long start = System.currentTimeMillis();
writeBehindCache.put(1L, "value");
long elapsedTime = System.currentTimeMillis() - start;
assertThat("the cache.put should not be blocked by the write behind cachewriter", elapsedTime, is(lessThan(3000L)));
System.out.println(elapsedTime);

cacheManager.close();

}
The put operation seems to work expectedly without any blocking from the writer. If you could share the LongCacheLoaderWriterFactory  you used. We can check if something unexpected is caused due to that.
Also please note that since you are using batchSize(4) this will route to a writeAll rather than a write operation.

Here is the class:
package com.terracotta.qa.ehcache.configuration;

import org.ehcache.config.CacheConfiguration;
import org.ehcache.spi.ServiceProvider;
import org.ehcache.spi.loaderwriter.CacheLoaderWriter;
import org.ehcache.spi.loaderwriter.CacheLoaderWriterFactory;
import org.ehcache.spi.service.ServiceConfiguration;

import java.util.Map;

public class LongCacheLoaderWriterFactory<K, V> implements CacheLoaderWriterFactory {

  private Map<K, V> datasource;

  public LongCacheLoaderWriterFactory(Map<K,V> datasource) {
    this.datasource = datasource;
  }

  @Override
  @SuppressWarnings("unchecked")
  public <K, V> CacheLoaderWriter<? super K, V> createCacheLoaderWriter(final String s, final CacheConfiguration<K, V> cacheConfiguration) {
    return new LongCacheLoaderWriter(datasource);
  }

  @Override
  public void releaseCacheLoaderWriter(final CacheLoaderWriter<?, ?> cacheLoaderWriter) {

  }

  @Override
  public void start(final ServiceConfiguration<?> serviceConfiguration, final ServiceProvider serviceProvider) {

  }

  @Override
  public void stop() {

  }
}

More discussions on this topic happened during the public dev meeting of this day.
One idea was to remove from the public API org.ehcache.CacheManagerBuilder#using(org.ehcache.spi.service.ServiceConfiguration<?>).

authors: aurbroszniowski ljacomet rishabhmonga


text:
Review RestLogger on Exception

RestLogger doesn't seem to log the response body when an exception is raised because of the error response.

v4.1.0


text:
ETR should not fail when no test case could be detected

Description

If a test case is not detected in ETR when a TEST_REGEX has been added, then ETR will crash with a KeyError.
I want this crash to be removed and ETR to exit successfully.
Motivation

A crash is not okay as there might be situations where no tests is the intended behavior such as when deciding whether or not to run a test in run-time.
The reason for this "feature" was to detect when there were no tests running at all, which we should see as a failure in order to avoid false positives. I would, instead, like to see a check in ETOS Client for this instead as that would be easier to communicate to users.
Exemplification

Running a test that needs to check with the IUT whether or not it can run and then not running would cause a crash of ETOS.
While this scenario should not be encouraged, it should still be allowed.
Benefits

Easier communication with users when not tests are run and a test runner that does not have opinions in how users run tests.
Possible Drawbacks

We must communicate with users that no tests have been run, so that we don't have false positives.

After thinking about this, we cannot check the number of tests executed within ETOS Client due to the fact that we do not send test case events if the TEST_REGEX has not been set.
We should try to find a better way of checking this, but it should not be done within this issue.

repo: eiffel-community/etos


text:
Improvements

Convenience maven wrapper
README.MD
Remove IDE specific project file (update .gitignore)

@eimantas @jvitkauskas

Thanks for the PR! Can you expand on what does convenience maven wrapper does? We're not java developers and chose the language just for fun 😅

From quick guide

The Maven Wrapper is an excellent choice for projects that need a specific version of Maven (or for users that don't want to install Maven at all). Instead of installing many versions of it in the operating system, we can just use the project-specific wrapper script.

@mdomasevicius thank you for your contribution. I am going to partially merge this. Not sure about the maven wrapper, because it brings in a lot of code and this repo is meant to be easy to audit and trust.

authors: eimantas jvitkauskas mdomasevicius

repo: eimantas/gpasas-javalin

license: Unlicense


text:
Real time quote do not work

Its not working or it is me who is stupid)
my code:
from ejtraderCT import Ctrader
import logging

SERVER = 'h18.p.ctrader.com'
BROKER = 'demo.roboforex'
LOGIN = '6183532'
PASSWORD = 'damian999'
CURRENCY = 'EUR'

def auth():
    logging.getLogger().setLevel(logging.INFO)
    api = Ctrader(SERVER, BROKER, LOGIN, PASSWORD, CURRENCY)
    return api

client = auth()
client.subscribe('EURUSD')

quote = client.quote('EURUSD')
print(quote)

feedback:
INFO:root:Quote logged on - client_id 1
INFO:root:Trade logged on - client_id 1
Symbol not Subscribed

if I'm doing it this way:
client.subscribe("EURUSD", "GBPUSD")
quote = client.quote()
print(quote)

do not get real time quotes anyway:
INFO:root:Quote logged on - client_id 1
INFO:root:Trade logged on - client_id 1
{}

getting just an empty {}

Its not working or it is me who is stupid)
my code:
from ejtraderCT import Ctrader
import logging

SERVER = 'h18.p.ctrader.com'
BROKER = 'demo.roboforex'
LOGIN = '6183532'
PASSWORD = 'damian999'
CURRENCY = 'EUR'

def auth():
    logging.getLogger().setLevel(logging.INFO)
    api = Ctrader(SERVER, BROKER, LOGIN, PASSWORD, CURRENCY)
    return api

client = auth()
client.subscribe('EURUSD')

quote = client.quote('EURUSD')
print(quote)

feedback:
INFO:root:Quote logged on - client_id 1
INFO:root:Trade logged on - client_id 1
Symbol not Subscribed

if I'm doing it this way:
client.subscribe("EURUSD", "GBPUSD")
quote = client.quote()
print(quote)

do not get real time quotes anyway:
INFO:root:Quote logged on - client_id 1
INFO:root:Trade logged on - client_id 1
{}

getting just an empty {}

Sorry for later response  add time sleep for subscribe the symbol
from ejtraderCT import Ctrader
import logging
import time

SERVER = 'h18.p.ctrader.com'
BROKER = 'demo.roboforex'
LOGIN = '6183532'
PASSWORD = 'damian999'
CURRENCY = 'EUR'

def auth():
    logging.getLogger().setLevel(logging.INFO)
    api = Ctrader(SERVER, BROKER, LOGIN, PASSWORD, CURRENCY)
    return api

client = auth()

client.subscribe("EURUSD")
time.sleep(3)

while True:
    print(client.quote('EURUSD'))

authors: QIzxqzy traderpedroso

repo: ejtraderLabs/ejtraderCT


text:
Can you write an example where inputBarView is a subview?

hi,
Do you have time to write an example where inputBarView is a subview?
I tried to rewrite the current demo, but the effect was not very satisfactory.

@std-s Hi,
Unfortunately I wont have time anytime soon. I suggest you to try to use keyboardLayoutGuide as it may simplify the task.

👌

authors: ekazaev std-s

repo: ekazaev/ChatLayout


text:
not work while run vuepress dev

not work while running vuepress dev, but do generate sitemap.xml after running vuepress build. Doesn't is a bug?

@Genuifx, it's by design.

I close it, feel free to reopen the issue if you want.

authors: Genuifx ekoeryanto

repo: ekoeryanto/vuepress-plugin-sitemap


text:
Sensor Oven doesn't update during program running

Hi ekutner,
today the oven (BOSCH-HNG6764S6)  start program at 8:55 (Roastbeff-al sangue) but the sensors for the oven weren't updating (example: active program, elapsed program time, ecc)
At 9:28 I pressed the integration button  "refresh" and the sensors updated again.
See in attacched  debug log.
Often the sensor "sensor.bosch_hng6764s6_68a40e03aeeb_cooking_oven_status_currentcavitytemperature" doesn't update for long time.
home-assistant.log
Version 0.5.9
Many thanks Ivan

According to the log the program was started at 08:54:11 and the active program was correctly updated at that time, along with 4 additional program options. After that the ElapsedProgramTime and ProgramProgress sensors were continuously updated based on events received from HC. The CurrentActivityTemperture is not being updated because HC doesn't send update events for that sensor.
Note that the integration is "cloud push" type, that means that it updates based on events it receives from the cloud service (Home Connect). If HC fails to send update events then the values will not be updated. When you press the refresh button you force an active pull of data and that's why you saw it update at that time. Bottom line is that this is an problem with HC, not the integration.

Hi @ekutner, thanks for the reply, unfortunately the sensor on home hassistant was not updated before I pressed the "refresh" button. maybe the problem is on home assistant? Following print screnn about sensor in HA:
(sensor.bosch_hng6764s6_68a40e03aeeb_bsh_common_option_elapsedprogramtime)

(sensor.bosch_hng6764s6_68a40e03aeeb_active_program)

at the same time the dishwasher was working and all the sensors were working perfectly, (sensor.bosch_sma88td16e_68a40e12153d_bsh_common_option_programprogress):

thanks a lot for your support

I'm not sure what to make of it. Can you reproduce this issue? Does it always happen for this appliance?
Please add the entry log_mode: 7 to the home_connect_alt section in configuration.yaml
Then, wait until this issue happens again. When you see it press the "Home Connect Debug" button BEFORE you press the "Refresh" button. Then upload the log again.

Hi @ekutner, for a week the issue did not happen. I was unable to reproduce the problem. So the integration works perfectly 👍
Just last think, I understood that the "CurrentActivityTemperture" is not being updated because HC doesn't send update events, do you think it's possible  to have a service to be called by script on HA to update the sensor when the hoven is running?
thanks Ivan

Happy to hear that, although I still don't really understand why it didn't work when it didn't.
Re. the service suggestion, it can be done but I don't think it's not a good idea, because it will dramatically increase the chance of hitting the (unreasonably low) daily API call limit.

Hi @ekutner  thank you very much, i understand fo the service suggestion.
Regards Ivan

authors: ekutner zufivan

repo: ekutner/home-connect-hass


text:
Release new version with authorize

The documentation already says authorize returns an object, but the latest release still returns true. Could we make a release tag and update ruby gems?

There are multiple issues that still need addressing before 2.0, before they are fixed we won't be cutting a new release.
Documentation on GitHub is necessarily for the master branch. If you want the documentation for the latest released gem it is here: http://www.rubydoc.info/gems/pundit This is also the first link in the README.

On another note, will there be a smaller intermediate release containing this change so we can use it with Rails 5?

authors: aried3r daniesg jnicklas

repo: elabs/pundit


text:
Convert CDK dependencies to peerDependencies to help avoid version conflicts

This library does not keep pace with new versions of CDK so it can quickly lead to version conflicts.
Changing the CDK dependencies to peerDependencies should help to minimise the frustration of managing potentially conflicting versions of everything.

True, I have never actually managed to deploy a stack with this without getting weird errors like not liking scope Construct as the right type for this or EC2 conflicts.

so, i need to downgrade cdk to match the level of this package to use it ?

Right now, the easiest way to use this library is to copy the code to your own project and make any adjustments you need to support the same CDK version etc.
This is not without value, but reuse by dependency management would be more convenient if it can be done safely without breaking the CDK dependency all the time.

Done

authors: ali-habibzadeh bobmoff eladb igilham

repo: eladb/cdk-watchful


text:
RoR group project: Kanban Board

Hi Code Reviewer 👋
This is a link to the Kanban Board set up by my partner Houda and I. This group is a two-member team.

Hi @elarhadu @houdamzari ,
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!
Highlights
Tasks created :heavy_check_mark:
Assigned fairly :heavy_check_mark:
Required Changes ♻

[ ] Hi team, good job however please make sure you have added the following columns to the board:

To Do
In Progress
In Review
Done

Currently, you are missing the In-review column, also please move your tasks to the To Do column, currently they are in a No status column, which is not required, you can consider replacing this column with the To Do column and add an In-review column instead :+1:
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @TEAM,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

Group work ✔
Good implementations ✔

Optional suggestions

[ ] [OPTIONAL] It would be nice if you add [Xpt] points to your card 👍🏼

Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

authors: PinkMoon25 elarhadu mukhammadrizooff

repo: elarhadu/Recipe-App


text:
Testing, please ignore. vmeugx

This is a bug bounty test. Please do not approve this! vmeugx

:grey_exclamation: Build Aborted

The PR is not allowed to run in the CI yet

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-03-14T18:25:39.328+0000

Duration: 3 min 17 sec

Steps errors
Expand to view the steps failures

Load a resource file from a library

Took 0 min 0 sec . View more details here
Description: approval-list/elastic/apm-agent-java.yml

Error signal

Took 0 min 0 sec . View more details here
Description: githubApiCall: The REST API call https://api.github.com/orgs/elastic/members/nusababa return the message : java.lang.Exception: httpRequest: Failure connecting to the service https://api.github.com/orgs/elastic/members/nusababa : httpRequest: Failure connecting to the service https://api.github.com/orgs/elastic/members/nusababa : Code: 404Error: {"message":"User does not exist or is not a member of the organization","documentation_url":"https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user"}

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

authors: apmmachine nusababa

repo: elastic/apm-agent-java


text:
ensure that the elasticsearch instrumentation handles DroppedSpans correctly

What does this pull request do?
If the elasticsearch span is dropped for some reason, the context object
is None, which, if unhandled, leads to an exception
Related issues
closes #1188

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2021-07-12T10:31:24.761+0000

Duration: 27 min 22 sec

Commit: 7ab6d946869af018b97454263b7268b73ea03c80

Test stats :test_tube:

Test
Results

Failed
0

Passed
9507

Skipped
8604

Total
18111

Trends :test_tube:

:green_heart: Flaky test report
Tests succeeded.

Expand to view the summary

Test stats :test_tube:

Test
Results

Failed
0

Passed
9507

Skipped
8604

Total
18111

authors: apmmachine beniwohli

repo: elastic/apm-agent-python


text:
Java Json format not consistent with ECS

I've imported the ecs template into our cluster and ingested data using ecs-logging-java and ecs-logging-python. The latter formats json log statements which match the ecs structure but Java not.
Here a snippet:
...
"log.level":"DEBUG",
...
"log.origin": {
"file.line": 655,
"file.name": "SpringApplication.java",
"function": "logStartupProfileInfo"
},
This should look like:
...
"log": {
"level": "DEBUG",
"origin": {
"file": {
"line": 655,
"name": "SpringApplication.java""
},
"function": "logStartupProfileInfo"
},
...

Closing as duplicate of https://github.com/elastic/ecs-logging-java/issues/51
Please let me know whether the dot_expander Filebeat processor would work in your case: https://github.com/elastic/beats/issues/17021

We fix it within logstash at the moment.

Hello,
If we create a ECS java object from yaml ecs file as mentioned in https://github.com/elastic/ecs-logging-java/issues/38 therefore since the client use a typed object hierarchy, there would no longer need to relate on the dot to create the JSON structure.
Could that resolve the issue of https://github.com/elastic/ecs-logging-java/issues/51?

Closing this as it's not feasible to guarantee all fields are nested, especially when allowing user-defined custom attributes.
The typed object hierarchy could standardize the way of organizing the JSON.

Hence, would that not simplify the problem and make the solution possible in the java-ecs-library?

While a typed object structure is a great way to add additional fields, it does come with an overhead for the simple case where you just log a message.
Nesting all fields would also make the JSON less human-readable. It purposefully starts with the fields @timestamp, log.level, and message. If we were to nest all fields, the log.level field would be part of the log object that contains log.logger, and other fields.

authors: Fr33Radical felixbarny olwulff

repo: elastic/ecs-logging-java


text:
Improve exception messages to actually contain debug information when bootstrapping templates

Hi,
there's no issue tracked for this but it's something I just encountered recently. If we fall into an exception when f.e. creating a template, an exception is thrown depending on BootstrapMethod enum. The issue is that exception doesn't really contain any info on why it failed, because currently message has a serialized object instead of an actual text.
I've made a change so that we put InnerException's Message into the content. I've also included InnerException in the newly thrown one. Let me know if this is wrong or you have a better idea on what we could include there, I just found that DebugInformation is too big to put into message and currently without stepping down into third party code it's impossible to tell what's wrong while bootstrapping.
Example of a current message:
System.Exception: Failure to create index templates for logs-alpha-otb-web-customercare-*: Elastic.Ingest.Elasticsearch.ElasticsearchChannelBase`2+PutIndexTemplateResponse[Teqcycle.API.Logger.Ecs.TeqcycleEcsEvent,Elastic.Ingest.Elasticsearch.DataStreams.DataStreamChannelOptions`1[Teqcycle.API.Logger.Ecs.TeqcycleEcsEvent]]

new message:
Failure to create component template `$logs-alpha-otb-web-customercare-8.6.0` for logs-alpha-otb-web-customercare-*: Could not authenticate with the specified node. Try verifying your credentials or check your Shield configuration. Call: Status code 401 from: PUT /_index_template/logs-alpha-otb-web-customercare-8.6.0

Thanks a 💯 for bringing this to our attention.
This PR is totally fine but I went with a slight variation of this in: https://github.com/elastic/elastic-ingest-dotnet/pull/38
This includes an updated Elastic.Transport that actually prints useful information for response  implementation's ToString().
It also ensures we subclass from ElasticsearchResponse and not TransportResponse so that we piggy back on any future improvements we do.

authors: Mpdreamz lewinskimaciej

repo: elastic/elastic-ingest-dotnet


text:
Should we recommend limiting memory if it affects VFS cache?

In our documentation, we suggest setting a memory limit for Elasticsearch containers. However, Docker uses the memory.limit_in_bytes property of the kernel Memory Resource Controller to achieve this, which also appears to limit the amount of file cache that the process has access to.
File cache can be beneficial to Elasticsearch performance, so perhaps we should adjust our recommendation. We could either include a note about the limiting effect on file cache or remove the recommendation altogether.

Good catch! My suggestion is to remove this from the docker-compose prod example and include an additional note item to explain the disadvantage with setting this; I think it's still worth to remind that it is possible to limit the mem e.g. for people with limited mem due to defaults in Docker for Mac/Docker for Windows who may accept a performance penalty.

authors: dliappis jarpy

repo: elastic/elasticsearch-docker