text:
string truncate

This leverages string iteration in #17 to truncate a given string to a specified length.
string_truncate() {
  string_length_maximum="$1"
  shift
  string="$*"
  string_length=${#string}
  #
  if [ "$string_length" -le "$string_length_maximum" ]; then
    _debug  "  (not truncating)"
    \echo  "$string"
  else
    __="$string"
    #
    while [ -n "$__" ]; do
      rest="${__#?}"
      first_character="${__%"$rest"}"
      result="$result$first_character"
      __="$rest"
      #
      if [ ${#result} -eq "$string_length_maximum" ]; then
        \echo  "$result"
        break
      fi
    done
  fi
}

string_truncate  3  'string'
# =>
# str

Would you let me know your opinion about this method?
string_truncate() {
    expr "$2" : '\(.\{'"$1"'\}\).*'
}

string_truncate  3  'string'
# =>
# str

I personally wouldn't do things that way, because it's using expr.

I'm sorry for asking so many times.
Are you reluctant to use expr because it's an external command?

"The goal of this book is to document commonly-known and lesser-known methods of doing various tasks using only built-in POSIX sh features."

I came up with an alternative solution that is, simply stacking the match-any-character wildcard ? as many times as the number of characters we want to delete. It works better than expected:
   s='string'
echo ${s%???}
# =>
# str
    a='abcdefg'
echo ${a#?????}
# => fg

trunc() {
	local desired_len="$1" ; shift ; local string="$*"
	local len="${#string}" ques ques_len

	[ "$desired_len" -ge "$len" -o "$((- desired_len))" -ge "$len" -o "$desired_len" = 0 ] \
		&& { echo "$string" ; return 1 ; } #Error: Function has no work to do if desired length is larger or = string length

	if [ "$desired_len" -gt 0 ]; then #test if desired_len is a negative number
		local left_len="$desired_len"
		local right_len="$((len - left_len))"
	else #inverse our desired lengths
		local right_len="$((- desired_len))"
		local left_len="$((len - right_len))"
	fi

	while true; do
		ques="$ques"'?'
		ques_len="${#ques}"
		if [ "$ques_len" = "$right_len" ]; then #delete end to get the truncated string
			truncated="${string%$ques}" #fun fact: this doesn't work in zsh
			break
		fi
		if [ "$ques_len" = "$left_len" ]; then #
			local rest="${string#$ques}" #fun fact: this doesn't work in zsh
			truncated="${string%%$rest}"
			break
		fi
	done
	echo "$truncated"
}

This solution iterates on adding more ???? until it matches the desired length, then trims the string at once. It may be faster than @spiralofhope's solution, which reads $string at least once on every iteration, slowly biting off characters just to be able to delete them.
Demo
trunc 19 'The brown fox jumps over the lazy dog'
# => The brown fox jumps
trunc -1 'The brown fox jumps over the lazy dog' # also added support for truncating counting from the end
# => The brown fox jumps over the lazy do
trunc -17 'The brown fox jumps over the lazy dog'
# => The brown fox jumps

I made a faster and powerful version a week later, but forgot to post it. Down to the syntax, it emulates Bash's substring expansion.
#Usage: substr offset:length "string"

rpt() {
	#repeat string N times
	#$ rpt 50 "foobar"

	#algorithm snatched from: https://stackoverflow.com/questions/202605/repeat-string-javascript/4152613#4152613
	#See also: https://en.wikipedia.org/wiki/Ancient_Egyptian_multiplication
	#basically, it doubles $str at the same rate $count halves, spiraling down synchronously to the asked length.
	#i had the intuition that an algorithm must be faster than just doing 50 iterations to get 50 length.
	#multiplication could save some iterations, but i had to be careful to not overshoot. it wasn't this elegant.

	count="$1" ; shift ; s="$*"

	while [ $count -gt 1 ];do
		[ $((count & 1)) -eq 1 ] && result="$result""$s"
		count=$((count >> 1))
		s="$s""$s"
	done

	#junk below isn't necessary as a standalone function
	repeated="$result""$s"
	unset count s result
}

substr() {
	#Parse
	if [ -z "${1##*:*}" ]; then #result is only empty if there isn't a ':'
		offset="${1%%:*}"
		desired_len="${1##*:}"
	else
		offset="$1"
	fi
	shift; str="$*"

	len="${#str}"

	[ "$offset" -ge "$len" ] || [ "$((-offset))" -ge "$len" ] && return 1 #bad input

	[ "$offset" = 0 ] || {
		#"If offset evaluates to a number less than zero, the value is used as an offset in characters from the end of the value"
		[ "$offset" -lt 0 ] && offset=$((len - -offset))
		rpt "$offset" '?'
		str="${str#$repeated}"
	}

	# Below only gets executed if user specified a length
	[ "$desired_len" ] || { echo "$str" ; return 0 ; }

	[ "$desired_len" -ge "$len" ] || [ "$((- desired_len))" -ge "$len" ] || [ "$desired_len" = 0 ] \
		&& { echo "$str" ; return 1 ; } #Error: Function has no work to do if desired length is > or = str length

	if [ "$desired_len" -gt 0 ]; then #test if desired_len is a negative number
		left_len="$desired_len"
		right_len="$((len - left_len))"
	else #inverse our desired lengths
		right_len="$((- desired_len))"
		left_len="$((len - right_len))"
	fi

	#decide which trimming direction is faster
	if [ "$right_len" -lt "$left_len" ]; then
		rpt "$right_len" '?'
		truncated="${str%$repeated}" #fun fact: this doesn't work in zsh
	elif [ "$left_len" -lt "$right_len" ]; then
		rpt "$left_len" '?'
		rest="${str#$ques}"
		truncated="${str%%$repeated}"
	else #not necessary, but readability, bro.
		rpt "$right_len" '?'
		truncated="${str%$repeated}"
	fi

	echo "$truncated"
}

authors: cmplstofB notevenaperson posguy99 spiralofhope

repo: dylanaraps/pure-sh-bible


text:
scoped modules marked as unused

Scoped packages, that are npm installed in package.json and required() are marked as not used when running npm-check.
For example: add "@jigsaw/ansi-canvas": "0.1.0" to package.json and require it somewhere. Running npm-check reports that it is not used.
@jigsaw/ansi-canvas 😕  NOTUSED?  Possibly never referenced in the code.

Thanks @MarkHerhold!
This is handled by depcheck. We'll need to update how it finds modules to fix this.

@dylang thanks for clarifying where this logic was!
It looks like there is already an issue open on depcheck for this: https://github.com/rumpl/depcheck/issues/32

Scoped module support is now included! Upgrade to npm-check@4.1.0 and tell me how it goes!

@dylang Sorry, I may be doing something wrong, but it does not appear to be working.
Tested using @websdk/nap this time (another random package) and required it in one of the project files.
    "@websdk/nap": "^0.9.5",

var nap = require('@websdk/nap');

I am running the latest version:
npm-check --version
4.1.0

I looked at depcheck-es6 briefly and didn't see anything about scoped package support, but I could have easily missed it.

Thanks for testing it, do you want to make a PR to depcheck-es6?

@dylang I would like to, but doing that is not an easy thing for me to do. I need to get approvals from management, which is not easy and will probably take a long time even if I am successful. :disappointed:

@MarkHerhold I'm sorry to hear there's bureaucracy to participate in open source projects where you work. That must be frustrating. I appreciate that you are able to create issues and provide feedback without an approval process. Have you made a ticket for depcheck-es? Maybe that author or another user will be able to provide a fix.

Based on #45 there might be a deeper scoped project issue in my code. I should finally get around to adding tests to the code asap.

source: gharchive/issue

authors: MarkHerhold dylang

repo: dylang/npm-check

license: mit

license_type: permissive

license_source: bigquery


text:
[Snyk] Security upgrade @backstage/errors from 0.0.0-use.local to 0.1.1

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

packages/repo-tools/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Cross-site Scripting (XSS) SNYK-JS-COOKIE-8163060
  44

[!IMPORTANT]

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

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

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)

🎉 Snyk hasn't found any issues so far.
✅ security/snyk check is completed. No issues were found. (View Details)
✅ license/snyk check is completed. No issues were found. (View Details)

source: gharchive/pull-request

repo: dylansnyk/backstage

license_source: github-api


text:
fix: update readme with cli changes, add additional instructions

blocked by #248

The proper type of this PR is chore, please use this.

repo: dyrector-io/dyrectorio


text:
problem on render DateField with custom format

I have the follow form:
class PeriodForm(forms.Form):
    start_date = forms.DateField(input_formats=['%d/%m/%Y'], required=False)
    end_date = forms.DateField(input_formats=['%d/%m/%Y'], required=False)

In my template i use bootstrap template tag
{% bootstra_field form.start_date %}

I input a date: 16/11/2014, on submit, in my view, when i call the form.is_valid(), i get a form error that the format of date is invalid.
I dont saw nothing about this on documentations ou related issues.
Any idea?

Date input formats are handled according to Django specs. Look for Django date settings.

authors: dyve edgabaldi


text:
基本框架

[ ] 网络请求错误的处理
retrofit2.0以后的error handling和以前又不太一样了 需要另外看一下
[ ] 部分内容的缓存
requery是支持rx的。另外有没有db和网络用同一个pojo的库？

@BrotherJing 感觉 orm 和 网络似乎都可以用同一个？或者用工具生成.....

repo: dyweb/gitlab-android


text:
Can't get it to work with UIScrollView

Hello!
Love this library, use it for many table and collection views.
However, I am now trying to use it in a UIScrollView, but the delegate method 'titleForEmptyDataSet' never gets fired.
I set the datasource and delegate in BOTH storyboard and programmatically in my controller class.
One thing to note, the scrollview is a subview of a UITableViewCell (subclassed). I also tried setting the delegate to the subclassed UITableViewCell and still no luck getting the delegate method for setting the title to fire (even set breakpoints in case the text was just out of view, they never get hit).
Any suggestions?
Thanks!

Thanks for the tip! I tried calling 'self.tableView.reloadEmptyDataSet()' after the data is loaded, but still no luck. If my scrollview is in a table view, where/when should I call it? Do I need to do anything else with the scrollview? It's empty and contains no views if the datasource is empty so not sure what else to try.
Thanks for the help!

repo: dzenbot/DZNEmptyDataSet


text:
Add itertools-ts to Tools section

itertools-ts ·
Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones).
Loop Iteration Tools Example
import { multi } from 'itertools-ts';

for (const [letter, number] of multi.zip(['a', 'b'], [1, 2])) {
  console.log(`${letter}${number}`);  // a1, b2
}

// Async example
for await (const [letter, number] of multi.zipAsync(['a', 'b'].map((x) => Promise.resolve(x)), [1, 2].map((x) => Promise.resolve(x)))) {
  console.log(`${letter}${number}`);  // a1, b2
}

Stream Iteration Tools Example
import { Stream, AsyncStream } from 'itertools-ts';

const result1 = Stream.of([1, 1, 2, 2, 3, 4, 5])
  .distinct()             // [1, 2, 3, 4, 5]
  .map((x) => x**2)       // [1, 4, 9, 16, 25]
  .filter((x) => x < 10)  // [1, 4, 9]
  .toSum();               // 14

// Async example
const result2 = await AsyncStream.of([1, 1, 2, 2, 3, 4, 5].map((x) => Promise.resolve(x)))
  .distinct()             // [1, 2, 3, 4, 5]
  .map((x) => x**2)       // [1, 4, 9, 16, 25]
  .filter((x) => x < 10)  // [1, 4, 9]
  .toSum();               // 14

All functions work on iterable collections and iterators:

Array
Set
Map
String
Generator
Iterable
Iterator

Every function have an analog with "Async"-suffixed name for working with async iterable and iterators (e.g. zip and zipAsync):

AsyncIterable
AsyncIterator

If an asynchronous function takes other functions as input, they can also be asynchronous.
Stream and Async Stream
Streams provide a fluent interface to transform arrays and iterables (sync or async) through a pipeline of operations.
Streams are made up of:

One stream source factory method to create the stream.
Zero or more stream operators that transform the stream to a new stream.
Terminal operation of either:

Stream terminal operation to transform the stream to a value or data structure.const result1 = Stream.of([1, 1, 2, 2, 3, 4, 5])
  .distinct()             // [1, 2, 3, 4, 5]
  .map((x) => x**2)       // [1, 4, 9, 16, 25]
  .filter((x) => x < 10)  // [1, 4, 9]
  .toSum();               // 14

// Async example
const result2 = await AsyncStream.of([1, 1, 2, 2, 3, 4, 5].map((x) => Promise.resolve(x)))
  .distinct()             // [1, 2, 3, 4, 5]
  .map((x) => x**2)       // [1, 4, 9, 16, 25]
  .filter((x) => x < 10)  // [1, 4, 9]
  .toSum();               // 14

The stream is iterated via a for loop.const result1 = Stream.of([1, 1, 2, 2, 3, 4, 5])
  .distinct()             // [1, 2, 3, 4, 5]
  .map((x) => x**2)       // [1, 4, 9, 16, 25]
  .filter((x) => x < 10); // [1, 4, 9]

for (const item of result1) {
  // 1, 4, 9
}

// Async example
const result2 = AsyncStream.of([1, 1, 2, 2, 3, 4, 5].map((x) => Promise.resolve(x)))
  .distinct()             // [1, 2, 3, 4, 5]
  .map((x) => x**2)       // [1, 4, 9, 16, 25]
  .filter((x) => x < 10); // [1, 4, 9]

for await (const item of result2) {
  // 1, 4, 9
}

Full documentation in project's README.

@Smoren thank you for sharing! This is really great project. I am also a big fan of the huge Readme.md, which has the API description and all samples. Thank you for your contribution!

@dzharii Thank you very much for your feedback and for merging my PR!
Welcome to contributing if you want :)

authors: Smoren dzharii

repo: dzharii/awesome-typescript

license: unlicense


text:
🛑 ALAO 2020 is down

In 2a699fb, ALAO 2020 (https://2020.alaoweb.org/) was down:

HTTP code: 500
Response time: 3317 ms

Resolved: ALAO 2020 is back up in a570e7f.

repo: dzoladz/status

license: MIT


text:
PHP ERROR

Thank you for picking up on this project.  We use it as a ticketing system as an MSP provider and rely on it pretty heavily.
I moved from a Debian 8 over to a Ubuntu 18.10 install migrating the files and mysql databases which was originally on the official 2.3.1 from sourceforge.  Everything seems to be working fine except clicking from the 'Portal' tab between 'MY FILTERS', 'TO DO's', 'FEEDBACK', and 'EVENTS'.
Here is the error in the log when transitioning.
e2268822cd :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [core/model/TodoyuAutoloader.class.php:56] :: PHP ERROR: [2] Declaration of TodoyuCalendarEventAssignment::getPerson() should be compatible with TodoyuBaseObject::getPerson($type)
e2268822cd :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderPopup.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::getDateRemind() should be compatible with TodoyuCalendarReminder::getDateRemind($reminderType = CALENDAR_TYPE_EVENTREMINDER_EMAIL)
e2268822cd :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderPopup.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::getAdvanceTime() should be compatible with TodoyuCalendarReminder::getAdvanceTime($type = CALENDAR_TYPE_EVENTREMINDER_EMAIL)
e2268822cd :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderPopup.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::isDisabled() should be compatible with TodoyuCalendarReminder::isDisabled($reminderType)
10c5e14f12 :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [core/model/TodoyuAutoloader.class.php:56] :: PHP ERROR: [2] Declaration of TodoyuCalendarEventAssignment::getPerson() should be compatible with TodoyuBaseObject::getPerson($type)
10c5e14f12 :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderPopup.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::getDateRemind() should be compatible with TodoyuCalendarReminder::getDateRemind($reminderType = CALENDAR_TYPE_EVENTREMINDER_EMAIL)
10c5e14f12 :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderPopup.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::getAdvanceTime() should be compatible with TodoyuCalendarReminder::getAdvanceTime($type = CALENDAR_TYPE_EVENTREMINDER_EMAIL)
10c5e14f12 :: 2019-05-30 12:08:17 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderPopup.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::isDisabled() should be compatible with TodoyuCalendarReminder::isDisabled($reminderType)
Any suggestions would be greatly appreciated,
Thanks.

Hi @jrosetto,
I pushed a change that should fix the PHP warnings.  Please let me know if you are still experiencing bugs.
If you still have bugs, can you send me AJAX response data from the click to see if maybe there is something else wrong.

The changes are in the repo, not in the Release zip file

Now just getting a blank page.  I also tried removing everything in the cache folder to make sure it had nothing to do with that.
Current error from todoyu
bc2e436f27 :: 2019-05-30 14:57:19 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderPopup.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::isDisabled() should be compatible with TodoyuCalendarReminder::isDisabled($reminderType)
Apache Error Log
[Thu May 30 18:59:05.105756 2019] [php7:error] [pid 1242] [client 192.168.5.197:60807] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function TodoyuCalendarReminderPopup::isDismissed(), 0 passed in /var/www/html/ext/calendar/model/TodoyuCalendarReminderPopupManager.class.php on line 200 and exactly 1 expected in /var/www/html/ext/calendar/model/TodoyuCalendarReminderPopup.class.php:56\nStack trace:\n#0 /var/www/html/ext/calendar/model/TodoyuCalendarReminderPopupManager.class.php(200): TodoyuCalendarReminderPopup->isDismissed()\n#1 /var/www/html/ext/calendar/model/TodoyuCalendarReminderPopupManager.class.php(173): TodoyuCalendarReminderPopupManager::getUpcomingReminderEvents()\n#2 /var/www/html/ext/calendar/config/page.php(40): TodoyuCalendarReminderPopupManager::addReminderJsInitToPage()\n#3 /var/www/html/core/model/TodoyuFileManager.class.php(1156): include_once('/var/www/html/e...')\n#4 /var/www/html/core/model/TodoyuExtensions.class.php(223): TodoyuFileManager::includeFile('/var/www/html/e...', true, true)\n#5 /var/www/html/core/model/TodoyuExtensions.class.php(308): TodoyuExtensions::loadConfi in /var/www/html/ext/calendar/model/TodoyuCalendarReminderPopup.class.php on line 56, referer: http://192.168.5.61/
I've taken it out of production and rolled back to 2.3.1 so business can still function.  I have the PHP7 spun up on a VM to test until things are stable.
Thanks again for the assistance.  Happy to see new life in TodoYU.

I will get this fixed asap

No hurry, just excited to get everything running on current packages :-)

I have fixed these issues as well. we never noticed them before because they are supposed to be notices. Somehow in your PHP config you have notices firing as Errors.
If you pull the latest and give it another shot. that vector causing errors should stop

Awesome!
I'm back. Can he pull the repo or should I tell him will be available soon
On Thu, May 30, 2019, 2:42 PM AlexEdimensionz notifications@github.com
wrote:

The changes are in the repo, not in the Release zip file
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/e-dimensionz/Todoyu-PHP7.x/issues/2?email_source=notifications&email_token=ACDNEM3AXSK6KQ7J7WFIGRDPYAN2PA5CNFSM4HRGRCEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWTFIUI#issuecomment-497439825,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACDNEMZQSQ4J4CWNDDHD633PYAN2PANCNFSM4HRGRCEA
.

Getting closer but still having issues with the calendar when adding events.  The toggle works now on the portal page.
941af4a8e1 :: 2019-06-03 17:03:31 - L:3 - U: [/var/www/html:0] :: PHP ERROR: [2] sizeof(): Parameter must be an array or an object that implements Countable
941af4a8e1 :: 2019-06-03 17:03:32 - L:3 - U: [/var/www/html:0] :: PHP ERROR: [2] sizeof(): Parameter must be an array or an object that implements Countable
4498a06de9 :: 2019-06-03 17:03:40 - L:2 - U: [core/model/TodoyuAuth.class.php:111] :: Login person (2)
2f52b5429f :: 2019-06-03 17:03:43 - L:3 - U:jrosetto [/var/www/html:0] :: PHP ERROR: [2] sizeof(): Parameter must be an array or an object that implements Countable
2f52b5429f :: 2019-06-03 17:03:43 - L:3 - U:jrosetto [/var/www/html:0] :: PHP ERROR: [2] sizeof(): Parameter must be an array or an object that implements Countable
1100cfac74 :: 2019-06-03 17:03:45 - L:3 - U:jrosetto [core/model/TodoyuAutoloader.class.php:56] :: PHP ERROR: [2] Declaration of TodoyuCalendarEventActionController::init($params) should be compatible with TodoyuActionController::init(array $params = Array)
Sorry for the delay, was off Friday and had fires to put out this morning.

You are getting this error after login?

I'm getting the error when creating a new Event on the calendar.

I pushed another batch of changes that should hopefully fix your issues.
I can't recreate the sideof() error

The sizeof() error is fixed in the latest push

If this all works out, do you mind creating an Issue for a feature request. Something that you feel is missing from Todoyu for your company's workflow.
Thank you

Everything looks good on the fontend now.
I am still getting the error
7ccd1d6760 :: 2019-06-03 18:40:19 - L:3 - U:jrosetto [/var/www/html:0] :: PHP ERROR: [2] sizeof(): Parameter must be an array or an object that implements Countable
7ccd1d6760 :: 2019-06-03 18:40:19 - L:3 - U:jrosetto [/var/www/html:0] :: PHP ERROR: [2] sizeof(): Parameter must be an array or an object that implements Countable
but not to worried about it since the end user doesn't see it.  I will continue testing and let you know if I find any more issues.
Thanks for all the help.

Spoke too soon.  When right clicking on an item under PORTAL > Events I got one more error.
e01390afee :: 2019-06-03 20:28:22 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderEmail.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderEmail::getAdvanceTime() should be compatible with TodoyuCalendarReminder::getAdvanceTime($type = CALENDAR_TYPE_EVENTREMINDER_EMAIL)
e01390afee :: 2019-06-03 20:28:22 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderEmail.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderEmail::isDisabled() should be compatible with TodoyuCalendarReminder::isDisabled($reminderType)
e01390afee :: 2019-06-03 20:28:22 - L:3 - U:jrosetto [core/model/TodoyuAutoloader.class.php:56] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::isDisabled() should be compatible with TodoyuCalendarReminder::isDisabled($reminderType)

If this all works out, do you mind creating an Issue for a feature request. Something that you feel is missing from Todoyu for your company's workflow.
Thank you

Would be happy to.

BTW. I have a feeling that the sizeof() error you are getting at html:0 is in the smarty sheets somewhere
You may have to clear the template cache to make it go away
Delete all files in cache/ folder to be sure.
I did another push cleaning up the unchecked sizeof() calls

Spoke too soon. When right clicking on an item under PORTAL > Events I got one more error.
e01390afee :: 2019-06-03 20:28:22 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderEmail.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderEmail::getAdvanceTime() should be compatible with TodoyuCalendarReminder::getAdvanceTime($type = CALENDAR_TYPE_EVENTREMINDER_EMAIL)
e01390afee :: 2019-06-03 20:28:22 - L:3 - U:jrosetto [ext/calendar/model/TodoyuCalendarReminderEmail.class.php:27] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderEmail::isDisabled() should be compatible with TodoyuCalendarReminder::isDisabled($reminderType)
e01390afee :: 2019-06-03 20:28:22 - L:3 - U:jrosetto [core/model/TodoyuAutoloader.class.php:56] :: PHP ERROR: [2] Declaration of TodoyuCalendarReminderPopup::isDisabled() should be compatible with TodoyuCalendarReminder::isDisabled($reminderType)

This is fixed in the latest push

Everything looks good on my end now.
I did find one more error on login but everything works fine in the UI so I'm not worried about it, just thought I would mentune it.
0fd0880830 :: 2019-06-04 13:21:51 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:51 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:51 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:51 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:51 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:51 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:52 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:52 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:52 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
0fd0880830 :: 2019-06-04 13:21:52 - L:3 - U: [lib/php/phpsass/tree/SassMixinNode                                                                                .php:63] :: PHP ERROR: [2] count(): Parameter must be an array or an object that                                                                                implements Countable
Thanks again for all the help.
I am going to sit down with a few other people to discuss what we need the most that is missing from TodoYU when I get a chance.

Thank you for that. I am aware of the issue with dependencies that haven't been updated since 2011, have been trying to find replacements or updates for them


text:
Project Check #6

N@M Project Planning
Project Objective: Build a predictive model that answers the question: “What sorts of people were more likely to survive?” using passenger data (ie name, age, gender, socio-economic class, etc).
Kaggle Dataset

train.csv: contains details of 891 passengers on board and whether they survived or not --> to build model
test.csv: contains similar info but doesn't disclose whether passengers survived or not --> see how well model preforms using unseen data
Variables: pclass, sex, age, passenger fare, cabin, # parents/children/siblings

Outline

[ ] Data Exploration

For numeric data

Made histograms to understand distributions
Corrplot
Pivot table comparing survival rate across numeric variables (summarize average data in a table)

For Categorical Data

Made bar charts to understand the balance of classes

Made pivot tables to understand the relationship with survival

[ ] Data Preprocessing for Model  --> use Pandas

Remove null, outlier, or unnecessary variables

Include only relevant variables (Ex. EXCLUDE name and passenger ID, and INCLUDE 'Pclass', 'Sex','Age', 'SibSp', 'Parch', 'Fare', 'Embarked', 'cabin_adv', 'cabin_multiple', 'numeric_ticket', 'name_title'

Transform categorical data to be analyzed

Scale data

[ ] Test different models

Evaluate success by 5 fold cross validation to get a baseline

Naive Bayes
Logistic Regression
Decision Tree
K Nearest Neighbor
Random Forest
Support Vector Classifier
Xtreme Gradient Boosting
Soft Voting Classifier - All Models

[ ] Improve individual model results + test model on test data

Resources:
Mr. Mort Extracting Data from Data, Pandas
Beginner Overview of Project  + Example Notebook
Other examples

Keep track of hours


text:
Remove http_server start logic

Http_server should be started in SM, otherwise sm will crash due to setup twice.

@xiaoxichen @hkadayam

The start of HTTP server in HO is redundant/unnecessary as SM already did that.

Please update the conanfile.py version on every PR.

Sure, updated.

I am not sure about why the  regression in HomeObjectFixture.BasicPutGetDelBlobWRestart  get on and off, but as far as it has nothing to do with this pr, lets merge it

authors: xiaoxichen yuwmao zhiteng

repo: eBay/HomeObject


text:
a fix to AppID/FaceID handling on client app side issue #5

Hi Neb,
A suggestion to check the Trusted FacetIds

Hi Emerson,
I'll take a look and try to respond as early as of tomorrow.
Regards,
Neb.

authors: emersonmello npesic

repo: eBay/UAF


text:
add google cloud platform (gcp) backend for routing to vm instances

This change adds a new backend implementation that uses the Metadata service running on the Google Cloud platform to query running vm instances. Instances tagged with fabio are expected to have metadata (key=fabio) that describe a route. Routes of instances are periodically (checkInterval property) refreshed (added/updated/removed).
For an example and config details, see registry/gcp

why hasn't this PR been merged yet?

@jmheidly Because it did not provide support for manual overrides and I wanted to refactor the code to make that possible. Also, other than @emicklei nobody else pushed for this. This isn't off the table that's why it is still open. Are you interested in using this?

authors: emicklei jmheidly magiconair

repo: eBay/fabio


text:
Remove big-integer dependency

When trying to remove dependency bloat internally, we slimmed this library down to only use JS numbers.
Let me know if any edge cases would be broken by this.

Note: checksum will never get larger than 40-bit, the only thing we need to account for is that bitwise operations change numbers based on signed 32 bit integers, so in order to keep the sign from changing, 40-bit integers are split into 9 and 31 bit parts and xored individually.
Other note: I have not checked if performance has changed...

https://bundlephobia.com/result?p=big-integer@1.6.36
Minified size is reduced by 18.7 kB.

Ran version.js script and compared.
minified version is reduced to 20% former size (80% decrease)
non-minified version is reduced to 27% former size (73% decrease)

I ran a simple benchmark.
const b = require('.')

const start = Date.now()
for (let i = 0; i < 100000; i++) {
  const { prefix, type, hash } = b.decode('bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a')
  const enc = b.encode(prefix, type, hash)
}
const end = Date.now()
console.log(end - start)

This PR reduces the time by over 95%. 25 seconds down to 1 second for 100k iterations of decode + encode.

decode is 96% decrease in time
encode is 94% decrease in time

Hi @junderw , thanks for your contribution.
From a previous pull-request:

The goals this library strives to achieve are correctness and auditability.
The general idea is that the library should be bug-free, easy to read, and that it should be easy to verify that it does what it says it does.
PR's introducing performance and bundle size optimizations will only be considered as long as they don't introduce trade-offs that work against these goals. For high-performance address translation needs, other solutions are better suited.

Please, see: https://github.com/ealmansi/cashaddrjs/pull/10 and https://github.com/ealmansi/cashaddrjs/pull/4

No prob! Just sharing the modifications back. If you take big-integer as secure-as-a-given and don't need to audit it, then definitely the current version is easier to audit, hands down.
Only regret is we didn't see fanatid's PR earlier!
Though I would argue mine is a bit easier to read. :-)

authors: ealmansi junderw

repo: ealmansi/cashaddrjs


text:
Request: too many settings, add a GUI tab

Last time I have checked there are 82 different setting in gitblame, which make it complicated for customizing the extension.
A nice option would be a GUI page (tab) with the essential settings (with dropdowns, checkboxes, ...) with some toggle to show more advanced settings.

While I totally agree, the vscode api doesn't afford much in the way of creating UI for something like this. But I'd be eternally grateful to anyone who wants to spearhead this.

authors: eamodio jose-a-sa

repo: eamodio/vscode-gitlens


text:
🛑 DeckM_en is down

In 42cf852, DeckM_en ($SITE_ENDECKM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DeckM_en is back up in 846bf3e after 2 hours, 2 minutes.

repo: eanbear/upptime


text:
Vector Module: Check points should work like lines and polys

I currently don't see a good way to check xy point data ... i can use assert_xy but that data need to be manipulated for this to work prooperly. Ideally we'd have a assert_points in the vector testor that worked like lines and polys and accepted a GDF that could be used to test for the correct data.
i'll post more on this but homework 3 in ea python 2020 has perfect examples of where this would be used.

I'm going to start looking into this!

pr here: https://github.com/earthlab/matplotcheck/pull/203

this was completed via #203 closing

authors: lwasser nkorinek

repo: earthlab/matplotcheck


text:
加入讨论

https://easyj.icu/#/discussion
EasyJ开源项目是为了简化Java项目开发而诞生的，主要提供通用的工具、即插即用功能、中间件，并提供一些简化和增强配置的功能，使业务项目开发变得更加快捷。

加入讨论


text:
Unknown FFmpeg error

Hi,
I use a statically linked almost latest full FFmpeg build and tidal-wave on Windows:
c:\Data\Software\Audio\tidal-wave>ffmpeg.exe -version
ffmpeg version 2024-01-24-git-00b288da73-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      58. 36.101 / 58. 36.101
libavcodec     60. 38.100 / 60. 38.100
libavformat    60. 20.100 / 60. 20.100
libavdevice    60.  4.100 / 60.  4.100
libavfilter     9. 17.100 /  9. 17.100
libswscale      7.  6.100 /  7.  6.100
libswresample   4. 13.100 /  4. 13.100
libpostproc    57.  4.100 / 57.  4.100

I was trying to download the following album in HiRes. It goes well up to the track no. 17, and then it fails with the following:
Traceback (most recent call last):

  File "<frozen runpy>", line 198, in _run_module_as_main

  File "<frozen runpy>", line 88, in _run_code

  File "C:\Users\ivanp\AppData\Local\pyapp\data\tidal-wave\4771670979927837872\2024.1.12\Lib\site-packages\tidal_wave\__main__.py", line 3, in <module>
    app()

  File "C:\Users\ivanp\AppData\Local\pyapp\data\tidal-wave\4771670979927837872\2024.1.12\Lib\site-packages\tidal_wave\main.py", line 82, in main
    track.get(

  File "C:\Users\ivanp\AppData\Local\pyapp\data\tidal-wave\4771670979927837872\2024.1.12\Lib\site-packages\tidal_wave\track.py", line 568, in get
    if self.download(session, out_dir) is None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\ivanp\AppData\Local\pyapp\data\tidal-wave\4771670979927837872\2024.1.12\Lib\site-packages\tidal_wave\track.py", line 328, in download
    outfile: Optional[Path] = self.download_urls(
                              ^^^^^^^^^^^^^^^^^^^

  File "C:\Users\ivanp\AppData\Local\pyapp\data\tidal-wave\4771670979927837872\2024.1.12\Lib\site-packages\tidal_wave\track.py", line 311, in download_urls
    ).run()
      ^^^^^

  File "C:\Users\ivanp\AppData\Local\pyapp\data\tidal-wave\4771670979927837872\2024.1.12\Lib\site-packages\ffmpeg\_run.py", line 325, in run
    raise Error('ffmpeg', out, err)

ffmpeg._run.Error: ffmpeg error (see stderr output for detail)

After that I was experimenting only with that track. The command used to download the track was:
c:\Data\Software\Audio\tidal-wave>tidal-wave_2024.1.12_py311_pyapp.exe --audio-format HiRes --loglevel debug https://tidal.com/browse/track/253102500 .\

It also fails with the same error whne I use the absolute path, like c:\1
I'm not sure how to capture the stderr, so I don't kow what is FFmpeg complaining about.

@eevan78 interesting, let me look into this. It might be something fixed with version 2024.1.13, so as soon as the EXE is uploaded, can you retry with that binary?
In the meantime, I don't capture the FFmpeg stderr because the operations that tidal-wave is doing are re-muxing, not encoding or decoding, so they should be trivial. However, I have not tested much on Windows, so I will look into this issue and get back to you.

@eevan78 I have figured out the issue (I believe). Using the same 2024.1.12 binary on Windows 10, it turns out that the problem is a Windows problem: Illegal character in file name. So, I will have to put some more effort into sanitizing the track names. A fix will be out soon, which will entail a new version.

@eevan78 I have figured out the issue (I believe). Using the same 2024.1.12 binary on Windows 10, it turns out that the problem is a Windows problem: Illegal character in file name. So, I will have to put some more effort into sanitizing the track names. A fix will be out soon, which will entail a new version.

@eevan78 having solved the problem  mentioned above, I've run into an issue on track 23 of the album you originally linked to. I'm confident that the file name is too long for Windows; there is a 260-character limitation, so I will have to add some more logic to keep (absolute) file names under that limit. Will be ready in version 2024.1.14.

Thanks a lot!
It would be nice to have some sort of naming template, but if it's
complicated to implement, then better to leave it like this.
I tend to name tracks on all albums as Track_nn as
I never search tracks using filename. So I'm keeping the filename short.
But that's only me... Other people prefer something else.
уто, 30. јан 2024. 02:12 Colin Coe @.***> је написао/ла:

@eevan78 https://github.com/eevan78 I have figured out the issue (I
believe). Using the same 2024.1.12 binary on Windows 10, it turns out that
the problem is a Windows problem: Illegal character in file name. So, I
will have to put some more effort into sanitizing the track names. A fix
will be out soon, which will entail a new version.
@eevan78 https://github.com/eevan78 having solved the problem mentioned
above, I've run into an issue on track 23 of the album you originally
linked to. I'm confident that the file name is too long for Windows; there
is a 260-character
https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#maximum-path-length-limitation
limitation, so I will have to add some more logic to keep (absolute) file
names under that limit. Will be ready in version 2024.1.14.
—
Reply to this email directly, view it on GitHub
https://github.com/ebb-earl-co/tidal-wave/issues/62#issuecomment-1915666212,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGSMGQUZDZL65W4FKTG4BM3YRANEDAVCNFSM6AAAAABCN76MG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVGY3DMMRRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@ebb-earl-co I have tried the newest version, and I can confirm that it is working properly on Windows. Thanks for a fix!

repo: ebb-earl-co/tidal-wave


text:
CHEBI:27628, please check

Hi,
Please check CHEBI:27628, p-cumic alcohol, or 4-isopropylbenzyl alcohol, as it is needed for a Rhea reaction.
Cheers,
Kristian

Done as requested,
Cheers,
Steve

repo: ebi-chebi/ChEBI


text:
[WIP]: change STP primary key from ons_code to code

This is possible now we import official ODS codes

Current status: was in the process of generating new fixtures, when I realised that the migration was going to be tricky, because changing a primary key means breaking all the foreign key constraints (I presume some SET CONSTRAINTS ALL DEFERRED trickery will solve this, but it was getting late on  a Friday evening)

Closing for now. We'll revisit when as and when we need to do something similar for PCNs

authors: evansd sebbacon

repo: ebmdatalab/openprescribing


text:
Fix cell resolution type

The cell resolution type must allow leading zeros.

The fix is based on the proposal by Zoltan Kozma.

This fixes #7.

@frans-ebu I can not request a review from @nigelmegitt or @EyalLevi. I can only request a review from EBU folks. Is there away to add members of the EBU working group?

@tairt please try again. I changed the settings. I am not sure, but it seems the team admin access is not working as expected.

I've managed to add myself as a reviewer, so that seems to work. Thanks @frans-ebu .

@frans-ebu I can add now @nigelmegitt as reviewer but not others. You may try it out with an issue. I can also assign it to people @nigelmegitt  and the EBU team.

authors: frans-ebu nigelmegitt tairt

repo: ebu/ebu-tt-d-xsd


text:
Support tasks within callouts

Currently I am unable to use Task Collector if a task sits within a callout, for example:
> [!todo] Tasks
> - [ ] Task

It would be great if these tasks could be supported.

oh weird.. I'll look

In the case where completed items are moved, would you expect them to be removed from the callout? (leading >  stripped?)

Hmm, I don't actually use that option, so I can't really answer that. If I was to, I think I'd be quite happy for them to move into a normal non-callout list, but others might have a different set-up.
Thanks for looking into this!

Try with latest BRAT release (0.7.8) .. and let me know

Perfect - it works now! Thank you 🙂

authors: corinnekaryiu ebullient

repo: ebullient/obsidian-task-collector


text:
std::map replaced by CExpMap in description gate

Pull request type
Please check the type of change your PR introduces:

[X] Bugfix

What is the current behavior?
Internal maps in description gate never expire.
What is the new behavior?
std::map replaced by CExpMap with expiration "monitoring timeout" (default = 5s).

Looks good to me. My only question is why you are moving from a mutable std::shared_timed_mutex to a std::mutex.
And second question: will this be part of the new monitoring interface? Because then we will have to make the ExpMap public, e.g. move it to the public header files of eCAL.
If so, I am not 100% sure if an expired map is what users will expect from getting a monitoring info. They will expect a snapshot at a certain time.

Thank you for the first review. The mutex can be changed back to a shared one .. this was replaced by a kind of copy and past from the monitoring CExpMap usage (sorry for that :-)).
The CExpMap will not be part of the public interface. The user API will get a snapshot of all entities in a std::map.

repo: eclipse-ecal/ecal


text:
chore: remove logging of entire request on exception

What this PR changes/adds
Removes the logging of the entire request object when catching the exception

Codecov Report
Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 19.01%. Comparing base (7f20ba5) to head (e2b857b).
Report is 226 commits behind head on main.

:exclamation: Current head e2b857b differs from pull request most recent head 5114f6d. Consider uploading reports for the commit 5114f6d to get more accurate results

Files
Patch %
Lines

...org/eclipse/edc/http/client/EdcHttpClientImpl.java
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4133       +/-   ##
===========================================
- Coverage   71.74%   19.01%   -52.74%
===========================================
  Files         919      986       +67
  Lines       18457    20326     +1869
  Branches     1037     1148      +111
===========================================
- Hits        13242     3865     -9377
- Misses       4756    16348    +11592
+ Partials      459      113      -346

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

repo: eclipse-edc/Connector


text:
Support for Yocto Langdale (non-LTS)

The current version of Yocto (Langdale) is not an LTS version, but it may still be used by someone.
We should make our metalayer compatible with Langdale anyway.
See https://wiki.yoctoproject.org/wiki/Releases

Newer versions of Eclipse Kanto container-management require GoLang >= 1.19, which is only provided by Yocto Langdale currently.

Langdale is EOL -> closing

repo: eclipse-leda/meta-leda


text:
Redis pubsub improvement

Subscriber launch two async threads to

reclaim the ownership on messages that are previously claimed by its client (scan once per 5 seconds, claim again if the message not claimed for 30s)
claim the messages that are previously claimed by other replica clients, but the previous client has been dead for a while (scan once per 1 minutes, claim again if the message not claimed for 60s)

Added an in-memory set to track what messages are being processed by handler

add the message id to the set before handler starts processing the message and remove the message id when handler either succeeds or fails
Every time a message is claimed by subscriber async thread, the provider will decide whether the handler should be invoked for this message depending on whether the message id is in the set

bump redis client from v7 to v9
support symphony multiple replica scenario

Do we have multiple subscribers to subscribe to same topic but take different actions? This is not the same as same subscribers with multiple instances. The former case should let different subscriber consume every message. The latter case is once one subscriber execution routine claim the message, the other routine doesn't need to take that message.

Do we have multiple subscribers to subscribe to same topic but take different actions? This is not the same as same subscribers with multiple instances. The former case should let different subscriber consume every message. The latter case is once one subscriber execution routine claim the message, the other routine doesn't need to take that message.

I have some ideas about this and will work out another PR for single publisher/multiple subscriber mode.

authors: RemindD msftcoderdjw

repo: eclipse-symphony/symphony


text:
USB host MSC class READ FORMAT CAPACITY command failing.

Hi, I am working on USB host mass storage class, as part class request there was a command READ FORMAT CAPACITY which is sending from host to device, but device endpoint getting stalled and at the same time host side also STALL ENDPOINT event gets generated and it's trying to reset the endpoint.
below is the code where we can send the READ FORMAT CAPACITY command to the device.
/ Some devices require we do this.  /
status =  _ux_host_class_storage_media_format_capacity_get(storage);
if (status != UX_SUCCESS)
return(status);
One thing I could say that if we comment above snippet code, MSC class working fine.
Could you please help on this if we can comment this code and continue further MSC class.
->I am using usbx version is v6.1.9_rel.
->ARMCLANG
I am attaching USB trace screenshot for your reference.

Regards
Mahesh

Hi @@xiaocq2001 ,
Could you please help on above issue.

I'm not sure if it's required for some old mass storage device to enumerate, maybe you can try to ignore the error and just continue the steps (dont check the error code to return).

Hi @xiaocq2001,
Thank you so much for update.

repo: eclipse-threadx/usbx


text:
Basic updates to pom

Build a jar
Add info

Thanks!

repo: eclipse-tracecompass/trace-event-logger


text:
Add SafeMap and SafeUnorderedMap utility classes

Several places in up-client-zenoh-cpp require concurrent access to maps. Rather than adding locks manually throughout the code, this change would provide a way to drop in a thread-safe version of those maps.
--
SafeMap is a thread-safe wrapper around std::map, and SafeUnorderedMap is a thread-safe wrapper around std::unordered_map.
Both implementations use a shared_mutex for protection against concurrent modification. All const operations lock in the shared mode, allowing for concurrent read access to the map, while anything that would modify the map takes a unique lock to prevent read/write during the modifying operation.
Interfaces returning or taking iterators are protected to guard against excessive iterator invalidation and remove the risks involved in adding locks to the iterators themselves (unintentionally holding an object that itself is holding a lock).
To allow for bulk transactions and operations using iterators, the transact() methods have been added. These methods take a std::function (or lambda) that will be provided a reference to the base std::map or std::unordered_map for use while the lock is held. These methods can operate in either shared (const) or unique (non-const) modes.
For many uses of std::map and std::unordered_map, this should be a drop-in replacement.

If there is no code to use this, does it need to be merged at this time? Seems like it should wait to merge with code that uses the feature. Also, isn't the likely use case for it in up-client-zenoh-cpp.

If there is no code to use this, does it need to be merged at this time?

There is no immediate rush, other than addressing bugs around parallel access to maps we've identified. This is not a 1.5.7 alignment PR per se.

Seems like it should wait to merge with code that uses the feature.

The code that would use this will be in other repos, so it has to be merged before it can be used.
It does not hurt to get an early review in (as time allows) and discuss if this is the solution we want.

Also, isn't the likely use case for it in up-client-zenoh-cpp.

And likely any other up-client-*-cpp that comes along. There is also at least one non-const map in up-cpp that should be evaluated.

Dropping this PR back to draft state. Current proposal is to review the API design of the C++ uProtocol libraries independent of implementation first before addressing implementation design. If a need for multi-threaded maps arises again, this PR will be revived.

Closing under #212. This was not needed in alpha.2. It may be revisited in alpha.3 if needed then.

authors: debruce gregmedd

repo: eclipse-uprotocol/up-cpp


text:
specifications: microprofile-graphql page

https://microprofile.io/specifications/microprofile-graphql/

https://github.com/eclipse/microprofile-marketing/issues/795#issuecomment-1654654296

authors: aeiras rstjames

repo: eclipse/microprofile-marketing


text:
Wakaama support for bootstrap server

Hi,
Is bootstrapping supported with wakaama client?
I have enterred following commands
Scenario 1
/bootstrap_server_build$ ./bootstrap_server -4 -f ../examples/bootstrap_server/bootstrap_server.ini
LWM2M Bootstrap Server now listening on port 5685.

31 bytes received from [127.0.0.1]:56830
44 02 8E C0  C0 8E 9B E1  B2 62 73 4D  05 65 70 3D   D........bsM.ep=
74 65 73 74  6C 77 6D 32  6D 63 6C 69  65 6E 74      testlwm2mclient

Bootstrap request from "testlwm2mclient"
Sending DELETE /0 to "testlwm2mclient" OK.
8 bytes received from [127.0.0.1]:56830
64 42 3C 00  00 3C 9B E1   dB<..<..
Received status 2.02 (COAP_202_DELETED) for URI /0 from endpoint testlwm2mclient.
Sending DELETE /1 to "testlwm2mclient" OK.
8 bytes received from [127.0.0.1]:56830
64 42 3C 01  01 3C 9B E1   dB<..<..
Received status 2.02 (COAP_202_DELETED) for URI /1 from endpoint testlwm2mclient.
Sending WRITE /0/2 to "testlwm2mclient" OK.
8 bytes received from [127.0.0.1]:56830
64 80 3C 02  02 3C 9B E1   d.<..<..
Received status 4.00 (COAP_400_BAD_REQUEST) for URI /0/2 from endpoint testlwm2mclient.
./lwm2mclient -4 -b
Trying to bind LWM2M Client to port 56830
Amrit GET SECURITY OBJECTTTTTTTTTTTTTTTTTTTTTTTTTTLWM2M Client "testlwm2mclient" started on port 56830

-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
8 bytes received from [127.0.0.1]:5685
64 44 8E C0  C0 8E 9B E1   dD......
-> State: STATE_BOOTSTRAPPING
10 bytes received from [127.0.0.1]:5685
44 04 3C 00  00 3C 9B E1  B1 30  D.<..<...0
-> State: STATE_BOOTSTRAPPING
10 bytes received from [127.0.0.1]:5685
44 04 3C 01  01 3C 9B E1  B1 31  D.<..<...1
-> State: STATE_BOOTSTRAPPING
75 bytes received from [127.0.0.1]:5685
44 03 3C 02  02 3C 9B E1  B1 30 01 32  12 06 06 FF   D.<..<...0.2....
C8 00 15 63  6F 61 70 3A  2F 2F 6C 6F  63 61 6C 68   ...coap://localh
6F 73 74 3A  35 36 38 35  C1 01 01 C1  0A 02 C1 02   ost:5685........
00 C8 03 0B  4F 75 72 49  64 65 6E 74  69 74 79 C8   ....OurIdentity.
05 09 4F 75  72 53 65 63  72 65 74                   ..OurSecret
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING

Scenario 2
/bootstrap_server_build$ ./bootstrap_server -4 -f ../examples/bootstrap_server/bootstrap_server.ini
LWM2M Bootstrap Server now listening on port 5685.

67 bytes received from [127.0.0.1]:56830
16 FE FD 00  00 00 00 00  00 00 00 00  36 01 00 00   ............6...
2A 00 00 00  00 00 00 00  2A FE FD 00  00 00 0A 44   .............D
4B 20 CD 17  81 39 92 40  BA 79 8B 69  A5 68 69 E3   K ...9.@.y.i.hi.
77 E8 40 6E  58 30 67 BF  63 5C 56 00  00 00 02 C0   w.@nX0g.c\V.....
A8 01 00                                             ...

./lwm2mclient -4 -b -i 4f75724964656e74697479 -s  4F7572536563726574
Trying to bind LWM2M Client to port 56830
Amrit GET SECURITY OBJECTTTTTTTTTTTTTTTTTTTTTTTTTTLWM2M Client "testlwm2mclient" started on port 56830

-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
27 bytes received from [127.0.0.1]:5685
60 80 FD 00  FF 43 6F 41  50 20 76 65  72 73 69 6F   `....CoAP versio
6E 20 6D 75  73 74 20 62  65 20 31                   n must be 1
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
lwm2m_step() failed: 0xA3
[BOOTSTRAP] ObjectList restored
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING
-> State: STATE_BOOTSTRAPPING

bootstrap_server.ini.log
bootstrap_server.ini is attached.
There is one print added by me.
I have following questions.

Is there any support for boot strap server in case of Wakaama.
In the github master download page, the examples given does not include any bootstrapping. Do we have dtls support in Client?
If the support is there, then let me know what I am missing. Do we require bootstrap(-b option)ing option in client if we are mentioning the identity and pre shared key on command line?
Let me know If I am missing anything. I have been given identity and pre shared key for a distant leshan server in some other geographical location. But it also stucks at STATE_BOOSTRAPPING(with -b) or STATE_REGISTERING(without -b).

Thanks,
Amrit Pal Singh.

In wakaama client, bootstrap is supported if LWM2M_BOOTSTRAPcompilation flag is used.
However, I never used the Wakaama server ...
I suggest you to use the leshan server: https://github.com/eclipse/leshan

I am basically a C programmer, so wanted to use Wakaama server as well.
Leshan is a java implementation.
I have enabled the LWM2M_BOOTSTRAP flag but things dont work.
I also dont know why bootstrapping is required if we mention the psk and identity on command line?
Ideally there will be three programs running, one BS server, One LWM2M server(for normal operations) and one LWM2M client.
if -b option is mentioned on the command line, then LWM2M client should take the psk and Identity parameters from BS server and then use these paramaters to connect with LWM2M server.
Is my assumption correct?

Hi,
I just tried your scenario 1 with current master branch and the bootstrapping went fine (i.e. no COAP_400_BAD_REQUEST error on /0/2).
To answer your questions:

Bootstrapping is implemented in the client when building with the LWM2M_BOOTSTRAP define. (e.g. examples/client)
DTLS is implemented by the connection layer in functions lwm2m_connect_server(), lwm2m_close_connection() and lwm2m_buffer_send(). See files examples/shared/dtlsconnection.[c|h]
in examples/client/lwm2mclient, the -b argument means that you want to perform bootstrapping and that the server information provided in the other arguments are for the Bootstrap Server. In your scenario 2, you are connecting to the bootstrap server using DTLS. The example BS does not support DTLS connections.
If you are trying to connect to a distant Leshan Server, do not use the -b flag. Your errors are either network errors (the client can not reach the server) or DTLS errors (invalid credentials)

Hope this helps,

Could we close this issue ?

I close this issue but feel free to reopen if needed.

Agree to closing;  current master requires "LWM2M_SUPPORT_TLV" to be used when building the client in order to bootstrap successfully using the wakaama bootstrap server example. This is now documented in the README.md

repo: eclipse/wakaama


text:
Angular App for the Repository

We replaced the frontend with an angular app and adjusted the backend to support json, in order to have a proper rest service for the new frontend.
Signed-off:

Lukas Harzenetter lharzenetter@gmx.de
Niko Stadelmaier nstadelmaier.dev@gmail.com
Tino Stadelmaier tstadelmaier.github@gmail.com
Lukas Balzer balzer814_dev@web.de
Philipp Meyer meyer.github@gmail.com
Nicole Keppler keppler1github@gmail.com
Huixin Liu liuhuixin89@gmail.com

[ ] Please add following paragraph by @lharzenetter to docs/dev/index.md (rendered at http://eclipse.github.io/winery/dev/) or another appropriate place.

The repository-ui documentation is generated during npm run build process and can be found in org.eclipse.winery.repository.ui/dist/doc folder.

I cannot check the checkbox in your comment @koppor, but i added it, as well as some first documentation

Thank you for the PR. I submitted 8886ba1 as CQ 13942.

The PR was updated to remove a copyrighted figure and minor code improvements appeared on a code review today.

Thank you for the PR. I submitted 6449f3c as update CQ 13942.

Checkin based on Parallel IP allowed.

authors: koppor lharzenetter

repo: eclipse/winery


text:
Disable ScrollView animation

I am having a bit of an issue with setting the scroll position of a scroll view. I want to start the scrollview at a certain scrollX without scrolling to this position. This does not currently seem possible as the scrollX can't be set at construction since it has no content yet, and if I set it at any point after I get the animation. What are your thoughts on a solution to this problem?

You are right and your voice is beeing heard. In Tabris.js 2.x we have added a boolean animate property when setting the scroll position,
https://github.com/eclipsesource/tabris-js/blob/master/doc/api/widgets/ScrollView.json#L54

Thank you for the update :-)

authors: dested mpost

repo: eclipsesource/tabris-js


text:
Add command anemoi-training train ...

Implement loading of hydra config in the commands/train.py and add documentation.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

repo: ecmwf/anemoi-training


text:
Fix Label in confidence-band.js to hide base-hack

see issues: https://github.com/apache/incubator-echarts/issues/12592
old with wrong value in label:

new one

(facked image cause I can not run this)

@tomsoftware Thanks!

authors: Ovilia tomsoftware

repo: ecomfe/echarts-examples


text:
echarts有没有办法获取到鼠标划过图表时的数据点的坐标

现在因特殊业务，需要知道用户在划过图表时离的最近的数据点的坐标，能获取到么？

暂时不行，下个版本支持框选

authors: forzmfever pissang

repo: ecomfe/echarts


text:
echarts模块化方式加载，title、tooltips、legend 出不来，是什么原因

问题简述 (One-line summary)
按照官网的文档用require加载src文件夹里面的模块，最总渲染的图没有title，tooltips，legend。换成用script标签的方式引入插件就没有问题。
版本及环境 (Version & Environment)

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

重现步骤 (Steps to reproduce)

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

option = {
backgroundColor:'#fff',
                title: {
                    text: "近7日扫码数量及新增粉丝数量",
                    x: "center",
                    textStyle: {
                        color: '#757A9A',
                        fontStyle: 'normal',
                        fontWeight: 'normal',
                        fontFamily: 'Microsoft YaHei',
                        fontSize: 13.33,
                    },
                },
                tooltip: {
                    trigger: 'axis',
                    backgroundColor: 'rgba(50,50,50,0.7)',
                    axisPointer: {
                        type: 'none',
                    }

                },
                legend: {
                    itemGap: 15,
                    itemWidth: 6,
                    textStyle: {
                        color: '#333'
                    },
                    x: '60px',
                    data: ['扫码', '粉丝'],

                },
                toolbox: {
                    show: false,
                    feature: {
                        mark: { show: true },
                        dataView: { show: true, readOnly: false },
                        magicType: { show: true, type: ['line', 'bar', 'stack', 'tiled'] },
                        restore: { show: true },
                        saveAsImage: { show: true }
                    }
                },
                calculable: true,
                xAxis: [{
                    type: 'category',
                    boundaryGap: true,
                    splitLine: {
                        show: false,
                    },
                    data: dayArray,
                    axisLine: {
                        lineStyle: {
                            color: '#E6EAF3'
                        }
                    },
                    axisLabel: {
                        textStyle: {
                            color: '#4A5B77',
                        }
                    },
                    axisTick: {
                        length: 0,
                    }
                }],
                yAxis: [{
                    type: 'value',
                    splitLine: {
                        lineStyle: {
                            color: '#E6EAF3'
                        }
                    },
                    axisLine: {
                        show: false,
                    },
                    axisLabel: {
                        textStyle: {
                            color: '#4A5B77',
                        }
                    },
                    axisTick: {
                        length: 0,
                    }
                }],
                series: [{
                    name: '粉丝',
                    type: 'line',
                    stack: '总量',
                    data: [320, 332, 301, 334, 390, 330, 320],
                    symbol: 'image://img/light_blue.png',
                    symbolSize: 19,
                    lineStyle: {
                        normal: {
                            width: 1,
                            color: '#75CAF1'
                        }
                    },
                    markPoint: {
                        data: [{
                                type: 'max',
                                name: '最大值',
                                symbol: 'image://img/blue.png',
                                symbolSize: 19,
                                itemStyle: {
                                    normal: {
                                        color: '#36B5E8',
                                        label: { position: 'top' }
                                    }
                                },
                            } //蓝色
                        ]
                    },
                }, {
                    name: '扫码',
                    type: 'line',
                    stack: '总量',
                    data: [820, 932, 901, 934, 1290, 1330, 1320],
                    symbol: 'image://img/light_red.png',
                    symbolSize: 19,
                    lineStyle: {
                        normal: {
                            width: 1,
                            color: '#FF8582'
                        }
                    },
                    markPoint: {
                        data: [{
                                type: 'max',
                                name: '最大值',
                                symbol: 'image://img/red.png',
                                symbolSize: 19,
                                itemStyle: {
                                    normal: {
                                        color: '#FD6769',
                                        label: { position: 'top' }
                                    }
                                }
                            } //红色
                        ]
                    },
                }]
            };

            // 使用刚指定的配置项和数据显示图表。
            myChart.setOption(option);
}

其他信息 (Other comments)

没加载对应的模块

怎么解决的

label 在哪个模块?

Pls try these:
import 'echarts/lib/component/tooltip'
import 'echarts/lib/component/title'
import 'echarts/lib/component/legend'

and for toolbox:
import 'echarts/lib/component/toolbox'

是否可以在检测到setOption有对应配置，但又没有import相关模块时打印一个日志，提示应该如何import？
这对于新人来说，体验会比较好。

authors: DorisOu chinawzc neotan pissang willin xqliang


text:
echarts3可以支持echarts2的那种节点闪烁效果吗

One-line summary [问题简述]
如何在echarts散点图，对每一个点加一个闪烁的动画效果
Version & Environment [版本及环境]

ECharts version [ECharts 版本]:  3.0
Browser version [浏览器类型和版本]:  chrome
OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]
类似下面这种echarts2的结果
ECharts option [ECharts配置项]

option = {
   var placeList = [
    {name:'海门', geoCoord:[121.15, 31.89]},
    {name:'鄂尔多斯', geoCoord:[109.781327, 39.608266]},
    {name:'招远', geoCoord:[120.38, 37.35]},
    {name:'舟山', geoCoord:[122.207216, 29.985295]},
    {name:'齐齐哈尔', geoCoord:[123.97, 47.33]},
    {name:'盐城', geoCoord:[120.13, 33.38]},
    {name:'赤峰', geoCoord:[118.87, 42.28]},
    {name:'青岛', geoCoord:[120.33, 36.07]},
    {name:'乳山', geoCoord:[121.52, 36.89]},
    {name:'金昌', geoCoord:[102.188043, 38.520089]},
    {name:'泉州', geoCoord:[118.58, 24.93]},
    {name:'莱西', geoCoord:[120.53, 36.86]},
    {name:'日照', geoCoord:[119.46, 35.42]},
    {name:'胶南', geoCoord:[119.97, 35.88]},
    {name:'南通', geoCoord:[121.05, 32.08]},
    {name:'拉萨', geoCoord:[91.11, 29.97]},
    {name:'云浮', geoCoord:[112.02, 22.93]},
    {name:'梅州', geoCoord:[116.1, 24.55]},
    {name:'文登', geoCoord:[122.05, 37.2]},
    {name:'上海', geoCoord:[121.48, 31.22]},
    {name:'攀枝花', geoCoord:[101.718637, 26.582347]},
    {name:'威海', geoCoord:[122.1, 37.5]},
    {name:'承德', geoCoord:[117.93, 40.97]},
    {name:'厦门', geoCoord:[118.1, 24.46]},
    {name:'汕尾', geoCoord:[115.375279, 22.786211]},
    {name:'潮州', geoCoord:[116.63, 23.68]},
    {name:'丹东', geoCoord:[124.37, 40.13]},
    {name:'太仓', geoCoord:[121.1, 31.45]},
    {name:'曲靖', geoCoord:[103.79, 25.51]},
    {name:'烟台', geoCoord:[121.39, 37.52]},
    {name:'福州', geoCoord:[119.3, 26.08]},
    {name:'瓦房店', geoCoord:[121.979603, 39.627114]},
    {name:'即墨', geoCoord:[120.45, 36.38]},
    {name:'抚顺', geoCoord:[123.97, 41.97]},
    {name:'玉溪', geoCoord:[102.52, 24.35]},
    {name:'张家口', geoCoord:[114.87, 40.82]},
    {name:'阳泉', geoCoord:[113.57, 37.85]},
    {name:'莱州', geoCoord:[119.942327, 37.177017]},
    {name:'湖州', geoCoord:[120.1, 30.86]},
    {name:'汕头', geoCoord:[116.69, 23.39]},
    {name:'昆山', geoCoord:[120.95, 31.39]},
    {name:'宁波', geoCoord:[121.56, 29.86]},
    {name:'湛江', geoCoord:[110.359377, 21.270708]},
    {name:'揭阳', geoCoord:[116.35, 23.55]},
    {name:'荣成', geoCoord:[122.41, 37.16]},
    {name:'连云港', geoCoord:[119.16, 34.59]},
    {name:'葫芦岛', geoCoord:[120.836932, 40.711052]},
    {name:'常熟', geoCoord:[120.74, 31.64]},
    {name:'东莞', geoCoord:[113.75, 23.04]},
    {name:'河源', geoCoord:[114.68, 23.73]},
    {name:'淮安', geoCoord:[119.15, 33.5]},
    {name:'泰州', geoCoord:[119.9, 32.49]},
    {name:'南宁', geoCoord:[108.33, 22.84]},
    {name:'营口', geoCoord:[122.18, 40.65]},
    {name:'惠州', geoCoord:[114.4, 23.09]},
    {name:'江阴', geoCoord:[120.26, 31.91]},
    {name:'蓬莱', geoCoord:[120.75, 37.8]},
    {name:'韶关', geoCoord:[113.62, 24.84]},
    {name:'嘉峪关', geoCoord:[98.289152, 39.77313]},
    {name:'广州', geoCoord:[113.23, 23.16]},
    {name:'延安', geoCoord:[109.47, 36.6]},
    {name:'太原', geoCoord:[112.53, 37.87]},
    {name:'清远', geoCoord:[113.01, 23.7]},
    {name:'中山', geoCoord:[113.38, 22.52]},
    {name:'昆明', geoCoord:[102.73, 25.04]},
    {name:'寿光', geoCoord:[118.73, 36.86]},
    {name:'盘锦', geoCoord:[122.070714, 41.119997]},
    {name:'长治', geoCoord:[113.08, 36.18]},
    {name:'深圳', geoCoord:[114.07, 22.62]},
    {name:'珠海', geoCoord:[113.52, 22.3]},
    {name:'宿迁', geoCoord:[118.3, 33.96]},
    {name:'咸阳', geoCoord:[108.72, 34.36]},
    {name:'铜川', geoCoord:[109.11, 35.09]},
    {name:'平度', geoCoord:[119.97, 36.77]},
    {name:'佛山', geoCoord:[113.11, 23.05]},
    {name:'海口', geoCoord:[110.35, 20.02]},
    {name:'江门', geoCoord:[113.06, 22.61]},
    {name:'章丘', geoCoord:[117.53, 36.72]},
    {name:'肇庆', geoCoord:[112.44, 23.05]},
    {name:'大连', geoCoord:[121.62, 38.92]},
    {name:'临汾', geoCoord:[111.5, 36.08]},
    {name:'吴江', geoCoord:[120.63, 31.16]},
    {name:'石嘴山', geoCoord:[106.39, 39.04]},
    {name:'沈阳', geoCoord:[123.38, 41.8]},
    {name:'苏州', geoCoord:[120.62, 31.32]},
    {name:'茂名', geoCoord:[110.88, 21.68]},
    {name:'嘉兴', geoCoord:[120.76, 30.77]},
    {name:'长春', geoCoord:[125.35, 43.88]},
    {name:'胶州', geoCoord:[120.03336, 36.264622]},
    {name:'银川', geoCoord:[106.27, 38.47]},
    {name:'张家港', geoCoord:[120.555821, 31.875428]},
    {name:'三门峡', geoCoord:[111.19, 34.76]},
    {name:'锦州', geoCoord:[121.15, 41.13]},
    {name:'南昌', geoCoord:[115.89, 28.68]},
    {name:'柳州', geoCoord:[109.4, 24.33]},
    {name:'三亚', geoCoord:[109.511909, 18.252847]},
    {name:'自贡', geoCoord:[104.778442, 29.33903]},
    {name:'吉林', geoCoord:[126.57, 43.87]},
    {name:'阳江', geoCoord:[111.95, 21.85]},
    {name:'泸州', geoCoord:[105.39, 28.91]},
    {name:'西宁', geoCoord:[101.74, 36.56]},
    {name:'宜宾', geoCoord:[104.56, 29.77]},
    {name:'呼和浩特', geoCoord:[111.65, 40.82]},
    {name:'成都', geoCoord:[104.06, 30.67]},
    {name:'大同', geoCoord:[113.3, 40.12]},
    {name:'镇江', geoCoord:[119.44, 32.2]},
    {name:'桂林', geoCoord:[110.28, 25.29]},
    {name:'张家界', geoCoord:[110.479191, 29.117096]},
    {name:'宜兴', geoCoord:[119.82, 31.36]},
    {name:'北海', geoCoord:[109.12, 21.49]},
    {name:'西安', geoCoord:[108.95, 34.27]},
    {name:'金坛', geoCoord:[119.56, 31.74]},
    {name:'东营', geoCoord:[118.49, 37.46]},
    {name:'牡丹江', geoCoord:[129.58, 44.6]},
    {name:'遵义', geoCoord:[106.9, 27.7]},
    {name:'绍兴', geoCoord:[120.58, 30.01]},
    {name:'扬州', geoCoord:[119.42, 32.39]},
    {name:'常州', geoCoord:[119.95, 31.79]},
    {name:'潍坊', geoCoord:[119.1, 36.62]},
    {name:'重庆', geoCoord:[106.54, 29.59]},
    {name:'台州', geoCoord:[121.420757, 28.656386]},
    {name:'南京', geoCoord:[118.78, 32.04]},
    {name:'滨州', geoCoord:[118.03, 37.36]},
    {name:'贵阳', geoCoord:[106.71, 26.57]},
    {name:'无锡', geoCoord:[120.29, 31.59]},
    {name:'本溪', geoCoord:[123.73, 41.3]},
    {name:'克拉玛依', geoCoord:[84.77, 45.59]},
    {name:'渭南', geoCoord:[109.5, 34.52]},
    {name:'马鞍山', geoCoord:[118.48, 31.56]},
    {name:'宝鸡', geoCoord:[107.15, 34.38]},
    {name:'焦作', geoCoord:[113.21, 35.24]},
    {name:'句容', geoCoord:[119.16, 31.95]},
    {name:'北京', geoCoord:[116.46, 39.92]},
    {name:'徐州', geoCoord:[117.2, 34.26]},
    {name:'衡水', geoCoord:[115.72, 37.72]},
    {name:'包头', geoCoord:[110, 40.58]},
    {name:'绵阳', geoCoord:[104.73, 31.48]},
    {name:'乌鲁木齐', geoCoord:[87.68, 43.77]},
    {name:'枣庄', geoCoord:[117.57, 34.86]},
    {name:'杭州', geoCoord:[120.19, 30.26]},
    {name:'淄博', geoCoord:[118.05, 36.78]},
    {name:'鞍山', geoCoord:[122.85, 41.12]},
    {name:'溧阳', geoCoord:[119.48, 31.43]},
    {name:'库尔勒', geoCoord:[86.06, 41.68]},
    {name:'安阳', geoCoord:[114.35, 36.1]},
    {name:'开封', geoCoord:[114.35, 34.79]},
    {name:'济南', geoCoord:[117, 36.65]},
    {name:'德阳', geoCoord:[104.37, 31.13]},
    {name:'温州', geoCoord:[120.65, 28.01]},
    {name:'九江', geoCoord:[115.97, 29.71]},
    {name:'邯郸', geoCoord:[114.47, 36.6]},
    {name:'临安', geoCoord:[119.72, 30.23]},
    {name:'兰州', geoCoord:[103.73, 36.03]},
    {name:'沧州', geoCoord:[116.83, 38.33]},
    {name:'临沂', geoCoord:[118.35, 35.05]},
    {name:'南充', geoCoord:[106.110698, 30.837793]},
    {name:'天津', geoCoord:[117.2, 39.13]},
    {name:'富阳', geoCoord:[119.95, 30.07]},
    {name:'泰安', geoCoord:[117.13, 36.18]},
    {name:'诸暨', geoCoord:[120.23, 29.71]},
    {name:'郑州', geoCoord:[113.65, 34.76]},
    {name:'哈尔滨', geoCoord:[126.63, 45.75]},
    {name:'聊城', geoCoord:[115.97, 36.45]},
    {name:'芜湖', geoCoord:[118.38, 31.33]},
    {name:'唐山', geoCoord:[118.02, 39.63]},
    {name:'平顶山', geoCoord:[113.29, 33.75]},
    {name:'邢台', geoCoord:[114.48, 37.05]},
    {name:'德州', geoCoord:[116.29, 37.45]},
    {name:'济宁', geoCoord:[116.59, 35.38]},
    {name:'荆州', geoCoord:[112.239741, 30.335165]},
    {name:'宜昌', geoCoord:[111.3, 30.7]},
    {name:'义乌', geoCoord:[120.06, 29.32]},
    {name:'丽水', geoCoord:[119.92, 28.45]},
    {name:'洛阳', geoCoord:[112.44, 34.7]},
    {name:'秦皇岛', geoCoord:[119.57, 39.95]},
    {name:'株洲', geoCoord:[113.16, 27.83]},
    {name:'石家庄', geoCoord:[114.48, 38.03]},
    {name:'莱芜', geoCoord:[117.67, 36.19]},
    {name:'常德', geoCoord:[111.69, 29.05]},
    {name:'保定', geoCoord:[115.48, 38.85]},
    {name:'湘潭', geoCoord:[112.91, 27.87]},
    {name:'金华', geoCoord:[119.64, 29.12]},
    {name:'岳阳', geoCoord:[113.09, 29.37]},
    {name:'长沙', geoCoord:[113, 28.21]},
    {name:'衢州', geoCoord:[118.88, 28.97]},
    {name:'廊坊', geoCoord:[116.7, 39.53]},
    {name:'菏泽', geoCoord:[115.480656, 35.23375]},
    {name:'合肥', geoCoord:[117.27, 31.86]},
    {name:'武汉', geoCoord:[114.31, 30.52]},
    {name:'大庆', geoCoord:[125.03, 46.58]}
]
option = {
    backgroundColor: '#1b1b1b',
    color: [
        'rgba(255, 255, 255, 0.8)',
        'rgba(14, 241, 242, 0.8)',
        'rgba(37, 140, 249, 0.8)'
    ],
    title : {
        text: '大规模MarkPoint特效',
        subtext: '纯属虚构',
        x:'center',
        textStyle : {
            color: '#fff'
        }
    },
    legend: {
        orient: 'vertical',
        x:'left',
        data:['强','中','弱'],
        textStyle : {
            color: '#fff'
        }
    },
    toolbox: {
        show : true,
        orient : 'vertical',
        x: 'right',
        y: 'center',
        feature : {
            mark : {show: true},
            dataView : {show: true, readOnly: false},
            restore : {show: true},
            saveAsImage : {show: true}
        }
    },
    series : [
        {
            name: '弱',
            type: 'map',
            mapType: 'china',
            itemStyle:{
                normal:{
                    borderColor:'rgba(100,149,237,1)',
                    borderWidth:1.5,
                    areaStyle:{
                        color: '#1b1b1b'
                    }
                }
            },
            data : [],
            markPoint : {
                symbolSize: 2,
                large: true,
                effect : {
                    show: true
                },
                data : (function(){
                    var data = [];
                    var len = 3000;
                    var geoCoord
                    while(len--) {
                        geoCoord = placeList[len % placeList.length].geoCoord;
                        data.push({
                            name : placeList[len % placeList.length].name + len,
                            value : 10,
                            geoCoord : [
                                geoCoord[0] + Math.random() * 5 - 2.5,
                                geoCoord[1] + Math.random() * 3 - 1.5
                            ]
                        })
                    }
                    return data;
                })()
            }
        },
        {
            name: '中',
            type: 'map',
            mapType: 'china',
            data : [],
            markPoint : {
                symbolSize: 3,
                large: true,
                effect : {
                    show: true
                },
                data : (function(){
                    var data = [];
                    var len = 1000;
                    var geoCoord
                    while(len--) {
                        geoCoord = placeList[len % placeList.length].geoCoord;
                        data.push({
                            name : placeList[len % placeList.length].name + len,
                            value : 50,
                            geoCoord : [
                                geoCoord[0] + Math.random() * 5 - 2.5,
                                geoCoord[1] + Math.random() * 3 - 1.5
                            ]
                        })
                    }
                    return data;
                })()
            }
        },
        {
            name: '强',
            type: 'map',
            mapType: 'china',
            hoverable: false,
            roam:true,
            data : [],
            markPoint : {
                symbol : 'diamond',
                symbolSize: 6,
                large: true,
                effect : {
                    show: true
                },
                data : (function(){
                    var data = [];
                    var len = placeList.length;
                    while(len--) {
                        data.push({
                            name : placeList[len].name,
                            value : 90,
                            geoCoord : placeList[len].geoCoord
                        })
                    }
                    return data;
                })()
            }
        }
    ]
};

}

Other comments [其他信息]

不支持

能否增加这个功能？想要实现实时在线地图更新，想通过这个闪烁来模拟。

能否增加这个功能？想要实现实时在线地图更新，想通过这个闪烁来模拟。同求！

authors: Just-focus jacobcyl pissang tonny-chan


text:
为什么没有mousein事件？我需要用这个事件，但不会改源码，有会的吗。

One-line summary [问题简述]
Version & Environment [版本及环境]

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

Expected behaviour [期望结果]
ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

有 mouseover


text:
[WIP] generalised unpack function after a model is solved

fixes https://github.com/econ-ark/HARK/issues/457
Please ensure your pull request adheres to the following guidelines:

[N/A ] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[ ] Updated documentation of features that add new functionality.
[ ] Update CHANGELOG.md with major/minor changes.

Is the idea that this is already covered by existing tests?

nope, this is supposed to fail for the time being. I want to discuss this in the call today.
Currently we use unpackcFunc and this PR introduces unpackFunc (notice the missing 'c') so we would need to update the code examples where we use model.unpackcFunc() with something like model.unpackFunc('cFunc') to have a generalised unpacking function. model.unpackFunc('cFunc')  does look clunky so maybe we can have something like model.unpack('cFunc')

@MridulS
Thanks for fixing then merging this.

authors: MridulS llorracc sbenthall

repo: econ-ark/HARK


text:
Update akka-http, akka-http-spray-json to 10.2.6

Updates

com.typesafe.akka:akka-http
com.typesafe.akka:akka-http-spray-json

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

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

labels: library-update, semver-patch

Superseded by #75.

repo: ecyshor/akka-consul-lease


text:
Update models to correspond to the actual PayPal responses

Namely Refund, Authorization and Capture all contain an intermediate "reason" field in their status_details.
https://developer.paypal.com/api/orders/v2/#definition-refund_status_details
https://developer.paypal.com/api/orders/v2/#definition-authorization_status_details
https://developer.paypal.com/api/orders/v2/#definition-capture_status_details

thanks

authors: edg-l twistedfall

repo: edg-l/paypal-rs


text:
Make USING expressions propagate to subtypes

USING expressions for SET REQUIRED/SET TYPE/similar don't get applied
to subtypes properly.
Fix this by cloning AlterSpecialObjectField objects along with
their USING expressions, and modifying
ObjectCommand.set_attribute_value to use an existing
AlterSpecialObjectField even if it doesn't have an actual value
in it yet.

(reported by @colinhacks)

repo: edgedb/edgedb


text:
feat: run utility scripts directly from the docker image

Signed-off-by: Anthony Casagrande anthony.j.casagrande@intel.com

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[ ] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #125 (b17f134) into main (9bac30e) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #125   +/-   ##
=====================================
  Coverage   9.13%   9.13%
=====================================
  Files         18      18
  Lines       1795    1795
=====================================
  Hits         164     164
  Misses      1610    1610
  Partials      21      21

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: ajcasagrande codecov-commenter

repo: edgexfoundry/device-onvif-camera


text:
Added a CPU usage metrics endpoint for Linux.

Issues #832, #1137, #1074, #1076, #1077, #1078

Changes made.

repo: edgexfoundry/edgex-go


text:
Update to Pikaday 1.4

I'd like to request an update to Pikaday 1.4 due to these issues which are solved by this PR which is only available in Pikaday 1.4
Thanks a lot.

Sorry for having you wait for so long @corrspt, thanks to @drapergeek this is now done.

Thanks!  I should have probably done what @drapergeek did and create that PR. Many thanks @drapergeek and @stravid for the release.

authors: corrspt stravid

repo: edgycircle/ember-pikaday


text:
Feature

Implementations:

Responsive Layout for Web & Mobile;
Added Colors file for the Dark Theme;
Added Dimensions file for responsive layout;

Implementations

Updated android > app > build.gradle minSdkVersion to 21
Enabled multiDexEnable
Added uses-permission to avoid firebase error logs
Added Google Services  from Firebase for Android and iOS


text:
VSCode on Windows can't find RLS path

Version of VSCode: 1.15.1
Version of the extension: 0.4.2
OS: Windows 10 Pro x64 (version 1703 / build 15063.540)
Description: VSCode on Windows can't find cargo bin path, even though it's in my user PATH.
note that my user PATH includes %USERPROFILE%\.cargo\bin but not %USERPROFILE%\.multirust\anything.

cmd.exe

C:\Users\bodie\meta\dev\build\rust-gpgme>where rls
C:\Users\bodie\.cargo\bin\rls.exe

...

C:\Users\bodie\meta\dev\build\rust-gpgme>rustup show
Default host: x86_64-pc-windows-msvc

installed toolchains
--------------------

stable-x86_64-pc-windows-msvc (default)
nightly-x86_64-pc-windows-msvc

active toolchain
----------------

stable-x86_64-pc-windows-msvc (default)
rustc 1.20.0 (f3d6973f4 2017-08-27)

Output of the "Rust logging" channel:
DEBUG: Rustup: updateToolchains: this.toolchains=[{"channel":"stable","host":"x86_64-pc-windows-msvc","isDefault":true},{"channel":"nightly","host":"x86_64-pc-windows-msvc","isDefault":false}]
DEBUG: activate: processPossibleSetButMissingUserToolchain: toolchainKind=toolchain
DEBUG: activate: processPossibleSetButMissingUserToolchain: user toolchain is installed
DEBUG: Rustup: updateComponents(stable-x86_64-pc-windows-msvc): components=["cargo-x86_64-pc-windows-msvc (default)","rust-analysis-x86_64-pc-windows-msvc","rust-docs-x86_64-pc-windows-msvc (default)","rust-src (installed)","rust-std-aarch64-apple-ios","rust-std-aarch64-linux-android","rust-std-aarch64-unknown-fuchsia","rust-std-aarch64-unknown-linux-gnu","rust-std-arm-linux-androideabi","rust-std-arm-unknown-linux-gnueabi","rust-std-arm-unknown-linux-gnueabihf","rust-std-arm-unknown-linux-musleabi","rust-std-arm-unknown-linux-musleabihf","rust-std-armv7-apple-ios","rust-std-armv7-linux-androideabi","rust-std-armv7-unknown-linux-gnueabihf","rust-std-armv7-unknown-linux-musleabihf","rust-std-armv7s-apple-ios","rust-std-asmjs-unknown-emscripten","rust-std-i386-apple-ios","rust-std-i586-pc-windows-msvc","rust-std-i586-unknown-linux-gnu","rust-std-i686-apple-darwin","rust-std-i686-linux-android","rust-std-i686-pc-windows-gnu","rust-std-i686-pc-windows-msvc","rust-std-i686-unknown-freebsd","rust-std-i686-unknown-linux-gnu","rust-std-i686-unknown-linux-musl","rust-std-mips-unknown-linux-gnu","rust-std-mips-unknown-linux-musl","rust-std-mips64-unknown-linux-gnuabi64","rust-std-mips64el-unknown-linux-gnuabi64","rust-std-mipsel-unknown-linux-gnu","rust-std-mipsel-unknown-linux-musl","rust-std-powerpc-unknown-linux-gnu","rust-std-powerpc64-unknown-linux-gnu","rust-std-powerpc64le-unknown-linux-gnu","rust-std-s390x-unknown-linux-gnu","rust-std-sparc64-unknown-linux-gnu","rust-std-wasm32-unknown-emscripten","rust-std-x86_64-apple-darwin","rust-std-x86_64-apple-ios","rust-std-x86_64-linux-android","rust-std-x86_64-pc-windows-gnu","rust-std-x86_64-pc-windows-msvc (default)","rust-std-x86_64-rumprun-netbsd","rust-std-x86_64-unknown-freebsd","rust-std-x86_64-unknown-fuchsia","rust-std-x86_64-unknown-linux-gnu","rust-std-x86_64-unknown-linux-musl","rust-std-x86_64-unknown-netbsd","rustc-x86_64-pc-windows-msvc (default)",""]
DEBUG: RlsMode: start: enter
DEBUG: RlsMode: start: no RLS executable
DEBUG: RlsMode: start: processPossibleSetButMissingUserToolchain: toolchainKind=nightly toolchain
DEBUG: RlsMode: start: processPossibleSetButMissingUserToolchain: user nightly toolchain is installed
DEBUG: Rustup: updateComponents(nightly-x86_64-pc-windows-msvc): components=["cargo-x86_64-pc-windows-msvc (default)","rls-x86_64-pc-windows-msvc (installed)","rust-analysis-x86_64-pc-windows-msvc (installed)","rust-docs-x86_64-pc-windows-msvc (default)","rust-src (installed)","rust-std-aarch64-apple-ios","rust-std-aarch64-linux-android","rust-std-aarch64-unknown-fuchsia","rust-std-aarch64-unknown-linux-gnu","rust-std-arm-linux-androideabi","rust-std-arm-unknown-linux-gnueabi","rust-std-arm-unknown-linux-gnueabihf","rust-std-arm-unknown-linux-musleabi","rust-std-arm-unknown-linux-musleabihf","rust-std-armv7-apple-ios","rust-std-armv7-linux-androideabi","rust-std-armv7-unknown-linux-gnueabihf","rust-std-armv7-unknown-linux-musleabihf","rust-std-armv7s-apple-ios","rust-std-asmjs-unknown-emscripten","rust-std-i386-apple-ios","rust-std-i586-pc-windows-msvc","rust-std-i586-unknown-linux-gnu","rust-std-i686-apple-darwin","rust-std-i686-linux-android","rust-std-i686-pc-windows-gnu","rust-std-i686-pc-windows-msvc","rust-std-i686-unknown-freebsd","rust-std-i686-unknown-linux-gnu","rust-std-i686-unknown-linux-musl","rust-std-mips-unknown-linux-gnu","rust-std-mips-unknown-linux-musl","rust-std-mips64-unknown-linux-gnuabi64","rust-std-mips64el-unknown-linux-gnuabi64","rust-std-mipsel-unknown-linux-gnu","rust-std-mipsel-unknown-linux-musl","rust-std-powerpc-unknown-linux-gnu","rust-std-powerpc64-unknown-linux-gnu","rust-std-powerpc64le-unknown-linux-gnu","rust-std-s390x-unknown-linux-gnu","rust-std-sparc64-unknown-linux-gnu","rust-std-wasm32-unknown-emscripten","rust-std-x86_64-apple-darwin","rust-std-x86_64-apple-ios","rust-std-x86_64-linux-android","rust-std-x86_64-pc-windows-gnu","rust-std-x86_64-pc-windows-msvc (default)","rust-std-x86_64-rumprun-netbsd","rust-std-x86_64-unknown-freebsd","rust-std-x86_64-unknown-fuchsia","rust-std-x86_64-unknown-linux-gnu","rust-std-x86_64-unknown-linux-musl","rust-std-x86_64-unknown-netbsd","rust-std-x86_64-unknown-redox","rustc-x86_64-pc-windows-msvc (default)",""]
DEBUG: RlsMode: processPossiblyMissingRlsComponents: RLS is installed
DEBUG: RlsMode: processPossiblyMissingRlsComponents: rust-analysis is installed
DEBUG: RlsMode: start: User decided to use rustfmt
DEBUG: RlsMode: start: rlsPath=rustup
DEBUG: RlsMode: start: env={"RUST_SRC_PATH":"C:\\Users\\bodie\\.multirust\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\src\\rust\\src"}
DEBUG: RlsMode: start: args=["run","nightly-x86_64-pc-windows-msvc","rls"]
DEBUG: RlsMode: start: revealOutputChannelOn=3
DEBUG: RlsMode: start: Language Client Manager: start

This seems to have magically fixed itself, so I'm going to close it until I have more information or a reproduction.

repo: editor-rs/vscode-rust


text:
🛑 Wikipedia is down

In 169c8fa, Wikipedia (https://en.wikipedia.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wikipedia is back up in 593a03d.

repo: edrekaa/monitor


text:
Use TreatWarningsAsErrors instead of msbuild flag -warnaserror

Once TreatWarningsAsErrors starts working as expected I can enable it on the root Directory.build.props file and update the workflows that build the app by removing the -warnaserror.
At the moment ThrearWarningAsErrors does not work as expected when setting dotnet_analyzer_diagnostic.severity in .editorconfig.
For more info see:

TreatWarningsAsErrors ignored when severity set in EditorConfig
dotnet_analyzer_diagnostic.severity Does Not Work with TreatWarningsAsErrors

I might not want to do this after all.
If I enable TreatWarningsAsErrors  on the editor.config then locally warnings will become errors and that affects the dev experience. It makes it unclear what are errors and what are warnings.
By having warnings promoted to errors on the pipeline alone I can ensure the code health without negatively impact the local dev experience.

repo: edumserrano/dotnet-sdk-extensions


text:
Change videos download icon

Description
LEARNER-2524
Download icon change from fa_arrow_down to fa_download.
Here's how it looks now:

Codecov Report

Merging #1003 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff            @@
##             master   #1003   +/-   ##
========================================
  Coverage      16.3%   16.3%
  Complexity     1023    1023
========================================
  Files           479     479
  Lines         21090   21090
  Branches       2365    2365
========================================
  Hits           3438    3438
  Misses        17258   17258
  Partials        394     394

Impacted Files
Coverage Δ
Complexity Δ

...ava/org/edx/mobile/view/CourseOutlineFragment.java
43.11% <0%> (ø)
17 <0> (ø)
:arrow_down:

...edx/mobile/view/adapters/CourseOutlineAdapter.java
16.41% <0%> (ø)
14 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

authors: codecov-io miankhalid

repo: edx/edx-app-android


text:
Block all third party calls for zero rated carrier

We may need to disable all of the third party calls if app detects a zero rated carrier.
These changes handle enable/disable of NewRelic, Fabric and SegmentIO (SegmentIO includes GoogleAnalytics) integrations.
After bNotions merge, I will use NetworkUtil.isOnZeroRatedNetwork(Context context) method as a flag to enable or disable third party calls.
cc @aleffert @nasthagiri

Otherwise looks good.

I merge this.
In bnotions merge, I will use NetworkUtil.isOnZeroRatedNetwork(Context context) as an additional condition.

See comment over here: https://github.com/edx/edx-mobile-config/pull/3

Yes, will make the changes.

authors: aleffert rohan-dhamal-clarice


text:
🛑 Almacenata is down

In a7b563a, Almacenata (https://www.almacenata.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Almacenata is back up in 7e03619 after 25 minutes.

repo: efecear/upptime


text:
🛑 Nodo UTT Morón is down

In f431ff6, Nodo UTT Morón (https://www.nodouttmoron.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo UTT Morón is back up in 460e081.


text:
🛑 Tierra Firme is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Tierra Firme is back up in 2376cf8.


text:
🛑 La Semilla Que Crece is down

In 4b558aa, La Semilla Que Crece (https://www.lasemillaquecrece.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: La Semilla Que Crece is back up in b9c5d97.


text:
🛑 Almacén Reina Batata is down

In 130a8e0, 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 3241fef.


text:
🛑 La Semilla Que Crece is down

In ca72eba, La Semilla Que Crece (https://www.lasemillaquecrece.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: La Semilla Que Crece is back up in bd87827.


text:
🛑 Nodo UTT Ramos Mejia is down

In 3b8c00b, 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 28a1e43.


text:
🛑 Vía Judicial is down

In a3aa91e, Vía Judicial (https://www.viajudicial.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Vía Judicial is back up in 937c94b.