text:
Replace P Monad with transformer stack

There's really only one purpose for this, which is to embed a "Context" for the parsing into the return type, which indicates which subcommand the parser failed inside, so a better help text can be printed.

Stack looks right. I am a bit meh on stacks that deep in scala, because there are some walls where you will find it won't work any more (for example I don't know if you will be able to implement MonadTrans and use liftM generically in this situation). But if it works for now I am fine with it.

One note though, I think we really need to start adding a much more comprehensive test suite before the internals get any more churn.

authors: FrontierOtr markhibberd

repo: markhibberd/pirate


text:
Create and display content collection of photo albums

Changes
Defines a new content collection called albums, where each entry to the collection is a YAML file with the album's title, description, and cover image, and a corresponding folder of the same name containing the photos (jpeg, jpg, or png).
Includes an index page and individual pages corresponding to each album id (name) where images are displayed in responsive columns with opacity hover effects.
Adds the free edition of fslightbox for fullscreen viewing of any given album's photos.
Notes
fslightbox works by adding the data-fslightbox attribute to a given a HTML tag whose href is the path to the image to display in fullscreen. It'd be ideal to use Astro's built-in Image component, as is the case in this pull request, because Astro's image service will process them so long as the images are in /src, turning them into much smaller, optimized webp files in the final build.
The actual path of the optimized image isn't known until after build unless you use Astro's getImage(), but that seems to require importing the image locally i.e. import myImage from "./path/to/image.jpg".
There's a conflict between dynamically importing images in bulk with Astro.glob() or Vite's import.meta.glob() and properly passing arguments for the link's href attribute as well as Astro's Image component's src attribute. I was not able to determine a good solution. Some solutions exist in the support channel in Astro's discord, but they were for manually importing images one at a time to then pass to an Astro component, and not for dynamically imported images in bulk.
What this all means is that the optimized webp will be shown in the gallery view, but clicking on any given photo will pull up the original file (jpeg, jpg, png, etc) at its original size. This could be an issue on mobile with large photos e.g. 4k resolution.
My recommendation is to convert photos to webp ahead of time or to use jpeg/jpg at a max resolution of ~2k, which should keep individual files sizes at ~1MB or below. This should ensure faster load times for fullscreen photos on mobile and is likely plenty large enough for viewing on most monitors and mobile devices.

Sorry, I've made a terrible mistake and thought I was pushing commits to my own fork. Please ignore this.

source: gharchive/pull-request

repo: markhorn-dev/astro-sphere

license: MIT

license_type: permissive

license_source: github-api


text:
Major e2e updates

@grechaw @rashiatmarklogic
Please merge this PR that includes major updates to e2e.

This is a rather large PR -- I'll download it today and give it a whirl before merging.  @rashiatmarklogic I'll also keep an eye out for whatever you happen across.

There are two qc workspaces in the e2e-nwind directory, maybe you wanted to remove one of them, as it has a lot of code from the examples dir.

@grechaw From my perspective, I would like this PR merged to develop as soon as possible since then I can grab the changes and try to play around with e2e.
From my side its a go!

OK, I'll go ahead and merge now.  Srikanth and I had some time to go over questions and it seems to be in good shape for wider review.

Great !

authors: bsrikan grechaw rashiatmarklogic

repo: marklogic/entity-services


text:
How to run this plugin only once after webpack init?

How to run this plugin only once after webpack init?
I have problem - on a progect I use browsersync and it inject changes after any change in css files.
This plugin emit event and change js instance http://s1.micp.ru/H69uG.jpg
(in my case in files object i have 2 files: 1 - node module, 2 - my custom script, and in transform object i have babel.transform function)
See screenshot: http://s3.micp.ru/T6mD2.jpg
Without this plugin I not any js file emit, when I make changes in css files.
Thanks for any help!

can you provide callback to browsersync when it finishes? this way you can call again webpack with this plugin.

what do you mean by words "callback to browsersync when it finishes"?
I use webpack-synchronizable-shell-plugin for watching onBuildEnd of webpack, then I run express server, and init browsersync instance with proxy to the express server, after that, i run watchers of all needed files
(https://i.imgur.com/Fbs4e6V.jpg)
What can I do to prevent the script, formed by your plugin from being updated every time when I save styles?
Аt the moment I can not use the plugin because of this, and I have to enable it only on production, but it's inconvenient, because if it was a critical file (an compilation of critical vendors), I would not know what to do.
I will be grateful for any advice!

does the bs.reload trigger new webpack run everytime a file changed? or is the plugin somehow re-runing automatically? from what i understood, you want to compile your files only 1 time, without re-running my plugin each time the the files of browser-testing.min.js were changed, right?

bs reload make this: https://browsersync.io/docs/api#api-reload
In another words, im my cas, bs inject css changes directly in browser, without full page-reload; Webpack watching css/scss files, and make some things with plugins sass-loader, css-loader, post-css-loader, etc..
When I save css file, webpack make css code and paste in buld directory, but browsersync watch this directory, and inject new compiled css file in the browser;
Your plugin emit changes in js file in all moments, independed of type of file I changed, and this is bad behaviour!
So I want at least to run your plugin only once, without re-running it every time the listed files under browser-testing.min.js were changed, right, BUT:
it would be logical that this happens only when I make changes not in any files, but in the files that are included in this script!
Thanks!

are you webpack watchers too? can this https://www.npmjs.com/package/run-once-plugin help maybe?

Thank you, man!
It works!
https://i.imgur.com/8F7p9yS.jpg
this workaround seems to me to be written somewhere in the documentation in your plug-in, otherwise with a similar problem (especially HMR) and other means of tracking changes, users will have problems)
If you think the problem is exhausted - close this issue)

source: gharchive/issue


text:
Add dependency lists for various tools

Relying on system installed tools is getting pretty annoying as the number of tools that lint-review support grows. To curb the reliance on system libraries, it would be best to use each language's packaging system to install non-global libraries.

For node use npm
For PHP use composer
For ruby use bundler but not RVM/rbenv.
Python is already taken care of.

I think it would also be useful to have a simpler install workflow that is as simple as make install.

I'm pretty sure most of this is done already.

repo: markstory/lint-review

license: mit

license_source: bigquery


text:
Handle linter timeouts more gracefully

Instead of failing the entire job, handle linter timeouts locally and allow other linters to continue running.

Codecov Report

Merging #264 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #264      +/-   ##
==========================================
+ Coverage   91.08%   91.09%   +0.01%
==========================================
  Files          46       46
  Lines        2714     2719       +5
==========================================
+ Hits         2472     2477       +5
  Misses        242      242

Impacted Files
Coverage Δ

lintreview/docker.py
98.21% <100%> (ø)
:arrow_up:

lintreview/tools/__init__.py
82.19% <100%> (+0.63%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io markstory


text:
Can't build the theme

I am trying to build this theme and I get the error:
Error:
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp-darwin-arm64v8.node'
Require stack:

/Users/elizabeth/Development/accessible-astro-starter/node_modules/sharp/lib/sharp.js
/Users/elizabeth/Development/accessible-astro-starter/node_modules/sharp/lib/constructor.js
/Users/elizabeth/Development/accessible-astro-starter/node_modules/sharp/lib/index.js

Possible solutions:

Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
Install for the current darwin-arm64v8 runtime: "npm install --platform=darwin --arch=arm64v8 sharp"
Consult the installation documentation: https://sharp.pixelplumbing.com/install
at Object. (/Users/elizabeth/Development/accessible-astro-starter/node_modules/sharp/lib/sharp.js:34:9)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Module.require (node:internal/modules/cjs/loader:1157:19)
at require (node:internal/modules/helpers:119:18)
at Object. (/Users/elizabeth/Development/accessible-astro-starter/node_modules/sharp/lib/constructor.js:8:1)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)

Node.js v19.7.0
I am using the latest version of node.js.
When I do npm install, there are loads of vulnerabilities including 7 critical:
npm install
up to date, audited 1595 packages in 13s
306 packages are looking for funding
run npm fund for details
49 vulnerabilities (3 low, 39 high, 7 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit for details.

Fixed the issue by deleting the node-modules folder and running npm install again.

Hey @elgud! Glad to see you've found a solution to this, it's the first thing I'd suggest when npm install isn't working 🤔 Weird though that 'sharp' package, it seems to have something to do with Apples M1 chip, oddly enough. Anyway, I'll close this issue since there's a fix 🙂

authors: elgud markteekman

repo: markteekman/accessible-astro-starter


text:
fix cqlsh

The script seems to run.
If this works for you, please merge and rebase.

Before the change I was also able to run it.  Problem is that there is no TAB completion because python is missing the readline library when the script is started.  As an example you can try to do enter e.g. SEL<tab> which should trigger completion and not insert raw tabs...

I don't have any server set up so I don't know how I could easily test this.

I just added readline. The following seems to work:
nix-shell -p cassandra -I nixpkgs=. --pure --run "python -c 'import sqlite3; import readline;'"
and
$ echo $PYTHONPATH
/nix/store/awbf3jh262m1k16hxgbgngdmxv66gd79-python-2.7.11/lib/python2.7/site-packages:/nix/store/rc445bsxb245k2xb86y2w6qi1w6k8rpg-python-sqlite3-2.7.11/lib/python2.7/site-packages:/nix/store/6nbdrsd6myqgs7vym3kpzwfslswqqrlx-python-readline-2.7.11/lib/python2.7/site-packages

Because $PYTHONPATH includes both it should be working.

That is strange because this is what I get when I run it from the cloned nixpkgs directory with your commit checked out:
clones/nixpkgs > git status
On branch pr1
nothing to commit, working directory clean
clones/nixpkgs > git show -s
commit 2da4ca84dfe96a1997558a1143301857460456cf
Author: Frederik Rietdijk <fridh@fridh.nl>
Date:   Thu Mar 31 09:45:00 2016 +0200

    fix cqlsh
clones/nixpkgs > nix-shell -p cassandra -I nixpkgs=. --pure --run "python -c 'import sqlite3; import readline;'"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named readline

Ah nevermind I didn't pull in your change for readline. But unfortunately it still does not work...

I have added a temporary debug print statement to the python script in deb3d32737f7f75e4ba6e96a125e951e6b562006, it still fails to load readline somehow...

I've updated the PR and readline imports just fine.
$ nix-shell -p cassandra -I nixpkgs=. --pure --run "cqlsh"
<module 'readline' from '/nix/store/447rz3p9462jpyiar56fshzj9fq3gh62-python-readline-2.7.11/lib/python2.7/site-packages/readline.so'>
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

Nothing wrong here with the Nix expression.
Maybe something with if sys.stdin.isatty(): in the script?

I must be missing something then.  Checking out your commit:
clones/nixpkgs > git show -s
commit 8241689c82086c2fcaeff41eb6fc0e43213de2db
Author: Frederik Rietdijk <fridh@fridh.nl>
Date:   Thu Mar 31 22:26:58 2016 +0200

    demonstrate readline works

and running cqlsh I get:
clones/nixpkgs > result/bin/cqlsh
Traceback (most recent call last):
  File "result/bin/cqlsh.py", line 40, in <module>
    import readline; print(readline)
ImportError: No module named readline

Possible cause: https://github.com/NixOS/nix/issues/886


text:
Typo in Readme

You have a typo in How it works...

Thank you @danzen for pointing this out! ☺ I just fixed it!

authors: danzen markuslerner


text:
do not find the cpp_mstar

when i do:

cd into the od_mstar3 folder.
python3 setup.py build_ext --inplace
Check by going back to the root of the git folder, running python3 and "import cpp_mstar"

i just get the file "cpp_mstar.cpython-310-x86_64-linux-gnu.so"
how to find the "cpp_mstar"??

Is it solved?

你好，您的邮件我已收到，我将尽快回复您的邮件，谢谢！

Refer to the solution in the repository of PRIMALhttps://github.com/gsartoretti/PRIMAL/issues/11#issuecomment-1641804570, It works for me.

when i do:
cd into the od_mstar3 folder. python3 setup.py build_ext --inplace Check by going back to the root of the git folder, running python3 and "import cpp_mstar"
i just get the file "cpp_mstar.cpython-310-x86_64-linux-gnu.so" how to find the "cpp_mstar"??

你好，您的邮件我已收到，我将尽快回复您的邮件，谢谢！

authors: arvinzyj gaosz0755 hyjocean


text:
Add logging mechanism vs. just console.log

@martijnthe said here: Maybe create a new logging.ts that allows turning logs on/off per log level?

@grgustaf this is done, correct?

authors: grgustaf martijnthe

repo: martijnthe/jerryscript


text:
Version 1.7 crashes on launch

After updating to the newest version (1.7) today, Tuneful seems to crash on launch. This is consistent every time I attempt to open Tuneful.

What version of macOS and what Mac are you using?

￼

On Oct 29, 2024, at 12:12 PM, Martin Fekete @.***> wrote:
What version of macOS and what Mac are you using?
—
Reply to this email directly, view it on GitHub https://github.com/martinfekete10/Tuneful/issues/121#issuecomment-2445008995, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHTN4SDIVLG53JM44XNNFLZ57F2FAVCNFSM6AAAAABQ2ONIGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVGAYDQOJZGU.
You are receiving this because you authored the thread.

Oh fun... the screenshot didn't come through. Here you go.

As I understand it, previous version works fine for you?

Yes, I went back to the previous version when the new release didn't work. I have two Apple Silicon Macs running 15.1 and I updated Tuneful on both of them. Version 1.7 doesn't appear to work on either one.

I'm going to try uninstalling Tuneful completely and reinstalling from scratch. We'll see what happens then.

Uninstalled completely. Restarted machine and reinstalled Tuneful via GitHub. Crashes on launch. Crash log attached.
Tuneful-2024-10-29-144641.txt

I'm also running into the same issue. M3 Pro Macbook Pro.
tuneful-crash-log-2024-10-30.txt

Tuneful-2024-10-31-100347.txt
Same

Same(ish) issue. If I install via GitHub, app crashes on launch. Installing via Homebrew everything works except any of the menu bar features (menu bar icon never shows up). Will share logs when home

I know this is for 1.7 but versions from 1.6.6 and up to 1.7 crashes on launch.. 1.6.6 and 1.6.7 - last good known release for me personally is 1.6.5. On Apple Silicon and Sequoia 15.1
report for 1.6.6
Tuneful-2024-11-05-080006.txt
and 1.6.7 - perhaps there's something to be said of these crashes in relation to 1.7
Tuneful-2024-11-05-075747.txt

Same for Macbook Air M3 macOS Sequoia 15.2 beta 2

Tuneful-2024-11-07-161020.txt
m2 mac mini crashlog

Same issue, M4 Mac mini. Log is attached.
Tuneful-2024-11-09-224018.txt

Installing spotify fixes the crash, app loads fine after. #129

Yep, this seems to be the root cause, thanks @exiva. Will try to fix the issue and release the new version in the upcoming days

I just release v1.7.1 which (hopefully) fixes this issue! If it works for you I'll close the issue

M1 Pro Sequoia 15.1.1, still broken for me. I use spicetify (hence my hesitancy to reinstall), wonder if that has anything to do with it

Hello,
it is now working correctly for me.
Thank you.
Mac mini M1 with 15.1.1 and
MacBookPro M2 with 15.1.1

I just release v1.7.1 which (hopefully) fixes this issue! If it works for you I'll close the issue

@martinfekete10 Thanks for your work on this! The new version is working great!

authors: VisualisationExpo aayushbhatia06 bengreeno bilalnoork det-box exiva hymnalayanroots martinfekete10 nobodywasishere stanislc


text:
能否留个联系方式

你好，看到你的项目，能否留个联系方式？

你好，你可以打我的电话18115626996

在 2018年9月27日，下午1:10，Yingmo notifications@github.com 写道：
你好，看到你的项目，能否留个联系方式？
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/martinfengshenxiang/atom_game/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AMzyyDOV2lEWh5ktgEtLP05n9p8BUvRcks5ufF3XgaJpZM4W760X.

authors: fangleen martinfengshenxiang


text:
Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

Apologies for the delayed response.

repo: martingallagher/gawp


text:
Feature Request: Report total searches in an update

To better understand the significance of searches over 5s/15s it would be nice to know the total of searches that were measured.
Example:
Search 🔍:

average: 0.46s over xxx searches
over 5s: 2 occasions
over 15s: 1 occasions

Or show the occasions also as percentage %. Easy to add here: https://github.com/martomi/chiadog/blob/main/src/chia_log/handlers/daily_stats/stat_accumulators/search_time_stats.py

authors: martomi thargor

repo: martomi/chiadog


text:
🛑 Google is down

In 7b4d822, Google (https://www.google.com) was down:

HTTP code: 429
Response time: 461 ms

Resolved: Google is back up in c90d471.

repo: masch/poh-events-uptime


text:
🛑 POH events bot from render hosting is down

In e4f2663, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 9a35435 after 8 minutes.


text:
🛑 POH events bot from render hosting is down

In dfcce2d, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 90ac220 after 15 minutes.


text:
🛑 POH events bot from render hosting is down

In d5ce2bc, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in 68c1941 after 12 minutes.


text:
🛑 POH events bot from render hosting is down

In 67b0a88, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in f8c4d97 after 8 minutes.


text:
🛑 POH events bot from render hosting is down

In 0c2ecdf, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in e758e9d.


text:
Setup basic FLASK back-end

Add a basic backend skeletal flask backend, upon which the entire backend will be built upon.

I would like to address this issue

hello @Shashvat6264 , I'm really sorry for the delayed response. So you can go ahead with the issue and send the PR. I assigned the issue to you. After your done, you can just go on and take up another issue or open your own issue which feels necessary. Just don't forget to assign the issue to yourself so that you may start working on them. If u need any help just ping in the comm. channel. Thanks for taking up this issue.

repo: mask-tech/kaneki


text:
Implement Sign SC FE No Description

Added CallSC component here, what ever that is in Sign.tsx will become a component… just going step by step and keeping conflicts to a minimum :)

Codecov Report
Patch and project coverage have no change.

Comparison is base (8090508) 42.62% compared to head (04678dd) 42.62%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #630   +/-   ##
=======================================
  Coverage   42.62%   42.62%
=======================================
  Files          19       19
  Lines        1295     1295
=======================================
  Hits          552      552
  Misses        683      683
  Partials       60       60

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

authors: codecov-commenter pivilartisant

repo: massalabs/station-massa-wallet


text:
Add more documentation, including examples

Hello!
The documentation at the moment is very sparse so it's hard to know what the different parsing and formatting functions do. It would be fab if there was more documentation, including examples and explanations of the different formats.
Thanks,
Louis

Thanks for the issue.
I think the new version addresses this adequately.

authors: lpil massivefermion

repo: massivefermion/birl


text:
🛑 RESTREAM-IR-11-ZirSakht-2 is down

In 1540114, RESTREAM-IR-11-ZirSakht-2 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-11-ZirSakht-2 is back up in ee46380.


text:
🛑 RESTREAM-IR-14-Afranet-4 is down

In 20b53a2, RESTREAM-IR-14-Afranet-4 ($IR_14) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-14-Afranet-4 is back up in a1e5e27.


text:
🛑 RESTREAM-IR-12-ZirSakht-3 is down

In c4d8717, RESTREAM-IR-12-ZirSakht-3 ($IR_12) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-12-ZirSakht-3 is back up in dd13333.


text:
🛑 RESTREAM-IR-11-ZirSakht-2 is down

In 3263270, RESTREAM-IR-11-ZirSakht-2 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-11-ZirSakht-2 is back up in 9848218.


text:
🛑 Iran 7 - ParsOnline 2 is down

In c542ee0, Iran 7 - ParsOnline 2 ($IR_7) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 7 - ParsOnline 2 is back up in ba3ea15.


text:
Getting the following error - Attempted to transition from state RESPONDER_INACTIVE_PRESS_IN to RESPONDER_ACTIVE_LONG_PRESS_IN, which is not supported. This is most likely due to Touchable.longPressDelayTimeout not being cancelled.

I'm getting the following error
Attempted to transition from state RESPONDER_INACTIVE_PRESS_INtoRESPONDER_ACTIVE_LONG_PRESS_IN, which is not supported. This is most likely due to Touchable.longPressDelayTimeout not being cancelled.
I'm on the latest version

How do you reproduce this?

I am also getting same above error message on tapping the Fab.

I also got the same

It seems that this is a React Native problem rather than a react-native-action-button problem, and apparently it's related to debugging with chrome, otherwise it doesn't occur, according to this RN issue: https://github.com/facebook/react-native/issues/1693

Yes, after disable debugging it is working fine. It is a react native issue.

authors: AlmogRnD BeauCarrel ashokkumar88 mastermoo xingsuo

repo: mastermoo/react-native-action-button


text:
logging thread safety

Hi there. Thank you for providing turtle mock!
I ran into an issue when I used a mock class in worker threads. Using MOCK_THREAD_SAFE solved the first part but there were race conditions. Turns out that the problem is not in turtle itself but in the lack of thread safety of the boost logging framework: Mock expectations were logged concurrently with BOOST_CHECK output for example.
My workaround is to reduce log level to error but I'm interested if there is a workable solution which solves this problem.
I used turtle mock master (d7b1ad08008e57b6f25c587aa9eef2e750d66e33) and boost 1.64 with gcc 6.2 x64 and MSVC 19.0.24210.0 x64.

Hi,
Are you seeing races in logs originating from turtle?
MOCK_THREAD_SAFE is also supposed to add locks for these calls, are you seeing a bug there?
However I'm afraid there is little that can be done for manual logs (or BOOST_CHECK*° as you mention) made from the test code outside of turtle…

Hey. I don't see a bug in turtle itself. The race I witnessed was between an automatic mock expectation log and a log from BOOST_CHECK macro in my test suite code.
I was afraid this was not solvable by changing turtle mock but I wanted to be sure. In this case, maybe it's woth a not in the manual. Also, could it be an option to being able to disable logging only inside turtle?

For altering the logging behavior the recommended way is to provide a custom mock policy as described in Test framework integration. This way you have full control over what and how you log.
Just use turtle/error.hpp as a starting point and it should cover your use case, I believe ?

Yes, using my own policy did the trick to decouple logging, thank you!


text:
Could not parse host

I can't seem to get the scout:import to work on Homestead.  I keep running into couldn't resolve host.  I've tried it on an existing and fresh project.  What am I missing?
SCOUT_DRIVER=Matchish\ScoutElasticSearch\Engines\ElasticSearchEngine

ELASTICSEARCH_HOST=localhost:9200

Importing [App\User]

   Elasticsearch\Common\Exceptions\RuntimeException  : Could not parse host:

  at /home/vagrant/projects/laravel/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php:644
    640|             } elseif (is_array($host)) {
    641|                 $host = $this->normalizeExtendedHost($host);
    642|             } else {
    643|                 $this->logger->error("Could not parse host: ".print_r($host, true));
  > 644|                 throw new RuntimeException("Could not parse host: ".print_r($host, true));
    645|             }
    646|
    647|             $connections[] = $this->connectionFactory->create($host);
    648|         }

  Exception trace:

  1   Elasticsearch\ClientBuilder::buildConnectionsFromHosts()
      /home/vagrant/projects/laravel/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php:586

  2   Elasticsearch\ClientBuilder::buildTransport()
      /home/vagrant/projects/laravel/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php:542

  Please use the argument -v to see more details.

I created config/elasticsearch.php
<?php

return [
    'host' => env('ELASTICSEARCH_HOST', 'localhost:9200'),
];

repo: matchish/laravel-scout-elasticsearch


text:
El tab de crear en la página Grupos solo debe aparecer si el user tiene permiso de escritura

Como mismo en el resto de páginas se debe usar router.user_can_write. En este caso que son tabs, pueden establecer la lista de tabs (y el código que muestra cada tab) en base a estos permisos.

Hice un pull request con la solución de este

repo: matcom/dashboard


text:
feat(list): make list keyboard navigation internal handlers static

This is a small modification of 30937acd18cba9376ea2745b6dfc4099ddbaeae3.
It allows to re-apply keyboard event handler to other components  (as it was possible before 30937acd18cba9376ea2745b6dfc4099ddbaeae3):
myKeyboardHandlerOnList(event)  {
   doStuff()
   return MdList.prototype.handleKeydown.call(this, event);
}

Hm, I don't believe this is an intended usage of the list API. For custom components, we would recommend implementing your own navigation handling rather than re-using list's internal logic.
To fully support something like this, we'd want to split off list's navigation logic into something that can intentionally be used across different components.

@asyncLiz

I don't believe this is an intended usage of the list API

Understood. It is just handy to be able to do so while there is no independent navigation logic to be used across different components.
I find the overall handler more consistent with static  (vs this.activateNextItemInternal(items, acitvateItemRecord):
switch (key) {
      // Activate the next item
      case NAVIGABLE_KEYS.ArrowDown:
        List.activateNextItemInternal(items, activeItemRecord);
        break;

      // Activate the previous item
      case NAVIGABLE_KEYS.ArrowUp:
        List.activatePreviousItemInternal(items, activeItemRecord);
        break;

      // Activate the first item
      case NAVIGABLE_KEYS.Home:
        List.activateFirstItem(items);
        break;

      // Activate the last item
      case NAVIGABLE_KEYS.End:
        List.activateLastItem(items);
        break;

      default:
        break;
    }

I'll write an independent navigation logic if the PR is not merged, no worries.

Honestly I've been meaning to move these functions outside of List and into their own module. Personally just not a fan of static methods.
A bit more about the reasoning behind why it's structured like this: I did not want to query the DOM every time to make a modification to the model (e.g. getNextItem followed by activateFirstItem). This approach allows us to chain multiple actions without doing a DOM query between each action.
I think moving them out of List will make the code cleaner and focused and allow you to use those functions, though I would like to emphasize that we do not support users consuming any files within <component>/lib/ directories as those are internal to our project, and any breakages caused by changes to those files will not be supported.

@e111077 - thanks a lot,  makes a lot of sense

we do not support users consuming any files within /lib/ directories as those are internal to our project, and any breakages caused by changes to those files will not be supported.

Fully aware of this - we have our own tests against files we consume like that.

Closing for now. I think it's worth investigating shared patterns, but not with component internals atm (#useatyourownrisk)

authors: asyncLiz christophe-g e111077

repo: material-components/material-web


text:
Latest Material Theme Builder update for Figma broke the plugin

Hello,
As some people reported on the Official Page on Figma the plugin is broken after the last update. I'm not being able to use it, swapping light/dark for example, does not work properly, and also the UI looks really weird.
Just wanted to open an issue to let you know. Please help the community with this because, in its current state, the plugin is not usable anymore.
For any additional information that could help investigate this just let me know.
Thank you.

Hi, thank you filing the issue!
The latest update was needed to fix some long standing bugs like correcting colors from being overwritten when opening the plugin along with addressing performance. This meant updating some token syntax along the way.
That said, light/dark swap should work still even with previous themes (unless it's a very old theme). It may take a second or two to actually swap them.
You may have to generate a new theme to get key colors to register and show up, without doing so will register as No Core Colors Found.
Do you mind providing any screenshots? We will be doing some follow updates to address UI bugs along with troubleshooting notes.

@margeeta Sure. It seems that something is broken with the tokens. I also tried with a brand new project. It just doesn't change the colours for components from a library (like Material Design Kit). Components like Buttons, Navbars, Chips, etc.

It's really sad because I cannot design anymore like this :(

We will be making a design kit update to align tokens. I did have success swapping components though, but it did take a couple tries with Swap.

@margeeta Thanks for addressing this. If I can help somehow just let me know.
Also, more people are commenting on Figma Page that they have issues with the plugin: https://www.figma.com/community/plugin/1034969338659738588/Material-Theme-Builder

@margeeta any update on this?

Design kit to be updated this week to reflect latest color updates!

authors: LPirro margeeta


text:
After upgrading sublime3 to the rencent version ,it's just not working

Sorry to bother
The newest one is 3.1.1(Build 3176) 14 May 2018.No error comes out, after "Alt+M" just plain.
Try to reinstall,but can not install anymore.

same issue for me. issue might be the same as #58 and #57. a workaround is provided in issue #57.

This may or may not be related, but I'm unable to install MLP with build 3176. The status bar shows that the package begins installing like any other package, but then it just stops and goes back to showing the insertion point position. If I go back to build 3170, the plugin installs just fine and works perfectly.

same issue，not work in build 3176

Seems to be like #64, I should fix this soon.

authors: MadEmperorYuri math2001 nakami winstonczc wuwayne


text:
Add test to check timeline ordering semantics

Based on random conversations, we want to make sure that clients cannot accidentally miss being told about events if an earlier event (earlier in the DAG) arrives interleaved with newer events.

As requested, I'm going to quickly lay out how Synapse implements this currently.
There are two orderings Synapse uses, called "stream ordering" and "topological ordering" (which is a specific topological ordering). Once an event is persisted these orderings do not change.
There are also two types of tokens: stream tokens and topological tokens. These correspond with segmenting events based on the stream ordering and the topological ordering respectively.
The two requests that happen are:

/sync which returns events in stream ordering and includes stream tokens for the start and end of the included set of events. The events returned are the latest N events based on stream ordering in the room.
/messages which returns events in topological ordering and includes topological tokens for the start and end of the included set of events. You can specify either stream or topological tokens for the upper and lower bounds of requested events. The events returned are the latest N events based on topological ordering in the room, filtered by the tokens specified.

The question is: if we use a stream token from the start of the timeline in /sync to paginate via /messages, do we see all events?
Let's say we do a /sync and get a prev_batch stream token of s. When we do /messages this will return the set of events ordered by topological ordering less than s, greatest first. i.e. there is a topological token t (corresponding to the first event /messages returns) for which any event before t will be returned by /messages (except maybe if the event is after s).
Given an arbitrary event E in the room, what cases are there and will it turn up in subsequent /sync or /messages?

If E is after s then it will come down /sync, and we're done.
If E is before t then it will come down /messages and we're done.
By construction of t there cannot be an event that is after t but before s, as t is defined to be a token that returns all events before s. i.e., E must be in one of the two cases above.

This is true for the case where we receive E and then do the the pagination. What about the case where we have already started paginating from a previous /sync request? For non-backfilled events then E must by definition of stream ordering happen after s, and so come down /sync if there are no gaps. For the gappy sync case the client will have to paginate, but then the same rationale as above applies.

authors: erikjohnston kegsay

repo: matrix-org/complement


text:
Consider splitting MSCs and spec into separate github repositories

Combining MSCs and finalised spec docs into a single repo brings several problems:

Pull requests have a very different lifecycle. It is hard to keep on top of non-MSC PRs, which generally get merged much quicker than MSC PRs. (It is possible to use labels to do some filtering, but I still think it means that spec PRs tend to get forgotten)
Having 291 open PRs is, rightly or wrongly, seen as a terrible smell for a project of this size. At least we could compartmentalise it into a single "proposals" repository.
I generally think it's a bit confusing for new contributors.
As a spec author, it's often necessary to have two checkouts for matrix-doc: one for MSCs and one for spec writing: the tooling conflicts with MSC branches.

I think my strategy to fix it would be:

close as many non-MSC matrix-doc PRs as possible (https://github.com/matrix-org/matrix-doc/pulls?q=is%3Aopen+is%3Apr+-label%3Aproposal)
create a new copy of the repo at matrix-org/matrix-spec
rename matrix-doc to matrix-spec-proposals (thus retaining HTTP links to existing MSCs)
remove the irrelevant bits from each repo
recreate any remaining non-MSC matrix-doc PRs against matrix-spec
transfer all of the issues to matrix-spec. Process for this involves https://github.com/github/hub:# get a list of issues
hub issue -f '%I%n' > issues.txt
# transfer them all
while read issue; do
    hub issue transfer $issue `matrix-org/matrix-spec`
done < issues.txt

close as many non-MSC matrix-doc PRs as possible (https://github.com/matrix-org/matrix-doc/pulls?q=is%3Aopen+is%3Apr+-label%3Aproposal)

there's only a handful of these, so it might be quite a good time to do this.

I'm going to begin this now.

This is now largely done, and https://github.com/matrix-org/matrix-spec-proposals and https://github.com/matrix-org/matrix-spec exist.
I've got a script which is going through and transferring the issues to https://github.com/matrix-org/matrix-spec, however the github API seems to be somewhat rate-limited, so it may be a matter of days rather than hours before it completes.
Other follow-up tasks:

update links to the old repository; most of them will now want to point to https://github.com/matrix-org/matrix-spec rather than be 302ed to  https://github.com/matrix-org/matrix-spec-proposals.
Update documentation for creating proposals - make sure it points to https://github.com/matrix-org/matrix-spec-proposals
Give https://github.com/matrix-org/matrix-spec-proposals a README
Check that the autodeploy webhook for the spec works correctly
Figure out if there are any other webhooks which need transferring to the new repo

to add:

Convert old issue-based MSCs to PRs
Copy comments from old split MSCs to the PR counterpart (there are a handful of MSCs which used a process where the MSC number was the issue number and the PR would be referenced by that issue - the MSC was the issue, not the PR. We should renumber these to make the MSC the PR instead)
Turn off issue creation for the proposals repo (use PRs for everything)

repo: matrix-org/matrix-doc


text:
Document guest_access in /createRoom presets; Make presets a table

Previously the presets ended up being rendered as one long string (the indentation was not respected). This was hard to read and wasn't very clear.
Now that there's a larger amount of information, it makes some sense to put it into a table. Tables don't work nicely when nested in another table, so the preset definitions have been moved into the general route description.
This commit also updates the documentation to reference preset, not presets given the param is singular.
Fixes https://github.com/matrix-org/matrix-doc/issues/881

Rendered: https://pr1379.matrix-spec.t2host.io/client_server/unstable.html#post-matrix-client-r0-createroom
This PR documents existing behaviour and does not attempt to improve or change the situation.
Reference: https://github.com/matrix-org/synapse/blob/752b7b32ed1c33651c0c64fbbb4289c3b62ac89b/synapse/handlers/room.py#L43-L62

@KitsuneRal and @mujx - would be nice to get your review on this one :)
And yes, I realize that the Other column doesn't extend all the way - the renderer doesn't care and it would suck to have to adjust that every time there's an edit in the column.

Isn't it a little counter-intuitive that in a private chat guests are allowed but not in the public preset?

@mujx that would unfortunately have to go through the proposal process. This PR is on the critical path of documenting existing behaviour.

@turt2live Oh sorry, I missed that part on the description.

No worries. Thanks for taking a look!

(I've filed your suggestion for improving the presets as https://github.com/matrix-org/matrix-doc/issues/1415)


text:
MSC1731: Mechanism for redirecting to an alternative server during SSO login

Rendered
Full disclosure for this MSC: the reason for me proposing it is that I have a project which requires users to log in via SAML to a portal server; based on the results of the SAML authentication, the user should automatically be logged into one of several homeservers.

The generality of MSC1730 is a lot more appealing to me. It gives servers a way to redirect clients to other servers without complicating the login flow for the user (as SSO is some amount more complex for the user than logging in via other methods). Not to mention MSC1730 is a lot easier to implement for clients than supporting SSO auth (assuming they didn't go the route of fallback).

(I've updated the description of this MSC to give the reasons for proposing it)

The generality of MSC1730 is a lot more appealing to me. It gives servers a way to redirect clients to other servers without complicating the login flow for the user (as SSO is some amount more complex for the user than logging in via other methods). Not to mention MSC1730 is a lot easier to implement for clients than supporting SSO auth (assuming they didn't go the route of fallback).

I am strongly inclined to agree with you. For my current project, this MSC has appeal since it is a trivial enhancement to what is there already, but in the general case of usefulness to the matrix ecosystem, MSC1730 seems more powerful, and makes this one redundant.

@mscbot fcp cancel

@mscbot fcp close

since #1730 has now completed its MSC, and nobody objected to this being closed, I'm assuming that people are happy with that.


text:
chore(auth-server): fix display of domain on session connection view

Description
Fix display of domain on the session connect page in Auth Server

Also are pnpm lock file changes expected?

Also are pnpm lock file changes expected?

I ran a pnpm install at some point to resolve some local issues, which is why the pnpm.lock is there.

repo: matter-labs/zksync-sso


text:
Update formatting-text.rst

Added numbered list restart to the ordered list section.
Changed '.. code::' to '.. code-block:: none' to prevent Sphinx from using Python syntax highlighting.
Updated section title underlines iaw style guide.

+1

authors: JeffSchering lfbrock

repo: mattermost/docs


text:
An obsession

Why dont develop a native android client app for mattermost-mobile，i have checked this "android", and it just a webview inside the project.

Hi @af913337456 - this is the repo for our new native mobile apps, which are built with React Native, so we are working on that.
The apps are in beta right now if you want to try them out, and will be released in Google Play in July.

thanks to reply，i know you are going go build an React Native App，but i hope you guys to build it with Java.

repo: mattermost/mattermost-mobile


text:
Fixes crashes and errors in iOS Share Extension and Notification Service

Summary
For the Share extension we added a small cache to retrieve the session token and also reduce the amount of calls to retrieve it. At the same time, if we fail to retrieve the token we now display an error screen in the Extension asking the user to Retry.
Also, clean some code and addressed all the related sentry reports about the share extension and notification service.
Ticket Link
https://mattermost.atlassian.net/browse/MM-50004
Release Note
Fixed some potential crashes in the iOS Share Extension and Notification Service

Building app in separate branch.

@esethna as you were able to reproduce the issue with the share extension it would be good for you to take it for a spin an report back. I've already triggered the build of the PR.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/27703
https://circleci.com/gh/mattermost/mattermost-mobile/27702

Android builds seems to be broken in main cause of an issue with calls. I'm going to look into it

/update-branch

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/27746
https://circleci.com/gh/mattermost/mattermost-mobile/27745

Artifact links:
https://output.circle-artifacts.com/output/job/ea966901-858e-48a6-914e-edbf68b0890c/artifacts/0/tmp/artifacts/Mattermost_Beta.ipa
https://output.circle-artifacts.com/output/job/665a654b-f934-4bb1-8be3-cfb75b2e2702/artifacts/0/tmp/artifacts/Mattermost_Beta.apk

Cherry pick is scheduled.

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Failed to add the RSA host key for IP address '140.82.112.3' to the list of known hosts (/app/.ssh/known_hosts).
From github.com:mattermost/mattermost-mobile
   a535728d5..ca1463148  main        -> upstream/main
   0a1c1a8bf..ec99c8bc0  release-2.0 -> upstream/release-2.0
   055c9109e..511525c9e  release-2.1 -> upstream/release-2.1
Fetching origin
Failed to add the RSA host key for IP address '140.82.113.3' to the list of known hosts (/app/.ssh/known_hosts).
+++ Updating remotes done...
!!! 'upstream/release-2' not found. The second argument should be something like upstream/release-0.21.
    (In particular, it needs to be a valid, existing remote branch that I can 'git checkout'.)

+++ Returning you to the master branch and cleaning up.

/cherry-pick release-2.0

Cherry pick is scheduled.

/cherry-pick release-2.1

Cherry pick is scheduled.

authors: enahum mattermost-build


text:
[MM-13174] Consider the result of getNeededCustomEmojis as non-existent emojis if post_metadata is enabled

Summary
Consider the result of getNeededCustomEmojis as non-existent emojis if post_metadata is enabled
Ticket Link
Jira ticket: MM-13174

added emoji action type of LOAD_NONEXISTENT_EMOJIS
added emoji reducer to directly load non-existent emojis

Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit tests passed
[x] Ran make flow to ensure type checking passed
[x] Added or updated unit tests (required for all new features)

Test Information
This PR was tested on: [Chrome/FF, iOS emulator]

We'd also want to skip the requests to the server for unknown emojis right? Which would still require some changes here. As for just ignoring nonExistentEmoji when post metadata is available and adding it to the client config, I'm OK with that.

I agree. I think if totally ignore nonExistentEmoji for enabled post metadata, then we'll effectively skip the network request for those unknown emoji.  There might be no change needed here, but I'll check.
Will submit PR to server and webapp (and redux if needed).

Hopefully it's just the server and web app for that one

authors: hmhealey jwilander saturninoabril

repo: mattermost/mattermost-redux


text:
People: Initial product container and feature flag support

Summary

Adds a placeholder for a new People product/vertical.

New: People product page
New: People product menu item

Adds profile links in ProfilePopover and StatusDropdown

All is behind the feature flag: MM_FEATUREFLAG_PEOPLEPRODUCT
Ticket Link

None

Related Pull Requests

https://github.com/mattermost/mattermost-server/pull/21042
https://github.com/mattermost/desktop/pull/2259

FYI: this likely a few conflicts with https://github.com/mattermost/mattermost-webapp/pull/11019 around products/productId handling.
Screenshots

Release Note

NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

authors: calebroseland mattermod

repo: mattermost/mattermost-webapp


text:
Replace direct usage of browserHistory with getHistory/useHistory

The desktop app is going to need to override the browser history object in the future, and, to make that easier, I thought it'd be a good idea to put it behind a getter function so that we can more easily change where it comes from. In general, we're going to want to follow a similar pattern for singletons that the desktop app needs to override.
At the same time, I also realized that there's a useHistory hook from react-router that just gives us the history object, so React components shouldn't need to import utils/browser_history directly anyway. I'd like to figure out a way to do that for outside the React scope, but that's a future thing.
Related Pull Requests
https://github.com/mattermost/mattermost-webapp/pull/11383
Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-tests

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/253500

/e2e-tests

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/254770

authors: hmhealey mattermod


text:
Remove flux stores from RHS threads

Summary
Remove flux stores from RHS threads and move some state pulling lower into components that actually need the state.
@lindy65, could you regression test RHS threads? Mainly around statuses, compact display and profile pictures
Ticket Link
Part of https://mattermost.atlassian.net/browse/MM-12840
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0300413c167cd6df9.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0300413c167cd6df9

Thanks @jwilander
Tested RHS threads for profile pics and statuses in both standard and compact views.  Apart from this bug I did not find any issues.

@sudheerDev mind taking a look? This is the last PR before I can start removing the actual stores

Spinmint test server destroyed

@jwilander Done. you can merge it when build passes

authors: jwilander lindy65 mattermod sudheerDev


text:
Unable to cancel Reservation post reboot

Hello, I sent reservation command from CMS and charger went to charging state, post I reboot the system still auto charger going to charging state post connected to CMS. I tried cancel reservation but falling, When I checked the reason, In ReservationService::getReservationById, reservation.isActive() is false. I am sharing important logs.
[15:32:47.379]  [ 3294] [ 1003] [                ] [      ] [ ] QOPN/D : MOCPP:loadJson 75: Loaded JSON file: /reservations.jsn
[15:32:47.379]  [ 3298] [ 1004] [                ] [      ] [ ] QOPN/D : MOCPP:loadJson 81: doc: {"head":{"content-type":"ocpp_config_file","version":"2.0"},"configurations":[{"type":"int","key":"cid_0","value":0},{"type":"string","key":"expdt_0","value":"2023-11-09T07:55:00.000Z"},{"type":"string","key":"idt_0","value":"123_test"},{"type":"int","key":"rsvid_0","value":23222},{"type":"string","key":"pidt_0","value":"123"}]}
[15:32:47.379]  [ 3299] [ 1005] [                ] [      ] [ ] QFIL/I : 60029A44 344 close fd 1027
[15:32:47.379]  [ 3304] [ 1006] [                ] [      ] [ ] QOPN/D : MOCPP:operator= 97: add config: key = cid_0, value = 0
[15:32:47.379]  [ 3305] [ 1007] [                ] [      ] [ ] QOPN/D : MOCPP:operator= 227: add config: key = expdt_0, value = 2023-11-09T07:55:00.000Z
[15:32:47.379]  [ 3306] [ 1008] [                ] [      ] [ ] QOPN/D : MOCPP:operator= 227: add config: key = idt_0, value = 123_test
[15:32:47.379]  [ 3307] [ 1009] [                ] [      ] [ ] QOPN/D : MOCPP:operator= 97: add config: key = rsvid_0, value = 23222
[15:32:47.379]  [ 3307] [ 1010] [                ] [      ] [ ] QOPN/D : MOCPP:operator= 227: add config: key = pidt_0, value = 123

trac_logs.txt

The WebSocket driver looks great, good job!
In the logs I can see that the Reservation is already expired at this point. You already found the interesting data structure. It stores the data of the ReserveNow request on flash. The fields are an abbreviation of the ReserveNow parameters and an internal slot number <num>:

cid_<num>: connectorId
expdt_<num>: expiryDate In your case, the expiry date is before the currentTime in BootNotification.conf so the Reservation has expired. Although this Reservation record remains in the memory, the OCPP lib will ignore it and make the charger Available again
idt_<num>: idTag
rsvid_<num>: reservationId
pidt_<num>: parentIdTag

The internal slot number does not relate to the connectorId but is just an index. A charger with one physical connector can store at most one Reservation so <num> is always 0. If the charger has two connectors, then the OCPP lib can store two Reservations so you will find the same fields where <num> is 1.
CancelReservation is rejected because the Reservation is invalid at this point.

Issue is that connector 1 state is going to charging which is not correct post restart, please check the logs at below in shared logs. Techinally it shouldn't as time is already experied but Post I restart, its going to charging state.
[16:48:46.762]  [43981] [21774] [                ] [      ] [ ] QOPN/I : MOCPP:StatusNotification 49: New status: Available (connectorId 0)
[16:48:46.762]  [43987] [21775] [                ] [      ] [ ] QOPN/D : MOCPP:loop 375: Status changed
[16:48:46.762]  [43988] [21776] [                ] [      ] [ ] QOPN/I : MOCPP:StatusNotification 49: New status: Charging (connectorId 1)
[16:48:47.758]  [60367] [21872] [                ] [      ] [ ] QOPN/I : websocket_cpp:sendTXT 148: [2,"1000004","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Charging","timestamp":"2023-11-09T11:18:47.355Z"}]

Additionally few more points expect the above noticed issue.

I wanted to charger to auto start charging based on the communication with vehicle. I think below sample code will work, let me know if I am missing anything.

I am looking for a callback whenever charger status changes from CMS side this callback will update the hardware based on the CMS command: charging/stop charging. I tried belwo method to get callback but not working. may be its not the right way.

I think status to charger status shouldn’t just update to charging or available based on the request received by the CMS. There should be a callback from MOCPP which basically ask for the current actual status of the connector and update the same. Any suggestion on modifying  code for this?

The transaction status is persistent over reboots. When the controller starts a transaction and gets reset, then the transaction is still active after the controller has booted. To suppress this behavior, place an endTransaction(...) call somewhere after mocpp_initialize(...):
//end a potentially pending tx. If there's no tx, nothing happens. If there is a tx, then it sends a StopTransaction
endTransaction(nullptr, "PowerLoss");

To answer the other questions, the callback ConnectionPluggedInput is intended to be the same over the runtime of the OCPP lib and query something in your firmware which might change. E.g.
//example part of your firmware which reads the J1772 status (i.e. 'A', 'B', ...) at any time
char getJ1772Status() {
    char status;
    //... something reads the status here
    return status;
}

//setup function of MicroOcpp
void setup() {
    //... mocpp_initialize(...)

    setConnectorPluggedInput([] () {
        if (getJ1772Status() == 'B' || getJ1772Status() == 'C') {
            return true;
        } else {
            return false;
        }
    }
}

For testing it's okay to overwrite the callback like you do, but it's not exactly a best practice.
The beginTransaction(...) call is also good. Its counterpart is endTransaction(...). If you used startTransaction(...) instead, then it would be stopTransaction(...). But the begin- and end-functions are a lot more feature-rich, e.g. they provide offline handling, Reservation and Local Authorization support and keep the synchronocity with the OCPP server over reboots.
Incoming RemoteStartTransaction requests don't need to be handled separately. The function ocppPermitsCharge() tells you whether there's a valid transaction at the moment and the charging hardware can start the actual charging. Also use ocppPermitsCharge() to check if a locally initated transaction finally succeeded.

Sure I will try for endTransaction(nullptr, "PowerLoss"). I am busy in Indian festival time so could test. I will update you tomorrow on this.
Also I want to edit the MicroOcpp code for my 3rd query "I think status to charger status shouldn’t just update to charging or available based on the request received by the CMS. There should be a callback from MOCPP which basically ask for the current actual status of the connector and update the same". Basically CMS can request to change the status of charger from available to charging but current status packet charger packet to CMS should be asked from the application code which is basically actual real status. Please suggest which functions should I check.  PS: I am kind of beginner in C++, mostly use C but still try best to do it.

@matth-x I tried with endTransaction(nullptr, "PowerLoss") and observed below:

First I sent the reservation now from the CMS and CP changed status to Reserved, which seems correct.

Next, I reboot the CP and now status of CP changed to Available. I should be Reserved as that was the last status. This seems odd to me. Also why triggering stop transition from CP, still time didn't expired. is this due endTransaction ? doesn't seem like right behavior's to me.

Please ignore My last msg. Also regarding my 3rd query, I am thinking to update below highlighted code in  Connector::loop(). In place of getStatus(), I am planing to add fucntion getHardwareStatus which will return current hardware actual status. Please let mw know if this can cause any issue.

authors: chandan-ultraviolette matth-x

repo: matth-x/MicroOcpp


text:
Computing sequence likelihood

I am working on device failure detection using logs and trying to use HSMM for the same (https://github.com/mattjj/pyhsmm ). I have trained HSMM models one with failure sequences and another with non-failure sequences. Now with the saved models I am trying to test a new set of observations to get the sequence liklihood for it being a a failure or normal sequence.
For the above I am using predict():pyhsmm/models.py. The output of predict is a shown below. I wanted to know how to compute the sequence liklihood of the test observations ? Can you please help me interpret the values below .
[ 1.09126953,  0.22327257,  0.20143636,  0.04108898,  0.03599046,... and array([1, 1, 1, 1] ?
(array([[...... Test data as part of the test observations .......],         [ 1.09126953,  0.22327257,  0.20143636,  0.04108898,  0.03599046,          -0.0550454 , -0.07768027,  0.12503039, -0.06587717, -0.01986415,           0.06915982,  0.04355503,  0.00769478,  0.16021187, -0.0279765 ,          -0.0373802 ,  0.18039266, -0.09677505, -0.15166285,  0.2287205 ,          -0.03028628,  0.10230527, -0.06530587,  0.72394045,  0.03041114,           0.16389177, -0.04364231,  0.15056836, -0.03810938, -0.03452764,          -0.12516243,  0.01363949,  0.35267065, -0.09778672,  0.0882772 ,           0.03994774, -0.00908577,  0.06151574,  0.0368631 , -0.01967793,          -0.09689663,  0.01046816, -0.0914735 ,  0.01364949,  5.19169793]]), array([1, 1, 1, 1], dtype=int32))

Use model.log_likelihood(sequence) to get the log-likelihood of a sequence, given the learned parameters.

repo: mattjj/pyhsmm


text:
add updateMax method

There were a problem when updating the Max value for the gauge, the function updateMax()  which call the setMaxValue() function in gauge-svg was missed.

Sadly, this will not fix the issue, because gauge-svg method for updating max value doesn't update gauge itself. I have created pull request to fix that (https://github.com/naikus/svg-gauge/pull/61). Afterwards, i will create also pull request to fix it here (along with tests)

authors: bokisha mboukhalfa


text:
Underscore in filename

I tried my first batch of 500 photos.
I noticed 3 of them had the wrong timestamp (today).
Investigating further, I see something different about those pictures:

Notice the underscore at the end of the filename? The json doesn't have it.
Google's fault for sure, but maybe we can do something about it?

I have similar problem in my export, but this time the filename has extra _n in it but json doesn't.

Another weird case. Seems that some files end with dash -.

authors: NathanHazout ondrejsevcik


text:
Cannot get detections on VLP 16 lidar data

I tried using the pre-trained model on data from VLP 16 Lidar but couldn't get any detections. Will it work if I change the kitti config file or how the BEV map is formed. Please help. Thank you

Point clouds collected from 16-channel LiDARs are quite sparse, so you need to retrain the model to get better accuracy.


text:
Is there plans to support cordova-android 6.3.0+?

Great library really enjoy it! This is just a simple question, I hope it was alright to write it here. Are there any future plans to support cordova-android 6.3.0+? Support for new 7.0.0 would be awesome.
Thanks, keep up the good work!

Yes. Didn't test it myself, but Maybe it's already working on 7.0.0.

@mauron85 Thanks for the fast answer, great will definitely keep an eye out for it.


text:
Extension causes high cpu load

Issue Type: Performance
Extension Name: terraform
Extension Version: 1.3.9
OS Version: Linux x64 5.0.6-200.fc29.x86_64
VSCode version: 1.33.1

:warning: Make sure to attach this file from your home-directory:
:warning:/home/agpenton/mauve.terraform-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Missing cpuprofile.txt file, closing bug report.
Thanks for using my plugin and I am sorry that it doesn't work as expected for you without the profile data I cannot debug further.

authors: agpenton mauve

repo: mauve/vscode-terraform


text:
Linting failed

When I try to lint I get Linting failed, more informations in the output tab.
In the output tab is only tarreform.lint: Failed:
I try to set "terraform.lintpath": "/usr/local/bin/tflint" but same failure.
In Terminal tflint works.
TFLint version 0.5.4
Terraform Extension: 1.0.6

can you post your the terraform part of your settings?

Are your tf-files in a directory called 'templates' relative to workspace root?
The linter is called with 'terraform.templateDirectory' as the directory.

On 12. May 2018, at 12:23, hniemann notifications@github.com wrote:
terraform.templateDirectory": "templates

No... but when I try to set the path like this I get the same error
/test/projects <- workspace
/test/projects/project1 <- set as templateDirectory  "terraform.templateDirectory": "project1",

I just reread the source :D and it turns out that terraform.templateDirectory is ignored when calling tflint. However I just published 1.0.7 which fixes a minor bug that did render an empty string instead of the error message.

Now I get the error terraform.lint: Failed: Error: spawn tflint ENOENT

The path to tflint is wrong. Remember that the settings key names are case sensitive.

On 13. May 2018, at 11:00, hniemann notifications@github.com wrote:
Now I get the error terraform.lint: Failed: Error: spawn tflint ENOENT
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Think I have figured it out. I will try tonight.

On 13. May 2018, at 11:00, hniemann notifications@github.com wrote:
Now I get the error terraform.lint: Failed: Error: spawn tflint ENOENT
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

fixed in 1.0.8, please reopen if not fixed; thanks for the bugreport

authors: hniemann mauve


text:
Add brew install for lib

It would be nice to be able to this on macOS:
brew install mavsdk

I am looking to solve this! Should we add the future homebrew formula to homebrew-core or should we make and maintain our own tap? I prefer the first alternative after reading this.

I prefer the first alternative after reading this.

Same for me :+1:. Let us know how it goes!
@unipheas: FYI

A good rule of thumb is: is your software included in another package manager like Debian? If so, we’ll also package it, if not please consider creating your own tap. Thanks!

I think for now maintaining our own tap is ideal. Maybe we can take a vote on this in slack or something? That said, I'd like to believe MAVSDK is really popular and essential to the community 😁

I think for now maintaining our own tap is ideal.

What's the advantage of that? I was naively thinking that adding the formula to homebrew-core would mean less maintenance on our side :laughing:.

I was naively thinking that adding the formula to homebrew-core would mean less maintenance on our side 😆.

That's actually a good point. It won't hurt to try to get it on core. Worst that happens is they deny it.

Progress
I just created a formula that I tested and used to install mavsdk on my machine. A few things:

I named the formula "mavsdk", but "mavsdk-core" could make sense
Installation takes quite a bit longer than most homebrew packages ("built in 20 minutes 20 seconds")
I had to fork the sdk and create my own release bc the source code under the releases here don't include submodules

here's the tap/formula: https://github.com/daniel-bryant/homebrew-mavsdk
here's my forked release: https://github.com/daniel-bryant/MAVSDK/releases/tag/v0.20.0
Next steps
More developers should test the formula. You need to not have mavsdk currently installed system-wide. We should update the documentation to use this tap (or another) first so that the general public starts using it as well. Once it's been proven stable, we can make the PR for homebrew core.

@daniel-bryant nice!

I named the formula "mavsdk", but "mavsdk-core" could make sense

What about mavsdk-cpp?

Installation takes quite a bit longer than most homebrew packages ("built in 20 minutes 20 seconds")

The thing here is to provide the bottle (precompiled package), I think we would want to create these automatically in CI and upload them to s3.

I had to fork the sdk and create my own release bc the source code under the releases here don't include submodules

Interesting, how did you make sure that the zip "contains" the submodules?

What about mavsdk-cpp?

Does brew install libraries other than C++? And why wouldn't brew install mavsdk install mavsdk_server, as well?
In other languages, we call that it "mavsdk" (e.g. pip install mavsdk). Swift is an exception, but I believe we should rename MAVSDK_Swift in MAVSDK.

The thing here is to provide the bottle (precompiled package), I think we would want to create these automatically in CI and upload them to s3.

Or can we release an artifact on github? I think people have issues accessing s3 in China.

@daniel-bryant If you wouldn't mind sending me a message in the slack group I can work with you and get this tested from China.

In other languages, we call that it "mavsdk" (e.g. pip install mavsdk). Swift is an exception, but I believe we should rename MAVSDK_Swift in MAVSDK.

Agreed

And why wouldn't brew install mavsdk install mavsdk_server, as well?

@JonasVautherin you're right. mavsdk is fine. And including mavsdk_server would be awesome.

Or can we release an artifact on github? I think people have issues accessing s3 in China.

Right, that would be better.

@daniel-bryant thanks for your work. I've taken your commit and I'm now working on this tap:
https://github.com/mavlink/homebrew-mavsdk
brew tap mavlink/mavsdk
brew install --verbose mavsdk

This seems to work for now. Next step is to check everything that homebrew needs in order to make a PR to homebrew-core.

Wish me luck: https://github.com/Homebrew/homebrew-core/pull/47770

This has been working for a while now.

authors: JonasVautherin daniel-bryant julianoes krady21 unipheas

repo: mavlink/MAVSDK


text:
Feature: Use cache to scan instance faster

Description
Only scan projects, where last_activity_at is older than specified.

Added in 850803e


text:
Add build-out to static site backend

Perhaps repurpose @BRKalow/stanley for this?

not going to do static site generation anymore

repo: maxfierke/resumis


text:
Community Data

The intro text to wikidata.org hits the high-level:

Wikidata is a free knowledge base that can be read and edited by humans and machines alike. It is for data what Wikimedia Commons is for media files: it centralizes access to and management of structured data, such as interwiki references and statistical information. Wikidata contains data in every language supported by the MediaWiki software.

After some conversations with folks involved with WikiData, I can see its role on the web in a more sensitive light. There is on-going movement (formal and informal) to address the observable decline in user base (and dwindling conversions of new users to returning editors) to Wikimedia projects, especially the English Wikipedia.
However, the trajectory of Wikimedia projects is certainly on the rise--its aggregate dataset (semi-structured text and structured-ish data alike) continues to grow. There are 48,794,118 good articles and  20,054,661 images across 200 Wikimedia projects.
WikiData exemplifies another transition for the community-driven knowledge project that sprouted from the English language Wikipedia. The future of the sum of all human knowledge is human- and programmatically-accessible, community-managed, and open-licensed.
The opportunity of WikiData is a basic, but large layer for data that matters to people.
The community around Wikipedia grew out of natural inclinations and interests. As a result, the majority of editors who generate this content are not nearly as diverse a group as we should require. This produces errors of omission, limited views and perspective, and a propagation of some elements of some cultures, but not many other elements, and not many other entire cultures. For instance, there is an English-centric focus of Wikimedia work, and the gender imbalance both in coverage and editors is clearly unacceptable.
We have a chance to be mindful of the prospect of WikiData, and I think even embrace it, plan to work with it, to integrate, and make read-write relationships. We must do this, more than anything, because there are few alternatives for constructing and maintaining data that prioritize community values and common good.
Perhaps dat does not necessarily merge, even at its beginning, with WikiData, but I think the example and its principles should be some good food for thought!

Love Wikidata. We'd love to make wikidata datasets dat clone-able. If you have any insight into who might want to bottomline that task, I'd love to help..

This issue was moved to datproject/discussions#42

authors: joehand karissa msenateatplos

repo: maxogden/dat


text:
create subdirectories when non-existent path is specified

If you try to download into a non-existent path, Dat fails:
$ dat dat://link --path='/some/fake/dir'
Does not exist: /some/fake/dir

Dat should create the directories instead of failing.

Do you think it should:

Just create it
Prompt Does not exist: /some/fake/dir, would you like to create it (y/n): (or pass -y to say yes to everything like how apt-get works)

Prompting seems like the better solution, just in case someone is downloading in the wrong place (thinking a path existed but it didn't).

+1 prompting

https://www.youtube.com/watch?v=ussCHoQttyQ

authors: joehand karissa mafintosh maxogden


text:
oembed zeigt das bild nicht

Grüße, ich nochmal
Es hatte jetzt ein paar Stunden lang funktioniert, dass das Image im oEmbed bei Discord angezeigt wird, nur hab ich jetzt das Problem, dass es einfach nicht mehr dort angezeigt wird, weder bei den alten Bildern wo es funktioniert hat, noch bei den neuen. Hatte soweit ich weiß auch nichts verändert an den Metatags, hatte eben auch nochmal eine frische Installation von Moeshare gemacht und da war das selbe Problem. Hab in meiner .env nur Provider-Name und Provider-URL ausgefüllt.

Hast du ein Neustart schonmal versucht

repo: maxsrl/moeshare


text:
Beginner, unable to use

Vivus version: 0.4.6
Browser: Firefox 88 - 64-bit on Ubuntu 20.04
Steps to reproduce it:
I was expecting the following HTML + SVG files I placed on the desktop will give me an animated display when opened with a browser. The SVGs work nicely with Vivus Instant. I am trying to animate them locally.  Please see the HTML code I am using
<!doctype html>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>Vivus Test</title>

My Sample text

It would be nice know what else should be in this file for the SVG animation ( attached as zip ). Thanks
circ.zip
[note]
Please have a minimum of politeness. There's unfortunately only me as contributor/maintainor which help on my free time, I'm not the Amazon customer service or your Mom. I don't ask to send me flowers and tell me how amazing Vivus is (that won't make me help you quicker). But please try to do as much as you can before opening an issue: check that no closed issue mention a similar problem, that your script is executed correctly (conflicts, race conditions...).. Thanks :)
[/note]

Thanks for the response. I have XAMPP installed. I placed vivus-master in /opt/lampp/htdocs and then chose test/manual/index.html . It looks like the test is not successful because I do not get any animation

I moved the script tags just after the body, but with no luck
SVG looks like

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="210mm"
   height="297mm"
   viewBox="0 0 210 297"
   version="1.1"
   id="svg8"
   inkscape:version="1.0.2 (1.0.2+r75+1)"
   sodipodi:docname="circ.svg">
  <defs
     id="defs2" />
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="0.35"
     inkscape:cx="400"
     inkscape:cy="560"
     inkscape:document-units="mm"
     inkscape:current-layer="layer1"
     inkscape:document-rotation="0"
     showgrid="false"
     inkscape:window-width="1312"
     inkscape:window-height="699"
     inkscape:window-x="54"
     inkscape:window-y="30"
     inkscape:window-maximized="1" />
  <metadata
     id="metadata5">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1">
    <circle
       style="fill:none;stroke:#000000;stroke-width:0.529167"
       id="path833"
       cx="96.706818"
       cy="134.39049"
       r="34.225163" />
    <circle
       style="fill:none;stroke:#000000;stroke-width:0.529167"
       id="path835"
       cx="69.142792"
       cy="191.39706"
       r="11.093869" />
    <circle
       style="fill:none;stroke:#000000;stroke-width:0.529167"
       id="circle837"
       cx="129.48465"
       cy="191.39706"
       r="11.093869" />
    <circle
       style="fill:none;stroke:#000000;stroke-width:0.529167"
       id="path839"
       cx="98.171478"
       cy="207.77689"
       r="59.820881" />
  </g>
</svg>

HTML is
<!doctype html>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

  <link src="/custom.css" type="stylesheet"></link>

    <title>Vivus Test</title>

My Sample text

The documentation said that there should be some definition of size. So I used a custom.css with
.sais {
height: 250px;
width: 250px;
}

But I am not sure where to use it in HTML. Thanks for your time.

Any error in the web console?
Also, I see you didn't change the order of the script tags. They should be
like in the following order.

Thanks. I changed the script order and tried again. Got this in console

Uncaught ReferenceError: myCallback is not defined
 file:///opt/lampp/htdocs/vivus/anim.html:19

HTML is now

<!doctype html>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

  <link src="/custom.css" type="stylesheet"></link>

    <title>Vivus Test</title>

My Sample text

I found a workaround. Modified the index.html page in Test so that I can use my choice of SVG and animate it. Thanks.
A request. Is it possible to have something like Vivus Instant locally so that I cannot simply animate my SVGs but also export it ? If yes, would be delighted to know how :)

By having Vivus Instant locally, what do you mean? Having the code working locally on your machine so you can generate animated SVG offline? If so, clone vivus-instant (or download the zip) and open index.html in it :)

Thanks. I wanted to create animated SVGs locally. It is working fine without XAMPP or VSCode Live Server. Have a nice time. :)

authors: maxwellito meetdilip

repo: maxwellito/vivus


text:
feat(controllers): add various kubernetes controllers

This commit adds/updates following controllers:

kind: HTTP as a declarative intent to invoke http requests
kind: DirectorHTTP to invoke certain Director related http requests namely GetActiveNodes & GetProjectDetails
kind: CStorPoolAuto to operate CStorPoolAuto related artifacts namely its CRDs, StatefulSets, ServiceAccount, ClusterRole & ClusterRoleBinding
kind: DOperator to operate this repo related artifacts namely its CRDs
kind: BlockDeviceSet to create one or more BlockDevices out of the specified template
kind: CStorPoolCapacityRecommendation to provide a declarative way to specify capacity based recommendation to create CStorPoolCluster

NOTE: Future commits will include various Unit Tests and Integration Tests on above features.
Signed-off-by: AmitKumarDas amit.das@mayadata.io

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: mayadata-io/d-operators


text:
Data replication support

Hi,
I would like to know whether there is any possibility for database replication. This would be helpful in scenarios where some data needs to be shared with multiple users in per user database implementations.
Thanks,
Afnan

Hello,
Same for me !
Very important feature. (Does not need sharding just pure copy/paste replication).
I guess we could develop a middleware for this but...
Looking for an alternative library right now but with no success.
Any hint ?
Thanks.
Best Regards.
Antoine

Would it be possible to store WAL files for a set amount of time, allowing for a log-shipping approach where new WAL's will be periodically sent to, and be applied to another hot-standby instance?
This would be a killer feature as it will allow for high-availability scenario's in which stand-by instances of the application can take over with near-real-time data.
Possible implementation (borrowed from MSSQL)

Creating a FULL backup will produce a single snapshot of the current state of the DB
Creating a LOG bu creates a WAL like cummulative LOG backup with all comitted transactions which happened after MIN(last FULL, last LOG)

This way, we can periodically (say, every minute) create a LOG backup and transfer that data to another server.
In order to restore on the other server we can then:

Restore the most recent FULL backup
In order restore all LOG backups which were created after the last FULL backup

Doing this also allows for Point-in-time recovery options, since you can restore LOG's only up until a certain timestamp (of the LOG backups will contain a timestamp of course)

authors: RichardVogelij afnan-ahmad itschrono

repo: mbdavid/LiteDB


text:
Flash support for erase sectors

This PR adds support for separate erase sector and program page sizes. If the sizes are different, a page_size attribute can be set on the FlashRegion. The blocksize attribute remains, and is the erase sector size. Builtin targets that used a custom Flash class to implement different erase/program sizes were updated to use the new support and remove the custom class.
An important included change is that failed flash programming calls will raise either FlashEraseFailure or FlashProgramFailure exceptions now instead of just logging an error.
In addition, two user options were added to expose flash programming features:

keep_unwritten: In cases where the data to be programmed would cause a sector to be erased and not all pages within it programmed with new data, or part of a page to be programmed, pyOCD will read and reprogram the current flash contents if this option is True.
smart_flash: Whether pyOCD attempts to scan pages to determine those that are being programmed with the current contents and can be skipped.

Closes #452

/morph test

repo: mbedmicro/pyOCD


text:
feat: allow attribute restriction for both tags

Changes the E restriction to EA such that ngTagsInput may be used via an attribute (<div tags-input>). This allows the production of valid HTML rather than unregistered custom tags/elements, and improves consistency in projects which do not use such custom elements.
Closes #344.

Coverage remained the same at 99.72% when pulling dacc52ad723b48320e53e52e1484a0365eb65237 on 43081j:feature/directive-type into 315f3a2b0f9a34a98a203162d452a3c7520bb6f4 on mbenford:master.

repo: mbenford/ngTagsInput


text:
error with CordovaWebView when building project

All is ok except sending camera to back:
I get these errors
method getParent() is undefined for the type CordovaWebView
method setBackgroundColor(int) is undefined for the type CordovaWebView
I am on cordova 5.0.0, building app pour android 4.4.2 (API 19)
I've tried to cast types but this doesn't work either.
Can anyone help me to solve this problem ?

Ok ... I finaly managed to fix it by mixing files from CordovaCameraPreviewApp.
To be honest I do not really understand what I did..

repo: mbppower/CordovaCameraPreview


text:
Copilot studio hunter help command

Running powerpwn copilot-studio-hunter results in a NotImplemented error

@mbrg Thanks - will change it so that running without a flag will print out the help menu or direct to it, instead of giving this error. Will also check this for the copilot module.

authors: AvishaiEZen mbrg

repo: mbrg/power-pwn


text:
[VC] Using mousewheel over knob not working

I discovered a bug while trying to control a knob widget using the mouse wheel. Just put a knob on the vc and let it control a function of your choice. Using click&drag works as expected, using the mouse wheel will change the appearance of the knob (value increasing) but has no effect on the DMX output.
Using the mouse wheel over the slider widget works as expected.

Fixed, thanks

repo: mcallegari/qlcplus


text:
How Do I Catch SizeLimitExceededError When Paging?

Ok... I hate to ask this, but I can't for the life of me figure out how to catch this darned SizeLimitExceededError emitted error when doing a search.
The search events bind correctly and I get search results, but neither the 'error' event nor the 'end' event fire before it crashes my application with a throw somewhere obscure deep in events.js.
I thought maybe it was a client level error, and I was indeed able to bind to client.on('resultError', cb) and capture the error emitted, but it STILL seems to throw somewhere else that's uncatchable.
Any suggestions?

Story of my life. It has something to do with paged: true. If I turn off paging it works just fine and the error event fires as expected.

Ok... the inconsistency comes from not having a set pageSize value. If you have a manual pageSize you can set it higher then sizeLimit (which you aren't suppose to do), and then the pageControl gets ignored somewhere downstream (semi-expected?).

Aside: Should the smart default in client.js lines 819-827 allow this situation? E.g. Should that if statement be broken up to not let people do weird things like I inadvertently did?

My actual problem appears to be if it's paged the 'error' event gets passed to a different emitter created in the paging process instead of the res object in the client.search callback, and so it goes un-handled no matter what I do. So I'm kind of at a loss.

There's a bug in the paging logic.  Thanks for pointing it out.  I'll try to have a fix pushed later tonight

It should be fixed in c10a1a6faf2765c3742cc0cf3f571cb231e23853

That does indeed resolve the error event never getting fired when paging. Thanks.

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.

authors: jsumners jvanalst pfmooney

repo: mcavage/node-ldapjs


text:
Control and unicode characters not highlighted in the editor #163999

Does this issue occur when all extensions are disabled?: No
This issue occur when extension "C# v1.25.0" is active
VS Code Version: 1.72.2
OS Version: macOS 12.6, windows 10
Steps to Reproduce:
Create dotnet project
Insert control or unicode characters into a string.
They should be highlighted in color.
Change Color Theme
After changing the theme, the highlighting appears and immediately disappears
For example:
Console.WriteLine($""Issue"\nControl characters not highlighted in editor\\n\u00A3");
Tested for macos and windows

not a bug, user needs to A. modify extension setting.json to disable semantic tokens
B. modify setting.json on vscode and disable semantic tokens.
issue arose from conflicting rule sets.


text:
🛑 ChatGenie Client API is down

In fed482a, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 45625c0.


text:
🛑 ChatGenie Client API is down

In 99025ed, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 0a72dc8.


text:
🛑 ChatGenie Client API is down

In f199ddc, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 30cba5b.


text:
🛑 ChatGenie MiniApp API is down

In 6759b16, ChatGenie MiniApp API ($CHATGENIE_BOT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie MiniApp API is back up in 1a704b9.


text:
🛑 ChatGenie MiniApp API is down

In 7fc21c9, ChatGenie MiniApp API ($CHATGENIE_BOT_API) was down:

HTTP code: 404
Response time: 238 ms

Resolved: ChatGenie MiniApp API is back up in 2337268.


text:
🛑 ChatGenie MiniApp API is down

In c2d0609, ChatGenie MiniApp API ($CHATGENIE_BOT_API) was down:

HTTP code: 404
Response time: 231 ms

Resolved: ChatGenie MiniApp API is back up in 717c3d8.


text:
🛑 ChatGenie Client API is down

In ad9b6fe, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 3868dcc.


text:
🛑 ChatGenie Client API is down

In 3417e4d, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in f6526f6.


text:
🛑 ChatGenie Client API is down

In a5116d3, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in b602e9a after 23 minutes.


text:
🛑 ChatGenie Client API is down

In acb790b, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 08692c5 after 16 minutes.


text:
🛑 ChatGenie Client API is down

In d8406d6, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in e5cab1b after 18 minutes.


text:
🛑 ChatGenie Client API is down

In 1c616d3, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in db51fcb after 9 minutes.


text:
🛑 ChatGenie Client API is down

In c07039a, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 935de46 after 28 minutes.


text:
🛑 ChatGenie Client API is down

In bafccc9, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 757273e.


text:
🛑 ChatGenie Client API is down

In 9c0c7f2, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 23c10f8.


text:
issue creted from python

Default Description

Automated comment - Sun May 21 13:23:15 2023

repo: mcmpdemoeng/jpetstore-kubernetes


text:
os.compat (clbarnes remix)

WIP

Drop support for python versions which are EOL (i.e. 2.6 and 3.<4)
Use tox to control testing
Switch from the unicode compile script to just copying the test file with from __future__ import unicode_literals at the top
Include a Makefile which controls the above and the testing
context.py still exists but doesn't do the path mangling: make test ensures that pathlib2 is installed (in develop/ editable mode)

Just an update here: I've reviewed the directory refactoring and I'm happy to report that this has (finally!) landed in develop. I appreciate the work you've done on this, but the pull request is simply too large for review, and does too many things at once, so there's no way I will merge this as such even after resolving conflicts. However, some of your relevant commits have been merged. I haven't yet fully reviewed the actual os shim code (I'll probably handle this in a separate pull request).

Closing due to inactivity. Once more, thanks for your useful contributions through this PR that did make it into the main branch!

Sorry I didn't have time to loop back to this! You're right that it ended up doing too many things, it ended up being more exploratory than anything else; I'm glad some of it was of use though.

No worries! Thanks for taking the effort to come back to me. :+1:

authors: clbarnes mcmtroffaes


text:
support for IOB array with OpenAPS AMA

With the advanced-meal-assist (AMA) branch of oref0 the iob in the device status is an array instead of a single value.  Also instead of timestamp it's using a time field.

:+1:

authors: jasoncalabrese mddub

repo: mddub/urchin-cgm


text:
squid:S1854 - Dead stores should be removed

This pull request is focused on resolving occurrences of Sonar rule
squid:S1854 - Dead stores should be removed.
This pull request removes 30 minutes of technical debt.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1854
Please let me know if you have any questions.
George Kankava

Nice shot for the DMI, but your bot provides a dummy solution. (and it's irrelevant for the Quickstart example)

authors: georgekankava mdeverdelhan