[MRG] Pipfile for repo2Docker

Description
WIP: this PR should allow for repo2docker to use Pipfiles
Updated checklist:

[x] My code follows the style guidelines of this project
[x] I have made corresponding changes to the documentation
[x] I have made corresponding changes to the contributing guidelines
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes

Whoop! Getting this done will be cool.
Just to double check: so far this PR (still work in progress) adds a Pipfile to the root of the repo which let's us install repo2docker via pipenv. The linked issue is about being able to build repos that specify their dependencies via a Pipfile. Is that where this PR is going?

Hi yes! The intention of the PR is to enable the use of Pipfiles for dependencies and usage of repo.
I added the Pipfile for my personal use (as I use now pipenv for my dev environments).
I can leave this out of the final PR once this is ready to merge or leave it if anyone believes this will help people/contributors in any way .

Awesome! I'm excited to get this feature.

I think the biggest (and only) downside to having a Pipfile for setting up repo2docker is that we have two places (?) to keep up to date for specifying dependencies but that seems like a not so big problem. And probably something that can be solved with some automation?? -> I'd leave it in (or if the Pipfile-for-repo2docker is ready we merge this PR now and make a new one for repo2docker-learns-how-to-read-pipfiles?

woo! I agree this will be a great feature. @trallard you are giving @consideRatio a challenge for "well-structured and formatted PR top-comments" :-)

think the biggest (and only) downside to having a Pipfile for setting up repo2docker is that we have two places (?) to keep up to date for specifying dependencies but that seems like a not so big problem. And probably something that can be solved with some automation??

This is always something I worry about.  A way around it would be to keep the Pipfile updated and upon any update to the dependencies generate a requirements.txt via pipenv.
Also, I this PR is on hold until perhaps next week(ish) since I will be attending conferences in the upcoming days

I'd be +1 on programmatically generating the requirements.txt if we're worried that we'll forget to update one or the other (IMO the potential future value of pipfiles makes it worth it though!)

Oh sorry I thought I had replied. I have been away for conferences and will only be able to work on this next week.
It will work on both PRs as suggested by @betatim.
Would it then be best to have the Profile as the record of truth and then programmatically generate the requirements.txt programmatically? i e. as part of the CI/CD

I'd be +1 on that...but maybe not necessary for this PR? In the short-term we can remember to update two sets of dependencies (perhaps you could add some language about the pipfile here: https://repo2docker.readthedocs.io/en/latest/contributing/tasks.html#update-and-freeze-buildpack-dependencies ?)
also, no need to say sorry! just a ping :-)

For simplicity I'd say let's go with no automation (less likely to break and need maintenance). It doesn't seem to be a common task to update the things repo2docker itself depends on. Maybe add a comment in the two places pointing to the other place.

LGTM once we resolve that one question about yaml.
Should the Pipfile <-> requirements file cross linking also mention https://github.com/jupyter/repo2docker/blob/master/docs/doc-requirements.txt as the Pipfile takes care of that as well?

@betatim  this should fix the issues with Travis CI and I have now added the missing refs to the doc-requirements.txt too

@choldgraf we decided to split this PR into two:

adds a Pipfile so you can use pipenv to install repo2docker (this PR)
a new PR that adds support to repo2docker so that it understands Pipfiles

ahhh I see, sorry for the noise :-)

Done and dusted! Thanks for this and looking forward to the next PR :)

Wohooo nice work! :D

@trallard does your agenda have room for working on Pipfile support for creating images with repo2docker?
I'd like to make a release in a week but at some point said we'd wait for having Pipfile support. Now I am thinking we should get the release out (so that we build up some cadence on releasing) and don't wait (as there will be a next release soon after). How does that work for you?

heyo! I was meant to work on this last Friday but got sidetracked with the workshop applications
I have time this Friday and weekend to work on the PR but I wonder if this would be enough to work on the code and you folks to review the request.
Also, I do not want to hold this release either so perhaps can delay the Pipfile support for the upcoming release if this is not too far away

Whatever is the least amount of stress. I'd make the release now, then you add the code and we make a new release in January or so? mybinder.org runs master of repo2docker so even without a release things get out :)

Fab! let's make this the plan and I will anyway make sure to make as much progress as possible over this weekend 😄

Sure thing, or do something away from the glowing rectangle that is a computer :)


Download contexts from the database

What does the code in this PR do / what does it improve?
This PR adds a new function straxen.contexts.load_context. This function uses utilix to download additional context files from the database, so that we can define production contexts outside of the straxen installation. This might be useful if e.g. we need to update corrections but we don't want to update to a new straxen version. It also will help resolve some issues we've had in the MC group about context definitions.
Can you briefly describe how it works?
It takes 2 arguments: context_name and file. The context_name is the name of the context function that will be loaded, and file is the name of the file in the files database. The default filename is xenonnt.py, a version which I have already uploaded.
First, the file is downloaded using utilix, which requires a utilix config file with the proper credentials. This file is downloaded to your current directory so that it is automatically in your python path. We then use eval, exec and getattr to import the context_name from the file, and initialize it. You can pass normal context kwargs to load_context which then get propagated to the initialization of the context. The initialized context is returned.
Can you give a minimal working example (or illustrate with a figure)?
I have uploaded a file which is essentially a copy of contexts.py, but with xenonnt_online renamed to just xenonnt. You can load it as follows
st = straxen.contexts.load_context('xenonnt')
print(st.provided_dtypes()['peaklets']['hash'])

# returns 2as4vw56ce

I should add that I created this branch off of the cmt branch, so I would prefer that this PR get merged before #531, if everyone agrees.


Copy and Past and Data Entry is generating -> [Object Object]

Description
Well, when copy data from data table since be a type collapsible and paste in excel or other spreadsheet based table is showing [Object Object] into cells.
Steps to reproduce

Create a Collapse table with Handsontable
Copy some data of any cell
Paste into cell on excel

p.s
Data entry also is showing [Object Object].
Demo

http://jsfiddle.net/gr47deqa/1/
Your environment

Vue wrapper version: 4.0.0
Handsontable version: 7.1.0
Browser Name and version: Chrome Versão 78.0.3904.70 (Versão oficial) 64 bits
Operating System: macOS Mojave and Windons 10

Correct. You keep an object as value and when it's stringified for the clipboard the result should be [Object Object]. You can use beforeCopy hook to map the values to simpler values before Handsontable stringifies the data.


Why did bumping Sharp fix this issue

Not really an issue since I've fixed this, but wanted to know why the fix actually fixed it.
Node 12, Win7 x64, Electron 7 (ABI 75)
I'm using image-thumbnail which relies on Sharp, in a React/Electron 7/Webpack app, and on installation, it uses sharp 0.22.1 which gave this gyp error on compile:
 e:\github\rootnav3\node_modules\sharp\src\stats.cc(130): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [E:\Github\RootNav3\node_modules\sharp\build\sharp.vcxproj]
which results in:
gyp ERR! build error
    gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
    gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
    gyp ERR! System Windows_NT 6.1.7601
    gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"

I could get this to build by going into Sharp's folder and gyp configure/building which resulted in ABI mismatches. I think I could electron-rebuild this to get a "Module did not self-register" after that, but I had to be in Sharp's folder when calling rebuild, else the gyp error occured.
A load of testing lead me to change the Sharp dep from 0.22.1 to 0.23.2, npm install in module folder, built fine, electron rebuilt, ta da, success. So I forked the repo and bumped version and it compiles fine now on its own.
So, why did bumping from 0.22.1 to 0.23.2 fix this gyp error? I read 0.22.1 was where Node 12 support was added, and I feel like it's too early in the installation to run into Electron ABI errors. Curiousity needs satisfying here (also so I can PR this into the real module with a good reason). I don't know a whole lot about how native modules actually work in regards to gyp etc.

The ABI versions refer to the Node ABI and not the V8 API or ABI. The version of V8 in Electron does not quite line up with the version of V8 in Node.
This means you might sometimes see compiler deprecation warnings from V8 in a given Node ABI that become compiler errors from an "Node ABI compatible" Electron.
This affects all native Node.js modules and is not unique to sharp.

I hope this information helped. Please feel free to re-open with more details if further help is required.


Where is Linux support?

Ok, I understand, Github <3 Mac, but you are biggest code hosting ever, so why you ignore other development platforms?

+1 for Linux support


Fix thieving pet calculation

Description:
This can lead to guaranteed pet drop [on bso]  or more likely than it should be on OSB
Changes:

Roll pet chance per success instead rolling (petChance/successCount)

Other checks:

[ ] I have tested all my changes thoroughly.

this would result in stall no longer dropping pet

this would result in stall no longer dropping pet

looks good to be merged now


Parameterized test for TestModels

See https://github.com/smithy-lang/smithy-dafny/pull/257/files#diff-a933719600e0ce4e5ada8a6a7a64dfb38e005f6145c00147d9a02a16c69409d7R20-R24 for a related attempt.
I'd love to replace the GitHub workflows that are testing all TestModels with this approach, but although it's straightforward to model them with a @ParameterizedTest, I haven't yet worked out how to execute them in parallel, and without that we'll have a fairly significant CI efficiency regression.

Resolved by #457


Add snapshot deployments to GitHub packages

Add CI to push snapshot deployments to GitHub packages.

This is partially complete (albeit currently using a manual pipeline), so I am closing this.


CI Failed with ARFoundation 4.2 (unityci/editor:2021.3.1f1-ios-1.0.1)

Bug description
Pipeline failes to build (same commit works with unityci/editor:2020.3.33f1-ios-1.0.1).
How to reproduce
Launch a pipeline with Unity 2021.3.1f1 (or 2021.3.0f1) and with ARFoundation 4.2.2.
Library/PackageCache/com.unity.xr.arkit@4.2.2/Editor/ARKitReferenceImageLibraryBuildProcessor.cs(140,35): error CS0246: The type or namespace name 'PBXProject' could not be found (are you missing a using directive or an assembly reference?)
Library/PackageCache/com.unity.xr.arkit@4.2.2/Editor/ARKitReferenceImageLibraryBuildProcessor.cs(141,38): error CS0103: The name 'PBXProject' does not exist in the current context
Library/PackageCache/com.unity.xr.arkit@4.2.2/Editor/ARKitReferenceImageLibraryBuildProcessor.cs(142,40): error CS0103: The name 'File' does not exist in the current context
Library/PackageCache/com.unity.xr.arkit@4.2.2/Editor/ARKitReferenceImageLibraryBuildProcessor.cs(162,30): error CS1061: 'XcodeAssetCatalog' does not contain a definition for 'WriteAndAddToPBXProject' and no accessible extension method 'WriteAndAddToPBXProject' accepting a first argument of type 'XcodeAssetCatalog' could be found (are you missing a using directive or an assembly reference?)
Library/PackageCache/com.unity.xr.arkit@4.2.2/Editor/ARKitReferenceImageLibraryBuildProcessor.cs(165,17): error CS0103: The name 'File' does not exist in the current context
Assets/Packages/Unity.XR.Mock/Editor/PlaneAttacher.cs(45,17): warning CS0618: 'ARAnchorManager.RemoveAnchor(ARAnchor)' is obsolete: 'Call Destroy() on the ARAnchor component to remove it. (2020-10-06)'
Assets/Packages/Unity.XR.Mock/Editor/SimulateAnchors.cs(34,30): warning CS0618: 'ARAnchorManager.AddAnchor(Pose)' is obsolete: 'Add an anchor using AddComponent<ARAnchor>(). (2020-10-06)'
Assets/Tests/Scripts/ModelTest.cs(322,28): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
AssetDatabase: script compilation time: 61.686197s
Scripts have compiler errors.

Same error with 2021.3.2f1 and ARFoundation 4.2.3

Same error with 2021.3.4f1 and with ARFoundation 5.0.0-pre.12 or ARFoundation 4.23
Has anyone managed to build Unity 2021.3.X and ARFoundation with Game-ci ?

Same error with 2021.3.4f1 and with ARFoundation 5.0.0-pre.12 or ARFoundation 4.23
Has anyone managed to build Unity 2021.3.X and ARFoundation with Game-ci ?

I had to use an older 4.1.7 ARFoundation. It buids successfuly with 2021.3.5f1

It work now with 2021.3.10f1 and with ARFoundation 5.X


Upgrade to typeguard 3

Description

Upgrades typeguard from 2 to 3
Uses typeguard's pytest plugin to run typeguard on all tests (no need for install_import_hook stuff)
Fixes various unit test failures

Some typeguard notes:

if you reassign an input variable to a different type, you need to add an annotation. otherwise, typeguard complains

def foo(x: int):
  x = str(x)      # fails
  x: str = str(x) # passes

typeguard 3 doesn't work with property tags so you need to add @typeguard_ignore annotation. this might get fixed in typeguard 4

from typeguard import typeguard_ignore
class Foo:
  @property
  @typeguard_ignore
  def foo(self):
    pass

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Screenshots
N/A
Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

@rusheb @jbloomAus I decided to split this out into its own PR to make it more focused/reviewable

thanks, I want to look over this properly since so many files are affected, will do when I can.

Thanks @dkamm !


Search Engine Optimization

I noticed that neither opentelemetry.io nor the Medium blog rank in the first two pages of Google or Bing search results for 'opentelemetry'. We should find a way to improve our rankings for both.

I think our best bet there is gonna be getting more content up on the site, and having it linked to from other places, right?

I think so as well, I’m just wondering if there’s any actions that we could take like meta tags or more links back to the site from GitHub (we already do this).

From: Austin Parker<EMAIL_ADDRESS>Sent: Monday, November 9, 2020 2:01:31 PM
To: open-telemetry/opentelemetry.io<EMAIL_ADDRESS>Cc: Morgan McLean<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [open-telemetry/opentelemetry.io] Search Engine Optimization (#312)
I think our best bet there is gonna be getting more content up on the site, and having it linked to from other places, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry.io%2Fissues%2F312%23issuecomment-724303937&data=04|01||f1d9dc5dfdb74abaa15008d884fb0559|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637405560939894238|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=NaiXNebTLcIJYJYtt3%2F9XCokT258nvf%2FNOJzQoINep8%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAIXLK6GH2IP242CRH66EVTSPBRDXANCNFSM4TP4HUJQ&data=04|01||f1d9dc5dfdb74abaa15008d884fb0559|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637405560939904232|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=0ktjIao2P9Jl5BgWEOtpRfyi2MNO5etYXB2rBmak3Bo%3D&reserved=0.

Oh, it seems like one problem might be that I've got something configured incorrectly and a lot of pages are set to NOINDEX, NOFOLLOW in the robots meta. Lemme tweak that.

Ok #316 flipped the robots flag, so we should at least be getting indexed now.

it's been about a week and it looks like that helped a boatload - 'opentelemetry' now ranks #1 on bing/google (private window), and 'opentelemetry blog' is also #1 for our medium page.

It's been a few more weeks, I think this is sorted out. We're getting the top spot on google/bing/whatever now.


AC bot test

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[x] Other... Please describe: a dummy issue to test the AC bot following https://github.com/all-contributors/all-contributors/issues/381#issuecomment-634747392

Current behaviour

The bot doesn't sort contributors alphabetically (most likely due to the lack of bot-specific implementation for this feature)
Expected behaviour

The bot should sort contributors alphabetically.
Minimal reproduction of the problem with instructions
For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem via
https://stackblitz.com or similar.
What is the motivation/use case for changing the behaviour?

Environment

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

@all-contributors Please add @Berkmann18 for test


Request pipe fix, was never sent after refactoring

moved r.pipe(res) out of r.pipefilter function

Awesome, thank you! :D


where is the env.yaml?

Hi~,
thanks for sharing your great work. I would like to train it, but where is the env.ymal and configs folder ?
thanks in advance~

Hello, thanks for your interest. Sorry for my late reply.
I've uploaded the configs and environment descriptions.
Could you check Readme?
All the best, Sihyeon.


Fixes sbt/sbt-launcher-package#81 by respecting SBT_OPTS memory settings.

When SBT_OPTS includes Java memory options, prefer those settings over default values embedded in this script.

Closing this since #101 has merged.


Inference over one encrypted image

Dear Authors,
I read your paper and found it really interesting.
I am trying to perform inference over just one encrypted image. Is it possible ?
If this manner is possible would it reduce the consomption of the memory ?
Thank you

Hello HamidFsian,
You can infer one encrypted image on the Delphi framework. You can try
using this repo: https://github.com/mc2-project/delphi.
Note that the activation function itself is fixed and merely a 2-degree
polynomial when training is done.
Thanks,
From Jaiyoung Park
2022년 6월 28일 (화) 오후 4:43, HamidFsian @.***>님이 작성:

Dear Authors,
I read your paper and found it really interesting.
I am trying to perform inference over just one encrypted image. Is it
possible ?
Thank you
—
Reply to this email directly, view it on GitHub
https://github.com/yamanalab/PP-CNN/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBWEG7ZEQXIGWA7Z3VNLWLVRKUIHANCNFSM52BEXM4Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


BUG - Raven does not show up consistently

Raven does not show up all the time on the browser window.
Steps To Reproduce

Login to the https mattermost link on web browser (doesn't matter which one)
Raven does not show up
In the browser window, change to http://
See that the browser fails to go to the site
In the same window, go back to the https link
See Raven

Environment

Mattermost version: 5.27.0
OS: Independent. Happens on windows and Ubuntu
Platform: browser, desktop app, mobile browser (in desktop mode)
Browser (if applicable): both firefox, chrome
Platform Version: Irrelevant

@AadityaPatanjali The Raven icon shows up only in channels where a standup is configured. To check this we make an API call when you switch the channel. It may happen that this API call takes some time while Mattermost itself is loading the channel messages and other data. Did you try waiting for a few seconds after loading Mattermost to get the Raven icons up?

@harshilsharma63 Raven is configured in the channel I am viewing. This bug is reproducible on my account across multiple devices, consistently. I have tried waiting. It doesn't help.

@AadityaPatanjali try the following steps, please -

Verify that your SiteURL is set correctly in Mattermost configuration.
Open a new tab, open browser console, open Mattermost in this tab. You should see some errors regarding websocket connection failing. Can you share these errors?

@AadityaPatanjali try the following steps, please -
1. Verify that your `SiteURL` is set correctly in Mattermost configuration.

2. Open a new tab, open browser console, open Mattermost in this tab. You should see some errors regarding websocket connection failing. Can you share these errors?

I will get back to you regarding the SiteURL.
Is this is the error you're looking for? There are a few more -
Uncaught (in promise) TypeError: pluginConfig is null
_callee$ index.jsx:18
c runtime.js:45
_invoke runtime.js:274
t runtime.js:97
step standup-raven_7f8cf1253f8dfbb2_bundle.js:52805
step standup-raven_7f8cf1253f8dfbb2_bundle.js:52805
This error goes away when the http site was queried (redirected to the https site)

@AadityaPatanjali try the following steps, please -
1. Verify that your `SiteURL` is set correctly in Mattermost configuration.

2. Open a new tab, open browser console, open Mattermost in this tab. You should see some errors regarding websocket connection failing. Can you share these errors?

I will get back to you regarding the SiteURL.
Is this is the error you're looking for? There are a few more -
Uncaught (in promise) TypeError: pluginConfig is null
_callee$ index.jsx:18
c runtime.js:45
_invoke runtime.js:274
t runtime.js:97
step standup-raven_7f8cf1253f8dfbb2_bundle.js:52805
step standup-raven_7f8cf1253f8dfbb2_bundle.js:52805
This error goes away when the http site was queried (redirected to the https site)

The SiteURL is correctly configured to the https version of the site.

We are on 3.1.1 we also noticed (inconsistently) for some users the slash commands fail and/or the raven icon does not appear. I would need to disable and reenable plugin for the those users to use the slash command,
Thanks

@AadityaPatanjali if you check the network tab in your browser console, you'll see an XHR request being made to /plugins/standup-raven/plugin-config. Can you verify this request goes through correctly? If so, what response do you receive?
If it still doesn't resolve, let's hop on a quick call and I'll be happy to see what's the issue. Feel free to email me at hello at standupraven dotcom anytime.

@eyebank that shouldn't happen if there isn't any WebSocket connection issue. I'd be more than happy to debug this with you. Feel free to email me at hello at standupraven dotcom anytime and we'll hop on a quick call and see what's the issue.

@AadityaPatanjali if you check the network tab in your browser console, you'll see an XHR request being made to /plugins/standup-raven/plugin-config. Can you verify this request goes through correctly? If so, what response do you receive?
If it still doesn't resolve, let's hop on a quick call and I'll be happy to see what's the issue. Feel free to email me at hello at standupraven dotcom anytime.

Ah. It looks like the response of plugin-config was - "To use Mattermost, please enable JavaScript"
Here's the full response, in case you need it -
<!doctype html><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><meta name="robots" content="noindex, nofollow"><meta name="referrer" content="no-referrer"><title>Mattermost</title><meta name="mobile-web-app-capable" content="yes"><meta name="application-name" content="Mattermost"><meta name="format-detection" content="telephone=no"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-16x16.png" sizes="16x16"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-24x24.png" sizes="24x24"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-64x64.png" sizes="64x64"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-96x96.png" sizes="96x96"><link rel="stylesheet" class="code_theme"><meta http-equiv="Content-Security-Policy" content="script-src 'self' cdn.rudderlabs.com/"><link href="/static/main.44d186c118614e84c0e6.css" rel="stylesheet"><meta name="apple-mobile-web-app-title" content="Mattermost" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-icon" sizes="76x76" href="/static/icon_76x76.png" /><link rel="apple-touch-icon" sizes="72x72" href="/static/icon_72x72.png" /><link rel="apple-touch-icon" sizes="60x60" href="/static/icon_60x60.png" /><link rel="apple-touch-icon" sizes="57x57" href="/static/icon_57x57.png" /><link rel="apple-touch-icon" sizes="152x152" href="/static/icon_152x152.png" /><link rel="apple-touch-icon" sizes="144x144" href="/static/icon_144x144.png" /><link rel="apple-touch-icon" sizes="120x120" href="/static/icon_120x120.png" /><link rel="manifest" href="/static/manifest.json" />

Cannot connect to Mattermost

We're having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.

To use Mattermost, please enable JavaScript.

However, when I queried the http link, and went back to the https link, I got the correct response
{"timeZone":"America/New_York","permissionSchemaEnabled":false,"enableErrorReporting":false,"plugin_version":"3.1.1","botUserId":"","location":null,"sentryServerDSN":"","sentryWebappDSN":""}

@AadityaPatanjali if you check the network tab in your browser console, you'll see an XHR request being made to /plugins/standup-raven/plugin-config. Can you verify this request goes through correctly? If so, what response do you receive?
If it still doesn't resolve, let's hop on a quick call and I'll be happy to see what's the issue. Feel free to email me at hello at standupraven dotcom anytime.

Ah. It looks like the response of plugin-config was - "To use Mattermost, please enable JavaScript"
Here's the full response, in case you need it -
<!doctype html><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><meta name="robots" content="noindex, nofollow"><meta name="referrer" content="no-referrer"><title>Mattermost</title><meta name="mobile-web-app-capable" content="yes"><meta name="application-name" content="Mattermost"><meta name="format-detection" content="telephone=no"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-16x16.png" sizes="16x16"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-24x24.png" sizes="24x24"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-64x64.png" sizes="64x64"><link rel="icon" type="image/png" href="/static/images/favicon/favicon-default-96x96.png" sizes="96x96"><link rel="stylesheet" class="code_theme"><meta http-equiv="Content-Security-Policy" content="script-src 'self' cdn.rudderlabs.com/"><link href="/static/main.44d186c118614e84c0e6.css" rel="stylesheet"><meta name="apple-mobile-web-app-title" content="Mattermost" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-icon" sizes="76x76" href="/static/icon_76x76.png" /><link rel="apple-touch-icon" sizes="72x72" href="/static/icon_72x72.png" /><link rel="apple-touch-icon" sizes="60x60" href="/static/icon_60x60.png" /><link rel="apple-touch-icon" sizes="57x57" href="/static/icon_57x57.png" /><link rel="apple-touch-icon" sizes="152x152" href="/static/icon_152x152.png" /><link rel="apple-touch-icon" sizes="144x144" href="/static/icon_144x144.png" /><link rel="apple-touch-icon" sizes="120x120" href="/static/icon_120x120.png" /><link rel="manifest" href="/static/manifest.json" />

Cannot connect to Mattermost

We're having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.

To use Mattermost, please enable JavaScript.

However, when I queried the http link, and went back to the https link, I got the correct response
{"timeZone":"America/New_York","permissionSchemaEnabled":false,"enableErrorReporting":false,"plugin_version":"3.1.1","botUserId":"","location":null,"sentryServerDSN":"","sentryWebappDSN":""}

Another related error in the console -
index.js:114 Loading plugin standup-raven, version 3.1.1
index.js:114 Loading plugin com.github.matterpoll.matterpoll, version 1.4.0
index.js:114 Loading plugin com.github.manland.mattermost-plugin-gitlab, version 1.2.0
index.js:114 Loading plugin com.mattermost.confluence, version 1.2.0
index.js:114 Loading plugin jira, version 3.0.0
index.js:100 Loaded plugin com.github.manland.mattermost-plugin-gitlab, version 1.2.0
index.js:100 Loaded plugin com.github.matterpoll.matterpoll, version 1.4.0
index.js:100 Loaded plugin com.mattermost.confluence, version 1.2.0
index.js:11281 this.clientIntegrations:  []
com.github.manland.mattermost-plugin-gitlab_efc60ed7fc3cdf8f_bundle.js:1 GET https://mattermost.dekaresearch.com/plugins/com.github.manland.mattermost-plugin-gitlab/api/v1/connected?reminder=true 401 (Unauthorized)
(anonymous) @ com.github.manland.mattermost-plugin-gitlab_efc60ed7fc3cdf8f_bundle.js:1
(anonymous) @ com.github.manland.mattermost-plugin-gitlab_efc60ed7fc3cdf8f_bundle.js:1
(anonymous) @ com.github.manland.mattermost-plugin-gitlab_efc60ed7fc3cdf8f_bundle.js:1
initialize @ com.github.manland.mattermost-plugin-gitlab_efc60ed7fc3cdf8f_bundle.js:16
(anonymous) @ index.js:135
i.onload @ index.js:99
load (async)
(anonymous) @ index.js:120
P @ index.js:85
(anonymous) @ index.js:52
O @ index.js:51
async function (async)
O @ index.js:41
(anonymous) @ root.jsx:212
(anonymous) @ root.jsx:257
Promise.then (async)
componentDidMount @ root.jsx:253
oi @ react-dom.production.min.js:212
fu @ react-dom.production.min.js:255
t.unstable_runWithPriority @ scheduler.production.min.js:19
Ba @ react-dom.production.min.js:122
du @ react-dom.production.min.js:248
Zi @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:19
Ba @ react-dom.production.min.js:122
Wa @ react-dom.production.min.js:123
j @ scheduler.production.min.js:17
k.port1.onmessage @ scheduler.production.min.js:14
index.js:100 Loaded plugin jira, version 3.0.0
react-dom.development.js:24994 Download the React DevTools for a better development experience: https://fb.me/react-devtools
index.js:100 Loaded plugin standup-raven, version 3.1.1
index.jsx:18 Uncaught (in promise) TypeError: Cannot read property 'enableErrorReporting' of null
    at StandupRavenPlugin._callee$ (index.jsx:18)
    at u (runtime.js:63)
    at Generator._invoke (runtime.js:293)
    at Generator.next (runtime.js:118)
    at step (standup-raven_7f8cf1253f8dfbb2_bundle.js:52805)
    at standup-raven_7f8cf1253f8dfbb2_bundle.js:52805

Chiming in to note: I have a similar issue, where Mattermost claims a 404 when querying the config, but a direct query works just fine.
There are also a lot of JS errors from other plugins - so this may be an instance-level issue caused by other plugins or overall performance headroom.
For now, I'm mostly writing to subscribe to the thread.


Not enough space on Lambda @ Edge

https://github.com/lovell/sharp/issues/1851
Potentially related to the closed issue above.
When using Lambda@Edge and resizing larger files (Works fine with normal sized images, we do not have a threshold in placed yet) we get an error that the function has ran out of space in '/tmp'.
The above suggestion is to update the follow env variable:
VIPS_DISC_THRESHOLD=600m
But as we are on Edge, there is no support for this variable.
The system we have re-sizes millions of images, so the CloudFront Cache is super important. Are there any other ways to set the VIPS_DISC_THRESHOLD?

And we managed to resolve this by moving to sequentialRead
Hope this helps someone out!

process.env.VIPS_DISC_THRESHOLD = '1024m'

Working for me.


metrics exporter: fix formatting bug

Removes trailing pipe character, which can cause errors for downstream metrics consumers, such as the veneur metrics parser

Thanks!  If Square is using Kuberhealthy, we would love to have it added to the adopters list!

@integrii That's a good question. The work @bengadbois has been accomplishing with this tool seems to be providing a lot of potential value that we're experimenting with now! When we are in production and happy with operations there, we'll endeavor to get review from internal teams for approval on a public endorsements in the adopters list you linked.

I really appreciate that!


Multiblock input hatches don't update status on first iteration

If you place a valid recipe requirement into an input hatch (say wood into a cutting table), for a machine which is in ON state, the multiblock consumes an item for the recipe but the gui for the hatch doesn't always reflect this until the first iteration is complete (or you close/reopen the hatch)
(After this point, the gui updates on each completed recipe properly)

What version of minecraft?

Apologies: 1.10.2.
I'll add mod-version/mc-version to my other tickets as well.
In fact, I just realized I'm several versions behind (1.1.17).  I'm going to quickly update and see if I can close some of these.

I've updated to latest mod version, so we're looking at 1.10.2-1.2.0c
I can confirm that this issue still persists, although its not 100% reliably reproducible.
In the attached image, I've put a single silicon wafer into the hatch.  There was already 31 gold and redstone.  The recipe has begun processing, but the items in the hatch have not visually decremented to 0/30/30.

Appears to only show up on servers, likely something to do with marking the block dirty and sending changes.

Not on a server.  Since its not 100% reproducible I think you're seeing a false positive as it were.

I've not seen it occur in single player over dozens of tests, but either way, if it gets fixed in multiplayer it'll fix it in single player too if it does show up.

Got it, thanks kindly.


blender version

Wonderful work!   Can you tell me?

I have solved it! I try blender3.3 and the rendering script works well.


Not working as per Content limits section

Hi Team,
The content limit section on this page says that ,it support translation of document having size <= 40 MB.
I am trying to translate a pdf which is 10MB. The translation process runs around 30 minutes and in the last it gives me internal server error. It does not give me clear explanation about the error why document translation is failing.
Today ,I splitted the same pdf to two pdfs each having size less than 5 MB and then performed the translation. It translated successfully both the pdfs. I don't understand why it is not translating the pdf having size of 10 MB.
If you could check on this, it would be great.

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

ID: 40721433-051a-8903-34b0-c8935d6f2af9
Version Independent ID: 1c775439-089b-57e3-d961-e70df777ea01
Content: Get started with Document Translation - Azure Cognitive Services
Content Source: articles/cognitive-services/Translator/document-translation/get-started-with-document-translation.md
Service: cognitive-services
Sub-service: translator-text
GitHub Login: @laujan
Microsoft Alias: lajanuar

@prteotia we'll review your feedback and get back to you shortly. Thanks.

@prteotia It would be great if you could pass on the original document to our team through a support case to ensure your data privacy. Usually some hidden formatting issues cause the documents to fail and the error in processing would help you find out the issue. Since the error did not help in your case we would recommend to use the support case to pass the document and our team would recommend steps that can be taken to avoid such issues in your future documents.
We will now proceed to close this thread as this seems to be a localized issue with data rather than a limitation on the documented size of the doc. Thanks!!


what's the best way to programatically remove a player from any blimp they may be riding?

on the your-land server, a player managed to somehow get stuck in a blimp. re-logging didn't help. that's a separate issue, though, and i don't know how to replicate it. however, on that server, "teleport" commands like /home and /spawn are expected to worth whether or not a player is attached to another entity. for most entities, it detaches the player before setting their position; for a handful of others, like petz ponies, it teleports the mount along with the player.
the blimp breaks this integration mechanic, by assuming that any player that didn't detach via the normal means should still be attached to the airship.
there is a utility function, steampunk_blimp.dettach_pax(self, player, side), which is used by this mod internally to detach a player from an airship, but it's got burdensome qualifications for invoking it. you've got to pass in the luaentity for the airship as an argument, and there's no way to query which airship, if any, the play is riding. it's possible to iterate over all the entities on the server and check whether they are airships and what is attached to them, but that's something we try to avoid, because there's often 10k or more entities.
the other problem with the function is that it uses minetest.after call to move the player outside the bounds of the blimp after detaching them. this, at the very least, creates a race condition as to whether your-land's teleportation logic will actually move the player to "spawn" or "home". possibly they'll teleport to their intended location, only to be teleported back to the side of the airship, and then they will fall to their death.
i don't have a full proposal of how to best implement something that'd accommodate our requirements. it'd be nice to be have an API that could (1) tell you whether a player was riding an airship (2) tell you which airship the player was riding (3) detach the player from the airship and not invoke any logic to handle what happens to the player after they detach. it should be possible to keep track of which players are supposed to be attached to which airships, separate from entity data that's only available when the airship is loaded. i acknowledge that's a realm of trickiness and race conditions, but i'm hoping you've got more insight into the problem than i do. we might need to dig deep into advanced_trains to see how they solve similar issues.

no simple solution, need to think something

/blimp_eject

oh, duh, i don't have to iterate all the objects, the player is attached to it... it's still a bit of a problem that it does the set_pos call in an after callback, but for now i can at least copy the internal logic and drop the parts i don't want.

Maybe steampunk_blimp.dettach_pax(self, player, side) function should take value side == "none" and skip the after() call it in this case?

It's a good idea. I used "C" into the another airship, I should unify the codes...


Add dark mode

https://dev.to/akhilarjun/one-line-dark-mode-using-css-24li

@hossainemruz FWIW this is what it does to my site
Before

After

I think largely it does the job well but there are a few sets of text that need some attention in order for their contrast ratio to be high enough. i assume if we figure those out we could easily turn this on with a feature flag in the config.yml to make this passive?

Hey @hossainemruz can you please tell me for darkmode in which CSS file should be the following code added,
html[theme='dark-mode'] {
    filter: invert(1) hue-rotate(180deg);
}

I am not sure yet @yeganathan. Probably, @alex-bezek can help.

Thanks for the reply! @hossainemruz
Let me check with @alex-bezek

@yeganathan18 if you add a css file to this location, it will get picked up and included in the build
https://github.com/alex-bezek/blog/blob/master/static/assets/css/style.css

@alex-bezek Thanks for the help :)

I'm experimenting with using DarkReader to enable dark mode in toha. My branch is here.
So far, the result is pretty decent. Not sure if that's biased because I'm using the DarkReader browser plugin. I think a native CSS for dark mode is faster but still, this gets the job done with minimal effort.

Website URL: https://donfiguerres.github.io/

Hi everyone! I've made a pull request to support dark theme via darkreader.
I'm planning to add it to the toha documentation if the pull request gets approved.


MINOR: SRE-4516: added support for CMEK in dataproc gcs bucket

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


precision and recall values kept unchanged for some training steps.

System information

Have I written custom code: No, i just use a canned estimator DNNClassifier.
OS Platform and Distribution: macOS High Sierra
TensorFlow installed from: pip
TensorFlow version: 1.8.0
Bazel version: N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A

Describe the problem
I'm using google ml-engine to train a model for ctr-prediction(the training dataset is Imbalanced).
Following is the training log screenshot from ml-engine.

The problem is: the precision and recall values kept unchanged for some training steps as i annotated in the picture(auctually these two values kept unchanged for 2 epochs in this picture). I'm pretty sure this is a bug, but i don't know where is wrong.
Does any one can check the calculation of these two metrics(precision, recall) for me?

Nagging Assignee @rohan100jain: It has been 16 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 48 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 63 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 78 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Can you please provide details as to what commands you ran so that we can reproduce and check?

gcloud ml-engine local train
--package-path trainer
--module-name trainer.task
--job-dir ${job_dir}
--distributed
--
--train_files ${train_files}
--eval_files ${eval_files}
--hidden_units ${hidden_units}
--cats_path ${cats_path}
--job_dir ${job_dir}
--train_batch_size ${train_batch_size}
--eval_batch_size ${eval_batch_size}
--train_set_size ${train_set_size}
--num_epochs ${num_epochs} `

Nagging Assignee @rohan100jain: It has been 18 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 35 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 50 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 65 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 80 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 95 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @rohan100jain: It has been 110 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


Mod broken in 1.02-b.2?

I upgraded to 1.02-b.2 this morning and the Sidebar Expand on Hover seems to expand behind the open browser window. If you click on an icon in the sidebar, the mod will expand the sidebar temporarily if a tab has to be reloaded because it unloaded.
Great mod, keep up the great work!

yeah I just created an issue for that (#16)

Missed it by minutes. Thank you!


Make e2e tests to reuse pushed storage images

Closes https://github.com/neondatabase/cloud/issues/2482
Corresponding cloud repo PR: https://github.com/neondatabase/cloud/pull/2744

This was superseded by https://github.com/neondatabase/neon/pull/2783


I can't get data from assets in new version

With the new version (3.0.0) I can't get NSData from assets... If I do this:
assets.first!.fetchImageWithSize(sender.view!.bounds.size, completeBlock: {
          (image: UIImage?) -> Void in

           if let imageToSave = image {
                   let data: NSData = UIImageJPEGRepresentation(imageToSave, 0.7) //data always nil
                    self.saveImage(data!)
        }
}

data is always nil an image never is nil... What is the problem?

Could you try the fixed syntax:
let data: NSData? = UIImageJPEGRepresentation(imageToSave, 0.7)
In addition, if the imageToSave cannot obtain the jpeg image data, it will return nil. In this case, try to replace UIImageJPEGRepresentation with UIImagePNGRepresentation.

I have another question, how could I get the NSURL of the photo choosed?

Hi @Boli-CS
Why do you want to do this?

Why the fetchImageWithSize method return other size??

and how can I get NSData from AVURLAsset?

Hi @Casporro
You can get NSData from AVURLAsset like this:
assets.first?.fetchAVAssetWithCompleteBlock({ (avAsset) -> Void in
	let data = NSData(contentsOfURL: avAsset!.URL)
	print(data)
})

For the Why the fetchImageWithSize method return other size??
It's my fault! Fixed in https://github.com/zhangao0086/DKImagePickerController/commit/78d4e8cbb9183101c61d1a4041e98d529290cfcf :)

Thank you @zhangao0086, nice library and nice work.
I will use exporter to export video to something compatible with iOS and Android.

Can you tell me how can I get a thumbnail from avAsset?

@Casporro
Try using AVAssetImageGenerator.
See also:http://stackoverflow.com/questions/8906004/thumbnail-image-of-video

hi zhangao0086,
Nice work..Thanks for sharing.
i want to ask some questions
How can i get images from assets ?
Can you write a little sample code ?

Hi @melihkeskin
Try this:
assets.first?.fetchFullScreenImageWithCompleteBlock({ image in
	print(image)
})

Hello again :),
thank you for your reply
is it only first image isnt it?
what can i do multiple picking ?

@melihkeskin
You can do this:
var images: [UIImage] = []
for asset in assets {
	asset.fetchFullScreenImageWithCompleteBlock({ image in
		images.append(image!)

		if images.count == assets.count {
			print("done")
		}
	})
}

Why do you want to get didFinishPickingMediaWithInfo? It's a delegate method of  UIImagePickerController, so it's never called in this library.

Thank for help. I want to get metadata of the images.
I find many sample on the internet but generally they used in the didfinishpickingmediawithinfo. İf you can know other way please tell

@melihkeskin
If you need to get the metadata of a DKAsset, just access the originalAsset like so:
if let originalAsset = asset.originalAsset {
	originalAsset.mediaType
	originalAsset.mediaSubtypes
	originalAsset.creationDate
	originalAsset.modificationDate
	// ...
}

See also: Reading Asset Metadata

Hello zhangao0086,
i appreciate you. You are really good my friend.
Thanks for everything.
Nice work.

@melihkeskin
I’m glad that helped you :)

hi zhangao0086,
im following ur answer to melihkeskin and it not works (pic below), why i got this error?

Hi @aldolazuardi
In 3.0.4, I've updated the fetchImage... interface:
the completeBlock: (image: UIImage?) -> Void was changed to completeBlock: (image: UIImage?, info: [NSObject : AnyObject]?) -> Void so you need to change:
asset.fetchImageWithSize(size, completeBlock: { image in
    // ...
})

to:
asset.fetchImageWithSize(size, completeBlock: { image, info in
    // ...
})


UA.2.3 Score:  As a logged-in user, I want to be able to see other player’s scores in the scoreboard, to be able to compare my performance to others.

Acceptance Criteria

[ ] In the scoreboard the winning rate and the respective username of other players will be displayed.
[ ] After each game the winning rates are updated.
[ ] The scoreboard will be ranked by winning rate.

Task List

[ ] sopra-fs22-group-11/SoPra22-group11-TheGame-Client#28
[ ] sopra-fs22-group-11/SoPra22-group11-TheGame-Server#28
[ ] sopra-fs22-group-11/SoPra22-group11-TheGame-Server#29
[ ] sopra-fs22-group-11/SoPra22-group11-TheGame-Server#30
[ ] sopra-fs22-group-11/SoPra22-group11-TheGame-Client#29
[x] #126

bdc0edfbd16cdae2652713bf634061c0733b156e


SyntaxError: Cannot use import statement outside a module

npm run dev -- --host - works well
but I have error on static site generator:
npm run build
(node:47132) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/bit/containers/bfarm.info/bfarm-client/node_modules/easy-reactive/main.js:1
import { simplyReactive } from './src/simply-reactive'
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:74:18)
    at wrapSafe (node:internal/modules/cjs/loader:1141:20)
    at Module._compile (node:internal/modules/cjs/loader:1182:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Node.js v18.13.0
[vite-plugin-sveltekit-compile] Failed with code 1
error during build:
Error: Failed with code 1
    at ChildProcess.<anonymous> (file:///Users/bit/containers/bfarm.info/bfarm-client/node_modules/@sveltejs/kit/src/utils/fork.js:68:13)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)

This issue also appears when statically building apps that have this package in their dependency tree.  In my case, it's a SvelteKit app using Svelte-Carousel.

Same here

Same here

The error still persists. This is on svelte-carousel version 1.0.24.
:39:00 am [vite] Error when evaluating SSR module /node_modules/svelte-carousel/src/components/Carousel/createCarousel.js: failed to import "easy-reactive"

2:39:00 am [vite] Error when evaluating SSR module /node_modules/svelte-carousel/src/components/Carousel/Carousel.svelte:

2:39:00 am [vite] Error when evaluating SSR module /node_modules/svelte-carousel/src/main.js:

2:39:00 am [vite] Error when evaluating SSR module /src/components/Desktop/index.svelte:

2:39:00 am [vite] Error when evaluating SSR module /src/components/index.svelte:

2:39:00 am [vite] Error when evaluating SSR module /src/routes/+page.svelte:

Internal server error: Cannot find module '/home/yash/Projects/winbee-website/node_modules/easy-reactive/src/simply-reactive' imported from /home/yash/Projects/winbee-website/node_modules/easy-reactive/main.js
      at new NodeError (node:internal/errors:399:5)
      at finalizeResolution (node:internal/modules/esm/resolve:231:11)
      at moduleResolve (node:internal/modules/esm/resolve:850:10)
      at defaultResolve (node:internal/modules/esm/resolve:1058:11)
      at nextResolve (node:internal/modules/esm/loader:163:28)
      at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
      at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
      at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
      at link (node:internal/modules/esm/module_job:75:36)
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/yash/Projects/winbee-website/node_modules/easy-reactive/src/simply-reactive' imported from /home/yash/Projects/winbee-website/node_modules/easy-reactive/main.js
    at new NodeError (node:internal/errors:399:5)
    at finalizeResolution (node:internal/modules/esm/resolve:231:11)
    at moduleResolve (node:internal/modules/esm/resolve:850:10)
    at defaultResolve (node:internal/modules/esm/resolve:1058:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36)
Internal server error: Cannot find module '/home/yash/Projects/winbee-website/node_modules/easy-reactive/src/simply-reactive' imported from /home/yash/Projects/winbee-website/node_modules/easy-reactive/main.js
      at new NodeError (node:internal/errors:399:5)
      at finalizeResolution (node:internal/modules/esm/resolve:231:11)
      at moduleResolve (node:internal/modules/esm/resolve:850:10)
      at defaultResolve (node:internal/modules/esm/resolve:1058:11)
      at nextResolve (node:internal/modules/esm/loader:163:28)
      at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
      at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
      at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
      at link (node:internal/modules/esm/module_job:75:36) (x2)
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/yash/Projects/winbee-website/node_modules/easy-reactive/src/simply-reactive' imported from /home/yash/Projects/winbee-website/node_modules/easy-reactive/main.js
    at new NodeError (node:internal/errors:399:5)
    at finalizeResolution (node:internal/modules/esm/resolve:231:11)
    at moduleResolve (node:internal/modules/esm/resolve:850:10)
    at defaultResolve (node:internal/modules/esm/resolve:1058:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36)

https://github.com/vadimkorr/easy-reactive/pull/7 - This should fix the above error @yash1200


allow datetime for dateTime

Developers who haven't internalized the XML Schema datatypes are at risk for getting the camel-casing wrong.
To refine ease of use, the Node.js API could do a case-indifferent mapping to the correct camel casing.

decided not to alias datatypes


Error using Materialize css with require

I created a new project using durandal using its starter kit (http://durandaljs.com/get-started.html)
I then added materialize using bower (bower install materialze)
After adding materialize to require config of durandal
requirejs.config({
    paths: {
        'text': '../lib/require/text',
        'durandal':'../lib/durandal/js',
        'plugins' : '../lib/durandal/js/plugins',
        'transitions' : '../lib/durandal/js/transitions',
        'knockout': '../lib/knockout/knockout-3.1.0',
        'bootstrap': '../lib/bootstrap/js/bootstrap',
        'jquery': '../lib/jquery/jquery-1.9.1',
        'hammerjs': '../lib/hammer/hammer',
        'jquery.hammer': '../bower_components/materialize/js/jquery.hammer',
        'materialize': '../bower_components/materialize/dist/js/materialize'
    },
    shim: {
        'bootstrap': {
            deps: ['jquery'],
            exports: 'jquery'
        },
        'materialize': {
            deps: ['jquery', 'hammerjs']
        },
        'jquery.hammer': {
            deps: ['jquery', 'hammerjs', 'waves']
        }
    }
});

I end up in error -
Uncaught Error: Mismatched anonymous define() module: function ($, Hammer)
Actually, every time I refresh, I end up with different errors, which seems to point me to something messed up with require. My question is - if everything works rock solid before adding materialize, how does adding it make things so flaky?
Am I doing something wrong?

Is this a duplicate of https://github.com/Dogfalo/materialize/issues/3011, https://github.com/Dogfalo/materialize/issues/4012, https://github.com/Dogfalo/materialize/issues/923, https://github.com/Dogfalo/materialize/issues/1422, https://github.com/Dogfalo/materialize/issues/1773
Can you give feedback if some or all of these issues are duplicates? That would be pretty neat


Adding hostnames to Route Status

What type of PR is this?
/kind feature
What this PR does / why we need it:
In the last round of sig-network review, this specific issue/idea was raised. It reappeared over the weekend and I thought I'd try to implement it in time for this round of API review. It ended up being a larger change than I'd initially expected, so I'm not tied to getting this into v0.5.0.
Which issue(s) this PR fixes:
Fixes #848
Does this PR introduce a user-facing change?:
Experimental: RouteParentStatus for HTTP and TLS Routes now includes hostnames.

Adding a hold because this is an API change and should not merge without consensus.
/hold

/retest

/lgtm
/hold for @bowei's feedback though.

Is there a specific reason why hostnames in status should be considered differently than port regarding https://github.com/kubernetes-sigs/gateway-api/issues/1060#issuecomment-1079412191?


You are my role model.

You are my role model.

Thanks. But I need to close this because off topic. :)


Tests crashing after adding the dynamic fields functionnality

Description
The automated actions tests launched by GitHub when pushing changes wont pass. This is caused by the modifications applied by #1 11abdf86c93cb2dbe604b9a7abc660472712ce19 .
By looking at the tests logs, we can see that it is caused by the 'formBuilderService' which inject 'FormDynamicUpdateService' and 'FormDynamicUpdateRequestService'.
Solution(s)
The first, and probably worst, solution that I found is to add those two dependencies in the injectors of each test suite. This is basically unreliable since there are a lot of test suites using the 'formBuilderService' an then a hell lot of file to change.
The second solution would be to add the 2 dependencies in a global configuration that injects it for every test. This solution is, once again, not the best because it will inject those dependencies for tests that does not require them.
The third and last solution I see is to change the way we use 'FormDynamicUpdateService' and 'FormDynamicUpdateRequestService'. Instead of injecting them in the 'FormBuilderService', maybe we can work around that and directly use them in the component, for example.

Third solution implemented in e4f9f0a8ae873f325c92e66167eeb863b0f991d4, but there still is a big problem with the number of file to modify. All due to Dependency Injection chain.


Custom CKEditor plugin for browsing mediafiles

It would be nice to select additional 100% width. Without height.

@emanuelschuetze Changed from width x height to scale in percentage. Please check again.

Please fix travis and rebase.


No locale data has been provided for this object yet. in src/test.ts

Bug Report or Feature Request (mark with an x)
- [x] bug report
- [x] feature request

Versions.
@angular/cli: 1.0.0-beta.32 [1.0.0-beta.31]
node: 6.9.5
os: win32 x64
@angular/common: 2.4.8
@angular/compiler: 2.4.8
@angular/core: 2.4.8
@angular/forms: 2.4.8
@angular/http: 2.4.8
@angular/platform-browser: 2.4.8
@angular/platform-browser-dynamic: 2.4.8
@angular/router: 3.4.8
@angular/cli: 1.0.0-beta.32
@angular/compiler-cli: 2.4.8
Repro steps.
Create a component with date and format it in the template using the DatePipe
I have already tried the karma-intl-shim and import of intl directly:
http://stackoverflow.com/questions/39941508/angular2-angular-cli-phantomjs
http://stackoverflow.com/questions/40652572/ng2-date-pipe-formatting-triggers-no-locale-data-error-in-karma-test
The log given by the failure.
PhantomJS 2.1.1 (Windows 7 0.0.0) ShiftComponent should open shift after click on element FAILED
        Error: Error in ./ShiftComponent class ShiftComponent - inline template:4:72 caused by: No locale data has been provided for this object yet. in src/test.ts (line 84130)
        ResolveLocale@webpack:///~/intl/lib/core.js?8ab2:1428:0 <- src/polyfills.ts:8669:90
        InitializeDateTimeFormat@webpack:///~/intl/lib/core.js?8ab2:3181:0 <- src/polyfills.ts:10422:26
        DateTimeFormatConstructor@webpack:///~/intl/lib/core.js?8ab2:3109:0 <- src/polyfills.ts:10350:36
        intlDateFormat@webpack:///~/@angular/common/src/pipes/intl.js:133:0 <- src/test.ts:50794:35
        webpack:///~/@angular/common/src/pipes/intl.js:195:36 <- src/test.ts:50856:59
        dateFormatter@webpack:///~/@angular/common/src/pipes/intl.js:207:0 <- src/test.ts:50868:18
        format@webpack:///~/@angular/common/src/pipes/intl.js:249:0 <- src/test.ts:50910:29
        transform@webpack:///~/@angular/common/src/pipes/date_pipe.js:133:0 <- src/test.ts:74232:83
        [native code]
        webpack:///~/@angular/core/src/linker/view_utils.js:212:0 <- src/test.ts:30385:24
        detectChangesInternal
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:425:0 <- src/test.ts:83905:35
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:620:0 <- src/test.ts:84100:48
        detectChangesInNestedViews@webpack:///~/@angular/core/src/linker/view_container.js:67:0 <- src/test.ts:84237:50
        detectChangesInternal
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:425:0 <- src/test.ts:83905:35
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:620:0 <- src/test.ts:84100:48
        detectChangesInNestedViews@webpack:///~/@angular/core/src/linker/view_container.js:67:0 <- src/test.ts:84237:50
        detectChangesInternal
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:425:0 <- src/test.ts:83905:35
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:620:0 <- src/test.ts:84100:48
        internalDetectChanges@webpack:///~/@angular/core/src/linker/view.js:410:0 <- src/test.ts:83890:31
        detectChangesInternal
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:425:0 <- src/test.ts:83905:35
        detectChanges@webpack:///~/@angular/core/src/linker/view.js:620:0 <- src/test.ts:84100:48

Mention any other details that might be useful.
It would be great to have an example for the angular/cli how to use intl together with PhantomJS browser correctly.
Question on StackOverflow.

The fix could be very easy, just add another import to the test.ts:
import 'intl/locale-data/jsonp/en.js';

But I don't understand who is loading the intl? Is the polyfill.ts always loaded even for tests?

I am not sure why, but for ubuntu its a different path, Notice Capital "I"
               pattern: './node_modules/Intl/locale-data/jsonp/en-US.js',

I encounter the same issue.
Tweaking the karma.conf.js:
frameworks: ['jasmine', '@angular/cli', 'intl-shim'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-phantomjs-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-mocha-reporter'),
      require('karma-coverage-istanbul-reporter'),
      require('@angular/cli/plugins/karma'),
      require('karma-intl-shim')
    ],
    files: [
      { pattern: './NgAppSrc/test.ts', watched: false },
      { pattern: './node_modules/intl/locale-data/jsonp/en-US.js', watched: false }
    ],

and test.js:
import 'intl/locale-data/jsonp/en-US.js';
Doesn't change anything. All my tests fails every time a date pipe is used in my components:

Failed: No locale data has been provided for this object yet.

I'm sorry, but this issue is not caused by Angular CLI. Please contact the author(s) of the PhantomJS project or file issue on their issue tracker.

Could be possible, yes.
But can you give me details about following please?

But I don't understand who is loading the intl? Is the polyfill.ts always loaded even for tests?

(see comment above)

Some pipes require Intl support as described in https://angular.io/docs/ts/latest/guide/browser-support.html#!#optional-browser-features-to-polyfill.
Different browsers require different polyfills, and PhantomJS is acting as the browser here.

Thanks.
Is the polyfill.ts always loaded for tests?

It is, yes.

Okay thanks.
But I think it can be still reopened, because the  karma-intl-shim does not work together with angular-cli.


Fix compilation under OSX

Turns out we simply weren't linking to libmesos on OSX

Closing because I picked the wrong target branch.


ASaaS Todos

[ ] Have buttons for swap creators to deposit/withdraw tokens and deactivate swaps
[ ] Better network switching behavior handling
[ ] List of all user's swaps (at least most recent)
[ ] Error handling

Small mobile UI overflow issue:


Only run linter for pull requests targeting the master branch

It isn't helpful to re-run it in forks, particularly where it will only fail if the master branch does not exist.

With this change you could still trigger the linter to run on your fork, but only via a pull request.


Implement Cloud Firestore Client

See here and here

@chemelnucfin I created a label so we can track the firestore items more easily.  As you probably know, we have not prioritized work on this client.  But if you are able to send PRs for it we will be happy to review them.

I think the firestore clients are autogenerated, which means we'll handle it with our imminent autogenerator. There's been no movement on this particular issue, and I don't think we need to track this work separately, so closing. Feel free to re-open if you think this issue was closed in haste.


fix(config): Changing default merchant address

:tada: This PR is included in version 1.1.2 :tada:
Your semantic-release bot :package::rocket:


[BUG]: "all timepoints" vs. "last timepoint" selection is not passed correctly to PyCIEMSS

Describe the bug
Holly experienced this bug here:
https://app.staging.terarium.ai/projects/ab5351dd-72a7-44f3-9d3c-0cebb6fee13c/workflow/7cd01f35-eb2d-48d2-b85f-bdbb64eda33f?operator=cae75259-b39a-42e9-b622-6795e795f2c2
She picked all timepoints in their success criterion but the output chart for success criteria shows that obs_nday_average_qoi was selected for the optimization.
Expected behavior
all timepoints -> obs_max_qoi
last timepoint -> obs_nday_average_qoi
Screenshots
The user's success criterion:

The output chart showing 19.9854

The simulation plot showing that the global maximum is ~5,000 and the last timepoint value is ~20.0

Just to keep some notes visible
The following dropdowns are connected correctly.
all timepoints -> obs_max_qoi
last timepoint -> obs_nday_average_qoi

The risk results returned from optimize call is always providing average and Nelson is suggested that if the user selected the "last timepoint" we should not be displaying this average on the success criteria chart:

The success criteria charts are not being populated with the correct data.
When the QoI is "last timepoint", it should be as it is currently: filter for all values with timepoint = last timepoint and make a histogram from them.
t = result_postoptimize['data']['timepoint_id'].iloc[-1]
data = result_postoptimize['data'][result_preoptimize['data']['timepoint_id'] == t]['I_state']

When the QoI is "all timepoints", it should be: group by sample ID and calculate the max value (one per sample ID).
data = result_postoptimize['data'].groupby(['sample_id']).max()['I_state']

For this scenario, where I switch between "last timepoint" (orange) and "all timepoints" (green):

I should get a "success criteria" chart like this:


Update stubs.php

the official Model namespace is App.
In my Opinion it makes sense to ship standard configuration first.

Sure, this is a matter of preference, but it shouldnt introduce Bugs if someone would like to use the standard behaviour.
In this case, Factories and Controllers couldn't be created without problems by me.
The second commit foxes the issues by checking for an empty Modelnamespace.

@cschra Thank you. I agree with your opinion.
A new version of the framework is coming up in the coming days.
Within a few days the package will be updated, including fixing the namespace for the models.

Fixed in v5.0.0

Please explain what you mean.
As far as I can see, the current code of this command works correctly, both with default namespace, and with namespace "\Models".
Maybe this is only in the source code does not look like you expected, but it works correctly? ;)
Check how it actually works now.
However, it's possible that I missed something.

Tested it and worked, thanks a lot. Sorry for my premature reply 😅


[Telink] Remove sector count of NVS from metter kconfig

Remove sector count of NVS from metter kconfig

Sector count of NVS now calculates on Zephyr side as the storage partition size divided by the sector size (4 KB)

This PR should be synchronized with Zephyr PR.

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

@andy31415
Marked PR as draft, firstly I need to request new Docker Image and update Telink platform builds to avoid crash of settings functionality.


Update LOCALIZATION_CONTRIBUTORS

Changes

Implementation details

How to read this PR

Screenshots

I have joined GitLocalize with this GitHub account.


[host] Add missing  doxygen for ble_gap API

Looks like ble_gap_ext are missing doxygen

https://github.com/apache/mynewt-nimble/pull/473


loadFrameTimeout not doing what it is documented to in msal-browser?

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[X]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Important: Please fill in your exact version number above, e.g<EMAIL_ADDRESS>Framework
React
Description
Noticed this while I was reading what loadFrameTimeout does, in the documentation:
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/90e0231e749e11c200290322abdcc32b67cddfb3/lib/msal-browser/src/config/Configuration.ts#L55
But in the code https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/2c75dcfdc3af95ce942433d950ceb95de085c3da/lib/msal-browser/src/interaction_handler/SilentHandler.ts#L105, I see it is being used in a setTimeout. How I'm understanding this is that this value delays the load of the iframe. Is this expected?
Error Message
No error, just wondering if the config is doing what it says it does in the documentation
Security

[ ] Is this issue security related?

Regression

[ ] Did this behavior work before?
Version:

MSAL Configuration
// Provide configuration values here.
// For Azure B2C issues, please include your policies.

Reproduction steps
// Provide relevant code snippets here.
// For Azure B2C issues, please include your policies.

Expected behavior
Browsers/Environment

[ ] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari
[ ] IE
[ ] Other (Please add browser name here)

The value here does not delay the load of the frame, it is the maximum amount of time to wait for a frame to load. It is a timeout based on the iframe loading.

@jmckennon doesn't setTimeout only run the function once the timer expires? so in this case, it waits this.loadFrameTimeout milliseconds before running the function, and the function starts the iframe loading. Maybe I'm misunderstanding something here..

@thoo1 I think I misunderstood your original question, and upon taking a second look, you're correct that there's a disconnect here and is actually a bug. We're going to move this over to be fixed, thanks for the heads up!

@thoo1 PR has been opened to restore loadFrameTimeout to how it worked in v1 and add navigateFrameWait from v1. Feedback appreciated.


application.remove: Support batch deletions by providing multiple IDs

Resolves: #1255
Change-type: minor
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


ESET Internet Security detects Hass Workstation Service as Win32/AtlasVPN.A

Newest version of Hass Workstation Service is detected as potentially unwanted software Win32/AtlasVPN.A by ESET Internet Security antivirus software. I think it is false positive, but does anyone know why this is happening?

Hi! There is a similar issue (#52) where this is being discussed. This application does use things like the Windows registry and WMI and my guess is that this makes it somehow match signatures of known security threats. You probably shouldn't take my word for it though. You can check out the source code and build the app yourself if you want to.


Fix checking the plugin existence when zinit update and from'gh-r'

When try to update the plugins downloaded from GitHub Releases, can't update it and the message is displayed as below. This PR fixes updating the plugins when from'gh-r'.
> zinit ice lucid wait'0' from'gh-r' as'program' pick'ripgrep*/rg'
> zinit light BurntSushi/ripgrep
> zinit update BurntSushi/ripgrep
A plugin named BurntSushi/ripgrep already exists, aborting.

I'm sorry for my unskillful English.

Thanks for pointing to the issue – I've fixed it more correctly.


chore: update compose version to 1.5.0-beta01

We don't normally do this unless an Accompanist library is experiencing a bug. If you use Compose 1.5-beta01 in your project then it will automatically get upgraded transitively.
Is not targetting beta01 causing you an issue?

I'm going to close this for now as this happens as part of the release process but if not targetting beta01 causes you an issue then please file an issue.

Was this an attempt to fix #1636? Sorry i missed that first, thank you for trying to fix that. It really is appreciated.
We wouldn't be able to merge this as is because of the bump to navigation to 2.7.0 and also the version number gets changed as part of the release process not through a PR like this. Normally I would leave comments for you to fix this up so we could merge it in but seeing as that crash is affecting a lot of people I am going to do this PR myself to speed up the process.
Thanks again and sorry I couldn't merge it in this time.

Was this an attempt to fix https://github.com/google/accompanist/issues/1636?

Yup, sample app didn't reproduce error after upgrading the compose, compiler and Kotlin versions, and copying the exact library into the app as a module also didn't reproduce crash.
Also, would the navigation version be upgraded as part of the deprecation process for AnimatedNavHost? Is there a process for this, or can I create a PR after this release?

Yes, navigation will be upgraded as part of the deprecation process which is planned. We will handle that one but thank you for the offer.


View doesn't sync with value when update parent in created hook of child

Version
3.0.0-rc.10
Reproduction link
https://codesandbox.io/s/provider-value-vue3-i3qx6?file=/src/index.js
Steps to reproduce
change provider's value in injected component created hook. provider is not re-rendered.
Vue3 doesn't work as expected
https://codesandbox.io/s/provider-value-vue3-i3qx6?file=/src/index.js

Vue2 works as expected
https://codesandbox.io/s/provider-value-vue2-62t5q

What is expected?
Show changed-value\nchanged-value
What is actually happening?
Show provider-value\nchanged-value

This has already been fixed: https://github.com/vuejs/vue-next/commit/ac81dcf0cc7f5fc722a0c14d1cc92ece5cc0db07, please wait for the new release.

This has already been fixed: ac81dcf, please wait for the new release.

well done

Sorry, I provided the wrong link, it's here: https://github.com/vuejs/vue-next/commit/5f4053967cb61620d3dd27518f571166d7b5ec8f

Sorry, I provided the wrong link, it's here: 5f40539

thanks


Timesheet - 14/04/2021 - Kristy Lee

Task 1
Wrote up tickets for design, marketing, and frontend boards. Reviewed Mr. K projects updates from comments made on figma files yesterday to make sure final hand off is now officially ready. Reviewed social media metrics from bucky.
Proof of Work
https://github.com/thenewboston-developers/Website/projects/4
https://github.com/thenewboston-developers/Design/projects/6
https://github.com/thenewboston-developers/Marketing/projects/6
https://www.figma.com/file/HEQpY7l2jvazLp1kqyyUiH/Projects-Page?node-id=1%3A12616
Time Spent
1 hour

Total Time Spent
1 hour
Account Number
a2d73cf3b37a62276ade44a96860495510d0e7d7c468950d4e49ac8a62b3d31d

Ready for review @kristykjlee ?

Ready for review @kristykjlee ?

Ready for review, didn't have too much time today, so only had time to squeeze in an hour.

Approved

Approved


Re-add make install to Makefile

@dmp42 I use this target -- not sure why it was removed and it threw me for a loop.
Signed-off-by: Nathan LeClaire<EMAIL_ADDRESS>

Sorry - it got removed because it was not really working ($(PREFIX) ignored).
Let's re-add it if you depend on it.
Can you just fix it so it honors prefix:
cp $(PREFIX)/bin/* /usr/local/bin
... and maybe make sure it doesn't choke on subfolders? (eg: generated by cross-compilation)

Yeah sounds good!

Mmm... maybe rebase? some unrelated commits are there.

Oops, yep I'll fix it

LGTM!
Thanks @nathanleclaire


Fix learn-ocaml-client regression after PR #320

With @LouisAyroles and @Fixiss, we noticed that there were some (unexpected) incompatibility between learn-ocaml-client (say, from master) and the latest release of learn-ocaml (0.12).
Here a minimal working example to reproduce the bug:
cd .../learn-ocaml
docker run --name=locaml -d -it -p 8080:8080 -v "$PWD/demo-repository:/repository" ocamlsf/learn-ocaml:0.12
TOKEN=$(docker logs locaml | grep -e 'Initial teacher token created:' | sed -e 's/^.*: //')
# then
git checkout master
opam install . --deps-only --locked -y
opam install -y opam-installer.$(opam config var opam-version)
eval $(opam env)
make
make opaminstall
learn-ocaml-client init -s http://localhost:8080 -t "$TOKEN"
touch demo.ml
learn-ocaml-client grade demo.ml

then we were getting:
Fatal error: exception Json_encoding.Cannot_destruct(_)
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location

Thanks to git bisect and further explorations, it appears the issue was just introduced in PR #320.
This new PR attempts to fix this issue (very important to have some smooth experience with learn-ocaml-client and learn-ocaml.el), and I'll proceed in a TDD-like manner (extended the GHA CI test-suite within this PR).

This PR is now ready, but before merging I'd like to have some confirmation by @yurug that the fix-commit cd9291e883512b38cf436caa7a0d82bb8cfef539 does not have unforeseen side-effects, on existing exercises you may have prepared, and that would specifically rely on the depend.txt feature.
Summary of the PR

The first commit exhibits the issue, as displayed in this GHA log:Run cd tests && bash -c ./runtests.sh
Running tests with BOTH images (learn-ocaml, learn-ocaml-client)
---> Entering ./test1:
Configuration written to /home/learn-ocaml/.config/learnocaml/client.json.
NOT OK: ./test1/demo2.ml
Reading solution...
Fetching exercise data from server...
Fatal error: exception Json_encoding.Cannot_destruct(_)
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Called from unknown location
Error: Process completed with exit code 1.

The second commit fixes the compatibility issue, as displayed in this GHA log:Run cd tests && bash -c ./runtests.sh
Running tests with BOTH images (learn-ocaml, learn-ocaml-client)
---> Entering ./test1:
Configuration written to /home/learn-ocaml/.config/learnocaml/client.json.
OK: ./test1/demo2.ml
OK: ./test1/bad_plus_2.ml
OK: ./test1/demo.ml
OK: ./test1/bad_plus.ml
find: ‘./corpuses’: No such file or directory

where (learn-ocaml, learn-ocaml-client) are specifically chosen of version (HEAD, 0.12):Run docker inspect -f '{{json .Config.Labels}}' learn-ocaml-client learn-ocaml | jq
{
  "org.opencontainers.image.description": "learn-ocaml command-line client",
  "org.opencontainers.image.title": "learn-ocaml-client",
  "org.opencontainers.image.url": "https://ocaml-sf.org/",
  "org.opencontainers.image.vendor": "The OCaml Software Foundation"
}
{
  "org.label-schema.build-date": "2020-02-19T20:59:22Z",
  "org.label-schema.description": "learn-ocaml app manager",
  "org.label-schema.name": "learn-ocaml",
  "org.label-schema.schema-version": "1.0",
  "org.label-schema.url": "https://ocaml-sf.org/",
  "org.label-schema.vcs-ref": "c54d3bb",
  "org.label-schema.vcs-url": "https://github.com/ocaml-sf/learn-ocaml",
  "org.label-schema.vendor": "The OCaml Software Foundation",
  "org.label-schema.version": "0.12"
}

(Note that the GHA logs are not archived indefinitely, hence the copy-and-paste in the above snippets.)

The last-but-one CI run failed because it seems the token is not yet created at the time the server listens to the TCP port…
I've pushed a slightly different way to get this token but I believe it might still fail.
FTR:
id=$(docker run --rm -d -it -p 8080:8080 -v "$PWD:/repository" ocamlsf/learn-ocaml:0.12)
docker logs -t $id
2021-06-23T12:52:53.899527427Z Learnocaml v.0.12 running.
2021-06-23T12:52:53.899557308Z Updating app at ./www
2021-06-23T12:52:53.943510782Z Learnocaml server v.0.12 starting on port 8080
2021-06-23T12:52:53.944241170Z Initial teacher token created: X-AYC-4FE-R1O-ZLD

so @yurug, wouldn't you mind if I rather write
./wait-for-it.sh localhost:8080 -s -t 10 -- sleep 1s?
this shouldn't be fragile (as unrelated to the build time of the repo): this extra second should just be required to account for the difference time 2021-06-23T12:52:53.944241170Z - 2021-06-23T12:52:53.943510782Z…

so @yurug, wouldn't you mind if I rather write
./wait-for-it.sh localhost:8080 -s -t 10 -- sleep 1s?

Fine for me!

Thanks @yurug, actually wait-for-it.sh was not enough, so I needed to implement a small curl-based custom function.
Now the code related to your initial comment reads:
if ! wait_for_it "http://localhost:8080/version" "$build_timeout" sleep 1s  # ...

I thoroughly improved the bash script along the way, and did several tests locally: everything looks fine… so let's wait for the CI :)

OK so if this very last CI run is OK :heavy_check_mark:, you'll be able to merge this PR anytime this Thursday, @yurug :)

Thank you @erikmd!

Hi @yuug, small remark: it happens there are 3 PR merging strategies in GitHub (Merge, Merge/Squash, Merge/Rebase).
But Merge/Rebase has two drawbacks:

there is no mention anywhere of the PR number in the resulting commits;
and the resulting commits are not GPG-signed…

While Merge and Merge/Squash are very fine (Merge/Squash being especially fine if the PR contains only one commit).
So, maybe for upcoming PRs we should only use Merge or Merge/Squash 😅

OK. We indeed need to follow one merging strategy. Merge/Rebase has indeed these two drawbacks but also has advantages (more readable linear history is sometimes very useful). Anyway, your arguments are valid and I will use Merge and Merge/Squash in the future.


(ISO 19115-3) Failure in re-using W3C references from Relaton

This issue blocks publication of ISO 19115-3.
In Metanorma, when I run Relaton for the first time, it works:
[relaton-w3c] ("W3C xlink11") fetching...
[relaton-w3c] ("W3C xml") fetching...
[relaton-w3c] ("W3C xpath") fetching...
[relaton-w3c] ("W3C xmlschema-0") fetching...
[relaton-w3c] ("W3C xmlschema-1") fetching...
[relaton-w3c] ("W3C xmlschema-2") fetching...
[relaton-w3c] ("W3C xslt") fetching...
[relaton-w3c] ("W3C xml-names") fetching...
[relaton-w3c] ("W3C xmlschema-0") found xmlschema-0
[relaton-w3c] ("W3C xmlschema-1") found xmlschema-1
[relaton-w3c] ("W3C xpath") found xpath
[relaton-w3c] ("W3C xlink11") found xlink11
[relaton-w3c] ("W3C xmlschema-2") found xmlschema-2
[relaton-w3c] ("W3C xml-names") found xml-names
[relaton-w3c] ("W3C xslt") found xslt
[relaton-w3c] ("W3C xml") found xml

But when I re-run with the cache present, it becomes this. I wonder if this is because Metanorma has problems reading W3C references, or the Relaton cache is corrupted for W3C entries?
Bibliography: ERROR: No document identifier retrieved for W3C xlink11
Bibliography: ERROR: No title retrieved for W3C xlink11
Bibliography: ERROR: No document identifier retrieved for W3C xml
Bibliography: ERROR: No title retrieved for W3C xml
Bibliography: ERROR: No document identifier retrieved for W3C xpath
Bibliography: ERROR: No title retrieved for W3C xpath
Bibliography: ERROR: No document identifier retrieved for W3C xmlschema-0
Bibliography: ERROR: No title retrieved for W3C xmlschema-0
Bibliography: ERROR: No document identifier retrieved for W3C xmlschema-1
Bibliography: ERROR: No title retrieved for W3C xmlschema-1
Bibliography: ERROR: No document identifier retrieved for W3C xmlschema-2
Bibliography: ERROR: No title retrieved for W3C xmlschema-2
Bibliography: ERROR: No document identifier retrieved for W3C xslt
Bibliography: ERROR: No title retrieved for W3C xslt
Bibliography: ERROR: No document identifier retrieved for W3C xml-names
Bibliography: ERROR: No title retrieved for W3C xml-names

The document is: https://github.com/metanorma/iso-19115-3

This problem is exemplified in Word:

And PDF (notice that the "W3C xxx" text after the entry):

https://github.com/relaton/relaton-w3c/issues/27 to be fixed to address this.

Will revisit once formattedref removed, to ensure correct rendering in both Word and PDF.

Yes, confirmed after clearing relaton cache and rerunning site generation twice.

Confirm fixed:
Word:

PDF:

Thanks @opoudjis and @andrew2net for https://github.com/relaton/relaton-w3c/issues/27!


Exploring dependencies fails when targetExtension is set

Description
When a plugin uses targetExtension to compile a non-Javascript file to a Javascript file, deppack won't read and follow the require statements in that compiled file to include the dependencies in the final output app.js.
Environment

Brunch: 2.10.9
Phoenix
NPM: (npm v2 is not supported)

package.json contents
{
  "repository": {},
  "license": "MIT",
  "scripts": {
    "deploy": "brunch build --production",
    "watch": "brunch watch --stdin"
  },
  "dependencies": {
    "babel-preset-react": "^6.24.1",
    "phoenix": "file:deps/phoenix",
    "phoenix_html": "file:deps/phoenix_html",
    "react": "^15.6.1",
    "react-codemirror": "^1.0.0",
    "react-dom": "^15.6.1"
  },
  "devDependencies": {
    "@types/react": "^15.0.37",
    "@types/react-codemirror": "^0.2.7",
    "@types/react-dom": "^15.5.1",
    "typescript": "^2.5.0-dev.20170707",
    "typescript-brunch": "github:rudi-c/typescript-brunch",
    "babel-brunch": "~6.0.0",
    "brunch": "2.10.9",
    "clean-css-brunch": "~2.0.0",
    "css-brunch": "~2.0.0",
    "javascript-brunch": "~2.0.0",
    "uglify-js-brunch": "~2.0.1"
  }
}

brunch config contents
exports.config = {
  // See http://brunch.io/#documentation for docs.
  files: {
    javascripts: {
      joinTo: "js/app.js"

    },
    stylesheets: {
      joinTo: "css/app.css",
      order: {
        after: ["web/static/css/app.css"] // concat app.css last
      }
    },
    templates: {
      joinTo: "js/app.js"
    }
  },

  conventions: {
    // This option sets where we should place non-css and non-js assets in.
    // By default, we set this to "/web/static/assets". Files in this directory
    // will be copied to `paths.public`, which is "priv/static" by default.
    assets: /^(web\/static\/assets)/
  },

  // Phoenix paths configuration
  paths: {
    // Dependencies and current project directories to watch
    watched: [
      "web/static",
      "test/static"
    ],

    // Where to compile files to
    public: "priv/static"
  },

  // Configure your plugins
  plugins: {
    babel: {
      presets: ["es2015", "react"],
      // Do not use ES6 compiler in vendor code
      ignore: [/web\/static\/vendor/]
    },
    brunchTypescript: {
      target: "ES2015",
      module: "ES2015",
      jsx: "preserve",
    }
  },

  modules: {
    autoRequire: {
      "js/app.js": ["web/static/js/app"]
    }
  },

  npm: {
    enabled: true
  }
};

Diagnostic
My use case is compiling Typescript files (with React in this case). I start with editor.tsx, which then gets converted to editor.jsx then later editor.js using targetExtension. However, the fileList key-value map still has editor.tsx. This means that inside deppack, in explore.js:exploreDeps, when it does the isJs check, it can't find editor.js in fileList.
I'm not sure how I'd go about fixing this given that Brunch operates on a per-file basis which would make mutating fileList after compilation stages a risk endeavor. Furthermore, exploreDeps seems to do a lot of things at once, including handling events, and seems to require lots of context to modify.

It's been over a year since this issue was filed. While it doesn't affect the last released version of typscript-brunch, to use a specific example, there is a commit in master which will cause the same breakage on the next release. This is a show-stopper in my mind -- there are vanishingly few production web applications where not including the dependencies from node_modules is an option, especially where this is a selling point of Brunch.
Overall I would agree with the sentiments of https://github.com/brunch/brunch/issues/1642 - Brunch is great when it works, but I can never trust an update to any piece of the ecosystem. The time saved is always eaten up by diagnosing the exact combination of patch versions for the core tool and the various plugins (Typescript, Sass, etc) I need.
It's even worse when issues like this sit fallow for a year. I see from open PRs that there is a Brunch 3.0 in the works. Is there a roadmap outlining the release timeline for this? Should we hold off on trying to fix issues like this ticket describes because they will be resolved in a major version? If so, how long should we we wait for that to happen?


Generated UUID in 4.0.5 breaks snapshot testing

This commit https://github.com/wwayne/react-tooltip/commit/78e3c2be784f2b96d8bb888b81785b2b38179dae added generateUUID, which generates a random UUID every time a tooltip is rendered, which changes Jest snapshots every time they're run.
That commit was done in https://github.com/wwayne/react-tooltip/pull/559, which says "No changes in workflows or documentation", which, while true, apparently didn't take into account changes in the DOM and testing. I would recommend a solution without the uuid state, if possible, but if not, some override that would disable the UUID in testing

It's better to use v4 from npm module uuid to implement generateUUID. Module "uuid" may be mocked in jest for testing. But it's impossible to mock function that is not exported from your module.

@Rogger794  Are there any plans to fix this in an upcoming release?

Sounds like we have a proposed fix. We would be happy to accept a PR to fix
it.
On Fri, Mar 20, 2020 at 9:27 AM Steven Rathbauer<EMAIL_ADDRESS>wrote:

@Rogger794 https://github.com/Rogger794 Are there any plans to fix this
in an upcoming release?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wwayne/react-tooltip/issues/562#issuecomment-601700128,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEX6THN4AY3OHQ7I7BNPG73RINVNBANCNFSM4LF7AXMQ
.

:tada: This issue has been resolved in version 4.1.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Hi, I'm afraid the issue still stands. The uuid get's bundled together with rest of the code in /dist/index.js, which makes it unmockable.

it would be nice if you could just optionally send a flag through the component to override the class. I think this would resolve the problem for snapshots

So it's not nice but it works:
jest.mock('crypto', () => ({
  randomBytes: (num: number) => new Array(num).fill(0),
}));

Could this be an issue with rollup's config? I don't have experience with this tool, but it seems that we should exclude dependencies from our bundle
// rollup.config.js
...
export default {
external: Object.keys(pkg.dependencies || {}),
...

or put uuid inside peerDependecies which then would be automatically excluded via used rollup-plugin-peer-deps-external.

my vote is for excluding dependencies or you could simply just exclude uuid, but since there are only two deps in package it is probably ok to do them all.
the single approach would be this:
external: ['uuid']


Add Tenable to the List of Users

Adds Tenable to the list of companies using Superset.

Codecov Report

Merging #7610 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7610   +/-   ##
=======================================
  Coverage   65.24%   65.24%
=======================================
  Files         435      435
  Lines       21503    21503
  Branches     2379     2379
=======================================
  Hits        14030    14030
  Misses       7353     7353
  Partials      120      120

Continue to review full report at Codecov.

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


Harvest metadata from CORDIS

cordis offers a SPARQL endpoint which is able to extract deliverables (reports, articles, datasets, tools) from from research projects. In theory research projects can be identified by their funding scheme, however we nitoced the fundingscheme property of the projects is usually not populated
some sample sparql queries to cordis are documented at https://git.wur.nl/isric/soilwise/soilwise-docs/-/wikis/Cordis-SPARQL-Query:-Projects-with-"Soil"-as-part-of-the-abstract-Access-to-Datasets-and-Project-Publications (internal)
DoD

[ ] build a container to run harvester
[ ] set up ci-cd to run the harvester

Move harvester to ci-cd
See also https://github.com/soilwise-he/harvesters/issues/22

We need to change this into a task that operationalizes the harvesting of all sources

The name, description and DoD are a bit conflicting here. Where we have separate tickets on developing the harvesting process for different sources, this one seems to focus on the operationalisation of the processes. We probably need add a (generic) task that operationalizes the harvesting of all sources and change the DoD for this ticket

Done that

new issue for operationalisation https://github.com/soilwise-he/harvesters/issues/34
updated DoD of this ticket (but other harvesting tickets to be checked)


[Website] Update the "Quick Example" on main page

Let's update the quick example with more recent models, such as BERT

@eric-haibin-lin the quick example is currently a runnable program that can execute quickly on a cpu instance. If we want to keep it runnable with the current solution, we will need to keep the computation constraint in mind.

Definitely.


Being able to configure the gitlab url

I have self-hosted gitlab and I change the gitlab url directly in index.js
it Works very well
It would be interesting to have the url configurable

nice hack @cxsamuel
Currently, self host is not supported yet.


Update README.md with Troubleshooting

add a tutorial to deal with access denied scenario

Looks good, however, please instead of using the main branch use a dev branch (i.e dev <- dev), not the main <- main

close as I created the new pr for dev branch