comms: Add so-netctl API

so-netctl is for implementing connection manager features.
The APIs should be implemented in Zephyr, connman and so on.
To connman, the connman D-Bus APIs are wrapped in the so-netctl
APIs. The user can use the so-netctl APIs to control connman.
To invoke the D-Bus method of connman, the async call is used,
the callback function is set to get the results of async call.
The basic so-netctl APIs are in the patch.
It provides the APis of getting the name, ip address... of services.
The service connect/disconnect APIs and set/get offline
are implemented too.
The further sol-netctl APIs are being planned.
Signed-off-by: Wu Zheng<EMAIL_ADDRESS>

Modify the all connman to netctl
Modify the help comments.

Please check it again. Thanks.

According to the comments of #2068,
the related issues have been fixed.
It is the version 5 of sol-netctl.

Modify the all connman to netctl
Modify the help comments.

Please check it. Thanks.

+1 on the C API, it's ready to be merged.
The flow needs more work. You can chose to merge the C API and keep working only in the FBP, or wait until FBP is ready to merge them all together.

the C api is good for me as well

The proposed nodes and ports LGTM

The next version is https://github.com/solettaproject/soletta/pull/2108.

Please check https://github.com/solettaproject/soletta/pull/2108.

Sorry for late reply, I am busy with QA connectivity test transfer work , I  work on it and sumbit PR ASAP


May 10 - 14 - Get started with the Windows Subsystem for Linux

Event Information

Category
Details

Reactor Topic
DevOps and Dev Tools

Monthly Topic (if applicable)
<Topic taken from Azure Dev Marketing>

Weekly Topic (if applicable)

Workshop Topic

Workshop Duration

Title
Get Started Using Windows Subsystem for Linux

Description
(Below)

Level
Beginner

Content
https://aka.ms/WindowsSSLinux-8
One of the most important decisions that you need to make as a developer is what tools and development environments you want to use. Windows Subsystem for Linux (WSL) lets you use the tools that you want, in the environment you want, on the hardware you want. In the past, most developers have opted to use macOS or Linux because the most common development tools, languages and frameworks are easy to install and and work with on those operating systems. With WSL, you can easily run a GNU/Linux environment directly on Windows! In this workshop, we'll show you how to install the tools, set them up, and use WSL to create a website!
Workshop(s) details

Date
Local Start Time
Location
Speaker
SharePoint ID
Platform

May 11, 2021
6:30 PM
Bangalore
Devendra Rawat
13070
----------

May 11, 2021
4:00 PM
US/CA/AU
Allen Sanders
13071
----------

May 12, 2021
7:30 PM
Sao Paulo
Fabricio Murai
13072
----------

May 12, 2021
7:30 PM
Shanghai
Ryan Chung
13073
----------

May 12, 2021
12:00 PM
EMEA
Allen Sanders
13074
----------

@meaghanlewis - What do you think about this?
 One of the most important decisions that you need to make as a developer is what tools and development environments you want to use. In the past, most developers have opted to use macOS or Linux because the most common development tools, languages and frameworks are easy to install and and work with on those operating systems. With WSL, you can easily run a GNU/Linux environment directly on windows! In this workshop, we'll show you how to install the tools, set them up, and begin using WSL to create a website!

Thanks @mebaumb! Added a few edits inline.

Instructor notes
Share this link with attendees at the beginning of the workshop: https://aka.ms/WindowsSSLinux-8
As a pre-req for this workshop, attendees must be running the current release of Windows 10. It will also be helpful if attendees have Visual Studio Code installed. This is a fairly long module, so some of it might need to be left to the attendees to complte after the workshop.
Workshop steps:

Start with an introduction on the benefits that WSL provides
Walk through the steps to enable WSL on your computer. Make sure that everyone is able to do this successfully.
Get familiar with the command line. Create and run a sumple Python app.
Create a website with Node.js. Start by explaining what Node is, and how it's used. Explain the package managers available for Linux, and then install all the tools needed with the command line.
Walk through the steps to set up your dev environment with Visual Studio Code. Allow 5-10 minutes to install VS Code, Git for Windows, and the WSL extension. Then update your Node.js app and track changes with Git.

Wrapping up:
After setting up your environment with Visual Studio Code, you will likely be out of time. Encourage attendees to complete the rest of the module on their own.

Remind attendees to complete the knowledge check and summary so they can get a badge for completing the module. Also please encourage them to rate the module 😄
Share out the survey link: https://aka.ms/Reactor/Survey with the event code (the Reactor contact on the call can give you this)


Migrate controllers package to models package

Describe the chore that needs to be addressed.
RAMSTK is attempting to use a MVC architecture.  Originally, the controllers package was supposed to contain the controllers, but pypubsub is fulfilling the controller role.  Further, the classes in the controllers package are really models of RAMSTK Program database tables.  The layout of the RAMSTK package needs to reflect this.  As such the "controllers" need to be moved to the models package and the controllers package retired.
The models package should migrate to the following layout (for example):
models
    commondb <-- for now keep as is
    action
        __init__.py
       record.py
       table.py
    fmea
        __init__.py
        view.py

Several steps need to be taken to achieve this.

Change the RAMSTKBaseTable to RAMSTKBaseRecord. (grep and sed)
Move the RAMSTKBaseRecord class to the basemodel.py file.
Remove tables.py
Change the RAMSTKDataManager to RAMSTKBaseTable (grep and sed)
Move the RAMSTKBaseTable class to the basemodel.py file.
Move each controller module to the models package.
Move and update test suite accordingly.

[X] This issue is an epic issue which subsumes the following:
#679
#673
#672
#671
#670
#669
#668
#666
#697

Moving record and table from ramstk.models.programdb and ramstk.controllers respectively is easier done together.  Issue #699 covers both. Closing this issue as a duplicate of #699.


Support file: URLs with relative paths

We want to support relative file: URLs like file:local.db, which refers to file local.db in the current directory. Unfortunately, these URLs are not valid according to RFC 8089, which defines the "file" URI scheme, so the standard URL object from JavaScript is not able to parse them correctly.
For this reason, this PR introduces a custom parser that parses URIs according to the general syntax from RFC 3983, without applying scheme-specific restrictions.

bors merge


A way to set credentials property for requests

I dont see a way how to set a credentials property of requests ( e.g. same-origin, include)
https://fetch.spec.whatwg.org/#concept-request-credentials-mode
Am i missing something or its not possible with this lib? It should be set on each fetch call as i understand.

This is correct - the only properties that can be set out-of-the-box are method, body and headers.
However, the config.baseFetch method is exposed, and you can override it with another implementation. In your case, that might just be additional properties in config.fetchReference call.
It might make sense to expose some other properties in the future.

@DarkoKukovec ye, but rewriting whole method to add 1 property doesnt sound like a good solution :) Ok, so thats the only option for now then i need to go that way

@aldarund I used axios for the same problem, see my example
...
import { fetch } from 'app/core/utils/fetch';
config.baseUrl = '/api/';
config.baseFetch = fetch;
...

// app/core/utils/fetch.ts
import { IHeaders, IResponseHeaders, JsonApi } from 'mobx-jsonapi-store';
import axios, { AxiosResponse } from 'axios';

export const fetch = (method: string, url: string, body?: object, requestHeaders?: IHeaders) => {
    let data: JsonApi.IResponse;
    let status: number;
    let headers: IResponseHeaders;

    const request: Promise<void> = Promise.resolve();
    const uppercaseMethod: string = method.toUpperCase();

    return request
        .then(() => {
            return axios({
                url,
                method: uppercaseMethod,
                data: body,
                headers: requestHeaders,
            });
        })
        .then((response: AxiosResponse<any>) => {
            status = response.status;
            headers = response.headers;
            return response.data;
        })
        .catch((e: Error) => {
            if (status === 204) {
                return null;
            }
            throw e;
        })
        .then((responseData: JsonApi.IResponse) => {
            data = responseData;
            if (status >= 400) {
                throw {
                    message: `Invalid HTTP status: ${status}`,
                    status,
                };
            }

            return { data, headers, requestHeaders, status };
        })
        .catch((error) => {
            return { data, error, headers, requestHeaders, status };
        });
};

Or you are always could add support some thing like JWT and work without cookie :)


State is replicated in Hive file

Describe the bug
Each time a state transition happens a new copy of the state is appended to the Hive DB file hydrated_box.hive causing it to grow linearly in size.
To Reproduce
Steps to reproduce the behavior:

Run the example app in the example folder
Run adb shell in a terminal window
Inside the adb shell run the command run-as com.example.example
Run ls -l cache/hydrated_box.hive
Press the plus button in the app
Run ls -l cache/hydrated_box.hive again

Expected behavior
Size of hydrated_box.hive should be the same.

I suspect this behaviour is related to Hive in general. It uses append only strategy to achieve high write speed, though time to time it should reorganize and compact saved files.

Hive mentions it in compaction docs @tensor5

@felangel also shared some Bitcask papers time ago, page 4 addresses this problem
@tensor5

Thanks for your answer. Hive mention compacting the box before closing to improve startup time. Do you plan to add this feature?

Hi @tensor5 👋
Thanks for opening an issue!
We should definitely consider compacting the box before closing 👍
I'll try to get to this soon 😄

@felangel how to know when box is closing?

@felangel how to know when box is closing?

That’s the part we’ll need to figure out haha 😂

moved to https://github.com/felangel/bloc/issues/1422


Applied fix for relative mouse movement

The proposed fix for issue #5 was applied.
Also removed the -1 in SDL_os2video.c in function OS2_WarpMouse, due to relative mouse offset of -1 even when not moving the mouse.

Also removed the -1 in SDL_os2video.c in function OS2_WarpMouse, due to relative mouse offset of -1 even when not moving the mouse.

Can you elaborate on this?

Applied this patch from Andrey Vasilkin as the correct fix: https://github.com/libsdl-org/SDL/commit/f5b3247aae0c4778dd7932c91c295c9ed9e17d17

Change to SDL_os2video.c is wrong, as pointed out by Andrey Vasilkin: it should be reverted and the patch I referred to above should be applied, instead.

Why?

Without my change relative vertical mouse movement is not working.

Did you apply https://github.com/libsdl-org/SDL/commit/f5b3247aae0c4778dd7932c91c295c9ed9e17d17 before testing?

So tell me, why is that wrong?

I specifically asked about that change to Andrey, who is the original author, and  said that _wmMouseMove() is correct as is should be kept intact. Can you contact him for any details? (see http://os2.snc.ru/ for his email address.)

Why should I do that?. With this codebase in this repo, it has to work like that. If Andrey uses some other codebase, which differs on other changes, he might be right.


Update dependencies

Update the dependencies to newer versions without breaking the software. Focus mostly on security updates.

Use files from node-modules instead of copying them into src

[x] electron

[x] pickr

[x] popperjs

[x] tagify

[x] bootstrap

[x] codemirror -> did not upgrade to version 6 from 5. Got the latest version of 5.

[x] js-beautify

[x] mammoth

[x] nedb -> No longer supported and needs updates. Handle in new ticket https://github.com/amommersteeg/lemonaid-stand/issues/20

[x] tinymce

[x] electron-store -> Removed doesn't look to be used

[x] electron-squirrel-startup? -> Not needed

[x] fortawesome/fontawesome-free ?

Closed by PR https://github.com/amommersteeg/lemonaid-stand/pull/21


Add metadata based roles

What we want :
Basically, the goal here is to give a unique role on a discord server depending on the metadata of NFTs the user holds.
Example of Starknet.id metadata.

Example of bored apes metadata.

The metadata comes from the token_uri view function. Our goal here is simply to be able to check a condition on an attribute of the metadata and give the role if this condition is fulfilled.
For example in starknet-id we could have :
Role  - 3 letters domain owner
Condition - A function that returns a boolean when the attribute “domain” of the metadata is a 3-letter domain.
export function isThreeCharactersString(domain: string): boolean {
  return domain.length - ".stark".length === 3;
}

Of course, the owner should also have the domain in his wallet.
The goal will be of course that it works for starknet.id (cause we'll be the first to use it), but also for every nft project. So bored ape could for example add a role depending on its assets like : {"trait_type":"Clothes","value":"Vietnam Jacket"}
This is the product brief :)
Tell me if you have any questions.

This has just been merged. Congrats, @irisdv ! 🔥


Variables cleanup pass

Did a cleanup pass on the variables folder.
May have gone a bit overboard with some of the changes, but I split them up into commits so you can select which ones you like.
I think in order of importance / relevance:

Fix wrong varaible name (in count, using channel instead)

Added short description to each variable in the list

Switching users to Night

rest are basically fixing wordings (such as changing utilize to use) and other small adjustments.

thanks!


[bug] Can't confirm email address if no social login apps defined

How to replicate:

add new user, specify email address
look at the console, the email should be printed, including the link to verify the email address, click on the link
exception is raised:

ImproperlyConfigured at /accounts/login/
No Facebook app configured: please add a SocialApp using the Django admin

Expected behavior: no exception raised, email address is confirmed.

@nemesisdesign I tried to replicate the issue, but I am able to confirm the user. Any other way I can try to replicate the issue?

@nemesisdesign I had the same outcome as @raoashish10, the user's email was confirmed without any exception.

@nemesisdesign I had the same outcome as @raoashish10, the user's email was confirmed without any exception.

@nemesisdesign I think The was an error in reporting this issue. Social App like Facebook should not be required to confirm a user's email address

@nemesisdesign I think The was an error in reporting this issue. Social App like Facebook should not be required to confirm a user's email address

I can replicate this in the test/dev environment of openwisp-radius by opening up http://localhost:8000/accounts/login/.
Hence, I'm moving this issue to openwisp-radius.

I can replicate this in the test/dev environment of openwisp-radius by opening up http://localhost:8000/accounts/login/.
Hence, I'm moving this issue to openwisp-radius.


User access removed, access is now via a team

Hi there
This user had Direct Member access to this repository and access via a team.
Access is now only via a team.
If you have any questions, please post in #ask-operations-engineering on Slack.
This issue can be closed.

@AntonyBishop I don't understand, who is "this user"? There are no collaborators in the settings for this project that aren't groups.


dev/fitchbe/doc 9385

Move some "About" and "Get Started" content out of the readme into the documentation, add a link in the readme to the documentation, and perform copy editing on the affected content.

@fitchbe We are about to make considerable changes to README with #144. Could we rebase this PR after merging #144?

@mmeterel Sure. Worst case, I can replace the PR with a new one if the rebasing proves too unwieldy.

Closing and submitting a new one that's up-to-date with the rocBLAS changes.


Issue tracker down

Your external issue tracker seems to be offline.

Yeah... i moved to to AWS. I'm seriously wondering if we should just move completely on github. And maybe just ask people to send the patches to mailing list too for more community visibility.

Just do it :grinning:

:) https://lists.yoctoproject.org/pipermail/yocto/2016-April/029682.html


"The handle is invalid" when prompting for password in git bash

Seems to be related to how it's handling turning off terminal echo for passphrase entry.
Administrator@EC2AMAZ-6N44Q2M MINGW64 ~
$ aws-okta -d exec fg-payer -- aws s3 ls
time="2018-05-14T20:40:12Z" level=debug msg="Parsing config file C:\Users\Administrator\.aws\config"
Enter passphrase to unlock C:\Users\Administrator/.aws-okta/: time="2018-05-14T20:40:12Z" level=debug msg="Using aws_saml_url from profile: okta"
time="2018-05-14T20:40:12Z" level=debug msg="using okta provider"
Enter passphrase to unlock C:\Users\Administrator/.aws-okta/: time="2018-05-14T20:40:12Z" level=debug msg="couldnt get okta creds from keyring: %sThe handle is invalid."
The handle is invalid.

Administrator@EC2AMAZ-6N44Q2M MINGW64 ~
$

Running latest version from github as of time of writing this.

Hmm, I have not tested in a MinGW or cygwin environment (and do not have access to them).  We'd be happy to take a patch if you do get it working.

Added docs for this.

Does not work from Gitbash but works with Powershell.


The label for the class KnowledgeRepresentationParadigm should be title case

The  rdfs:label for the class KnowledgeRepresentationParadigm should be Knowledge Representation Paradigm in order to bring it inline with the naming conventions for the other classes

Fixed in v3.1


Python 3.6 invalid escape sequence deprecation fixes

https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior

Can someone verify this patch?

Can someone verify this patch?

Can someone verify this patch?

Can someone verify this patch?

Hey @scop, thanks for the PR.  This isn't an area I'm too familiar with, and I know there were some previous issues around compatibility between python2 and python3. Do you know if this syntax is valid for python2 also?

Yes, it is safe to use in both Python 2 and 3.

I don't think the & should have been escaped in the first place. There shouldn't be a \& in a CoAP URL as far as I can tell. The raw string literal makes \ be just a normal backslash, but I don't think it's necessary. How about:
result = server_write(self.config, "/3/0/15?pmin=10&pmax=20")

However, I'm not sure where that string goes - does it get processed later by a shell? I should have checked that actually, maybe the \ is required downstream. If so, it might be better to use \\& rather than a raw string literal, but either would work.

I removed my earlier comments as I was mistaken - this change looks OK to me, although I'd probably opt for "\\&" rather than r"\&" - either works.

Hi @scop, please could you update the PR as per @DavidAntliff's comments above?  Many thanks.

@boyvinall done.

retest AWS CI (libcoap)

retest AWS CI (erbium)

retest AWS CI (libcoap)


Support polyfill

I really like this generator. But now I am having the problem to add polyfill support (e.g. support old Chrome and IE11 etc).
I want to use core-js. relay-compiler demands core-js2, while using core-js2, I come across this:
[craco] =============
[craco] Failed to compile.
[craco]
[craco] ./src/index.tsx
[craco] Module not found: Can't resolve 'core-js/modules/es.array-buffer.constructor' in 'd:\me\svn\FE\src'

I know es.array-buffer is core-js3 feature, but I have no clue to find out which package wants it.
In summary, will the support of polyfill be added to the roadmap, or could you give me some hint on how to track this error?

What steps did you take before getting this error? Did you read this document?

Thanks for the link, a good hint for me.
I was trying to add polyfill with @babel/polyfill

Are you good now then?

@jedmao Yes, it's working. Thanks!


Fix broken link to online CLI docs

The old link had started redirecting to a generic top-level help page.
This updated link goes to a main page about the CLI.

Can you change this to target :master?

No.
On Feb 4, 2015 12:24 PM, "Matt Hernandez"<EMAIL_ADDRESS>wrote:

Can you change this to target :master?
--
Reply to this email directly or view it on GitHub
https://github.com/onmodulus/modulus-cli/pull/41#issuecomment-72897829.

Ok.


Add additional tests for observability

Signed-off-by: David Cui<EMAIL_ADDRESS>Description
Add tests in Observability to reflect some late changes made before code freeze
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

If we add this all the tests pass with security plugin.


Handle Subdirectories

In case people download zip files and just unrar them into the ROMs directory.

from me. I like to hold each rom in subdir and place game manual there (or any other guides).


Automatically use backup IERS URL if first one fails to download

When looking into what could be causing #476 I saw that the timeout error was not being caught within astroplan.utils.download_IERS_A(). This results in the function failing if the primary URL times out, without trying the backup.
One solution might be to catch timeout in addition to urllib.error.URLError, but when looking at the equivilent function in astropy.utils.iers.IERS_Auto() it seems you can just pass a list of source URLs to astropy.utils.data.download_file(), which will run through the list if the first one fails.
So this PR makes that minor change to mean download_IERS_A() mirrors the code in IERS_Auto(). Letting download_file() catch the errors also means that there's no longer any reason the enumerate through the list of URLs here, making things simpler here too.

Hi @martinjohndyer , thanks for contributing this and #476. The IERS table has a long history of being painful.  The patch you've submitted here somewhat reverses what was done in #418, which was an attempt to compensate for invalid urls.
There are also quite a few other Issues and PRs that were related to IERS items. I think some of the underlying astropy mechanism has also changed (or is about to change).
I'll try to look at this later but maybe @bmorris3 could comment on if there is a master plan for IERS within astroplan.

@wtgee I wouldn't necessarily say this reverses any of #418 , the core principle of using the URLs from the astropy config is still respected. This just uses the astropy function to select the mirror if the primary URL fails, rather than the code that @lpsinger added which doesn't catch timeout errors we're now seeing.
If you really want a minimum change then all you need to do to fix #476 is just catch timeout errors explicitly, replace:
    for i, url in enumerate(urls):
        try:
            local_iers_a_path = download_file(url, cache=True,
                                              show_progress=show_progress)
        except urllib.error.URLError:             # <---- Doesn't catch timeout
            if i == len(urls) - 1:
                raise

with
    for i, url in enumerate(urls):
        try:
            local_iers_a_path = download_file(url, cache=True,
                                              show_progress=show_progress)
        except (urllib.error.URLError, timeout):  # <---- Now it does
            if i == len(urls) - 1:
                raise

or even just a general except Exception would do the job, I don't know if there is a paticular reason only URLErrors are caught.
I'm well aware dealing with the IERS tables in astroplan have been an ongoing issue (e.g. 1, 2). I'd certainly welcome any more involved changes, ideally using as much of the astropy code as possible (which is what I suggested doing in this PR), but hopefully this is a fairly small change that would fix an obvious shortcoming with the existing function.

Hi @martinjohndyer, thanks, you are right that it isn't a reversal of the work done, I guess I was not looking at it quite closely enough.
However, in addition to this issue there is also the issue that IERS_A_in_cache is relying on the private astropy method _get_download_cache_locs (as reported in #471).  Since IERS_A_in_cache is called both before and as part of download_IERS_A, this is always being called and the above changes will fix one problem, but not the other.
Really astroplan shouldn't be doing any of this since it just duplicates what astropy does.  astropy.utils.iers.IERS_Auto() should just handle everything.

#481 is an attempt to move entirely over to the astropy mechanism, which should hopefully solve this problem.

@wtgee Thanks, that looks like a much better solution. I'm happy for this PR to be closed in favour of #481.


Easy way to emulate COTR?

Hi,
Is there am (easy) way of supplying LOFTR with the "query points" on one image in order to get the most probable matching locations in the other image?

Hi Dmytro,
I'm afraid there is no easy way. From my personal experience, using "query points" with the released model and weights is unlikely to give you perfect results.
In fact, we have tried a variant called LoFTR-SPP in the IMW-Challenge. Please refer to our technical report for more details. However, we have no plan to release the code and model currently.

Thank you for the quick answer!


Fixed Intermittent failure of ItElasticLogging and ItElasticLoggingFluentd

Not seeing the failures  in 8 jobs from elk_nightly
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/9630
to
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/9638
with latest changes, the failures  are not seen in 10 jobs from elk_nightly
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/9767
to
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/9776

@anpanigr Jenkins job is passing at https://build.weblogick8s.org:8443/job/WebLogic Kubernetes Operator Kind/view/change-requests/job/PR-2903/

I was looking for complete kind-parallel run, as this test is not part of gate


Zeto

Zeto is a UTXO based privacy-preserving token toolkit for EVM using Zero Knowledge Proofs.

@EnriqueL8 If you'd like some help promoting your new lab to the Hyperledger community, I'm happy to help. We can organize a virtual meetup and share that -- when we've done that for other labs we get 100-200 people signing up for a meetup and then we see hundreds of people watching the recording of that on our YouTube channel. Feel free to reach out to me at dboswell at linuxfoundation dot org if you'd like to set up something.

thanks @davidwboswell for reaching out, I'll DM you on Discord to coordinate for a time


Coda Daemon crash report

coda_crash_report_2019-10-24_08-16-56.253480.tar.gz
This crash happened a few seconds after I ran the following command on the commandline:
coda daemon \
-peer /ip4/<IP_ADDRESS>/tcp/8303/ipfs/12D3KooWHMmfuS9DmmK9eH4GC31arDhbtHEBQzX6PwPtQftxzwJs \
-peer /ip4/<IP_ADDRESS>/tcp/8303/ipfs/12D3KooWAux9MAW1yAdD8gsDbYHmgVjRvdfYkpkfX7AnyGvQaRPF \
-peer /ip4/<IP_ADDRESS>/tcp/8303/ipfs/12D3KooWCZA4pPWmDAkQf6riDQ3XMRN5k99tCsiRhBAPZCkA8re7 \
-propose-key .keys/coda-wallet.pub

Running without -propose-key appended works.
Running with propose-key .keys/coda-wallet works (the private key file, not the public key file).
Running with -propose-public-key appended fails with error:
Error parsing command line.  Run with -help for usage information.
unknown flag -propose-public-key

-propose-public-key is suggested as an option in the coda daemon -help menu.  Might want to remove mention of that flag if it's not enabled.

It's removed in newer versions of the daemon. We've moved a bunch of stuff around in the CLI and a lot is changing. Thanks for the report!


hashes: Hide both macros

We have two macro definitions feature gated on serde. At some stage we added the doc(hidden) attribute to one of them but forgot to add it to the other. This technically makes our features non-additive. This macro is "internal" so its unlikely that this is being used in the wild.
Add doc(hidden) to the serde_impl macro that is missing it.
Found by cargo semver-checks after recent upgrade to 0.38

Thanks for the review man.


RFC Non-class backed (yml only) dataobjects

Background
This RFC proposes a solution to allow a new dataobject specification to be built using only config.
This proposal will allow us to split the class base for specific dataobject specifications away from requiring explicit classes.
This means that, for instance, we can create test class dataobjects which do not require us to create a test file. These can exist purely in YML.
Details
Class structure
I propose an extension of the DataObjectSchema implementation. Ever since I wrote this feature I've felt that the implementation was out of place and served no real purpose, other than "make dataobject.php shorter".
The basic proposal is that each logical-class will be backed by two real-classes:

Instance class, which is either DataObject (or a specific subclass)
Schema class, which is either DataObjectSchema (or a specific subclass).

As with Page and PageController, the relation between the two will be based on naming convention. The default "schema" class for any model is <FQN>Schema. YML classes don't need to conform to this convention.
Schema registration
The registration of all models will be based on the union of:

Real DataObjectSchema subclasses
All YML-registered keys

That meaning, creating a subclass of DataObjectSchema will automatically register that as a model. These classes are self-describing, meaning that config such as db, has_one, and so on will be drawn not from the BlogPage.db, but from BlogPageSchema.db. In fact, BlogPage class may not even exist.
YML Registration for objects would be:
SilverStripe\ORM\DataObjectSchema:
  schemas:
    BlogPage: # Virtual class
      extends: Page # Virtual parent class. Maybe not necessary?
      db: # will be merged with PageSchema.db too.
        Description: Varchar
      has_one:
        Author: 'SilverStripe\Security\Member'
      schema: PageSchema # Parent schema class name. Acts as both schema object, and inherits db fields from that schema
      instance: Page # Use the real `Page` class for instances of this object

schema and instance would just default to DataObjectSchema and DataObject if omitted, so they aren't mandatory.
We could instead make the schema / instance default to the parent extends model.
Parent db / has_one etc would inherit from EITHER (but probably not both) of extends or schema. That may require some thinking. :)
Typical convention would be that, for virtual schemas, there is no namespace.
Schema retrieval
Similar to how DataObject::get()/::get_one() can be used to query instances of a dataobject, you can use DataObjectSchema::get_one($model) to get a schema for a named model.
Mosts tasks that previously used DataObject::singleton() to do things on the schema (such as build the DB) now use DataObjectSchema::get_one($class).
DataObjectSchema::get() will return all schemas for the current db.
API
class DataObject {
	// Inject schema for objects. Required for virtual classes
	public function __construct(DataObjectSchema $schema = null) {
		$this->schema = $schema ?: DataObjectSchema::get_one(static::class);
	}
	public function getSchemaName();  // name of model. for non-virtual classes this ==== static::class. Same as DataObjectSchema::getName().
	public function getSchema(); // Changed from static to instance method, returns the schema for this instance
	public function write(); // other instance-only methods, etc
}

class DataObjectSchema {
	// configs (example)
	private static $db = [];
	private static $has_one = [];
	private static $has_many = [];

	// props
	public function getName(); // name of model. for non-virtual classes this ==== getInstanceClass(). Same as DataObject::getSchemaName().

	// Instance interaction
	public function getClass(); // class name of instance used
	public function createInstance(); // create new instance class for this schema
	public function query(); // create DataQuery for the underlying model

	// Schema interaction (called on DataObjectSchema:: directly).
	public static function get(); // Get all schemas
	public static function get_one($name); // Get a named schema (name of model not schema class)

	// db scaffolding, moved away from DataObject::singleton()
	public function requireDefaultRecords();
	public function requireTable();
}

Options / variants
Since we are moving the config for model specification to DataObjectSchema, it may be less disruptive instead to keep the schema on DataObject, and make that the schema class (DataObjectSchema goes away).
We would instead have a DataObjectInstance (or just DataItem for short).

cc @silverstripe/core-team for review :D

I guess the major question is here, which classes should have which roles.

DataObject + DataItem
DataObjectSchema + DataObject

And the other question is, is shifting config off DataObject subclass ok? Most people are used to adding it to their model + using it straight away. It may be a pain to users to need 2 classes.

This is great. Thanks, @tractorcow. I don't have a lot of time to write up a full response now, but in general, I love the direction. A long time ago, I attempted to solve this problem in a similar, but much less complex way by having a universal DataObject extension that acquired class-specific schema and CMS fields from YAML. In my experience building moderately complex websites, anywhere between 50-80% of DataObjects required nothing beyond YAML declarations, and that was really valuable, particularly for getting a site going quickly, and also making it accessible to designers and other team members who lacked PHP proficiency.
Architecturally, I think I have a hard time opposing any well-engineered plan to deconstruct the DataObject monolith into a more aspect-oriented approach, with smaller bodies of single concerns, and decoupling the schema from the business logic seems like a great start.
A declarative way to do getCMSFields and exposure to ModelAdmin seem like really good ways to reduce boilerplate code, as well, but that's another RFC.
Anyway, very keen to hear from others on this!

This means that, for instance, we can create test class dataobjects which do not require us to create a test file. These can exist purely in YML.

I'm really excited about what this will mean for creating fixtures! SapphireTest performance with fixtures is another topic, but it would help so much if we could fixture say a Member with only YAML.

      extends: Page # Virtual parent class. Maybe not necessary?

Perhaps if we called it inherit (or even inherits for multiple) it might not draw the assumption attached to extends in PHP? You'd be kind of doing this with schema: PageSchema already though.

In my experience building moderately complex websites, anywhere between 50-80% of DataObjects required nothing beyond YAML declarations

Yep, this is so true

Re: the instantiation of virtual classes via DataObjectSchema::get_one($name) etc, I kind of feel like we should be promoting some sort of dependency injection as a higher priority in SS5 - maybe implementing something like this into Injector would be a good start? For example, something like Injector has getItems($name) : DataObjectSchema[] and getItem($name) : DataObjectSchema

I had a bit of a think about this last night; I think creating two classes for a dataobject is unnecessary.
So I propose:

Keep all schema configs on the dataobject subclass
By default, 99% of all classes just use the DataObjectSchema as the schema instance.
90% of use cases users won't need to do anything different upgrading to ss5, except if they are using yml-configured models.

I like this path.
At a high level, I'd see it like so:

Rather than being represented by a subclass of DataObject, each "type" is represented by an object instance that complies with an interface.
Perhaps these are named services with a common prefix, like we do with DBFields?
There's a scaffolder that easily makes one of these for each subclass of DataObject.
In addition to the scaffolder, you can instantiate your own instances via whatever mechanism makes sense.

Not sure:

Does each DataObject subclass have its own type object, or just the base data classes. If the latter, then it would need to have some kind of notion of a 'type tree'.

I'm not entirely sure that this needs to be change/major - it could potentially be a minor change if we preserve the existing API.

I'd probably call the interface DataType and make it completely absent of static methods.
You might have ClassBasedDataType which derives a data type from DataObject static properties, preserving current behaviour.
foreach(ClassInfo::subclassesFor(DataObject::class) as $dataClass) {
  $types[$dataClass] = new ClassBasedDataType($dataClass);
}

DataObjectSchema would probably be deprecated and/or rewritten to pass all its calls through to methods on the type object in question. Something like this (which assumes each type is a prefixed name in Injector; there are other approaches such as a DataTypeSet service)
    public function DataObject::tableName($class)
    {
        return Injector::inst()->get('DataType.' . $class)->tableName();
    }

This would keep us from breaking the DataObjectSchema API.
You could add ConfiguredDataType as a separate implementation, that used property setters rather than statics:
$configurableDataType = new ConfiguredDataType();
$configurableDataType->setTableName('orders');
$configurableDataType->setFields([
  'OrderID' => 'Int',
  'Price' => 'Decimal',
]);
$configurableDataType->setHasOne([
  'Member' = Member::class,
]);
$types['Orders'] = $configurableDataType;

...which can then easily be built inside Injector yaml.

I'd be interested to see how this could fit in a minor change release, it seems like a big paradigm shift at face value.
The concept is really powerful and it's really nice to see.
I will greatly miss being able to easily discover and traverse classes in IDEs...
Looks like we'll utilise FormFactories more with this approach coming up.

I like the idea of making big changes by making a new API rather than radically changing an existing one.
Then you can deprecate the old API...
And in the next major release delete it.

gets into most of the community's hands within months rather than years.

SS5 is only nine months away, if we're going to keep ourselves honest. By the time this gets into a minor release, it would likely be less than six months away, so I would weigh the cost/benefits of not breaking any APIs.

I will greatly miss being able to easily discover and traverse classes in IDEs...

Yeah, this is a huge drawback. I'd expect the natural outcome would be 100+ line, all-inclusive YAML files, which actually becomes a disservice to discovery.

I like the idea of making big changes by making a new API rather than radically changing an existing one.

Yup, that sounds fine, as long as old API is not dramatically changed to transition the new API in, then that could be alright.
It's not uncommon to overlook the old API functionality when the new API is transitioned in though.

100+ line, all-inclusive YAML files

I hope it doesn't lead to practices of monolith YAML file(s), that would be worse :P

On the "100 lines of YAML, no more code hinting" risk: my assumption is that most DataObjects would still use the original PHP approach, and this tool would only be used where there were no special features of the object.
A particular use-case I could see for this is to allow the creation of new page types with no extra PHP code. You could, for example, build on this with a  feature in a theme that injected new page types, meaning that a theme could provide a new page types independently. It's beyond the scope of this ticket but it's a way it could grow.

It's probably worth noting that allowing this use case would also mean we're being a bit more honest with our API. We currently have DataObjectInterface which is useless outside of DataObjects, so this would be a good example of us dogfooding our interfaces a bit more.
At the same time it's also a great excuse to do some refactoring in DataObject =)

I thought I would put in my two sense on the matter even though I am not a core contributor. Overall I think tractorcow's original idea is great and will help developers who are writing tests immensely.
I do however think that you may want to create a dedicated configuration file (model.yml or schema.yml perhaps?) file. Otherwise, I think this change might cause some consistency issues for developers coming to a new project or module.
Right now developers can reasonably assume that a project or module will store it's DataObjects files in a Model folder (under src/). It would be nice if you could store the yaml file for "Virtual DataObjects" within the same folder.
There is also the question of whether storing "Virtual DataObjects" in the main configuration file is appropriate for anything other than testing purposes.
P.S. I don't know if issue threads are normally open to community feedback so I hope I am not speaking out of turn here. Please take my comment as a grain of salt.

P.S. I don't know if issue threads are normally open to community feedback so I hope I am not speaking out of turn here.

Not at all, we always welcome community feedback - on issues, RFCs (also logged in Github issues) and pull requests 😄

This might be trickier than it seems. I've looked into adding "mock" dataobjects from PHPUnit tests into the manifest so that we could do proper testing of mocked dataobjects and having them show up in inheritance heirachies and such, but the nesting feature of the manifests doesn't appear to work as expected... So that needs fixing to get this working, I think..


Cannot use 'meta-intel-iot-security/meta-security-smack' with 'meta-security'

Hi,
probably it's a stupid question but I want to try to ask if it is possible to use meta-security with meta-intel-iot-security/meta-security-smack, because I get this error:
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: Recipe meta-security/recipes-security/smack/smack_1.3.0.bb has PN of "smack" which is in OVERRIDES, this can result in unexpected behaviour. [pn-overrides]
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: meta-security/recipes-security/smack/smack_1.3.0.bb: Variable RDEPENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: meta-security/recipes-security/smack/smack_1.3.0.bb: Variable FILES is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: Fatal QA errors found, failing task.
ERROR: Failed to parse recipe: meta-security/recipes-security/smack/smack_1.3.0.bb

I'm using yocto rocko with meta-security rocko and meta-intel-iot-security master

Stefano Cappa<EMAIL_ADDRESS>writes:

Hi, probably it's a stupid question but I want to try to ask if it is
possible to use meta-security with
meta-intel-iot-security/meta-security-smack, because I get this error:
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: Recipe meta-security/recipes-security/smack/smack_1.3.0.bb has PN of "smack" which is in OVERRIDES, this can result in unexpected behaviour. [pn-overrides]
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: meta-security/recipes-security/smack/smack_1.3.0.bb: Variable RDEPENDS is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: QA Issue: meta-security/recipes-security/smack/smack_1.3.0.bb: Variable FILES is set as not being package specific, please fix this. [pkgvarcheck]
ERROR: meta-security/recipes-security/smack/smack_1.3.0.bb: Fatal QA errors found, failing task.
ERROR: Failed to parse recipe: meta-security/recipes-security/smack/smack_1.3.0.bb

My guess is that the "smack" override used by meta-intel-iot-security
interacts poorly with smack_1.3.0.bb, so no, it looks like they can't be
combined as they are now.
Also note that meta-intel-iot-security is currently looking for a new
maintainer. If you are interested in something found here and not
elsewhere, then you need to work with the OE community to figure out
where that should live going forward.

There is a conflict in naming.
I'm working on a project that use meta-security and a rewriten version of parts of meta-intel-iot-security.
If you are interested, it is here: https://git.automotivelinux.org/AGL/meta-agl/tree/meta-security

There is a conflict in naming.
I'm working on a project that use meta-security and a rewriten version of parts of meta-intel-iot-security.
If you are interested, it is here: https://git.automotivelinux.org/AGL/meta-agl/tree/meta-security


feat(OrientationMarker): clean up orientation marker

Context
Currently, the OrientationMarker tool drawings will remain on screen after the tool is disabled. These changes will remove the drawings after the tool is disabled.

 I didn't know about that. Sorry.

Sorry guys I think my comment above got missed - @sedghi @pedrokohler

Is the resetCamera() call necessary in addAxisActorInViewport? That's the thing causing unexpected behavior for me. Not sure the original intent of having it there and wouldn't want other expected behavior to break but if it's not needed can we remove it as well?

@jmhmd Which reset camera are you talking about?

This one: https://github.com/cornerstonejs/cornerstone3D/blob/545dab67a657488ffe90b7490b31976d953005fc/packages/tools/src/tools/OrientationMarkerTool.ts#L192


investigate changing travisCI for something else

travisCI changed its commercial approach, we should consider changing our way of managing CI

First github actions support was implemented reproducing the travis ci we had. I close this issue


Do not change global env

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[x] Ensure all commits include DCO sign-off.
[x] Ensure that your contributions pass unit testing.
[x] Ensure that your contributions contain documentation if applicable.

Description
Do not change ENV variables of a current process. Instead pass relevant environment to the actual shell command being run.
this PR is built on top of #673

Some version of this would be nice to have: the current global env version in practice means only one git operation can run at a time per process, which is rather inconvenient.  Unless I'm missing something, based on what was merged in  #673 I think this can be changed to just have "option 2" (capture2/popen2) and is then probably in a good state?

@maths22
All methods I have tried did not work for one reason or another in JRuby on Windows.
I have released git-2.0.0-pre1 which I believe will address this issue in a different way. You can see PR #684 for details. This version still does not support JRuby for Windows, but I believe there is a path to victory there.
The API of this gem is unchanged. All the changes are below the hood.

Fixed in #684 and released in 2.0.0.


Error when starting with AudioKit Tutorial

Hi,
i have problems with the setup of the Dynamic Framework in Xcode 7.0.1 and iOS 9.
I have set up step by step with your movie, however it ends always with this error.
I used the tutorial video either with a new Objective C project and a new Swift project.
Both ends with the given error message.
ld: framework not found libsndfile
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Regards
Sas

It does sound like you didn't set up the libsndfile.framework properly in your project. It should be set up the same way as the CsoundLib.framework in your project, so maybe you just overlooked it.

I have followed exactly the steps in the tutorial video.
Both *.framework files are available in my project.
I have checked it several times but the result was always the same.
So are there any other steps that have not been mentioned in the tutorial?

One more note:
Under General>Linked Frameworks and Libraries
libsndfile.framework and CsoundLib.framework appear two times.

Pining @aure to make sure he sees this one.

If you need more info - just let me know.

Do the examples inside the AudioKit repo, like "HelloWorld" or "AudioKitDemo" work on your machine?

Yes, they work out of the box.
I have tried to compare the settings but wasn't able to find some.

Can we do a screensharing session on Screenhero?  I'm happy to invite you if you do not have an account.

Yes, that would be great.

Email me at<EMAIL_ADDRESS>with an email address you can use for screenhero and I'll send you an invitation.

With the help of Aurelius I was able to successfully run the tutorial.
By adding the folder AudioKit/AudioKit/Platforms/iOS to the setting "Framework Search Paths" it was possible to run a project from scratch with AudioKit.
I think its worth mentioning as I have tried the tutorial from a fresh & clean XCode installation.
Regards
sas


Documentation is not up to date (RPM installation)

RPM package now use Java Service Wrapper. All configuration goes to /etc/jmxtrans/wrapper.conf.

I'm happy to update this documentation but I need to know a few other things about /etc/jmxtrans/wrapper.conf. What is the cleanest way to change or override settings in this?
The conf contains a lot of version-specific classpath stuff which makes it difficult to template in configuration management such as Ansible. I noticed that the wrapper supports an ENV variable called WRAPPER_CONF_OVERRIDES but I'm also unsure where would be appropriate to set this for the jmxtrans user if its being started by the /etc/init.d/jmxtrans script.

Honestly, the current packaging is problematic in a number of ways and is probably going to change at some point. In particular, JSW should be replaced by systemd (at least for platforms that support it).
That being said, JSW documentation might give you some ideas. In particular, have a look at Cascading Configuration Files.
Note that at this point, the jmxtrans-*-all.jar is a more stable interface than the .deb or .rpm. It might be a better starting point for a configuration management solution.

Thanks @gehel, I'll look into the jmxtrans-*-all.jar.
I've edited the wiki: you can close this issue if you're happy with the update.


Add initial support for Markdown

Fixes issue #13:
In index.js:

Add 1 additional if statement to process and read .md file.

In readFolder.js:

Add 1 extra Array.filter() to get only .md files and pass them to the newly created readMDFile() function.

In modules:

Create new readMDFile.js with a readMDFile() function containing similar logic to readFile.js.
Add extra regex and String.replace() to process markdown element (Heading1, Heading2, and [Link](...)) and convert them to appropriate HTML elements.

In README.md:

Format and add additional documentation for markdown support (with examples and output demo).

Everything sounds good to me. Thanks for your work.


Add EntityTeleportEvent and PlayerTeleportEvent

This PR add 2 events that can be cancelled: EntityTeleportEvent & PlayerTeleportEvent
It also remove some unused imports.

I fixed conflict


Issue with the Dialog host

Hi, thank you for sharing this awesome lib. I'm having problems with the "DialogHost" as it is closing the  dialog even if it is cancelled(e.Cancel()) and e.Handled = true. here is the "DialogClosingEventHandler"
private async void dialogClosingEventHandler(object sender, DialogClosingEventArgs e)         {             if ((bool) e.Parameter)             {                 if (NewVehicle.isValid)                 {                     if (await _vehicleDataAccessManager.checkVehiclesAsync(NewVehicle.vehicleName))                     {                         **e.Cancel();                         e.Handled = true;                         ErrorMessage = "vehicle with the name : " + NewVehicle.vehicleName + " already exists.";**                         return;                     }                     if (SaveCommand.CanExecute(NewVehicle != null && (IsNewEntry || IsInEditMode)))                     {                         SaveCommand.Execute(null);                     }                 }                 else                 {                     e.Cancel();                     e.Handled = true;                     ErrorMessage = "Please fill the details.";                 }             } else             {                 if (CancelCommand.CanExecute(IsNewEntry || IsInEditMode))                 {                     CancelCommand.Execute(null);                 }             }         }
please look at that highlighted (bold) part. it is causing problems.

Looks to  me like you are running the event handler async, and therefore the internal flag that gets caught by calling .Cancel() is never noted, and the dialog continues to close.

yes i have to :-( is there any way to solve the issue. at present i'm showing an error dialog after the dialog is closed and then recreating the create dialog again with the same data entered before. (as a work around)

Hi,
If the event is handled async, there is no way the lib can know that you called .Cancel()
So, this is not a bug, you'll have to find a different way to do what you want to do.

@ButchersBoy Thnx man, again for the lib. I'll continue using the workaround


delete: key not found on (possible) file overwrite

Extracting kernel source files to zdbfs, closing zdbfs, restarting the extraction (overwrite existing) lead to couple of errors:
[-] zdb: del: error: Key not found

This seems not to affect runtime but this should not happens, this mean there is an inconsistency somewhere, trying to delete a key not available on the backend.
EDIT: can reproduce even without restarting zdbfs process. Extracting twice the same archive lead to the same error.

Moving to major, I could see that error couple of time and leading to unstable or unusable filesystem after a while.


migrations not running

I was struggling to get imap emails setup and enabled errors to see that the sql table was missing columns i tried going into the container and running
php artisan migrate

but received these errors:
In AbstractMySQLDriver.php line 115:

  An exception occurred while executing 'SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COL
  UMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS Cha
  racterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'freescout' AND TABLE_N
  AME = 'send_logs'':

  SQLSTATE[HY000]: General error: 1036 Table '/tmp/#sql_437_0.MAI' is read only

In PDOConnection.php line 106:

  SQLSTATE[HY000]: General error: 1036 Table '/tmp/#sql_437_0.MAI' is read only

In PDOConnection.php line 104:

  SQLSTATE[HY000]: General error: 1036 Table '/tmp/#sql_437_0.MAI' is read only

Strange, what version are you running? Have you been running the image for a while?
What's your Host OS and filesystem?

I was running 1.1.5 before attempting upgrade I think. But in one of my attempts I deleted the mounted database to see if that would let it create an up to date DB to start with(I kept a backup) I did this test on your latest image v1.3.(5?) of freescout.
Host os is Ubuntu ext4 filesystem.

Sorry about the delay. I did notice quite a few errors on how I was handling auto upgrades and it was ugly. I have refactored the image over the past few days and it seems I've ironed out most of the bugs. I ran into quite the mess trying to make sure that the .env file APP_KEY wasn't getting overwritten often (it was deleting my passwords in app), and also had to reverse engineer how Modules are actually installed. Hopefully this resolves it for you!

Hi Ive tried pulling new copies of all my images but still having no luck running migrations (having to do it manually as pulling freescout image updated it without changing db still getting the same issue with tmp files not being writeable by the database

OK. Thanks for this.
How do you have this installed:
Are you exporting /www/html ?
Or are you just exporting /data (leaving freescout sourcecode original and letting the image dynamically create the config each startup).
I have a routine that looks for something called .freescout-version if doing the /data method which bases it on the original install, upgraded install, and upgraded image value which executes the migrations, however I think there may be an issue if you are going down the /www/html route. I'm going to have to think about how to solve that, I don't think it will cause any problems if we attempt to migrate every container startup, but I'll need some testing on this.
The /tmp problem where you can't write to that folder i am at a loss - I cann't reproduce that on my own system, I'm wondering if we can try creating a folder called tmp outside of your container, mapping it via volumes, and making sure its set as chmod 777.

Also, when inside the container, can you try padding your artisan commands with:
sudo -u nginx
ie sudo -u nginx php artisan <command>
I'll add a shortcut in next release to avoid having to do this.

ive been using a docker compose file:
version: '2'
services:
freescout-app:
image: tiredofit/freescout:latest
container_name: freescout-app
links:
- freescout-db
volumes:
- ./logs/:/www/logs
environment:
- VIRTUAL_HOST=*******
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=***********
- LETSENCRYPT_EMAIL=*************
- ZABBIX_HOSTNAME=freescout-app

- DB_HOST=freescout-db
- DB_NAME=freescout
- DB_USER=freescout
- DB_PASS=freescout

- SITE_URL=https://*********
- ADMIN_EMAIL=***********
- ADMIN_PASS=*************
- ENABLE_SSL_PROXY=TRUE
- DISPLAY_ERRORS=TRUE
- TIMEZONE=Europe/London
ports:
  - "5050:80"
restart: always

freescout-db:
image: tiredofit/mariadb
container_name: freescout-db
volumes:
- ./db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=freescout
- MYSQL_USER=freescout
- MYSQL_PASSWORD=freescout
  - ZABBIX_HOSTNAME=freescout-db
restart: always

freescout-db-backup:
container_name: freescout-db-backup
image: tiredofit/db-backup
links:
- freescout-db
volumes:
- ./dbbackup:/backup
environment:
- ZABBIX_HOSTNAME=freescout-db-backup
- DB_HOST=freescout-db
- DB_TYPE=mariadb
- DB_NAME=freescout
- DB_USER=freescout
- DB_PASS=freescout
- DB_DUMP_FREQ=1440
- DB_DUMP_BEGIN=0000
- DB_CLEANUP_TIME=8640
- COMPRESSION=BZ
- MD5=TRUE
restart: always
this is then behind an nginx reverse proxy I'll try the modified artisan command just now

same error with the
sudo -u nginx php artisan migrate

Have a go at this docker-compose example. You should be able to reuse your existing DB so just update the credentials properly or just replace out the freescout-app service with what I've put in and let's see if this solves anything. This will solve some of the issues I've been seeing with data persistence, encryption keys, and should also enable the automatic migrations support.
version: '2'

services:
  freescout-app:
    image: tiredofit/freescout
    container_name: freescout-app
    ports:
      - 5050:80
    links:
      - freescout-db
    volumes:
      - ./data:/data
      - ./logs/:/www/logs
    environment:
      - ZABBIX_HOSTNAME=freescout-app

      - DB_HOST=freescout-db
      - DB_NAME=freescout
      - DB_USER=freescout
      - DB_PASS=freescout

      - SITE_URL=https://***
      - ADMIN_EMAIL=***
      - ADMIN_PASS=***
      - ENABLE_SSL_PROXY=TRUE
      - DISPLAY_ERRORS=TRUE
      - TIMEZONE=Europe/London
    restart: always

  freescout-db:
    image: tiredofit/mariadb
    container_name: freescout-db
    volumes:
      - ./db:/var/lib/mysql
    environment:
      - ROOT_PASS=password
      - DB_NAME=freescout
      - DB_USER=freescout
      - DB_PASS=freescout

      - ZABBIX_HOSTNAME=freescout-db
    restart: always

  freescout-db-backup:
    container_name: freescout-db-backup
    image: tiredofit/db-backup
    links:
     - freescout-db
    volumes:
      - ./dbbackup:/backup
    environment:
      - ZABBIX_HOSTNAME=freescout-db-backup
      - DB_HOST=freescout-db
      - DB_TYPE=mariadb
      - DB_NAME=freescout
      - DB_USER=freescout
      - DB_PASS=freescout
      - DB_DUMP_FREQ=1440
      - DB_DUMP_BEGIN=0000
      - DB_CLEANUP_TIME=8640
      - COMPRESSION=BZ
      - MD5=TRUE
    restart: always

new error on running migrate:
The stream or file "/www/html/storage/logs/laravel-2019-12-11.log" could not be opened: failed to open stream
: Permission denied

that error goes back to the normal one about tmp files if I dont use the sudo -u nginx prefix

Do you by chance have portainer or anything running or we can join in on a way for you to share your screen/let me poke around your container? This seems very odd.

yes but it will take me a while to isolate the system I will get back once I have

No worries. Feel free to contact me with the email address in the changelog.

Solved Privately - Problem with DB Image (tiredofit/mariadb) - Fixed privately


fix(curriculum): Changed the answer to correct option. #57735

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #57735

Hi @SuryaTejaDarisi !
Thank you for your interest in contributing to freeCodeCamp.
It looks like you have run into some issues when creating this PR because you have changed over 5,000 files

I am going to close this PR for that reason.
Please open a PR that only changes the specified files mentioned in the issue.
If you need help working with git and github, here is a helpful video to help you get started.
https://www.youtube.com/watch?v=RGOj5yH7evk
Also, you can reach out on the forum or discord and the community can help walk you through any issues you encounter with creating your PR. 👍


EmbeddingBagCollection is not allowed to set embedding_dim=1, but many model need it for WideArch

EmbeddingBagCollection is not allowed to set embedding_dim=1, but many models need it for WideArch, e.g. WideAndDeep, DeepFM.
AssertionError: table t_cat_9 has local_cols=1 not divisible by 4.

Hi, the problem is the kernel library we use requires the dim to be divisible by 4. https://github.com/pytorch/FBGEMM/blob/2117dd33d4c4fd53cfadbf037b5fb3c0824cb00e/fbgemm_gpu/fbgemm_gpu/split_table_batched_embeddings_ops_training.py#L119
We can keep this issue open as a feature request though.


Get array key identifier for queue

Hey all,
I believe it might be related to #14
Anyhow, I will ask :)
Here is the idea.
    $rows = [1 => 'url1', 5 => 'url2', ... ];
    $requests = [];
    foreach ($rows as $id => $url) {
        $requests[$id] = new \cURL\Request($url);
    }

Is there any way to get the key ID?
    $queue->addListener('complete', function (\cURL\Event $event) use (&$requests) {
            $response = $event->response;
            $content = $response->getContent(); // Returns content of response

// TODO: get id here

            if ($next = array_pop($requests)) {
                $event->queue->attach($next);
            }
    });

    $queue->attach(array_pop($requests));
    $queue->attach(array_pop($requests));
    $queue->send();

Thanks in advance.

Sorry, resolved :)


fstests: add TestFsPutChunked

What is the purpose of this change?
This adds a test for chunked uploads to the integration tests.
Each remote now has a ChunkedUploadConfig field in the fstests.Opt struct, to specify the required settings for the test. In addition, each remote that supports chunked uploads has to implement the fstest.SetUploadChunkSizer interface, which allows to change the value at runtime. Remotes that do not implement the fstest.SetUploadChunkSizer interface will not be tested, since the test would be the same as TestFsPut with bigger files.
These are the currently minimum chunk sizes and the total number of bytes uploaded to the remote during the test:

remote
min chunk size
test upload size

b2
5M
190M

s3
5M
190M

drive
256K
13M

onedrive
320K
25M

*
1
28M

These numbers could probably be reduced a bit by removing some similar test cases. There should be no file download involved, as file.Check only compares the hash and modtime.
The output of the following tests can be viewed here: chunked.log
go test -v ./backend/drive ./backend/onedrive ./backend/s3 ./backend/local -test.run '^TestIntegration/((Setup|Init|Purge|Finalise)|FsPutChunked)$' | tee chunked.log
Was the change discussed in an issue or in the forum before?
#2549
Checklist

[x] I have read the contribution guidelines.
[x] I have added tests for all changes in this PR if appropriate.
[x] I have added documentation for the changes if appropriate.

[x] I'm done, this Pull Request is ready for review :-)

I had a few thoughts about the selection of chunk size values and came up with this list:
		next := func(f func(fs.SizeSuffix) fs.SizeSuffix) fs.SizeSuffix {
			s := f(minChunkSize)
			if s > maxChunkSize {
				s = minChunkSize
			}
			return s
		}

		chunkSizes := fs.SizeSuffixList{
			minChunkSize,
			minChunkSize + (maxChunkSize-minChunkSize)/3,
			next(NextPowerOfTwo),
			next(NextMultipleOf(100000)),
			next(NextMultipleOf(100001)),
			maxChunkSize,
		}
		chunkSizes.Sort()

Besides the better range of edge values, this also reduces the uploaded data volume:

remote
min chunk size
test upload size

b2
5M
139.10 M

s3
5M
139.10 M

drive
256K
15.00 M

onedrive
320K
36.25 M

*
1
11.43 M

The wrong filename is fixed and the bits*.go files are moved to the right commit.
Let's see how the integration tests turn out :smile:

Thanks :-)  Will merge - check https://pub.rclone.org/integration-tests/ tomorrow!

Looks like the tests were successful except for azureblob storage
   --- FAIL: TestIntegration/TestFsPutChunked (0.60s)
        --- FAIL: TestIntegration/TestFsPutChunked/100 (0.18s)
            --- PASS: TestIntegration/TestFsPutChunked/100/99 (0.05s)
            --- FAIL: TestIntegration/TestFsPutChunked/100/100 (0.06s)
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/100/100
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-100-100.bin: MD5 hash incorrect - expecting "7acedd1a84a4cfcb6e7a16003242945e" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 100
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/100/100
                    	Messages:   	chunked-100-100.bin: size incorrect file=100 vs obj=0
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/100/100
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-100-100.bin: MD5 hash incorrect - expecting "7acedd1a84a4cfcb6e7a16003242945e" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 100
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/100/100
                    	Messages:   	chunked-100-100.bin: size incorrect file=100 vs obj=0
            --- PASS: TestIntegration/TestFsPutChunked/100/201 (0.07s)
        --- FAIL: TestIntegration/TestFsPutChunked/128 (0.15s)
            --- PASS: TestIntegration/TestFsPutChunked/128/127 (0.04s)
            --- FAIL: TestIntegration/TestFsPutChunked/128/128 (0.05s)
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/128/128
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-128-128.bin: MD5 hash incorrect - expecting "37eff01866ba3f538421b30b7cbefcac" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 128
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/128/128
                    	Messages:   	chunked-128-128.bin: size incorrect file=128 vs obj=0
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/128/128
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-128-128.bin: MD5 hash incorrect - expecting "37eff01866ba3f538421b30b7cbefcac" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 128
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/128/128
                    	Messages:   	chunked-128-128.bin: size incorrect file=128 vs obj=0
            --- PASS: TestIntegration/TestFsPutChunked/128/257 (0.06s)
        --- FAIL: TestIntegration/TestFsPutChunked/133 (0.14s)
            --- PASS: TestIntegration/TestFsPutChunked/133/132 (0.04s)
            --- FAIL: TestIntegration/TestFsPutChunked/133/133 (0.05s)
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/133/133
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-133-133.bin: MD5 hash incorrect - expecting "8b6831066bd6fa5d47714f2ea8bd137e" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 133
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/133/133
                    	Messages:   	chunked-133-133.bin: size incorrect file=133 vs obj=0
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/133/133
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-133-133.bin: MD5 hash incorrect - expecting "8b6831066bd6fa5d47714f2ea8bd137e" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 133
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/133/133
                    	Messages:   	chunked-133-133.bin: size incorrect file=133 vs obj=0
            --- PASS: TestIntegration/TestFsPutChunked/133/267 (0.05s)
        --- FAIL: TestIntegration/TestFsPutChunked/200 (0.14s)
            --- PASS: TestIntegration/TestFsPutChunked/200/199 (0.04s)
            --- FAIL: TestIntegration/TestFsPutChunked/200/200 (0.05s)
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/200/200
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-200-200.bin: MD5 hash incorrect - expecting "fb7001d34b8e82c9b579be5005d5b0a5" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:172
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 200
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/200/200
                    	Messages:   	chunked-200-200.bin: size incorrect file=200 vs obj=0
                fstest.go:132:
                    	Error Trace:	fstest.go:132
                    	            				fstest.go:138
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Should be true
                    	Test:       	TestIntegration/TestFsPutChunked/200/200
                    	Messages:   	Azure container rclone-test-wilodeb4jafonec1cuvacuw9/chunked-200-200.bin: MD5 hash incorrect - expecting "fb7001d34b8e82c9b579be5005d5b0a5" got "d41d8cd98f00b204e9800998ecf8427e"
                fstest.go:139:
                    	Error Trace:	fstest.go:139
                    	            				fstests.go:175
                    	            				fstests.go:572
                    	Error:      	Not equal:
                    	            	expected: 200
                    	            	actual  : 0
                    	Test:       	TestIntegration/TestFsPutChunked/200/200
                    	Messages:   	chunked-200-200.bin: size incorrect file=200 vs obj=0
            --- PASS: TestIntegration/TestFsPutChunked/200/401 (0.05s)

@B4dM4n & @sandeepkru any ideas?

I can't tell what is wrong there. All the tests that fail are chunkSize = fileSize. A quick glance at the azureblob code has not revealed any problems.

OK I'll do some manual tests - this might be a release blocker :-(

OK it turns out that this is a bug in the azureblob SDK:
https://github.com/Azure/azure-storage-blob-go/pull/75
Also the new test framework isn't setting upload-cutoff which means the uploads aren't multipart on some backends!  I'll fix that in a moment!

I pushed a small follow-up to this PR, as I noticed the azureblob test only used a 200 B upper chunk size instead of the intended 2 MB: 15ce0ae57cf52990e10fdb62a6303a9023db7e91

Thanks @B4dM4n - I noticed that too (but I thought it was deliberate!)


User Profile

To Do:

[x] Add user profile icon to sidebar tabs

[x] Clicking on icon should open profile window

[x] Create profile window

[x] Allow for editing display name
[x] Allow for uploading/changing 2D Matrix Avatar
[x] Allow for uploading/changing 3D Third Room Avatar (.glb)
[x] Allow for uploading/changing 2D Thumbnail image for 3D Third Room Avatar
[x] Save 3D avatar / thumbnail image in new profile room

[x] Profile room is a private room where user is the owner and only member
[x] 3D avatar / thumbnail should be saved in m.world.profile room state event (add to https://github.com/matrix-org/matrix-spec-proposals/pull/3815)

[x] When joining a world, the client should set the m.world.member avatarUrl field with the current avatarUrl from the m.world.profile

Closing this issue. Instead of automatically generating thumbnails for avatars we s


String generators per charset

I agree with @bryce-anderson that it would be useful to have a charset-aware String generator.  The java.nio.charset.Charset API offers no way to iterate the valid characters per charset, but we could iterate the ('\u0000' to '\uffff') range and see what survives a round trip.  This would be ridiculous for all the charsets on the JVM, but we might pick a small handful of the charsets most often found in the wild, including non-UTF, and build generators specifically for those.
Relates to #143.

This would find a better home in scalacheck if it were ever done.


Change Memcached to verify ConfigMap exists instead of Secret.

What
Change Memcached to verify ConfigMap exists instead of Secret.

[INFO][2017-10-13 15:28:06 -0400]
[INFO][2017-10-13 15:28:06 -0400]	------------------------------------Phase 1: Initializing deploy------------------------------------
[INFO][2017-10-13 15:28:06 -0400]	All required parameters and files are present
[INFO][2017-10-13 15:28:06 -0400]	Context tierstaging found
[INFO][2017-10-13 15:28:07 -0400]	Namespace memcached-testing found
[INFO][2017-10-13 15:28:07 -0400]	Discovering templates:
[INFO][2017-10-13 15:28:07 -0400]	  - Memcached/memcached-my-app
[INFO][2017-10-13 15:28:07 -0400]
[INFO][2017-10-13 15:28:07 -0400]	----------------------------Phase 2: Checking initial resource statuses-----------------------------
[INFO][2017-10-13 15:28:08 -0400]	Memcached/memcached-my-app                        not found
[INFO][2017-10-13 15:28:08 -0400]
[INFO][2017-10-13 15:28:08 -0400]	------------------------------Phase 3: Predeploying priority resources------------------------------
[INFO][2017-10-13 15:28:08 -0400]	Deploying Memcached/memcached-my-app (timeout: 300s)
[INFO][2017-10-13 15:28:13 -0400]	Successfully deployed in 4.5s: Memcached/memcached-my-app
[INFO][2017-10-13 15:28:13 -0400]
[INFO][2017-10-13 15:28:13 -0400]
[INFO][2017-10-13 15:28:13 -0400]	----------------------------------Phase 4: Deploying all resources----------------------------------
[INFO][2017-10-13 15:28:13 -0400]	Deploying Memcached/memcached-my-app (timeout: 300s)
[INFO][2017-10-13 15:28:15 -0400]	Successfully deployed in 2.0s: Memcached/memcached-my-app
[INFO][2017-10-13 15:28:15 -0400]
[INFO][2017-10-13 15:28:15 -0400]	------------------------------------------Result: SUCCESS-------------------------------------------
[INFO][2017-10-13 15:28:15 -0400]	Successfully deployed 1 resource
[INFO][2017-10-13 15:28:15 -0400]
[INFO][2017-10-13 15:28:15 -0400]	Successful resources
[INFO][2017-10-13 15:28:15 -0400]	Memcached/memcached-my-app

@stefanmb Do you have any insight into these build failures? They seem unrelated to my changes, and previous builds last week were passing while being tested against the same k8s version.

@devonboyer Yeah - @karanthukral reported these last week. They seem to stem from a kubectl version mismatch, I'm fixing it right now.


Using angular-meteor with kendo ui grid

Does anybody have an idea how I can using Kendo UI Grid with angular-meteor? It drives me crazy when trying to find out what the dataSource for kendo grid is.

I am using ui-grid,(http://ui-grid.info ), it works good for me.

You can also use mquandalle:bower to download and install ui-grid via bower ...


Add Support for Debounce Property

When I am updating my tree dynamically I tend to update it a ton and it would be helpful for it to have a debounce property so it can wait for changes to stop happening.
https://docs.angularjs.org/api/ng/directive/ngModelOptions
"ng-model-options"="{ debounce: 100 }"

Sorry, which ng-model on the tree are you suggesting should be debounced?

The main ivh-treeview model.

I'm really sorry for being dense but would you mind point to a spot in the code?
Also, ng-model-options are inherited.

All ngModel directives will use the options of their nearest ngModelOptions ancestor.

Since ivh-treeview does not make use of ng-model-options you should be able to do something like this:

Or even put ng-model-options on the treeview element itself :). I'd be curious to hear if that does what you're expecting because I do not believe ng-model-options affects regular bindings, just ng-model.

Specifically I would like to be able to have debounce property on the change handler when dynamically adding children to the tree.  Sometimes I am adding maybe a thousand is rapid succession and the performance takes a huge hit because it is canceling the draw actions in the browser because another change has occurred.


DAO question: Should we consider Twitter background Lobster NFT ?

Hello 6751
As discussed on tg, what do you think about us creating a Lobster NFT which will suitable for
using as Twitter background ?
Note:
Some of you might be sent to outer space soon due to Proposal 1
have fun and good luck finding another race.

totally doesn't need to be now, just an idea for the future if the community would like it
closing, thanks


Feature request: functions/URLs as file sources

I'd like to propose allowing functions or URLs as file sources:
files: [
  (done) => promisifiedHttpGet( 'http://localhost:8080/bundle.js').then(resp => done(resp))
  (done) => done('<script> console.log('dynamic script content') </script)')
]

files: [
  'http://localhost:8080/vendor.js'
  'http://localhost:8080/bundle.js'
]

Currently this is not possible. Each entry in the files array must correspond to a real file in the file system.
If such a feature was to be added, a plugin for karma could dynamically fill in the files array upon compilation (when it knows what files were output), and notify Karma that it needs to reload.
This would help with a problem I've been having while trying to improve the performance of https://github.com/webpack-contrib/karma-webpack, in which an entry might originate multiple bundles.
The multiple bundles are important for build performance. Automatically making a bundle for vendor files massively cuts down the recompile time of tests proper.
I did something similar in https://github.com/angular/angular-cli/pull/6160, and observed 15x smaller build times (16.5s to 0.9s) on a medium sized project.
Since there was no way of adding the Webpack URLs directly to the files array, instead I added a custom karma-context.html that had hardcoded script tags. Then I added a custom handler to serve those files from the webpack middleware.
The one big problem with this approach is that the hardcoded files are not processed by Karma, which at least means that sourcemaps become problematic (https://github.com/angular/angular-cli/issues/6583).
Another problem is that the possible list of files has to be known at library build time, and that using another custom context file will break functionality.
I feel it would be a worthwhile addition to Karma.
There's a couple of open questions about it though:

under what name will these files be served? (perhaps a random name)
can the files array be changed between karma runs? (different compilations might yield different bundles)
how can these files be watched? (might need custom watch function)

Please let me know what you think of this proposal. If there is a better way of achieving the dynamic 'virtual' files list, I'm all for it.
/cc @d3viant0ne

We have been beating our faces against the keyboard trying to come up with a good way to do this in webpack-contrib as well and we are happy to throw resources at the problem if we can come up with a viable solution everyone agrees on.

Thank you for the proposal. I am very open to doing this, but will need to figure out how to make this work well. One random idea is to require those files be an EventEmitter which emits events if it is changed. Not a 100% sure though.

An event emitter sounds like a good idea, yes. It would make the watching trivial, and also allow for dynamic content. I think it would address the main requirements.
I'm unfamiliar with the inner workings of Karma proper though, so it's hard for me to say what would go well in the current architecture.
Is it currently possible to dynamically add more files to the file array during runtime? Depending on how code is split, new bundles might be formed during rebuilds.


Update constants.ts

I think those needed upade

?

NEXT_PUBLIC_API_BASE_URL and NEXT_PUBLIC_BASE_URL are not defined in ~/.bashrc (generated by .devcontaiener/scripts/enviroment.sh);  API_URL and WEB_URL are, so I thought the "NEXT_" prefixed variables were used when there was the "next." subdomain, and WEB_URL/API_URL are the new ones. Sorry if this was not a correct assumption.


Lcg/powershell out warning

Use this link to remove the whitespace deltas:
https://github.com/opscode-cookbooks/windows/pull/235/files?w=0

@jdmundrawala @ksubrama @smurawski ping

:+1:

:+1:

thanks @lamont-granquist


Product Comparison PDF

Is it correct, that with 1809 Azure Hybrid Join is only supported with Windows 10 Enterprise? Because according to the following page it's also supported with Windows 10 Professional?
https://www.microsoft.com/en-us/windowsforbusiness/compare

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

ID: cbabaf85-a345-a91e-f4e2-09c2b7871375
Version Independent ID: bab57f2f-249a-0fe9-4f4a-93d62ce71670
Content: Get started with Windows Defender Advanced Threat Protection
Content Source: windows/security/threat-protection/windows-defender-atp/get-started.md
Product: w10
GitHub Login: @mjcaparas
Microsoft Alias: macapara

Do you know already if Hybrid Join is really only available in the Enterprise version or is it just an incorrect information?

Hi,
This page is related to Windows Defender ATP. For information on Azure related capabilities, see: https://docs.microsoft.com/en-us/azure/active-directory/devices/hybrid-azuread-join-plan

Yes, the page is about WDATP, but on the Page you have a link to the PDF: https://wincom.blob.core.windows.net/documents/Windows10_Commercial_Comparison.pdf
In this document on page 7 at the bottom there starts a list of which domain join features are available in Win10 Pro. It has a check Mark on Active Directory Join, Azure Active Directory Join, but not on Azure AD Hybrid Join(First line on Page 8.
And this statement ist different than on the Windows 10 page itself https://www.microsoft.com/en-us/windowsforbusiness/compare
So you link to a document with incorrect data or the page https://www.microsoft.com/en-us/windowsforbusiness/compare is incorrect.


Trainer is (Probably) Slow Due to Excessive Logging

Right now, the Trainer object creates logs after every step (although logs get flushed every 100 steps). This (probably) slows down our training. We need to first measure if this is the case (e.g. turn off all logs, see how fast the model trains), and tune logging rate accordingly.

This is probably not the case since flushing is buffered to be every 100 steps.


Add nullability into signature

Fix #7810

:+1:
@Arnavion can you take a look.

Missing changes to es2015.symbol.wellknown.d.ts for https://github.com/Microsoft/TypeScript/pull/7650/files#diff-51388ac7d7d5066f71748cd419d6dca0R456 and https://github.com/Microsoft/TypeScript/pull/7650/files#diff-51388ac7d7d5066f71748cd419d6dca0R726

Thanks @Arnavion . Address the comment

LGTM


EverCrypr.Hash.alloca: remove strict_on_args attribute

Proposed changes
FStarLang/FStar#3107 changes the behavior of  strict_on_args slightly. Previously, if a strict_on_args function f appeared by itself, without any arguments, it could be unfolded (according to delta rules as usual). That PR fixes that problem, preventing the unfolding, which raises a compilation failure for libevercrypt:
Warning 2: in the arguments to EverCrypt.Hash.alloca, in the definition of tmp_block_state, after the definition of buf_1, in the last element of the sequence, after the definition of uu___, in top-level declaration EverCrypt.Hash.Incremental.digest_md5, in file EverCrypt_Hash: Reference to EverCrypt.Hash.alloca has no corresponding implementation; please provide a C implementation
Warning 2 is fatal, exiting.
gmake[1]: *** [Makefile:859: dist/wasm/Makefile.basic] Error 255

My understanding is that now some standalone occurrence of alloca remains, and since it doesn't have an implementation, the build fails. My "fix" in this PR is just removing the attribute for this definition. Looking at it again, I guess removing the noextract may be more sensible.. I'll update this bit with whether that works too.
Does this make sense?
Full error here: https://sprunge.us/xQxQsv
Types of changes
What types of changes does your code introduce to HACL*?
Put an x in the boxes that apply

[x] Proof maintenance (non-breaking change which fixes a proof regression)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New algorithm or feature (non-breaking change which adds functionality)
[ ] Improved performance (fix or feature that would improve performance of some algorithm on some platform)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CODE_OF_CONDUCT.md doc
[x] I have read and agree to submit my changes under the LICENSE
[ ] I have added necessary documentation (if appropriate)
[ ] I have edited CHANGES.md (if appropriate)

Can I help with this in any way?

Sorry, dropped the ball here. The original F* PR is also still open since this was more complicated than I expected. I'm gonna close this and reopen when I have something consistent in F*.


When importing just FirebaseUI.framework, FirebaseAuthUI not available

When directly importing the FirebaseUI.framework into my project as an alternative to using Cocoapods, FirebaseAuthUI is not available when I try to import it via the configuration directions. I'm getting "No such module".
This is a Swift project, so I thought I'd tweak the Firebase.h file to include the FirebaseAuthUI framework, but since there is no .h file in the FirebaseUI framework for FirebaseAuthUI, I'm at a loss as to how to use it.

Where did you download this from? You'll want to download the framework from: https://dl.google.com/firebase/firebaseui/ios/0_4_0/FirebaseUIFrameworks.zip which should contain the four appropriate frameworks.
FirebaseUI.framework is 0.0-0.3, while FirebaseAuthUI is included in 0.4+

I downloaded it from https://github.com/firebase/FirebaseUI-iOS/releases per the documentation on https://github.com/firebase/FirebaseUI-iOS. I'll give what you linked to a whirl.

Yep, the Zip I sent you is what you want. I'll update the releases with that Zip.

Using those provided frameworks takes care of the missing module issue but generates the following error with trying to build in the simulator or on device:

This is after cleaning the build folder and clearing out derived data...

You have to pull in a number of other frameworks both "internally" (FirebaseAuth.framework, FirebaseDatabase.framework) as well as several "external" frameworks (Facebook, GoogleSignIn, etc.). See https://firebase.google.com/docs/ios/setup#frameworks for more information.
This is why we recommend CocoaPods (as much as I understand how much people hate what it does to your project).

I already had all the other frameworks in place and had anon auth working. Playing with the UI was my next step. Turned out it was the -ObjC flag in Build Settings > Other Linker Flags that was tripping it up. It compiled after that but gave me an error: +[NSData gtm_dataByGzippingData:]... which Googling said you needed to add the -ObjC flag...but then I was back to getting the errors I screen grabbed above...
Cocoapods it shall be for now


feat: Support for cost_analysis_enabled property of azurerm_kubernetes_cluster

The cost_analysis_enabled property is available since Terraform provider for Azure v3.106.0

https://github.com/hashicorp/terraform-provider-azurerm/pull/26052

FYI, I had to git commit with --no-verify due to this bug in

#16

Thanks for accepting that!


[HCA Portal] Add terms of service

Path: anvil-explorer-tos
Title: AnVIL Explorer Terms of Service
Content: TBD

Closing - wrong portal.


Reorder-plugins

Slightly change the vue3 config so it properly parses typescript and includes browser apis/types

#139 has a better approach that doesn't cause 🤯


Fluid player overflowing page

Hi guys. i ve got an issue in my page: the player shows itself in his size and takes all page, going outside the visible area. It should detect and adapt the video size to the place wheres holded. How fix this?
Exemple link (adult content)
http://machosaonatural.com.br/brechando-a-foda-no-banheiro-do-colega-de-ap/

In all browser desktop  i ve tested: chrome, edge and firefox. In mobile is ok.

Hi,
I look like you have used the attribute 'fillToContainer: true',  it makes the player take full height and width of parent element it is enclosed.
Some solutions which can be used are

setting max-height and max-width to the parent element of the player is enclosed.
or to fix height and width to the player, here is sample code https://codepen.io/bharath-exads/pen/ydroKL


Check prior digest values

Fixes #40

Coverage decreased (-0.05%) to 94.556% when pulling 18c39bd77ded331eb966e4c1a06017d32c30e586 on issue-40 into cee07fb2850cbbca01bd140d80f32926b38fa30c on develop.


Is the tokenizer path wrong in the document?

I am following this guide to edit the configruation files of the Triton model.

I understand that the path prefix /tensorrtllm_backend is the local Git clone of this project mapped into the Docker container, right?  If so, /tensorrtllm_backend/tensorrt_llm is the Git submodule pointing to the TensorRT-LLM repo. However, in the following branch, I don't see examples/gpt/gpt2:
https://github.com/NVIDIA/TensorRT-LLM/tree/ffd5af342a817a2689d38e4af2cc59ded877e339/examples/gpt

My bad - it is the clone of the Hugging Face model.


Added Requisite IAM Permissions

My company requires that we give everything the bare minimum permissions it needs, this revision includes those in the README. Hopefully it will save someone else the time it took me to put them together.

Thanks for putting this together @Liath – it's exactly what I've been looking for!
In my case, I'm going to be relying on yas3fs to create its own queue for each node (with the --new-queue flag), so I will use different permissions for SQS.

@ollietreend Would you be so kind as to provide those permissions? I could look them up but it'd save me a few minutes if you had them handy. Thanks :)


Update github.com/h2non/filetype from 1.0.5 to v1.0.8

Should at least help resolve the issue with .mov reported in #59.
Probably others too.

Without this change:
not a media file: /home/patrick/Pictures/2010/P1030374.MOV: skipping file...

With this change:
2019/05/23 11:32:58 Uploading P1030374.MOV


Preparation of meeting and guide for maintenance of mechanical systems package

The following actions are to do, in order to prepare the meeting and the guide:

[x] #197

[ ] #198

[ ] #199

The meeting was probably led by @grzegorzdl


add drawing ability (or editing binary masks, making them larger  or smaller via mouse interaction)

See the drawing UI and CACTUS live demos.


Conditionalize testInstallRemote correctly

This test uses TSCBasic.Process which is unavailable on Darwin platforms with the exception of macOS, so we should not attempt to run this test on those platforms.

@swift-ci please test