Suggest: Client-server model

I'm developing my own local manga reader and found this awesome project. I think it would be better that we use Client/Server model (or in fact, Browser/Server model), thus we can benefit from:

Access manga stored elsewhere from anywhere. (Through this can be achieved by mounting, but it is not convenient, especially for mobile phones.)
Reduce the size of the program.
Increasing maintainability. (and make various clients/servers possible)

I considered the architecture issue before writing this software and ultimately decided to create a simple desktop program. If you need to reference a similar program with B/S architecture, you can try LANraragi.

Thank you for your recommendation!


There should be a blacklist option

It would be very nice to have a blacklist option instead of just an 'All repositories' or 'Whitelist' option.
In general we prefer to just enable the DCO check on all repositories, and not have to worry about it for any new repositories that may be created later. We do, however, have some organizations that have need of disabling the bot on some repos and this make management of the organization significantly more difficult as we now have to remember to enable the bot on new repos.
With a blacklist option then any repo that doesn't require DCO can be configured to not have it and all new repos by default would have it enabled unless we determine later that it's not needed.

This is a limitation of GitHub Apps themselves, not specifically DCO, this does seem like a good feature request that could help lots of apps. Maybe you could send this feedback to GitHub support.


remove api v4 docs page since its not really supported

What are you changing in this pull request and why?

Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry _redirects
[ ] Ran link testing to update the links that point to the deleted page

looks good one question tho, @Topherhindman , should there be a redirect? if this page was visible to people, we can redirect to avoid a 404 for better UX.
i've only done redirects for MD files tho. lemme know if you need help and i can look into it for you!

Just added another commit to add the redirect


status_old removal migration

Missing migration (field was removed in pul request #1000)

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1029      +/-   ##
==========================================
+ Coverage   89.44%   89.46%   +0.01%
==========================================
  Files         112      113       +1
  Lines        2662     2667       +5
  Branches       31       31
==========================================
+ Hits         2381     2386       +5
  Misses        277      277
  Partials        4        4

Impacted Files
Coverage Δ

...lontulo/migrations/0016_remove_offer_status_old.py
100% <100%> (ø)

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 4330692...9c1e6da. Read the comment docs.


The code on this page disabled back and forward caching

I can not log in to Ie11. Error in console "The code on this page disabled back and forward caching".
http://prntscr.com/kcodwr
Thank you!

@sarkisyantc that would be an issue with your frontend theme. You'll have to speak to whoever built it for you, there's nothing in this plugin that would do that.


@decorator example

@pyo3_module.cls_decorator(1, 2, a=3, b=[4])
class A:
  pass

@pyo3_module.fn_decorator(1, 2, a=3, b=[4])
async def f():
  pass

An example or documentation on how to write a decorator in pyo3 would be great.
It also would be a good example teaching how to wrap a dynamically generated closure into pyfunction.

Absolutely - we should have a chapter on that.

It also would be a good example teaching how to wrap a dynamically generated closure into pyfunction.

You can't really do that at the moment, but you can create a pyclass with a __call__ method, much like how you can (in Python) implement decorators as classes rather than functions.

(Regarding the closure -> pyfunction, probably talking about #804. Howver there has been no real research into it.)


Add settings for cross-releasing 2.11.x and 2.12.x versions

for those of us still on Scala 2.11.x

Thanks (again)


How to configure OmniSharp for ASP.NET?

It seems that by default OmniSharp doesn't recognize any of the ASP.NET packages, and as such, it believes there are errors everywhere.
Is there a proper way to reconfigure it so it recognizes it?

There's a new release coming Soon(tm) which supports ASP.NET5.

Ah whoops, I should've totally checked which versions OmniSharp supported.

FYI @russjr08  - if you git pull this repo down into atom/packages, then  enter the directory and run npm install, it should work. We just haven't got the new bits into APM (atom's packager) yet.

Oh wow, awesome! Thanks for the heads up :)


Bug report:

brew cask install vagrant
==> Downloading https://releases.hashicorp.com/vagrant/1.8.5/vagrant_1.8.5.dmg
Already downloaded: /home/nani/.cache/Homebrew/Cask/vagrant--1.8.5.dmg
==> Verifying checksum for Cask vagrant
Error: No such file or directory - /usr/bin/hdiutilMost likely, this means you have an outdated version of Homebrew-Cask. Please run:
brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup

If this doesn’t fix the problem, please report this bug:
https://github.com/caskroom/homebrew-cask#reporting-bugs

/usr/lib/ruby/2.3.0/open3.rb:199:in spawn' /usr/lib/ruby/2.3.0/open3.rb:199:in popen_run'
/usr/lib/ruby/2.3.0/open3.rb:95:in popen3' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/system_command.rb:74:in each_output_line'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/system_command.rb:19:in run!' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/system_command.rb:8:in run'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/container/dmg.rb:8:in me?' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/container.rb:56:in block in for_path'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/container.rb:54:in each' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/container.rb:54:in find'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/container.rb:54:in for_path' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/installer.rb:118:in extract_primary_container'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/installer.rb:73:in install' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:24:in block in install_casks'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:18:in each' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:18:in install_casks'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:9:in run' /home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/cli.rb:108:in run_command'
/home/nani/.linuxbrew/Library/Homebrew/cask/lib/hbc/cli.rb:147:in process' /home/nani/.linuxbrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in <top (required)>'
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
/home/nani/.linuxbrew/Library/Homebrew/brew.rb:23:in require?' /home/nani/.linuxbrew/Library/Homebrew/brew.rb:102:in '

You must always follow the reporting bugs guide. When you opened this issue, the template in place urged you to do so and gave you the relevant links.
The template also stated clearly that

if it is apparent you ignored the instructions for reporting issues, your issue may be closed without review.

That seems very much to be the case, here, which is why this was closed.
Again, as the template states (emphasis added)

When the guide isn‘t followed we get the same issues over and over. Having to repeatedly deal with the same solved and documented problems leads to maintainer burnout and a lot of wasted hours that could instead have been spent improving Homebrew-Cask itself and fixing real bugs.

I’ll add it is exhausting, and when maintainers are exhausted, everyone loses.
A lot of work was put into those guides precisely so we can keep things running smoothly.
I ask that you respect our time and efforts and follow the guides.

To be clear, here what you need to do is follow this template.

Wait, are you using Linuxbrew? We don’t support it. Homebrew-Cask is macOS-only.

Might be worth blocking Cask on Linux entirely, hah


test: uncommented tests that shows an issue with output files

What ❔
CPR-1495/[bug][windows-only][1319]-path-issue-output-file-cannot-be-created
Why ❔
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.

@hedgar2017 I have updated PRs with issues, and in this one I added descriptions for issues for files that should be created in windows.

@hedgar2017 please do not merge this PR until I finish with it.

@antonbaliasnikov Could CI optimization keeps previous sources of compiler during the build (could it take old cache?) I see that we still do not support latest solc:
Expected pattern: /(Compiler run successful)/i
Received string:  "solc versions >0.8.24 are not supported, found 0.8.25"
Im going to switch back to solc 0.8.24 to make all tests green.


HW: Test Case IR-HW-0001 inconclusive

Compositions used

https://github.com/IVCTool/IVCT_Operation/tree/develop/ivct-pitch/host-mode
https://github.com/IVCTool/IVCT_Operation/tree/develop/sut-helloworld-pitch/host-mode

Test cases

IR-HW-0001
IR-HW-0002

Steps to reproduce

bring up both compositions
login to IVCT and navigate to hw SUT and test cases
execute test cases

Results
For both test cases I get the following result:
[INFO]: TestEngine:onMessageConsumer:run: tsRunFolder is /root/conf/TestSuites/TS_HelloWorld-2.0.0/bin
[INFO]: TestEngine:onMessageConsumer:run: tsRunFolder is /root/conf/TestSuites/TS_HelloWorld-2.0.0/bin
[INFO]: TestEngine:onMessageConsumer:run: tsRunFolder is /root/conf/TestSuites/TS_HelloWorld-2.0.0/bin
[INFO]: TestEngine:onMessageConsumer:run: setCurrentDirectory true
[INFO]: TestEngine:onMessageConsumer:run: TC DIR is /root/conf/TestSuites/TS_HelloWorld-2.0.0/bin
[INFO]: TestEngine:onMessageConsumer:run: TC DIR is /root/conf/TestSuites/TS_HelloWorld-2.0.0/bin
[INFO]: TestEngine:onMessageConsumer:run: setCurrentDirectory true
[INFO]: TestEngine:onMessageConsumer:run: The test case class is: de.fraunhofer.iosb.tc_helloworld.TC0002
[INFO]: TestEngine:onMessageConsumer:run: TC DIR is /root/conf/TestSuites/TS_HelloWorld-2.0.0/bin
[INFO]:
TEST CASE PARAMETERS -------------------------------------- BEGIN
{"sutFederateName":"A"}
TEST CASE PARAMETERS -------------------------------------- END
[INFO]:
TEST CASE PARAMETERS -------------------------------------- BEGIN
{"sutFederateName":"A"}
TEST CASE PARAMETERS -------------------------------------- END
[INFO]:
TEST CASE PARAMETERS -------------------------------------- BEGIN
{"sutFederateName":"A"}
TEST CASE PARAMETERS -------------------------------------- END
[INFO]: Exception: de.fraunhofer.iosb.tc_lib.TcInconclusive: The key  growthRate  was not found
[INFO]: Exception: de.fraunhofer.iosb.tc_lib.TcInconclusive: The key  growthRate  was not found
[INFO]: TestEngine:onMessageConsumer:run: setCurrentDirectory true
[INFO]: Exception: de.fraunhofer.iosb.tc_lib.TcInconclusive: The key  growthRate  was not found
[INFO]: TC INCONCLUSIVE getIVCT_BaseModel unsuccessful
[INFO]: TC INCONCLUSIVE getIVCT_BaseModel unsuccessful
[INFO]: TC INCONCLUSIVE getIVCT_BaseModel unsuccessful
[INFO]: TestEngine:onMessageConsumer:run: The test case class is: de.fraunhofer.iosb.tc_helloworld.TC0002
[INFO]: Test Case Started
[INFO]: Test Case Started
[INFO]: Test Case Started
[INFO]: TestEngine:onMessageConsumer:run: The test case class is: de.fraunhofer.iosb.tc_helloworld.TC0002
[INFO]: Test Case Ended
[INFO]: Test Case Ended
[INFO]: Test Case Ended

This does not appear to be correct.

Note, in order to execute a TC I now also need to set the federation name and settings designator explicitly. One day ago these where filled in automatically.

The growthRate value seems to be missing in the SUT TcParam.json file - needs to be added. The message shows that the correct version of the program was used.


How to display a circular icon

Can make this control can display a circular image, like "cricleimageview" ?
    <Preference
        android:icon="@drawable/xxx"
        android:persistent="false"
        android:summary="This is a preference with icon"
        android:title="Preference 3" />

If you create a new layout for the preferences, you can use a circular image as icon. To do this, you need to create the layout XML (basically copy it and change the parts you want to change) and use it in the preference by setting the android:layout attribute or by overriding it in your styles. You can find the layout files here, the basic one is preference_material.xml which is used for most of the preferences, but there are some others used for specific ones (like preference_dropdown_material.xml for the DropDownPreference). Copy whichever you want to change, look for the PreferenceImageView (id=@android:id/icon) and replace it with your stuff. Make sure you use the same ID as the Preference class will look for that when setting the icon. The view you want to use as a replacement must extend ImageView and have a setImageDrawable(Drawable) method for setting the image.
If you have the XMLs, you have 3 choices to use them:
Option 1
Save the modified XML files with the same name to the same folders. This way your XMLs will essentially replace the library XMLs, so you don't have to do anything else and it is applied globally.
Option 2
Use the android:layout attribute on the appropriate preferences.
<Preference
    android:icon="@drawable/xxx"
<EMAIL_ADDRESS>    android:persistent="false"
    android:summary="This is a preference with icon"
    android:title="Preference 3" />

Option 3
Modify the preference styling by overriding the preferenceTheme item in your app theme. This is really complex so if you want to do this, look up on the Internet how you can modify styles and attributes of styles.

Thank you very much, I decided to use the program 2. If  can add custom properties in "Preference", such as: app: roundIcon = "@ drawable / xxx", It will be perfect

It's not going to happen, and there are 2 very good reasons for that:

I should create a new class extending Preference, then create all of the preferences extending this new class. This is really cumbersome, and again as I told you in the #92 issue, this would make the lib size bigger and the updates slower.
This is not a functionality that belongs to the preferences lib. This is a design question that is unique to every single app. Let's say you want this, but someone else wants 3D icons, again others want everything upside down, and this could go on for a long time. The role of this lib is to provide the preferences lib with the material design bug fixed and that's all it does. That's another thing that there are new preference types not part of the original lib, but those are still inside the role boundaries.

Okay


Option to Auto-Activate Find My Mouse On Wake

Description of the new feature / enhancement
Add an option to have Find My Mouse automatically activate for a configurable amount of time after waking the monitors or system from sleep. Turning off after the designated period of time.
Scenario when this would be used?
Anywhere people may have difficulty finding their mouse cursor on multiple large monitors after waking the monitors or computer from a sleep state.
Supporting information
No response

Please close. It is a duplicate of  https://github.com/microsoft/PowerToys/issues/26166  where I added more information why that feature is so useful and should be really considered with high priority. :)


bump duckdb-rs version

Ticket(s) Closed

Closes #153 -

What
support reading and writing geoparquet
Why
with duckdb_spatial>=v1.1.0 geometry column in parquet will be read/write as geometry instead of blob
How
no explicit change of sql is needed
Tests
a read/write parquet test should be added later

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

This PR would need documentation so people know how to use it

This PR would need documentation so people know how to use it

just fix the packages and now i can build it and test it locally
it seems there's no geometry type cell.rs, currently it still read the geometry column as text :(

This PR would need documentation so people know how to use it

just fix the packages and now i can build it and test it locally
it seems there's no geometry type cell.rs, currently it still read the geometry column as text :(

Yes, that’s because duckdb-rs is on duckdb 1.0.0, not 1.1.0 which it seems like it needs. We would need you to submit a PR to our fork to duckdb-rs to upgrade it as well there, then update the commit here.

This PR would need documentation so people know how to use it

just fix the packages and now i can build it and test it locally
it seems there's no geometry type cell.rs, currently it still read the geometry column as text :(

Yes, that’s because duckdb-rs is on duckdb 1.0.0, not 1.1.0 which it seems like it needs. We would need you to submit a PR to our fork to duckdb-rs to upgrade it as well there, then update the commit here.

from https://github.com/paradedb/duckdb-rs/tree/main/crates/libduckdb-sys it seems it's already on v1.1.1

This PR would need documentation so people know how to use it

just fix the packages and now i can build it and test it locally
it seems there's no geometry type cell.rs, currently it still read the geometry column as text :(

Yes, that’s because duckdb-rs is on duckdb 1.0.0, not 1.1.0 which it seems like it needs. We would need you to submit a PR to our fork to duckdb-rs to upgrade it as well there, then update the commit here.

from https://github.com/paradedb/duckdb-rs/tree/main/crates/libduckdb-sys it seems it's already on v1.1.1

Ah yes!  Oops, I had no idea. Then, I'm not sure... Are you sure this is supported? Do we need to do anything to enable it?

Could you please sign the CLA and I think this will be good to go :)

done :)
for the geoparquet reference, i think it need some extra data type mapping (especially postgis geometry)
https://github.com/duckdb/duckdb/pull/12503
https://github.com/duckdb/pg_duckdb/issues/141

Could you please sign the CLA and I think this will be good to go :)

done :)
for the geoparquet reference, i think it need some extra data type mapping (especially postgis geometry)
duckdb/duckdb#12503 duckdb/pg_duckdb#141

We ship with Postgis support and the spatial extension is enabled in pg_analytics. It was added a while back. Does that give you enough?

Could you please sign the CLA and I think this will be good to go :)

done :)
for the geoparquet reference, i think it need some extra data type mapping (especially postgis geometry)
duckdb/duckdb#12503 duckdb/pg_duckdb#141

We ship with Postgis support and the spatial extension is enabled in pg_analytics. It was added a while back. Does that give you enough?

not enough at the moment.
we want to store the analytic data into s3 in parquet format, most of them are gis data, with newly duckdb, we could dump them as geoparquet, and read it back directly as geometry data type
load spatial;
create table gis_test as select st_makepoint(127.0, 30.0) as geometry;
copy  gis_test to '~/Downloads/gis_test.parquet' (format parquet);
create table gis2 as select * from '~/Downloads/gis_test.parquet';
describe table gis2;
┌─────────────┬─────────────┬─────────┬─────────┬─────────┬─────────┐
│ column_name │ column_type │  null   │   key   │ default │  extra  │
│   varchar   │   varchar   │ varchar │ varchar │ varchar │ varchar │
├─────────────┼─────────────┼─────────┼─────────┼─────────┼─────────┤
│ geometry    │ GEOMETRY    │ YES     │         │         │         │
└─────────────┴─────────────┴─────────┴─────────┴─────────┴─────────┘

but in pg_analytics, it still read it as text column
CREATE FOREIGN TABLE gis2 () server parquet_server options(files '~/Downloads/gis_test.parquet');
select * from information_schema.columns where table_schema = 'public' and table_name = 'gis2' and column_name = 'geometry';
select column_name, data_type from information_schema.columns where table_schema = 'public' and table_name = 'gis2' and column_name = 'geometry';
 column_name | data_type
-------------+-----------
 geometry    | text
(1 row)

Could you please sign the CLA and I think this will be good to go :)

done :)
for the geoparquet reference, i think it need some extra data type mapping (especially postgis geometry)
duckdb/duckdb#12503 duckdb/pg_duckdb#141

We ship with Postgis support and the spatial extension is enabled in pg_analytics. It was added a while back. Does that give you enough?

not enough at the moment. we want to store the analytic data into s3 in parquet format, most of them are gis data, with newly duckdb, we could dump them as geoparquet, and read it back directly as geometry data type
load spatial;
create table gis_test as select st_makepoint(127.0, 30.0) as geometry;
copy  gis_test to '~/Downloads/gis_test.parquet' (format parquet);
create table gis2 as select * from '~/Downloads/gis_test.parquet';
describe table gis2;
┌─────────────┬─────────────┬─────────┬─────────┬─────────┬─────────┐
│ column_name │ column_type │  null   │   key   │ default │  extra  │
│   varchar   │   varchar   │ varchar │ varchar │ varchar │ varchar │
├─────────────┼─────────────┼─────────┼─────────┼─────────┼─────────┤
│ geometry    │ GEOMETRY    │ YES     │         │         │         │
└─────────────┴─────────────┴─────────┴─────────┴─────────┴─────────┘

but in pg_analytics, it still read it as text column
CREATE FOREIGN TABLE gis2 () server parquet_server options(files '~/Downloads/gis_test.parquet');
select * from information_schema.columns where table_schema = 'public' and table_name = 'gis2' and column_name = 'geometry';
select column_name, data_type from information_schema.columns where table_schema = 'public' and table_name = 'gis2' and column_name = 'geometry';
 column_name | data_type
-------------+-----------
 geometry    | text
(1 row)

Can you confirm the duckDB version you are using separately? And can you confirm the GIS extension is loaded in pg_analytics?

confirm duckdb version 1.1.1 and 1.1.3 works with geoparquet
confirm postgis is loaded in postgres
but I'm not sure how to check if duckdb spatial is enabled  in pg_analytics :(
tried select duckdb_execute($$load spatial$$); with no luck


Add a ModelCoders class for Coder Utilities

This is a place to place utility methods to interact with and create well-known model coders,
plus where the constant URNs are kept.
Update LengthPrefixUnknownCoders to use the shared constants.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @youngoli


Change order of properties when converting to json-dict

As of python 3.7, we are able to determine the order of dictionary entries by the order of insertion.
This will reflect in the order of the keys in the resulting JSON document.
We should use this to sort the most important keys (SPDXID, name, etc) to the top.

I would suggest you use alphabetic ordering instead of an arbitrary "most important keys" order.

That would certainly be a valid approach, too.
The approach I described above came from a request by @rnjudge. Especially the intermingling of document information (like namespace, name etc) with other lists (like external licensing info etc) was a point of critique there.
I'm open to both approaches. Anyone has very strong opinions about this?

Closing this as there seems to be no real interest in this. Please reopen if you disagree.


update for melody

Docs Build status updates of commit ef64d0f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/melody-zacharias.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


PHP Warning: Illegal string offset '4.1268548415' in BCMathService.php on line 91

master @ 430ba54a3c3144f03e8a03e1679e672c688cb8a6
3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 15.04
Release:    15.04
Codename:    vivid
PHP 5.6.4-4ubuntu6.2 (cli) (built: Jul  2 2015 15:29:28)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.6, Copyright (c) 2002-2014, by Derick Rethans
// If there's still a remainder, append it
if ($decimal > 0) {
    $output .= $this->alphabet[$decimal];    // line 91
}

Hi,
I just have a few follow-up questions.
What version of this library are you using?
What was the input string to the encode() method?
What OS are you using?
Also, if possible, could you write me a PHP script that replicates this problem - because if I cannot reproduce this error, I cannot fix it.
Many Thanks
Stephen

Updated original issue. Now trying to isolate offending code.

http://php.net/manual/en/function.bcdiv.php
Signature:
string bcdiv ( string $left_operand , string $right_operand [, int $scale = int ] )

Return value:
Returns the result of the division as a string, or NULL if right_operand is 0.

http://php.net/language.types.string
"As of PHP 5.4 string offsets have to either be integers or integer-like strings, otherwise a warning will be thrown. Previously an offset like "foo" was silently cast to 0."
<?php
$str = 'abc';

var_dump($str['1']);
var_dump(isset($str['1']));

var_dump($str['1.0']);
var_dump(isset($str['1.0']));

var_dump($str['x']);
var_dump(isset($str['x']));

var_dump($str['1x']);
var_dump(isset($str['1x']));
?>

Output of the above example in PHP 5.3:
string(1) "b"
bool(true)
string(1) "b"
bool(true)
string(1) "a"
bool(true)
string(1) "b"
bool(true)

Output of the above example in PHP 5.4:
string(1) "b"
bool(true)

Warning: Illegal string offset '1.0' in /tmp/t.php on line 7
string(1) "b"
bool(false)

Warning: Illegal string offset 'x' in /tmp/t.php on line 9
string(1) "a"
bool(false)
string(1) "b"
bool(false)

Library assumes it can use $decimal as an index, but it can't because bcdiv return is a string:
while ($decimal >= $this->base) {
    $div = bcdiv($decimal, $this->base);
    $mod = bcmod($decimal, $this->base);
    $output .= $this->alphabet[$mod];
    $decimal = $div;
}

// If there's still a remainder, append it
if ($decimal > 0) {
    $output .= $this->alphabet[$decimal];    // line 91
}

Hi
The problem here as far as I can see, is that bcdiv should only be returning integers.
Where as it appears to be returning a float. Also, I can't see how it could return anything other than a value between 58 and zero.
Could you please provide the input string that threw the original error message?
Eg: $base58->encode('Hello World');
Without that, I cannot test anything. I can only make assumptions.
Also, did you change the alphabet, and if so, what to?
Many Thanks
Stephen

If I get a chance tonight, I will install 15.04 and run the unit tests.
But it still stands that I need the original input string to the encode() method. Without that, I don't think I can successfully debug the problem.
Issue #10 is the same as this. The input string that caused the error was never provided, so the problem was never fixed.
Cheers
Stephen

I've tried very hard to develop a test case, but failed to repeatably reproduce. The only thing I should mention, the problem randomly occurs only in apache mode and never in cli.
Found similar issue https://bugs.php.net/bug.php?id=68837 where expected integer arithmetic result looks not really integer.

Well thank you very much for trying to reproduce the error.
I would suggest, if you can, using GMP instead of BCMath because it appears not to have this problem and it's faster.
I'm also thinking of removing BCMath support in version 2.0 of this library to simplify the code.
Cheers
Stephen

Hit it again:
[Thu Sep 03 23:26:09.279469 2015] [:error] [pid 10543] [client <IP_ADDRESS>:36348]
PHP Warning:  Illegal string offset '1.1200738330' in -=censored=-/BCMathService.php
on line 91

But if I try to run same action with same encode argument it doesn't show up. Very strange.
Action is using something like this:
$options = (object) [
    'url' => 'url goes here'
];

$base58->encode(json_encode($options));

URLs in question are regular web links with nothing special at all.


Fix nodejs-react versions on generated doc

What type of PR is this:
/kind tests
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

/override windows-integration-test/Windows-test


Daveroga/non erc20 functionality sdk feat #277

Add funcionallity in SDK to get type of contract ERC721 / ERC1155 and token balance for each tokenId  in ERC721 and Id in ERC1155.

Use of supportsInterface EIP165 that ERC721 and ERC1155 implements to know type of ERC.
getERCInfo in SDK can receive details: true as option parameter to use getPastEvents from web3 to know transfer events in ERC721 and ERC1155 to know tokenIds and Ids and the corresponding balance for the ERC contract and a specific ethereum address.

The information that is returned includes tokenType, balance and details with the list of token Ids and the corresponding amount.
{
  tokenType: 'ERC721',
  balance: '2',
  details: [ { tokenId: '2', amount: '1' }, { tokenId: '3', amount: '1' } ]
}

{
  tokenType: 'ERC1155',
  balance: '1000000001000000001994700001',
  details: [
    { Id: '0', amount: '999999999995000000' },
    { Id: '1', amount: '999999999999999999999800000' },
    { Id: '4', amount: '999900000' },
    { Id: '2', amount: '1' },
    { Id: '3', amount: '1000000000' }
  ]
}

Included corresponding tests using getTokensInfo in test-ercmocks. To run the tests npm run test-ercmocks

Close PR due to be merged with #344


while the inline file preload link has not be deleted?

i used for webpack runtimeChunk。
new ScriptExtHtmlWebpackPlugin({
      inline: /runtime~.+\.js$/
})

of course the code has be injected in index.html,but the preload link  has existed
 <link href=js/chunk-vendors.1e5c55d3.js rel=preload as=script>
 <link href=js/runtime~app.2f2e1145.js rel=preload as=script>
 <link href=css/app.b087a504.css rel=stylesheet>

why? so that it will cause a error in chrome.
what should i do.

我也有一样的问题，请问你怎么解决的？
I have the same problem, could you tell me how you solve it ?


Climb changes 2/7/222

Logging

Added climb automation commands to be implemented later after testing
Resolved merge conflicts


[BUG] Patch Statefulsyncer

Related PR: https://github.com/coinbase/rosetta-sdk-go/pull/105
This PR updates the version of rosetta-sdk-go to fix a syncing bug in the statefulsyncer.

Pull Request Test Coverage Report for Build 3913

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.631%

Totals

Change from base Build 3908:
0.0%

Covered Lines:
599

Relevant Lines:
792

💛  - Coveralls


unable to run or build godot3 with openssl>1.0.0 installed

Right now I can not successfully build godot3 from git or run precompiled binaries (from fixnum.org) due to what seems to be a version mismatch between my locally installed openssl package (version 1.1.0.e-1 on ArchLinux) and the thirdparty libraries that come with godot.
The following errors occur during the build process:
modules/openssl/stream_peer_openssl.cpp:167:3: error: member access into incomplete type 'BIO' (aka 'bio_st')         b->init = 1;          ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:168:3: error: member access into incomplete type 'BIO' (aka 'bio_st')         b->num = 0;          ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:169:3: error: member access into incomplete type 'BIO' (aka 'bio_st')         b->ptr = NULL;          ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:170:3: error: member access into incomplete type 'BIO' (aka 'bio_st')         b->flags = 0;          ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:178:3: error: member access into incomplete type 'BIO' (aka 'bio_st')         b->ptr = NULL; /* sb_tls_remove() will free it */          ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:179:3: error: member access into incomplete type 'BIO' (aka 'bio_st')         b->init = 0;          ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:180:3: error: member access into incomplete type 'BIO' (aka 'bio_st')         b->flags = 0;          ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:188:48: error: member access into incomplete type 'BIO' (aka 'bio_st')         StreamPeerOpenSSL *sp = (StreamPeerOpenSSL *)b->ptr;                                                       ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:222:48: error: member access into incomplete type 'BIO' (aka 'bio_st')         StreamPeerOpenSSL *sp = (StreamPeerOpenSSL *)b->ptr;                                                       ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:268:31: error: variable has incomplete type 'BIO_METHOD' (aka 'bio_method_st') BIO_METHOD StreamPeerOpenSSL::_bio_method = {                               ^ /usr/include/openssl/bio.h:247:16: note: forward declaration of 'bio_method_st' typedef struct bio_method_st BIO_METHOD;                ^ modules/openssl/stream_peer_openssl.cpp:355:5: error: member access into incomplete type 'BIO' (aka 'bio_st')         bio->ptr = this;            ^ /usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'bio_st' typedef struct bio_st BIO;                ^ modules/openssl/stream_peer_openssl.cpp:556:2: error: use of undeclared identifier 'CRYPTO_malloc_init'         CRYPTO_malloc_init(); // Initialize malloc, free, etc for OpenSSL's use
Trying to run precompiled binaries, I get the following error message:
Downloads/godot: /usr/lib/libcrypto.so.1.0.0: version 'OPENSSL_1.0.0' not found (required by Downloads/godot) Downloads/godot: /usr/lib/libssl.so.1.0.0: version 'OPENSSL_1.0.0' not found (required by Downloads/godot)
I even installed the openssl-1.0 package on Arch to get legacy compatability, but that didn't help.  I know such things are to be expected on the "bleeding edge", but why is my local openssl version even relevant when godot ships it's own static libraries?
Godot3
Arch Linux (with testing repos enabled)
installed openssl packages:
openssl 1.1.0.e-1
lib32-openssl 1.1.0.e-1
openssl-1.0 1.0.2.k-3 (installed this because i thought it might fix things)

Anecdotally seems to work by passing builtin_openssl=yes to SCons. I also used Clang instead of GCC with use_llvm=yes, in case it's relevant.

I had kind of the same problem, couldn't build or run, I'm using Debian 9 (Stretch), installed libssl1.0.0 and then I could run builds from fixnum and such, but couldn't build anything. Using "builtin_openssl=yes" got it to work.

Duplicate of #7085.


Data is overridden if two columns have the same header name

Problem
Data is overridden if two columns have the same header name. If two columns have the same header name, only the value of the last column with this name is returned. Some sheets use the same column name multiple times for displaying nested information, so it might be useful to find a way to return all columns, even if the name is the same.
Example
This sheet (https://docs.google.com/spreadsheets/d/1ZjNQ-MB660qU8dwxFNVxLxUBfiZr1IW-XoDkngtqZRY/edit?usp=sharing) produces the following result:

uniqueColumn
sameColumn
sameColumn

Unique 1
Same 1
Same 2

[
  {
    "uniqueColumn": "Unique 1",
    "sameColumn": "Same 2"
  }
]

Possible Fixes
There could be an optional flag in the configuration to also include the column identifier (A, B, ...) in the response, for example A - uniqueColumn, B - sameColumn, C - sameColumn.

Hello,
I appreciate you highlighting this issue and providing your feedback.
I understand that this library is designed to use Google Spreadsheets as database tables, and it's a common use case to have unique column names in a table.
After careful consideration, I believe that adding code to handle duplicate column names may not provide significant benefits, as it deviates from the standard practice of having distinct column names in a table.
Instead, I suggest structuring the spreadsheet with unique column names to align with the intended usage of the library. This approach would ensure smoother integration and avoid potential conflicts.
If you have any further concerns or disagreements, please feel free to add your comments, and we can discuss them further.
For now, I will proceed with closing this issue.
Thank you for your understanding and cooperation!
Best regards,


Error: (void-function working-dir)

Recently updated my packages, and since then every time I open a new file (including start-up), I get this error.
Debugging showed the source of the error to be conda.el.
Debugger entered--Lisp error: (void-function working-dir)
  working-dir("/home/user1/org/main-doc.org")
  conda--infer-env-from-buffer()
  conda-env-activate-for-buffer()
  conda--switch-buffer-auto-activate(#<buffer main-doc.org>)
  apply(conda--switch-buffer-auto-activate #<buffer main-doc.org>)
  switch-to-buffer(#<buffer main-doc.org>)
  #<subr command-line-1>(("main-doc.org"))
  apply(#<subr command-line-1> ("main-doc.org"))
  command-line-1(("main-doc.org"))
  command-line()
  normal-top-level()

Further, on looking through the commit history, it seems like the reference to working-dir is introduced in #140.
I couldn't find any documentation about the function (working-dir) either.
PS. I use Doom Emacs (Emacs 28.2).

@quzyte could you confirm which version of Doom you're using? It appears that as of current main Doom is using a previous commit that doesn't have the fix. You can fix this by adding this to your ~/.config/doom/packages.el:
(package! conda :pin "f90598f54af78469e61497560ddad05344810a35")

I have also put in a PR upstream so you could also wait for that to be merged, if it is merged.

Thanks! Being sleep deprived, I hadn't checked if it was fixed already. Pinning to commit works with no more errors. Guess will have to keep it pinned until it's updated in Doom.


Fact suggestion

Tourist never needs a plumber. He just runs the max-flow algorithm on it.
Tourist can code a deterministic quicksort with no quadratic cases.
Tourist used FFT to multiply numbers in grade school.
Tourist never gets the Memory Limit Exceeded verdict, as his submissions use his own brain for storage space.
Tourist can divide by zero.
Tourist always computes the full answer for combinatorial problems before reducing it by modulo.

Tourist can code a deterministic quicksort with no quadratic cases.

Actually, all of us can find the median in $O(n)$ deterministically, yielding a strict $O(n \log n)$ quick sort. See https://en.wikipedia.org/wiki/Median_of_medians.
In my opinion, there is no need to state tourist can do it to explicitly. I suggest to withdraw such fact.

Yeah that's true. Someone did point that out to me but it was added before I could remove it from my suggestions


Copying Visuals in a Scene

I would like to create a (shallow) copy of a Visual in a Scene, along the lines of:
ScenePtr scene = CreateSomeScene();
VisualPtr source_visual = scene->CreateVisual("source");

// Make source_visual nice and shiny ...

// Create a visual named target
// target_visual should receive the geometries of source_visual,
// but not copy the child nodes, which would open up problems about naming etc.
VisualPtr target_visual = scene->CopyVisualByName("source", "target");

I have looked for alternatives in the newest reference, but have found none. I'm willing to contribute if someone points me to where to begin.

How about adding a Clone function to the Visual class? The function can take an optional recursive arg. If true, it does a deep copy instead of a shallow copy, e.g.
// a couple of overloaded Clone functions
VisualPtr Visual::Clone(bool _recursive = false);
VisualPtr Visual::Clone(const std::string &_name, bool _recursive = false);

VisualPtr clone = visual->Clone();  // shallow copy
VisualPtr clone2 = visual->Clone("new_name", true); // deep copy with user-specified name

That would definitely work for my use case, yes. My thoughts originally were that the scene seems like the factory for visuals, so I would have left the construction there.
What pattern would you suggest to construct unique names to the cloned visuals if none is specified?
new_name = old_name + "_copy_" + index?

This would the also require a similar Clone function for the Geometry class tree, correct?

in the Clone function, you should be able to create a visual by calling Scene::CreateVisual() which will generate a unique name for you.

This would the also require a similar Clone function for the Geometry class tree, correct?

yeah this may be a little more involved with all the different classes that derive from Geometry. You can probably start with Mesh as that's the most used geometry.

Alright, thanks for your input. I will try to implement a first version and then get back to you. This will take me a while.


Add lcd_dev_s pointer to lcd_planeinfo_s to support multiple LCDs per board

Summary
In order to support multiple LCD instances per board add a pointer from lcd_planeinfo_s to the lcd_dev_s to which it belongs to.  Also enhance the putrun, getrun, putarea and getarea methods to pass through the LCD pointer to the respective driver.
Also, as an example, enhance SSD1306 driver to support multiple LCDs.
Impact
This pull request affects all lcd_dev_s drivers.  Due to missing hardware I was only able to make sure they still compile.  However, the changes to the drivers are pretty trivial.
Testing
It works fine for me with two SSD1309 based OLEDs on a Nucleo-144 with an STM32U5 MCU.

@xiaoxiang781216, @pkarashchenko and/or other committers: Could you please have a look?

@pkarashchenko, @xiaoxiang781216: Is there anything left to be done for to get this upstreamed? Thanks!


Configure Netlify for creating preview documentation

Configure Netlify for creating previews of documentation changes.
This allows us to more easily review documentation changes as a reviewer and also lowers the barrier to make documentation changes.
Checklist

[ ] Create new Netlify site

[ ] Add Netlify configuration

[ ] Enforce checks on branches

Closing as issues are not supported via templates


Swift version in Podspec file

New Issue Checklist

I have read the guidelines for contributing and I understand:

[x ] My issue is happening in the 5.0.1 version of SideMenu.
[ x] My issue was not solved in the README.
[x ] My issue can not be answered on stackoverflow.com.
[x ] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[ x] My issue is reproducible in the demo project.

Issue Description
Hi, great framework! This is a minor issue. can you add the following line to your pod spec file?
s.swift_version = '4.2'
Every time I update my pod file, I have to go to the SideMenu target and set the Swift Language version in the Build Settings Tab to Swift 4.2. Version 5.0.1 won't build with swift 4.0 is set. Without this line, the version defaults to 4.0...
Thank you
Dominik

That's what I did. the framework is working. but I had to set it to 4.2 manually. The reason why it defaults to 4.0 in my project might be that the project is still 4.0. I can't convert it currently because I have an issue with my test unit and UI tests.

Did you try adding something like this in your pod file?
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if ['SideMenu'].include? target.name
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.1'
      end
    end
  end
end

yes, I could do that. But the more elegant and clean way is to add the information to the pod spec file.

I support the idea! It definitely make more sense to put the requirement in the podspec file instead of making every library user add extra identical code to their podfile, or ask them to change the pod project's swift version every time they run pod install/update.

This is in for 5.0.2.


fix rendering of only top half filled sections

For old versions (before 1.13 "The Flattening") sections that contain only data in upper half are not rendered anymore.
Fix is just to check all Blocks in that Section to judge if it contains data (not lower half) . . .
( fixes #280 )

GitHub has changed windows-latest to "Windows Server 2022".


Make the webpage prettier

I am not a front-end designer, so any help is appreciated.

I think with my choice for Ionic as a phone dev framework negates the need for a pretty website, I can just have people use that and do an ionic serve


add hook installation test

This PR adds a test that checks that the correct hooks are installed in the hooks directory.
While writing the tests I already discovered and fixed a bug (I think) in this line:
install_stages = lib.unique (cfg.default_stages ++ (builtins.concatLists (lib.mapAttrsToList (_: h: h.stages) enabledHooks)));

This line creates the default stage pre-commit even when stages is manually set to be something else. See the diff for the fix.
This work was started on the #Thaigersprint.

fixed mac-os pipeline. pls restart workflow.


Invalid HTML output

Moving this ticket from the old tracker: https://github.com/pydanny/django-uni-form/issues/124#issuecomment-3417649
Warning, I did not try the latest version of django crispy form, I'm still using django-uni-form. This may not be applicable anymore.
I have a gigantic layout, and part of it is:
   layout = Layout(
        super(ThisForm, self).get_layout(),
        MultiField(
            u'
Section J
',
            Div(*(
                ThisForm.get_section_j_fields() +
                [HTML("Next")]
            )),
            css_id = "step9",
            css_class = "form-step"
        ),
       [...]

It produces the following HTML:

Section J

Notice that the first 'p' tag is self closed.

Could you please verify if this happens with django-crispy-forms?
I'm unable to reproduce this bug. There is actually a test for inherited layouts that is passing. If you can reproduce this bug, it would be very helpful that you submitted a failing test.
Thanks, cheers
Miguel


error when run Credential Scan on Azure Data Explorer.ipynb in # Initialize Kusto data client and create table list

what is the detailed error message?


Document GKE setup

@arschles has suggested that we document GKE setup in our own docs since this seems, currently, to be tribal knowledge.
I know I would personally benefit from the existence of such docs.  That being said, I would question whether documenting this might implicitly throw too much weight behind one specific zero-to-k8s option...
That's not to say we shouldn't do it.  Just trying to start a discussion...

Agreed RE throwing too much weight. Maybe we can solve by creating a new section dedicated to outlining zero-to-k8s processes and mark it as a WIP?

Also something to consider, having gone through this yesterday... GCP networking is pretty complex and constraining.  See https://github.com/deis/controller/issues/657 for an example of some of the complexities that actually cannot be overcome atm.

@krancour Is this still relevant? We now have quickstart docs on GKE.

yep, we also have internal docs on our "champagne" clusters we use for our internal apps (slackbot integrations, k8s-claimer, etc.).


No longer maitained?

Is this gem ffmpeg-screenrecorder no longer been maintained? I have been working with this gem. You supported few months back?
What's the change? I can't record chrome screen so far. Can I record chrome screen if I use your new gem?

That gem has been renamed to screen-recorder. You should update your project to use this one to receive long term updates.

@kapoorlakshya
Okay, thank you. Your gem was very very useful in my project. It perfectly records the video in firefox but it's not recording in chrome. Let's see whether I can do it this time. Thanks for such a good gem.

That's good to hear :)
The same code should work for both browsers. Feel free to create an Issue if you run into problems.

Thank you. I will for sure
On Tue, 30 Apr, 2019, 12:04 PM Lakshya Kapoor<EMAIL_ADDRESS>wrote:

That's good to hear :)
The same code should work for both browsers. Feel free to create an Issue
if you run into problems.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kapoorlakshya/screen-recorder/issues/68#issuecomment-487834968,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHR2N3QIWCTSTRP3NKDSP5TPS7SBBANCNFSM4HJIZHNQ
.

Hi, I don't know how to pass the option now.
this is my old coding
opts = {input: FFMPEG::WindowTitles.fetch('firefox').last,
                    output: File.expand_path("Output/Video/#{scenario}/#{testCase.first + '_' + testCase[1]}.mp4"),
                    framerate: 15}
            @recorder = FFMPEG::ScreenRecorder.new(opts)

New coding
@recorder = ScreenRecorder::Window.new(title: 'Mozilla Firefox', output: 'recording.mkv')
  @recorder.start

How to pass the option now?

No need to pass options now. What you have is correct.
For Chrome, just use the title from the window when it launches. Last I checked it was  'Google Chrome'.

It's throwing the error. How are you finding the title? My WATIR is printing empty string for @browser.title

Use ScreenRecorder::Titles.fetch('chrome').last right after you launch the browser. It'll give you the window title.

Hi, as you said, there is no need to pass the option now. It's great. But when It records Chrome, It records only black colour screen. I don't know why.

@Rajagopalan-M Please paste your code here. And the output from ffmpeg -version.

Here it is,
https://gist.github.com/Rajagopalan-M/74fbc8cc7b63ff7b69e4009642b7f044
It records only black colour screen while I run in Chrome.

@Rajagopalan-M I was able to reproduce it using Chrome 74 on Windows 10. Other windows like RubyMine, Firefox and Task Manager work fine, so it's something specific to Chrome/Chromium based browsers. I reproduced this on Brave as well.
Can you please create a new Issue with all the info that it asks for? It'll be easier for me to track it that way. Thank you!

Ok thanks
On Wed, 8 May, 2019, 10:19 AM Lakshya Kapoor<EMAIL_ADDRESS>wrote:

@Rajagopalan-M https://github.com/Rajagopalan-M I was able to reproduce
it using Chrome 74 on Windows 10. Other windows like RubyMine, Firefox and
Task Manager work fine, so it's something specific to Chrome/Chromium based
browsers. I reproduced this on Brave as well.
Can you please create a new Issue with all the info that it asks for?
It'll be easier for me to track it that way. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kapoorlakshya/screen-recorder/issues/68#issuecomment-490345975,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHR2N3QRRT57LICZC34CRTTPUJLUNANCNFSM4HJIZHNQ
.

@Rajagopalan-M Figured it out - Disable Harware Accelration in Chrome settings:

If I disable it works?
On Wed, 8 May, 2019, 10:28 AM Lakshya Kapoor<EMAIL_ADDRESS>wrote:

@Rajagopalan-M https://github.com/Rajagopalan-M Figured it out -
Disable Harware Accelration in Chrome settings:
[image: image]
https://user-images.githubusercontent.com/4314581/57350519-36d8b580-7113-11e9-8a89-c1c945fbc74f.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kapoorlakshya/screen-recorder/issues/68#issuecomment-490347531,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHR2N3SPJMD62FJK62BHCYDPUJMWZANCNFSM4HJIZHNQ
.

@Rajagopalan-M Yup, I just tested it in Chrome and Brave.
I have added an entry to the wiki for this - https://github.com/kapoorlakshya/screen-recorder/wiki/Black-Screen-on-Chrome

Great
On Wed, 8 May, 2019, 10:33 AM Lakshya Kapoor<EMAIL_ADDRESS>wrote:

@Rajagopalan-M https://github.com/Rajagopalan-M Yup, I just tested it
in Chrome and Brave.
I have added an entry to the wiki for this -
https://github.com/kapoorlakshya/screen-recorder/wiki/Black-Screen-on-Chrome
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kapoorlakshya/screen-recorder/issues/68#issuecomment-490348484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHR2N3X66IUKW3E2UF32RF3PUJNK7ANCNFSM4HJIZHNQ
.

@kapoorlakshya  It works like a charm. Amazing , Amazing! Amazing! Thanks a lot.


Refactor live test configs to use matrix generation, standardized yaml

This PR refactors the live test configurations to be consistent with the config model we are rolling out across the repositories (better multi-cloud handling, container handling, less duplication, etc.). It also introduces the usage of dynamically generated platform matrices, instead of the duplicated/embedded matrix definitions that currently exist across the tests.yml files. See the matrix README for more details.
There are a few special cases in python where the service live test configs do their own stage definitions. I've simplified these but the experience should be mostly the same. For formrecognizer, the new way to select canary and/or prod tests in the UI, is to click "stages to run" and make your selection, e.g.

/azp run python - monitor - tests

Sorry for the rebase/force-push spam.


Subsequent generation of profit/loss time series in M1 for a given trade history

The equity history recorded during a test run is not sufficient for later analysis. The history might be the trade history of a test, a real account history or an external signal's trade history (e.g. a MetaQuotes signal or a MyfxBook account). For reliable statistics like regressions and performance ratios a PL series in M1 is needed, especially if the history originated from a different timeframe (e.g. a test).
In a first step and for simplification we will distinguish between histories of single and mixed instruments. Later both types need to be handled automatically:

For single instrument histories results in pips are preferred. Results in money terms might be added if demanded.
For mixed instrument histories results in money terms are the only sensible way to go.
Results in money terms require an exact pip value calculation.
At the moment we ignore the issue of different trade server timezones as all times are in FXT anyway. Later we will convert to FXT or provide support for custom timezones.

Planned feature: Users can submit a test or upload a history for analysis. The history can be filtered and a new analysis can be run on the filtered trades only (e.g. the trades of a single strategy of a real account). The generated time series can be charted like regular instruments.

For time series in pips transaction costs are ignored as historic pip costs will be almost always unknown. This is not an issue as users can (and should) apply their current pip costs to the existing pip value per trade measurement to get a realistic result. In fact an average pip value per trade plus a costs value in pips give a clearer image of transaction and slippage impact than the ususal roughly estimated assumptions.

PL timeseries generation M1 for a one year test with about 1500 trades takes approximately 5 seconds.


Documentation link does not show when installed

Strangely, the documentation link does not show when installed in Craft.

I've had a look through the composer file and everything looks normal.
If anybody can spot the fix, they will be entered into the "Breadcrumb Eternal Wall Of Fame" !

If you have 'allowUpdates' => false, in your general.php and install a plugin, the documentation link is disabled.


Update starlette.asciidoc

add the word import here:
from elasticapm.contrib.starlette ElasticAPM
What does this pull request do?

Related issues
Closes #ISSUE

cla/check

@noampolak Can you please sign the CLA? Looks like the commit used the email<EMAIL_ADDRESS>so you'll need to sign it with that email.

@elasticmachine, run elasticsearch-ci/docs


Style/Attr is broken when an "attr" method is defined

if I have a method called attr, e.g. attr(*args, &block) or something like that then it breaks this cop.

Expected behavior
maybe it could only inspect classes/modules body?
Actual behavior
inspects methods body
Steps to reproduce the problem
source:
class A
  def attr(*args)
    p args
  end

  def a
    attr(1)
    attr(:a, 1)
    attr(:b) { 2 }
    attr(:c) do |a|
      2
    end
  end
end

auto-corrected:
class A
  def attr(*args)
    p args
  end

  def a
    attr_reader(1)
    attr_reader(:a, 1)
    attr_reader(:b) { 2 }
    attr_reader(:c) do |_a|
      2
    end
  end
end

(not sure how but I also had some attr_accessor and attr_writer inserted in my code, it somehow generated invalid ruby even like attr_writer(:something)
RuboCop version
$ rubocop -V
0.68.1 (using Parser <IP_ADDRESS>, running on ruby 2.6.3 x86_64-darwin18)

also messes up with Lint/DuplicateMethods


Automate nightly builds

Find a way to make the process of building nightly builds automatic:

Automatically tag the deploy/nightly/ tag
May be automatically merge pending PRs? (to be discussed)

Currently it is happening by this action, but manually: https://github.com/podkrepi-bg/frontend/actions/workflows/deploy-nightly.yml and the target is dev1.podkrepi.bg but the deployment is not live(@miraclebg can help here for access to the host)

Let's see if the fix of @nedstrike works tonight

The deploy is failing when we run it manually with:
Add known hosts
write (<IP_ADDRESS>): Connection refused

https://github.com/podkrepi-bg/frontend/runs/2823828136?check_suite_focus=true
It seems it's host related
cc @miraclebg

Builds are automated by github actions now


Sprint3: Release after meeting with clients

This is the final version before discussing with our clients. If they agree with it, I'll merge this version to dev and kick off sprint 4.

Clients give positive feedback on the current design, but there will be a few major changes in the next sprint.
Will log another issue for today's discussion and plan Sprint 4 this week.


update jackson version: 2.2.2 -> 2.6.4

there is a api change in jackson-databind that breaks things at runtime when jackon-databind 2.2.5 (or newer) is used

i'll send the pull request


Update _index.md

👷 Deploy Preview for santhoshi-krishnan processing.
🔨 Explore the source changes: 7da52f9fa1d7e453f0bd4ac9b8d5aedf0182ac35
🔍 Inspect the deploy log: https://app.netlify.com/sites/santhoshi-krishnan/deploys/623396ea14406b0008b54a81


Add try-except around hashlib.md5 calls passing usedforsecurity=False

An exception is currently thrown if passing the usedforsecurity=False
flag when calling hashlib.md5 using a version of python that currently
does not support FIPS.
At the time of this commit, the RHEL version of python supported
this, however, other versions did not. This issue is captured here:
https://bugs.python.org/issue9216
These changes can be dropped once that issue is resolved.

 Bug Fix: Catch errors thrown by hashlib.md5 in sites


Fix create window and engine reconnection bug

Occasionally on mobile device, sometime api.showDialog do not show content

And also api.createWindow do not work on mobile for some cases

when reconnecting the engine, plugins will be stuck in previous state, this PR will force those plugins to disconnect before reconnecting to the engine.

Need to fix dialog display on mobile.


Disable envoy hot restart

Part of https://github.com/istio/istio/issues/31138
This is generally to simplify running multiple Envoy's on one pod. It
may have the side effect of reducing the work Envoy needs to do by
disablnig hot restart. It also drops privileges required by Envoy (write
access to /dev/shm).
We don't use hot restart today. A user with custom fork might, in which
case they can either comment these two lines out or send a PR upstream
to make this opt-in. Until then, I think we can just hard disable it as
I believe no users are using this without a fork.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
f0f8f4652729b1e3a7817d377b41c7b07d477038
link
/test unit-tests_istio

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


Update post-ti-indicator.md

Made a few changes with valid values

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/5890

@JohanFreelancer9


strange error handling

Hi,
I've been using extism to implement a plugin system in a rust project and I'm facing a strange behavior regarding error handling when calling a extism plugin function generated with golang. To be honest, I don't know if the issue comes from the rust Extism library or the go-pdk library.
According to the documentation of this library:

An Extism export expects an i32 return code. 0 is success and 1 is a failure.

For the reasons, returningint32 different from 0 doesn't mean the wasm function failed for the rust host program.
Here the repo to reproduce the steps: https://github.com/Mcdostone/go-pdk-error-handling

returned code
setError
Host
expected
actual

0
false
rust
no error
no error

0
false
extism CLI
no error
no error

0
true
rust
?
panic

0
true
extism CLI
?
no error

500
false
rust
panic
no error

500
false
extism CLI
panic
panic

Let me know if you have any questions.

Hey, thanks for putting the examples together!
I think returning 0 after setting the error should result in an error, but it does seem like the return codes aren't triggering an error response in the Rust or Go SDKs. I will take a look at this today!

I've just opened https://github.com/extism/cli/pull/92 and https://github.com/extism/extism/pull/727 that should fix your their scenario

Just merged those and verified using extism from git fixes your example - please feel free to re-open if something isn't working correctly
Thanks again for your helpful reproduction of the issue!


chore: e2e tests with firefox

Moving E2E tests from chrome to firefox. Pain to get the docker images working.
Using GHCR to host a test runner image that reduces test time.

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (66f0c26) 95.44% compared to head (ac6dc42) 95.44%.
Report is 11 commits behind head on main.

:exclamation: Current head ac6dc42 differs from pull request most recent head 7b99351. Consider uploading reports for the commit 7b99351 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2564   +/-   ##
=======================================
  Coverage   95.44%   95.44%
=======================================
  Files         972      975    +3
  Lines       27199    27221   +22
=======================================
+ Hits        25959    25981   +22
  Misses       1240     1240

Files Changed
Coverage Δ

api/integrations/amplitude/amplitude.py
87.50% <100.00%> (-0.50%)
:arrow_down:

api/integrations/amplitude/constants.py
100.00% <100.00%> (ø)

.../amplitude/migrations/0006_add_default_base_url.py
100.00% <100.00%> (ø)

api/integrations/amplitude/models.py
100.00% <100.00%> (ø)

api/integrations/amplitude/serializers.py
100.00% <100.00%> (ø)

...reated_at_and_updated_at_to_organisationwebhook.py
100.00% <100.00%> (ø)

api/organisations/models.py
93.28% <100.00%> (+0.09%)
:arrow_up:

api/organisations/serializers.py
93.65% <100.00%> (ø)

...unit/integrations/amplitude/test_unit_amplitude.py
100.00% <100.00%> (ø)

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

can we (perhaps in a separate PR) use the e2e docker image here too: https://github.com/Flagsmith/flagsmith/tree/main/.github/actions/e2e-tests ?

can we (perhaps in a separate PR) use the e2e docker image here too: https://github.com/Flagsmith/flagsmith/tree/main/.github/actions/e2e-tests ?

That test doesnt use docker - the Github runners have chrome and firefox pre installed so probably best to carry on using those...


Unity support (Microsoft.CodeAnalysis 3.8)

Jab seems like a useful tool for Unity projects, as it provides a DI container that avoids runtime reflection and works on platforms with AOT requirements. However, Roslyn support in Unity is lacking behind and restricted to 3.8.
I was able to get Jab.Roslyn3 working in Unity by replacing
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.11.0" />

with
<PackageReference Include="Microsoft.CodeAnalysis" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="3.9.0" />

This causes some [NU1608] Detected package version outside of dependency constraint warnings, but seems to work correctly at least in basic use cases. Common 3.9.0 is required to use RegisterForPostInitialization API in ContainerGenerator.Roslyn3.cs.
What would be the best approach for supporting Unity projects? I can create a pull request either by modifying the Jab.Roslyn3 dependencies or by adding a new target like Jab.Unity.

@jarmo-kauko I tested successfully with CodeAnalysis 3.9.0 In Unity 2021.3.22.
I know VContainer uses the same version for Unity (even though VContainer's source generator is not very mature, so I'm not sure if it covers all cases)
Have you had any more insights to bumps in integrating Jab with Unity? I'm very interested in that option as well.

Created a upm package with extra tools to use with Jab + ready Jab dlls (from the new pull request)
https://github.com/AlonTalmi/Jab.UnityExtensions

Thanks to @AlonTalmi, unity is now supported. See installation instructions in readme


Clarifiy unexpected Packet private CIDR behaviour

Attempts to address or at least mitigate issue #159

Also, please update the commit titles to reflect the changes, (not just the unsuful gihub default of "Update ", squash them if possible :)

I'm more of a 'never rewrite (git) history' type of guy, so never bothered to learn how to either rename a commit or squash it, could you point me to the FM and I'll figure it out :)

@DGollings no worries, just add a different commit then and I can squash on merge :)

Quite the discussion: https://softwareengineering.stackexchange.com/questions/263164/why-squash-git-commits-for-pull-requests
I can see the pro/cons, but trunk based development ftw (?)
done, ish, removed what I think was a duplicate Note:


create documentation for AWS parallel cluster

Dependencies: deployment of AWS parallel cluster
Should update this: https://hpcportal.cr.usgs.gov/hpc-user-docs/cloud/awspcluster.html

Updated, format seems off, I am going to work next week(low priority) in making the format look better

Login and pre-requisities needs to change- now USGS is using AWS Identity Center.


bug: Ion tabs navigate back doesnt animate

Running:
Ionic 5
Angular 9
I have an app with a header bar and 2 buttons to the start and end, the first button at the start I would like to animate with navigate back however the page just jumps - the button at the end on the right navigates forward as expected.
Is there any way to make this.navCtrl.navigateBack(['account']) animate gracefully
this issues seems to be related and similar https://github.com/ionic-team/ionic/issues/18181

Thanks for the issue! This issue is being closed due to the lack of a code reproduction. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!


Pls confirm how this app connects to on premise SharePoint farm

The content is somewhat vague about HOW this app connects to a SP Server farm.  SP 2016 is mentioned, can the app also connect to SP 2013?  What network changes are required to support this app from a farm?  What certs are required installed on each device?  What other on premises changes are required to support this app?  Thank you.

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

ID: b42bcdeb-a2a5-e6f1-4779-d7d5b837db1e
Version Independent ID: 2d2bc902-f138-621f-3fc2-1de76bbe3f22
Content: Supporting the SharePoint mobile apps online and on-premises
Content Source: SharePoint/SharePointServer/administration/supporting-the-sharepoint-mobile-apps-online-and-on-premises.md
Product: sharepoint-server-itpro
GitHub Login: @tomresing
Microsoft Alias: toresing

@ltenison thanks so much for your feedback. I've updated the article to remove to be more clear that it doesn't only apply to 2016. The app connects to 2013, as well.

@ltenison The app connects to SharePoint like any web browser would, through HTTPS calls. As long as you expose your Web Application(s) via HTTPS to the Internet and use one of the supported authentication mechanisms with SharePoint, that's all that will be required. No certificates need to be installed on user devices.

Thanks for fix and clearity and thanks @ltenison for reporting and making the docs better.


UI becomes unresponsive to adding connections after around 20-30 have been added.

Like the title says, I can in some places no longer even get a new "thread" using my mouse, and in others it refuses to connect.

Hello,
Perhaps the problem is another here an example with 100 nodes and 100 connections.
Does the javascript console show you any errors?
Can you detail the error?
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/gh/jerosoler/Drawflow/dist/drawflow.min.css"
    />

@jerosoler, the one difference of your example was that you had many nodes and many connections. In my situation I had around 5-10 nodes, but more connections total and per-node.

how many connections?


tox and GitHub checks are not aligned

After opening #1555 the regex linter warned me about a problem in my patch. This was not caught during extensive testing using tox, and indicates that tox and the GitHub checks are not aligned with each other.
tox must be updated to use the same regex linter that GitHub checks is using so that contributors can catch problems before submitting PR's.

Right, but the regex linter check requires make support, which tox doesn't, so it's not entirely clear to me how you want the tox check to run the same checks as the GitHub actions. The GitHub actions are a superset of tox; eventually I expect things to shift even further in GitHub's favor (i.e. once we get make check to work.)
In any case, I don't see how we can get the regex linter run on Windows out of the box. Do you have any suggestions how to fix this?

Regexlint doesn't need make, it's just an external package and you call a script contained there.
I guess you could use regexlint as a library and create a "test" that calls it. It's an abuse of unit tests though, in my opinion.
Or does tox have a facility for integration of other types of checks?

Yes, I've created an initial patch that runs on Windows. Tox supports running arbitrary commands and treating their return codes as a pass/fail so no need for regexlint to be part of the unit tests. It'll simply be a different tox environment that gets run.

Ah my bad, I thought it required some Linux-ism to run. Should we include regexlint as a git submodule and run it through tox? It seems like a welcome addition (and potentially a better path forward for moving the other make check calls to?)

No need to make it a git submodule. Tox can specify it as a dependency to be installed, and pip supports checking out and installing a package from a git repo if that's required (though regexlint is available PyPI).
On September 27, 2020 4:57:14 PM UTC, "Matthäus G. Chajdas"<EMAIL_ADDRESS>wrote:

Ah my bad, I thought it required some Linux-ism to run. Should we include regexlint as a git submodule and run it through tox? It seems like a welcome addition (and potentially a better path forward for moving the other make check calls to?)
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/pygments/pygments/issues/1556#issuecomment-699660024

Ah, perfect. Let me look into this and see what I can do.

Regarding migrating commands out of make, tox might not be the right tool for arbitrary build or release commands. For example, tox is probably not the right tool for managing the build of the Pygments demo.
doit may be more appropriate -- it has strong support for specifying input file dependencies and output files, for skipping steps if the inputs and outputs aren't going to change, and running arbitrary commands. I've found it to be an powerful tool for automating builds and releases.

There's no need to replace make; even if tox runs the linter (which I approve, of course) the standalone make target is still useful.

I was mostly hoping to reduce duplication, i.e. have make check call tox going forward, once all tests are there -- but that depends on how easy it is to run arbitrary commands in tox.
I don't want to remove the make files wholesale; only the tests if that's feasible.

Sure, as long as you can still call the different things individually (i.e. make check, make regexlint etc.)
As for regexlint, I'd prefer to keep using our fork instead of upstream, since we can easily tweak some rules there when needed.

I updated #1557 to depend on Pygments' regexlint git master branch.
regexlint depends on Pygments, so tox is installing the latest Pygments release in the testing environment. I think this is probably unnecessary, but please evaluate. It may be worthwhile to remove that dependency from regexlint. Here's the output from tox when I ran tox -e lint a moment ago (I manually wrapped the lines):
lint installed:
Pygments @ file:///C:/Users/Kurt/Documents/dev/pygments/.tox/.tmp/package/11/Pygments-2.7.1.dev20200928.zip,
regexlint @ git+https://github.com/pygments/regexlint.git@3d7426ae369f139f2589a13939bd8723be15eacc

I just tried this locally and it seems to work. I did notice however that changing a rule like true|false|NULL to true|truer|false|NULL does not seem to trigger regexlint any more (I thought it specifically was looking for prefixes in alternative expressions?)
In any case, this seems to work, though it's significantly slower compared to running make regexlint. Timing make regexlint shows that the command takes
$> time make regexlint
# Removed output

real    0m2.655s
user    0m30.383s
sys     0m1.103s

In comparison, tox takes an eternity -- certainly not something I'd want to run locally during development:
$> time tox -e lint
# Removed output

real    1m4.879s
user    0m35.793s
sys     0m9.915s

Frankly I'd call this prohibitively slow. It's definitely not something I'd want make regexlint to use by default.

Uh, that difference should be investigated. It looks like missing parallelism, although user time is significantly higher as well.

As far as I can tell most of the time is spent in downloading/installing the package. The check itself is not much slower. This could be biased due to me running this on WSL2, but I thought the gap is big enough to not make tox the default path used by make regexlint. I'm not entirely sure what to profile here -- the test themselves seem to take comparable amounts of time.

Got it.

I'll check on the performance issue. You're right that it's all happening in the setup phase prior to actually running regexlint. I think tox supports skipping building a clean environment so they may be a win available here.

Thanks. My suspicion is that the (dependent) Pygments installation takes most of the time, and WSL2 certainly doesn't help. If it's a one-time cost that's fine for local use, but it won't help the CI as it starts from scratch every time.

There's no reason for the CI to change anyway.


Unable to connect to X because a connection attempt is already in progress after turning off/on bluetooth

Hello,
I'm facing this weird issue.
When a peripheral is in state where it's trying to connect, I disable bluetooth and enable it back(basically interrupting the process). The connection is then stuck and  this message printed every time I manually try to reconnect:

[centralManager] Unable to connect to 86B377B8-97B1-F21A-7BB4-50C5D7F8943C because a connection attempt is already in progress

The problem is, it's not connecting even after 10 min.
The only way to get the device reconnected is to kill the app.
Here is my reconnection code:
        switch state {
        ....
        case .poweredOn:
            try await reconnect(identifier: <ID_FROM_USERDEFAULTS>)
        @unknown default: break
        }

    @discardableResult
    func reconnect(withIdentifier identifier: UUID) async throws -> Peripheral {
        let restoredPeripheral = try await retrievePeripheral(withIdentifier: identifier)
        try await manager.connect(restoredPeripheral)

        return restoredPeripheral
    }

    func retrievePeripheral(withIdentifier identifier: UUID) async throws -> Peripheral {
        try await manager.waitUntilReady()

        var restoredPeripheral: Peripheral

        if let peripheral = manager.retrieveConnectedPeripherals(withServices: [.init(nsuuid: identifier)]).first {
            restoredPeripheral = peripheral
        } else if let peripheral = manager.retrievePeripherals(withIdentifiers: [identifier]).first {
            restoredPeripheral = peripheral
        } else {
            throw DeviceManagerError.unableToRetrievePeripheral(identifier: identifier)
        }

        return restoredPeripheral
    }

I'm not sure if it's a bug, or if I'm doing something wrong. Can't seem to find a way to cancel any pending connections.

Hi! You can wrap the call to try await manager.connect(restoredPeripheral) in a Task, store it, and then cancel it before attempting to reconnect again. This is a bit of a pain though. I'm looking at other options. Something I've been thinking is  exposing a flush method that clients can call when, for example, bluetooth is turned off. Anyway, please let me know if this works.

There's now a cancelAllOperations call you can make to flush all awaits. There's an example in the README, but tl;dr; you can call manager.cancelAllOperations() when the state switches to .poweredOff.


Python "Your session has been disconnected."

https://www.learnpython.org/en/Hello%2C_World!
Hi, I got that error message whenI clicked "Run" on the first example.
Also, it's not clear that DataCamp's "Free Tutorial" (which comes with a 40% discount) is actually not part of your site!  It took me a minute to realize you had more content here.
Thanks!

Hi @MichaelJCole, I was unable to reproduce. All the chunks seemed to be working for me on that page. If you refresh the page, does it still cause problems? If so, please send some screenshots of the error.

Hi, I got the error Your session has been disconnected on learnpython.org when i try to run.
Also, if i hover my mouse on the run it says "session inactive" and i dont know why i am experiencing this issue.

Hi @MichaelJCole, I was unable to reproduce. All the chunks seemed to be working for me on that page. If you refresh the page, does it still cause problems? If so, please send some screenshots of the error.

@bakera81 I am expereincing the same issue and i have refreshed several times still giving me the same error

I was still experiencing this.  I was able to resolve it by clearing the cookies for the website and refreshing.


Teststing unpackaged WinUi App

The goal is to create an unpackage WinUI WindowsAppSDK sample to demonstrate new features coming in v1.1.
This sample is based on the WinUI template from the templates folder.
The call to MddBootstrapInitialize() fails. I've verified that I'm passing the correct version number (we get a different error when passing the wrong version) and I've added the lib to the linker inputs and the dll to the delayloaded dlls.
I call ActivationRegistrationManager::RegisterForStartupActivation() for a proof of concept. I just wanted to see if I could call into the WindowsAppSDK, the actual sample will call APIs that aren't available in the current nuget. The call fails with 8000000E A method was called at an unexpected time. This seems to point to the method not being called on the right thread.
For the sample to launch, the four MSIX in the tools directory of the WindowsAppSDK package must be manually installed.

experiment completed


[✨] useOnVisible

Is your feature request related to a problem?
Currently useVisibleTask$ runs:

when the element enters viewport on hard navigation (<a>)
when the component is mounted on soft navigation (<Link>)

This means that we cannot rely on it to lazy query data for example, as it'll be trigger eagerly with soft navigation.
Describe the solution you'd like
As qwik loader already has an IntersectionObserver, I think it could trigger a callback when the element is visible.
export const Item = component$(() => {
  useVisibleTask$(() => {
    // Triggered lazily on MPA
    // Triggered eagerly on SPA
  });
  useOnVisible$(() => {
    // Triggered lazily on MPA & SPA
  });
})

Describe alternatives you've considered
Create a local hook for that, but it might be difficult to optimize.
function useOnVisibleQrl(cb: QRL<() => void>, options) {
  const ref = useSignal<HTMLElement>();
  useVisibleTask$(() => {
    const observer = new IntersectionObserver((entries) => {
      for (const entry of entries) {
        if (!entry.isIntersecting) continue;
        cb();
        obserser.disconnect();
      }
    }, options);
    return () => observer.disconnect();
  })
}
const useOnVisible$ = plicit$FirstArg(useOnVisibleQrl);

Additional context
No response

@wmertens According to mhevery this is how it's working "for now" :

Once the app is running in the client useVisibleTask executes eagerly.

From his comment
I think it can be confusing as developer might think it always execute code when the element enters the viewport.

Is there any update?

We are thinking of making it lazy, but it is dependant on other features landing first.

is this still valid?


Is there a feature i show images only , if i give media type images only still shows the video picker

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

hi, I am having this issue how do I solve it? my imageview does not show the selected image kindly help contribute https://github.com/Yummypets/YPImagePicker/issues/256

@abdullah-et
//change
config.screens = [.library, .photo, .video]
// into
config.screens = [.library, .photo]

This is actually the default configuration :)

Closing this for now for lack of activity, @abdullah-et don't hesitate to reopen if you still encounter the issue.


[AWS Lambda Java]Unable to see the traces and logs

Describe the bug
I have followed the instruction and build a lambda in java, added Layer. I am http collector. Enabled logging and seeing everything is ready but my collector is not receiving any data, I am unable to debug.
'OPENTELEMETRY_COLLECTOR_CONFIG_FILE' to '/var/task/opentelemetry-collector.yaml'
receivers:
otlp:
protocols:
http:
grpc:
exporters:
logging:
loglevel: debug
otlphttp:
endpoint: https://abcd:4817
service:
pipelines:
traces:
receivers: [otlp]
exporters: [logging, otlp/otlphttp]
metrics:
receivers: [otlp]
exporters: [logging, otlp/otlphttp]
extensions:
health_check: localhost:8080
Lambda snippet :
public class Handler implements RequestHandler<APIGatewayProxyRequestEvent, APIGatewayProxyResponseEvent>
Steps to reproduce
Described above
What did you expect to see?
I would like to see the tracing/span payload and if not sending to collector.
What did you see instead?
Nothing useful.
Environment
receivers:
otlp:
protocols:
http:
#endpoint: otlphttp-blue.monitoring.comcast.net:4318
  grpc:
     #endpoint: otlpgrpc-blue.monitoring.comcast.net:4317

exporters:
logging:
loglevel: "debug"
otlphttp:
endpoint: https://abv:4318
service:
telemetry:
logs:
level: "debug"
pipelines:
traces:
receivers: [otlp]
exporters: [logging, otlphttp]
metrics:
  receivers: [otlp]
  exporters: [logging, otlphttp]

Additional context
LOGS
{
"level": "info",
"ts":<PHONE_NUMBER>.230736,
"caller": "service/service.go:146",
"msg": "Everything is ready. Begin running and processing data."
}

Thanks for providing the context, Can you please provide more on what lambda layer(Java-Agent/Java-Wrapper)  along with version used in the example or is it a custom built lambda layer. The logging exporter with loglevel:debug is good start to get more insights of debugging, as i see that is already present in config. Can you be able to add a reproducible example for us to look at and complete logs if possible incase you are still facing the issue?


[BUG] Unable to see feed or search for a user

@jonjomckay

Duplicate #668

Closing as a duplicate of #668


"Printed matter" in OpenSlides documents

Is your feature request related to a problem? Please describe.
Missing but potentially very useful attribute for motions in OpenSlides.
Describe the solution you'd like
Motions of the state or federal governments or of the opposition in the state or federal parliaments or the Bundesrat, for example, have an identifier, the so-called "Drucksache" (printed matter), by which a motion can be clearly identified. I could imagine that such an indicator for motions in OpenSlides could also be very useful to be able to find motions across sessions and legislatures.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Otherwise, you could manually add it to the PDF?
Additional context
reference: https://www.mitmischen.de/bundestag-wissen/lexikon/d/drucksache#:~:text=Alle Dokumente%2C wie Gesetzentwürfe%2C Beschlussempfehlungen,%3A zum Beispiel 19%2F11800.

While using OpenSlides <4, you can easily use the origin field for that. To rename "Herkunft" to "Drucksache" you can use custom translations. In OpenSlides >=4 the origin will be something else, but I agree that we should keep a free field for individual information.
Motion1+Origin.pdf

Can the origin field be defined uniformly? So that "printed matter" would not have to be entered each time?

Has to be filled manually by editing the motion. In OpenSlides 4 it will be automatically filled after forwarding a motion to another meeting

So in OS 4, a local parliament could, for example, define printed matter for documents across sessions, and embed their scheme, right?

Yes and no. The origin field cannot really defined by the user directly, it contains information about the first meeting where a motion was submitted, usually the motions original title, the original identifier and the meeting name where it was coming from

Okay. That would come into play if motions were adjourned, right? A printed matter would also be quite complicated.
Unfortunately, I don't know and I can't accurately estimate how much effort it would take to have self-definable fields, such as "printed matter", "legislature" and then a field that makes the document unique. Could something like this perhaps be targeted for OS 4.1?


User submitted tie sheets having issues.

Steve Woolsey
<EMAIL_ADDRESS>Submitted 4/17 and 1/18
Steve Woolsey was submitting pdf's from 5 to 9 MB for a single page. Told them to compress the photos they are embedding and try again.
When they resubmitted them again, no photos so all were less than 1 MB now, but they still did not go through to the web page.
I am able to download them from the email to the county for review.
We had another user submitted same day and they went through fine and a couple of days later more submitted and they worked too.
Questions.
Can you check the log and see what is going on with Steve Woolsey submittals?
Why is there a pdf associated with the email for the county review, but nothing is put into the ftp site, is it a size restriction for the ftp site?
Let me know if you have more questions
Thanks

I added some extra logging around this part of the app to help figure out what is up. So next time he submits and it fails we can check out the logs.

Update.......Talked to Jerrod , who works for Steve Woolsey today he is going to email the photos they are using. Then we can try to recreate the issue and see what is going on.

Ok let me know when they do that and I will check the logs as well

I have not heard back from the Woolsey team yet today. I am guessing they don't work over the weekend but might be in the office today given the fine spring weather.

Talked to Steve W . they never used his seal when they submitted, he was going to into Settings and do that see if it works.
While we talked he described how they did things and it sounds like he is submitting a tie sheet using our form and submitting their own doc as a existing sheet.  I went back and checked the ftp site and there are docs in there now but they are the submitted sheets.
I did the same thing today (5/4) and I got two docs with the ..(2) behind the second. but I also only got one email sent to the County even though I submitted two.
I will have them submit some more and include the other sheet with the created document as an attachment which is an option.
We'll go from there.

lets close the ticket on that one until another situation crops up.


Expression in observables

Hello,
I have a doubt how to write the following pysb.Observable('PGA2PGA3', pga2() + pga3()) to produce %obs: 'PGA2PGA3' (|pga2()| + |pga3()|) kappa code
Thank you for any suggestion

I was looking for something similar recently. It looks like these lines: https://github.com/pysb/pysb/blob/85625b234bfb86fe91db859bd71fbc05fcad5c30/pysb/generator/kappa.py#L118-L127
currently produce a comma separated list of the terms of the reaction pattern, whereas the arithmetic expression you give above would actually work with KaSim. Should I try implementing this in the KappaGenerator, or is there some reason we shouldn't pursue this?

What does |pga2()| + |pga3()| mean for the Kappa observable? I can't find any documentation on that syntax.

The preferred representation for amounts is now to put |-s around the monomer, and you can define algebraic expressions of these to observe. Relevant documentation in this section: http://dev.executableknowledge.org/docs/KaSim-manual-master/KaSim_manual.htm#x1-320003.5


Access Permission Issues for Datastore saved files. -  Electron

I am using NeDB as a local storage for my electron app. Everything works fine except when I update my app , I want the data to be saved locally . But the new version cannot access data from files written  by my old version . it throws an EACCESS : permission denied Exception.
var db = new Datastore({ filename:"PATH_TO_FILE",autoload:true});

I can't see how this has anything to do with NeDB.  I would suggest asking within the Electron community how others are already handling this today.

Initially incorrect file access rights should be fixed manually.
Proposed pull request adds NeDB control of file access mode.

Indeed hard for me to see this as relating to NeDB given this is a file permission issue, likely due to config switch between Electron versions.
Also not sure I see value in having NeDB manage datafile permissions vs simply the developer?

It is insecure to manipulate file access righs AFTER creation and writing file contents.
Access righs should be set BEFORE creating a file or any attacker could listen to FS changes and to open a file before access righs were "fixed".
NeDB uses default NodeJS methods fs.open and fs.writeFile and asynchronous operation.
All these disallows me (as a developer and as an OS administrator) to control over file mode of NeDB files.
I want more secure files to be created with mode 600 and less secure file to be created with mode 640/660.
But you're simply arguing that NeDB shouldn't manage datafile permissions.
Why?
Why OS call to "open" makes this possible and you're revoking these righs from me?
$ umask
0000
$ node aa.js ; ls -l aa.nedb
-rw-rw-rw-. 1 xx xx 0 Mar 26 22:42 aa.nedb

const NeDB = require('nedb')
const fs = require('fs')
const msk = process.umask(0o060);
// enable autoload for the file to be created almost immediately
const db = new NeDB({filename: 'aa.nedb', autoload: true});
process.umask(msk);

Just refer to my pull request #549 which makes possible to specify file access mode and pass it to fs.open and fs.writeFile functions making file manipulation more secure and controllable way.

I saw the PR indeed but I still do not think permissions should be managed by NeDB - if you are worried about security to the point of wanting to mitigate the possibility of an attacker listening to FS changes I'm not sure NeDB is the right choice. Not that it has vulnerabilities that I know of, but given the intended usecase I did not put extra care on security.

Nice to hear from you that you're not worrying about security.
Each your internal call to "crashSafeWriteFile" would reset my permissions set on target file to insecure.
Anyway, without modification of NeDB I'm ABSOLUTELY unable to control over file permissions, because NeDB overwrite it asynchronously without any notification/callback.
The simpliest way to properly handle file permissions is to pass it to NodeJS file operations via NeDB constructor.
Otherwise it is unsolvable.


Unable to play mp4 video

Video streams from Twitter fail to load as well as locally downloaded mp4 files opened in the browser.

mentioned several times in other issues (freeworld codecs)