Is Atom a good candidate to be customized for my need?

Hi all,
I want to develop a sort of IDE for "custom chip design". I need an environment in which user be able to:

Write HDL codes (Verilog, VHDL)
Describe the layout directly by some language and see the results in real-time
See the layout/gds created by the silicon compiler
Draw some circuits and see the final output as some plots
Use extension manager to install/uninstall modules. Most of these extensions are going to use Cairo graphics library.
This is more like a game engine/game editor platform but there is no need for fancy things like shaders, assets manager and stuffs like that.
Please check the following links to see what I am looking for (these are the most similar products to my idea):
virtuoso layout suite
Klayout
Now I want to know whether Atom could be a skeleton for my need or not?
Please, accept my apologies for the wired question.

That's totally up to you that what you want to make Atom. No one is able to say the answer of this question as everyone have their own preferences, however, I'll suggest to look at the fork of Atom IDE and try to customize for your needs.
But remember that Atom main repo (this one) will be archive on December 15, thus if you want something ready to go and in active development including the community, try VSCode.

I'll suggest to look at this fork of the Atom IDE and try to customize for your needs since it's the only fork that is still maintained.

There is another one called Pulsar which is aimed at reviving Atom.

[...] try VSCode.

He probably wants Atom.

Thanks a lot guys. I think I found what I was looking for, through your lines.


Add Lint Workflow

Motivation and Context
This PR adds a Lint Github workflow so that code style rules can be enforced for PRs.

This forms a baseline workflow that can be used as a template for future workflows that will be added.
It helps enforce code style rules. Currently it only checks PyCodeStyle and PyFlakes. Others will be added in the future.
Contributes to automated testing
Does not fix any open issue.

Description
Added Ruff as a dev dependency. Added Github workflow which runs Ruff.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

@jjhenkel I'm all for merging this, could you test and approve?

Are there designated folks from the main SK team that are going to sign off, or are those of us working on SK Python going to be the ones to approve? Could do both? Thoughts?

no one designated, but having your approvals would be a great plus at least as a sign that everything is in order. While we're in preview we can move fast. We love small PRs, please help with that :-) I'll help with design and sync across languages.

@jjhenkel There are a couple of ways to do what you want. Please tell me which one you prefer.

Use a separate tool to run tests locally.
Use a single tool (like nox) that can be used locally and will also be used in the github actions.
Make a simple cli that runs the different tests and use it both locally and in the workflow.

I personally prefer Option 2 because it keeps things consistent between the workflows and local development. Also what is act? Could you provide a link to it please?

@AdityaGudimella when I refer to testing here I just mean testing the workflow yml you wrote (not tests for the code). I was using this tool: https://github.com/nektos/act to verify things locally (and, to get things to run, I needed to make those small changes)


Mark file as skips typechecking if it contains ts-nocheck

This is different take on #58592 to skip checking only if no-checkJs
Frankly i dont know what all will fail because we dont have enough coverage for js + incremental as such from this perspective.
cc: @weswigham
From investigating #56956

@typescript-bot test this

@typescript-bot test it

Does this need to wait for https://github.com/microsoft/TypeScript/pull/58364 given the ts-nocheck files may be emitting js?

Does this need to wait for https://github.com/microsoft/TypeScript/pull/58364 given the ts-nocheck files may be emitting js?

Either that or, like the other PR, only enabled when only .d.ts emit is performed by the checker in question.

Either that or, like the other PR, only enabled when only .d.ts emit is performed by the checker in question.

Thats tough I think and not work flowing information temporarily till we get the PR in so i will just wait for that PR to merge.

#58364 is in, so is this safe to update and get in?

Yeah, just remember the condition in calculateNodeCheckFlagWorker in checker.ts and emitJsFileOrBundle in emitter.ts needs to swap from just compilerOptions.noCheck to something that can handle this, too. (probably just the skipTypeChecking util function this edits, unless you wanna do the piecemeal thing emitDeclarationFileOrBundle does - but that should probably just swap to skipTypeChecking, too)

@weswigham pls review again. I have merged with main and added those checks

@weswigham pls review so i can get this in for 5.5


Update auiplugin to 5.9.17

With AUIPlugin 5.9.17 it is possible to add Application Links between Crowd and other Atlassian Applications in outgoing OAuth (Impersonation)-Mode.

Can you please explain why this is required? (URL to issue?) and please see my review comments.


Upgrade to 4.14 kernel

Firmware and userland updates are needed for 4.14 to work.

I rebased it on top of pbarker/next

@kraj: Can the firmware & userland commits you've used still support a v4.9.y kernel? I want to keep both options working at least for the next few weeks while things transition.

@betafive I have not tested it with 4.9 however, we might have to use stable branch of firmware with 4.9, that probably means another recipe and may be another lockdown of PREFERRED_VERSION if someone choses to stick to 4.9

@kraj: The commits I used support both 4.9 and 4.14 kernels - I've boot tested both options. I've not done wifi & bluetooth testing as you have though.
I'd really like to have a point in time where both kernels work so that we can isolate any variation between them if we need to debug. I'm happy if things move to 4.14 only very soon after that though - we don't have the bandwidth to keep both kernels supported for long.
It also gives us one last update of firmware & kernel we can backport to rocko before master goes forward as 4.14 only.

I have looked into bootfiles recipe and from quick look it seems the portions we use from the firmware blob, we should be ok with 4.9 as well

I'm not too sure on the firmware. I had issues during the 4.4 -> 4.9 transition where 4.4 won't boot with more recent firmware. I'd like to stick to something that has been explicitly boot tested with 4.9 for at least a week or two to give people chance to test things out.

@kraj Do you depend on the revision of firmware you update to in this PR? Would the one Paul has work for you too?

I think its better to use the newer one whichever that is. Since rpi org has been pushing 4.14 bugfixes to it. I have tested my set but I guess either would work.

I have rebased it again on top of master now

The simplest way to fix this is for me to make some time to boot test this with a 4.9 kernel. I should be able to spare some time on Friday to do that. I'd rather be careful here so we don't disrupt other users unnecessarily.
General review comments:

Commit message for linux-raspberrypi changes now need to say that it's an update not a new recipe.

Changes to firmware.inc re-order lines un-necessarily. Can we tidy that up so it's more clear what has changed?

Userland update looks good.

updated

Thanks @kraj, I'll test with 4.9 as soon as I get chance and then let's go ahead and merge this if all works.

@betafive any updates on this ?

@betafive A friendly ping on this.

Was just about to comment on this. I've had a really busy couple of weeks, got some client work to finish off before Friday but then should have some time to look at this again. Apologies for the delay.

All looks good. Really sorry this took so long to test, had a few unexpected things come up at work.

Better late... :) Thanks @betafive


egress policy: ConnTrack cleanup

TODO: Add conntrack cleanup for egress.

No longer required with the latest datapath logic.


body of html not displayed

hi...
my trial html code opens on a browser locally but the body section is not displayed.
Here is the code

Trials Again!!!

 Trying formatting
 This is in blue
 one twothree
onetwothree

for(i=1;i<10;i++)
System.out.println("This is a trial html doc");

</ body>

Saved it as trialsagain.html
Opening it on crome locally using file path.
Only header is displayed on tab but page is empty.
what is the issue ?

well its working fine here but when i run it locally on my computer it does not ...

Trials Again!!!

 Trying formatting
 This is in blue
 one twothree
onetwothree

for(i=1;i<10;i++)
System.out.println("This is a trial html doc");

</ body>

what are the changes i need to make to my computer to accomadate the execution.. or is there reaqlly an issue?

well it is working fine here but when i try to run it locally on a browser it does not

Trials Again!!!

 Trying formatting
 This is in blue
 one twothree
onetwothree

for(i=1;i<10;i++)
System.out.println("This is a trial html doc");

</ body>

do i need to make changes to my local settings?
what is the issue?

Is this a question about a HTML file in this repository, or a custom HTML file of yours?

well its a custom file...

Some issues that I can observe:

Some keywords are typed wrongly e.g.  instead of
You have mismatched tags, either not opened or not closed e.g.  without
You have to use document.write() instead of System.out.println()
 tags are not for running codes, they are meant to display text in a preformatted way

I suggest that you look through this page: http://www.w3schools.com/html/html5_intro.asp
This GitHub issues page is meant for issues related to this repository. Please direct general HTML questions to StackOverflow. You'll get faster and better replies!
Hope this helps!

Hey thanks a ton LEE.
I surely will go through it.


Update permissions for entrypoints

Description
It is a fix for my problems with "permission denied" error running Defect Dojo on Oracle Linux 8 (RHEL) in rootless mode.
More details: https://github.com/DefectDojo/django-DefectDojo/issues/5973
Test results
DD works as expected, not a big of a change.

This should not be the case, not good practice, it breaks immutability


Fix segfault & runtime errors in TraceryTest

There's segfaults again

Done by @Boffmann. Thanks a lot! :)


Extract faces from images

Description
When user uploads images
web module use face_recognition module to extract faces on the image

Done in https://github.com/seongahjo/Mosaicer/commit/8e43e7416888bb14c381d94d5d7c57d44ed2b722


New package lolcat

Added lolcat 42.1.0

Oh, I just commited 9e0763dd8a5a157d056b665ee41ba3c67cee5077. I haven't seen your pull request.

Thanks to both of you for doing this! Very useful tool, especially when combined with our new insulting sudo and cowsay.


Crash when modded entity had tried to lay a egg

A tried to add support to Greater prairie chicken from from Unnamedanimalmod, but when chicken tried lay the egg in nest, minecraft crashed
crash.txt
Datapack.zip

Your loot table is a. csv file it should be .json

Also use a different namespace than husbandry. (using husbandry will overwrite the existing ones for the vanilla animals)

I will make the game not crash though in the future and put a warning that it couldn't find the loot table instead.


One way broadcasting ?

I have been trying to get one way broadcasting working on my instance of this awesome project.
I have tried removing the local-video feed for the receiving end, via the medial options
var mediaOptions = {
audio: true,
video: false
};
but thing is if more than two users are on the single room, a blank video div gets inserted into the application. And If I set audio to false , the whole thing stops working on the receiving end.
Any clues ?

you'll also want to set the receiveMedia options. It's quite possible that the blank video element (and stream) comes from the peers trying to establish a connection to each other.
Best way to prevent this should be not using the default "add videos to remoteVideos" but the more advanced way of hooking described in https://simplewebrtc.com/notsosimple.html#basic-overlay
(you should be able to access peer.stream and from there determine the number of audio tracks using peer.stream.getRemoteStreams() and .getRemoteStreams()[0].getAudioTracks() to identify your broadcaster

Thanks I got it working! :)
any hints on how to let user select the front and back camera ?
Regards

@wardhanster see device selection for letting users choose the camera input.


Update service file state APIs

Thanks for the PR, Jason!   This is live now at https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/driver-isolation#device-file-state


EPUBJS.Hooks is undefined

EPUBJS.Hooks.register("beforeChapterDisplay").highlight =...
having this issue..someone solved it?

@fchasen can you provvide some help?


[DEV-2955] bankAdapter

Release Checklist
Pre-Release

[ ] Check migrations

No database related infos (sqldb-xxx)
Impact on GS (new/removed columns)

[ ] Check for linter errors (in PR)
[ ] Test basic user operations (on DFX services)

Login/logout
Buy/sell payment request
KYC page

Post-Release

Test basic user operations
Monitor application insights log

[ ] balances from setting service for asset 269, 270, 271


Need to add migration logic to handle local storage between composer versions

 Issue by pahans
Monday Jan 22, 2018 at 11:41 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/4981

Description:
we will need something like this to handle localstrorage changes between ballerina versions
var versions = {
    '1.0.1': function () {
        console.log('going into migrate_1_0_1');
    },
    '1.0.2': function () {
        console.log('going into migrate_1_0_2');
    },
    '1.0.3': function () {
        console.log('going into migrate_1_0_3');
    },
}

function migrate() {
    if (!localStorage.getItem('db:version')) {
        localStorage.setItem('db:version', '1.0.0');
    }
    for (var version in versions) {
        var current_version = localStorage.getItem('db:version');
        if (version > current_version) {
            var callback = versions[version];
            callback();
            localStorage.setItem('db:version', version);
        }
    };
}

Related Issues:
https://github.com/ballerinalang/composer/pull/4980

Composer is discontinued hence closing the issue.


v4l2_codec with C920 webcam - could not find decoder (H264)

Hi everybody,
First of all, thank you very much alfredh for your work on Baresip.
I'm trying to use my C920 logitech webcam with v4l2_codec but when i'm starting a call i'v got an error :
video: vidcodec 'H264' has no decoder video: could not find decoder (H264) call: video stream error: No such file or directory
May be I'm missing a library?
Here is my starting log 👍
baresip v0.5.0 Copyright (C) 2010 - 2016 Alfred E. Heggestad et al. Local network address:  IPv4=ens33:<IP_ADDRESS>  IPv6=ens33:2a01:e35:8a83:90b0:20c:29ff:feaa:3c1a aucodec: PCMU/8000/1 aucodec: PCMA/8000/1 aufilt: vumeter ausrc: alsa auplay: alsa v4l2_codec inited vidcodec: H264 vidsrc: v4l2_codec medianat: stun medianat: turn medianat: ice Populated 1 account Populated 3 contacts Populated 2 audio codecs Populated 1 audio filter Populated 1 video codec Populated 0 video filters baresip is ready<EMAIL_ADDRESS>{0/TCP/v4} 200 OK () [1 binding] All 1 useragent registered successfully! (1 ms)
Best regards
Richard

please note that v4l2_codec.so only provides a H.264 encoder
if you want an H.264 decoder you must also load e.g. avcodec.so
but after v4l2_codec.so

Thank you for your answer and your work on this software. The previous error is now gone when I activated the avcodec.so module but now I have another problem.
The call start, the audio is working but the video is frozen. I only see one image at the beginning of the call on the receiving side (using linphone on OSX).
Could you help me again?
http://pastebin.com/enRPePhg

it looks like the H.264 encoder is working:
v4l2_codec: encoder stats (keyframes:3, deltaframes:632)

can you please try to enable this in config, to see if your encoder
is sending any packets:
rtp_stats               yes

can you also try to replace Linphone with something else
(e.g. baresip) to see if that is working ?

Here is the result of the rtp_stat : http://pastebin.com/3XshQZF9 ... everything seems fine.
I'm currently installing baresip on another computer and switching my MiniSIPServer to FreePBX. Does anybody have any knowledge of the interoperability with baresip?
I will keep you updated.

Richard Perez writes:

I'm currently installing baresip on another computer and switching my
MiniSIPServer to FreePBX. Does anybody have any knowledge of the
interoperability with baresip?

Baresip is by far the most standards compliant SIP UA.  If there are
interoperability issues, they are most likely due to the other parties.
-- Juha

Ok so i'ts  working between 2 baresip Client!!! Cheers!
I just have one remaining problem does the BareSip-Android version support H264 video? or do you know an android client supporting H264  video?
Best regards
Richard

this version of baresip for Android is without UI and without video codecs:
https://github.com/alfredh/baresip-android
but we can add cross-compilation of ffmpeg and then enable avcodec.so
you still need a GUI to see the video screen :)
/Alfred

Ok I Will try to work with the baresip-android. I will keep you updated.
Just one last thing, i saw a parameter allowing to start baresip as a daemon. But how can we interact with it after?
Best regards
Richard

as the original issue appears to be solved, can you please close this Issue ?
please open new Issue for non-related topics.


Fix babel target to es5

close #329
This PR fixes the babel target so that it works on legacy browsers.

@ysgk sorry for the delay here. CI seems goofed up. Going to get that re-configured before we merge

@blainekasten I just migrated a bunch of repos from gh services based travis CI to gh apps based travis CI. This PR doesn't show up in either build history. I think it may be necessary to push a fresh commit or open these changes in a new PR to trigger CI

@boygirl you can also manually trigger a PR build, i believe, in travis' interface

@ljharb normally I would be able to, but this branch does not show up in the buid history either on the new or old interface. It isn't that it errored, it never triggered at all.

@boygirl i don't mean rerun it - i mean there's a beta "trigger build" feature under "more options".

@ljharb but unfortunately this branch was never recognized by travis for whatever reason, so I am not able to trigger a build for it:

It is not included in the list of branches for this repo

I merged master. Now CI runs but fails.
https://github.com/FormidableLabs/enzyme-matchers/blob/48295d2b2730232a930125d3fc68235214261b88/packages/jest-environment-enzyme/src/index.js#L3
JSDOMEnvironment is exported from jest-environment-dom as an es6 class, so this line complains:

TypeError: Class constructor JSDOMEnvironment cannot be invoked without 'new'

I tried transformIgnorePatterns to transform jest-environment-dom, but didn't work. Are there any solutions for that?

@ysgk it'd be really great if you could restore this branch and reopen the PR; there's still hope to merge it.

@ljharb
OK, done :)


Adds web as possible choice for setting helpTarget

Closes #4037

Thank you, we'll try to review it ASAP!

More merge conflicts over here @MathijsVerbeeck

Ready to merge 🚀 after next minor release
@MathijsVerbeeck awesome work. I will do a small fixup when merging and resolve the conflicts as well

merged manually 👏


deleteJob functionality not included in version 0.2.0

Hi,
I'd like to use your library in order to delete jobs in Jenkins but this is not included in the last release (0.2.0).
When do you plan to get a new release?
Thanks!
Angela.

Is included since 0.3.0 so i close this issue.


The environment PATH while running inside WSL vs. running via bash -c differs

Microsoft Windows [Version 10.0.16299.19]
Problem: the environment PATH while running inside WSL vs. running via bash -c differs.
In WSL:
neo@razvan-pc:~$ echo $PATH$
/home/neo/.nix-profile/bin:/home/neo/.nix-profile/sbin:/home/neo/bin:/home/neo/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:windows paths following$

Via bash -c:
K:\Sources\haskell-ide-engine>bash -c "echo $PATH$"
/bin/bash: -c: line 0: syntax error near unexpected token `('
/bin/bash: -c: line 0: `echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Microsoft SDKs/Azure/CLI2/wbin:windows paths following$'

For example /home/neo/.local/bin/ is available under WSL but not under bash -c
I'd expect the paths should be the same or there should be some way to run something equivalent to bash -c so that the environment PATH is the same (at least the Linux bit of the path).
PS: Not sure what is the deal with syntax error near unexpected token ('`

Running using bash --login -c allows the programs under that missing path to work:
K:\Sources\haskell-ide-engine>bash --login -c "which hie"
/home/neo/.local/bin/hie

K:\Sources\haskell-ide-engine>bash --login -c "hie"
2017-11-04 18:37:00.8238288 [ThreadId 11] - Setting home directory:/home/neo
2017-11-04 18:37:00.8268949 [ThreadId 11] - run entered for HIE Version <IP_ADDRESS>, Git revision 1aae7c35e86c603d587ce3f3e57460d7a7e40f7a (dirty) (1058 commits) x86_64
2017-11-04 18:37:00.8314206 [ThreadId 11] - Current directory:/home/neo

But the path is still not echo'ed when running bash --login -c "echo $PATH$":
K:\Sources\haskell-ide-engine>bash --login -c "echo $PATH$"
/bin/bash: -c: line 0: syntax error near unexpected token `('
/bin/bash: -c: line 0: `echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:other windows paths$'

Try to use $PATH( not use $PATH$).

@Biswa96 They both seem to work the same under WSL.
Under windows they both print the error: /bin/bash: -c: line 0: syntax error near unexpected token ('`

#2196 #2531 #2383 et al.
bash -c "echo \"$PATH\""

@therealkenc why does echoing the path via bash -c require quotes but it does not require quotes and runs just fine when called directly through WSL?

For the same reason the following does the same thing on Real Linux. Because it is a syntax error.
export FOO="hello ("
ssh localhost "echo $FOO"

@therealkenc if it is a syntax error why does echo $PATH work fine under WSL?
If it is a syntax error it should NOT work under WSL either.
So there is a WSL compatibility bug is what you are saying?

Closing the issue since bash --login -c seems to solve the problem by running the login scripts.

@therealkenc So there is a WSL compatibility bug is what you are saying? Ehm, no, it works just fine on Real Linux also:
[root@nixos:/home/neo]# echo $PATH
/home/neo/bin:/run/wrappers/bin:/home/neo/.local/bin:/etc/per-user-pkgs/neo/bin:/home/neo/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin

why does echo $PATH work fine under WSL?

Because that is not a script. $PATH has already been expanded. Even simpler from Real Linux:
~$ export FOO="hello ("
~$ bash -c "echo $FOO"

Or even just:
~$ echo hello (

@therealkenc Ok, I understand now, bash is a command usable from WSL/Linux also and that is the way expansion works. Thank you


Links still to deployer.phar instead of dep

The changelog of https://github.com/deployphp/deployer/releases/tag/v7.0.0-rc.9 says:

Phar renamed back to dep from deployer.phar + source code also available now.

However, assets since rc.9 and download-page still link use deployer.phar:

https://github.com/deployphp/deployer/releases/tag/v7.0.0
https://github.com/deployphp/deployer/releases/tag/v7.0.0-rc.9
https://deployer.org/download

Dep only in composer package.


you say to verify m60, what about grid k520 cards?

There is no information on the grid k520, yet it should be a valid care to install with this method.  it would be good to provide more information on it.

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

ID: 0e03790a-1bf9-146d-704b-6816d475064b
Version Independent ID: ad5f6be7-e089-161f-306c-39d10e7ab0a0
Content: Azure N-series driver setup for Linux
Content Source: articles/virtual-machines/linux/n-series-driver-setup.md
Service: virtual-machines-linux
GitHub Login: @dlepow
Microsoft Alias: danlep

@queglay Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@queglay - Thanks for your feedback. Currently in Azure only the NV-series VMs with M60 cards use the GRID drivers described in the article. That is why this section refers to the M60 card specifically. Can you please tell us more about your scenario and which Azure VM size are you trying to use? Thanks!

I'm using an AWS instance of CentOS 7.4.  when I google instructions on how to install nvidia drivers for aws and centos they all point me to the microsoft website which is now funneling the comments here to github.

Closing, since this issue does not appear to relate to use of Azure services.
#please-close


Authentication: Basic AD Auth with -ASCredential "parameter Cannot validate argument on parameter 'Provider'."

Hello,
When I enable the parameter "-AsCredential" on the New-PodeAuthScheme cmdlet, I get an error response that says the following:
 "Exception": null,
  "Url": "http://localhost:8080/info",
  "Status": {
    "Description": "Cannot validate argument on parameter 'Provider'. The argument \"\" does not belong to the set \"DirectoryServices,ActiveDirectory,OpenLDAP\" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.",
    "Code": 500
  }
}

Steps To Reproduce
Server Side Config:
Start-PodeServer {

    Enable-PodeSessionMiddleware -Duration 120 -Extend

    # attach to port 8080 for http
    Add-PodeEndpoint -Address localhost -Port 8080 -Protocol Http

    New-PodeAuthScheme -Basic -AsCredential | Add-PodeAuthWindowsAd -Name 'Login' -KeepCredential -ADModule -Fqdn $DomainController -DirectGroups

    Add-PodeRoute -Method Get -Path '/info' -Authentication 'Login' -ScriptBlock {

        $PodeUptimeInSeconds = (Get-PodeServerUptime) / 1000
        $ServerTime = Get-Date
        $ServerTimeUTC = $ServerTime.ToUniversalTime()
        $PodeStartTime = $ServerTime.AddSeconds(-$PodeUptimeInSeconds)

        Write-PodeJsonResponse -Depth 10 -value @{
            status          = "ok"
            uptimeInSeconds = $PodeUptimeInSeconds
            PodeStartTime   = $PodeStartTime
            ServerTime      = $ServerTime
            ServerTimeUTC   = $ServerTimeUTC
            responseid      = $ResponseID
            data            = $WebEvent.Auth
        } -StatusCode 200
    }
}

Client Side Request:
I have tried two methods
1.) The first where I create the header with the PSCredential object:
$Credential = Get-Credential
$pair = "$($Credential.UserName):$($Credential.Password)"
$encodedCreds = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes($pair))
$basicAuthValue = "Basic $encodedCreds"
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Authorization", $basicAuthValue)

$response = Invoke-RestMethod 'http://localhost:8080/info' -Method 'GET' -Headers $headers
$response | ConvertTo-Json

2.) Where I just add the credential as a "-Credential" parameter to the Invoke-RestMethod cmdlet:
$Credential = Get-Credential
Invoke-Restmethod -method Get -Uri "http://localhost:8080/info" -Credential $Credential

Expected Behavior
User authentication should work with the provided PSCredential object and I get a response back with status code 200.
Platform
OS:  Windows 10
Browser: [e.g. Chrome, Safari] N/A
Versions:
Pode: [e.g. Pode v1.7.3] 2.7.2
PowerShell: [e.g. PS6.2.1] 7.3.0

Hi @RichardWrinkle,
If you remove -AsCredential on New-PodeAuthScheme it'll work as expected. The switch was put in place for people building custom authentication methods, and needed a PSCredential object rather than the raw username/password. Since you're using the inbuilt WindowsAD authentication method there isn't much need for the -AsCredential switch on the scheme - unless you do have a need for it?
It should technically work though, so does need fixing.

@Badgerati - I am trying to automate a PS Script on a local machine where a user runs the script and it runs some functions that ultimately submits a request to Pode. If I was able to capture a PSCredential object when they run the script and then this could be passed to Pode for auth in the Invoke-RestMethod command. This may be possible in a different way, but I'm pretty new to Pode so I'm just trying to figure things out. Thanks!

Hi @RichardWrinkle,
You're first idea of setting the Authorization -Header on Invoke-RestMethod should work, it just needs -AsCredential to be removed from New-PodeAuthScheme 😄

I think optimally -AsCredential should be the default and the parameter removed.
But this is a braking change so at you discretion

You're correct, it would be a breaking change. I've got a note written down for v3.0 to make the default be PSCredential for all auth types.


Small level randomisations

Because Prefab plugin supports randomisation it would be smart to create little variations for levels to give more replayability
Like

Just differtly placed props(including pickups)
Issues

Lighting(only dynamic props can be part of the randomisation)

Style variations for building
Issues

Only dynamic lights can be used

Switch from brushes to models will be needed

Issues in general

Save system will definetly freak out

Increased developement time

To maintain good framerate and make it smaller in size this will not be implemented


OpenShift deployment is broken

Bug Report
Steps to Reproduce:

Trigger a Travis CI build (e.g. make a commit)

Expected Result:
The JDK8 job on Travis CI deploys the updated JARs to OpenShift, running against the foundation-dev pod.
Actual Result:
The JDK8 job fails with the message: error: error processing the template "bot-github-chatops-template": processedtemplates is forbidden: User "maoo-1" cannot create processedtemplates in the namespace "ssf-dev": User "maoo-1" cannot create processedtemplates in project "ssf-dev"

@maoo any updates on this?  This issue is still occurring.

Fixed! https://travis-ci.org/finos-fdx/bot-github-chatops/jobs/428795470


[IMPROVEMENT] Remove resident application(SP) from application listing in REST API

Describe the improvement
It would be better if we can stop listing the resident application in the endpoint api/server/v1/applications.  Currently, it is handled in the front end but it is better to handle that at API level

We have a check to skip the resident sp in the list response. But this doesn't seem to work due to work in the comparison logic[1].
In addition to this, we need to skip the resident SP when sending the count of applications matching a filter too[2].
It would be best to omit this from the query itself rather than trying to do it at the Java API.
If we fix it at the Java API level it might lead to unexpected results.
For example, let's say there are 10 apps (with the resident SP). If we retrieve the results 5 items per page. We might end up with a page that has 5 and another with 4. Depending on the app id of resident SP we might first get a page with 4 and then a page with 5.
[1] https://github.com/wso2/carbon-identity-framework/blob/fb7c283f0f20302a6635fc6a26eb4eaeb8f084d0/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/dao/impl/ApplicationDAOImpl.java#L3233-L3235
[2] https://github.com/wso2/carbon-identity-framework/blob/fb7c283f0f20302a6635fc6a26eb4eaeb8f084d0/components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/dao/impl/ApplicationDAOImpl.java#L3172

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


New bit struct

In this PR I implemented new syntax for creating bit structs which uses class decorators, which is cleaner and much more powerful. It is much inspired by python3 dataclass. The syntax and mechanism are similar to dataclass too.

@ptpan once we have finalized the syntax for our new bit struct, can you work on supporting translating the new bit struct in this branch when you have time?
My idea is that if you want to check where a class or instance is a bit struct you can do the following:
from bit_structs import _IS_BIT_STRUCT
# _IS_BIT_STRUCT just equals to '__bit_struct_fields__'

def is_bit_struct( cls ):
  return _IS_BIT_STRUCT in cls.__dict__

To obtain the field information you can do something like this:
def get_fields( cls ):
  fields = getattr( cls, _IS_BIT_STRUCT )
  return { name : f.type_ for name, f in fields.items() }

Feature request -- can we add a copy method similar to deepcopy but is called on a bit struct object, and it recursively creates a new struct with the results of calling copy to the child fields. i need to implement it Bits as well

I will be working on this to get it merged ASAP

why making mk_msg a class method? I don't think it should be a first class thing. We can always just pass in bits objects to __init__. If user wants type cast they can just write a helper function that does that.

I don't think it works for nested struct either

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

why making mk_msg a class method? I don't think it should be a first class thing. We can always just pass in bits objects to __init__. If user wants type cast they can just write a helper function that does that.

I just want to release the burden from the users because they might have to create helper method in every test file in the code base that creates a message type.

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

They can just create one helper function that flattens all the fields.I think we should keep things simple and give user more freedom.

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

Also does this actually work? MemReqMsg.mk_msg(...) returns an object but can the  __init__ method of MemReqMsg takes in an object?

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

They can just create one helper function that flattens all the fields.I think we should keep things simple and give user more freedom.

what do you mean by flattening all the fields?

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

Also does this actually work? MemReqMsg.mk_msg(...) returns an object but can the __init__ method of MemReqMsg takes in an object?

@classmethod
def mk_msg(cls, x, y):
  return cls(Bits4(x), Bits8(y))
``` this is how it works with only Bits.
For BitStruct as a subfield, I just assign it like __init__
```@classmethod
def mk_msg(cls, pt0, pt1):
  return cls(pt0, pt1)

@ptpan i already fixed all the translation related issues and make all the tests pass under cpy, pypy, pypy+mamba.

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

They can just create one helper function that flattens all the fields.I think we should keep things simple and give user more freedom.

what do you mean by flattening all the fields? Also, adding such method won't give the user less freedom. They can also override the mk_msg method if they want.

If I have a nested struct that has a point field and a pixel field I can just write a helper function mk_ptpxl_msg( x, y, r, g, b ) rather than calling the mk_msg for both class.
In our update block we basically leave it for the user to handle the types. Why can't we do this for bit struct

We don’t force them to use our mk_msg. Like you said we can use mk_ptpxl_msg and totally ignore mk_msg. The existence of mk_msg doesn’t conflict with what you said. It’s just some helper method that the user could leverage without creating their own stuff.

On Oct 20, 2019, at 15:41, Yanghui Ou<EMAIL_ADDRESS>wrote:

I don't think it works for nested struct either
nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.
They can just create one helper function that flattens all the fields.I think we should keep things simple and give user more freedom.
what do you mean by flattening all the fields? Also, adding such method won't give the user less freedom. They can also override the mk_msg method if they want.
If I have a nested struct that has a point field and a pixel field I can just write a helper function mk_ptpxl_msg( x, y, r, g, b ) rather than calling the mk_msg for both class.
In our update block we basically leave it for the user to handle the types. Why can't we do this for bit struct
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.

I don't think this is very useful and I don't quite like the syntax. Plus it adds one more thing for us to maintain.

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

They can just create one helper function that flattens all the fields.I think we should keep things simple and give user more freedom.

what do you mean by flattening all the fields? Also, adding such method won't give the user less freedom. They can also override the mk_msg method if they want.

If I have a nested struct that has a point field and a pixel field I can just write a helper function mk_ptpxl_msg( x, y, r, g, b ) rather than calling the mk_msg for both class.
In our update block we basically leave it for the user to handle the types. Why can't we do this for bit struct

In your NetMsg example, creating a flat function may not be the desired thing to do because the MemMsg type might NOT be visible to you. It can be parameterized and provide to you as mk_net_msg( ..., payloadType ). How do you create a flat function without inspecting the fields of payloadType?

I don't think this is very useful and I don't quite like the syntax. Plus it adds one more thing for us to maintain.

For the syntax, we have this in v2 https://github.com/cornell-brg/pymtl/blob/master/pclib/ifcs/MemMsg.py#L80-L102 and we found it quite useful because we can just forget about the bitwidth when we create a message from the beginning. Like here https://github.com/cornell-brg/pymtl3/blob/yo-dataclass-bitstruct/pymtl3/stdlib/ifcs/MemMsg_test.py#L112. @cbatten can chime in here and comment on whether v3 should provide something similar.
In your example "In our update block we basically leave it for the user to handle the types.", leaving it for the user makes the user do less work and hence improve their productivity instead of getting everything iron solid at early phase of development. In our case of providing a classmethod to the user to create messages without thinking about width and the helper function, so the user does less work and hence becomes more productive. In my opinion, it doesn't hurt to add more non-unuseful things in the framework as long as it doesn't conflict with everything else.
Lastly, how much additional effort do you think we need to maintain this when it's basically the same thing as __init__?

I don't think it works for nested struct either

nested struct will work recursively like NetMsg.mk_msg( src_x, src_y, MemReqMsg.mk_msg(...) ), in which case the user has to create helper methods for both NetMsg and MemReqMsg.

They can just create one helper function that flattens all the fields.I think we should keep things simple and give user more freedom.

what do you mean by flattening all the fields? Also, adding such method won't give the user less freedom. They can also override the mk_msg method if they want.

If I have a nested struct that has a point field and a pixel field I can just write a helper function mk_ptpxl_msg( x, y, r, g, b ) rather than calling the mk_msg for both class.
In our update block we basically leave it for the user to handle the types. Why can't we do this for bit struct

In the NetMsg example, creating a flat function may not be the desired thing to do because the MemMsg type might NOT be visible to you. It can be parameterized and provide to you as mk_net_msg( ..., payloadType ). How do you create a flat function without inspecting the fields of payloadType?

I don't think this is very useful and I don't quite like the syntax. Plus it adds one more thing for us to maintain.

For the syntax, we have this in v2 https://github.com/cornell-brg/pymtl/blob/master/pclib/ifcs/MemMsg.py#L80-L102 and we found it quite useful because we can just forget about the bitwidth when we create a message from the beginning. Like here https://github.com/cornell-brg/pymtl3/blob/yo-dataclass-bitstruct/pymtl3/stdlib/ifcs/MemMsg_test.py#L112. @cbatten can chime in here and comment on whether v3 should provide something similar.
In your example "In our update block we basically leave it for the user to handle the types.", leaving it for the user makes the user do less work and hence improve their productivity instead of getting everything iron solid at early phase of development. In our case of providing a classmethod to the user to create messages without thinking about width and the helper function, so the user does less work and hence becomes more productive. In my opinion, it doesn't hurt to add more non-unuseful things in the framework as long as it doesn't conflict with everything else.
Lastly, how much additional effort do you think we need to maintain this when it's basically the same thing as __init__?

I think we should start by not having mk_msg. We should use the constructor. The reason we had mk_msg is because the v2 bit structs didn’t have constructors!

It’s different again. V2 doesn’t worry about type casting.

On Oct 20, 2019, at 17:56, Christopher Batten<EMAIL_ADDRESS>wrote:

I think we should start by not having mk_msg. We should use the constructor. The reason we had mk_msg is because the v2 bit structs didn’t have constructors!
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.

To be clear here, the init takes the argument and copies it in as is. This doesn’t do any type casting so if you pass in an int it stores it as int. The goal of mk_msg is to provide another constructor that does cast those int to bits.

Well if you insist. I don't think not doing type cast is a big deal. We are doing that basically everywhere why make bit struct a special case.

Good point. I will add it back.

On Oct 21, 2019, at 10:40, Yanghui Ou<EMAIL_ADDRESS>wrote:

@yo96 commented on this pull request.
In pymtl3/datatypes/bit_struct.py:

+# def mk_msg(cls, x, y, some_struct_inst):
+#   return cls(Bits4(x), Bits8(y), some_struct_inst)

+def _mk_mk_msg( fields ):
+

Register necessary types in _globals

_globals = {}

assign_strs = []
for f in fields:
type_ = f.type_
if isinstance( type_, list ) or is_bit_struct( type_ ):

 assign_strs.append( f'{f.name}' )

else:

 assert issubclass( type_, Bits )

 _globals[ type_.__name__ ] = type_

i don't think using type.name is a good idea. If we have two types that has the same name but from different modules this wouldn't work. For example I want to use a a.Point and b.Point in my nested struct this wouldn't work. That why I rename all types to _type_fname in the dictionary but you seemed to have changed it
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.

Well if you insist. I don't think not doing type cast is a big deal. We are doing that basically everywhere why make bit struct a special case.

Again we do it everywhere doesn't mean the framework doesn't need to provide the ability to make the user more productive.

I'd prefer keeping things clean, simple, and consistent. If we sometimes use plain integers and sometimes use bits objects that may confuse the user.

found some leftover comments. I'll take a pass to clean up.


Preserve additional cloud-init files names during Install and Reset

Is your feature request related to a problem? Please describe.

When invoking elemental install or elemental reset, it is possible to pass a list of files that are going to be installed on the system. For example: elemental install --cloud-init /tmp/my-config.yaml,/tmp/my-other-config.yaml
Currently the elemental toolkit install these files as /oem/90_custom.yaml,/oem/91_custom.yaml, etc.
This makes difficult to handle these files post installations, for example to disable or update them, because the original name is lost and it's not easy to identify which one is which.
Describe the solution you'd like

Maybe with a feature toggle to not change behavior, but it would be nice to preserve the original file name to the installed files, so that according to the sample above, they will be installed as: /oem/my-config.yaml and /oem/my-other-config.yaml.
Describe alternatives you've considered

Since the numbering is incremental, it's currently possible to predict which files is which based on order, but this is mistake prone. Another way is to read and parse all files to identify the one to update/delete, but this is a costly operation.
Additional context

I'm closing this issue, as a better workaround was highlighted by @davidcassany .
Using the built-in after-install and after-reset elemental hooks, it is possible to install any file in any desired path.
See https://github.com/rancher/elemental-operator/issues/806 for more info.


Implement HLS on Safari for iOS

I try to play hls video on ios safari. It has only audio, the screen is black. I noticed vrview is based on three.js. It seems not support ios hls too. Look at this issue.

HLS is not supported right now but will be part of our next major update.

Looking forward the feature.

@nathanmartz
Check my work arounds in three.js. It only works in IOS 10 and there is a colourspace issue now. Multiple tickets in webkit with no response. If you have a work around for the colourspace issue perhaps a different colour format I'd be interested to know.
It is unlikely to be fixed any time soon. The FlipY requires to be disabled on the texture. The geometry requires it's Y to be flipped instead. That brings the texture the right way up.
Playing with the format property on the texture may be required but I haven't found one that works yet,  neither RGB or RGBA function.
Safari OSX is fine with just the FlipY work around. Safari macOS also supports CORS now but detecting for it is a problem because IOS 10 Safari also reports it supports it. Requires an OSX version check.

@wuyingfengsui  see further comments here https://github.com/mrdoob/three.js/issues/9754#issuecomment-260234817

Refer to this regarding the colourspace problem now
https://github.com/mrdoob/three.js/issues/10067
and this webkit ticket which I doubt they will ever bother to fix it and get a release pushed.
https://bugs.webkit.org/show_bug.cgi?id=164540

Fix it in https://github.com/googlevr/vrview/pull/100

@wuyingfengsui
gl_FragColor = texture2D( texture, vUV  ).bgra

Is for IOS 10 only as the Webkit bug is inverting colour channels hence the colour issue. I've given up with webkit , nobody even bothered responding.
Safari OSX doesn't need the colour inversion.
It looks like the ShaderMaterial can be used for all video texture rendering. MeshBasicMaterial produces a very big shader program with features that are not needed for video texture rendering I think as I just found. The fix wasn't working against it anyway.
The vertex program can do the flip for Safari hence this. The geometry flip fix now doesn't work with the change.
vUV = vec2( uv.x, 1.0 - uv.y );

It's quite possible other browsers if using this just need
vUV = vec2( uv.x, uv.y );

IOS 9 no good still, which many older devices are now condemned to like an Ipad 3. the frame dropping is quite terrible on it anyway.

I had to use RGBAFormat flag to get it rendering on the simulator properly. It may not be needed on hardware but it doesn't seem to affect it much.
I was getting no frame update in the simulator but the colours are correct, the best I can test now.

I've confirmed the actual shader program could be used throughout. removing the flip and letting the Flipy do it. This works on Chrome.
var vertexShader = [
					"varying vec2 vUV;",
					"void main() {",
					"	vUV = vec2( uv.x,  uv.y );", // fipY: 1.0 - uv.y
					"	gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",
					"}"
				].join( "\n" );

				var fragmentShader = [
					"uniform sampler2D texture;",
					"varying vec2 vUV;",
					"void main() {",
					"	gl_FragColor = texture2D( texture, vUV );",
					"}"
				].join( "\n" );

I've done my tests and MeshBasicMaterial isn't needed, this shader program will work on video textures for most browsers and formats including Mp4, Webm, Hls and Dash.
IOS9 still wont render HLS. haven't got to Android yet.
IOS10 still requires CORS proxy for HLS. Safari macOS does not need a CORS proxy url only previous Safari.
This is what some of my utils code looks like. Flip only needed for HLS. Colour inversion only needed for HLS and IOS.
static getVertexShader(unflipY) {
        return [
            "varying vec2 vUV;",
            "void main() {",
            "	vUV = vec2( uv.x, " + (unflipY ? "1.0 - uv.y" : "uv.y") + ");",
            "	gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",
            "}"
        ].join( "\n" );
    }

    static getFragmentShader(invertColour) {
        return  [
            "uniform sampler2D texture;",
            "varying vec2 vUV;",
            "void main() {",
            "	gl_FragColor = texture2D( texture, vUV )" + (invertColour ? ".bgra" : "") + ";",
            "}"
        ].join( "\n" );
    }

    static createShaderMaterial(texture, unflipY, invertColour) {

        texture.flipY = !unflipY;

        if (invertColour) {
            texture.format = THREE.RGBAFormat;
        }

        return new THREE.ShaderMaterial( {
            uniforms: { texture: { value: texture } },
            vertexShader: WebVRUtils.getVertexShader(unflipY),
            fragmentShader: WebVRUtils.getFragmentShader(invertColour)
        });
    }

iOS 9 indeed not render HLS. It should have another webkit version.

All the browsers for IOS use the same webkit too it seems. As far as the CORS issue goes they mentioned it is a framework problem in IOS. So perhaps this is the same.

Android was fine with that shader fyi including native HLS. macOS safari still had issues with Dash throwing CORS errors.

I believe this is fixed as of https://github.com/googlevr/vrview/pull/176. Let me know if I need to reopen.


[Mandalorian] Confidence i korrektheden af vores beregninger [Skyggeafregning]

Inspiration til ting, der kunne være relevante at kigge på - bla test cases.
What to support
DK

Grid areas merged during calculation period
Grid area created during calculation period
Grid area deleted during calculation period

Grid area

No non-profiled consumption metering points
No flex consumption metering points
No production metering points

Metering point period

Missing time series (patch with quantity=0 and quality=missing)

Exchange

There may be metering point(s) in one direction but not the other

Anticipations

There is always a grid loss responsible

========
Behov for visualisering?
BDD på beregningsresultater?


No subdomain?

I don't want to use a subdomain with this utility, I want it to update the base domain's IP.  But the subdomain says it's required, not optional.
Thoughts?

I don't know which DNS add-on you are referring to (GoDaddy DNS or Google Cloud DNS), but everything is a subdomain (unless you have your own TLD, in which case, nice), so try something like this for my-domain.com:
domain: com
hostname: my-domain

I haven't tested it, but I think it will probably work.

No go...  You've got a pattern match test that prohibits it from working...
I'd really love to be able to update the IP for theherrs.com with no
further subdomain.
{"code":"INVALID_BODY","fields":[{"code":"MISMATCH_FORMAT","message":"does
not conform to the 'domain' format, based on pattern:
/^[^.\s]{1,63}(\.[^.\s]{1,63}){1,2}$/","path":"path.domain"}],"message":"Request
body doesn't fulfill schema, see details in fields"}
On Thu, Jul 7, 2022, 22:12 Michael Brown @.***> wrote:

I don't know which DNS add-on you are referring to (GoDaddy DNS or Google
Cloud DNS), but everything is a subdomain (unless you have your own TLD, in
which case, nice), so try something like this for my-domain.com:
domain: com
hostname: my-domain
I haven't tested it, but I think it will probably work.
—
Reply to this email directly, view it on GitHub
https://github.com/mrmichaelrb/hassio-addons/issues/7#issuecomment-1178493965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB32XY6RWU2NAGFDWKALPADVS6MCRANCNFSM527PQUEA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'll give it a try!  And yes, I have my own domain (theherrs.com) through
GoDaddy
On Thu, Jul 7, 2022, 22:12 Michael Brown @.***> wrote:

I don't know which DNS add-on you are referring to (GoDaddy DNS or Google
Cloud DNS), but everything is a subdomain (unless you have your own TLD, in
which case, nice), so try something like this for my-domain.com:
domain: com
hostname: my-domain
I haven't tested it, but I think it will probably work.
—
Reply to this email directly, view it on GitHub
https://github.com/mrmichaelrb/hassio-addons/issues/7#issuecomment-1178493965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB32XY6RWU2NAGFDWKALPADVS6MCRANCNFSM527PQUEA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Changes to case of SharePoint word

Changed from small case of Sharepoint to SharePoint.
Category

[x] Content fix

What's in this Pull Request?
Changes small case of "p" in SharePoint

Docs Build status updates of commit 813bf5e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/compatibility.md
:white_check_mark:Succeeded
View

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

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

File
Status
Preview URL
Details

docs/spfx/compatibility.md
:white_check_mark:Succeeded
View

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


Getting "reducer not a function" when passing query functions as props

Steps to Reproduce

Create a query var QUERY.
Send data.fetchMore(QUERY) down to another component.
Call the function in that component and the error will show up.

apollo-client.jsx
import ApolloClient, { createNetworkInterface } from 'apollo-client'

export const client = new ApolloClient({
  networkInterface: createNetworkInterface({
    shouldBatch: true,
    uri: '/api/graphql',
  }),
})

tweets.jsx
This is a fairly simple example which is what's catching me.
const GET_TWEETS = gql`
query GetTweets {
  tweets {
    content
    postTime {
      time
      unixTime
    }
    user {
      username
    }
  }
}`

class Tweets extends PureComponent {
  static propTypes = { data: PropTypes.object };
  static defaultProps = { data: {} };

  render() {
    const { data } = this.props
    return (
      <div>
        <TweetList tweets={data.tweets} refresh={() => data.fetchMore(GET_TWEETS)} />
      </div>
    )
  }
}

export default graphql(GET_TWEETS)(stylesLoader.render(Tweets))

NOTE: The TweetList component does not have connect() or Redux enabled in this test. I tried that in a different view, and it didn't help.
You can find the full code here:
https://github.com/Sawtaytoes/Twitter-Style-App-in-React/tree/feature/graphql
Buggy Behavior
When I pass ()=> data.fetchMore() or input => mutate({ variables: { input }) as props, I get this error:
TypeError: reducer is not a function
    at mapFn (eval at <anonymous> (main.bundle.js:6389), <anonymous>:117:24)
    at eval (eval at <anonymous> (main.bundle.js:6389), <anonymous>:194:84)
    at Object.tryFunctionOrLogError (eval at <anonymous> (main.bundle.js:6587), <anonymous>:4:16)
    at ObservableQuery.updateQuery (eval at <anonymous> (main.bundle.js:6389), <anonymous>:194:41)
    at eval (eval at <anonymous> (main.bundle.js:6389), <anonymous>:122:19)
tryFunctionOrLogError @ VM41065:8
ObservableQuery.updateQuery @ VM41043:194
(anonymous) @ VM41043:122

I do have Redux in the app, but I was getting that error before I hooked up the store in the ApolloProvider component directly. Even after adding it to my list of reducers I still get this error.
Expected Behavior
It should function the same as it does when the graphql() higher-order function is wrapping the element doing the querying without showing the error.
Version
"apollo-client": "^0.5.19",
"react": "^15.4.1",
"react-apollo": "^0.7.1",

@Sawtaytoes The error message here isn't good, but you need to define an updateQuery function and pass that along when you use fetchMore. Otherwise Apollo Client has no way of knowing how to update the data that's already in the store.
In your case you should just use the built-in refetch function though, because that seems to be what you want it to do.

I'll leave this issue open to make sure we don't forget to provide a better error message here.

I changed to refetch yesterday after reading more documentation.
There was an Apollo blog article about updating from data calls, and it specifically said use fetchMore which was confusing. In fact, I found out about refetch by looking at the data object and seeing what properties I could call on it.
I appreciate your response :D.


build problem on xcode 12 beta 6

I am having this on xcode 12 beta 6
dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
  Referenced from: /usr/local/bin/bartycrouch
  Reason: image not found
/Users/utkudalmaz/Library/Developer/Xcode/DerivedData/APP-dfxahgqzuercupdhuslddgvvogqw/Build/Intermediates.noindex/APP.build/Debug-iphonesimulator/APP.build/Script-E53EEF331F83C8E5002B03E5.sh: line 7: 42759 Abort trap: 6           bartycrouch update -x
dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
  Referenced from: /usr/local/bin/bartycrouch
  Reason: image not found
/Users/utkudalmaz/Library/Developer/Xcode/DerivedData/APP-dfxahgqzuercupdhuslddgvvogqw/Build/Intermediates.noindex/APP.build/Debug-iphonesimulator/APP.build/Script-E53EEF331F83C8E5002B03E5.sh: line 7: 42761 Abort trap: 6           bartycrouch lint -x
Command PhaseScriptExecution failed with a nonzero exit code

Any idea?

Check if workaround proposed in #200 solve the issue also for you.

This should be fixed with version 4.3.0, please report otherwise if it still happens.


NUTCH-2415 : Create a JEXL based IndexingFilter

Add a new IndexingFilter that uses JEXL to decide whether to index a document.
The JEXL expression is read from the configuration property index.jexl.filter.

Probably would be a good idea to add a couple of tests to validate the implementation, testing an IndexingFilter is not very difficult you can check for instance the index-basic plugin.
https://github.com/apache/nutch/blob/master/src/plugin/index-basic/src/test/org/apache/nutch/indexer/basic/TestBasicIndexingFilter.java

All above comments have been fixed.

@pipldev Added a couple of comments about the test, but it's looking really good! Thanks for the contribution!

@pipldev can you please bring this patch up-to-date and also consider deprecating some of the other IndexingFilters if you see fit. Thank you

Updated to resolve conflicts.
@lewismc How do I deprecate other IndexingFilters? Anyway, I don't think we should, since I see this more as an "power-user" filter, I think it's better if non-programmers can filter without learning JEXL and the relevant object model.

All above comments were addressed in the last commit.
Note that due to package renaming the history of this PR is a bit confusing.

+1 looks good


elm-live returns nothing when running in a docker container

Setup

elm-live 4.0.1
Site image built from the node:13.12.0-buster-slim image
Docker run maps host port 8000 to container port 8000
Container runs and executes: elm-live ./src/Main.elm --dir=./static --pushstate -o -- --output=./static/assets/js/elmsite.js --debug

Reproduce

Connect from the host : http://localhost:8000 and literally nothing is returned from the server

Expected Results

Connect from the host : http://localhost:8000 and and the index.html file in the ./static directory is returned

Testing

When I open a bash shell on the running container and connect to port 8000 using curl, the index.html file in the ./static directory is returned, so I know elm-live is configured and running properly

I found that adding --host=<IP_ADDRESS> to the elm-live options (before the --) fixed this for me.

Correct me if my terminology is wrong. Docker assigns dynamic IP addresses to its containers. Because of this you need to specify --host=<IP_ADDRESS>. <IP_ADDRESS> is essentially an alias to listen on all IP addresses.

Of course. Thank you for pointing that out. :).


Bumped 1.19-8 dev

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/unhold


Breaking on VSCode 1.40.2

https://github.com/microsoft/vscode/issues/85999

https://github.com/microsoft/vscode/issues/85999

error in log:
Err 35    [11:21:8.644] Exception on executing command {"seq":9,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"/Users/joshpike/Projects/aquipa/client/src/components/app/plant-general-details/plant-general-details.component.ts","line":520,"offset":29}}:

    Could not find source file: '/Users/joshpike/Projects/aquipa/client/src/components/app/plant-general-details/plant-general-details.component.ts'.

    Error: Could not find source file: '/Users/joshpike/Projects/aquipa/client/src/components/app/plant-general-details/plant-general-details.component.ts'.
        at getValidSourceFile (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:130492:29)
        at Object.getDefinitionAndBoundSpan (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:130813:73)
        at Proxy.getDefinitionAndBoundSpan (/Users/joshpike/Projects/aquipa/node_modules/@angular/language-service/bundles/language-service.umd.js:71029:35)
        at IOSession.Session.getDefinitionAndBoundSpan (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:139891:83)
        at Session.handlers.ts.createMapFromTemplate._a.<computed> (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:139249:61)
        at /Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:140870:88
        at IOSession.Session.executeWithRequestId (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:140861:28)
        at IOSession.Session.executeCommand (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:140870:33)
        at IOSession.Session.onMessage (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:140893:35)
        at Interface.<anonymous> (/Users/joshpike/Projects/aquipa/node_modules/typescript/lib/tsserver.js:142208:27)
        at Interface.emit (events.js:200:13)
        at Interface._onLine (readline.js:314:10)
        at Interface._normalWrite (readline.js:459:12)
        at Socket.ondata (readline.js:170:10)
        at Socket.emit (events.js:200:13)
        at addChunk (_stream_readable.js:294:12)
        at readableAddChunk (_stream_readable.js:275:11)
        at Socket.Readable.push (_stream_readable.js:210:10)
        at Pipe.onStreamRead (internal/stream_base_commons.js:166:17)

Could not find source file is a weird error, that path DEFINITELY exists.

Can you please also test with 3.7.3 which was just released.
Also were you able to put together a small project that demonstrates this? I still haven't been able to reproduce the problem

Closing this as not actionable without an example project and steps to reproduce


Segmentation fault: 11

face_recognition version:latest
Python version:2.7
Operating System:Mac

Description
I just installed your great project, and run the example(foo)
but I got the Segmentation fault: 11
aljundeMacBook-Pro-2:face_reco aljun$ python foo.py
Segmentation fault: 11

I have already installed the boost and the python-boost on my Mac

I'm not sure. I can't tell from that information what's going on. But you could try out this VM instead: https://medium.com/@ageitgey/try-deep-learning-in-python-now-with-a-fully-pre-configured-vm-1d97d4c3e9b


youtube-dl: 2016-10-25 -> 2016-10-31

Motivation for this change
youtube-dl update
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

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

Thanks!


Skip pg_temp_* changes from replication

Explanation
p2q hangs after a pg_temp_XXX table is created by postgres after doing a migration such as the one that triggered the incident (see ticket).
The issue is easily reproducible in local env (see below).
Monitoring postgres during the migration, the wal_sender process starts to consume 99% CPU after a migration is triggered while p2q is active. After a certain period of time, ~2-4 hours of cpu time, before finishing to deliver all the changes in the new table (~8hours of cpu time for devel db), the wal_sender proc goes idle unexpectedly, and never exits or goes active again (left it an entire day, even stopped p2q and nothing). Mem (<0.5%) and cpu (0) usage during that phase were stable, so it's just holding a microbatch of changes that are not being sent for some reason.
The bug is an ongoing issue in postgres so it is a server-side bug and not related to the client (ie: p2q should not change).
However, the client could change the behavior to fix it (as it is doing now, while running in debug mode). If the client confirms messages at a slower rate, the wal_sender does not hang, but it is not efficient.
Moreover, "slower" depends on the environment:
In my m1 machine it behaves as it does in prod (debug solves the issue) but adding more records to the db beforehand (i.e: 3x amount of data in db:import) results in hang. In my linux machine the issue happens always (w or wout debug). So, we are lucky in prod for now 😄.
So the simplest solution here is to skip changes from temporal tables directly in decoderbufs.
Side effects:

Reduce latency in p2q (in prod, right now, it processes a copy of a table, most with priority over newer records).
Reduce cpu & mem usage in p2q and postgres (specially in the latter).

Notice this fix is possible as logical replication does not replicate schema (see https://www.postgresql.org/docs/10/logical-replication-restrictions.html).
Sources:

https://www.postgresql.org/message-id/flat/20170823163151.5dankkw7z72ltmvw%40alap3.anarazel.de#da1e36a289958cb1c38606e541298a6d
https://www.postgresql.org/message-id/flat/CAODqTUbwxxp87s_jGZeQ6ibii_-5%2BeC5%2B2icvE3F8_w2MjsaGg%40mail.gmail.com#829a7200531074adae3dc6f5d325333d
https://www.postgresql.org/message-id/flat/20f3de7675f83176253f607b5e199b228406c21c.camel%40cybertec.at
https://www.postgresql.org/message-id/c6cfe653-f4e0-f623-2dd2-25b3c4be3bd5%40matrix.gatewaynet.com
https://www.postgresql.org/message-id/84CE67AB46ACDA41B18094177DD0853D212DA8%40ORD2MBX04C.mex05.mlsrvr.com

How to recreate the bug

first, add some random migration in api with fields that could generate pg_temp. I added the branch _do-not-merge-p2q-bug w two of them, you can use it.
cd p2q_repo && docker-compose up -d (recommend to use -d since output could crash console)
cd api && bundle exec rake db:environment:set RAILS_ENV=development
bundle exec rake db:import
docker exec -it postgres bash

su - postgres
pg_recvlogical --slot=remerge_changes_v2 -d remerge_development --create --plugin=decoderbufs -v -h /var/run/postgresql
here you'll have the wal sender proc after doing the next step

build and execute p2q
bundle exec rake db:migrate

How to recreate the fix

copy this repo to docker-postgres
replace docker-postgres/10/Dockerfile by the following

FROM postgres:10.6

RUN apt-get update -qq \
  && apt-get install -y --force-yes git-core build-essential dh-autoreconf pkg-config wget zlib1g-dev \
  && apt-get clean && rm -rf /var/lib/apt/lists/*

RUN wget https://github.com/google/protobuf/releases/download/v3.1.0/protobuf-cpp-3.1.0.tar.gz \
  && tar -xzf protobuf-cpp-3.1.0.tar.gz && cd protobuf-3.1.0 \
  && ./autogen.sh && ./configure && make && make check && make install && ldconfig \
  && cd .. && rm -rf protobuf-*

RUN git clone --depth 1 --branch v1.2.1 https://github.com/protobuf-c/protobuf-c.git && cd protobuf-c \
  && ./autogen.sh && ./configure && make && make install && ldconfig \
  && cd .. && rm -rf protobuf-c

RUN apt-get update -qq \
  && apt-get install -y --force-yes postgresql-server-dev-10 \
  && apt-get clean && rm -rf /var/lib/apt/lists/*

COPY decoderbufs decoderbufs

RUN cd decoderbufs && make proto && make && make install && cd ..

COPY config/ scripts/ /docker-entrypoint-initdb.d/

build the image and put the tag in the p2q/docker-compose.yml
repeat steps defined previously

Alternative
Sth i find interesting is that removing wal_sender timeout removes the issue. For me, it is clearly a side effect in postgres and could raise another problem.
However, raised a pr with changeset. https://github.com/remerge/chef.new/pull/843. Personally, i don't like that one at all, and this pr is preferable.
Fix p2q bug causing hanging when temporary tables are processed

The change seems logical to me and I it sounds like you have tested it locally so I'm not going to do that 😄


CFE produces compile time error on language/async_star/await_pauses_test.dart

@johnniwinther @stereotype441
The analyzer has no issue with the test language/async_star/await_pauses_test.dart but the CFE reports the error:
org-dartlang-app:/tests/language/async_star/await_pauses_test.dart:25:9: Error: A value of type 'num' can't be assigned to a variable of type 'int'.
      r += await new Future.delayed(new Duration(milliseconds: 10), () => i);

Inspecting the test it looks like all the types here should be inferred as ints but somehow the CFE believes the Future being created is of type Future<num>.
A simple fix for the test is to explicitly type the Future:
new Future<int>.delayed(new Duration(milliseconds: 10), () => i);

but I thought I should report something here since the tools disagree. Which one is correct?
cc @liamappelbe @alexmarkov

The CFE is wrong.

Taking a further look this is actually related to the unspecified/underspecified/incoherent inference of + and +=:
We currently have the special-casing that e1 + e2 has type int if e1 and e2 both have type int (and similar for double). For the inference of e2 in e0 = e1 + e2 we don't have the requirement above (since we don't have a type for e2 yet). If e1 has type int then, by the definition of operator + on int the type context for e2 is num. In the above example this makes us infer that await new Future.delayed(new Duration(milliseconds: 10), () => i); has type num (as required by the type context) and this in turn leads to the implicit downcast of e1 + e2 from num to int. With NNBD this is not allowed so we now have a compile-time error.
@eernstg @lrhn: We discussed this case a while ago but I don't think we ever got a conclusion.
@leafpetersen: Should we adjust the inference to support the special-casing of the typing of +? Maybe something like: If the type context for e1 + e2 is int then the type context for e1 and e2 is also int. (Similarly for when the type context is double).

We currently have the special-casing that e1 + e2 has type int if e1 and e2 both have type int (and similar for double).

Not sure the "similar for double" is in the specification. The rule is just that double.operator+ has return type double, but num x = 1.0; var y = x + 1; would give y the type num in the current specification.
We may need to also add that if e1 has static type int or num and e2 has static type double, then the addition has static type double. That allows 1 + 1.0 to have type double instead of num, same for someNumber + 1.0.
The rule for context typing would be:

If e1 + e2 has context type int and e1 has static type int, then e2 has context type int.
if e1 + e2 has context type double and e1 has static type int, then e2 has context type double.

We can't provide a context type for e1 because it might be MyFancyThing with an int operator+(MyFancyThing other). We can only use the spec-special-casing of + in the situations where it applies, and that's currently where the receiver is an int.
If we add more rules, as suggested above, we can also make more deductions:

If e1 + e2 has context type double and e1 has static type int or num, then e2 has context type double.
(because otherwise the static type of the addition would be num or int and not assignable to double)

Do we have any progress on this? Should we have a language issue for the inference of + and friends?

No progress. The language issue is probably https://github.com/dart-lang/language/issues/725.

@johnniwinther I will look into this.  I need to wrap up the initialization assignment proposal and related tests first, but I should be able to get to this this week.


Cannot purge in Windows

Cache keys are generated incorrectly when deploying strapi in Windows. When I use the purge button, the key is not matched and therefore the cache for the REST entry is never purged.
https://github.com/strapi-community/strapi-plugin-rest-cache/blob/b5d00c80f10f582242bde8377e16e36db0f744f4/packages/strapi-plugin-rest-cache/server/utils/keys/generateCacheKey.js#L26
If I replace this code with this:
const requestPath = toLower(ctx.request.path).replace(     /\/$/,     ''   );
Then the purge works fine.

Dude, this works like charm but why don't the Strapi team handle this fix :/

Dude, this works like charm but why don't the Strapi team handle this fix :/

Because it's not owned by us this is a community package.

@Naahtec Can you show me the diffrence between the 2 keys it generate?

const requestPath = toLower(path.normalize(ctx.request.path)).replace(
    /\/$/,
    ''
  );
  // requestPath = '\\api\\legal-pages\\37'

  const windowsRequestPath = toLower(ctx.request.path).replace(
    /\/$/,
    ''
  );

  //windowsRequestPath = '/api/legal-pages/37'

hmmmm we still need to normalize the path for everyone and that shouldn't be using the windows specific pathing since it's a URL not a local filesystem path

Well, only windowsRequestPath works under windows. (or at least thats my assumption)
I tried the exact code in docker and that works fine.

@derrickmehaffy Think Naahtec is right we should not normalize the path we should only remove all extra / from it .

No need it is a url path not a file path so we should not normalize it.

Hmmm true 🤔

Facing the same issue in windows (Cache regeneration and purge issues).
Works fine in Linux, Ubuntu.


Infobox click event error

Hi, I've followed the instructions to add the library to my angular project.
There is only one problem so far and it's that I'm getting an error when I try to click a Marker. It happens both on Bing and Google. There must an incompatibility or something, but I'm lost.
When I test another sample (without markers) like the edit polygon one, the Click and DoubleClick events work as expected. It's only on the Marker Infobox.
My code is word for word as the one on the example: https://stackblitz.com/edit/bing-basic-map-with-single-marker
Below are the error details and the package.json of my project. Hope I can get some help.
Uncaught TypeError: Object(...) is not a function
    at SafeSubscriber.eval [as _next] (angular-maps.js:9229)
    at SafeSubscriber.__tryOrUnsub (Subscriber.js:238)
    at SafeSubscriber.next (Subscriber.js:185)
    at Subscriber._next (Subscriber.js:125)
    at Subscriber.next (Subscriber.js:89)
    at eval (angular-maps.js:18471)
    at ZoneDelegate.invoke (zone.js:392)
    at Object.onInvoke (core.js:4753)
    at ZoneDelegate.invoke (zone.js:391)
    at Zone.run (zone.js:142)

|    |  _
-- | -- | --
(anonymous) | @ | angular-maps.js:9229
SafeSubscriber.__tryOrUnsub | @ | Subscriber.js:238
SafeSubscriber.next | @ | Subscriber.js:185
Subscriber._next | @ | Subscriber.js:125
Subscriber.next | @ | Subscriber.js:89
(anonymous) | @ | angular-maps.js:18471
ZoneDelegate.invoke | @ | zone.js:392
onInvoke | @ | core.js:4753
ZoneDelegate.invoke | @ | zone.js:391
Zone.run | @ | zone.js:142
NgZone.run | @ | core.js:4570
(anonymous) | @ | angular-maps.js:18471
Qd.A | @ | js?callback=Create&k…RCk63K9CAj72-m8:173
_.R.trigger | @ | js?callback=Create&k…RCk63K9CAj72-m8:170
(anonymous) | @ | marker.js:28
Qd.A | @ | js?callback=Create&k…RCk63K9CAj72-m8:173
_.R.trigger | @ | js?callback=Create&k…RCk63K9CAj72-m8:170
onClick | @ | marker.js:22
.p.onClick | @ | common.js:135
J..Sm.Qa | @ | common.js:63
ZoneDelegate.invokeTask | @ | zone.js:425
Zone.runTask | @ | zone.js:192
ZoneTask.invokeTask | @ | zone.js:499
invokeTask | @ | zone.js:1540
globalZoneAwareCallback | @ | zone.js:1566
{
  "name": "ng2project",
  "version": "1.9.3",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "start-en": "ng serve --sourcemap=false --aot --locale en",
    "start-es": "ng serve --sourcemap=false --aot --locale es-us --i18n-format xlf --i18n-file src/i18n/messages.es.xlf",
    "build": "ng build",
    "test-models": "mocha tests -r ts-node/register tests/models/*.spec.ts --reporter mochawesome",
    "lint": "ng lint",
    "e2e": "ng e2e",
    "i18n": "ng xi18n --output-path src/i18n --i18nFormat=xlf -p ./tsconfig.json --locale en && xliffmerge --profile xliffmerge.json en es",
    "build-i18n:en": "ng build --no-extract-licenses --output-path dist/en --prod --aot --bh /en/ --locale en",
    "build-i18n:es": "ng build --no-extract-licenses --output-path dist/es --prod --aot --bh /es/ --locale es-us --i18n-format xlf --i18n-file src/i18n/messages.es.xlf",
    "build-i18n": "npm run build-i18n:en && npm run build-i18n:es && cp landing.html dist/index.html && cp -r src/assets dist/assets",
    "copy-index": "cp landing.html dist/index.html"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "~5.1.0",
    "@angular/cdk": "~5.2.4",
    "@angular/common": "~5.1.0",
    "@angular/compiler": "~5.1.0",
    "@angular/core": "~5.1.0",
    "@angular/forms": "~5.1.0",
    "@angular/http": "~5.1.0",
    "@angular/material": "~5.2.4",
    "@angular/platform-browser": "~5.1.0",
    "@angular/platform-browser-dynamic": "~5.1.0",
    "@angular/platform-server": "~5.1.0",
    "@angular/router": "~5.1.0",
    "@swimlane/dragula": "^3.7.3",
    "@swimlane/ngx-charts": "^7.0.1",
    "@swimlane/ngx-dnd": "~5.0.6",
    "angular-maps": "^6.0.1",
    "angular-material": "^1.1.10",
    "angular-timezone-selector": "^1.2.1",
    "angular2-jwt": "^0.2.3",
    "angulartics2": "^4.6.3",
    "core-js": "^2.4.1",
    "d3": "^4.10.0",
    "hammerjs": "^2.0.8",
    "jquery": "^3.2.1",
    "material-design-lite": "^1.3.0",
    "moment": "^2.20.1",
    "moment-timezone": "^0.5.14",
    "ng-drag-drop": "^4.0.1",
    "ng2-timezone-selector": "^0.1.4",
    "ngx-color-picker": "^5.3.8",
    "ngx-openlayers": "^0.8.22",
    "ngx-tooltip": "0.0.9",
    "ngx-tooltip-selectable": "^0.1.22",
    "rxjs": "5.5.2",
    "sass-loader": "^6.0.6",
    "select2": "^4.0.6-rc.1",
    "time-ago-pipe": "^1.3.2",
    "zone.js": "^0.8.4"
  },
  "devDependencies": {
    "@angular/cli": "^1.7.4",
    "@angular/compiler-cli": "~5.1.0",
    "@types/chai": "^4.1.7",
    "@types/googlemaps": "^3.30.19",
    "@types/mocha": "^5.2.6",
    "@types/node": "~6.0.60",
    "bingmaps": "^2.0.3",
    "chai": "^4.2.0",
    "codelyzer": "~2.0.0",
    "jasmine-core": "~2.5.2",
    "jasmine-spec-reporter": "~3.2.0",
    "karma": "^1.4.1",
    "karma-chrome-launcher": "~2.0.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^0.2.3",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "karma-mocha": "^1.3.0",
    "mocha": "^6.1.4",
    "mochawesome": "^3.1.2",
    "ngx-i18nsupport": "^0.9.0",
    "protractor": "^5.4.1",
    "sinon-chai": "^3.3.0",
    "ts-node": "^8.1.0",
    "tslint": "~4.5.0",
    "typescript": "^3.4.5",
    "webpack-dev-server": "^2.5.1"
  }
}

Hard to tell without seeing your code. Can you post it? If you copied from the stackblitz example, is it possible that a funky character got introduced in the process? Make sure that the click method specified in the component.html matches the one in the component.ts.

@Arxk  : did you resolve your issue? As I said, without some code it is hard to provide input. Please advise so that we can resolve this issue.

@thor-schueler Hello. I copied the code verbatim from the example on to an empty component in my project. I'm not sure what other code I could provide besides my dependencies; the other examples are working.
If you have no clue about it, is probably something weird on my environment but I couldn't figure out what. Regardless, thank you for trying to help.


Apply -Zpanic-abort-tests to doctests too

What does this PR try to resolve?
cranelift doesn't support unwinding, which causes issues with should_panic tests. Attempting to use -Zpanic-abort-tests to fix that still fails with doctests because they attempt to use unwinding. rustdoc already supports specifying -Cpanic=abort and correctly handles  ```should_panic tests with it enabled, so we can just start passing it when -Zpanic-abort-tests is set.
Fixes https://github.com/rust-lang/rust/issues/120578 (when using -Zbuild-std=std,panic_abort too)

@bors r+

:pushpin: Commit 255914696a86f04563a12717262418e897309381 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 255914696a86f04563a12717262418e897309381 with merge cdf84b69d0416c57ac9dc3459af80dfb4883d27a...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing cdf84b69d0416c57ac9dc3459af80dfb4883d27a to master...


EthicalAds: un-bundle the client

remove dependency
don't require UDM library changes/complexity
load the dependency only if EthicalAd is enabled for the project (useful for commercial 👍🏼 )
protect us from blocking readthedocs-addons.js by AdBlocker

I decided to go this way because it simplifies things a lot and also it uses the
standard/supported way of using EthicaAd client.

Closes #6
Closes #81
Closes readthedocs/ethical-ad-client#155

I'll merge this PR because this is going out today. However, I'm happy to keep the discussion open and revert if we don't think this is a good pattern.

It's okay for now, but we gain benefits from using packaging here so should make sure to come back and revert this. It's not quite clear what the reason for this PR is, but if there are problems problems with an approach that uses the EA client as a UMD, we should note that so we can these issues when we revert this.
We want packaging versioning here for dependencies to ensure changes to the EA client do not affect older versions of the addons client. Obviously not an immediate concern as addons doesn't really have versions yet though.

I mention 4 reasons in the description of the PR about this

I read those, but none of these really seemed to be driving this decision. What I was asking for is why we can't continue with the plan to switch EA to avoid auto-injection -- is there something blocking us from this?
Even if there isn't, the technical changes you point out all seem avoidable while retaining standard NPM packaging patterns. This seems like a good middle ground, so might be my choice at this point.
The middle ground between changing the EA library and this PR is:

Merge the EA UMD PR. This should be a non-event, the only change is the library bundle is now able to import.
Revert the package installaiton changes here and continue installing the EA library via NPM standard packaging
Treat the EA library as a dynamic import chunk. File size optimization is possible with dynamic imports, but isn't a top concern yet. See https://webpack.js.org/api/module-methods/#dynamic-expressions-in-import for the technical background
Use an approach similar to this PR (but using Webpack dynamic imports) to only load the EA library only when needed and after we've injected our placements. See ext-theme for an example of what this looks like in code: https://github.com/readthedocs/ext-theme/blob/main/src/js/build/detail.js#L154-L178

This doesn't require changing the EA client besides the UMD output option but still accomplishes all of the original goals we had for the ads web component. It would look similar to this PR, just with an internal library instead.
@humitos I'm not sure of the context around protecting us from blocking though. Can you expand on what you mean here? Did we hit a problem somewhere with our JS being blocked?

If we want to pin the EA client, we can still use this approach and use the URL that has the version on it -- so we are not always on the latest one.

Packaging doesn't seem to be the underlying problem here though. I would save this as a last resort, but don't think we need to recreate packaging in this way to obtain pattern that works for the EA library.

@humitos I'm not sure of the context around protecting us from blocking though. Can you expand on what you mean here? Did we hit a problem somewhere with our JS being blocked?

ethicalads.io is a domain that it's blocked by many popular AdBlockers (e.g. EasyList -- see https://easylist.to/easylist/easylist.txt). We also wrote a blog post about this some time ago (https://www.ethicalads.io/blog/2018/05/ads-and-ad-blockers/).
If we embed the Ethical Ad client inside our readthedocs-addons.js I suspect they could block this file due that it contains the Ethical Ad client and remove all the addons completely. Reverting this situation will be pretty hard. I think that loading the client from it's original URL protects us from this scenario. cc @davidfischer

ethicalads.io is a domain that it's blocked by many popular AdBlockers

Yeah, I was aware of that, but if there isn't a specific issue that we've hit with having the library included in our bundle, then I'd say we're safer treating the EA library as an import.
If anything, including the EA domain in the addons library might make it more apt to be blocked, as the blocked domain is in our source code now. I don't think blockers go this deep though, so likely neither case is going to be a strong reason to change our packaging patterns.
Using Webpack chunks will:

Reduce the library file size by splitting the EA code to a separate file
Reduce concerns that adblockers will block all of our JS, as the separate file request would isolate EA code.

Neither are huge concerns to me just yet though. To get all of these benefits, we would upload multiple files for each addons library version, so there is some more work there. But we don't have competing packaging patterns at least.


v6.0.0 chart ignores image names

Version 6.0.0 of the helm chart seems to ignore config values for custom images.
Version 5.0.58 seems to work correctly.
Upgrading to v6.0.0 caused only erpnext v14.12.1 images to be pulled.

Upgrading to v6.0.0 caused only erpnext v14.12.1 images to be pulled.

there's only one image to pull now.
there was a pr waiting for 2 weeks stating that there will be only one image. That pr was merged.
I'll fix the nginx config part,
make sure it's not a template, it needs to be a exact config file to be overriden.

I verified,
the config override works as expected.

now the config is mounted as /etc/nginx/conf.d/default.conf directly.
it must NOT contain env vars. Ther is NO template + env var -> config.

Thank you. I will adjust my build.  I must of have missed the PR.

I verified.
The config override works as expected.

now the config is mounted as /etc/nginx/conf.d/default.conf directly.
it must NOT contain env vars. There is NO template + env var -> config.

@revant, I am currently having issues with installing my custom-app on erpnext.

erpnext is already deployed on my kubernetes cluster and it's running, I also create a new site and the UI is up.
I have been able to built the images for worker and ngix and is on ghcr.io//worker:latest and ghcr.io//nginx:latest.
I need help on how to install the custom application on the running erpnext on the cluster, which file or files do I need to modify?

Thanks in anticipation of your help

3. I need help on how to install the custom application on the running erpnext on the cluster, which file or files do I need to modify?

looking forward to reply. I have the same issue about add custom application  into the running erpnext cluster.
how to modify the custom yaml?

Run the configure bench job https://github.com/frappe/helm/blob/main/erpnext/templates/job-configure-bench.yaml. It creates apps.txt from the list of apps available after image is updated.
Either run custom job to bench --site {site_name} install-app {app_name} https://github.com/frappe/helm/blob/main/erpnext/templates/job-configure-bench.yaml or exec into any of the frappe-bench container and exec the command bench --site {site_name} install-app {app_name}
Make sure apps.txt has the entry of app before install-app is executed.

tks for your reply. following your suggestions, I try to make a custom job, after running job, it give me the error.
apiVersion: batch/v1 kind: Job metadata:   name: erpnext-install spec:   template:     metadata:       name: erpnext-install     spec:       containers:       - name: erpnext-install         image: frappe/erpnext:v14.17.2         command: ["/bin/bash", "-c", "bench get-app https://gitee.com/yuzelin/erpnext_chinese.git && bench --site erp.dty install-app erpnext_chinese"]       restartPolicy: Never

You cannot execute bench get-app in production containers
https://github.com/frappe/frappe_docker/wiki/Frequently-Asked-Questions#how-to-install-official-or-custom-apps


Feature/sg 729 abstract cocodataset

Abstracting Coco dataset.
Changes bewteen the coco and its abstraction:

init parameters have different names (they also represent different things)

It sounds like a great idea, I guess that we could also make it so that load_samples would be a generator to provide an option not to cache labels.


Address Snyk/GitHub-driven alerts on stale dependencies

Closing in favor of #1466, #1366, #1367 and #1368.


Deprecate create_multisig, proposal_multisig_message, create_pymtchan... etc

Deprecate the functions that create messages for special method. Instead the user should serialize the parameters and use to create a valid message.
It will require 2 steps to create a multisig or payment channel actor but offers more visibility on how the the message is build.

:link: zboto Link

Does serializeParams already support ConstructorParams?

Instead the user should serialize the parameters

Is there an example of this for a multisig actor?

I don't have an example for this. It would require to call serializeParams twice tho. Once to serialize the constructor parameters and a second time to serialize the cid and serialized parameters for the init actor.


Crashes/No Text Input/No Activation after Upgrade to Lion

Quicksilver has been reported working in Lion by many developers over the past 4 months.
If you are experiencing problems, please try the following:

Make sure you are running Quicksilver ß60 from http://qsapp.com/download.php
Quit Quicksilver, Remove ~/Library/Caches/Quicksilver/, Restart Quicksilver
See the FAQ on Crashes: http://qsapp.com/wiki/FAQ#Quicksilver_crashes

Note to devs: This isn't an issue, but is intended to help users who are having problems during the upgrade process to Lion

Closing now Lion issues are almost out of the way :)


[Bug] Player is joining does not work

A friend of mine is having the issue, that everything works, except "player is joining".
It works fine for me and everyone else i know - but not for her - only when a player joined.
It does not show whenever a player clicks join - only when player has joined.
She runs AMD CPU 3060 GPU on Laptop.
Much love!

OnPlayerJoining uses the data that VRChat sends over the websocket. Which means that it does not work if the person is on Do not disturb or Ask me. This is a VRChat issue not a VRCX issue. The websocket is known to misbehave due to IP V6 so try disabling that.

we tried it both on green and blue status. u think we should disable IPv6?

we tried it both on green and blue status. u think we should disable IPv6?

yes, disabling IPV6 is within vrchat's own recommendations when you have issues with the websocket, such as receiving notifications in game or friend list updating issues.

thank you, i will try this and let you know if it solved it.

We deactivated it and test-ipv6.com said its inactive.
It still did not work for her. :(

We deactivated it and test-ipv6.com said its inactive. It still did not work for her. :(

in that case then not sure what to say if VRCX is not receiving the data that's on vrchat

OnPlayerJoining only works for friends, if they're using a different account with VRCX than in-game it could cause this to not work.

Same account and is a friend. I'm clueless. I guess it must still be the IPv6 thingy even tho its disabled. Ugh.

Some more things to try:

Make sure latest version of VRCX is installed.
Make sure that they're looking at the correct filters window.
Are the current working OnPlayerJoined notifications coming from VRCX or somewhere else?
Can they see the GPS entry in the main feed when a friend joins their instance?
Can they see friends in their current instance inside the user dialog?

Latest VRCX is installed.
I gave her my exact settings.
The mentions are from VRCX because the entire VRChat HUD is disabled.
Yes she can see the GPS entry in the main feed.
I dont understand the very last one. :x
Much love.

Latest VRCX is installed. I gave her my exact settings. The mentions are from VRCX because the entire VRChat HUD is disabled. Yes she can see the GPS entry in the main feed. I dont understand the very last one. :x
Much love.

the last one being select yourself in vrcx and see if the friend you want to see joining appears in the instance dialog in the area below when online

Thank you, i will try tomorrow when shes ready for it and update you on that.
Much love.


deployment script to fly.io

Integrate credentials using docker build --build-arg or similar.

Closing since done.