Creating a docker image from jupyter notebook with jupyter-nodejs kernel

Hi!
Note: I am new both to jupyter and docker.
I am struggling to create a docker image from the base image: https://github.com/jupyter/notebook/ that would also contain jupyter-nodejs.
I added nodejs to the new image via ubuntu apt-get but jupyter-nodejs installation always fails in some way. Could you share some advice / help me to create such image?
I think such a docker image with nice web jupyter notebook for python and nodejs would be extremely useful.

What's the error you're getting? I've done a decent amount of docker, so I can probably help.

I amanged to get build and installation without errors.  When I start the container like this:
$docker run --rm -it -p 8888:8888 -v "$(pwd):/notebooks" Jan-Osch/jptrndjs

I see such message:
[I 09:53:06.139 NotebookApp] Copying /home/docker/.ipython/kernels -> /home/docker/.local/share/jupyter/kernels
[I 09:53:06.151 NotebookApp] Writing notebook server cookie secret to /home/docker/.local/share/jupyter/runtime/notebook_cookie_secret
[W 09:53:06.174 NotebookApp] ipywidgets package not installed.  Widgets are unavailable.
[I 09:53:06.186 NotebookApp] Serving notebooks from local directory: /home/docker/package
[I 09:53:06.186 NotebookApp] 0 active kernels
[I 09:53:06.186 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 09:53:06.187 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 09:53:06.188 NotebookApp] No web browser found: could not locate runnable browser.

But the web notebook is not exposed under myIp:8888
This is the Dockerfile that I created:
#Jan-Osch/jptrndjs
#jupyter node.js + python2 + python3 as docker container
FROM jupyter/notebook

RUN apt-get update && apt-get install -y python2.7
WORKDIR /tmp
RUN apt-get install -y wget

RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python2.7 get-pip.py

RUN apt-get install -y git git-core

RUN wget https://nodejs.org/download/release/v0.12.9/node-v0.12.9-linux-x64.tar.gz
RUN tar xzf node-v0.12.9-linux-x64.tar.gz
RUN sudo cp -rp node-v0.12.9-linux-x64 /usr/local/
RUN sudo ln -s /usr/local/node-v0.12.9-linux-x64 /usr/local/node
ENV PATH /usr/local/node/bin:$PATH

RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
USER docker
WORKDIR /home/docker

RUN mkdir -p  /home/docker/.ipython/kernels/nodejs
RUN wget https://github.com/notablemind/jupyter-nodejs/releases/download/v1.1.0/jupyter-nodejs-1.1.0.tgz
RUN tar xf jupyter-nodejs-1.1.0.tgz
WORKDIR /home/docker/package
RUN npm install && node install.js

EXPOSE 8888

Do you have any idea why this does not work ?

Managed to fix it. Here is a working Dockerfile
#jupyter node.js + python2 + python3 as docker container
FROM jupyter/notebook

# install wget
RUN apt-get update
RUN apt-get install -y wget

# install nodejs
WORKDIR /tmp
RUN wget https://nodejs.org/download/release/v0.12.9/node-v0.12.9-linux-x64.tar.gz
RUN tar xzf node-v0.12.9-linux-x64.tar.gz
RUN sudo cp -rp node-v0.12.9-linux-x64 /usr/local/
RUN sudo ln -s /usr/local/node-v0.12.9-linux-x64 /usr/local/node
ENV PATH /usr/local/node/bin:$PATH

#install jupyter-nodejs
RUN mkdir -p  $HOME/.ipython/kernels/nodejs
RUN wget https://github.com/notablemind/jupyter-nodejs/releases/download/v1.1.0/jupyter-nodejs-1.1.0.tgz
RUN tar xf jupyter-nodejs-1.1.0.tgz
WORKDIR /tmp/package
RUN npm install && node install.js

glad to hear it!


added developer information

All right, I'm pretty sure I've pinpointed the issue with travis: Git LFS. That's why the hashes don't match and why it's not recognized as a valid library file on there. Finally some progress!


Merge relevant release/2.1 changes back to dev

Note to self: a few changes need to be merged back to dev:

strip rhel.7 from rpm installer
add signalr to shared framework
remove azureappservice hosting startup packages from .app and azurekeyvault hosting startup from .all

pending:
4) shared framework symbol packages
These changes were not merged immediately due to merge conflicts, I'll need to take a closer look first.

Completed in PR https://github.com/aspnet/Universe/pull/877 which was merged to dev in https://github.com/aspnet/Universe/commit/c5bb78c33edd25807c587f0c8cdb3acd0daba652


lintr warnings "no visible global function definition"

see also https://github.com/tgouhier/biwavelet/issues/22

Thanks for fixing...


add-file-structure

closes add-file-structure

Good job! =D lets go ahead and add some content to the 'components' directory, and some contents to the 'other' directory


Enabled sentry logs only on web

Technical description

[x] Enabled sentry logs
[x] Added logs whenever we take a picture

Steps to reproduce

Take a picture
Check in sentry issues

Screenshots (optional):
No screenshots.
This Pull Request template has been written and generated by Monk JS repository.

I'm ok with the console capture integration, maybe we can add a tag to each issue created by the logs (capture's logs), a tag that would contain the inspection id, to make it easier to find logs linked to an inspection. What do you think? I'll look into it tomorrow if it can be implementable

Yes that's a good idea @alexandre-em, would make it easier to debug...


FEATURE Login page need UI improvement

Is your feature request related to a problem? Please describe.
The login page UI is not looking good
Describe the solution you'd like
Need UI improvement according to the theme of the website
Describe alternatives you've considered
this will improve the UI
Additional context
Screenshot

I would like to work on the project. Can you assign the project to me under 2023

is this gtg @AnirudhPanda ?

The UI is by AUTH0 itsef. No changes reqd


Activate Segwit immediately with hardfork

IsWitnessEnabled determines if Segwit is active for block X based on looking at block X minus 1.
For this reason, we must guarantee the HardforkTime is set to exactly the nTime of the previous block plus one (and it must be the only block with this nTime).

I can't imagine any circumstances we would need this anymore.


Making readme nicer with different programs that this project is participating in also adding links to codeofconduct and more gifs

Let me know if you want any work like thiss

Sure!

Sure!

@Femme-js Kindly check this out

@Femme-js Kindly check this out


Make tracks collapsible and improve capture view rendering.

Add TriangleToggle class
Clicking on the white triangle on a track will toggle collapse/expand
Add tab-like track label with rounded corners
Removed "m_DesiredHeight" as it was introducing non-uniform scale
Vertical zoom is temporary disabled until properly reimplemented
"All tracks" track now drawn after GPU tracks

I noticed some bugs when trying this out for myself, probably easier to discuss in person, but in brief:

Tracks with dynamically instrumented function events don't collapse for me.
It's hard to hit the triangle, maybe just make the hitbox larger.
Some minor layout issues here and there (I'll follow up).

(But overall it's really cool and looks really nice.)

Tracks with dynamically instrumented function events don't collapse for me.

Sorry, this is wrong, I only had a depth of 1, in which case collapsing doesn't do anything.
(Maybe we should not show the triangle button when collapsing doesn't do anything?)

Thanks Ronald for the detailed comments.  I addressed the issues and also added some more roundness on the far right side of the tracks.  Also, the triangle is now a lot easier to toggle, the triangle is greyed out if the tracks can't be collapsed, the GPU tracks are symmetric when collapsed, and various little fixes.

Very cool, thanks!


Yatin: Watch Rèm\W+nhựa\W+pvc

Yatin requests the watch of the watch_keyword Rèm\W+nhựa\W+pvc. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Rèm\W+nhựa\W+pvc has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rèm\W+nhựa\W+pvc has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Cody Gray in Charcoal HQ

Approved by Cody Gray in Charcoal HQ


Fixed Column node text in lineage and suggestion index for dbt models.

Describe your changes :

I worked on the Column node of lineage and suggestion API because need to change the styling of column node text and need to add dbt index to suggestions API.

Type of change :

[x] Bug fix

Frontend Preview (Screenshots) :

Icons for DBTModel entity

Suggestion for DBTModels Entity

Column Node Text

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have performed a self-review of my own.
[x] I have tagged my reviewers below.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@shahsank3t, @darth-coder00

LGTM!
Just one weird thing I noticed, node expansion overlaps the below nodes

@darth-coder00 that is something related to node positioning and we can fix that in seperate PR.


Addition of two new optional flags: bind, authtoken

Addition of two new optional flags:
-bind: let's you bind to a specific (single) interface
-authtoken: enables the requirement of a 'Authorization: token' request header

well done, thank you!


Do not fail if symlink exists

Stack traces from customers indicate that symLink() fails with EEXIST, which would mean it wasn't deleted by the previous unlinkSync.
npm ERR! Error: EEXIST: file already exists, symlink '../@cap-js/cds-types' -> '/tmp/app/node_modules/@types/sap__cds' (STDOUT, STG)#
npm ERR!     at Object.symlinkSync (node:fs:1810:11) (STDOUT, STG)#
npm ERR!     at Object.<anonymous> (/tmp/app/node_modules/@cap-js/cds-types/scripts/postinstall.js:28:4) (STDOUT, STG)#

Fix is to ignore EEXIST errors.

Need to merge this to unblock a customer


⚠ Samsung has degraded performance

In 00e1b40, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 6855 ms

Resolved: Samsung performance has improved in fa2d2ac.


Improve 'es' translations

Pull Request Checklist

[x] Description: Briefly describe the changes in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[ ] Testing: Have you written and run sufficient tests for the changes?
[ ] Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description
Improve Spanish translations to be more natural and fix grammar errors.

Changelog Entry
Fixed

Fix grammar errors and improve translations.

Thanks!


Remove cgo requirements on macOS

I believe go is a powerfull language and believe that go itself can get the clipboard contents, using cgo is not go anymore.

removing Cgo on macOS is even more complicated than #25
There is a promising project https://github.com/ebitengine/purego but there is no clear practice on what should we do to remove the cgo requirement.
PR welcome.


Add an enum with only the numeric variants of Val

Problem
The Style properties padding and border can be assigned values of Val::Auto or Val::Undefined when only the numeric variants make sense. There isn't a sensible way for the UI to determine these values automatically, except to just set them to zero.
Solution

Add a second enum Breadth with only the evaluatable variants of Val.
Make UiRect generic.
Change the types of Style's padding and border fields to UiRect<Breadth>.

I'm not sure I like the name Breadth, but it's shorter than Thickness and seems more descriptive than Length.
Another option would be to rename Val to AutoVal and rename Breadth to Val. AutoVal would be used a lot more though, so this might be annoying.
Perhaps NumVal or EVal for Evaluatable Value. Num would be nice but ambiguous with a lot of other things.
There might be objections to making UiRect generic. Could be divided into NumRect and AutoRect or something instead. Don't care either way, or about any of the namings.

Changelog

Added an enum Breadth, that is similar to Val but without Val's non-numeric variants.
Changed UiRect into a generic struct.
Changed the types of the padding and border fields of Style to UiRect<Breadth>.
Made the minimum necessary changes to the affected examples.

Migration Guide

UiRect is now a generic struct with a type parameter, which is Val by default.

A new enum Breadth has been added which is similar to Val but without Val's non-numeric variants Val::Auto and Val::Undefined.

The padding and border fields of Style have been changed to type UiRect<Breadth>. Any padding and border values of Val::Auto or Val::Undefined should be replaced with Breadth::Px(0.), which is the default value for Breadth.

This seems like a reasonable change to introduce (although IMO it does add friction when authoring styles as you have to remember which properties correspond to which types). I'm not keen on the name though. Perhaps FixedVal could be an alternative name.

This seems like a reasonable change to introduce (although IMO it does add friction when authoring styles as you have to remember which properties correspond to which types). I'm not keen on the name though. Perhaps FixedVal could be an alternative name.

I think if we went that way, using Val for the numerical values and renaming Val to AutoVal would make the most intuitive sense.
And then we could implement From<Val> for AutoVal, and have the current constructor functions take an Into<AutoVal> so that any existing code using Bevy UI doesn't need any changes.

I think if we went that way, using Val for the numerical values and renaming Val to AutoVal would make the most intuitive sense.

I like this better than FixedVal, and I think better than the current proposal.


Outdated documentation

The screenshots of the UI are old and new UI of the data factory and data flow is completely different. Please update the page according to the new UI.

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

ID: ccf00363-3f01-bded-5d7b-0c15fecda6c1
Version Independent ID: 114d19e7-bf5f-060c-55c0-71d1bc8cf1e9
Content: Create a mapping data flow - Azure Data Factory
Content Source: articles/data-factory/data-flow-create.md
Service: data-factory
GitHub Login: @kromerm
Microsoft Alias: makromer

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

#please-close


Improvement of MathInfo results with incomplete data.

This is an interesting problem with mathInfo objects when processing attributes that do not exist in the other object. This can happen when one of the masters has more values set than the other. For instance when preparing the "deltas", the objects with relative data
Bottom line is: when c = a - b, then also a = b + c, Currently this is not the case.
This is a proposed fix: https://github.com/typesupply/fontMath/tree/fix-mathinfo
This is a test. Best to see with and without the proposed fix.
from fontParts.world import RFont
from fontMath import MathInfo
import fontMath
print(fontMath.__file__)

# master 1
f1 = RFont()
f1.info.ascender = 800				# present in both masters
f1.info.descender = -200			# present in both masters
f1.info.openTypeHheaAscender = 500	# example value that won't be in master 2

m1 = f1.info.toMathInfo()

f2 = RFont()
f2.info.ascender = 750				# present in both masters
f2.info.descender = -180			# present in both masters
f2.info.openTypeOS2TypoAscender = 300	# example value that won't be in master 1

m2 = f2.info.toMathInfo()

# subtract m2 from m1
m3 = m1 - m2

# extract to new font
f3 = RFont()
f3.info.fromMathInfo(m3)
print("check:", f3.info.ascender)
# this is 800 - 750 = 50
assert f3.info.ascender == 50	# check

print("check:", f3.info.descender)
# this is -200 - -180 = -20
assert f3.info.descender == -20	# check

# here we have wrong results
print("unexpected:", f3.info.openTypeHheaAscender)
print("unexpected:", f3.info.openTypeOS2TypoAscender)

# if     c = a - b
# then   a = c + b

m4 = m3 + m2
f4 = RFont()
f4.info.fromMathInfo(m4)
print("openTypeHheaAscender m4:", f4.info.openTypeHheaAscender, f1.info.openTypeHheaAscender)
print("openTypeOS2TypoAscender m4:", f4.info.openTypeOS2TypoAscender, f1.info.openTypeOS2TypoAscender)

# when a value is not present in the other master
# the delta should be 0, no change,

# maybe it should be like this:
# <value a> - <unknown b> = 0
# <value a> + <unknown b> = <value a>

# <unknown a> - <value b> = 0
# <unknown a> + <value b> = <value a>

# scalar * <unknown b> = <unknown b>
# <unknown b> / factor = <unknown b>

# This works in mutatormath as it started with the actual default object
# but varlib starts with the esult of 1.0 * default object.
#

Further tests, it seems like addition needs to be treated differently from subtraction. Updated branche https://github.com/typesupply/fontMath/commit/eaa96ad6cc408748154ce52d0411ededfb10a06d
Updates tests:

# interesting problem with mathInfo objects
# when processing attributes that do not exist in the other object.
# This can happen when one of the masters has more values set than the other.
# For instance when preparing the "deltas", the objects with relative data

# In these tests mathINfo objects are added, multiplied and subtracted
# None - value, None + value, value + value and None + None

from fontParts.world import RFont
from fontMath import MathInfo
import fontMath

ok = "✅"
notOk = "🚫"

def extractValue(m, attrName, expected=None):
	f = RFont()
	f.info.fromMathInfo(m)
	v = getattr(f.info, attrName)
	if v == expected:
		t = ok
	else:
		t = notOk
	print("\t", t, v, "\t", attrName)

# master 1
f1 = RFont()
f1.info.ascender = 800					# present in both masters
f1.info.openTypeHheaAscender = 330		# example value that won't be in master 2
m1 = f1.info.toMathInfo()

f2 = RFont()
f2.info.ascender = 750					# present in both masters
f2.info.openTypeOS2TypoAscender = 555	# example value that won't be in master 1

m2 = f2.info.toMathInfo()

# subtraction
m3 = m1 - m2

print("\nm1 \"default\"")
extractValue(m1, "ascender", 800)
extractValue(m1, "openTypeOS2TypoAscender", None)
extractValue(m1, "openTypeHheaAscender", 330)

print("\nm2")
extractValue(m2, "ascender", 750)
extractValue(m2, "openTypeOS2TypoAscender", 555)
extractValue(m2, "openTypeHheaAscender", None)	# not set

print("\nm3 = m1 - m2")
extractValue(m3, "ascender", 50)
extractValue(m3, "openTypeOS2TypoAscender", 0)
extractValue(m3, "openTypeHheaAscender", 0)

# addition
m3b = m1 + m2
print("\nm3b = m1 + m2")
extractValue(m3b, "ascender", 1550)
extractValue(m3b, "openTypeOS2TypoAscender", 555)	 # None + 555
extractValue(m3b, "openTypeHheaAscender", 330)

m3c = m1 + m1
print("\nm3c = m1 + m1")
extractValue(m3c, "ascender", 1600)
extractValue(m3c, "openTypeOS2TypoAscender", None)	# None + None
extractValue(m3c, "openTypeHheaAscender", 660) # 330 + 330

m3d = m2 + m2
print("\nm3d = m2 + m2")
extractValue(m3d, "ascender", 1500)
extractValue(m3d, "openTypeOS2TypoAscender", 1110)	# 555 + 555
extractValue(m3d, "openTypeHheaAscender", None) # None + None

m3e = m2 - m2
print("\nm3e = m2 - m2")
extractValue(m3e, "ascender", 0)
extractValue(m3e, "openTypeOS2TypoAscender", 0)	# 555 - 555
extractValue(m3e, "openTypeHheaAscender", None) # None - None

m3f = m1 - m1
print("\nm3e = m1 - m1")
extractValue(m3f, "ascender", 0)
extractValue(m3f, "openTypeOS2TypoAscender", None)	# None - None
extractValue(m3f, "openTypeHheaAscender", 0) # 330 - 330

# if     c = a - b
# then   a = c + b

m4 = m3 + m2
print("\nm4 = m3 + m2")
extractValue(m4, "ascender", 800)
extractValue(m4, "openTypeOS2TypoAscender", 555)
extractValue(m4, "openTypeHheaAscender", 0)

m5 = .5 * m1
m6 = 2 * m5
print("\nm5 half")
extractValue(m5, "ascender", 400)
extractValue(m5, "openTypeOS2TypoAscender", None)
extractValue(m5, "openTypeHheaAscender", 165)
print("\nm6 duped again")
extractValue(m6, "ascender", 800)
extractValue(m6, "openTypeOS2TypoAscender", None)
extractValue(m6, "openTypeHheaAscender", 330)

f = .6666
m7 = m1 + f * (m2-m1)
print("\nm7 interpolated with %3.3f" % f)
extractValue(m7, "ascender", 766.67)
extractValue(m7, "openTypeOS2TypoAscender", 0)
extractValue(m7, "openTypeHheaAscender", 330)

# maybe it should be like this:
# <value a> - <unknown b> = 0
# <value a> + <unknown b> = <value a>

# <unknown a> - <value b> = 0
# <unknown a> + <value b> = <value a>

# scalar * <unknown b> = <unknown b>
# <unknown b> / factor = <unknown b>

# This works in mutatormath as it started with the actual default object
# but varlib starts with the esult of 1.0 * default object.
#

Results
m1 "default"
	 ✅ 800 	 ascender
	 ✅ None 	 openTypeOS2TypoAscender
	 ✅ 330 	 openTypeHheaAscender

m2
	 ✅ 750 	 ascender
	 ✅ 555 	 openTypeOS2TypoAscender
	 ✅ None 	 openTypeHheaAscender

m3 = m1 - m2
	 ✅ 50 	 ascender
	 ✅ 0 	 openTypeOS2TypoAscender
	 ✅ 0 	 openTypeHheaAscender

m3b = m1 + m2
	 ✅ 1550 	 ascender
	 ✅ 555 	 openTypeOS2TypoAscender
	 ✅ 330 	 openTypeHheaAscender

m3c = m1 + m1
	 ✅ 1600 	 ascender
	 ✅ None 	 openTypeOS2TypoAscender
	 ✅ 660 	 openTypeHheaAscender

m3d = m2 + m2
	 ✅ 1500 	 ascender
	 ✅ 1110 	 openTypeOS2TypoAscender
	 ✅ None 	 openTypeHheaAscender

m3e = m2 - m2
	 ✅ 0 	 ascender
	 ✅ 0 	 openTypeOS2TypoAscender
	 ✅ None 	 openTypeHheaAscender

m3e = m1 - m1
	 ✅ 0 	 ascender
	 ✅ None 	 openTypeOS2TypoAscender
	 ✅ 0 	 openTypeHheaAscender

m4 = m3 + m2
	 ✅ 800 	 ascender
	 ✅ 555 	 openTypeOS2TypoAscender
	 ✅ 0 	 openTypeHheaAscender

m5 half
	 ✅ 400 	 ascender
	 ✅ None 	 openTypeOS2TypoAscender
	 ✅ 165 	 openTypeHheaAscender

m6 duped again
	 ✅ 800 	 ascender
	 ✅ None 	 openTypeOS2TypoAscender
	 ✅ 330 	 openTypeHheaAscender

m7 interpolated with 0.667
	 ✅ 766.67 	 ascender
	 ✅ 0 	 openTypeOS2TypoAscender
	 ✅ 330 	 openTypeHheaAscender
>>>

@anthrotype any objections?

hm I don't know.. wouldn't it be preferable to warn (or error even) the user that one of the masters has more values set than the other and that fontMath can't deal with those?
That 100 - None = 0  or 100 + None = 100 seems pretty arbitrary to me. It might actually be an involuntary mistake.

i'm probably missing the point of this. Are we taking about those "sparse" masters with incomplete data perhaps? https://github.com/fonttools/fonttools/issues/1355
Wouldn't simply ignoring the attributes that are not set (set to None) work in the case of mathInfo?
I have to say I haven't spent as much time as you did thinking through these issues, and an in the middle of something else right now. You may want to also ask someone else's opinion..

@LettError This looks good to me.

@anthrotype no, this isn't about sparse masters. Rather, in mutatormath systems (example afdko tests only the default master has a complete set of font.info values. If a specific attribute is missing in a non-default master, the value of the default master is used. Mutatormath processes the objects differently from varlib and its not possible to change either one. These changes will restore that behavior in varlib.model. It also prevents duplication of data. It will also solve problems like these.

Thanks Erik. I'm assuming that the fix was done via #137.
@anthrotype @benkiel could one of you issue a new release? Thank you

@anthrotype @benkiel could one of you issue a new release? Thank you

@miguelsousa I made a 0.4.9 release: https://github.com/typesupply/fontMath/releases/tag/0.4.9

Thank you Denis!

Thank you @moyogo


[RFC, FEATURE REQUEST] Make a bridge to the PHP-FPM

After discussion with @wolfy-j .
Support a PHP-FPM (https://www.php.net/manual/en/install.fpm.php) process manager. Since we have the ability to redirect any input from any plugin (which uses workers and Pool implementation) to any external system, we can design and implement a new Pool that will redirect input to the PHP-FPM workers instead of RR workers.
TODO:

Implement Pool interface, create a new dir inside the pkg folder named fpm.
Add a new configuration section, to have the ability to use php-fpm pool impl.
We can use server plugin and implement a new, let's say, relay.

Useful links:
https://www.nginx.com/resources/wiki/start/topics/examples/phpfcgi/
https://github.com/php/php-src/tree/master/sapi/fpm/fpm

@rustatian Often nginx is not only reverse proxy before the app and static assets - it is used for common HTTP header management (cache-control), proxying requests to other upstream, redirects, etc. So, if RoadRunner will be used for an Nginx replacement - we should implement a lot of Nginx features in RoadRunner. So, we really want it?

@tarampampam Yeah, I am pretty sure, that we shouldn't re-implement nginx here 😄 Ok, so, if the community requested a bridge like that, we will continue the discussion.


Update: added some codes, deleted

Added Jsonlint.com website.

That's a lot of changes and its amazing


update the EIA 176 archiver to get 2023

### Tasks
- [ ] check in w/ ella about the archiver
- [ ] make sure we are grabbing the 2023 data
- [ ] make a draft archive
- [ ] make a final archive

We're definitely not grabbing it now, and I just checked to see if the EIA-176 2023 data was available yet, and weirdly it seemed not to be (at least, not via the same URLs that are used for the 2022 data).
Would it make sense to automatically check for one year beyond whatever is in the current expected to be working years for the dataset, and if it's available archive it with a note to update the metadata for the data source?

current status update: we are still waiting for EIA to publish the new data.
It appears our scraper is still working as intended. Despite some of the natural gas being updated with 2023 data, 176 has not yet been updated. The easiest place to double check is here. There are several nat gas datasets in there but the top one is one of the 176 tables.


Added CPU architecture detection and option

This PR adds the ability to pass --arch=arm64 option when installing drivers.
The cpu architecture is detected automatically in DriverFactory::createFromBrowser().
As of today, there is no chromedriver for Linux and arm64 :

https://github.com/GoogleChromeLabs/chrome-for-testing/issues/1
https://issues.chromium.org/issues/374811603

@michael-picard Hi, just pinging you in case you didn't get a notification of my review. Good work so far, just a few small changes required!

Hi @dbrekelmans sorry fo the late reply, I got swamped this week, I'm gonna work on this today.

@dbrekelmans I tried to run the pull_request CI locally using act but it fails on php bdi browser:google-chrome -vvv with the error 'google-chrome: not found'. It would seem "normal" to me since the ca.yml file doesn't install any browsers. Am I misunderstanding something here? Sorry I'm still fairly new in Github actions.

If you could just resolve the PHPStan and PHPCS failures, I'll take care of the QA checks after merging.
You can run these tools locally by running vendor/bin/phpstan analyse and vendor/bin/phpcs --warning-severity=0

Hi @dbrekelmans , it's done.

Hi @dbrekelmans I reran phpcbf for browser-driver-installer/src/Cpu/CpuArchitecture.php, looks like the volume mounting of Docker was getting in the way, I had to do remove the extra space manually.

Thanks @michael-picard!


Fix bugs and Add free cam

Fixed the bug where the speed would be resetted to 5 after some cutscene/warp

Fixed the collision toggle

Fixed the value not being correctly resetted when going back to the pause menu

Added a Free Cam
Input for it :
Ctrl - Toggle free cam / reset the cam
Shift - Move the cam faster

W - Forward
A -  Left
S - Back
D - Right
Q - Up
E - Down
i - Rotate Down
J - Rotate Left
K - Rotate Up
L - Rotate Right

Alright ill try to split it into different pr tomorrow.
As for using mouse in the free cam, it seems the game disabled the mouse in the project settings, but i didnt look that much into it. It wouldnt be oppose to using the mouse for it tho

ok when you do, I will be closing this one :)

Closing as all the bugfixes got merged and for free cam, see #6


Check pagination

The offset for pagination might be wrong. Double check the code.

Checked, nothing out of order.


Timestamp is being sent in milliseconds

Description
I just started to use the SDK but I haven't been able to add metrics.
I was trying with postman and sometimes I got some; nevertheless, I inspected the MetricBuilder and the MetricBatchBuilder and seems that the timestamp is being sent in milliseconds when translating the timestamp we got out an of range year value
Steps to Reproduce
var timestamp = DateTime.Now;
var metric = MetricBuilder.CreateCountMetric("consumedCapacity")
    .WithValue(xxx)
    .WithTimestamp(timestamp)
    .WithAttribute("x", "xxx")
    .Build();

var metricBatchBuilder = MetricBatchBuilder.Create().WithTimestamp(timestamp).WithMetric(metric).Build();

var response = await _metricDataSender.SendDataAsync(metricBatchBuilder);

Inspecting the value of timestamp either adding it in the metric or as common property.
Expected Behaviour
I believe we are receiving three extra digits (I'm assuming we have it in milliseconds?)
Relevant Logs / Console output

Actually I didn't get any metrics even with postman, I believe it was because I was using count and didn't specify the interval.ms.
It would be nice to have a validation for required fields but of course, that will be an enhancement :D.


Handle Ctrl-C on Windows

Closes #359
Root cause is unknown. The workaround is a bit awkward, but works.
To be tested on Unix!

Tested successfully on Linux.

Thanks, merged!


Moved ATBD reference into main references section.

This fixes issue #286 .

Can you re-issue this against the develop branch?

OK, I issued against the develop branch.  But don't you want to make this
correction to the 4.2 documentation as well?
On Mon, Sep 21, 2015 at 12:29 AM, Joe Hamman<EMAIL_ADDRESS>wrote:

Closed #290 https://github.com/UW-Hydro/VIC/pull/290.
—
Reply to this email directly or view it on GitHub
https://github.com/UW-Hydro/VIC/pull/290#event-414464167.


chore(): add tslint as a dev dependency.

@jelbourn

This has been submitted, not sure why it's not set as merged. Closing.


Cannot fetch live streams

Hi,
nice job!
I have a YouTube channel with live streams.
I want to fetch YouTube analytics (views, tracking time, average view duration, etc) of live streams (separately) into Bi Desktop with your repo. Now, this is impossible.
Can u help me pls?
Thank u!

Hey!
You could create your own query using the documentation found in the following article.
You'd need to use the "GET Reports" function inside the connector to make the API call, but it should be feasible.


Gogs delete hooks

Gogs does not currently expose an API to remove hooks. This means when you de-activate a Gogs repository in Drone the previously created post-commit hooks are not removed. If you re-add the repository you will receive duplicate hooks and launch multiple builds.
We should explore adding the appropriate endpoints to the Gogs API client.

Method added: https://github.com/gogits/go-gogs-client/blob/master/repo_hook.go#L67

@Unknwon awesome, thanks for the heads up!

Solved via #1752


Label class

In this branch, I have done the following

Create a label class
Make a relationship between label and items

I am here @Lul-Abdifan If you have any questions

@Adams-Ghub  Thank you bro


Take into account yaml files with multiple documents

Fixes #2279

Closing in favor of https://github.com/spring-cloud/spring-cloud-config/pull/2292


Sorting unquoted strings & keeping multiple lines

It would be nice to be able to sort lists of strings without quotes, e.g. import {NgModule, Component, ViewChild} from '@angular/core';.
As lists are often broken up into multiple lines, it would also be great to keep line-breaks and indentations for multi-line lists, either based on the number of items or on the length. So
3, 5, 4,
  1, 2

should be transformed to
1, 2, 3,
  4, 5

Would be great.

@renehamburger @sepehr
I wrote up an alternative that can be integrated into the existing command.  It does the following:

Sorts unquoted text (any contiguous group of characters in the set [a-zA-Z0-9_])
Allows mixed quotes and value types (e.g. ['foo', 2, 3, 'bar'])
Only modifies character positions (doesn't strip whitespace or change quote types)

Because of how I'm using it, the new version doesn't check for bracket mismatches, so if that's important, I can update the snippet.  You can try it out by using package resource viewer and editing sorted_string.py to include the following (be sure to rename the existing sorted_string() to something different):
import re

REGEX = re.compile(r'["\'\w]+')

def find_and_sort_words(string):
    matches = REGEX.findall(string)
    matches.sort(key=lambda m: re.search(r'\w+', m).group(0), reverse=True)
    return matches

def sorted_string(s, *_):
    targets, output = find_and_sort_words(s), []
    for word in s.split(','):
        found = REGEX.search(word)
        if found:
            word = word.replace(found.group(0), targets.pop())
        output.append(word)
    return ','.join(output)

@kylebebak If you approve of the general idea, I can open a PR that provides this functionality, but modified to adhere to the established parsing rules and output format.


🎮 Nintendo 64 guide (m64p)

There are multiple N64 emulators, each with their pros and cons. Multiple guides might be necessary.

It looks like the N65 guide is out of saye. The m64p flatpack was renamed to simple64.

Fixed by c6c552adf904bbedf8b006253877873ea9b65d3c.


Additional Syntax Highlighting of SQL in Prisma Client raw queries

We recently released 4.2.0 where we now have highlighting for the following, only:
$queryRaw`` & $executeRaw``

We could support more cases like:

[ ] $queryRaw(), $executeRaw(), $queryRawUnsafe(), $executeRawUnsafe() using parenthesis ()
[ ] sql, raw (join, empty), from https://github.com/blakeembrey/sql-template-tag that can be used from The Prisma Client (see example)

Specifying the return type is currently not supported and leads to syntax highlighting getting lost.
$queryRaw<ReturnType>`my query`

@P4sca1 It works for me 🤔, could you check which version of VS Code and the Prisma VS Code extension you have?

@Jolg42 I checked again and found why it is not working for me.
// This works
prisma.$queryRaw<{ id: number }[]>`
  SELECT id from machine
`

// This does not work, because the return type declaration spans multiple lines
prisma.$queryRaw<{
  id: number
}[]>`
  SELECT id from machine
`

Indeed, I can reproduce this, thanks for the example 👍🏼

Could we get some sort of autocompletion too?
prisma.model.$executeRaw`UPDATE ${ctrl space -> shows prisma model names}`

Optimally open a new issue for this @arthurfiorette - that would need to be implemente separately.

Landed on this issue looking for highlighting support for code that has been abstracted out to: Prisma.sql. I really enjoyed the highlighting when I had it jammed into the $queryRaw

This is the meat of the PR that resolves #74: https://github.com/prisma/language-tools/pull/985/files#diff-fdb153efde4d632bf09e6ca7edb77120f2a1d8f888aae21f62d2743682c67a3e

This does not work, because the return type declaration spans multiple lines

@P4sca1 The lack of syntax highlighting after multi-line generic arguments is a problem with VS Code and TextMate grammars not being able to span across multiple lines:

https://github.com/microsoft/vscode-textmate/issues/41

However, a workaround exists for many syntax highlighting extensions (such as SQL tagged template literals by @frigus02), to use a comment (such as /* sql */) between the generic arguments list and the template string (after the > and before the `):

https://github.com/frigus02/vscode-sql-tagged-template-literals/issues/20#issuecomment-1817902214

Hi! I really like the syntax highlighting for $queryRaw & $queryExecute. Just wondering if there are any plans to support it too for sql & raw anytime soon?
Thank you so much

Any news on this, or hints where to contribute ? Would love to have this for query $queryRaw(), $executeRaw(), $queryRawUnsafe() and $executeRawUnsafe() .


feat: Improved the VtmnIcon in order to used SVG

Hello,
In order to increase the performance of vitamin, it is necessary to change the way icons are retrieved.
Currently :
We inject vitamix.css with the woff files which contain all the icons of the application. This means that it is possible to load icons that you will never use.
The solution :
The objective would be to use the svg files individually to recover only the image that we want.
Technical representation of the modification:
{#await<EMAIL_ADDRESS>then { default: svg }}

{/await}

Because of this, the preprocess is able to intelligently copy/inject the svg.
The only problem here is that it is not able to colorize the icon.
Since this one is downloaded, the only way to do it is to pass on a filter (used a website like https://isotropic.co/tool/hex-color-to-css-filter/)
Example :
filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(87deg) brightness(119%) contrast(119%);

This will require generating colors based on design and theme.
The thread is open to find another solution or discuss this one.
Ping @jquinc30 , @lauthieb , @thibault-mahe

Hello @Tlahey,
Thanks for your message. Do you think it could be possible to avoid breaking changes for this issue?
And what do you think about adding fill="currentColor" on the svg? Allowing control of these colors through CSS. (instead of manipulating filters as you propose).

@lauthieb also not possible with currentColor

Because the svg is downloaded and not inline on the page.

I've found a solution but I'm not really fan ...

{#if svgContent}

    <svg xmlns="http://www.w3.org/2000/svg">{@html svgContent}</svg>

{/if}

Here 2 thinks :

In order to apply style, we have to set the svg inline
We have to wrap the svg with another svg in order to apply the color (the html doesn't apply the css when he is loaded)

I've found another way with mask-image:

I haven't done a wide testing but, at least, it looks good in my:

chrome

safari

firefox

Indeed, it can be a good solution !
Tested with storybook and it works fine :)

Regarding performance,
even if the mask-image proposition is far better than the current implementation using font icons:

Load only used icon (instead of all at once)

Better caching (before, one icon change bursted the cache for all other icons in the sprite)

My favorite solution is still the <img src="xxx.svg" as it have the same benefits of above + also add  the ability to:

Load only when required [enable native lazyloading]

By adding this lines in the default theme, I'm able to work with svg from image and changed the colors :
  --vtmn-semantic-color_content-primary-filter: invert(6%) sepia(13%) saturate(4111%) hue-rotate(160deg) brightness(99%) contrast(102%);
  --vtmn-semantic-color_content-secondary-filter: invert(36%) sepia(11%) saturate(835%) hue-rotate(168deg) brightness(90%) contrast(87%);
  --vtmn-semantic-color_content-tertiary-filter: invert(48%) sepia(9%) saturate(830%) hue-rotate(170deg) brightness(92%) contrast(83%);
  --vtmn-semantic-color_content-action-filter: invert(18%) sepia(54%) saturate(5673%) hue-rotate(186deg) brightness(93%) contrast(101%);
  --vtmn-semantic-color_content-active-filter: invert(29%) sepia(97%) saturate(1219%) hue-rotate(174deg) brightness(99%) contrast(101%);
  --vtmn-semantic-color_content-inactive-filter: invert(66%) sepia(12%) saturate(348%) hue-rotate(173deg) brightness(89%) contrast(83%);
  --vtmn-semantic-color_content-negative-filter: invert(18%) sepia(46%) saturate(5676%) hue-rotate(345deg) brightness(105%) contrast(91%);
  --vtmn-semantic-color_content-warning-filter: invert(68%) sepia(74%) saturate(6607%) hue-rotate(355deg) brightness(105%) contrast(102%);
  --vtmn-semantic-color_content-positive-filter: invert(39%) sepia(13%) saturate(5969%) hue-rotate(101deg) brightness(117%) contrast(73%);
  --vtmn-semantic-color_content-information-filter: invert(33%) sepia(59%) saturate(1491%) hue-rotate(171deg) brightness(99%) contrast(101%);
  --vtmn-semantic-color_content-accent-filter: invert(6%) sepia(55%) saturate(1278%) hue-rotate(163deg) brightness(92%) contrast(103%);
  --vtmn-semantic-color_content-visited-filter: invert(36%) sepia(7%) saturate(2155%) hue-rotate(247deg) brightness(87%) contrast(89%);
  --vtmn-semantic-color_content-primary-reversed-filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
  --vtmn-semantic-color_content-action-reversed-filter: var(--vtmn-semantic-color_content-primary-reversed-filter);
  --vtmn-semantic-color_content-visited-reversed-filter: invert(74%) sepia(13%) saturate(638%) hue-rotate(247deg) brightness(79%) contrast(89%);
  --vtmn-semantic-color_content-background-brand-primary-filter: var(--vtmn-semantic-color_content-information-filter);

I need to create this vars also for the dark mode

Lot of issues with VtmnIcon as svg.

All the css are based on span and class vtmx. We have to add css in order to takes also the img.
For components like VtmnButton, we can added icons for information but, with the police + span, the colors is inherited from the parent. With the img, it is not longer possible. We have to re-think the solution about that !

After a long discussion with @jquinc30 and @manglard , we think the move to svg is more complicated that expected.
TLTR :
First, we have to move the project as type module for jest (because we have to used {#await synthax into svelte and svelte-jester doesn't like that).
The other solution should be remove all tests, but it's not possible.
For more information, please check https://github.com/svelteness/svelte-jester and the part "In ESM mode"
Second, 2 ways to injects the SVG.

We can just used the src from the await in order to inject the svg as img. With this solution, we can only apply a color with a filter (see topics above). On top of that, we have to change also all the CSS of the existing components in order to change the way to stylized the icons. (⚠ today, the style applied on icons is only for a span with vtmx typo).
We can also used the src from the await and fetch this data in order to apply the src on the document. With this solution, the bad point is, we have to used {@html in order to inject the svg. But we can apply style without filter ! Also on the same way that the first point, we have to changed all the CSS of the existing components in order to apply the correct style / color

Third, the existing components CSS

All the existing components used CSS in order to inject icons with span / font. There are no existing CSS to inject icons as SVG / img.

Conclusion :
Move the current VtmnIcon to SVG is a long process and will be a hard rework.
But we can think about that with vtmn-play in order to enhancer the perf on the images.
I will open a thread on the vtmn-play project in order to add a VtmnIcon component which is import the svg and not the font.
For informations, ping @lauthieb @thibault-mahe


release: v1.4.4

cc @technoweenie @rubyist @sschuberth

Planning on taking a look at a few more issues before I cut this release on Monday.

Sorry for the force push, I wanted to merge this in as a single commit without squashing.


Use dotnetcli identifier

@Youssef1313 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Youssef1313 Thank you for your contribution.
#hold-off - @nitinme - will this cause merge conflicts in the next 7 days?


Custom Emoji Callback Removed?

The call to discordCallback.emoji was completely removed in favor of custom emoji image generation (I assume).
Can the call be restored in the event it is provided, please?
The current implementation is significantly less flexible, and also seems to be generating stray img end tag errors in HTML validators.

You may use a custom ruleset if you don't want emoji to be an image on output. Replace the discordEmoji rule in the exported rules and create a new parser and htmlOutput for those rules.

End tag fixed in f213d88


[bug] Wrong default SigningAlgorithm is used for Asymmetric signing

I updated to version 5.25.0 today, from 5.23.0, and got obsolete messages about the JWTBearer.CreateToken method. So I changed to using JwtBearer.CreateToken instead. But now I got errors when trying to create the token, it was trying to use the HmacSha256 algorithm instead of RsaSha256.
Looking at the code the problem seems to be here:
https://github.com/FastEndpoints/FastEndpoints/blob/9feb3c2aee31ba09ef0fc3ff687076077b77ac89/Src/Security/JwtCreationOptions.cs#L59-L61
This will always set the SigningAlgorithm to SecurityAlgorithms.HmacSha256Signature since the SigningStyle will always be Symmetric in the constructor. The SigningStyle will be set after the constructor but the SigningAlgorithm is not updated.
Here the object is created with default value and then the users overrides are processed, like normal.
https://github.com/FastEndpoints/FastEndpoints/blob/9feb3c2aee31ba09ef0fc3ff687076077b77ac89/Src/Security/JWTBearer.cs#L28-L29
Not sure how best to handle this but I think making the SigningAlgorithm nullable and move the logic for default value out of JwtCreationOptions and in to the GetSigningCredentials method instead:
https://github.com/FastEndpoints/FastEndpoints/blob/9feb3c2aee31ba09ef0fc3ff687076077b77ac89/Src/Security/JWTBearer.cs#L65
Otherwise the documentation needs to be updated to reflect that the SigningAlgorithm needs to be manually set for Asymetric signing.

good catch and thanks for reporting.
starting v<IP_ADDRESS>-beta, a more helpful exception will be thrown if the user has forgotten to change the default signning algo when switching to assymetric key signing.
https://github.com/FastEndpoints/FastEndpoints/blob/22abc5f589579fb836419925e98e1eb531bdf344/Src/Security/JWTBearer.cs#L34-L35


Designate a new time entry status as read-only

No actual steps and where to do it is provided. Only 'just do this'.
"To designate a new time entry status as read-only, add the new time entry value to the Read-only Status List property. Be sure to add the number, not the label. The editable part of the time entry grid will now be locked for rows that have the new status. To set the Read-only Status List property differently for different Time Entry views, add the Time entry grid in a view's Custom controls section, and configure the parameters as appropriate.
Next, add business rules to lock all the fields on the Row edit and Time entry edit pages. To access the business rules for these pages, open the form editor for each page, and then select Business rules. You can add the new status to the condition in the existing business rules, or you can add a new business rule for the new status."

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

ID: f01669b3-514a-9ab6-d441-668f24d50852
Version Independent ID: aa901bf3-c116-eaa5-dcd8-2c99be38d312
Content: Extending time entries
Content Source: articles/time/customize-weekly-time-entry-grid.md
Service: dynamics-365-project-operations
GitHub Login: @stsporen
Microsoft Alias: stsporen

@ahmadpirani Thank you for the feedback. I will reach out to the author to see if revisions can be made in the future.


Upgraded to .NET 4.6.2

Note that Silverlight model was removed from solution since this isn't supported at VS 2017.

Since this is dropping support for the Silverlight model assembly we'll need to look at this as a major release (i.e. v3)

Latest commit upgrades to version 3 and adds ArcGIS web map types.


This seems to fix the crash but I have no idea why!

as per comments on discord...
my investigations seem to show that this is a compiler optimisation flags issue.  something about building with -O3 seems to be meaning that the >=0 test becomes slightly unreliable.  if the build flag is changed to -O2 then the test appears to become reliable.  there also seems to be no discernible performance penalty for using -O2 over -O3
for a "belt and braces" approach, we should probably both swap to -O2 and change these equality tests

Closed as it's no longer relevant


Updating kam day1 doc

What type of PR is this?
/kind documentation
What does this PR do / why we need it:
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
How to test changes / Special notes to the reviewer:

Looks good

/approve
/lgtm


Grouping questions: Concept Testing/prep

User Story
As a designer/researcher for the GC Forms team,
I want to conduct informal research calls with users to explore the concept of "grouping" functionality for form questions,
So that we can understand user needs, challenges and expectations before developing and validating UI designs for this feature.
Description:
Before delving too deep into the development of UI designs for an advanced "grouping" functionality that allows users to organize form questions (which ties into conditional logic, branching, pagination, etc.), we aim to conduct informal research calls. The focus of this card is to draft and refine the "grouping" concept based on real user insights, ensuring that the functionality aligns with user needs and expectations. The goal is to gather preliminary feedback that will inform the subsequent design and validation phases.
Acceptance Criteria:
Research Preparation:

[ ] Create an outline of the "grouping" functionality concept, highlighting its potential benefits and use cases
[ ] Develop a set of open-ended questions to explore users' current challenges with organizing form questions and their interest in the proposed functionality

Participant Recruitment:

[ ] Identify and recruit a diverse group of GC Forms users, prioritizing those with experience in creating complex forms, leveraging existing networks and user pools

Conduct Research Calls:

[ ] Execute informal research calls, engaging participants in a discussion about the concept of "grouping" functionality
[ ] Explore users' current strategies for organizing form questions and gauge their interest in and potential use cases for the proposed feature

Analysis and Insights Gathering:

[ ] Analyze feedback from research calls to identify key themes, insights, and potential challenges with the "grouping" concept
[ ] Use findings to refine the concept and identify specific user needs that should be addressed in the UI design phase.

Report and Plan for UI Design Phase:

[ ] Compile a summary of research findings, including perceived value and suggested improvements.
[ ] Outline next steps for transitioning into the UI design phase, informed by user feedback.

Would be good to get a content review as well

This now shows up as pages in Staging.
Research on groupings/sections has been completed and tested with clients via diary study https://docs.google.com/document/d/1ZRkE1rLmo5PgYIp2TuGqeHfhCr0nFudCQunIhWywq4g/edit
https://miro.com/app/board/uXjVK4Bp0Ho=/


Fix copy styles

Fixes the position of the highlightOverlay when copyStyles is true.

Looks great, thanks!


✨ Feat: DateTimeLib

Adapted from Solady (https://github.com/Vectorized/solady/blob/main/src/utils/DateTimeLib.so)

closing this. Opened a new one for dev branch


import problems after building win32 extension module

@kayhayen After building win32 package by using nuitka --include-package=win32 --module --exec-freezer D:\virtual_envs\py364_32\lib\site-packages\win32 I've tried to test it, check it out:
(py364_32) D:\sources\personal\python\apps\console\pytools\pytools\build\packages\foox>python
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32
>>> from win32 import win32api
>>> win32api
<module 'win32.win32api' from 'D:\\virtual_envs\\py364_32\\lib\\site-packages\\win32\\win32api.pyd'>
>>> win32
<module 'win32' from 'D:\\virtual_envs\\py364_32\\lib\\site-packages\\win32\\__init__.py'>
>>>

(py364_32) D:\sources\personal\python\apps\console\pytools\pytools\build\packages\foox>cd win32.dist && python
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32
>>> from win32 import win32api
>>> win32api
<module 'win32.win32api' from 'D:\\virtual_envs\\py364_32\\lib\\site-packages\\win32\\win32api.pyd'>
>>> win32
<module 'win32' from 'D:\\sources\\personal\\python\\apps\\console\\pytools\\pytools\\build\\packages\\foox\\win32.dist\\win32.pyd'>
>>>

(py364_32) D:\sources\personal\python\apps\console\pytools\pytools\build\packages\foox\win32.dist>deactivate
D:\sources\personal\python\apps\console\pytools\pytools\build\packages\foox\win32.dist>d:\software\python364_32\python.exe
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32
>>> win32
<module 'win32' from 'D:\\sources\\personal\\python\\apps\\console\\pytools\\pytools\\build\\packages\\foox\\win32.dist\\win32.pyd'>
>>> from win32 import win32api
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'win32api'
>>>

I'm trying to figure out which stuff has been embedded into win32.pyd, as you can see above the built win32.pyd doesn't have the same stuff than the uncompiled package, any idea what I've done wrong?
(The above session is trying to show that you can import win32api from the original package but you can't do the same with the compiled one for some reason)

Stupid question of mine, what does --exec-freezer do?
Otherwise is the same issue as #120, as win32api is an extension module too.
Yours,
Kay


Save new event types to database, and retrieve them from DB

for adding a new event and #35
each event will have two fields: event type and color.

[x] Add new event type
[x] get all event types

Done.


fix(ci): add ocp-stable in OSCI node settings

Description
These changes add ocp-stable in our OSCI node settings since I wrongly changed the pattern in this PR: https://github.com/openshift/release/pull/48519. This should eventually be removed after scanner v4 is enabled by default in CI (or when this file is removed: https://github.com/openshift/release/blob/a14f76e0918b047d2406e9eb6baac82b55ced05a/ci-operator/config/stackrox/stackrox/stackrox-stackrox-master__ocp-stable-scanner-v4.yaml
Checklist

[x] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
CI is sufficient.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/test ocp-4-14-scanner-v4-tests

/test ocp-4-14-scanner-v4-tests


Error running project on Android in Linux: Sha1 not computed

Description
I can't run an app in my linux environment with an Android emulator with AVD. Application breaks before starting by calculation of sha-1
React Native version:
System:
OS: Linux 4.15 Ubuntu 18.04.3 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Memory: 162.13 MB / 15.55 GB
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
Yarn: 1.21.1 - /usr/bin/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Python: 2.7.15+ - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Run a new emulator with AVD.
react-native start
react-native run-android

Expected Results
Run the application in the android emulator
Snack, code example, screenshot, or link to a repository:

Stacktrace
error: ReferenceError: SHA-1 for file /home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/lib/polyfills/require.js (/home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/lib/polyfills/require.js) is not computed
    at DependencyGraph.getSha1 (/home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/node-haste/DependencyGraph.js:263:13)
    at /home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/DeltaBundler/Transformer.js:211:26
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (/home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/DeltaBundler/Transformer.js:46:24)
    at _next (/home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/DeltaBundler/Transformer.js:66:9)
    at /home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/DeltaBundler/Transformer.js:71:7
    at new Promise (<anonymous>)
    at /home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/DeltaBundler/Transformer.js:63:12
    at Transformer.transformFile (/home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/DeltaBundler/Transformer.js:236:7)
    at /home/diegoall/.nvm/versions/node/v12.16.1/lib/node_modules/react-native/node_modules/metro/src/Bundler.js:87:34

any update about this issue, I have this issue too

I had the same problem and resetting the cache helped me:
react-native start --reset-cache


When use with create_list, build method returns same instance every time

Description
I want to create Post record and Tag records on one transaction due to schema constraint and validation.
So, I wrote  FactoryBot.create(:post, tags: [FactoryBot.build(:tag)]) and works perfect.
However when create multiple records by call create_list, FactoryBot.build(:tag) returns same instance every time, so Tag records are updated multiple times.
D, [2021-06-17T09:38:20.196778 #46727] DEBUG -- :   TRANSACTION (0.1ms)  begin transaction
D, [2021-06-17T09:38:20.197197 #46727] DEBUG -- :   Post Create (0.1ms)  INSERT INTO "posts" DEFAULT VALUES
D, [2021-06-17T09:38:20.198598 #46727] DEBUG -- :   Tag Create (0.2ms)  INSERT INTO "tags" ("post_id") VALUES (?)  [["post_id", 1]]
D, [2021-06-17T09:38:20.199523 #46727] DEBUG -- :   TRANSACTION (0.2ms)  commit transaction
D, [2021-06-17T09:38:20.202593 #46727] DEBUG -- :   TRANSACTION (0.2ms)  begin transaction
D, [2021-06-17T09:38:20.203601 #46727] DEBUG -- :   Post Create (0.5ms)  INSERT INTO "posts" DEFAULT VALUES
D, [2021-06-17T09:38:20.205742 #46727] DEBUG -- :   Tag Update (0.2ms)  UPDATE "tags" SET "post_id" = ? WHERE "tags"."id" = ?  [["post_id", 2], ["id", 1]]
D, [2021-06-17T09:38:20.206156 #46727] DEBUG -- :   TRANSACTION (0.2ms)  commit transaction

Is this designed behavior?
Reproduction Steps
A reproduction script is here.
require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
  gem "factory_bot", "6.2.0"
  gem "activerecord"
  gem "sqlite3"
end

require "active_record"
require "factory_bot"
require "minitest/autorun"
require "logger"

ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
ActiveRecord::Base.logger = Logger.new(STDOUT)

ActiveRecord::Schema.define do
  create_table :posts, force: true do |t|
  end
  create_table :tags, force: true do |t|
    t.references :post, foreign_key: true, null: false
  end
end

class Post < ActiveRecord::Base
  has_many :tags, dependent: :destroy
  validates :tags, presence: true
end

class Tag < ActiveRecord::Base
  belongs_to :post
end

FactoryBot.define do
  factory :post do
  end
  factory :tag do
  end
end

class FactoryBotTest < Minitest::Test
  def test_create_post_with_children_on_single_transaction
    post = FactoryBot.create(:post, tags: [FactoryBot.build(:tag)])
    assert_equal post.tags.count, 1
  end
  def test_create_post_list_with_children_on_single_transaction
    posts = FactoryBot.create_list(:post, 2, tags: [FactoryBot.build(:tag)])

    refute_equal posts[0].tags, posts[1].tags
  end
end

Expected behavior
build returns different instance every time if it is called with *_list method.
Actual behavior
build returns same instance.
System configuration
factory_bot version:  6.2.0
rails version:  <IP_ADDRESS>
ruby version: 2.7.2

I see why this is confusing, but I don't think it's a bug in factory_bot. An equivalent way of writing this in ruby that I think makes the problem a little clearer:
tag = FactoryBot.build(:tag)
FactoryBot.create_list(:post, 2, tags: [tag])

We build a tag, and then we pass that one tag to create_list. With this example, I would expect for each post to have the same tag. There's nothing here that would suggest create_list should create new tags along the way.
If you want to execute different code for each element in the list, I believe you can do that in a block passed to create_list. I'm not sure how well documented that is, but it might look something like:
FactoryBot.create_list(:post, 2) do
  post.update!(tags: [FactoryBot.build(:tag)])
end

Hmm... your example cannot pass validates :tags, presence: true validation.
  1) Error:
FactoryBotTest#test_create_post_list_with_children_on_single_transaction:
ActiveRecord::RecordInvalid: Validation failed: Tags can't be blank
    /usr/local/bundle/gems/activerecord-<IP_ADDRESS>/lib/active_record/validations.rb:80:in `raise_validation_error'
    /usr/local/bundle/gems/activerecord-<IP_ADDRESS>/lib/active_record/validations.rb:53:in `save!'
    /usr/local/bundle/gems/activerecord-<IP_ADDRESS>/lib/active_record/transactions.rb:302:in `block in save!'

Should I use prevent create_list method?
    posts = [
      FactoryBot.create(:post, tags: [FactoryBot.build(:tag)]),
      FactoryBot.create(:post, tags: [FactoryBot.build(:tag)])
    ]

Ah right, I missed your validation (I'm used to tags being a many-to-many relationship rather than a many-to-one). In that case you might consider one of the various solutions we have for has_many associations so that you can do FactoryBot.create(:post) and have factory_bot create the required tags. Avoiding create_list is certainly an option as well, but then you would still need to explicitly build the tags every time you create a post.


NeomakeSh!, errorformat and autoscroll

Expected behavior
When I run:
:execute 'NeomakeSh! ' . &makeprg

When command is done I expect, that my errorformat will work as it does with :Neomake!, but it does. Also, while command is running it would be nice if it would automatically scroll when more output is produced.
Steps to reproduce

Set errorformat:
 set errorformat=\ %#File\ \"%f\"\\,\ line\ %l%m
 set errorformat+=\@File\:\ %f

Set makeprg:
 set makeprg=env/bin/py.test\ -vvx\ --tb=native\ tests.py

Create tests.py file:
 def test_me():
     assert False

Set up environment:
 :term python -m venv env && env/bin/pip install pytest

Run :Neomake! and quickfix window should interpret output correctly according to errorformat.

Run :execute 'NeomakeSh! ' . &makeprg, and the output in quickfix window does not highligh lines.

Not sure, but this might be related: https://github.com/neomake/neomake/issues/1138

The main problem is that the errorformat gets set to %m unconditionally with NeomakeSh: https://github.com/neomake/neomake/blob/97163ec310240bcfd39af6907eed17ae024e095c/autoload/neomake.vim#L2625
It is meant to run a shell command, and therefore everything should be displayed.
So in your case, for running &makeprg, Neomake! appears to be what you want, no?

Also, while command is running it would be nice if it would automatically scroll when more output is produced.

Nice idea.. I've looked a bit into this (using :NeomakeSh! i=0; while true; do i=$((++i)); echo $i; sleep 1; done) and a minimal vimrc:
set runtimepath+=$PWD
let g:neomake_logfile = '/tmp/neomake.log'
let g:neomake_open_list = 2

It opens the quickfix list, and grows it until 10 lines.  For this feature it would basically have to do :normal! G after the :cwindow always.
btw: consider using https://github.com/janko-m/vim-test to run pytest.
And see also https://github.com/5long/pytest-vim-compiler (which I have local changes in case you're interested in this).

So in your case, for running &makeprg, Neomake! appears to be what you want, no?

Neomake! runs command in background and displays the output only, when command is done. While command is running there is no indication what is going on, and no output. In that regard I like NeomakeSh more, because it displays output instantly.

btw: consider using https://github.com/janko-m/vim-test to run pytest.

Thanks, I will look into it.

I like NeomakeSh more, because it displays output instantly.

I assume that's because of buffer_output.
Try :let g:neomake_makeprg_buffer_output = 0.

I assume that's because of buffer_output.
Try :let g:neomake_makeprg_buffer_output = 0.
Tested with :let &makeprg = 'i=0; while true; do i=$((++i)); echo $i; sleep 1; done' and then :Neomake!.

Thanks, that works! And solves my issue, because there is no need to use NeomakeSh. Not sure why output buffering is on by default.

Not sure why output buffering is on by default.

It is meant to provide better performance, and with Neovim gets turned into a job option even (so handlers are not invoked all the time).
I think it would be good if it would automatically get unbuffered if it takes longer than 0.5s for example, but that does not work if it is a job option already then.
docs: https://github.com/neomake/neomake/blob/617e1524c6e1b2e5029d948e330a6f8c9a2a4ae7/doc/neomake.txt#L364-L381
That being said, it might be better to change the default indeed, and maybe only for project/quickfix mode (where it is expected to take longer anyway)?!


[Feature Request] cPanel link for WHM configuration

At the moment cPanel link is created using the HOST configuration on WHM page (admin) using the provided address to create one like this form
 $host     = $this->_config['host'];
        return 'http://'.$host.'/cpanel';

Server/Manager/Whm.php         ------ line 67 & 68

Clients will be shown a link of this form:    https://ADDRESS/cpanel
Some hosting providers use   https://cpanel.adddress/   or may want to use a different link than the one they use for their website.
Therefore i request an option to insert the entire link of cpanel address.
same for WHM link on same file
$host = $this->_config['host'];
return 'http://'.$host.'/whm';

It uses by default hostname that is supplied during the setup
You should be able to use: https://hostname.server.com with out issues
Unless you really want to use "https://not-releated-hostname.server.com it will break.  But personally if you have multiple server available it doesn't make sense

Assigned to 0.2.5.

updated with the same request but for WHM link
$host = $this->_config['host'];
return 'http://'.$host.'/whm';


fixes security test order

this pull request fixes the security testing order. Imagine a security-setup like this
  security:
    -
      client_credentials: []
      user_credentials: []
    -
      client_credentials: []

I want to process the security definitions in order so that satisfying client_credentials AND user_credentials always wins.
Appearently this does not resolve reliable until now since the security middleware invokes the security handlers with async.map() so that both OR-sets are tried to resolve in parallel, so that sometimes wins the first, sometimes the second.
In my usecase i save client- and user-credentials to the request-object so that i do not have to do it again in the controller. with this pull request i changed the implementation to work sequentially for the OR-set by using async.mapSeries instead of async.map. this ensures that testing the first set has to finish in order to test the second one. also the second set is never invoked if the first satisfys successfully.
i hope i could make myself clear. feel free to include the docker-stuff. i find it convenient, but not necessary.

i just saw that this migh be related to #419

ok, this pull request only contains the security order stuff. i made separate pull requests for docker-compose and test-debug, as you wished.
thanks for all the work

Do you mind removing the browser/* changes from the PR?  You only changed middleware and those changes should not touch the browser builds.  (I assume this is because your npm install installed different versions of the dependencies last used to build the browser binaries.)  It likely wouldn't break anything but it's safer to avoid bringing in unnecessary changes.
Thanks for your contribution, and your patience with my review.  As soon as you get this taken care of, I'll merge all 3 PRs from you.

ok, no problem.

Thanks for your help.


Mangles aliases when installing?

Hey guys,
We've been trying to get our plugin, Fluid for Sketch, to download and install properly via Sketch Toolbox. Currently, any installs done through it fail.
From what I can tell, the issue seems to be that the aliases in a framework Fluid requires isn't being downloaded correctly. There are aliases to folders are are being converted somehow to binary files.
You can test this by installing the plugin through Sketch Toolbox and examining the framework in the Resources folder of the .sketchplugin.

We have the exactly same issue with our new plugin at Marvel.(https://github.com/marvelapp/marvel-sketch) We also load a framework in...

Unfortunately, the only solution I've found is to flatten your aliases. One easy way is via the Terminal + cp command, which does it automatically. :/


add e2e test for statestore query API

Description
Added e2e test for statestore query API
Issue reference

Please reference the issue this PR will close: #3800
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Unit tests passing
[x] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@daixiang0 , please don't push commits from master to this branch. I will take care of rebasing it. Thanks!

@daixiang0 , please don't push commits from master to this branch. I will take care of rebasing it. Thanks!

I marked it as draft to avoid Dapr Bot from updating it.

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


pull request for e2e test at 01/28/2017 06:26:16

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Tests for dependencies

I have added these tests:
browser-with-deps
This tests umdifying a file that needs a dependency and then running in the browser
amd-with-deps
This tests umdifying a file that needs a dependency and then running in an AMD loader
This test is diabled as it does not work correctly with the current implementation of define
browser-with-deps-and-alias
This tests umdifying a file that needs a dependency and uses that dependency through an alias (e.g. dependency = 'jquery', alias = '$') then running in the browser.
amd-with-deps-and-alias
This tests umdifying a file that needs a dependency and uses that dependency through an alias (e.g. dependency = 'jquery', alias = '$') then running in an AMD loader.
This is a first attempt at the AMD version of the alias test, but since I did not get the amd-with-deps version running, this is untested.
I have disabled the amd-with-deps test in index.js because it does not work and I have not even added the amd-with-deps-and-alias test to index.js for the same reason.
When running the tests with node tests, I get this output:
cjs ok
browser-with-deps ok
SyntaxError: Parse error []
amd ok
browser ok

The syntax error happens in browser-with-deps-and-alias and is the result of the syntax I am using to alias the dependency, which is not yet supported of course:
code += umdify(data, {
    globalAlias: 'testDeps',
    deps: {
        'default': [{'test':'alias'}]
    }
});

If I get rid of the invalid syntax:
code += umdify(data, {
    globalAlias: 'testDeps',
    deps: {
        'default': ['test']
    }
});

The test fails because the code is expecting the alias:
cjs ok
browser-with-deps ok
amd ok
browser ok
ReferenceError: Can't find variable: alias [ { file: 'C:\\Users\\Frank\\AppData\\Local\\Temp\\tmp-7220MADKVk0LiG03.tmp',
    line: 42,
    function: 'testDeps' },
  { file: 'C:\\Users\\Frank\\AppData\\Local\\Temp\\tmp-7220MADKVk0LiG03.tmp',
    line: 50,
    function: '' } ]

Tests for https://github.com/bebraw/libumd/issues/14


[bug]: getWalletSnaps invalidly returns an empty object, causing isSnapInstalled to wrongly return false

Describe the bug
isSnapInstalled returns false when it should return true. This is preventing Glif wallet and safe users from using the FILSnap.
To Reproduce
The bug is reproducible on https://filsnap.chainsafe.io/ - if you look in the developer console, you'll see the console.log(await getWalletSnaps()) returns {}
Relevant log output
N/a

Expected behavior
isSnapInstalled should return true when the snap is installed
Additional context
N/a

Closing as source of bug is metamask release and fix should be released soon: https://github.com/MetaMask/metamask-extension/issues/16176


[WIP] : Fix fallback count(*) issue with index server

Why is this PR needed?
What changes were proposed in this PR?
Does this PR introduce any user interface change?

No
Yes. (please explain the change and update document)

Is any new testcase added?

No
Yes

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbonPRBuilder2.3/5219/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbon_PR_Builder_2.4.5/3458/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbon_PR_Builder_2.4.5/3465/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12444/job/ApacheCarbonPRBuilder2.3/5226/

LGTM

LGTM


No space left on machine (overlay)

I have docker running on CentOS Linux release 7.0.1406 (Core). Also I'm using overlay instead of devicemapper loopback and I have a few containers running on machine including docker registry container. After few days I had no space left on machine, therefore I do following:
[root@m13 lib]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        59G   53G  3.1G  95% /
devtmpfs        2.0G     0  2.0G   0% /dev
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           2.0G  153M  1.8G   8% /run
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs           395M     0  395M   0% /run/user/0
overlay          59G   53G  3.1G  95% /var/lib/docker/overlay/83b3f48705cf143225818f2cb8ef6a5e5a634a0915a719ee1c5cf8ed42212ff3/merged
overlay          59G   53G  3.1G  95% /var/lib/docker/overlay/2499db1fbf395c19d7de98a417ead5c9002d65ff58f6de14df5bc21506e68129/merged
shm              64M     0   64M   0% /var/lib/docker/containers/40c09a988385341d893fc19a02c49959023a992e5463d12a4b2c2c692b0b080a/shm
shm              64M     0   64M   0% /var/lib/docker/containers/78ec95fecfb21b415fa46161a4ddd9465f4309d906789714e9095e11ac2d6445/shm
overlay          59G   53G  3.1G  95% /var/lib/docker/overlay/d48c155765212df5b4215c555b09e3e2c1a32869b0c628b4b5bdf829d34022e0/merged
shm              64M     0   64M   0% /var/lib/docker/containers/d00ffe0dbcebaf176d60000c7ed91135ace7026b49c2903abf7f7f5b6317e720/shm
overlay          59G   53G  3.1G  95% /var/lib/docker/overlay/54ff581382a6c6c58c7ffe40b9351aaaadbbd5b31acc9487446b3ab5c8bd6fbd/merged
shm              64M     0   64M   0% /var/lib/docker/containers/abc3ff5e5d8f3e60346f5187c464d3148cefce3604fe0716ca27b8d4cd03cb5f/shm
overlay          59G   53G  3.1G  95% /var/lib/docker/overlay/a66aa00a04f0d22a4f63c8bb1f168cf0e0c772a7ac5adeee4b46f4dbc52265b1/merged
shm              64M     0   64M   0% /var/lib/docker/containers/d524c1a653b9e2681738ca1cf5312b58ec31ca0ac2f6c9600081214f2e916e6b/shm

Here you can see that 53G is used by overlay. So I do following:
[root@m13 lib]# du -sh /var/lib/docker
33G     /var/lib/docker

Where is additional 20G of space?  Just a question. Are you sharing a volume or mounting a directory into the registry that it's not into the Docker root dir? Where is your registry storing images?
Thanks

@gianarb I'm not sure, but I'm not sharing volume for registry. Here is what I did:
docker run -d -p 5000:5000 --restart=always --name registry \
  -v `pwd`/auth:/auth \
  -e "REGISTRY_AUTH=htpasswd" \
  -e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" \
  -e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \
  -e REGISTRY_STORAGE_DELETE_ENABLED=true \
  registry

I'm not sure that it's registry's fault, I think it's can be something else ..
Also I forgot to say, that two containers are running in previleged mode, just to allow run docker into these containers. And yes, I checked these containers: there are no unused images or containers inside.

overlay is reporting the space used on /
Notice how each overlay entry is reporting the same usage, which is also the same usage as /.
Presumably if du /var/lib/docker reports 33G, the rest is being used elsewhere.
Also note that the overlay graphdriver uses an excessive amount of inodes, which would also cause the system report "no space left on device" when inodes are exhausted.

Guys, this issue was resolved, the reason was that containers which are running in privileged mode has some unused volumes. So the following command helped me:
docker volume ls -qf dangling=true | xargs -r docker volume rm inside of each privileged container.

is this the same as docker volume prune ?
I have the same issue but when I removed dangling volumes, it only freed up few mega bytes. What would be the issue here?
When I do df -h I get a big list of 49GB overlay volumes


open beaker://library instead of beaker://network

I noticed that clicking on the number of peers on a dat:// site currently opens beaker://network, which was recently renamed to beaker://library.

I changed the onClickPeers function to open beaker://library instead 🙂
I'm super excited for Beaker 0.7 😃 Cheers!

Thanks!!


Registration of restaurant visitors

When entering a restaurant (or similar place), There should be an easy way to register.
Use the app to scan a qr code of the location, so the app then knows the time entering and later on scan a second time when leaving.
This could speed up the work for the 'Gesundheitsamt' to reach all persons. When the office enters information about a covid 19 case in the restaurant with date and time of the visit of the infected person, all others that have logged in with their app can get the warning directly. This could speed up the warning of visitors.
When now app-warned visitors can give feedback when they received the warning, the Gesundheitsamt can reduce the number of calls for contact tracing.

We already have a very similar idea in the wishlist with #138. Please check the other idea and consider closing this one in order to avoid duplicates.
Mit freundlichen Grüßen/Best regards,
SW
Corona Warn-App Open Source Team

This is a different approach to #138, both have the same goal. The better/simpler solution should be implemented to have a quick win in:

wider usage of the app
making work for contract tracing easier
make warnings for app users faster
increase the acceptance of contact tracing lists


Examples are not running due to React dependency not being resolved

clone belle
cd belle
npm install
cd examples
npm install
npm start
...
Error: Cannot find module 'react' from '~/dev/belle/lib/components'
[Error: write after end]
Error: Cannot find module 'react' from '~/dev/belle/lib/config'
[Error: write after end]

Hey @alanrsoares ,
Please let us know specific OS you are using and whats your version on node/ npm.
Also can you try 'npm start' in belle directory before you do it in examples.

Hi @jpuri
I'm running on OSX Yosemite, node 0.12.0

Do it in this sequence:
cd ~/belle
npm install
npm start
Now you will be able to see a lib directory inside belle directory, now do:
cd examples
npm install
npm start
Hope that will help and let us know if you still do not find any luck.

Makes sense :)
On 17 July 2015 at 20:05, Jyoti Puri<EMAIL_ADDRESS>wrote:

Do it in this sequence:
cd ~/belle
npm install
npm start
Now you will be able to see a lib directory inside belle directory, now do:
cd examples
npm install
npm start
Hope that will help and let us know if you still do not find any luck.
—
Reply to this email directly or view it on GitHub
https://github.com/nikgraf/belle/issues/120#issuecomment-122210798.

Another point to mention our test cases will not run with npm 0.12.0. Jest currently does not support it.

Hey @alanrsoares,
I could find there was really some issue with package.json which we were not facing as our node_modules were already in place.
I have pushed a new commit to fix that, please take latest.

Thank you. Indeed it wasn't working even after your instructions. I'll try
with the latest commits
On Saturday, 18 July 2015, Jyoti Puri<EMAIL_ADDRESS>wrote:

Hey @alanrsoares https://github.com/alanrsoares,
I could find there was really some issue with package.json which we were
not facing as our node_modules were already in place.
I have pushed a new commit to fix that, please take latest.
—
Reply to this email directly or view it on GitHub
https://github.com/nikgraf/belle/issues/120#issuecomment-122352718.

Working!

Thanks for bringing this up :+1:

Great :smile:


Readme cleanup

Just a new version of README with some minor fixes

Do not know what this fixes, there is nothing concise this fixes. Closing.


add go dependence inside docker image

try to build simple-worker as I did before for pirate
docker@boot2docker:/c/Users/rdccaiy/git/docker/archci/simple-worker$ docker run -it -v $PWD:/go/src/githu
b.com/ArchCI/simple-worker archci/simple-worker bash
root@bd6b56bb2555:/go/src/github.com/ArchCI/simple-worker# go build
worker.go:18:2: cannot find package "github.com/ArchCI/archci/models" in any of:
        /usr/src/go/src/github.com/ArchCI/archci/models (from $GOROOT)
        /go/src/github.com/ArchCI/archci/models (from $GOPATH)
worker.go:13:2: cannot find package "github.com/Sirupsen/logrus" in any of

It is quite to tricky to make go get work inside company.
Will be nice if we have docker image including the dependence ?
Or other suggestion ?

We're using godep to manage the dependency. Currently the simple-worker image doesn't container the library like logrus or beego.
You can try godep go build to build the binary which doesn't install anything in your localhost.

it still reports error after godep go build.
I noticed those are inside Godeps/_workspace/src/github.com/

The dependence are already there, see your git repo as well.
I just add them into GOPATH
 # export GOPATH=$GOPATH:$PWD/Godeps/_workspace
 # go build

Then the binary is ready !


Flash of Unwanted Terminal

What happened?
In v1.2.0, a terminal window flashes on screen briefly from time to time. This is caused by a setting in the author-nvm.exe (v1.0.0)
What did you expect to happen?
No flash.
Version
1.2.0 or newer (Default)
Which version of Windows?
Windows 11+ (Default)
Which locale?
English (Default)
Which shell are you running NVM4W in?
Command Prompt
User Permissions?
Administrative Privileges, Elevated
Is Developer Mode enabled?
None
Relevant log/console output
No response
Debug Output
The debug output is not relevant to this issue.

Anything else?
No response

This is resolved in v1.2.1. It requires author-nvm.exe 1.0.1. To determine which version you have, run nvm debug.


Update the opentelemetry-collector helm chart to use v0.71.0

Closed by https://github.com/open-telemetry/opentelemetry-helm-charts/pull/641


iPadOS: Screen completely glitches when removing keyboard

OS/Web information

Web Browser: Safari (using pwa version of code-server)
Local OS: IPadOS 14.6
Remote OS: IPadOS 14.6
Remote Architecture:
code-server --version:

Steps to reproduce
While using iPadOS 14.6

Deploy code server on railway
open code server in safari
Press the share button
Add to Home Screen
Login
Try to remove connection with your keyboard and try to use your hand

Expected
Let me switch between keyboard & no keyboard normally on the pwa version
Actually happens
https://user-images.githubusercontent.com/80481493/128528326-bd567e11-a819-4aea-9787-03dd742ed1d2.mov
Also read
This issue can be reproduced in VS Code: Mac: No Windows: Unsure Linux: Unsure
When I use the non pwa version in normal safari I can switch between the two easily with no issues

Hmm 🤔 I don't think this is related to code-server specifically (I could be wrong) and more so related to Settings on your iPad (though we should document).
Do you have Shortcuts disabled?

This happens when using the floating keyboard in PWA mode, and then focusing on a uneditable position.

Seems that this might be the issue. @jsjoeio

I’m also having this issue. It happens only in PWA mode and indeed seems to be related to the Shortcuts setting (iPad Settings | General | Keyboard).
The issue happens only when the Shortcuts setting is on.
Turning it off and switching back to Code Server immediately fixes the glitch.
It’s reproducible on https://vscode.dev as well.

In my case, this issue happens no matter "Keyboard->Shortcuts" is on or off.


FBX 7.4 incorrect orientation

When exporting my .fbx from Blender, if I choose Version 7.4 the resulting model would always be oriented face down to the ground. The axis settings in Blender have no effect. (The scaling also seems to be a little different from Blender settings, but I'm not sure).
I guess I could rotate the model and scale in-game, but it would be great if this were corrected.
http://www.filedropper.com/woodtower

Can't reproduce, works fine for me. Make sure to use latest versions. Also provide enough information to reproduce the issue you're reporting.

I'm on 1.5.4 and the latest version of fbx-conv-win32.
Perhaps I should have been clearer on the desired orientation, the model I posted above is going to be seen from above (its a top-view game). fbx-conv seems to be disregarding whatever orientation settings I use when exporting from Blender.

This issue is also discussed here: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=15060
Apparently the problem started with Blender 2.71 (I'm on 2.73).
This is all I'm doing:

Export from Blender with the settings above.
fbx-conv-win32 with -f flag only.
Model doesn't appear top-down in game.

Here is my blender file: http://www.filedropper.com/woodtower_1

That's by design and documented: https://github.com/libgdx/libgdx/wiki/Importing-Blender-models-in-LibGDX#setting-the-coordinate-system-up-axis


finalize description text for the wallet app

the same text will be used for README on wallet repositories, App Store / Play Market descriptions and HorizontalSystems website

updated readme fiesta for iOS and android repositories https://github.com/horizontalsystems/bank-wallet-android/commit/43219036c402ab4c75f79840d59e3c8f7da3be54


how to use the stream-lua-nginx-module to implement a route-server that dispatch the tcp stream or other private protocol  stream

Hi !
I would like to use the stream-lua-nginx-module to implement a route-server that dispatch the private protocol stream.I plan to parse the stream by lua and find the rule to dispatch the stream,but,when I was programming, I was confused which phase I should do the parsing job,there is no access phase in the stream-lua-nginx-module,I can't use the access_by_lua_block directive.Could you help me to solve this problem,thank you!

Balancer_by_lua? There's a pr from me for it.

Any chance you can try nginx-stream-upsync-module .

@splitice
@xiaokai-wang
Maybe I didn't descript my problem very clearly,Not only I want to dispatch my stream,but also I need parse the stream to choose the route for dispatching, it means that the route is choosen by my lua script not by the nginx.

For example:
In the http ngnix.conf file:
    server {
        listen       8020;
        server_name  localhost;
        location / {
            set $PROXY_UPSTREAM "HTTP_BACKEND";
            set $begin_TAG      "<session>";
            set $end_TAG        "</session>";
            set $proxy_SERVER   $PROXY_UPSTREAM;
            set $session_KEY    "x";
            access_by_lua_file conf/persist_access.lua;
            header_filter_by_lua_file conf/persist_header_filter.lua;

#         I can assign proxy_SERVER in the persist_access.lua when I parse the http data,so I choose #         the route by myself.
            proxy_pass http://$proxy_SERVER;

        }

        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
    }

Now,I expect I can dispatch the TCP/UDP stream like that,but it seems that stream-lua-nginx-module cannot satisfy me.

Got your problem, the module cant do that!

@agentzh
@xiaokai-wang
If there are some other solutions to solve my problem?

as long as the stream of your protocol can be parsed (have length field or has seperator), you can try the method similar with this project:
https://github.com/fffonion/lua-resty-sniproxy

Since access_by_lua* is not yet available in stream context, you will need to implement stream forwarding (proxy_pass) in lua layer. The performance can thus be not ideal.


Improve the adding of users to the organization's repository

Feature Description
In the case when we create a repository in the organization - we become the owners of the repository, but this has some problems:

We are able to add a person from outside the orgazation - even if it is a user set as private
A user added to such a repository who is not in an organization has a 404 as he goes to that organization from within the repository

A proposal to improve this mechanism is adding an option when creating an organization, about not adding users from outside the organization to the repository.
Screenshots
No response

It could be a crucial feature especially for isolated environments with very restrictive access policy, intended to develop software based on classified information.


Rexray Issue:-Automatic unlimitted volume created in AWS Instance during deploying Mongo 3.1 on mesosspher cluster

Hello Team,
I am wondering to see the result when i used to deploy MongoDB in Mesosphere cluster in AWS.
I have manually created a EBS volume in AWS("ec2-awsdata") and the deploy Application with External Volumes(using docker) in mesosphere(below Yml file). Rex-ray didn't find my existing volume "ec2-awsdata" and tried to create multiple volume in AWS in a loop.Then I forcefully destroy the deployment and manually delete those volume.
I dont understand where is my mistake or has some bugs in rexray for MongoDB
Below are my configuration:
core@ip-10-0-2-222 ~ $ rexray version
Binary: /opt/mesosphere/packages/rexray--5969104330e3381cadedff3daf6e94000283bf32/bin/rexray
SemVer: 0.3.3-dcos+7
OsArch: Linux-x86_64
Branch: (detached
Commit: 1816ee3
Formed: Wed, 31 Aug 2016 04:25:48 UTC
core@ip-10-0-2-222 ~ $ rexray volume get

name: ec2-awsdata
volumeid: vol-7da82fc9
availabilityzone: us-west-2a
status: available
volumetype: gp2
iops: 100
size: "1"
networkname: ""
attachments: []
name: ""
volumeid: vol-110d5498
availabilityzone: us-west-2b
status: in-use
volumetype: standard
iops: 0
size: "8"
networkname: ""
attachments:
volumeid: vol-110d5498
instanceid: i-5463b4c1
devicename: /dev/sda1
status: attached
core@ip-10-0-2-222 ~ $ docker version
Client:
Version: 1.10.3
API version: 1.22
Go version: go1.5.4
Git commit: 3cd164c
Built:
OS/Arch: linux/amd64

Server:
Version:      1.10.3
API version:  1.22
Go version:   go1.5.4
Git commit:   3cd164c
Built:
OS/Arch:      linux/amd64
core@ip-10-0-7-183 /etc/rexray $ cat config.yml
rexray:
loglevel: info
modules:
default-admin:
host: tcp://<IP_ADDRESS>:61003
storageDrivers:

ec2
volume:
unmount:
ignoreusedcount: true
aws:
accessKey: xxxxx
secretKey: xxxxx
region: us-west-2

YML files
{
"id": "/test-mongo",
"instances": 1,
"cpus": 0.1,
"mem": 256.0,
"container": {
"type": "DOCKER",
"docker": {
"image": "mongo:3.1",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 27017,
"hostPort": 0,
"servicePort": 53376,
"protocol": "tcp"
}
],
"forcePullImage": true
},
"volumes": [
{
"containerPath": "/data/test-mongo-volume",
"external": {
"name": "ec2-awsdata",
"provider": "dvdi",
"options": { "dvdi/driver": "rexray" }
},
"mode": "RW"
},
{
"hostPath": "var-log",
"containerPath": "/var/log/mongodb",
"mode": "RW"
}
]
},
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 0
}
}
error logs:
core@ip-10-0-2-224 /var/log/rexray $ ls
rexray.log
core@ip-10-0-2-224 /var/log/rexray $ tail -f rexray.log
time="2016-10-06T08:19:07Z" level=info msg="waiting for volume creation to complete" driverName=ec2 moduleName=default-docker resp.VolumeId=0xc8204ecfc8 runAsync=false snapshotID= volumeID=
time="2016-10-06T08:19:07Z" level=info msg=vdm.Path driverName=docker moduleName=default-docker volumeID= volumeName=ec2-awsdata
time="2016-10-06T08:19:08Z" level=info msg=vdm.Path driverName=docker moduleName=default-docker volumeID= volumeName=ec2-awsdata
time="2016-10-06T08:19:09Z" level=info msg=vdm.Path driverName=docker moduleName=default-docker volumeID= volumeName=ec2-awsdata
time="2016-10-06T08:19:09Z" level=info msg=vdm.Path driverName=docker moduleName=default-docker volumeID= volumeName=ec2-awsdata
time="2016-10-06T08:19:10Z" level=info msg=vdm.Path driverName=docker moduleName=default-docker volumeID= volumeName=ec2-awsdata
time="2016-10-06T08:19:10Z" level=info msg=vdm.Path driverName=docker moduleName=default-docker volumeID= volumeName=bbf22b930d5a44635a3c2bfa699f9f2f99b7bc48e64f20524c8c981985fb0126
time="2016-10-06T08:19:10Z" level=info msg="getting path to volume" driverName=docker moduleName=default-docker volumeID= volumeName=bbf22b930d5a44635a3c2bfa699f9f2f99b7bc48e64f20524c8c981985fb0126
time="2016-10-06T08:19:10Z" level=info msg=sdm.GetVolume driverName=ec2 moduleName=default-docker volumeID= volumeName=bbf22b930d5a44635a3c2bfa699f9f2f99b7bc48e64f20524c8c981985fb0126
time="2016-10-06T08:19:10Z" level=info msg=sdm.GetVolumeAttach driverName=ec2 instanceID=i-5773714f moduleName=default-docker volumeID=vol-22b13696
When I deploying different application ,it works perfect .Below YML file works perfect as per expectation and it attached to AWS EBS sucessfully
{
"id": "/test-docker",
"instances": 1,
"cpus": 0.1,
"mem": 32,
"cmd": "/usr/bin/tail -f /dev/null",
"container": {
"type": "DOCKER",
"docker": {
"image": "alpine:3.1",
"network": "HOST",
"forcePullImage": true
},
"volumes": [
{
"containerPath": "/data/test-rexray-volume",
"external": {
"name": "ec2-awsdata",
"provider": "dvdi",
"options": { "dvdi/driver": "rexray" }
},
"mode": "RW"
},
{
"hostPath": "var-log",
"containerPath": "/var/log/myapp",
"mode": "RW"
}
]
},
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 0
}
}
I dont understand where is my mistake or rexray has some issue in MongoDB

I am using Dc/OS version :1.8.4

see the first item listed here:
https://github.com/mesosphere/marathon/blob/master/docs/docs/external-volumes.md#potential-pitfalls
the docker image you're using (mongo:3.1) declares two VOLUME entries:
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },

When using external volumes, for each of the above you need volume a spec
in your marathon app that declares a matching containerPath. Docker 10.3 is
particularly annoying because volume creation crash-loops if you don't do
this. Upgrading to docker 11.x fixes the volume creation crash-looping.
On Thu, Oct 6, 2016 at 4:58 AM, pratapnanda<EMAIL_ADDRESS>wrote:

I am using Dc/OS version :1.8.4
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mesosphere/marathon/issues/4555#issuecomment-251905163,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPVLLZNVO7a050qSgW61Y5LBHtQUS0Yks5qxLgogaJpZM4KPszE
.

Many Thanks for answer.it is now working after declare volume a spec in your marathon app


Order of mappings not shown visually

From @syndesis-bot on November 15, 2017 20:42

 @jpav
2017-07-21
Data Mapper

In the future, we will likely support mappings where the order of mappings becomes important.  Here are a couple of examples of possible scenarios where this may come into play:

A target element that needs to have the same value as a previous mapping, but where that previous mapping was a complex combination of multiple transformations that the user didn’t want to have to recreate every time that value is desired.  Thus, the user would want either someway to save the first mapping transformation result in a variable (possibly the properties already supported? Our current Eclipse mapper allows for this via what we call variables.), or have some type of “copy” action available that would basically treat a previous mapping as a source for a later mapping.

Decision logic is involved in a target mapping that considers the results of previous mappings, again assuming considering just the source in the decision is too difficult due to the complexity of the transformations that created the previous target values.

So the concern is we should consider this likelihood in the UI design to hopefully avoid any jarring change to the user experience in the future when this support is realized.
Copied from original issue: syndesisio/syndesis#323

From @gashcrumb on March 15, 2018 18:1
@igarashitm is this issue already in the atlasmap repo?  I can move it if not...

I would say this is p2 from my POV.

Actually closing as it doesn't sound we want to do at this point