Patching kube-vip-cloud-provider for CVE-2021-44716.patch

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Patches CVE-2021-44716
Change Log

CVE-2021-44716

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2021-44716

Test Methodology

Pipeline build id: 500201

Auto cherry-pick results:

main :white_check_mark: -> Skipped

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=500554&view=results


Setup defmt and probe run

Setup probe-run configuration for easier running of examples
Update vscode settings for rust analyzer
Add panic example for testing defmt panic logging setup

Thank you for this.
I created a separate commit for the fixing of the formatting because I messed there...


Localized mark all as read message

Its syntax is not available in the code located in src/server/api.
Istead:
desc: {
	'ja-JP': '未読の投稿をすべて既読にします。',
	'en-US': 'Mark all as read message.'
},

Thank you!

Those three pushes should fix the issues

Thank you 🙏


Method for specifying include paths for files (e.g. node_modules)

I have a rule in a CSS file that references a file loaded from an npm module (in node_modules) ... but I cannot find a way to have file-loader locate this file, unless I make it relative, e.g. ../../../../node_modules/module/image.png.
It would be nice if there was a way to tell file-loader to treat node_modules as an include path.
As a point of comparison, it appears that sass-loader lets you do this.

https://github.com/webpack/css-loader#usage
Use ~ before the path to indicate it's a module

Closing since the question has been answered.

Is there a way to specify include paths that aren't node_modules? The original question simply suggested node_modules as an example, but is there a way to mark certain include paths (much like the sass loaded does)?
Alternatively, should file-loader respect the resolve config item?
(let me know if you want a seperate issue)


Review Method Channel APIs to match Dart SDK

As a developer user, I want that all APIs use the same inputs and outputs for consistency between platforms.
Update Flutter Method Channel to use the same inputs that Dart SDK uses and to return a String or JSON representation of the other data types. Each platform should convert from JSON to the native representation of the data type.
Acceptance criteria:
1  - Flutter Method Channel handlers and Dart SDK methods match parameters and return values.


Reaching the end of instructions and it says Entities unavailable

I have followed the instructions and now reviewed them about 50 times and at first I wasn’t able to get the callback link to be accepted in HA at the end, but after figuring it out, I’m now stuck that when it does accept that link, it then says “Entities not available” and the configuration persistent notification disappears.
So I’m not sure what I should be expecting to happen at this point with regards to functionality.  Is an integration supposed to appear that allows me to use features/entities in the Devices section?  I’ve got nothing unfortunately.  I don’t know what entities are unavailable, and it doesn’t say anything about this in the Errors section of the instructions?
Any help would be most appreciated.

No you don’t get card in the devices section, you only get that for gui setup components.
Is there any errors showing in the error log?

Also please post your config, with secrets removed

I’m not an expert so forgive my nativity, though I’m a relatively quick study… hopefully I’ve done this right, and hopefully this gets posted by replying to you?There are two log errors that say they are connecyef to 0365 and then also this first log error below which I’m not sure what it is so I’m including it just in case it is relevant.My permissions are set as Included in the attached screenshots.  Please don’t hesitate to let me know if I can provide any other information that would be helpful.  Thanks very much for your time!  Have a good day.BrynLogger: aiohttp.serverSource: /usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py:405 First occurred: 7:29:13 AM (1 occurrences) Last logged: 7:29:13 AMError handling requestTraceback (most recent call last):  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received    messages, upgraded, tail = self._request_parser.feed_data(data)  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_dataaiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"This error originated from a custom integration.Logger: custom_components.o365Source: custom_components/o365/init.py:81 Integration: Office 365 First occurred: January 24, 2023 at 10:13:53 PM (1 occurrences) Last logged: January 24, 2023 at 10:13:53 PMNo token, or token doesn't have all required permissions; requesting authorization for account: Account1This error originated from a custom integration.Logger: custom_components.o365.utilsSource: custom_components/o365/utils.py:174 Integration: Office 365 First occurred: January 24, 2023 at 10:13:53 PM (1 occurrences) Last logged: January 24, 2023 at 10:13:53 PMMinimum required permissions not granted: ['Presence.Read', []]On Jan 25, 2023, at 9:05 AM, RogerSelwyn @.***> wrote:
No you don’t get card in the devices section, you only get that for gui setup components.
Is there any errors showing in the error log?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Always better to post errors direct in GitHub rather than replying to an email. Then you can Mark them add code using the ‘<>’ in the tool bar. And screenshots aren’t included with an email reply.
The error tells you you haven’t set all the permissions correctly. You have requested the presence sensor but haven’t set the Presence.Read permission.

Yes it is a personal account.   Does that mean I can’t use the 0365 integration at all with my personal outlook?On Jan 25, 2023, at 11:24 AM, RogerSelwyn @.***> wrote:
Errors extracted to add some clarity. Please note in particular the last error.
Logger: aiohttp.serverSource: /usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py:405 First occurred: 7:29:13 AM (1 occurrences) Last logged: 7:29:13 AM Error handling requestTraceback (most recent call last):  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received    messages, upgraded, tail = self._request_parser.feed_data(data)  File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_dataaiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"This error originated from a custom integration.
Logger: custom_components.o365Source: custom_components/o365/init.py:81 Integration: Office 365 First occurred: January 24, 2023 at 10:13:53 PM (1 occurrences) Last logged: January 24, 2023 at 10:13:53 PM No token, or token doesn't have all required permissions; requesting authorization for account: Account1 This error originated from a custom integration.
Logger: custom_components.o365.utilsSource: custom_components/o365/utils.py:174 Integration: Office 365 First occurred: January 24, 2023 at 10:13:53 PM (1 occurrences) Last logged: January 24, 2023 at 10:13:53 PM Minimum required permissions not granted: ['Presence.Read', []]
This means you have this added to your config and don't have the correct permission, or it is a personal account:
status_sensors: # Cannot be used for personal accounts
- name: "User Teams Status"
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Yes it is a personal account.

Then you can't use the status and chat sensors..... like it says in the example.

Ok I really just wanted to integrate excel into some health apps and likely some automations with my emails and calendar, it said that the o365 integration was the only way to do that.  I don’t need a chat.  Sorry, still wrapping my head around a few things here.On Jan 25, 2023, at 12:10 PM, RogerSelwyn @.***> wrote:
Yes it is a personal account.
Then you can't use the status and chat sensors..... like it says in the example.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Rather than configuring as many things as possible, why not start at the minimum and work from there. Then you know the base works.

Sure, I just understood that I had to install the office integration as a whole in order to do any of the functions I am looking for.  I’ve got 140 or so smart devices and dozens of great automations I created using the UI.  One area I hadn’t touched yet was office because it seemed to be a different ball game then what I’ve learned so far.On Jan 25, 2023, at 12:38 PM, RogerSelwyn @.***> wrote:
Rather than configuring as many things as possible, why not start at the minimum and work from there. Then you know the base works.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


M3-839 - StackScripts Landing Tests

Depends on https://github.com/linode/manager/pull/3526/ (that's why it says 35 files changed, the actual PR is like 4 files changed)
Adds tests for Stackscripts Landing
Adds page object for stackscript landing page.

To Test
yarn && yarn start
yarn selenium
yarn e2e --file e2e/specs/stackscripts/list-stackscripts.spec.js

@martinmckenna let me know if there are any potential test cases i've missed. Note, I only assert the stackscripts display on the community stackscript tab because on Dev that is the only tab that displays stackscripts.

One test failing for me:
1) StackScripts - List Suitesuite1 should display my stackscripts preselected and empty message: Expected false to be true.

Coverage remained the same at 26.822% when pulling 11f8657fb923a41643fb9ef4230de93bba8a9cde on patthiel:M3-839 into 80b07bb55c58d9d6281b72396a530fde56dd81dc on linode:develop.


installation is broken after recent new updates

@sickill : It seems you made quite a few updates recently, and the installation is now broken.  It was working a few days ago. This happens when there's no release number, and the installation process is only via git clone I assume.
Do you know what we need to do to get the installation to work again?
It kept failing with the following message for asciinema_phoenix container (shown below). All other containers are ok, no errors for those.
ERROR MESSAGES:
Running db migrations...
00:05:57.398 [error] Could not create schema migrations table. This error usually happens due to the following:

The database does not exist
The "schema_migrations" table, which Ecto uses for managing
migrations, was defined by another library
There is a deadlock while migrating (such as using concurrent
indexes with a migration_lock)

To fix the first issue, run "mix ecto.create".
To address the second, you can run "mix ecto.drop" followed by
"mix ecto.create". Alternatively you may configure Ecto to use
another table for managing migrations:
config :asciinema, Asciinema.Repo,
  migration_source: "some_other_table_for_schema_migrations"

The full error report is shown below.
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2986ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:

By tracking down slow queries and making sure they are running fast enough
Increasing the pool_size (albeit it increases resource consumption)
Allow requests to wait longer by increasing :queue_target and :queue_interval

See DBConnection.start_link/2 for more information
(ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:593: Ecto.Adapters.SQL.raise_sql_call_error/1
(elixir 1.12.1) lib/enum.ex:1553: Enum."-map/2-lists^map/1-0-"/2
(ecto_sql 3.4.5) lib/ecto/adapters/sql.ex:686: Ecto.Adapters.SQL.execute_ddl/4
(ecto_sql 3.4.5) lib/ecto/migrator.ex:641: Ecto.Migrator.verbose_schema_migration/3
(ecto_sql 3.4.5) lib/ecto/migrator.ex:484: Ecto.Migrator.lock_for_migrations/4
(ecto_sql 3.4.5) lib/ecto/migrator.ex:406: Ecto.Migrator.run/4
(ecto_sql 3.4.5) lib/ecto/migrator.ex:149: Ecto.Migrator.with_repo/3
(asciinema 0.0.1) lib/asciinema/release_tasks.ex:8: anonymous fn/1 in Asciinema.ReleaseTasks.migrate/0

It seems Postgres container was missing the following env var on master: https://github.com/asciinema/asciinema-server/blob/55eae3c8d8baa9948b2542810f0a53f090125502/docker-compose.yml#L11

This is fixed now. Try these:

docker pull asciinema/asciinema-server
git pull on your master branch checkout to get compatible docker-compose.yml file (or download it manually from master branch on GH)

@sickill : Any suggestions? I just tried all the steps from installation guide, and it is still failing in the exact same way.

It seems this is due to ipv6 disabled on the host. Before I could just comment out the ipv6 line in file docker/nginx/asciinema.conf, and it would just work after that, this no longer works after recent updates.

I'll try to reproduce this with ipv6 disabled when I get a chance.

Hi @haiwu, I'm facing the same problem with you when upgrading my self hosted asciinema server. Check your postgres container logs.

DETAIL: The data directory was initialized by PostgreSQL version xx, which is not compatible with this version xx

In my case, the root problem likely caused by incompatible files in the volume of the old PostgreSQL 12 container with the latest upstream version (v14). This make my postgres and phoenix container keep restarting.
I'm able to fix the issue, TLDR:

Doing a temporary downgrade so I can back up the previous database.
Uninstall and reinstall the appropriate version of PostgreSQL from the master repository.
Restore the database that I have backed up

If you follow the official upgrade process, stop until you pull and merge with your branch. Then edit your docker-compose.yml and use the old PostgreSQL version that working (in my case: v12).
version: '2'

services:
   postgres:
     image: postgres:12-alpine
     container_name: asciinema_postgres
     ### blah blah blah

Start only the old version of PostgreSQL container and do database backup:

docker exec -it <DOCKER_CONTAINER_ID> pg_dump postgres -U postgres > asciinemadump.sql

Stop the old version of PostgreSQL container, edit docker-compose.yml and revert the config according to the upstream version (PostgreSQL 14).
Delete the old  ./volumes/postgres  (or even better: backup by moving it to another directory)
Start the new version of PostgreSQL container, copy your dumped sql db to your new created  ./volumes/postgres directory and restore the backup:

docker exec -it <DOCKER_CONTAINER_ID> psql -d postgres -U postgres -f /var/lib/postgresql/data/asciinemadump.sql

Run all the asciinema-server containers: docker-compose up -d

The phoenix container should able to communicate with postgres container now. Wait until the database migration process by phoenix container is complete and try to access your instance again.
Dunno if this is the "right" way to fix it, and correct me if i'm wrong @sickill.

@ditatompel this is great, thanks for investigating. Your instructions will for sure help others.
@haiwu have you checked postgres container logs? Any errors there?

If you still believe it's because of IPv6 then please pull latest ghcr.io/asciinema/asciinema-server:latest and add ECTO_IPV6=1 env var for phoenix container. This should help.


feat: Update node version to 20.x

Details

Motivation

Context

Pull request checklist

[ ] Addresses an existing issue: Fixes #0000
[ ] Added relevant unit test for your changes. (yarn test)
[ ] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[ ] Ran precheckin (yarn precheckin)

/azp run

/azp run


Latest dill release raises exception

Describe the bug
As reported by @sgugger, latest dill release is breaking things with Datasets.
______________ ExamplesTests.test_run_speech_recognition_seq2seq _______________

self = <multiprocess.pool.ApplyResult object at 0x7fa5981a1cd0>, timeout = None

    def get(self, timeout=None):
        self.wait(timeout)
        if not self.ready():
            raise TimeoutError
        if self._success:
            return self._value
        else:
>           raise self._value
E           TypeError: '>' not supported between instances of 'NoneType' and 'float'

Fixed by:

#4380

Just an additional insight, the latest dill (either 0.3.5 or <IP_ADDRESS>) also broke the hashing/fingerprinting of any mapping function.
For example:
from datasets import load_dataset

d = load_dataset("rotten_tomatoes")
d.map(lambda x: x)

Returns the standard non-dillable error:
Parameter 'function'=<function <lambda> at 0x7fe7d18c9560> of the transform datasets.arrow_dataset.Dataset._map_single couldn't be hashed properly....

@albertvillanova ExamplesTests.test_run_speech_recognition_seq2seq is in which file?

Thanks a lot @gugarosa for the insight: we will incorporate it in our CI as regression testing for future dill releases.

Hi @anivegesana, that test is in transformers library:

https://github.com/huggingface/transformers/blob/main/examples/pytorch/test_pytorch_examples.py#L449
https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py

I did a deep dive into @gugarosa's problem and found the issue and it might be related to the one @sgugger discovered. In dill 0.3.5(.1), I created a new save_function that fixes a bug in dill that prevented the pickling of recursive inner functions. It was a more complete solution to the problem that dill._dill.stack tried to solve in the internal API of dill, so I removed it. Since datasets copies the save_function directly from the dill API, it stops working with the new dill version since dill._dill.stack is no longer present.
https://github.com/huggingface/datasets/blob/95193ae61e92aa537d0c65d37a1fd9d2393aae89/src/datasets/utils/py_utils.py#L607-L678
If the dill version is below 0.3.5, you should keep this function. If it is after, you would need to update your copy of save_function to use the code I introduced, or manually add a stack variable to dill._dill if it doesn't exist. Fortunately, any version of Python 3.7+, dictionaries are always in insertion order and dill no longer supports Python 3.6 or older. So, any globals dictionary saved by dill 0.3.5+ will be deterministic given that the version of dill is held constant and this save_function is unnecessary.
Therefore, I have two proposed fixes:
if not hasattr(dill._dill, 'stack'):
    dill._dill.stack = {}

# save_function code below

if dill.__version__.split('.') < ['0', '3', '5']:
    # save_function code inside here

I would recommend the second one, but I need to do some testing to verify that all of the changes in the custom save_function in this repo are accounted for. Will look into the test case @sgugger pointed out after that.

Thanks a lot for your investigation @anivegesana.
Yes, we copied-pasted the old save_function function from dill, just adding a line to make deterministic the order of global variables globs.
However, this function has changed a lot from version 0.3.5, after your PR (thank you for the fix in recursiveness, indeed):

uqfoundation/dill#443

We have to address this change.
If finally your PR to sort global variables is merged into dill 0.3.6, that will make our life easier, as the tweak will no longer be necessary. ;)
I have included a regression test so that we are sure future releases of dill do not break datasets:

#4385

I should note that because Python 3.6 and older are now deprecated and Python 3.7 has insertion order dictionaries, the globals in dill will have a deterministic order, just not sorted. I would still keep it sorted like you have it to help with stability (for example, if someone reorders variables in a file, then sorting the globals would not invalidate the cache.)


Crashes when resuming from suspend mode

Issue Type: Bug
Every time I wake up my system from suspend mode, vscode will use 100% of a single core and freeze indefinitely. The projects that was open was a cmake c++ project. I only had one tab/one file open and nothing crazy.
I'm running Ubuntu 18.04 with Nvidia drivers 440.82.
VS Code version: Code 1.45.0 (d69a79b73808559a91206d73d7717ff5f798f23c, 2020-05-07T16:10:24.511Z)
OS version: Linux x64 5.3.0-51-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 3159)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 2, 2

Memory (System)
15.37GB (0.58GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (4)

Extension
Author (truncated)
Version

latex-workshop
Jam
8.9.0

cmake-tools
ms-
1.3.1

cpptools
ms-
0.28.0

vim
vsc
1.14.2

@kekeblom It would be very helpful for us to know which process is using 100% CPU. Can you please run code --status or share with us the full command line of the misbehaving process so we get some kind of idea what could be causing this?

code --status just freezes and never returns.

I think that might be Chromium's GPU process. I think the solution is to run with --disable-gpu, but let's ask @deepak1556 if he knows something more.

Would be good to try the workaround mentioned by @alexdima first, --disable-gpu only disables hw acceleration but the gpu process is also responsible for software mode, so it may or may not resolve the issue but will hint where the problem lies.
The ideal next step is to capture a chrome trace and see the calls from gpu process, but we only currently support for capturing startup traces using --trace flag in VSCode. Let me fix this to allow arbitrary captures and we can proceed from there.
Can you also try to provide a minimal repro that would trigger this (I believe this has to involve the cmake-tools extension) ? Thanks!

--disable-gpu does the trick. If I run code --disable-extensions . to start VSCode, suspend and wake up the system, it freezes again. This would lead me to believe it isn't related to the extensions I have installed.
Let me know if there's any other info I can provide.

Thanks for testing!

Let me know if there's any other info I can provide.

I would still like a minimal repro, like a sample c++ project that could trigger this.

Can you also check if the exploration build works fine with hw acceleration  https://github.com/microsoft/vscode/issues/94074#issuecomment-607079209

Finally, was there a recent driver update for your gpu ? Any possibility to roll back and verify ?

It seems is has nothing to do with c++ or the project. I can reproduce this by running the following steps:
mkdir empty_dir && cd empty_dir
code --disable-extensions .
sudo pm-suspend

Then wake up the system and it's frozen.
It also freezes when I don't use the --disable-extensions flag.
My guess would be that issue is somehow related to the kernel and Nvidia driver version.
Unfortunately, I need cuda on this system for work stuff and given that Nvidia drivers on Ubuntu are a house of cards, I would rather not mess around with my current configuration. Especially when I have finally got the system to a mostly stable state, besides this issue, which gladly I can now workaround.

The exploration build does not seem to suffer from this issue. :+1: :tada:

@deepak1556 Thank God I found this thread. I have been suffering this problem for some months now. Initially it started by cancelling the scaling on a hidpi laptop running Ubuntu Linux 19.10 and later 20.04. The problem starts as reported by @kekeblom
On 19.10 both Chrome browser and VSCode looses scaling at the same time and VSCode hangs but Chrome does not. I end up having to kill VSCode and Chrome and restart to get things back to normal. And that's like everytime I foget to kill VSCode before suspending.
On 20.04 it no longer looses the scaling and only VSCode hangs with the process mentioned by @kekeblom
@kekeblom please how do I try the exploration build

As deepka1556 mentioned, you can download the deb from here https://github.com/microsoft/vscode/issues/94074#issuecomment-607079209
The deb file can then be installed using sudo dpkg -i <path-to-deb-file>. You should now be able to launch the app through code-exploration or through the launch menu by searching for code exploration.

I am suffering from a similar issue. VScode doesn't fully crash for me, the scrolling code viewer on the right gets scrambled and the terminal also becomes scrambled.

The issue seems to lie with the Nvidia drivers. I recently installed 440.100 for doing stuff with Vulkan when I noticed this. When I switch back to the xorg drivers, the issue goes away. I haven't tried the deb @deepak1556 suggested yet, so I might try it to see if it remedies my issue.
When waking from suspend with the nvidia drivers, I was able to see some ACPI errors that popped up right before the login screen started.

Those didn't show up when I was waking from suspend with the xorg driver.
Not sure if this helps at all but I came here to submit a ticket and this one seemed related.

This should be fixed in latest insiders and will also be available with upcoming stable release.


Issue with UE 4.17.1

Help me please to add this plugin into UE 4.17 game
Got errors while loading editor:
https://imgur.com/TjTYulc
https://imgur.com/EuHYMXt
Thanks.

I just tested the plugin with UE 4.17.1 and it works.
The error messages you received suggests that you has built the plugin with older UE version and trying to use it with newer one. Try to rebuild the plugin with target UE version: in the first error message (where UE asks to disable the plugin) select 'No' (or re enable it if it was disabled); then UE should ask to rebuild it - select 'Yes'. Alternatively you may rebuild the plugin in Visual Studio.
Hope this will help.

Thank you!
Now i got other trouble with VS 2017 v15.3
Maybe you have some solution for this problem?
I facing with this errors during compilation
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(129): error C2833: 'operator InterfaceType' is not a recognized operator or typeC:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(129): error C2833: 'operator InterfaceType' is not a recognized operator or type
1>
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(151): note: see reference to class template instantiation 'Microsoft::WRL::Details::ComPtrRef<T>' being compiled
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(151): note: see reference to class template instantiation 'Microsoft::WRL::Details::ComPtrRef<T>' being compiled
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(129): error C2059: syntax error: 'newline'C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(129): error C2059: syntax error: 'newline'
1>
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(130): error C2334: unexpected token(s) preceding '{'; skipping apparent function bodyC:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(130): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(136): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(136): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(136): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(136): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(137): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(137): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(142): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(142): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-intC:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(142): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(143): error C2334: unexpected token(s) preceding '{'; skipping apparent function bodyC:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(143): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(147): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(147): error C2143: syntax error: missing ';' before '*'
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(147): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(147): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(148): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(148): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(691): error C2187: syntax error: 'identifier' was unexpected here
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(699): error C2187: syntax error: 'identifier' was unexpected here
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(691): error C2187: syntax error: 'identifier' was unexpected here
1>C:\Program Files (x86)\Windows Kits\8.1\include\winrt\wrl/client.h(699): error C2187: syntax error: 'identifier' was unexpected here

Fixed by changin build tool from 140 to 141
Thank you for plugin


Provide ARM Docker Image

It would be great if you could provide an already built docker image on Docker Hub for ARM platforms such as the Raspberry Pi (>= 2). From what I have seen the pipeline seems to be already set up, and the Dockerfile seems to exist.
Thanks!

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

It should be: armhf (GOARM=6 | GOARCH=arm)

https://github.com/golang/go/wiki/GoArm

There is https://github.com/go-gitea/gitea/blob/master/Dockerfile.rpi already but it looks like it differs a little from the normal Dockerfile. The last time it was updated (#386) the rpi-Dockerfile wasn't also updated

You are right, it got smaller differences. Currently we don't have a arm pipeline running, but hopefully we can provide that soon

Somebody wants to create a pr to bring the files back in sync?

No, it's not solved because we don't publish this image yet.

No, it's not solved because we don't publish this image yet.

@tboerger Understood.

In the same continuity not all NAS support docker. Some big brand like Synology offers a .spk deployment mechanism and there's no doubt that a tools like Gitea can be find on such platform a very fast pace of adoption.

There's an SPK builder for Gogs gogs-spk which I've forked for Gitea gitea-spk
Tried it with 1.0.1 on a Synology DS116 and it works fine so far.

is there any docker image for rpi yet?

@klud1 only the Dockerfile, no prebuilt image so far

@tboerger cloned the repo yesterday, tried to build it. then i realized i needed a gitea binary that is copied into the image (got an error saying /app/gitea/gitea: no such file or directory), wanted to build the gitea binary (installing build-essential and golang, the latter by downloading it from the golang website) and got some make [error] when attempting to build it, altought i go get the libraries needed for this. then i just downloaded the gitea binary from the website (https://dl.gitea.io/gitea/1.0.1/gitea-1.0.1-linux-arm-7) and granted execution permission in order for it to be copied in the image, but still docker logs [container name] output /app/gitea/gitea: no such file or directory.
any idea how can this be successfully achieved?

@klud1 Same problem here using a Raspberry Pi 3. I cloned the repo, then make clean generate build followed by docker build -f Dockerfile.rpi .. I'm seeing the same 'no such file or directory' error when starting the container.

@chadweimer i recently got it working, just changed some things in the dockerfile, built it and tested it and it all seems to work fine, here is the Dockerfile in case you want to see it.

@klud1 That's great! I suspected it was something in the image since I was able to build and run outside docker. I tried a few things but wasn't able to figure it out. Any chance you can post your changes here? I'm not able to access that file on your GitLab repo, even after signing in.

@chadweimer oh, gosh! you're right, i can't access it when singing out either, it shows a 404 error, even though it's set as a public project. So sorry.

So are you planning to automatically publish an arm64 image? if so, you might be interested in the arm64v8 rest which offers arm64 compatible docker images of the most popular images (node, rust, busybox...). Maybe adding a gitea here could be an interesting compromise as described here?

we do but first we need move to using builtin ssh server in official docker image.

@lafriks yes, maybe we could do that on docker:latest but docker:1 keep OpenSSH currently.

Currently we can only build amd64 because we need to install system packages and we only got an amd64 ci worker. If we get rid of the system packages like OpenSSH and git we can cross compile the binary and push the other architecture images, as long as we install system packages we need native agents.

@tboerger we can also build the container for other platform via qemu but that is not ideal.

Something I think is not widely known (so if you do know, feel free disregard my comment ;) ) is that it's now possible to build and run foreign-architecture Docker images without changing the image itself, so long as you have root access to the Docker host (or the ability to run arbitrary privileged containers).
As it happens, I have a Docker image that sets up qemu and binfmt so you can transparently build foreign-arch images and run foreign-arch binaries and containers. So if you have the option to set up something like this on your CI nodes, you should be able to build ARM images without dealing with base images including qemu or similar hacks.

@fkrull that what I mean by qemu I even made a PR https://github.com/go-gitea/gitea/pull/3958) but that still a little hacky and need full privilege in CI jobs.

@sapk Yeah, that's the kind of thing I was thinking of. Carry on, then. :D

I mentioned this in another issue, but I have an unofficial multi-arch (arm/arm64/amd64) manifest built with sqlite support published on docker hub.  Keep in mind that this is not automated, yet.  Pushed the v1.6.2 release last week, to bring it up to date.

@Kunde21 I wish to help you to keep that docker image update. How could I help you with that task? I thought that would be better rather to poke you to update the docker image with the latest gitea version.

@killua99 @Kunde21 We just upgraded to Drone 1.0.0 which allows mult-arch agents, so we can build an official image, in case you'd be open to sending a PR to our CI instead of maintaining it yourself. More details here: #6463

That's a great news @techknowlogick I'll start looking at them asap

It's a bit of bash ugliness, but this is the build script I use on all arches.  The key is to ensure that the arch is included in the docker tag, so everything can be pushed to the registry and a manifest generated for the multi-arch entry.
  I'm in the middle of a move, so my home cluster is torn apart right now.
The setup I use to build:
1 rpi-3 (Arch Linux, ARMv7)
1 rpi-3 (Arch Linux, aarch64)
1 NUC (Arch Linux, amd64)
I have 3 drone deployments connected to a gitea server.  So, a push to the repo builds all 3 arches and pushes to my registry and docker hub.  I usually create the manifests via CLI, because it's pretty quick.

By the way, Alpine apk has a --print-arch flag.

Ahh, thank you.  I was originally building in Ubuntu, so I tried to make it as agnostic as possible.  The --print-arch trick is nice!

gogs is able to provide a AIO Docker image for different architectures, is that what we're thinking to do here as well?
https://hub.docker.com/r/gogs/gogs/

This project aims to build a simple, stable and extensible self-hosted Git service that can be setup in the most painless way. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, macOS, Windows and ARM.

Yeah, why not? I'm able to build Gitea on an rpi 3 b by adding a a couple of gigs to swap and I've been running GItea on it just fine.
If you're using Drone CI you can use their manifest plugin http://plugins.drone.io/drone-plugins/drone-manifest/ or create the manifest manually using a Makefile i.e. https://github.com/miniflux/miniflux/blob/master/Makefile

@atomi I deleted my comment after realizing gogs wasn't a AIO image
I am hoping to use Gitea on my k3s cluster.

Maybe somebody could give my unofficial webhippie/gitea image a try, it provides a manifest for arm6 and arm8.

The webhippie/gitea image seems to be working well for me, thanks @tboerger 🙂

The :latest tag is providing multi-arch support for linux/amd64 (tagged :linux-amd64) and linux/arm64 (tagged :linux-arm64).  We will need to setup other drone builder for each platform has we don't do cross build.

@sapk,
Is it possible to add armhf to the drone builder?

just to mention it here, https://github.com/alpinelinux/aports/pull/10887 will upgrade the alpine gitea package wich could also be used for docker images

Just to provide feedback: Running gitea/gitea ARM64 successfully ( 1.11.0+dev-348-g2011a5b81 ) - thanks a lot!

@everflux, did you actually get the gitea/gitea:latest image to run on your Raspberry Pi? I feel like I've tried everything with no luck.

Hey @manisto - check it out here  https://medium.com/@t3chflicks/home-devops-pipeline-a-junior-engineers-tale-1-4-336ed07a6ec0?utm_source=share

Sorry @manisto I meant this one https://medium.com/@t3chflicks/home-devops-pipeline-a-junior-engineers-tale-2-4-7be3e3c292c?utm_source=share

@manisto yes I am running the gitea/gitea image from DockerHub on ODROID N2 with Archlinux ARM / arm64 as kubernetes pod. Works great so I don’t expect any trouble when running on Raspberry pi neither. (If you are using raspian I assume this is usually a 32bit flavor but docker should resolve that properly.)
What error do you get?

@manisto is your rpi os 64bit?

@manisto If you're running on 32-bit, then you can use kunde21/gitea-arm or webhippie/gitea images.  Both have arm variants in the manifest.

The webhippie/gitea image uses different environment variables than the gitea/gitea image, which means the installation instructions don't work when using that image.

This image disables the installer on purpose, all settings can be set by env variables. The first registered user will be the initial admin. I'm currently thinking about creating an initial admin user from env variables, then I'm able to use this container for automated integration tests for drone.

@tboerger  Please provide a armv7 as well! I'm running a Banana Pi.. I would love to host it on there.. But I can't ;( Is it very hard to compile for arm7 as well during  your CI/CD pipeline? And provide the docker image.

No, because that would require another worker for the ci system. But you can run the arm6 image on arm7

@danger89 if you want I have images for armv6, armv7 and arm64. I am using it on pi 2, pi3 and pi4.
https://hub.docker.com/repository/docker/carlonluca/gitea

No, because that would require another worker for the ci system. But you can run the arm6 image on arm7

That is not how docker work:

@carlonluca Tganks, but for some reason those dockers aren't working on my banana pi. It says its up. But often it won't load my app.ini correctly or doesn't use the same environment variables. Or whatever is wrong.

@danger89 use the latest-official tag. That comes straight from the official Dockerfile.

Just :latest right? Which is the default tag. Yes, I tried that.. It isn't working. Or you mean another latest tag?

Tag is "latest-official": https://hub.docker.com/layers/carlonluca/gitea/latest-official/images/sha256-ed0f1a2d72f580d0c34f342df1594f4ca0be0e322774e031fed6f51471e4abb6?context=repo

@danger89 have you tried webhippie/gitea?

Tonight I will try this latest official tag. I will keep you posted. Thanks

Well carlonluca/gitea using the latest-official tag is at least working. Let's see how easy it is to migrate my data. Back-up script is provided, still missing an easy restore script.

@carlonluca I think I wait a bit longer when the stable release v1.13 is out.
Once you then update the latest-official tag again, I think I'm able to easy migrate from my x86 setup to my BananaPi.

1.13rc1 is out.

I built the new image but it is not working for me on arm64, sorry. Latest-official remains the latest stable. I'll build the following stable versions.

Over 1 week or so, I expect to see v1.13 stable release to be rolled out. I also would not advice to change the latest-official tag, until the stable release is created (iso RC-versions).

I built 1.13.0: https://hub.docker.com/repository/docker/carlonluca/gitea.

Nice thx for the update!

Any news for an official docker for arm?
$ docker pull gitea/gitea
Using default tag: latest
latest: Pulling from gitea/gitea
no matching manifest for linux/arm/v7 in the manifest list entries

Well, the last message from @tboerger was:

No, because that would require another worker for the ci system

😖 ahaha...
What about GitHub Actions!?

Locking. This is a general statement, but on issues in this project please don't comment with "any news on this?", we are all volunteers and will post to threads if there are updates. Over 400+ people get an email on any comment on issues to our repo, please don't overload their inbox with comments that don't add to the ticket.
Once we get another ARM CI agent we can get this up and running, but until that time this will remain open.

Now that our pipelines use buildkit for building docker images this could be added (one such place would be: https://github.com/go-gitea/gitea/blob/main/.github/workflows/release-nightly.yml#L94)
I will close this, but if someone remains on 32-bit version of arm with docker wants to send a PR it'll get looked at. I recommend only updating the tag workflow for releases, as otherwise the added time to nightly builds would be a significant increase.


Support the primary clipboard buffer on Unix

Is your feature request related to a problem? Please describe.
Unix systems have a few types of clipboard buffers: secondary, primary and clipboard. The last one is already supported by Avalonia since it's supported by all platforms. The primary buffer is filled with data on selection and can be pasted through the middle mouse button. That feature is widely supported, so it may be worth to implement it.
Describe the solution you'd like
It requires extending the existing abstraction of the clipboard by providing an enum argument which defaults to the clipboard. If the mode is not supported then null is returned. In addition to that there should be a mouse gesture.
Describe alternatives you've considered
Keep it as an external package.

Should be considered as part of https://github.com/AvaloniaUI/Avalonia/issues/11011

Note, that it has to set the clipboard text on every single text selection change. So we'll need to change the way we interact with the clipboard in our TextBox to avoid allocations.


Record does not exist!, perhaps create one first? ( for )

I dont get a connection, I believe I missunderstood something.
When putting the adapter into silly mode I see error in log:
"Record does not exist!, perhaps create one first? "
..but which record? In Cloudflare?
I am also not too sure what "API Token" I should set in preferences.
There are multiple templates in Cloudflare for this. Maybe the "Global API Key" is meant here because the property is near that in the settings page?
Version 1.1.1 (installed from Gihub)

Okay - got it.
I am answering myself as a kind of documentation:

In the adapter preferences under "Which record you want to be synced" I needed to have my domain (without www)
On Cloudflares site I added a DNS Record:
Type = A; Name = DomainNameAsInPreferencesWithoutWWW Value=MyCurrentIPv4Adr

Than it works as expected


Improvements to the lemur_cryptography authority and certificate plugin

I have in mind a relatively substantial refactor of the lemur_cryptography plugin.

Renaming functions to support creating both root CAs or intermediate CAs.
Structure creating a CA around the create_csr() function in the certificates workflow to avoid copying all that code.
Implement some of the CA-specific functions when issuing a certificate: authority_key_identifier, certificate_info_access, crl_distribution_points. Those last two will probably end up being placeholders here as they don't really apply to a sorta-fake CA managed by this plugin.
Set the Issuer details in the signed certificates.

The implementation above is contingent on my PR for #666 getting accepted first. Changes there may necessitate changes here.

#666 is merged, but necessitated some changes that make this merge a bit more complicated. This will need to be rebased.

I have found a few issues with #666 I am currently addressing that should be merged before we attempt to merge this in.

@kevgliss let me know if I can help resolve those issues. I've been watching the commit messages.

All the integration tests have now passed for the certificate flow fix a few minor things but nothing serious... I still need to validate the authority flow. Sorry I haven't been very disciplined with my commits so they might be hard to follow.


Question

What is the difference between the two models: prototype_wgan and prototype_vanillagan?

The two models are slightly different in training, vanillagan uses GAN Type=gan and wgan has GAN Type=wgan.
We now believe that in practice prototype_vanillagan can produce a slight blur to counteract erroneous textures without losing the overall sharpness, while prototype_wgan is more sharp in all frames.
I'm told that prototype_wgan has some slight color variations in some scenes due to some mistakes I made when training wgan, but this doesn't seem to be a serious problem.

Gotcha. Thank you so much for the info!!!

Id say this has been completed!


opti Makefile: add clean'

Wouldn't you also want to remove the o-files? rm -f *.o ?

Wouldn't you also want to remove the o-files? rm -f *.o ?

I submitted it again.


Use DisplayVersion for OpenRCT2.OpenRCT2 0.4.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Related to #94743

Note: Intentionally chose DisplayVersion == PackageVersion. See reason here https://github.com/microsoft/winget-pkgs/issues/88726#issuecomment-1398993435
Microsoft Reviewers: Open in CodeFlow

@wingetbot run


can't create new project

and some more errors below. This started after reinstalling Windows and Axmol. Before this, I had to give permission to the installation script, because powershell wrote that script not have a digital signature.

@10100010010001001010 Things would be easier if you followed the bug report template.
What command did you use to try to create a new project?
Also, you can temporarily allow the Powershell scripts for the current session with:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

i use this command too (Set-ExecutionPolicy). For creating a project i always use "axmol new -p name -l cpp "

axmol new -p name -l cpp ProjectName, the v1.0.1 / 1.x broken due to template config file not update, dev/v2.0.0 should works

I'm getting the same errors on version 2.0.0

the incoming v2.0.1 improve axmol console, can you try latest dev branch?
获取Outlook for Androidhttps://aka.ms/AAb9ysg

From:<PHONE_NUMBER>0001001010 @.>
Sent: Saturday, September 16, 2023 4:54:38 PM
To: axmolengine/axmol @.>
Cc: Deal @.>; State change @.>
Subject: Re: [axmolengine/axmol] can't create new project (Issue #1323)
I'm getting the same errors on version 2.0.0
―
Reply to this email directly, view it on GitHubhttps://github.com/axmolengine/axmol/issues/1323#issuecomment-1722181007, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVHOJ2675SMTE2IMLLOKFDX2VSM5ANCNFSM6AAAAAA4SDTB7I.
You are receiving this because you modified the open/close state.Message ID: @.***>

@halx99, could you please provide a link, I’m not very familiar with Github and only see Axmol 2.0.0

@halx99, could you please provide a link, I’m not very familiar with Github and only see Axmol 2.0.0

https://github.com/axmolengine/axmol/archive/refs/heads/dev.zip

and this if what i get)

@10100010010001001010 As the error message shows you, the project name can't be empty.
The command template is this: axmol new -p YOUR.UNIQUE.ID -d PROJECT_PATH -l [cpp|lua] [--portrait] PROJECT_NAME
So, for your case, it would be something like:
axmol new -p UKTS -l cpp UKTS

@rh101, It turned out really stupid) I used to create a project this way and didn’t think that the console command had changed) thanks


Include Warrior version on About page

The about page has no reference to the Warrior version...

This is seesaw-kit running in the Docker container inside the virtual machine. Both sides will need a way to communicate the version somehow.

The VM already bindmounts config.json from the VM filesystem into the Docker container. A property could be added to that file, but seesaw-kit would need to be updated to display it.


Merge data model with the existing data model

Merge the new database with the existing Tumi Mundo database

Database has been merged with the old one.


Plot KDEs horizontally?

Hey, not sure if there's an interest in this or if this package is actively maintained? I really like this idea of centralizing MCMC plotting tools.
When doing a traceplot, it can help to link the kernel density/histogram to the trace if the histogram/kdeplot closes over the trace. If seaborn is used for the kernel density, it's only a keyword argument to flip. I think, if this option would be useful in this package, then it should be possible to use ax.fill_betweenx.
There are a lot of other views I've built that might be more useful generally for MCMC that could take arbitrary sample chains.

It seems that many persons like the idea of having a general MCMC plotting tool, but we never really push the idea, at least that's my case (mea culpa) I have made several changes to plots in PyMC3 but then I do not add them here :(
I think we have and egg-chicken situation, nobody (with a MCMC package) wants to relegate they plotting utilities to a third party (like this package) and then nobody wants to spend time working on this package...
Regarding seaborn, I used to think seaborn was a nice option, but now I think it is probably better to have custom tailored plots/functions, for example PyMC3 includes a function to compute KDEs. This function is way faster than the one in scipy/seaborn (and also includes corrections for boundaries). Is faster because the algorithm is different, but also is faster because is not a general solution, works only for 1D arrays and is not a good approach when you have few samples (less than ~200), but that is OK when using a MCMC trace. I think the same could apply to other situations, so now I think having seaborn as a dependency is not the best option.
I will check your other views it seems to be interesting stuff there. Thanks for sharing!

I really appreciate the comment. I wonder if the problem isn't simpler: matplotlib (and visualization generally) is a language unto itself and nobody currently maintaining a HMC/MCMC package speaks the language very well.

On the pooling of effort, I'd be interested in committing what I've done and helping where possible, whether it's here or in PyMC3, though I don't use PyMC3 as much as I do pystan & my own Gibbs samplers. Regardless, I agree it's useful to pool these common views of mcmc results, and it's cool if that's in pymc3.plots, too, especially now that there's a release candidate. From my end, I know targeting a common datastructure, (like, pandas dataframe? flat numpy arrays?) is needed before defining a consistent plotting API, and I'm not yet clear on how to stuff arbitrary results into a PyMC3 trace.
On the diff to make this happen, seaborn isn't required. It's just about dispatch to the right ax.fill_between or ax.plot behavior.

I encourage this effort. But from my perspective, PyMC3 should wait until PySTAN adopted this package, as it makes no sense for pymc3 to factor out its plotting code into an external one that then only we use. Of course, happy to have our recent plotting code to help kick-start this.
Perhaps this is also relevant for Edward CC @dustintran.

I agree with @twiecki.
At this point mcmcplotlib is an outdated version of the PyMC3 plotting routines. I can move the new stuff here and also I could try to keep mcmcplotlib and PyMC3 plot in sync in the future. This could help to kick-start mcmcplotlib and help PyMC3 with a future (possible) transition to mcmcplotlib. What do you think?

I think mcmcplotlib would have to be fairly feature-heavy to warrant adoption. It is bad that we're all reinventing the wheel, although at the same time, depending on an external library has costs.
Also, plots for MCMC seems like a rather targeted subset of visualizations we might like to do in probabilistic modeling. Any particular reason for this?

The other thing we keep reinventing are convergence diagnostics and model comparison metrics.

Also, plots for MCMC seems like a rather targeted subset of visualizations we might like to do in probabilistic modeling. Any particular reason for this?

How do you mean?

@twiecki PyStan definitely should start using this package since it supports the one kind of plot that PyStan currently generates (traceplot). I made an issue stan-dev/pystan#315. Help would be appreciated.

How do you mean?

I'm curious why the focus is on "MCMC plots".

I thought it was a friendly and distinctive package name. If there's a
better name, I'd be happy to switch to that.
On 03/17/2017 07:53 PM, Dustin Tran wrote:

How do you mean?

I'm curious why the focus is on "MCMC plots".
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mcmcplotlib/mcmcplotlib/issues/8#issuecomment-287498570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABN7vnTuy3Tf5yKwM4jrIEy3NmWcSz-ks5rmx0KgaJpZM4Me2RU.

We need wikipage (?) to decide what needs to be implemented and behaviour with 1D to nD data and how data are shared.
Also common interface to matplotlib: mpl API, pyplot or pylab.
In my opinion dependencies should be minimal.

@dustinvtran Since this wasn't adopted the name can easily be changed. The focus on MCMC is because Stan and PyMC3 are focused on MCMC and there are a certain set of plots people do over and over.
Maybe we should decide on what code we would like to share. We seem to agree on plotting, but some other things come to mind:

Convergence diagnostics for MCMC
Model comparison metrics (DIC, WAIC etc)
Sampling backends to store traces (this could be quite useful for users as it makes interoperability  between our packages trivial).

@dustinvtran Not sure if there are variational analyses that would make sense to share?
In any case, before doing any code changes here, we should update to pymc3's most recent plotting code.

So we could be dealing with a general package for analysis of probabilistic programming results, right?
I have just updates to PyMC3's recent functions (including stats and diagnostics).
The functionality for computing highest posterior interval is partially duplicated (hpd.py and the hpd function inside stats.py), hpd.py is able to compute hpds for multimodal 1d distributions (I originally write it when porting DBDA), not sure if still useful.
Most of the functions are expecting a PyMC3 trace object. So to make it general we must ensure to convert other packages outputs to traces or we should make the functions work with some common data structure like a DataFrame. There is already a function to convert a PyMC3 trace to a DataFrame.

The idea of using a Pandas DataFrame has been already discussed see #4, omit the part were I say we should also use seaborn :-P

what is the convention to translate matrices to dataframe?
Are there any specific plotting methods that uses higher dimensions?

@dustinvtran Not sure if there are variational analyses that would make sense to share?

@twiecki. More to the point, I guess my question is what the specific scope is for the package.
An ideal visualization toolkit for probabilistic programming would by definition span all of it. This might be impossible to achieve while being language-agnostic, or at least without making key design tradeoffs. MCMC plots are an excellent start. As the package progresses, it would nice to make explicit the package's scope and limitations. This helps determine design choices both at the infrastructure level and the API. For example:

Should it include diagnostics beyond MCMC, such as point estimation, likelihood-free inferences, or variational inference?
Should it include plots for individual distributions such as tables, density plots, and heatmaps?
What about components of models such as marginals, conditionals, and multi-dimensional scaling?
Should it include criticism techniques such as PPCs, feature maps, and decision boundaries?

I agree on that being the key question. What do you think?
On Mar 19, 2017 11:46 AM, "Dustin Tran"<EMAIL_ADDRESS>wrote:

@dustinvtran https://github.com/dustinvtran Not sure if there are
variational analyses that would make sense to share?
@twiecki https://github.com/twiecki. More to the point, I guess my
question is what the specific scope is for the package.
An ideal visualization toolkit for probabilistic programming would by
definition span all of it. This might be impossible to achieve while being
language-agnostic, or at least without making key design tradeoffs. MCMC
plots are an excellent start. As the package progresses, it would nice to
make explicit the package's scope and limitations. This helps determine
design choices both at the infrastructure level and the API. For example:

Should it include diagnostics beyond MCMC, such as point estimation,
likelihood-free inferences, or variational inference?
Should it include plots for individual distributions such as tables,
density plots, and heatmaps?
What about components of models such as marginals, conditionals, and
multi-dimensional scaling?
Should it include criticism techniques such as PPCs, feature maps,
and decision boundaries?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mcmcplotlib/mcmcplotlib/issues/8#issuecomment-287608004,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApJmAaHLWnD7koJCgZ8JRNo5_ajpX9oks5rnQdsgaJpZM4Me2RU
.

I am not sure where to add my comment, either here in this issue or in #4, but as the current activity seems to happen here I also put it here.
I am new to Python, PyMC3, pystan and pyjags. Actually my only reason to deal with Python is that I am interested in bayesian data analysis. I currently use all the three mentioned packages in order to better understand where the individual packages have their strength and weaknesses. One major annoyance in that regard is that all three of them use different plotting libraries or like pyjags none at all, e.g. I have to come up with my own solution.
This is how I ended up looking into mcmcplotlib. But as far as I can tell mcmcplotlib is bound to PyMC data structures, e.g. does not help with the other MCMC packages.
So far about the background. Now to my contribution to this conversation. I strongly would recommend to not bind this library to ANY implementation. Does not matter if it is pandas or whatever. I personally start using xarray more and more. I would suggest to define a hierarchy of minimal and composable interfaces based on which this library generates the visualizations. Then the only thing one needs to do to make this functionality available for a given MCMC package is to write an adapter between the native data structure used in the MCMC package and the visualization library. This keeps your path free and open in all directions.
Then even I, not related to any of the MCMC packages, could contribute an adapter to the visualization/plotting library.

Comment on the package name: If you google mcmcplotlib, google will change it to matplotlib.

Closing as this have been addressed. If you think sometimes still needs attention, I would suggest to open a different issue.


Post data as x-www-form-urlencoded worked on android but not on ios

Heres my code
Future<Login> doLogin(
   String email,
   String password,
 ) async {
   var url = "url/login/validasi";

   Map<String, dynamic> body = {'email': email, 'password': password};

   print("Email " + email + " password " + password + " " + body.toString());

   final response = await http.post(url,
       //body: body,
       body: body,
       headers: {
         "Accept": "application/json",
         "Content-Type": "application/x-www-form-urlencoded"
       },
       encoding: Encoding.getByName("utf-8")
   );

   if (response.statusCode == 200) {
     // If the call to the server was successful, parse the JSON
     print(response.body);
     return Login.fromJson(json.decode(response.body));
   } else {
     // If that call was not successful, throw an error.
     throw Exception('Failed to load post');
   }
 }

my code working on android emulator but not on android,

Please add the output of flutter doctor -v.
What exactly does "not working" mean exactly?

sorry this is all my fault, the error lies in the url which causes unreadable data on the server, there is nothing wrong with flutter


Limit to just fetching IAM roles

what
Split out the portion that fetches IAM roles. This part works without knowing anything about the network setup or AWS tags

Created https://github.com/cloudposse/terraform-aws-kops-data-iam instead


[CSV Reader] Support YYYY/MM/DD date formats.

The current CSV reader supports YYYY-MM-DD date formats (the default format for s.parse::<chrono::NaiveDate>()), but does not support the YYYY/MM/DD format. We should add support for the latter by attempting to parse with both formats, and returning the parse date if either succeed.
Implementation
Similar to our multi-format datetime parsing, we can use chrono::NaiveDate::parse_from_str(s, fmt) + mapping over a list of supported formats, short-circuiting on the first success.
        Date32 => deserialize_primitive(rows, column, datatype, |bytes| {
            to_utf8(bytes)
                .and_then(|s| {
                    const items = &["%Y-%m-%d", "%Y/%m/%d"];
                    items.iter().find_map(|fmt| chrono::NaiveDate::parse_from_str(s, fmt).ok())
                 })
                .map(|x| x.num_days_from_ce() - temporal_conversions::EPOCH_DAYS_FROM_CE)
        }),

@jaychia @clarkzinzow  this issue has been resolved in #1523


@metadata[action] throws error

Going by the instructions on this page:
https://www.elastic.co/guide/en/logstash/current/configuration.html
when including the line
action => "%{[@metadata][action]}"
in the logstash config, logstash repeatedly throws errors and is unable to move any of the docs from couchdb_changes to elasticsearch.
I imagine, but do not know for sure, that this is a problem with the @metadata set by the couchdb_changes plugin; if in fact this is a problem with the elasticsearch output plugin instead, let me know so I can move this issue over there. I am not a ruby programmer and haven't time to dig in to narrow it down for sure, I'm afraid. Thank you in advance.

I think it might be related to this problem (delete action) https://discuss.elastic.co/t/couchdb-plugin-set-dynamic-type-for-elasticsearch/2293/12
First of all I thought it is because of 'update' (from couch) or 'index' (allowed by elastic plugin) action name but after sorting out the delete, it works for me even with default "%{[@metadata][action]}"

This issue is probably even more related to your problem: https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/195


Use full branch name for LTS branch, without a wildcard.

It looks like the workflows aren't running on a PR to the LTS branch, so try using the full name instead of a wildcard.

Gonna merge this to see if it fixes the problem, but a fork with the same GH workflows works correctly, so this needs more investigation on my end


Add Swift 5.9 to CI.

@FranzBusch @Lukasa @tbkka - Looks like swift-docc-plugin doesn't compile cleanly with 5.9, did you all hit this with any other projects?  Know if they have plans to address it?

And I guess we need a annotation for our dispatch queue usage as the compiler considers that unsafe.

@FranzBusch @Lukasa @tbkka - Looks like swift-docc-plugin doesn't compile cleanly with 5.9, did you all hit this with any other projects? Know if they have plans to address it?

Opened https://github.com/apple/swift-docc-plugin/issues/65

#1462 should avoid the last of the issues, will sync this PR up after that lands.


Do not fail when requested package is not available on (restriction of opam list --installable --with-test)

opam list --depends-on <pkg> --installable --with-test can give packages that are not available with the tests but that are installable without. So when we require repdeps to install without tests it should not fail but with it might.

Needs rebasing (sorry - I just merged the OCluster branch!)

I was just doing it ^^ Done.


tvOS support

After following the install instructions, I receive a NameError when the app gets to this line:
Fabric.with([Crashlytics])
*** Terminating app due to uncaught exception 'NameError', reason: 'app_delegate.rb:13:in `application:didFinishLaunchingWithOptions:': uninitialized constant AppDelegate::Fabric (NameError)

I believe this is because the bridgesupport file isn't being generated / can't be found, I also receive this warning:
WARNING! Could not find .bridgesupport file for framework "Fabric".
Looking at the code, it's looking only for the iOS version:
https://github.com/HipByte/motion-fabric/blob/master/lib/motion-fabric.rb#L102
However, adding a similar line to my rakefile manually doesn't seem to help:
app.framework_search_paths << './vendor/Pods/Fabric/tvOS'
That path /vendor/Pods/Fabric/tvOS does exist and contains Fabric.framework.
I'm seeing the same exact issue with the Crittercism gem, it can't find the bridgesupport file and crashes with a NameError when I try to use Crittercism in the app delegate.  I think either I'm missing something obvious or it's a rubymotion / motion-cocoapods issue.  At any rate, the hard coded path for iOS should be updated here.

This was an issue in motion-cocoapods fixed by this commit https://github.com/HipByte/motion-cocoapods/commit/6420c8cbfa6532a7d776c54a744294e7580e01f5
Additionally, I added the corresponding search paths for motion-fabric here: https://github.com/HipByte/motion-fabric/commit/d8f317a53f8bdb9d175a2308659ada949cea8e51
I've just released motion-fabric 0.7 and motion-cocoapods 1.8.1 which should solve the issue. you simply have to "bundle update" :)


add Vault integration

Motivation
Customer requests

If it's not an issue, can you also add tags to the service check assertions? Let's just make it as strict as we can :)

LGTM, we just need a service_checks.json file with metadata about the service checks and a logos/ directory with some logos.


[Diag] [Localization] Switch diagnostic messages from .def to the new format

In this PR I'm completely switching the diagnostic messages from .def to the new format i.e. YAML or .db (serialized format). This will also handle the removal of messages' text from .def and only depending on en.yaml.

@xedin  I think there's, a room of refactoring some parts. However, I just wanted to know if I'm on the right track or not.

Let's close this PR for now, since we have decided to try a different approach.


Add support for request body to be larger than 2GB on 32-bit devices

Motivation:

The properties that store the request body length and the cumulative number of bytes sent as part of a request are of type Int.
On 32-bit devices, when sending requests larger than Int32.max, these properties overflow and cause a crash.
To solve this problem, the properties should use the explicit Int64 type.

Modifications:

Changed the type of the known field of the RequestBodyLength enum to Int64.
Changed the type of expectedBodyLength and sentBodyBytes in HTTPRequestStateMachine to Int64? and Int64 respectively.
Deprecated the public var length: Int? property of HTTPClient.Body and backed it with a new property: contentLength: Int64?

Added a new initializer and "overloaded" the stream function in HTTPClient.Body to work with the new contentLength property.
Note: The newly added stream function has different parameter names (length -> contentLength and stream -> bodyStream) to avoid ambiguity problems.

Added a test case that streams a 3GB request -- verified this fails with the types of the properties set explicitly to Int32.

Result:

32-bit devices can send requests larger than 2GB without integer overflow issues.

@swift-server-bot test this please

@swift-server-bot add to allowlist


fatal error: 'screen/goScreen.h' file not found

Robotgo version (or commit ref):

❯ dep status
PROJECT                       CONSTRAINT     VERSION        REVISION  LATEST    PKGS USED
github.com/StackExchange/wmi  1.0.0          1.0.0          5d04971   1.0.0     1
github.com/go-ole/go-ole      v1.2.1         v1.2.1         a41e3c4   v1.2.1    2
github.com/go-vgo/robotgo     ^0.48.0        0.48.0         b8dcaaf   0.48.0    2
github.com/shirou/gopsutil    v2.18.03       v2.18.03       fc04d2d   v2.18.03  6
github.com/shirou/w32         branch master  branch master  bb4de01   bb4de01   1
golang.org/x/sys              branch master  branch master  3ccc7e5   3ccc7e5   2

Go version:

❯ go version
go version go1.10.1 darwin/amd64

Gcc version:

❯ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Operating system and bit:
macOS Sierra 10.12.4
Can you reproduce the bug at Examples:

[x] Yes (provide example code)
[ ] No
[ ] Not relevant

Provide example code:

package main

import "fmt"
import "github.com/go-vgo/robotgo"

func main() {
	// gets the screen width and height
	sx, sy := robotgo.GetScreenSize()
	fmt.Println("...", sx, sy)

	x, y := robotgo.GetMousePos()
	fmt.Println("mouse: ", x, y)
}

Log gist:

Description
I am using dep for vendoring:
❯ dep ensure -add github.com/go-vgo/robotgo

Error:
❯ go run main.go
# github.com/arnm/gohrblock/vendor/github.com/go-vgo/robotgo
vendor/github.com/go-vgo/robotgo/robotgo.go:42:10: fatal error: 'screen/goScreen.h' file not found
#include "screen/goScreen.h"
         ^
1 error generated.

When using go get:
❯ go get -u github.com/go-vgo/robotgo
# github.com/go-vgo/robotgo
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(png.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngread.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngwrite.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngmem.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngget.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngset.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngtrans.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngrtran.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngerror.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngwio.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngrutil.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngwutil.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngwtran.o)) was built for newer OSX version (10.13) than being linked (10.12)
ld: warning: object file (/Users/alexei.nunez/go/src/github.com/go-vgo/robotgo/cdeps/mac/libpng.a(pngrio.o)) was built for newer OSX version (10.13) than being linked (10.12)
Undefined symbols for architecture x86_64:
  "_inflateValidate", referenced from:
      _png_inflate_claim in libpng.a(pngrutil.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please see #102  or upgrade the system, I don't have a 10.12 system, you can use  brew install zlib brew install libpng to compile libpng and replace libpng.a (https://github.com/go-vgo/robotgo/tree/master/cdeps/mac) .

When using dep, the C language file is not pulled down. I think this is a bug in dep.

Please see #102  or upgrade the system, I don't have a 10.12 system, you can use brew install zlib brew install libpng  to compile libpng and replace libpng.a (https://github.com/go-vgo/robotgo/tree/master/cdeps/mac) .
--

I upgraded macos 10.13, ran a brew reinstall on both zlib and libpng but I still get the same linking error.
❯ brew info zlib
zlib: stable 1.2.11 (bottled) [keg-only]
General-purpose lossless data-compression library
https://zlib.net/
/usr/local/Cellar/zlib/1.2.11 (12 files, 373.4KB)
  Poured from bottle on 2018-04-19 at 11:30:16
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/zlib.rb
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/zlib/lib
    CPPFLAGS: -I/usr/local/opt/zlib/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /usr/local/opt/zlib/lib/pkgconfig

❯ brew info libpng
libpng: stable 1.6.34 (bottled), HEAD
Library for manipulating PNG images
http://www.libpng.org/pub/png/libpng.html
/usr/local/Cellar/libpng/1.6.34 (26 files, 1.2MB) *
  Poured from bottle on 2018-04-19 at 11:30:21
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/libpng.rb
==> Options
--HEAD
        Install HEAD version

Please copy the file to mac (https://github.com/go-vgo/robotgo/tree/master/cdeps/mac) .


Real-time / saved data

3.2.2. Optimize gene.iobio using a combination of real-time analysis, and cached data

Implement a novel strategy that combines the existing real-time analysis paradigm with instantaneous responses based on saved data. When a new analysis is launched, the selected genes will be analysed in real-time with annotations being cached in-memory (Redis or indexedDB) to persistently store the data inside the user’s browser. Once annotated, users will be able to move between genes in their list, interrogating variants, with all annotations now returned instantaneously. Users will also be able to choose to save the analysis in the Mosaic database (or locally). Users who have been granted project access will be able to launch the saved gene.iobio analysis, and instead of waiting for the real-time analysis to return results, all information will be pulled from the saved object instantaneously. If the user chooses to view additional genes, they will first proceed through the standard real-time analysis to get up-to-date annotations (very quick for small numbers of genes), with data being cached as before, and optionally saved to Mosaic.
We will ensure saved analyses are periodically updated. The more time that has passed since the analysis was saved, the more out of date annotations drawn from the saved data could potentially be. This means users could be operating on outdated information, and be unaware of updates to any of the resources gene.iobio uses that have occurred in the meantime. To avoid this eventuality, we will keep track of when analyses were saved, and display this date in gene.iobio (Figure 1E) and Mosaic, with additional warnings appearing to recommend data should be reanalysed to bring it up-to-date with all resources. A button will be available to easily initiate this reanalysis step. In clinical environments, these analyses may have been used to support decisions, necessitating a permanent record. Consequently, saving an update analysis will create a new version (see 3.3.2), ensuring both the original and up-to-date analyses are available. A summary of differences between the versions will also be available (see 3.3.2).
We will also ensure that all updates are backwards compatible to ensure previously saved analyses are not affected by feature development.

When we look into saved data, we should look at data import and export as well and clean this up

Google Doc for planning out new data structures / operations
https://docs.google.com/document/d/1iUNjwEISALxg6G7h93cpbM_38gTQcu5ZZ2kAyDsLaT0/edit


feat: add protobuf 3.22.0RC2 release

update protobuf with release 3.22.0RC2

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


Pack200 harmony as fallback

Hi @garydgregory
I'm only half-serious about this PR.
Personally I'd like to use java.util.jar.Pack200 if it is available and fallback to Harmony's code if it isn't. I've managed to do so with a bunch of facades and a little reflection, but it seems to work - all tests pass for all JDKs tested.
I had to pick up a few changes from master to make things work in github actions, but we need to rebase anyway.
Right now only javadoc stuff fails AFAICT, and even that is probably going to pass once the change is rebased.
If you like my changes, then let's move forward with that. If you prefer your pure Harmony solution I can live with that very well - feel free to merge it to master however you see fit.
Thanks

I have rebased the branch against master and close the PR. This can be revisited later if anybody is interested.

Coverage decreased (-9.3%) to 51.69% when pulling d35803651d0e992d19db9da71a0a2e5082c865d2 on pack200-harmony-as-fallback into 8522651d53566458c345b8ebe423eb6dfd580a47 on pack200.


owner ref errors on open/close

I implemented by copy/pasting the docs, but when I open I get this error and it does open.
Uncaught Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

and when I try to I get this error, and it fails to close:
Uncaught Invariant Violation: removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component's `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

I have same errors in react v0.14.6.

@mgenev Did you manage to resolve this in the end?

@davidwadge I resolved through deleting modules and reinstalling.

https://github.com/reactjs/react-modal/issues/146 is a duplicate of this but I commented on there about a potential fix (upgrading to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>seemed to solve it for me)

Hey, I'm running on<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and still getting this bug on some modals.  It's particularly weird because it doesn't happen everywhere, only on one particular modal.  Based on how other people resolved this, any ideas on how I can fix it?

Same here with react 15.1.0 and react-modal 1.3.0, if I put in modal one of my own Component (statefull) I have this error (Only a ReactOwner can have refs…), not found any workaround…

In my case, I had loaded multiple versions of react without knowing. I had separated react into a vendor bundle and using browserify-shim to resolve the requires. react-modal also requires react and so it was loading it's own react since browserify does not execute transforms for required modules.
Simply put, I changed transform('browserify-shim') to transform({global: true}, 'browserify-shim') and everything was fine. You could also add the specific transform to react-modal's package.json and it would work.

Hi, I'm using react 15.4.0 and react-modal 1.6.5, same thing here.
What is causing this ? Isn't there any fix ?

This issue must be fixed on current version v2+.
I'm closing this issue for clean up. Please, feel free to reopen this issue if needed.
Thank you!


Added client side code in C.

Client side code in C using TCP sockets.

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi,
As there has been no response from your end for a while, I am closing this PR.
Feel free to request this PR to be reopened, if you still wish to make the changes you originally added.  Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding!


XML serialization / format output for serialize :attribute, Hash

Hi
I have a model Product with a bunch of serialized attributes - like so. This is a to keep some information that's calculated and updated once a week usually for reporting - and I don't do any searches on this data - it's essentially  a free form dump field for stats.
class Product < ActiveRecord::Base
  serialize :stock_details, Hash
  serialize :stats, Hash
end

Anyways when I render this as JSON - it's fine, cause hashes are first-class citizens. They are essentially Javascript objects ( for my purposes.)
{
  "id": 103323,
  "stats": {
    "shipped": {
      "this_week": 0,
      "this_month": 0,
      "this_year": 0,
      "last_week": 0,
      "last_month": 0,
      "last_year": 3
    },
    "ordered": {
      "this_week": 0,
      "this_month": 0,
      "this_year": 0,
      "last_week": 0,
      "last_month": 0,
      "last_year": 7
    }
  },
}

However see what's happening to the same data when requested as xml. Any ideas what to do here?
<>
    <id>103323</id>

    <stats>{:shipped=>{:this_week=>0, :this_month=>0, :this_year=>0, :last_week=>0, :last_month=>0, :last_year=>3}, :ordered=>{:this_week=>0, :this_month=>0, :this_year=>0, :last_week=>0, :last_month=>0, :last_year=>7}, :top_customers_by_volume=>{"503012"=>2, "AJRI"=>2, "VOID"=>2, "SSA001"=>1, "215404"=>1, "505886"=>1, "514287"=>1, "167319"=>1}}</stats>
</>

What's the proper way to render this as XML?

You can use the ::hash property, please check the XML tests. I couldn't find it in the documentation myself, so might have missed to that.
It works like
hash :stats

https://github.com/apotonick/representable/#more-on-xml

Didn't make any difference for XML. But I do have complex hashes and hashes with arrays. I'm going to try implementing a separate representer for XML, thou I was mostly just playing with it - to see if I could get XML out of this setup for free. I don't need to support it now - JSON is what I need for API. I might need to expose XML interface down the line if we try more integrations with legacy systems.

I am pretty sure there's hash support out-of-the-box with Representable, my internet is terribly slow currently but I can try to find an example for you.

@apotonick If you ever found an example it would be very helpful to see it.


[WFLY-10949] IllegalArgumentException when get jdbc driver info if xa-datasource-class is not defined

Please make sure your PR meets the following requirements:

[ ] Pull Request title is properly formatted: [WFLY-XYZ] Subject or WFLY-XYZ Subject
[ ] Pull Request contains link to the JIRA issue(s)
[ ] Pull Request contains description of the issue(s)
[ ] Pull Request does not include fixes for issues other than the main ticket
[ ] Attached commits represent units of work and are properly formatted

Jira: https://issues.jboss.org/browse/WFLY-10949
Checking whether the driver-xa-datasource-class-name is defined when run command:
/subsystem=datasources:get-installed-driver(driver-name=xxx)

@maeste could you please review? Thanks. :)

@kabir that makes sense, thanks. I updated it. :)


Add list of valid (or relevant) language identifier keywords for GFM syntax highlighting

I created this list of language keywords for enabling syntax highlighting and asked GitHub support to consider linking to it from the GitHub Flavored Markdown page. People who post issues without even marking up code are not going to be able to figure out the YAML file it currently refers them to. And for that matter, I don't know how anyone is supposed to understand it since there's no explanation of what values from it are relevant.
@gjtorikian advised me to submit a request to integrate that content into this repo.
I wrote a node program (it's pretty quick and dirty) to automatically generate the document from the languages.yml file. I made the document a wiki so that there would be a fallback in case it needed updating and I was unavailable. With the content in this repo it might make more sense to just check it in, to encourage updating it by running a script.
I looked around for a while and then gave up on figuring out where the logic is that defines the valid values. My theory is that it works like this (at least in part):
Any of the following (case-insensitive, with or without a . prepended) can be used as the keyword:

top level key, with spaces replaced by hyphens
aliases values that don't contain spaces
extensions values

That's how I believe it works so that's how I wrote my script, but frankly I think the document it creates is massive overkill. Take JavaScript for example. My script generates the following list of keywords to enable JS highlighting:

_js
bones
es6
frag
gs
jake
javascript
js
jsb
jsfl
jsm
jss
jsx
njs
node
pac
sjs
ssjs
sublime-build
sublime-commands
sublime-completions
sublime-keymap
sublime-macro
sublime-menu
sublime-mousemap
sublime-project
sublime-settings
sublime-theme
sublime-workspace
sublime_metrics
sublime_session
xsjs
xsjslib

For the purposes of enabling syntax highlighting in GFM I think there should just be js (maybe also javascript). It's probably too late to not support the others, but I think only 1 or 2 are relevant to include in a general reference list. The only value I can imagine in including the others is to leave the door open to provide more specific highlighting for them in the future.

Another thing worth keeping in mind is that npm renders GFM fenced code blocks with syntax highlighting in readme files. I got sick of trying to trace the logic for where that gets the language keywords from, but I got far enough to form the opinion that it's probably not working from the same list as on GitHub. I used one of my readme's as a guinea pig and I can observe the following:
Enables syntax highlighting:

js
var x = "X";

javascript
var x = "X";

Does not:

es6
var x = "X";

JS
var x = "X";

JAVAscript
var x = "X";

Js
var x = "X";

jS
var x = "X";

As you can see, they all enable highlighting here.

I don't think I'm exactly giving trade secrets away, but the way we do highlighting is a simple:
Linguist::Language[lang_name] || Linguist::Language.find_by_extension(lang_name).first

I'm assigning this to myself as part of a documentation effort for this project.

@gjtorikian - what do you think is the best way to proceed here? I closed #2353 as it seemed that no-one was working on this but I'm definitely sympathetic to @jmm's goals here.
@jmm - It's not clear to me that this repo/project is the correct place for this documentation.

I think we should probably list somewhere—maybe the README?—the key quote in #2353:

Generally speaking, the slugified version of a language name, as well as any of its extensions, defined the language code.

If we could automate the generation of the language codes, that'd be cool. We could also just link to @jmm's list: https://github.com/jmm/gfm-lang-ids/wiki/GitHub-Flavored-Markdown-(GFM)-language-IDs

Although it doesn't include the complete list of keywords, this will be covered by the new FAQ at #4271.

Although it doesn't include the complete list of keywords

@pchaigno IMO having a complete list in a human-readable format would be important to consider this issue resolved.

@waldyrious With the FAQ, you'll have the rules to determine the list of keywords for a given language. When is that not sufficient?

Even without the FAQ, the data in the yaml file (including the comments at the top), not to mention the code itself, already allowed people to figure out the exhaustive list of valid identifiers, with more or less work. The FAQ improves the situation, but only to an extent.
Especially in the context of the help page, I'd say it would make more sense to provide a plain list that people could use to look up valid keys, search for a specific identifier, etc., than offer a machine-readable file plus rules to interpret it. That's certainly sufficient, but it seems fair to say that most people would not find it very convenient.

@lildude If we write a script to generate the list of identifiers for each language, would it be possible to include it (or link to it) in the help page?

If we write a script to generate the list of identifiers for each language, would it be possible to include it (or link to it) in the help page?

Link? Probably, yes, though I'd need to pass it through our docs team first. Include? Probably not as the churn rate would be too high for our docs team to keep on top of it and I certainly don't want to be manually updating docs each time I make a release 😁 .


Restart manager not working ?

Cant get restart manager to work, it saves position when i click on that option tho, but thats it. i enabled it, ticked on use custom position, and tried all ingame restart positions with bryan vs drag, kaz vs drag, and hei vs drag. on geometric, kinder gym, and abandoned temple. it doesnt restart to the saved position nor randomized. i have all the vc redist files downloaded and installed as well, and other features work just fine

yea i was dumb, and didnt see theres a new version lels. dont mind ,e


Update curl to 0.4.30

Addresses #823.
curl-rust introduced a fix about UBs in curl::init() in the 0.4.30 release, which is related to #823.

Is there a reason you didn't update Cargo.toml? If 0.4.30 is required to fix the bug the fix should be there as well.
https://github.com/rustwasm/wasm-pack/blob/9f9634ca9ffa9147c044f947a31808f02715aa44/Cargo.toml#L17

Is there a reason you didn't update Cargo.toml? If 0.4.30 is required to fix the bug the fix should be there as well.

Sorry, I ignored it. I've updated it.

sfackler/rust-openssl#1324 has been merged. I tested it after updating and found it doesn't crash anymore - it fixed #823 completely, so this PR is not needed anymore. openssl should be updated (possibly by using [patch.crates-io]) instead.


SL: Content changes to validation message

As a form owner, I want an updated and accurate confirmation message when ADMs submit the form for validation
A/C - make 6 changes required as blow

lowercase "n" in "nomination

i

change date on points 3 and 4 to  September 29, 2023

on the 5th bullet – please update to read:  "If you have any questions, please contact the SLR team”

Please update all instances of this contact information (as above)
Bullet #1 – 2nd sentence replace with “Reach out to the ministry key contact for further instruction” – Add a hyperlink to MS teams site with key contact list (to come).

“Next Steps” – the “s” in steps needs to be lower case

This is a duplicate ticket with #1197

Hi Andrew:

@ccoldwell - can you please add the link address to the Team Sharepoint site to this ticket for Andrew?  Okay to add the main URL if you don't have the link to the key contact name

@Andrew-Vargas-bcgov - I would link the follow word: Reach out to the ministry key contact

@Andrew-Vargas-bcgov link to ministry SLR Contact >
https://bcgov.sharepoint.com/teams/06164/SitePages/Ministry-Validation.aspx

@iman can you update this validation message so we can close ticket?

Tested in Prod - and approved

looks fantastic in PROD


xmlforms deals with edited and deleted documents medic/medic-webapp#2124

couch2pg now returns a summary of changed documents. xmlforms then uses that
as a list of xmldata to delete. This works because new documents won't have
anything to delete, edited documents will be recreated and deleted docs will
actually be deleted.

Looks good. Some style comments.


In query view mode some issues

Heading title is wrong- Create Query
Back button is not working
Project view button is not working.
Design is not proper.

Console error

Same problems occurs in query closed stage also.

Design issue, kindly see live query page for reference, all Titles should be Bold.

UI issue on Query Page  is OK
Later Stages, As this page is going to CRASH in short Future


Parameters not unique for objects

Hi, I'm using the script with 2 sub processes, one running some eval and some running an AI. But it seems that there is bug somewhere with the get_parameters() function. The parameters are shared between objects.
Running this test, pretty much shows the problem
def test_get_parameters(self):

    s1 = Stockfish()
    s2 = Stockfish()

    arg1 = s1.get_parameters()
    arg2 = s2.get_parameters()

    assert arg1 == arg2

    s1.set_skill_level(1)

    arg1 = s1.get_parameters()
    arg2 = s2.get_parameters()

    assert arg1 != arg2

Hi! The issue was that DEFAULT_STOCKFISH_PARAMS was declared globally.
So self._parameters = DEFAULT_STOCKFISH_PARAMS simply means that self._parameters is referring to the same memory location used by DEFAULT_STOCKFISH_PARAMS  regardless of it being part of different objects. I've created a pull request which I think rectifies the problem. Please review it.. :)


improve make docker-build

Codecov Report

Merging #474 into master will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #474      +/-   ##
==========================================
- Coverage   43.01%   42.85%   -0.16%
==========================================
  Files          50       50
  Lines       12605    12605
==========================================
- Hits         5422     5402      -20
- Misses       5879     5921      +42
+ Partials     1304     1282      -22

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 82d6bb2...854b709. Read the comment docs.

LGTM