Luci statistics/CPU : bad argument #1 to 'pairs' (table expected, got nil)

URL:  /cgi-bin/luci/admin/statistics/graph/cpu
Rev:  r49067
Error Message:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute call dispatcher target for entry '/admin/statistics/graph/cpu'.
The called action terminated with an exception:
/usr/lib/lua/luci/statistics/datatree.lua:151: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

CPU graph works normally for me. Is anything special with your device?

Database store in external driver, file system is ext4 (mounted)

I've been getting some funkiness with luci-app-statistics in some recent builds, but have not identified root cause (may be a case of need make distclean and a full rebuild).

I've been getting some funkiness with luci-app-statistics in some recent builds, but have not identified root cause (may be a case of need make distclean and a full rebuild).

I have not noticed anything special. All 10 stats that I use, work ok.
(Conntrack, Processor, CPU Frequency, Entropy, Interfaces, Wireless, System Load, Memory, Ping, Thermal)

I experience this problem as soon as I change the storage directory to an nsf mounted directory. Data is written to the new directory, but I get this error in the web interface when I want to view graphs

So, common to both users with problem is that the data storage location is non-standard.
@iv-mexx
Could you share the relevant part of your luci-statistics config?
And does the error concern all stats plugins, or just some?

@hnyman and that applies to my case as well; I've not been using default location.

This is what looks like the relevant part for me, not sure if thats all though:
config statistics 'collectd_rrdtool'
	option enable '1'
	option RRASingle '1'
	option StepSize '30'
	option RRATimespans '600 86400<PHONE_NUMBER>400 31622400'
	option DataDir '/mnt/nebula/logs/rrd'

Its happening for all the plugins I've active right now:
Interfaces:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute call dispatcher target for entry '/admin/statistics/graph/interface'.
The called action terminated with an exception:
/usr/lib/lua/luci/statistics/datatree.lua:151: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

Wireless:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute call dispatcher target for entry '/admin/statistics/graph/iwinfo'.
The called action terminated with an exception:
/usr/lib/lua/luci/statistics/datatree.lua:151: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

System Load:
/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute call dispatcher target for entry '/admin/statistics/graph/load'.
The called action terminated with an exception:
/usr/lib/lua/luci/statistics/datatree.lua:151: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

My config is similar except the RRATimespans uses the default '1hour 1day 1week 1month 1year', and I get a similar problem with the data dir as '/tmp/rrd' instead of /tmp/collectd/rrd'.
When I traced my error message (don't have handy at the moment) it seems uci:get and uci:get_all are returning nil instead data.  It's like luci.model.uci.cursor() can't find the config file any more (i.e. the directly thing suggests some sort of issue with path handling).  I'm actually wondering if the culprit is a recent ubox change (uci depends on ubox but uci hasn't changed recently, and this error has only shown up recently for me).

Hm I noticed @ArianeLu's problem has been going on for a while, so may it actually was the uci update and just didn't get picked up in my case until I did distclean.

I'm going to exclude my issue as a datapoint for now, since it's not clear if it's the same.

Looking at the code in the above error messages, it appears in their case the data is not being found by the Instance._scan()

@ArianeLu @iv-mexx What version of OpenWrt/LEDE & LuCI? r seem like it might be 15.05 or older.

I'm actually using Turris OS 3.5.1 which seems to be based on 15.05 of OpenWrt.

OpenWrt omnia 15.05 r47055 / LuCI 5ca9e5d2391f6ca149db4e53cda7c8f5d3ef6644 branch (git-16.335.29518-5ca9e5d)

@cshoredaniel Maybe early version of Designated Driver, It maybe resolved after reformat to FAT32, I'm not sure about this, just because it happened in 9 months ago, sorry.

Ok, in @iv-mexx's case we'd need a test on stock 15.05 with corresponding luci (i.e. for-15.05 not trunk), and for @ArianeLu we're not sure it can be reproduced.  Therefore closing barring appearance of issue we can with something we develop.

@iv-mexx I'd recommend first approaching Turris OS and if they find something from upstream (us) we can deal with their report.

@cshoredaniel Ok, I just found this existing issue here fist (and no existing issue there)

This error slso can happen if the relocated datadir has insufficient permissions. Remember that the disgram render pages run as user nobody, so ensure that your *.rrd files and all parent directories are world readable.

Thanks jow, that requirement is not that obvious to the users.
I added the advice to the LuCI GUI with eaafb4508

For anyone who is looking for a solution, here is one. ssh to your router and execute the following command.
rm -r /tmp/luci-indexcache


Remove interfaces attribute from source mode

When mockgen is running in source mode, it always generate mocks for all interfaces in the source file, regardless of interfaces are provided in the argument. In fact, it doesn't need that argument. Bazel gomock rule should not require interfaces attribute either.

Thanks!

In retrospect, I should have noticed this was an API break and said no (but accepted the README changes). It even broke some old code of my own! Probably been too long now, but lesson learned from me.


program is starting and giving a choice, but does not rename the file

I have tvnamer installed on my Mac via Homebrew. After the update to Catalina it was still working. Just last night it startet to not rename the files. it is giving me a choice to choose from a list of shows, but afterwards it is just givin me the following error:
Traceback (most recent call last):   File "/usr/local/Cellar/tvnamer/2.5/libexec/bin/tvnamer", line 11, in <module>     load_entry_point('tvnamer==2.5', 'console_scripts', 'tvnamer')()   File "/usr/local/Cellar/tvnamer/2.5/libexec/lib/python3.7/site-packages/tvnamer/main.py", line 449, in main     tvnamer(paths = sorted(args))   File "/usr/local/Cellar/tvnamer/2.5/libexec/lib/python3.7/site-packages/tvnamer/main.py", line 355, in tvnamer     processFile(tvdb_instance, episode)   File "/usr/local/Cellar/tvnamer/2.5/libexec/lib/python3.7/site-packages/tvnamer/main.py", line 167, in processFile     episode.populateFromTvdb(tvdb_instance, force_name=Config['force_name'], series_id=Config['series_id'])   File "/usr/local/Cellar/tvnamer/2.5/libexec/lib/python3.7/site-packages/tvnamer/utils.py", line 641, in populateFromTvdb     show = tvdb_instance[force_name or self.seriesname]   File "/usr/local/Cellar/tvnamer/2.5/libexec/vendor/lib/python3.7/site-packages/tvdb_api.py", line 1182, in __getitem__     sid = self._nameToSid(key)   File "/usr/local/Cellar/tvnamer/2.5/libexec/vendor/lib/python3.7/site-packages/tvdb_api.py", line 1168, in _nameToSid     self._getShowData(selected_series['id'], self.config['language'])   File "/usr/local/Cellar/tvnamer/2.5/libexec/vendor/lib/python3.7/site-packages/tvdb_api.py", line 1092, in _getShowData     for curInfo in seriesInfoEt.keys(): AttributeError: 'NoneType' object has no attribute 'keys'
Unfortunately I do not know what is missing.
Thank you!

This is an issue with thetvdb api (https://forums.thetvdb.com/viewtopic.php?f=122&t=60034)
Hopefully it will be fixed soon.

thank you for the quick reply, so I will wait and hope!

Thanks for the information @ruuku !
I'll close this for now as it'll hopefully resolve itself on TheTVDB.com's side shortly


Custom list request

Hi,
I am trying to load grid data after anoth grid loaded. As there can be filtere applied on client side, I thought it would be better to just carry one transaction based on what is loaded.
Grid A load, grid B takes the data of grid A, filter and load.
Is there a way to have two listresponse, and how to call this service with the custom request?
public ListResponse<MyRow> List(IDbConnection connection, ListRequest request)         {              return new MyRepository().List(connection, request);   }         public ListResponse<MyRow> List(IDbConnection connection, CUSTOMListRequest request)         { return new MyRepository().List(connection, request);         }
Or is there a way to simply hide rows accordings to the row id? (without setitems, in order to keep a reverse selection)
Thank you,

You can use equalityFilter
    var equalFilter = { "yourField": YourValue };

    YourNamespace..XYZService.List(
        { EqualityFilter: equalFilter },
        response => {
            if (response.Entities.length > 0) {
            }
        }
    );

Thank you for your answer, but shouldn't I use "criteria" rather than equalityfilter?
My objective is to remove the ids present on the other grid.

Try something like this
    var criteria = Serenity.Criteria;
    criteria.join([criteria, '<', 2], 'or', [criteria, '>', 5]);

    YourNamespace.XYZService.List(
        { Criteria: criteria as any },
        response => {
                    if (response.Entities.length > 0) {
                    }
                }
    );

Thank you Estrusco,
If I may ask, is there a way to convert the items "fieldid" into a clean sql string?
Thank you,

Fot others what I did:
`
var items = this.parent.otherTab.view.getItems();
        var request = this.view.params as SpecialListRequest;

        for (let item of items){
            request.Criteria= Serenity.Criteria.and(
                request.Criteria, [['theId'], '!=', item.theId]);
        }

this.refresh();
`

Thank you Estrusco. criteria.join does not work for me. I have tried and
let criteria = Serenity.Criteria.and([['fieldName_1'], '=', this.entity.Id], [['fieldName_2'], '=', this.userId]);

YourNamespace.XYZService.List(
    { Criteria: criteria as any },
    response => {
                if (response.Entities.length > 0) {
                }
            }
);


Document APIcast parameters

There is a number of parameters that can be set for APIcast that modify its behavior, normally they are set via environment variables (e.g. AUTO_UPDATE_INTERVAL , APICAST_SERVICES, APICAST_MISSING_CONFIGURATION etc.)
All these parameters need to be documented: the name, what they do, what are the allowed values/format.
I think this needs to be a separate reference document.

We try to document them in https://github.com/3scale/apicast/blob/v2/.env

Agree good to document somewhat in one 'doc' that is not code, but having in too many places causes an update overhead.
Thinking about your (valid) example of someone installing from OpenShift template and not seeing the code.... made me wonder what documents or mechanisms for showing information are available....  I think Joaquim mentioned to me the ability to embedd some "notices" in the template itself and they are shown to the user .... for that use case that might be a better place?

Someone installing from OpenShift template will see all of them as template parameters in the UI. Each param has description.

Closed by https://github.com/3scale/apicast/pull/192


azdata-LanguageService is causing huge delays in query execution

I'm connecting to my SQL Server located in the UK from Australia (ping around 300ms).  When I'm running any query (even very simple one) I sometimes need to wait for up to a minute to see the result.
Steps:

Hit Run

Messages window is emty (no "Started executing..." message yet). But I can see "Executing query" in the footer)

In SQL Server profiler I can see the following queries from azdata-LanguageService app:

exec sp_executesql N'select c.definition,convert(bit,OBJECTPROPERTY(c.object_id,N''ExecIsQuotedIdentOn'')) from [UK001P].sys.sql_modules c where c.object_id = @_msparam_0',N'@_msparam_0 nvarchar(4000)',@_msparam_0=N'296296761'

or
exec sp_executesql N'SELECT
CAST(ISNULL(ic.seed_value,0) AS bigint) AS [IdentitySeed]
FROM
sys.tables AS tbl
INNER JOIN sys.all_columns AS clmns ON clmns.object_id=tbl.object_id
LEFT OUTER JOIN sys.identity_columns AS ic ON ic.object_id = clmns.object_id and ic.column_id = clmns.column_id
WHERE
(clmns.name=@_msparam_0)and((tbl.name=@_msparam_1 and SCHEMA_NAME(tbl.schema_id)=@_msparam_2))
OPTION (FORCE ORDER)
',N'@_msparam_0 nvarchar(4000),@_msparam_1 nvarchar(4000),@_msparam_2 nvarchar(4000)',@_msparam_0=N'Parameter_Id',@_msparam_1=N'bit_CubeGetParameter_SSAS',@_msparam_2=N'dbo'

and others

Only after all those queries have been run I can see "Started executing ..." in the messages window and get the output dataset shortly.

It seems to me that Intellisense is just getting the list of all DB object it can find in my query editor and fetches for metadata. And because the server is far it's actually a gap of 2 seconds between the calls.

Oh, it seems that I've already submitted the same issue a year ago...
Sorry, you can close this one.

@romanovmv thanks for providing the profiling details.  The language service queries should be executed asynchronously with the SQL Script queries.  We'll double-check to make sure there isn't some unexpected blocking between these two components.

Just in case it helps... Had to wait for around 1 minute to get the result, so that part is not included into GIF.
I've also checked on my Windows VM, the same problem.

Had to roll back to the ADS version from February 2018, that one works much faster...

Looks like this may be the same problem #7440

My team and I have been suffering from these problems since March, when we started telecommuting. At that point we started to connect through the VPN and the situation has gotten quite complicated at some point. When we go to the office and we are within the corporate network, we have no problems or are mitigated by the low latency of the network.
We have reviewed the VPN outages and it is totally stable, the pings are within normal metrics. My whole team is working on Ubuntu machines, but other Windows machines using SQL Manager do not suffer from these problems in the same situations.
I need to know what information could be contributed to the thread to be able to advance this topic (logs, traces, configurations, ...). I believe that quite a few of us are affected and that together we can eradicate this problem that affects us all.

My team and I have been suffering from these problems since March, when we started telecommuting. At that point we started to connect through the VPN and the situation has gotten quite complicated at some point. When we go to the office and we are within the corporate network, we have no problems or are mitigated by the low latency of the network.
We have reviewed the VPN outages and it is totally stable, the pings are within normal metrics. My whole team is working on Ubuntu machines, but other Windows machines using SQL Manager do not suffer from these problems in the same situations.
I need to know what information could be contributed to the thread to be able to advance this topic (logs, traces, configurations, ...). I believe that quite a few of us are affected and that together we can eradicate this problem that affects us all.

Same there, we can confirm that the performance is extremely bad when latency between client and server goes above 100ms. It is particularly slow(though it's so slow already) when your query yields an error result, typically takes more than a minute to return.

Maybe related with https://github.com/microsoft/azuredatastudio/issues/22970 ?

Wonderful, I've been using the insiders version 1.45.0 all day today and the improvement detected is impressive, I'll keep testing

I have been using the stable version 1.44.1 and the Bug has been fixed, wonderful

Thanks for confirming!
Closing as resolved.

Hi @cheenamalhotra ,
I don't believe this has been fixed. I'm on 1.44.1 and experiencing the same issues as I did when created this ticket. In order to reproduce you can just go F1 -> Refresh Intellisense Cache and then try and execute any query while the refresh happens.

This issue has been fixed in the latest insiders build and fix will be included in the upcoming release.
Closing as resolved :)


[Backport release-24.05] beyond-identity: 2.60.0-0 -> 2.97.0-0

Description of changes
Backport https://github.com/NixOS/nixpkgs/pull/309931 to 24.05.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I'd rather merge two cerry-picked commits than a merge commit, hence i'm closing this in favor of https://github.com/NixOS/nixpkgs/pull/316493. You too should be able to add the appropriate backport label to the PR in these cases.


Example/Tests not working correctly

python -m unittest discover
coverage run tests.py
/tmp/ta/ta/trend.py:608: RuntimeWarning: invalid value encountered in double_scalars
dip[i] = 100 * (self._dip[i]/self._trs[i])
/tmp/ta/ta/trend.py:612: RuntimeWarning: invalid value encountered in double_scalars
din[i] = 100 * (self._din[i]/self._trs[i])
.............................................................................................................
I suspect this is is because manually running the all_features_example.py gives the same issue, which i've also included in the dockerfile.

Here is a Dockerfile that you can reporoduce:
FROM fedora:latest
ENV TZ=America/New_York
RUN yum install which initscripts -y
RUN yum install mysql bc jq git gcc freetype-devel gcc-c++ python3-devel make -y
RUN yum install python3-pip -y
RUN pip3 install awscli
RUN pip3 install --upgrade ta
run rpm -qa |grep pytho
RUN cd /tmp; git clone  -b '0.5.25' --single-branch --depth 1  https://github.com/bukosabino/ta.git
RUN cd /tmp/ta; pip3 install -r play-requirements.txt; make test
RUN cd /tmp/ta/examples_to_use; python3 all_features_example.py

Hi @TheCrockett ,
This is a warning, not an error.
We are working to solve it.
Best,
Dario


Pad change notifier

Initial spec: Send an email to<EMAIL_ADDRESS>when a pad is created and/or updated.
I believe there's a plugin to facilitate that. Maybe this:
https://www.npmjs.com/package/ep_email_notifications

I have found the same plugin, but it's based on subscription (no ability for create notification) - I think we will have to develop that one by ourselves. Although, as soon as there is a module for sending emails from NodeJS environment (which definitely exists), it's very easy to make a message sending plugin.

I have a node app that sends me mail when someone updates something: https://gomix.com/#!/project/caitlin
But let's snooze this for now since it's not high enough priority to write our own plugin at this point.


Bug: The 'Command' field is not automatically filled with latest template 1.3.0

The 'Ruling' and 'Car' fields are filled, but 'Command' remains empty

I cannot replicate this with a fresh copy of the template.
In your screenshot the "Replay time" column should be filled out but it is not. Maybe that is related to your problem.
The cells C4 and K4 should have an array formula to fill in the whole column. Check those.
Otherwise i will have to look at the file directly.


Zed won't launch/start after update

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it

Download either Zed Stable or Preview from https://zed.dev/releases/stable

Double-click on the downloaded Zed.dmg file.

Drag the Zed Preview app to the Application folder

I receive the following error:
"Zed Preview" can't be opened because Apple cannot check it for malicious software.
Doesn't matter if it's Zed 0.117.0 (Stable) or Zed 0.118.0 (Preview).
Note: Zed worked last month but when I went to go update it, it now broke.
Environment
I'm unable to run that comment, since Zed won't launch.
Apple M1
16 GB RAM
Ventura 13.6.3
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
Log size exceed max form length.
Log found below:
https://gist.githubusercontent.com/michealp-coder/01a5ac91f9194e175a1b82e746d836a0/raw/ad53f12e52786ae59ef1be92c1aedafab3367d14/gistfile1.txt

I suspect it has something weird to do with NodeJS given what I'm reading in the Logs.

Just an update, I have tred the latest Preview (0.119.3) and Zed still won't launch.
I get the same error message:
"Zed Preview" can't be opened because Apple cannot check it for malicious software.
I think this is a result of a corrupted NodeJS install.
Could that be possible? Does Zed depend on NodeJS as an application?


Updated Bicep types package

Codecov Report

Merging #1305 (9fa1be8) into main (1c53d70) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1305   +/-   ##
=======================================
  Coverage   95.00%   95.00%
=======================================
  Files           2        2
  Lines          20       20
=======================================
  Hits           19       19
  Misses          1        1

Flag
Coverage Δ

dotnet
95.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Added selectable inputfields instead of forcing id and text.

@linusbrolin merged all 3 PRs from you
thank you so much!
I gave your write access to ng2-select
and welcome to ng2 team :)

cool, thanks :)


Enforce tag_relation:assign when creating box with tag IDs

 2.0 Enforce permissions when creating box with tag IDs


authN: support GitHub authentication

Is your feature request related to a problem? Please describe.
GitHub can be used as an authenticator. It is useful when developers are on GitHub and is desirable to avoid separately managing authentication for zot.
Describe the solution you'd like
https://github.com/google/go-github
https://github.com/google/go-github/blob/master/example/basicauth/main.go

This library can also be used with OAuth2 (golang.org/x/oauth2).
See an example at:
https://blog.kowalczyk.info/article/f/accessing-github-api-from-go.html

Fixed in #1381


[opencv] build failure with NVIDIA video codec

Operating system
Windows 10, x64
Compiler
MSVC
Steps to reproduce the behavior
Download and copy include and lib files to your CUDA toolkit directory from here: https://developer.nvidia.com/nvidia-video-codec-sdk/download

.\vcpkg install opencv[OPENMP,CUDA,CUDNN]:x64-windows
build fails with a bug in NvEncoder.cpp (patch is attached)

Failure logs
fix_nvencoder.patch
Additional context
No response

Please include logs files with errors as well

I don't have the error log available, but the attribute pixelBitDepthMinus8 doesn't exist in hevcConfig anymore. pIntializeParams->encodeConfig->encodeCodecConfig.hevcConfig.pixelBitDepthMinus8-------- Ursprüngliche Nachricht --------Von: Alex @.>Datum: So., 11. Aug. 2024, 08:21An: microsoft/vcpkg @.>Cc: kauai68 @.>, Author @.>Betreff: Re: [microsoft/vcpkg] [opencv] build failure with NVIDIA video codec (Issue #40393)
Please include logs files with errors as well
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@kauai68, Could you please provide the steps to reproduce your error?


feat: add api service

Created wrapper and methods for sending requests to the server

Also fixed server CORS policy and body data retrieval for the login method


feat: fast and standard queue in CES controller

In order to allow to enforce Network Policy quicker in more critical namespaces, we propose to introduce a second queue in the CES controller.
CES and CEP updates from namespaces listed as prioritized in the controller's attribute priorityNamespaces are added to fast queue and processed first. The namespaces are listed in the priorityNamespaces attribute if they have an appropriate annotation.
Feature proposal doc

/test

/test

/test

/ci-clustermesh

/test

/test

/test

/test

/test

/ci-ipsec-upgrade

cc @marseel

This CI is failing because this branch is almost one month behind main. In general, whenever you are pushing an updated branch, it's always in your best interest to rebase to the latest main. Any push will invalidate previous CI results, so you might as well update to latest main to reduce the chances of having to push again because the CI fails.

@Kaczyniec This branch is (exactly!) one month behind main. As a result the builds are failing. I'd recommend to take each push as an opportunity to rebase onto latest main.

/test

/test

/ci-e2e-upgrade


Environment variables include variables that are specific to certain examples

It seems like some of the environment variables are no longer required by next-drupal-basic-starter since it has started using the DrupalClient. At least DRUPAL_FRONT_PAGE and DRUPAL_SITE_ID seem unused, and could potentially be removed from the environment variables that are provided by the Drupal module. If we still want to keep this in the module output, I guess we should at least add a comment there that some of the environment variables are required by some of the examples, but might be unnecessary.

I've created a PR to fix this. Thanks @lauriii
https://github.com/chapter-three/next-drupal/pull/251


[GSSoC'23] SWASTIKA Project Ready

Title and Issue number

Title - SWASTIKA
Issue Number - 2747
Close #2747

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@pranjay-poddar @MohitGupta121 @Saurabh-kumar09 Sirs, i requested to review this pr and merge for a successful contribution under GSSoC'23 program
Thanks for assigning this project to me


Update-PSResource should remove old module versions optionally with a switch

Summary of the new feature / enhancement
When updating PowerShell modules with PowerShellGet, it would be great if the Update-PSResource cmdlet also handled the trash, that is optionally removing old versions of modules at the same time.
This could at least be an optional feature, maybe a switch?
I'd like this switch to be available and working, both when feeding a given module to update, but also if updating all modules.
The lack of this feature build in made me start work on this huge script some years ago.

https://github.com/o-l-a-v/PowerShell-Projects/tree/master/PowerShellModulesUpdater

I still use it. But if PowerShellGet v3 could get this cleanup functionality built in, it would be much better. :)
Proposed technical implementation details (optional)
Implement a switch for whether old versions should be nuked when a new version get's installed.
Default behavior could be either IMO, as long as we have a switch. Least destructive change would not to change the default behavior I guess.

Thanks @o-l-a-v, we have similar issues opened on this topic tracked in #581 and #86. We will mark this as a duplicate and linked the issues.


Update darktable.json with latest NSIS exe file

Script to cope with new NSIS exe, some hints :

NSIS executable command-line arguments: /S for silent install and /D= for destination folder
RunAsInvoker to avoid the elevation asked by the NSIS setup
pipe to Out-Null to force to wait for the end of the installation

Also re-added checkver and autoupdate

/verify

@rasa Really you pushed it with this name? I though it is clear that format <manifest>(@<version>)?: Change is clear.

@rasa Really you pushed it with this name? I though it is clear that format <manifest>(@<version>)?: Change is clear.

Yeah, my bad, sorry. I did it again yesterday. I will strive to be more careful.


Avro decoder

A simple Avro message decoder for Camus, which uses Confluent's schema registry client.
Only considered IndexedRecord as Camus ignores Kafka message key when ingesting data to HDFS.
@junrao @ewencp  Can you take a quick look at this?

@Ishiihara What's the state of this PR? Do you need more review from @junrao / @ewencp ?

@nehanarkhede I am working on adding check of schema versions. There are some work remaining. Will try to get it done by end of day today.

@Ishiihara I think we should update the default camus.properties file to use the new decoder class so packaged versions in Confluent's distribution just do the right thing by default when they use the default settings.

This depends on https://github.com/confluentinc/schema-registry/pull/117

@ewencp Already changed the default decoder in Camus to point to our implementation of AvroMessageDecoder.

@Ishiihara got it, I think the name still having linkedin just confused me.

Looks good to me. You can commit after addressing the minor comments. I assume you will update the doc in a separate issue.

Will merge to confluent-master with https://github.com/confluentinc/camus/pull/7


Include space-prioritized pointed list?

This library's current approach to an undo/redo manager prioritizes time over space. In other words, if my a element in Pointed a stored a massive amount of data and I want to undo/redo something in that data that only changes one thing, I would be duplicating a lot of data unnecessarily.
Another way this idea could be implemented is via a change object. This approach would prioritize space over time.
I'm not familiar with the Haskell version of pointed-list, but since this library is a port of that library, should this idea be included in this repo based on the similarity for how to handle undos/redos? Or should it be turned into its own separate repo?

Hi @JordanMartinez,
Thanks for your propostion and intreset in this lib ;-)
I'm not sure if I understand fully your exact scenario but I think we have something similar in our app - we don't keep snapshots of the whole state anymore and use "reversabe" history entries.
In history we keep representation of change and interpreting it later. So we have Group  instance for our history entries:
instance groupEntry ∷ Group Entry where
  ginverse (Add arr) = Remove arr
  ginverse (ChangeColor {id, from, to}) = ChangeColor {id, from: to, to: from}
  ginverse (ChangeLevel { id, direction: Up }) = ChangeLevel { id, direction: Down }
  ginverse (ChangeOpacity {id, from, to}) = ChangeOpacity {id, from: to, to: from}
  ginverse (Move { id, trans:(Vector {x, y})}) = Move {id, trans: (Vector {x: -x, y: -y})}

  ...

and we have some interpreter - something like:
execute ∷ Entry → Scene → Scene

It works pretty well ;-)
As a side note - we are separating actions on scene from entries in history. We encapsulate our scene in like Machine abstraction which gets Action and turns them into history entries - which are interpreted (so we have like two layers but quite nice separation):
data Modification
  = Move Vector
  | Rotate Radians
  | Scale Number
  | SetColor Color
  | SetOpacity Number
  ...

data Action
  = Add (Array Figure)
  | History Direction
  | ModifyObject
      { id ∷ ID
      , modification ∷ Modification
      }
  | Remove (Array ID)

Our API to the scene is a Machine build on top of this simple stepper which turns Action into Entry (adds it to history if it is not an history action) and interprets it:
stepper ∷ Scene → Action → m (Step m Action Scene)

P.S.
So undo is "like" (pseudo code!): prev >>> ginverse >>> execute and redo dosn't use ginverse.

P.S.
There are some dirty edges of our for example "dragging"  scenarios as these changes are not applied directly to our scene but at the end of the action but I think i is not important here.

Basically, my 'exact scenario' is to port over FXMisc/RichTextFX via Halogen, which uses FXMisc/UndoFX as its undo manager.
Thus, the state I am storing is the content of the document that may contain a huge number of "paragraphs". While it can (and will) be more complicated than this, for simplicity's sake, consider these paragraphs as nothing more than a String. An undo could be as simple as inserting/deleting/replacing one letter in that document; hence, I don't want to store the entire document in each part of the PointedList.
Also, there are times when the changes should be "merged". By inserting "a" (user pressed the 'a' key) and then inserting "b" (user pressed the 'b' key immediately after), I can store one change that inserts "ab". When the user undos the change, the "ab" part is deleted instead of just the 'b'.

I'm not sure if I'm able to model it in a sane way right away but you can store history Entry` like:
data Entry = Insert Location String | Delete Location Location

Regarding actions "compression" you can provide some merging strategy (or even a Monoid instance) and when you are just above to add an action you can check current focus if it meets your requirements for merging with this new Entry you can merge and replace if not you can go and add new Entry to history.
Am I missing something in this simple approach?

Of course there is some redundancy in for example Delete entry as we keep the content of deleted String so we are able to ginverse it and have Insert from it.

I'm not sure. Still, I think for now, I'll just port the FXMisc/Undo library the way it is and then improve the API later in some breaking change. Right now, my goal is just to figure out what problems I need to handle due to how browsers work. Once these problems have been identified, I can then refine the solution.
My original question for opening this issue can be rephrased like so: is this library strictly a port of Haskell's pointed-list? If so, then any modifications to this idea should not be stored here but included in a repo that depends on this repo, so that people can share the same PointedList type. If not, then any modifications to this idea (in terms of adding other API for domains that use a pointed list) could be included here.

It is really close port of Haskell library. But I'm not able to understand what doesn't mean "time prioritized" and I wanted to know this. I don't think that moving API to typeclass level changes anything. In your api you are doing interpretation through typeclass methods and implementing ginverse with this Invertable...

Of course the other completely different question is how you are going to store your document so it won't be whole copied on every change but I think that this is completely different story..

I re-read through this issue and things make more sense now. In your example above, you have a Group instance, but I did not understand what that was when I first read through it. After looking it up, now I understand what it is. I speed-read your explanation but didn't understand it, so I decided just to explain what my goal was and continue the conversation there.
Now that I understand what Group means and having reread your original example at a slower pace, I now understand what you are doing and that does seem like it will work for my use case.

@JordanMartinez To be honest there is not much in this library. It is only a nonempty list with selected element :-)

Right, but it can be used to build higher abstractions. Your above example shows one such "pattern" that works as an undo manager and is a pattern I can re-use in my code.
Now that I understand your example better, I don't think there is a need to add something to this library. Rather, perhaps the 'pattern' could be abstracted into a new project.

@JordanMartinez
The only problem with implementation of inverse using Group is that Group requires an Monoid which is not


Scheduled tracking

Allow for moneybot to send interval-ed stock information to users who request it. Should only occur during open market hours.

Ideally this information could be saved inside an external DB, so that on restarts alert information would not be lost.


GRR Integration

Name and Version
charts/osdfir-infrastructure
What is the problem this feature will solve?
Add GRR for remote live forensics
This will take a larger chunk of work given the many GRR components such as the GRR Clients, GRR server, fleetspeak so will need to be planned appropriately with the GRR team.
What is the feature you are proposing to solve the problem?
Integrate GRR into OSDFIR Infrastructure via creating a standalone Helm chart and add the GRR Helm chart as a dependency to OSDIR Infrastructure with the option to enable/disable.
What alternatives have you considered?
No response

Closing in favor of #28


challengeSecrets.jsaon.sample is missing

The instructions say to run the following but the file is not found and is nowhere on this site.... apparently
sudo -u scd cp challengeSecrets.json.sample challengeSecrets.json

No longer used


Playlist folders are not supported

When you say 'Playlist folders are not supported' / 'Existing playlists can only be viewed unorganized', does it means that song I've from playlists organized in folders, will not be "seen" and do not appear in 'All' songs after I've run 'Sync Library'!?
When you say 'Generated playlists have to be moved manually to a folder if desired (only required once)', does it means that if I move a generated playlist into a folder, later if run the same generator, the result will go directly into the folder where I've put it before!?

The "All" meta playlist contains everything in your library (liked songs, songs in liked playlists and tagged songs that are no longer in your liked songs or in liked playlists).
Yes exactly. When you run a generator it changes the existing playlist, independent of which folder it is in, but a generator can't put it into folders since that is not supported. So if you generate a playlist "pop" it will be created in the root folder of your playlists. If you then move it to say a "GenrePlaylist" folder and run the playlist generator again, the generator will update the playlist and it will stay in the "GenrePlaylist" folder.
I updated in readme to clarify this. Thanks for the feedback.


font size in replay

When we updated the software on srx (5id) the font size in replay was something along the lines of 5 point or so.  Absurdly small.  @gjwillms was able to fix this by changing the default font options with qtconfig.  He suggested that gnome and kde have baseline settings for qt apps and xfce does not.
This would be a valuable thing to add to the docs

email from Garth:

For your information, I fixed this on xf05id1-ws4 by changing the default font options with qtconfig.  Could be that gnome and kde have baseline settings for qt apps and xfce does not.

For completeness, my procedure sets the system-wide default qt application font to "Sans Serif,18,-1,5,50,0,0,0,0,0," which beamline scientists are likely to be able to read.  This applies to all text within the widgets, but does not affect the font used for the title of each individual widget in the pane--including the titles of tabs.  I've been unable to discover from whence, in the display manager's config, this font specification is derived by, I assume, enaml/qt.  Perhaps setting the widget's minimum font size to 12 or 14pts would resolve the issue (Xfce seems to default to a 9-pt sans serif font that, as @ericdill notes, is absurd.)?

It looks easy to control fonts using enaml stylesheets but I can't see how to implement a minimum font size that still respects a (larger) qt default.


Problems in the test workflow

Even if there is test failure, the plugin is not always faling. No sure why.

Fix by adding readiness probe to he erabliereapi deployment in the staging environment. Still working on integrating cypress


Pod IP is unreachable when Calico VXLAN mode is set to Always

When pod network is set up with Calico, and its inter-node communication is configured to use VXLAN, the pod IP on a pod VM is unreachable from the worker node.
# curl http://<IP_ADDRESS>
curl: (7) Failed to connect to <IP_ADDRESS> port 80: No route to host

This problem does not occur with Flannel even though Flannel also uses VXLAN.
The used VXLAN IDs (VNIs) are as follows, so there are no conflicts.

VXLAN ID

Peer Pod
555000

Calico VXLAN
4096

Flannel
1

There are iptables rules set by Calico to drop VXLAN packets.
-A cali-INPUT -p udp -m comment --comment "cali:MYAij0dXtIVCOZ-i" -m comment --comment "Allow IPv4 VXLAN packets from whitelisted hosts" -m multiport --dports 4789 -m set --match-set cali40all-vxlan-net src -m addrtype --dst-type LOCAL -j ACCEPT
-A cali-INPUT -p udp -m comment --comment "cali:c3JpWekSTKWcdGH0" -m comment --comment "Drop IPv4 VXLAN packets from non-whitelisted hosts" -m multiport --dports 4789 -m addrtype --dst-type LOCAL -j DROP
-A cali-OUTPUT -p udp -m comment --comment "cali:gPT-T3DOftxv-f7s" -m comment --comment "Allow IPv4 VXLAN packets to other whitelisted hosts" -m multiport --dports 4789 -m addrtype --src-type LOCAL -m set --match-set cali40all-vxlan-net dst -j ACCEPT

I manually added pod VM IP address by executing the following command, but the added IP address immediately deleted.
ipset add cali40all-vxlan-net <IP_ADDRESS>

A possible workaround of this issue is to use another UDP port for VXLAN packets.

I confirmed that changing the UDP port fixes the connectivity issue.

Another workaround is to add an iptables rule that explicitly allows VXLAN packets by peer pod tunnels.
Calico's configuration parameter chainInsertMode  is set to Insert by default. This feature always keeps the Calico rules ahead of the other rules. So, we need to turn this feature off to add a rule that permits peer pod VXLAN packets.
https://projectcalico.docs.tigera.io/reference/resources/felixconfig
https://github.com/projectcalico/calico/blob/v3.24.1/felix/iptables/table.go#L1179-L1190

A possible workaround of this issue is to use another UDP port for VXLAN packets.

@yoheiueda do you mean a separate VxLAN UDP port for peerpod? if it does not require calico config change, I think it's preferred.

A possible workaround of this issue is to use another UDP port for VXLAN packets.

@yoheiueda do you mean a separate VxLAN UDP port for peerpod? if it does not require calico config change, I think it's preferred.

I am working of making VXLAN UDP port in cloud-api-adaptor configurable. Then, we can use a different VXLAN port in cloud-api-adaptor, while we are using the default VXLAN port in Calico.

Thanks for chasing this down @yoheiueda, we hit the same issue when implementing Azure support.
If calico does not want to change their behavior then it would be good to change the default vxlan port so that we don't have to pass a custom port in every provider.


DataFrame.apply produces transposed result

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 20.04

Modin version (modin.__version__):

0.7.3+167.gc685f41.dirty

Python version:

Python 3.8.2

Code we can use to reproduce:

import modin.pandas as pd
import numpy as np

df = pd.DataFrame(
    {
        "col1": ["a", "a", "a", "b", "b", "c", "c", "c"],
        "col2": [10, 20, 30, 40, 50, 60, 70, 80],
    })

print(df)
df1 = df.apply(lambda s: pd.Series([111.11, 222.22], index=['aa', 'bb']))
print(df1)
print(df1.shape)

Describe the problem

Result here is quite different in Modin compared to Pandas. Bug looks similar to DataFrameGroupBy.apply() bugs #1682 and #1587.
Source code / logs

As of latest master the results seem to be matching pandas, so I will close this issue.


Fix remaining /etc/surfconext usage.

This has been renamed to /etc/openconext.

Oh, this was already in master. We need to cherry-pick b385d5fc3a9f805684e549e4f2fb47083ea8383c from master then to fix this issue.

Resolved through #318 with cherry-pick :smile:


Not Really An Issue

So I actually don't know how to get ahold of Garhoogin/you other than making an issue here, so sorry but this is more of a request sort of thing.
So there's a file in LEGO Battles which at least appears to fit the bill for the LZ11 compression like the images, and which makes so little sense in its current state I feel like it has to be compressed (that file is BP / Entities.ebp, if you'd like to check). However, I could not get any lz11 decoders I found on the Internet to decompress it.
So I was wondering if you could somehow, and I mean this in the least demanding, least time-bound way humanly possible, take your decompression code from here and like separate it out. So like it would just spit out a decompressed file instead of passing it along to NitroPaint.
Thank you for reading this, and thank you for continuing to put up with requests regarding a single random game.

Got it, thanks so much for that!


bot.take_step()

Expected Behavior
Working as usual
Actual Behavior
errors and exists with the following
Traceback (most recent call last):
File "./pokecli.py", line 220, in
main()
File "./pokecli.py", line 211, in main
bot.take_step()
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/init.py", line 36, in take_step
self.stepper.take_step()
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/stepper.py", line 62, in take_step
self._work_at_position(position[0], position[1], position[2], True)
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/stepper.py", line 139, in _work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/init.py", line 93, in work_on_cell
worker.work()
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/cell_workers/move_to_fort_worker.py", line 30, in work
self.stepper._walk_to(self.config.walk, *position)
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/stepper.py", line 88, in _walk_to
alt, False)
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/stepper.py", line 139, in _work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/init.py", line 63, in work_on_cell
if self.catch_pokemon(pokemon) == PokemonCatchWorker.NO_POKEBALLS:
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/init.py", line 190, in catch_pokemon
return_value = worker.work()
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/cell_workers/pokemon_catch_worker.py", line 74, in work
balls_stock = self.bot.pokeball_inventory()
File "/home/shpapy/PokemonGo-Bot-NL/pokemongo_bot/init.py", line 234, in pokeball_inventory
inventory_dict = inventory_req['responses']['GET_INVENTORY'][
KeyError: 'GET_INVENTORY'
Steps to Reproduce
./pokecli.py -cf config_2_GOOGLE.json
"auth_service": "google",
"username"<EMAIL_ADDRESS>"password": "something",
"location": "52.391342,4.6442478 ",
"gmapkey": "MY KEY",
"max_steps": 15,
"mode": "all",
"walk": 4.16,
"debug": false,
"test": false,
"initial_transfer": 0,
"location_cache": false,
"distance_unit": "km",
"item_filter": "101,102,103,104",
"evolve_all": "NONE"
Other Information
OS: Elementary os
Linux  3.16.0-77-generic #99~14.04.1-Ubuntu SMP Tue Jun 28 19:18:41 UTC 2016 i686 i686 i686 GNU/Linux
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
ec2b7add95da6bc580035d8d4c472c1d41e439a6

This is an issue with Pokemon GO servers.
Please switch to the dev branch.
To do this, make a new directory for the dev branch and run the following:
git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot
cd PokemonGo-Bot
pip install -r requirements.txt
Once that is finished, edit the configuration(s) in 'configs/' then run python pokecli.py
If this works, please close the issue.

seems to be working +1

dev works.
thanks

thanks guy


Not support chrome or edge browser

Thanks for your report. I will investigate this problem.

You need to fix WSAEventSelect and probably WSAAsyncSelect as well,
when these are set you can not use ioctlsocket to clear FIONBIO, it returns an error,
you need to first clear WSAEventSelect then you can unset FIONBIO using ioctlsocket, do the proxy handshake, set the appropriate event, restore the WSAEventSelect preset and also have a hook on WSAEnumNetworkEvents and make it FD_CONNECT set in the lpNetworkEvents->lNetworkEvents when queried.


Handle another mod implementing ConcordantChoir

Handle the situation where the ConcordantChoir spell is already provided by another mod. In this case, we use the first version registered.

I don't think there's any way to properly populate SpellConcordantChoir.Id when the spell is provided by another mod, which means that the scrolls created for this spell still won't work if the other mod is loaded first, but at least the user can play the game.

Closing this, since Petr updated the game to handle this without us doing anything special.


Create document with CJK font, only first variance present

I have create a PDF for Invoice, and Test with CJK font KaiGenGothic as both normal font and bold font.
When the PDF have text use either one font, it do not change to another anymore.
doc.font('fonts/KaiGenGothic-Regular.ttf')
   .fontSize(25)
   .text('Some text with an embedded font!', 100, 100)

doc.font('fonts/KaiGenGothic-Bold.ttf')
   .fontSize(25)
   .text('Some text with an embedded font!', 100, 100)

And I have test the fork version "pdfkit-cjk", that seems have fix this issue, but have other issue that have fixed here.

I have same problem.  Could anybody help for this?  Thanks a lot

I have same problem but in Thai.
The work around solution is...
For text1 use 'NotoSansCJK', but text2 use 'NotoSansCJK2' fonts
both 2 fonts are same font file
doc.registerFont('NotoSansCJK', 'NotoSansCJK-Regular.ttf');
doc.registerFont('NotoSansCJK2', 'NotoSansCJK-Regular.ttf');
the output PDF file will bigger.

I have read saknarak's method before. And I have try it before I submit this issue. I think your work around seems can be done for your case. But my case is, It only use the first registerFont with the first font variance and then never change again.
For my use case, the document need to have some euro fonts with style and have some in CJK character.
But i have try pdfkit-cjk, they have fix the problem, but without the updates after their last commit. I cannot use it because although they have fix this problem, but they did not handle the characters right

I found my solution from here
https://github.com/devongovett/pdfkit/issues/279
and here
https://github.com/devongovett/pdfkit/issues/244#issuecomment-47069541


[FTX] No implementation of MarketDataService.getTicker

Hi All,
There is no implementation of getTicker for the Market Data Service.
According to the FTX docs, they don't really give tickers as defined in Xchange.
But by combining the information of getMarket and getCandles (which I added) we can fill a full ticker.
I will submit this implementation shortly.
Let me know if it's OK for you or if you have any comments or maybe a simple way of getting this info.
Thanks

Good practices in this project is to use only one API call per operations. If not possible, please take care of rate limits by using resilience.

@cymp Ok thanks, I'll have a look ... and come back to discuss it

I saw this was merged I put a comment on there closing this as complete


Add SSL certificate

Problem
http://charlestontechnology.com/ may generate warnings in Chromium or even full page error pages in Firefox with HTTPS-only mode, or if attempting to visit https://charlestontechnology.com
Warnings from http://charlestontechnology.com/

Errors with https://charlestontechnology.com

Afaik, this should be able to be enabled in Github pages for free, although there might need to be some tweaks to the DNS entries if something is invalid
This is the process that needs to take place: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages
More information:

https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site
https://docs.github.com/en/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https

Thank you @oliviasculley. Resolved.


libcap: 2.24 -> 2.25, replace old split with multi-output

Things done

[ ] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

As there are other open PRs against master which cause mass-rebuild, I based this against master not staging.
I'm not sure about removing the old packages or leaving them as aliases so I left the edit in a separate commit.

Rebased and updated to reflect the comments.

@groxxda We need another rebase due to conflicts.

@fpletz  done - the conflict was introduced by the kde cleanup this morning unamused:


Cannot capture image in second screen

I run this code and being panic in Ubuntu 20.04 Wayland: called Result::unwrap() on an Err value: IoError(Custom { kind: Other, error: "Zero width not allowed" }). Here is my code:
`
use screenshots::Screen;
fn main() {
let screens = Screen::all().unwrap();
for screen in screens {
    println!("Capturing {screen:?}");
    let image = screen.capture_area(screen.display_info.x, screen.display_info.y, screen.display_info.width, screen.display_info.height).unwrap();
    image.save(format!("images/{}.png", screen.display_info.id)).unwrap();
}

}`

fixed #81


ParentLayout id changed

I changed the ConstraintLayout id from relativeLayout2 to constraintLayout

Kindly review my pull request  and give feedback @ujjwalagrawal17

@ujjwalagrawal17  kindly check this out, I think the pull request for #64  and #66  are together here

The new layout seems similar in design but the click area of TextViews are reduced which will lead to bad user experience i.e they will feel clicks are not working if they click on right side.

@kulloveth can you increase the width of all the textviews.

Other changes are good.

@ujjwalagrawal17 kindly check this out, I think the pull request for #64 and #66 are together here

Yes, it should Ideally have 2 separate PRs.

Ok, working on it

Also, can you add a scroll view. It doesn't seem to work well with small phones.

Also, can you add a scroll view. It doesn't seem to work well with small phones.

I will add a scrollView, what about using matchParent on The textViews ?

Yes that too we need to increase.
On Thu 3 Oct, 2019, 6:10 PM Nwokike Loveth C<EMAIL_ADDRESS>wrote:

Also, can you add a scroll view. It doesn't seem to work well with small
phones.
I will add a scrollView, what about using matchParent on The textViews ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WikiEducationFoundation/apps-android-wikiedudashboard/pull/71?email_source=notifications&email_token=AEVTAA4WVFZ2PMF5WZRCMVLQMXR37A5CNFSM4I4XLKY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIB67Q#issuecomment-537927550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEVTAA4XROTURHNUJEZ67XTQMXR37ANCNFSM4I4XLKYQ
.

Repeated PR.


Feat/frontend/community photo

This adds an image input component to the edit community page. Not sure if that's what was originally intended with this issue. Some refactoring might be needed to reuse the page form for other pages as well.  (like how the EditEventForm component is now reused)
Web frontend checklist

[x] Formatted my code with yarn format && yarn lint --fix
[x] There are no warnings from yarn lint
[x] There are no console warnings when running the app
[ ] Added any new components to storybook
[ ] Added tests where relevant
[x] All tests pass
[x] Clicked around my changes running locally and it works
[x] Checked Desktop, Mobile and Tablet screen sizes
-> styling is not ideal now but that is better done in separate issue

@darrenvong Ive just commited your suggestion but apparently a review is again required


Press  to search for a string

Currently, after highlighting a word, pressing Ctrl+F, triggers a search and then repetitively pressing <F3> will sequentially show you all the matches.
However, pressing <F3> after highlighting a word, will bring up the last searched item (if it isn't the first word you're searching for; if it is, it will search for the word).
Feature Request
Pressing <F3> after highlighting a word triggers the find menu with the highlighted word

You could configure the keybinding for "Find" (Ctrl+F) to instead be F3. https://code.visualstudio.com/docs/getstarted/keybindings
Does that achieve what you want?

@RMacfarlane not really.
Ideally I would want both Ctrl-F and <F3> to allow me to search for things.
Currently, after using ctrl+F on a highlighted bit of text, I can use F3 to see the next search result, but can't use it to trigger a new search which seems a little inconsistent.
I could be wrong here, but setting a custom Key binding will not allow me to use both of those keys, right?

You could probably get this to work with the right "when" clauses for your keyboard shortcuts. Basically you want F3 to run the ctrl+f command when focus is in the text editor.

Okay, thank you! Will take a closer look at the key bindings.
However, is there no way this could be shipped as a default behaviour, with the facility to turn it off?

I wouldn't want to change the default behavior, or add a new keybinding, and it feels odd for a setting to change this. But I will leave the decision to the expert.

Any update on this?


Fix build and link to guide.

npm run build was failing.
I've followed the example config in js-data-repo-tools.
Also a link to the documentation has been corrected in the README.md.

Thanks!


v2.0.0, moves models into components schemas

moves models into components schemas
adds _oapg suffix onto each model module to prevent collisions with inline schema property definitions
codegenPropety/codegenModel.complexType + now includes the module name, with values like pet_oapg.Pet
removes !addSchemaImportsFromV3SpecLocations code paths, only addSchemaImportsFromV3SpecLocations is used
added imports use only complexType now, no other property sources like baseType
moves addDiscriminatorMappedModelsImports out of CodegenModel into DefaultCodegen so it can be used for codegenProperty in the future
adds self reference handling for

models (components/schemas)
request bodies

complexType changed to refClass for simplicity

Todo

fix java tests

Future

Update the docs to work with the self reference + adjacent schema properties
use pyproject.toml + src directory per latest best practices
add internal property reference handling
add response body self reference handling, example, and test

PR checklist

[ ] Read the contribution guidelines.
[ ] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
[ ] Run the following to build the project and update samples:./mvnw clean package
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh

Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/python*.
For Windows users, please run the script in Git BASH.

This PR was doing too much and rebasing it is too much work. I will add these changes in separate PRs


Release/3.0.1

Summary
Describe the changes proposed in this pull request:

What is the motivation for this change?
What existing problem does this pull request solve?

Tested scenarios
Description of tested scenarios:
Fixed issue:

This was a test.


[HDInsight] ARMViolation DefaultErrorResponseSchema   R4007

DefaultErrorResponseSchema
the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
We will fix this ARM violation error in our next api version

This  item is still in our backlog now.

This item is still in our backlog now.

on going

on going

on going

The issues cannot been fixed due to breaking change policy.


Physical Activity ROI - QC

Physical Activity ROI Requirements: https://nih.app.box.com/file/1646113563720. Physical Activity ROI to be released under Jan Release Schedule.
For preparing for physical activity return of information, we will need create a QC Report for the Phys Act ROI flags (e.g. not specifically tied to module 2 data completeness but flags such as report delivered, report viewed/declined, etc), report delivered/viewed when module 2 flag=not submitted, etc. Variables and information related to physical activity report flags such as report delivered, report viewed/declined, report trigger are documented in the requirements doc linked above.
@KELSEYDOWLING7 please consult with @bransteitterbr and @jacobmpeters on what QC is needed based on the variables being stored.

Was this issue and #195 meant to have @BrittanyCrawford405  tagged?


Create Banner Art for merge

PR Description
Another version of the panda banner art to print during merge.  This is just the ascii art.  Will work on log4j integration later, but wanted to put out a competitor to the other panda here
My panda is based on the panda EL<>CL Ethereum Meme: see this image
Fixed Issue(s)

fixes issue #5321
Documentation
Add Panda ascii art file.
Changelog
Add Panda ascii art file.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for this. Going to close this issue as we have #5877 which is the actual code involved and we can find this for the art from there.


Scrollspy with remote link

I've got several subdomains and I would like to implement a navigation bar using scrollspy. However I can't get Scrollspy working when I use anchors on several subdomains. Is there a way to get it working?
For example:
test1.domain.com/#anchor1
test2.domain.com/#anchor2
test3.domain.com/#anchor3
Even better would be to recognize just the URL which has been clicked and not the anchor :)

Are you trying to dynamically update the navbar to show which section is visible as the page scrolls, or are you trying to just indicate which page the user is currently on?
If it's the latter case, you have to do this yourself, that's not what ScrollSpy is for.

Sounds like the latter is what you're after. In that case, simple add .active to the appropriate li in the nav and you're fine.


Move DeployedModule enum to constants.py

Without doing this, I was unable to call get_contracts_deployment_info() from contract_verifyer.py.
I saw an error:
        if module not in DeploymentModule:
>           raise ValueError(f'Unknown module {module} given to get_contracts_deployment_info()')
E           ValueError: Unknown module DeploymentModule.RAIDEN given to get_contracts_deployment_info()

from get_contracts_deployment_info().
It seemed like the Enum visible locally in contract_manager.py was different from the Enum imported into contract_verifyer.py .
I guess that's why many enums are defined in constants.py.`

This is the first split part of https://github.com/raiden-network/raiden-contracts/pull/798 .

A potential cargo cult is going on here.


Support: Visible transactions amounts per person

The transaction only shows the full amount and doesn't show how much of each transaction is allocated to each person.
Is there a way for me to see the amounts that the transaction has split out into? Maybe I just can't find where it is?
Thanks!

Very much agree, I've been meaning to ask the same thing for awhile, for example the following is much easier to understand :)

This could probably be incorporated into the expense summary in place of "Participant A Paid for Participant B, Participant C":


⚠ Bofrost.nl has degraded performance

In e7a1fb6, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 970 ms

Resolved: Bofrost.nl performance has improved in 6475b07 after 9 minutes.


[AppBar] adds toolbarHeight property to customize AppBar height

Description
Adds a new property toolbarHeight property to customize the AppBar height.
Related Issues
#23373
#40134
Tests
I added the following tests:

Added test that toolbarHeight is respected by the AppBar.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

@Piinks I have not replaced the _kLeadingWidth with the AppBar.toolbarHeight to make the leading button a square, because if the height is not kToolbarHeight than the AppBar will not follow the Material spec and the position of the title and actions can be disturbed. Let me know if I should change it.
https://github.com/flutter/flutter/blob/401690a64f7780ca55c763ebf2e0b449b1180c2e/packages/flutter/lib/src/material/app_bar.dart#L524
Also, I have only included a test for AppBar that it respects toolbarHeight since I was not sure which other properties I should test because if anything outside of the AppBar fails, it would be a break in that particular widget.  Let me know what other tests this PR should cover to be confident about the changes, happy to iterate over it.

This sounds like a continuation of https://github.com/flutter/flutter/pull/52949 which stems from https://github.com/flutter/flutter/pull/48621 and https://github.com/flutter/flutter/pull/48557. Assuming that it is, it would probably be worth reviewing the feedback that has accumulated so far.

This sounds like a continuation of #52949 which stems from #48621 and #48557. Assuming that it is, it would probably be worth reviewing the feedback that has accumulated so far.

True true! Refreshing on those before reviewing here.

This sounds like a continuation of #52949 which stems from #48621 and #48557. Assuming that it is, it would probably be worth reviewing the feedback that has accumulated so far.

Hey, @HansMuller thank you. I went through the feedbacks and code changes of both the PRs. I guess. I have taken care of the notes you left in the reviews. Apart from that, the PR was adding a centerIcon property, which I have not added including other tests like position of FloatingActionButton. Let me know if I should include those tests or any other test I should add to the PR.

@AyushBherwani1998 why not add toolbarHeight to AppBarTheme?

Hey @v7lin 👋 ,
The issue I picked didn't describe adding toolbarHeight to AppBarTheme, hence I didn't add the support of toolbarHeight in AppBarTheme in this PR. You can create an Issue as a proposal describing the feature you want and usecase, and I'll try to send a PR soon. Thank you!


Customize the scrubber handle

I want to change progress bar's style it's means i want change handlare and heaight and width of progress bar how to do this?

.dz-progress {
height: --px; // in pixels
width: --; // in pixels
}

.dz-progress {
height: --px; // in pixels
width: --; // in pixels
}

Totally wrong but thanks for responding.

This will be possible in a future update using CSS Custom Properties. For now you can build your own version of the SASS or write some CSS to overpower the default CSS but I'd just wait. That sort of change wouldn't be desperate anyway.

See the latest version:
https://github.com/sampotts/plyr#customizing-the-css


A new idea: Can we generate mask coefficient and prototypes in the same convolutional layers?

@dbolya
Hello Daniel Bolya,
In your original paper, "Prediction Head" is in charge of generating mask coefficients, and "ProtoNet" is in charge of generating prototypes.
Can we use "ProtoNet" to generate both mask coefficients and prototypes? So as to let mask coefficients and prototypes can share the params in "ProtoNet" together.
Thank you!

They already share the same backbone, but I see your point.
The reason mask coefficients are generated in the prediction head is that you need "instance-level" information somewhere in the network to tie masks to a specific instance. ProtoNet has no instance information, but the prediction head does which is why coefficients are generated there in the first place.
Now there are object detectors that repool features inside an instance box, so those features don't have to be instance-specific, but the end result can be. Check out R-FCN for details (it's what FCIS uses and they repool mask features). However, this has alignment issues and is slow because of repooling which is why we don't do it this way, but it's definitely possible.

They already share the same backbone, but I see your point.
The reason mask coefficients are generated in the prediction head is that you need "instance-level" information somewhere in the network to tie masks to a specific instance. ProtoNet has no instance information, but the prediction head does which is why coefficients are generated there in the first place.
Now there are object detectors that repool features inside an instance box, so those features don't have to be instance-specific, but the end result can be. Check out R-FCN for details (it's what FCIS uses and they repool mask features). However, this has alignment issues and is slow because of repooling which is why we don't do it this way, but it's definitely possible.

@dbolya
Okay, I see your point.
We need to instance specific information, which existed in the Prediction head, but not the ProtoNet head.
Thank you very much!

No problem!


Error log Help me.

[01-Sep-2019 07:59:38 UTC] PHP Fatal error:  Uncaught ErrorException: -->  [Captcha] ERROR. captcha page found. No implementation exists for this yet!
in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php:16
Stack trace:
#0 /home/betrost/public_html/src/CloudflareBypass/CFCurlImpl.php(83): CloudflareBypass\CaptchaPageImpl->getClearanceUrl('--> ')
#1 /home/betrost/public_html/index.php(39): CloudflareBypass\CFCurlImpl->exec(Resource id #3, Object(CloudflareBypass\Model\UAMOptions))
#2 {main}
thrown in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php on line 16
[01-Sep-2019 08:00:17 UTC] PHP Parse error:  syntax error, unexpected 'private' (T_PRIVATE), expecting '{' in /home/betrost/public_html/src/CloudflareBypass/CFCurlImpl.php on line 22
[01-Sep-2019 08:04:39 UTC] PHP Fatal error:  Uncaught ErrorException: -->  [Captcha] ERROR. captcha page found. No implementation exists for this yet!
in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php:16
Stack trace:
#0 /home/betrost/public_html/src/CloudflareBypass/CFCurlImpl.php(83): CloudflareBypass\CaptchaPageImpl->getClearanceUrl('--> ')
#1 /home/betrost/public_html/index.php(39): CloudflareBypass\CFCurlImpl->exec(Resource id #3, Object(CloudflareBypass\Model\UAMOptions))
#2 {main}
thrown in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php on line 16
[01-Sep-2019 08:05:24 UTC] PHP Fatal error:  Uncaught ErrorException: -->  [Captcha] ERROR. captcha page found. No implementation exists for this yet!
in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php:16
Stack trace:
#0 /home/betrost/public_html/src/CloudflareBypass/CFCurlImpl.php(83): CloudflareBypass\CaptchaPageImpl->getClearanceUrl('--> ')
#1 /home/betrost/public_html/index.php(39): CloudflareBypass\CFCurlImpl->exec(Resource id #3, Object(CloudflareBypass\Model\UAMOptions))
#2 {main}
thrown in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php on line 16
[01-Sep-2019 08:05:25 UTC] PHP Fatal error:  Uncaught ErrorException: -->  [Captcha] ERROR. captcha page found. No implementation exists for this yet!
in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php:16
Stack trace:
#0 /home/betrost/public_html/src/CloudflareBypass/CFCurlImpl.php(83): CloudflareBypass\CaptchaPageImpl->getClearanceUrl('--> ')
#1 /home/betrost/public_html/index.php(39): CloudflareBypass\CFCurlImpl->exec(Resource id #3, Object(CloudflareBypass\Model\UAMOptions))
#2 {main}
thrown in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php on line 16

Hi DrPaw. Which site are you requesting?

`<?php
ini_set("display_errors","0");
header('Access-Control-Allow-Origin: *');
header("Content-type: application/json; charset=utf-8");
include 'src/autoload.php';
use CloudflareBypass\CFCurlImpl;
use CloudflareBypass\Model\UAMOptions;
$file 		= "cache/data.txt";
$ch = curl_init("https://www.ciprobet22.com");
/curl_setopt($ch, CURLOPT_PROXY, '<IP_ADDRESS>:8080');/
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// Want to cache clearance cookies ?
curl_setopt($ch, CURLOPT_COOKIEJAR, $file);
curl_setopt($ch, CURLOPT_COOKIEFILE, $file);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36");
curl_setopt($ch, CURLOPT_POST, true);
if($_POST) {
curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST);
}
if($_GET) {
curl_setopt($ch, CURLOPT_POSTFIELDS, $_GET);
}
$cfCurl = new CFCurlImpl();
$cfOptions = new UAMOptions();
// $cfOptions->setVerbose(true);                        // Enable verbose
// $cfOptions->setDelay(5);                             // Set delay before requesting clearance
// $cfOptions->setExtraHeaders(["header: value"]);      // Set extra headers (use this instead of CURLOPT_HTTPHEADER)
$page = $cfCurl->exec($ch, $cfOptions);
// Want to get clearance cookies ?
//$cookies = curl_getinfo($ch, CURLINFO_COOKIELIST);
echo $page;
`

That works for me, can you try pulling down the latest version of master and trying again?
Make sure you have verbose mode enabled. And paste all logs on a pastebin and link me to it.

I installed the latest version and now I get this error.
you can look at this address.  http://betrost.com

Hi DrPaw, run the php file through command line with $cfOptions->setVerbose(true) uncommented in the example file and send me the logs the script produces.
Paste it into a paste at http://pastebin.com

Hi KyranRana as you said, it does not create a log file for me at the moment you can look at the address again.
http://betrost.com

`<?php
include 'src/autoload.php';
use CloudflareBypass\CFCurlImpl;
use CloudflareBypass\Model\UAMOptions;
$ch = curl_init("https://www.ciprobet22.com");
// Want to cache clearance cookies ?
// curl_setopt($ch, CURLOPT_COOKIEJAR, "cookies.txt");
// curl_setopt($ch, CURLOPT_COOKIEFILE, "cookies.txt");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36");
$cfCurl = new CFCurlImpl();
$cfOptions = new UAMOptions();
$cfOptions->setVerbose(true);                        // Enable verbose
// $cfOptions->setDelay(5);                             // Set delay before requesting clearance
// $cfOptions->setExtraHeaders(["header: value"]);      // Set extra headers (use this instead of CURLOPT_HTTPHEADER)
$page = $cfCurl->exec($ch, $cfOptions);
// Want to get clearance cookies ?
// $cookies = curl_getinfo($ch, CURLINFO_COOKIELIST);
echo $page;`

What version of PHP is your server running?
What version of cURL is your server running?
What version of OpenSSL do you have installed on your server?

Curl Version: 7.62.0
Php Version 7.2
OpenSSL/1.0.2k

Also, are you sure you put the script above onto http://betrost.com ? You should see some logs if you did. Logs are added as echo statements so they should appear in the source code.

Hi KyranRana I'll give you ftp information if you want to review there.

Sure that would be useful. I'll also try running the same script with your PHP version.

It gives such an error after the last update.   Error log
[02-Sep-2019 05:56:52 UTC] PHP Fatal error:  Uncaught ErrorException: -->  [Captcha] ERROR. captcha page found. No implementation exists for this yet!  in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php:16 Stack trace: #0 /home/betrost/public_html/src/CloudflareBypass/CFCurlImpl.php(83): CloudflareBypass\CaptchaPageImpl->getClearanceUrl('--> ') #1 /home/betrost/public_html/index.php(28): CloudflareBypass\CFCurlImpl->exec(Resource id #3, Object(CloudflareBypass\Model\UAMOptions)) #2 {main}   thrown in /home/betrost/public_html/src/CloudflareBypass/CaptchaPageImpl.php on line 16

Try with version 3.3.0 ?

Closed due to inactivity.


Refactored to use Faraday

This needs to be tested on 1.8.4 before being pulled.

We can't install bundler on 1.8.4, and Faraday requires a ruby gems version that doesn't run on it.
I say we go ahead and merge this and bump to 0.2.0. We'll just have to make sure the 1.8.4 app uses 0.1.2.


Could not find lighter (no oil) + Brenda Rosso always causing a crash

Version
3.0.1 (412b94e)
Seed
R730-WBL9-XQHHHHCZUYB00NK49H2020808A00RZZZ10Y
Scenario
RE 3 (Jill)
Player Character
Jill(RE3R)
What happened?
Apparently the item I need (LIGHTER NO OIL x1) is placed in 105:8 so I could not progress. Did I overlook it?
log_pl0.txt
Also when you run after Dario Rosso's daughter she is supposed to be eaten by a zombie but if you do it too soon - my guess is before you encounter Nemesis - then perhaps too many enemies will spawn in the alley preventing her game model to appear properly. I assume she is pushed out of bounds. Although her model will not be visible and is only represented by a shadow she will cause a crash when you return to the alley that leads to the warehouse. This is a universal bug that appears in every seed.

Brenda Rosso will not crash your game if you chase her much later. She will then as always be eaten by an unrandomized zombie and her model should appear properly. I guess there are certain criteria in the backgrounds that indicate if you've done it correctly like the time of day. For example if you leave the police precinct it gets darker outside. However there is another bug. When you leave the station it gets dark but sometimes if you re-enter the police station it will be bright again and Nemesis will still be waiting to fight you as if you never entered the station.

I figured out how to activate the debug stats in-game so there wasn't a problem with an inaccessible item in this seed however the other bugs are still present.

Regarding the same seed after shooting a few enemies in room 209 re-entering the room will cause a crash if you enter it again from room 208. I assume this has something to do with how many enemies occupy this room and if they go out of bounds or are only represented by a shadow without a visible player model once the game tries to put them back in place.

Here's the save file
savedata.zip
Also this door can never get opened due to enemy randomization and the missing zombies who push the door open unless Nemesis enters trough the door in the picture above after the gas station blows up. Then the door will be counted as unlocked.

I have the feeling that rooms where enemies require to do an event because it's scripted like that like zombies bursting out of cars or just require to lie still like Brando Rosso and pretend not to attack the player because they are dead but need to be loaded in-game and are missing due to randomization cause the game to crash. For example room 209 has a different enemy behind a car although there should be a zombie who is then missing which causes an error. So maybe certain enemies and NPCs shouldn't be randomized so that things like these won't happen:

The first issue you reported is in room 102. This is a duplicate of #346 which is now fixed.
Could you please raise a separate issue for each bug.


Autogen docs for climake

I found this project recently that could really help me with another project that I'm taking a break on. I'd like to contribute this to the v3-remake branch and would be open to helping with other parts.
Information on how the commands are supposed to be used in the CLI is already contained in the structs, so documentation can be automated through a macro.
Example Usage
#[document_args] // Will be replaced by content similar to `cli help` based on the usage in `fn main()`
fn main() {
    let args = Argument::new(...);
    let cli = CliMake::new(...);
}

I'm not quite sure if macros can be expanded before publishing crates but I think the same sort of behavior can be achieved through a build script. I know that this could be used to generate man pages through other crates but you'd have to introduce dependencies. Let me know if you approve of this or you want help with other things.
Update: Macros are expanded before rustdocs are made. It's simple to evaluate the args within the Tokenstream and then just prepend /// before every line

What would be the use of adding CLI help to the main func (or other functions which contain climake) apart from generation of manpages? Some sort of ## Usage-like heading?
(Apologies for the late reply, exam week in school)

I think that adding automatic documentation features would just make climake applications easy to use from a user's standpoint. The documentation is already generated whenever someone calls --help, so it's as easy as tagging the custom CliMake struct, main function, or whole crate as #[doc_args], parsing any CliMake structs, calling the usage function, and then formatting it to Rust documentation standards. That's probably like 10 - 20 lines of code since you've already written the usage function in master.
This is kind of a niche thing and the more I thought about it the less it made sense unless you'd make it automatically generate man pages or update README.md for users to read right there. Man page generation would be really nice but the crate's goal is to be dependency-less (if I'm reading it right). I think that my enthusiasm to start committing to open source might just be a little too high unless you feel like this would be used in any more than my projects.

I think right now I'll leave it as the user already has full control of the library using public cli.help_msg()-like functions that will generate any help they'd like to automatically add. Man-pages could be very useful though the help messaging may need to be redone further or have 2 separate help message variants, one for cli help and one for man-pages.
Currently it's more beneficial to get the MVP of the rewrite out and figure out a nicer help system for edge cases like help msg character limits.
Currently I'm in the midst of exams unfortunately so I can't help contribute much to the rewrite so it might progress slow anyhow, apologies.

No worries. If you'd like any help I'm always willing to do PRs but as for now I'll close this issue. Thanks for making this crate.


[ᚬmaster] Release v0.21.2

v0.21.2 (2019-09-24)
Features

Payment could be assigned a block number (09b94d6)

Codecov Report

Merging #149 into master will not change coverage.
The diff coverage is 80%.

@@           Coverage Diff           @@
##           master     #149   +/-   ##
=======================================
  Coverage   96.88%   96.88%
=======================================
  Files          82       82
  Lines        2055     2055
=======================================
  Hits         1991     1991
  Misses         64       64

Impacted Files
Coverage Δ

Source/Payment/Payment.swift
97.67% <100%> (ø)
:arrow_up:

Tests/Payment/PaymentTests.swift
84.54% <100%> (ø)
:arrow_up:

Source/Payment/LiveCellCollector.swift
96.42% <50%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Unicode issue in add_cors_headers with uWSGI and Python 2

While debugging some CORS issues, I found out that the 502 status I was getting back from Nginx was due to a TypeError exception in uWSGI:
Traceback (most recent call last):
  File "/usr/local/www/isso/lib/python2.7/site-packages/werkzeug/contrib/fixers.py", line 152, in __call__
    return self.app(environ, start_response)
  File "/usr/local/www/isso/lib/python2.7/site-packages/isso/wsgi.py", line 119, in __call__
    return self.app(environ, start_response)
  File "/usr/local/www/isso/lib/python2.7/site-packages/isso/wsgi.py", line 147, in __call__
    add_cors_headers("200 Ok", [("Content-Type", "text/plain")])
  File "/usr/local/www/isso/lib/python2.7/site-packages/isso/wsgi.py", line 144, in add_cors_headers
    return start_response(status, headers.to_list(), exc_info)
TypeError: http status must be a string

The TypeError gets thrown by uWSGI because the first argument to the start_response handler is not a string but a unicode object. Replacing "200 Ok" on line 147 with b"200 Ok" seems to fix the problem. I'm not a Python guru, but it looks like the problem is that all string literals are Unicode and a cursory read through the WSGI specification leads to the section Unicode Issues, which says that all strings must be byte strings and not Unicode. uWSGI performs similar checks on the response headers, but that passes fine as Werkzeug converts the headers to latin1 byte strings in Headers.to_list().
For the sake of completeness, my setup is as following:

OS is FreeBSD 10.3-RELEASE
Python version is 2.7.13
uwsgi 2.0.14 installed from ports
isso 0.10.6 from PyPI
Werkzeug 0.11.15 from PyPI

Other Python WSGI apps (MoinMoin) run flawlessly.

I'm getting this as well with native isso server with gevent installed. My error msg similar but not identical as I guess spit out by python for pywsgi in gevent.

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 936, in handle_one_response
    self.run_application()
  File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 909, in run_application
    self.result = self.application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/contrib/fixers.py", line 152, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/isso/wsgi.py", line 119, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/isso/wsgi.py", line 147, in __call__
    add_cors_headers("200 Ok", [("Content-Type", "text/plain")])
  File "/usr/local/lib/python2.7/dist-packages/isso/wsgi.py", line 144, in add_cors_headers
    return start_response(status, headers.to_list(), exc_info)
  File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 831, in start_response
    raise UnicodeError("The status string must be a native string")
UnicodeError: The status string must be a native string
Sat Jan 21 15:39:49 2017 {'REMOTE_PORT': '41624', 'HTTP_HOST': 'isso.neocogent.com:8228', 'REMOTE_ADDR': '<IP_ADDRESS>', (hidden keys: 27)} failed with UnicodeError

<IP_ADDRESS> - - [2017-01-21 15:39:49] "OPTIONS /new?uri=%2Fblog%2F2017%2F01%2Fhow-i-do-deploy.html HTTP/1.1" 500 161 0.000464

I've spent friggin hours trying to get isso to work in various ways and it's not at all easy - even for me as a python dev. Many things are not clear at all like what should go in the data-isso field and what is the isso-thread value. I thought that had to be changed with something for each thread like with disqus. I am trying to get my pelican blog to use isso. And after many hours I am seriously wondering why I started down this road. I don't want to use disqus any more but isso is proving to be far too much work to configure. If I leave data-isso blank it gives errors about invalid objects in the browser console. If I put something in I get errors in the "upstart init log" but nothing in the isso "log-file" log. Why don't python errors go to the isso log? </frustration-rant over>

I am using it on a Nikola-powered site and Nikola puts the URL of the isso server in the data-isso attribute. It seems to tell the JS what the base URL for the isso API is. If I understand it correctly, isso gets this base URL from the URL of the JS itself, therefore the data-isso should only be set if, e.g., you have multiple API endpoints (for different sites) with the JS being served from a single URL.

That's what I figured out eventually. But I had to experiment to find out you have to put http:// there and from the docs it seemed to want slashes. Not sure why such a little thing took so long to get but probably compounded by painfully slow net today. It's all good now. Actually it's great! I have integrated it into Pelican instead of Disqus and it handles count (on index pages) and embed (on articles).
Also, I have my static site served on Amazon S3 but feed the isso comments to a vps I run. So the url for data-isso points to the vps but strangely the isso js code was trying to POST it to my S3 url. So for a while I was getting errors from S3 about not allowing POST. I started out earlier trying to get isso running on openshift (redhat cloud) but couldn't get it to run due to permissions issues with pip install during the "git push".
Anyway. Thanks for everything. It's great.

same problem here... isso is not working (debian version) which runs with gunicorn
Access to XMLHttpRequest at 'https://isso.xxx.de/count' from origin 'https://xxx.de' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
embed.min.js:13 POST https://isso.xxx.de/count net::ERR_FAILED

same problem here... isso is not working (debian version) which runs with gunicorn
Access to XMLHttpRequest at 'https://isso.xxx.de/count' from origin 'https://xxx.de' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
embed.min.js:13 POST https://isso.xxx.de/count net::ERR_FAILED

Is this still current? Isso doesn't support py2 anymore.

@damnms can you confirm this is still an issue with gunicorn? Please post versions of all software used.
@hiliev can you confirm this is still an issue with uwsgi? Please post versions of all software used

I don't know if this is still an issue with uwsgi since I'm no longer running isso. Sorry about that.

Looks like with current uwsgi version 2.0.20, the situation is actually reversed.
Assuming the setup from the uwsgi Quickstart, with foobar.py as the wsgi-file.
This throws an error:
def application(env, start_response):
    start_response(b'200 OK', [('Content-Type','text/html')])
    return []

$ ./uwsgi --http :9090 --wsgi-file foobar.py
Traceback (most recent call last):
  File "foobar.py", line 3, in application
    start_response(b'200 OK', [('Content-Type','text/html')])
TypeError: http status must be a string

This, however, works fine:
def application(env, start_response):
    start_response('200 OK', [('Content-Type','text/html')])
    return []

It's about the return type, which must either be empty or a byte array, i.e. this works return [], and also return [b"Hello World"], but not return ["Hello World"].
So I'd consider this fixed with the current state in isso:
https://github.com/posativ/isso/blob/48a473606e20ec2afd139858164fc5550a0375dc/isso/wsgi.py#L141-L143

(So that I don't forget: https://github.com/ix5/isso/tree/utils-py2-bytes probably belongs in here with uwsgi oddities, too)


Adjust PkgCreator arguments

pkgname is intended to be in the pkg_request dictionary, not as a standalone argument for PkgCreator.

Thanks, looks good!

Thanks, looks good!


fix: Error on rotated file if new file takes time to appear

fix: Error on rotated file if new file takes time to appear
When a file's inode changes, or the stat call throws
causes tail-file to read the remainder of the contents
via a FileHandle. If the file disappears, but takes a bit
to re-appear, _readRemainderFromFileHandle() is
erroneously called twice; once for the ENOENT from the
disappearing file, and once when the new file causes the
inode to change. This commit fixes a bug where the FH is
nullified after the first call, and thus throws on the
subsequent call.
Semver: patch
Fixes: https://github.com/logdna/tail-file-node/issues/18

refactor: memory-usage tests should use a temp directory
The test for memory consumption creates a large log file.
Previously, it was creating it in the local test directory
which clutters up the project dir and could potentially
get committed. This change restructures the test to use
a temp directory as given by the OS.
Semver: patch

deps<EMAIL_ADDRESS>
deps<EMAIL_ADDRESS>
deps<EMAIL_ADDRESS>

I'll look at this today.


Serialize Collections

Resolves #78 by removing the exception when a collection is not a List - since all Collection objects are Iterable they can be iterated over in a for loop and the serialized results added to the result, which I guess normalises to a List so that the JSON serializer can handle the serialization of the collection of objects? (since every object inside has already been serialized)

Per https://github.com/firebase/firebase-admin-java/issues/78#issuecomment-334279965 the current behavior is intentional and I'm closing this PR.  Thanks for putting it together though!  We appreciate the engagement. :-)


Update unit tests from JUnit 4 to JUnit 5

JUnit 5 has been the new standard for unit tests for quite a while now (since 2017). The big challenge for updating from version 4 to version 5 is that the order of the parameters in the various static assert statements such as assertEquals or assertNull has changed. Optional arguments such as the String message were at the front, where optional arguments are typically at the back. JUnit 5 puts these optional arguments at the back, leading to a massive number of changes in the unit test code. The package structure has also changed considerably.
JUnit 5 can be included as:
<dependency>
    <groupId>org.junit.jupiter</groupId>
    <artifactId>junit-jupiter-engine</artifactId>
    <version>5.10.0</version>
    <scope>test</scope>
</dependency>

For @Rule TemporaryFolder, a replacement has to be implemented. See https://stackoverflow.com/questions/56613895/how-to-get-rid-of-temporaryfolder-rule-in-junit5 and https://www.baeldung.com/junit-5-temporary-directory
The following code:
    @Rule
    public TemporaryFolder testDir = new TemporaryFolder();

can be replaced with:
    @TempDir
    private Path testDir;

and a statement like:
    String traceFileName = this.testDir.getRoot().getCanonicalPath() + File.separator + "traceFile.txt";

with
    String traceFileName = this.testDir.toString() + File.separator + "traceFile.txt";

Upgrade executed. All unit tests pass again.


Support internal classes

Hello again :)
Very often I expose my internals to my tests, and test my internal classes. Currently this extension requires class to be public.

Nevermind.. I was using wrong Visual Studio and didn't even have the extension installed

Ha. No worries. By default generation for internal members is turned off - but it's in there as an option.