doc: default Source safe for concurrent use

The math/rand documentation states:

The default Source is safe for concurrent use by multiple goroutines.

This confused me because I thought the "default Source" referred to Source returned by the NewSource function. Instead, it refers to the protected internal Source used by the top-level functions.

Introductory Commit
Source

Agreed. We should clarify that the Source (internally: rngSource) returned by NewSource is not safe for concurrent use.

I think the docs about default Source is pretty clear if you read it in
full.
Top-level functions, such as Float64 and Int, use a default shared Source
that produces a deterministic sequence of values each time a program is
run. Use the Seed function to initialize the default Source if different
behavior
is required for each run. The default Source is safe for concurrent use by
multiple goroutines.

It explicitly mentions the default Source is the one used by the top-level
functions.
Following Go documentation convention, anything not explicitly
documented for concurrency safety is not safe for concurrent use.
The NewSource doesn't say Source is safe for concurrent use, so
it's not.

True. Yeah, there's not really anything to do here.
Feel free to re-open if you disagree.


'flutter run -t' is not working as expectation

Steps to Reproduce
My current app is working fine with lib/main.dart file as the entrypoint, I am trying to create different entrypoint files for dev/prod, etc. I created lib/main_dev.dart, try to run the command
flutter run -t lib/main_dev.dart --preview-dart-2, but got the following error
$ flutter run -t lib/main_dev.dart --preview-dart-2
Launching lib/main_dev.dart on iPad Pro (9.7-inch) in debug mode...
compiler message: lib/main.dart: Error: No such file or directory
compiler message: Unhandled exception:
root::file:///Users/test/lib/main.dart is already bound
#0      CanonicalName.bindTo (package:kernel/canonical_name.dart:154)
#1      LimitedBinaryPrinter.computeCanonicalNames (package:kernel/binary/limited_ast_to_binary.dart:35)
#2      BinaryPrinter.writeProgramFile (package:kernel/binary/ast_to_binary.dart:283)
#3      _FrontendCompiler.compile (package:frontend_server/server.dart:203)
<asynchronous suspension>
#4      starter (package:frontend_server/server.dart:375)
<asynchronous suspension>
#5      main (file:///b/build/slave/Mac_Engine/build/src/flutter/frontend_server/bin/starter.dart:6)
#6      _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#7      _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

Compiler terminated unexpectedly on lib/main.dart

Version
flutter --version
Flutter 0.1.5 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 3ea4d06340 (4 weeks ago) • 2018-02-22 11:12:39 -0800
Engine • revision ead227f118
Tools • Dart 2.0.0-dev.28.0.flutter-0b4f01f759

I think this way you are passing --preview-dart-2 to main_dev.dart
Try
flutter --preview-dart-2 run -t lib/main_dev.dart

Sorry, I got it wrong as well. I updated my comment.

@zoechi , cheers! :thumbsup: it's working now. I didn't realise the position of --preview-dart-2. Thank you very much.


How do we monitor 3rd party packages that aren't part of the operating system distribution?

Aha! Link: https://penn-state-university-libraries.aha.io/features/MDDB-11

I'm not sure what West Arete backlog this came from, but it's not something that's specific to this project, so I'm going to remove it.


⚠ Jenkins Plugins Artifactory has degraded performance

In ff51684, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1165 ms

Resolved: Jenkins Plugins Artifactory performance has improved in a22085f after 1 hour, 38 minutes.


Docker installation instructions

To install Docker standalone and access it from a remote device on a local network it should be listening on all interfaces (<IP_ADDRESS>) instead of <IP_ADDRESS>:
$ docker run -d --restart always -p "<IP_ADDRESS>:5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io
And I think you could be clearer in the Docker installation area by:

Separating the 2 Docker installation methods
Providing more details instructions for Docker compose install

Let me know if I can submit a PR.
(Loving this btw)

Also on this topic, the docker-compose.yml should indicate that the base_url required the port number to be appended to it (assuming you access this through a local network).

The only thing I'm worried about, is when recommending people use <IP_ADDRESS>:5000:5000 it may expose the service to outside their network without them noticing.. So hmm.. maybe this would be better as a wiki page here?

Re the Base URL stuff, yeah - https://github.com/dgtlmoon/changedetection.io/issues/152 need to get onto this one too

Maybe just add it in readme.md


adds test for propogateErrors middleware option

Summary
adds test for propogateErrors middleware option
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've been mindful about doing atomic commits, adding documentation to my changes, not refactoring too much.
[x] I've a descriptive title and added any useful information for the reviewer. Where appropriate, I've attached a screenshot and/or screencast (gif preferably).
[x] I've written tests to cover the new code and functionality included in this PR.
[x] I've read, agree to, and signed the Contributor License Agreement (CLA).

Current coverage is 84.26% (diff: 100%)

Merging #3 into master will increase coverage by 1.31%

@@             master         #3   diff @@
==========================================
  Files             4          4
  Lines            88         89     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits             73         75     +2
+ Misses           15         14     -1
  Partials          0          0

Powered by Codecov. Last update 62f432d...b92bab7


[Bug]: aws-for-fluentbit Fix logRetentionDays

Welcome to the AWS Observability Accelerator

[X] Yes, I've searched similar issues on GitHub and didn't find any.

AWS Observability Accelerator Release version
2.3.0
What is your environment, configuration and the example used?
Terraform v1.4.5
on windows_amd64

provider registry.terraform.io/gavinbunney/kubectl v1.14.0
provider registry.terraform.io/hashicorp/aws v4.65.0
provider registry.terraform.io/hashicorp/helm v2.9.0
provider registry.terraform.io/hashicorp/kubernetes v2.20.0

Deploy on EKS 1.26
What did you do and What did you see instead?
The name of value for the chart aws-for-fluent-bit for the retention in cloudwatchlog is
cloudWatchLogs:
  .......
  logRetentionDays:

But in the terraform code (modules/eks-monitoring/add-ons/aws-for-fluentbit/values.yaml) we have :
log_retention_days: ${log_retention_days}
We need to replace by
logRetentionDays: ${log_retention_days}
Also after test the Fix, we have error from the pod ( aws-for-fluent-bit ) :
[2023/05/17 10:10:45] [error] [output:cloudwatch_logs:cloudwatch_logs.0] PutRetentionPolicy API responded with error='AccessDeniedException'
[2023/05/17 10:10:45] [error] [output:cloudwatch_logs:cloudwatch_logs.0] Failed to putRetentionPolicy
[2023/05/17 10:10:45] [error] [output:cloudwatch_logs:cloudwatch_logs.0] Failed to send events

We need also to add PutRetentionPolicy in modules/eks-monitoring/add-ons/aws-for-fluentbit/data.tf
Additional Information
No response

Thanks for opening this @ktibi

This should be fixed now, thanks again @ktibi


'=' sign with in setCookie value cannot be skipped

Unable to escape = sign in cookide value. Wondering if we cover this in documentation.
setCookie http://www.test.com cookiekey=cookievalueprefix=cookievaluesuffix

You don't need to escape it, it should just work.
setCookie	https://www.webpagetest.org	testcookie=tomato=veg
navigate	https://www.webpagetest.org

You don't need to escape it, it should just work.
setCookie	https://www.webpagetest.org	testcookie=tomato=veg
navigate	https://www.webpagetest.org


Pip always reports Mythril v0.15.8 being installed

While current versions of Mythril can be successfully installed with pip, the reported version is always 0.15.8.
Ubuntu 16.04:
$ sudo -H pip3 uninstall -y laser-ethereum mythril; sudo -H pip3 install -U mythril==0.16.4
Uninstalling mythril-0.15.8:
  Successfully uninstalled mythril-0.15.8
Uninstalling laser-ethereum-0.16.0:
  Successfully uninstalled laser-ethereum-0.16.0
Collecting mythril==0.16.4
Requirement not upgraded as not directly required: eth-tester>=0.1.0b21 in /usr/local/lib/python3.5/dist-packages (from mythril==0.16.4) (0.1.0b23)
Requirement not upgraded as not directly required: eth-keyfile>=0.5.1 in /usr/local/lib/python3.5/dist-packages (from mythril==0.16.4) (0.5.1)
(...)
Installing collected packages: laser-ethereum, mythril
Successfully installed laser-ethereum-0.16.0 mythril-0.15.8
$ pip3 search mythril
mythril (0.16.4)  - Security analysis tool for Ethereum smart contracts
  INSTALLED: 0.15.8
  LATEST:    0.16.4

Mac OS High Sierra with Mythril 0.16.6 installed:
$ pip search mythril
mythril (0.16.6)  - Security analysis tool for Ethereum smart contracts
  INSTALLED: 0.15.8
  LATEST:    0.16.6

A likely cause of this is the version definiton in setup.py:
    version=os.getenv('CIRCLE_TAG', 'v0.15.8')[1:],

Reproducible on my Ubuntu 17.10 machine.
$ pip3 search mythril
mythril (0.16.6)  - Security analysis tool for Ethereum smart contracts
  INSTALLED: 0.15.8
  LATEST:    0.16.6

Changed the version in setup.py from 0.15.8 to 0.28.8 thinking I could force an error:
version=os.getenv('CIRCLE_TAG', 'v0.28.8')[1:],
and re-installed, but still shows 0.15.8 as installed.

@b-mueller my bad: getting version from Git tag, without asking to update it in setup.py was a wrong idea.
I have merged in the fix, and added deployment instructions into README_DEV.md. Now, to re-deploy it is necessary to update VERSION in setup.py, and then create and push a Git tag with the same name. In case of mismatch between VERSION and Git tag name the deployment is cancelled (failed).
The same update is merged into laser-ethereum repo.

Well it did seem like a good idea at the time, was nice not having to update setup.py.
Thanks for the fix.

Behaviour is normal again starting from v0.16.21.


[ISSUE-800] Upgrade versions of objenesis, cglib, hibernate & lombok

Issue link
https://github.com/DozerMapper/dozer/issues/800
Purpose
Upgrade versions for compatibility in updated projects
Approach
How does this change address the problem?
Open Questions and Pre-Merge TODOs

[x] Issue created
[ ] Unit tests pass
[ ] Documentation updated
[ ] Travis build passed

Thanks for reviewing the branch. It seems I don't have a failing test . I ran it in Intellij and then to be sure started a new maven install build. In both cases, it ran fine.
I tried as well with JDK8 and with JDK17
Anyway I run the current dozer version now in an application with objensis 3.2 (instead of the 2.6 that should be used when importing it) and it seems to work fine. But could of course be that we are not using the feature requiring objensis.

I was on JDK11, maybe thats why.

Ok I'll run the maven build with JDK11
On Wed, 29 Jun 2022 at 16:48, Gareth Healy @.***> wrote:

I was on JDK11, maybe thats why.
—
Reply to this email directly, view it on GitHub
https://github.com/DozerMapper/dozer/pull/836#issuecomment-1170078957,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARN24ZKSRAJSNUR6XTQPRLVRRO5TANCNFSM5VXHVZBA
.
You are receiving this because you authored the thread.Message ID:
@.***>

[INFO] Running com.github.dozermapper.core.loader.api.FieldsMappingOptionsTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.501 s <<< FAILURE! - in com.github.dozermapper.core.loader.api.FieldsMappingOptionsTest
[ERROR] testHintAandB(com.github.dozermapper.core.loader.api.FieldsMappingOptionsTest)  Time elapsed: 0.482 s  <<< ERROR!
org.mockito.exceptions.base.MockitoException:

Mockito cannot mock this class: class com.github.dozermapper.core.loader.DozerBuilder$FieldMappingBuilder.

If you're not sure why you're getting this error, please report to the mailing list.

Java               : 11
JVM vendor name    : Homebrew
JVM vendor version : 11.0.15+0
JVM name           : OpenJDK 64-Bit Server VM
JVM version        : 11.0.15+0
JVM info           : mixed mode
OS name            : Mac OS X
OS version         : 12.4

You are seeing this disclaimer because Mockito is configured to create inlined mocks.
You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc.

Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [class java.lang.Object, class com.github.dozermapper.core.loader.DozerBuilder$FieldMappingBuilder, interface com.github.dozermapper.core.loader.DozerBuilder$FieldBuider]
	at com.github.dozermapper.core.loader.api.FieldsMappingOptionsTest.testHintAandB(FieldsMappingOptionsTest.java:29)
Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [class java.lang.Object, class com.github.dozermapper.core.loader.DozerBuilder$FieldMappingBuilder, interface com.github.dozermapper.core.loader.DozerBuilder$FieldBuider]
	at com.github.dozermapper.core.loader.api.FieldsMappingOptionsTest.testHintAandB(FieldsMappingOptionsTest.java:29)
Caused by: java.lang.IllegalStateException:

Byte Buddy could not instrument all classes within the mock's type hierarchy

This problem should never occur for javac-compiled classes. This problem has been observed for classes that are:
 - Compiled by older versions of scalac
 - Classes that are part of the Android distribution
	at com.github.dozermapper.core.loader.api.FieldsMappingOptionsTest.testHintAandB(FieldsMappingOptionsTest.java:29)
Caused by: java.lang.UnsupportedOperationException: NestHost requires ASM7
	at com.github.dozermapper.core.loader.api.FieldsMappingOptionsTest.testHintAandB(FieldsMappingOptionsTest.java:29)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   FieldsMappingOptionsTest.testHintAandB:29 Mockito
Mockito cannot mock this cl...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

Thank you for the stack trace. So seems it is just a mockito issue with newer Java versions, upgrading mockito fixed it (I could in the end reproduce it with a 'maven clean install' when using jdk11)
I still see some issue with the OSGI tests
[org.ops4j.pax.exam.junit.impl.ProbeRunner] : creating PaxExam runner for class com.github.dozermapper.osgitests.SpringKarafContainerTest
[org.ops4j.pax.exam.spi.PaxExamRuntime] : Found TestContainerFactory: org.ops4j.pax.exam.karaf.container.internal.KarafTestContainerFactory

java.lang.AssertionError: Invalid link file was provided: org.apache.commons.io.link

	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:712)
	at com.github.dozermapper.osgitests.support.BundleOptions.localBundle(BundleOptions.java:88)
	at com.github.dozermapper.osgitests.support.BundleOptions.coreBundles(BundleOptions.java:44)
	at com.github.dozermapper.osgitests.SpringKarafContainerTest.config(SpringKarafContainerTest.java:47)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.ops4j.pax.exam.spi.reactors.ReactorManager.addConfigurationsToReactor(ReactorManager.java:248)
	at org.ops4j.pax.exam.spi.reactors.ReactorManager.prepareReactor(ReactorManager.java:184)
	at org.ops4j.pax.exam.junit.impl.ProbeRunner.<init>(ProbeRunner.java:78)
	at org.ops4j.pax.exam.junit.PaxExam.createDelegate(PaxExam.java:82)

Unfortunately I don't know anything about OSGI so I have no idea how to tackle those.


Error with Alerts when using a Mobile.

It appears that when I try to render an alert on an error it is not working correctly on a mobile phone. Seems to work fine on other browsers but not on iPhone. Tried to see if you were already aware of this but couldn't find anything.
Cheers,
Tom

Apologies,
It works fine. Just not working using the tools I was using.
Cheers,
Tom


feat(snackbar): add snackbar basic styles

TASK: #1893
Description, Motivation and Context
In this PR we add basic styles for the snackbar item, with animations and positionning.
Types of changes

[x] ✨ New feature (non-breaking change which adds functionality)
[x] 🧾 Documentation
[x] 🧪 Test
[x] 💄 Styles

Screenshots - Animations

NB: positionning is actually a proposal, also for design team. At this time specs doesn't propose that kind of customization. So it might be removed from documentation^^

Dis you see there are 3 snackbar containers added to the document? I think its 1 per story

Did you see there are 3 snackbar containers added to the document? I think its 1 per story

If I understand you correctly, I guess this is related to SB iframes. Initial PR should prevent multiple containers/providers :+1:


review unique attributes of a device

review unique attributes of a device
WHAT DOES THIS PR DO?
After getting feedback in form of this issue-353, I recognised the need to review the unique attributes of a device since our current naming convention for devices was closely linked to the fact that device names were unique attributes. And yet the hardware team uses the device names as description of the device and not a unique attribute of a device.
To closely mirror the current system which does not recognise the device name as a unique attribute, this PR introduces deviceCode as a new attribute which represent channelID for AirQo and represents deviceCode for KCCA. With that in mind, deviceCode now becomes the generic unique attribute of the system thus allowing the hardware team to freely rename the device name in the platform.
To have uniformity, the same PR will require us to manually manipulate some fields in the existing historical data of devices. Something that we need to thoroughly think through. What does this change mean to the rest of the system?
WHAT JIRA STORY/TASK IS RELATED TO THIS PR?

No testing here, just a change in the Device entity descriptions.
WHICH ENDPOINTS SHOULD BE READY FOR TESTING?:
None
IS THERE ANY JENKINS CONSOLE LINK FOR CODE COVERAGE AND BUILD INFO?
N/A
ARE THERE ANY RELATED PRs?
N/A

@Baalmart I think using deviceCode (channelID for AirQo, deviceCode for KCCA) are specific org keys that may or may-not require update in the future (e.g attaching an existing channel to a new device). Could we use the mongo generated _id to indentify devices for updates, freeing up the rest of the fields for possible future updates.

Sounds like a good plan, addresses what this PR is trying to achieve. I am just from having a phone conversation with @sserurich about the need for us to review our unique naming conventions since they are not welcomed by our frontend users. If they are just for data retrieval, then we do not need to focus a lot on them and allow the user a great deal of flexibility when interacting with our system's frontend.

Closing this PR, shall transfer purpose to a new PR-457
Reasons for closure:

too many changed files which might make it hard for the reviewers to be thorough.
too many new conflicts
PR had a very wide scope....


Encapsulating global data into containers and data structures

To make an object-oriented implementation of mechanisms feasible, the coreneuron code base needs a bit of a cleanup. Many aspects of the code can be simplified and optimized by moving into C++. The point here is not to start a large rewrite of the code but rather to work on the many small details that will make the larger changes in the future easier.

please retest

Please retest

@ohm314 : I will take a look soon..could you test this with simulation stack? i.e.

create spack branch with this PR branch
launch simulation stack CI with the above spack branch
report here green screenshot of Jenkins Pipeline :)

I'm working on that since yesterday! ;)

please retest

please retest

Can I have a cookie now? :)

Ah yes :tada:!  there are butterfingers :)

Can I have a cookie now? :)

Photoshopped !

Can I have a cookie now? :)

Photoshopped !

snitch! ;)

I am testing one additional thing, will update here once I finish it.

@ohm314  : you missed my comment. But it's ok, the issue that I am debugging seems to be unrelated to this PR. I will create an issue shortly.

@ohm314 : you missed my comment. But it's ok, the issue that I am debugging seems to be unrelated to this PR. I will create an issue shortly.

Uh.. sorry, indeed I missed it.


Vwrld model textures don't look right

Describe the bug
After decompiling and exporting a CS2 map into gltf, when I import the model into blender the mesh looks fine but the texture colors are wrong.
Relevant log output or exception with stacktrace
No response
What game does this happen in
CS 2
Reference file in a Source 2 game
All .vwrld map files
Expected behavior
The textures of the map look the way they do in the game
What version of VRF are you using? On what platform?
5.0, Windows 10

Did you try on latest unstable?
https://vrf.steamdb.info/

yes, same thing

Don't expect glTF materials to support Source 2 terrain blend effects out of the box.
Previous discussion: #597

Gonna close as duplicate of #639 as that has more info.


How to inference?

Hi @wallon-ai, can you be more specific? What are you referring to?
Which use case and which nebulluvm apps?


Weapon Master not working directly after upload

You have to unselect & reselect the attack before Weapon Master works.  Should work directly after upload.

Fixed inconsistent item.name vs item.system.NAME vs item.system.ALIAS


[Usability] Saving a stage of a dashboard before hitting the "back" button

I am not sure if this is a feature request or a bug, let me explain for you.
You may inadvertently hit "back" in the browser (or do it by using 2 fingers in the touchpad) and when you go back to your visualisation, it is not stored as expected. It might have stored a previous step or nothing at all.
This is causing some issues in real time demos, where you are in the middle of the DEMO and suddenly you have lost all your previous steps (by hitting back) and need to start over again.
Cheers
Miguel

Which kind of steps have you missed? We (hopefully) release a new feature, that take care of the state of the widgets, for example, if you filter over a histogram, once you reload the browser or get back to the map, that widget will appear with the previous state. (https://github.com/CartoDB/cartodb/pull/8584)

Most of the visualisation I was working on is lost. Some of the previous analysis are not there in the workflow anymore, widgets I added, or styles I added are gone.  (this has happened almost everytime, so I can reproduce it for you if you want!)


Powerline-shell doesn't show up in Ubuntu 16.04

I've followed the steps in the README but powerline-shell doesn't appear on my terminal. I simply have no command line prompt at all. I've selected powerline fonts and xterm-256color. I'm using a fresh install of Ubuntu 16.04 64-bit.
This is how my .bashrc looks like:
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color|*-256color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
    # We have color support; assume it's compliant with Ecma-48
    # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
    # a case would tend to support setf rather than setaf.)
    color_prompt=yes
    else
    color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias ls="ls -lah"
alias update="sudo apt-get update && sudo apt-get upgrade"
alias gs="git status"
alias gc="git checkout"
alias gcb="git checkout -b"
alias ga="git add"
alias gcm="git commit -m"
alias gcam="git commit -am"
alias gl="git log --graph --decorate --oneline"

# Add an "alert" alias for long running commands.  Use like so:
#   sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

# powerline
function _update_ps1() {
    PS1="$(~/powerline-shell.py $? 2> /dev/null)"
}

if [ "$TERM" != "linux" ]; then
    PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi

# virtualenvwrapper config
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/git
source /usr/local/bin/virtualenvwrapper.sh

Anyone having the same issue?

I too run 16.04, It works fine on GNOME Terminal

do you the same TTY emulator or something else?
Do you have a soft sym link of poweline-shell.py in your home directory ? ie. /home/username/powerline-shell.py ?

Okay I found the issue. The symlink was broken because I specified the relative location of powerline-shell.py instead of the absolute one, since I run the command from the powerline-shell folder:
ln -s powerline-shell.py ~/powerline-shell.py instead of ln -s ~/git/powerline-shell/powerline-shell.py
This create a broken symlink. I've fixed it now.

How do you fix the symlink if your terminal does not show a prompt?


Quickstart guide was missing upstream remote command

Proposed changes
Problem: The Quickstart instructions were missing the command to the upstream remote
Solution: I added the missing command to add the upstream remote
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked that all unit tests pass after adding my changes
[x] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

@sarthyparty
a few style nits related to https://github.com/nginxinc/nginx-gateway-fabric/blob/main/docs/developer/pull-request.md#commit-message-format and commit message
(1) let's expand commit message with problem/solution statements as described in the document above.
(2) better to use active voice in commit messages. For example, Fix git clone command in developer guide. Same for PR name.


DH2ed Duplicate conditions removed

The sheet had two fields sharing the same value and that created duplicity. I renamed one of them and also did a small edit to the WS and BS roll for detecting weapon hits.

You have a merge conflict. Please fix the conflict and pull again. If you can do it soon I'll try to make sure new code still makes it out this week.


Fix User endpoints for self user

Fix handling of endpoints for self user. More specifically:

Prevent users with "me" username from being created
Ensure /user/me endpoint works correctly with authorization
Ensure edit user is possible for current user
And ensure a user, while editing itself, cannot add groups to itself
Add /user/me/models endpoint to give all models the current user has access to

User/me endpoint fixed
Models for user/me working

Current issue editing user is that id is obtained from URL, but in the edit case, the id comes in the body; thus, the write-user permission is incorrectly checked, instead of the write-[miid]-user

Addressed in #434


[sql-lab] make error messages look more like console log messages.

About this, note that the format of the Exception returned by the database API is heterogenous. It should be handled in db_engine_spec.py

@mistercrunch i was meaning the ui rather than the actual content of the exception.

oh yeah that'd be nice, I was thinking you were referring to the large Presto error blobs


Server slows down after first stream closes

I'm planning to use this module in a web server to handle authentication and streaming rights, so most likely where i was working on security in the stream was on the event "prePublish" which should verify if the passed stream key is valid.. for this i am using a database with an ORM called Sequelize.
so the code is similar like this (the original has a bit different code but this example does the same result):
const mediaServer = require("node-media-server");
const utils           = require("./../utils");
const connection = require("./../unnamed/src/main/connection");
const userModel = connection.models.users;

const config = {
	rtmp: {
		port: 1935,
		chunk_size: 60000,
		gop_cache:true,
		ping: 60,
		ping_timeout: 30
	},
	http: {
		port: 8000,
		allow_origin: "*"
	}
};

const server = new mediaServer(config);

server.run();

server.on("prePublish", (id, path, args) => {
	console.log("[PRE-PUBLISH]:", id, path, args);

	userModel.findByStreamkey(utils.extractStreamkey(path))
		.then(user => {
			if(user == null) {
				const session = server.getSession(id);

				session.reject();
			}

			else {
				console.log(`Stream ${id} successfully published`);
			}
		});
});

The first stream connection works ok and everything goes smoothly, but right after i stop the streaming everything but the rtmp server slows down drastically, the same event is called but the function that makes the call to the database takes too long to execute, literally everything but rtmp gets too slow to the point that the browser thinks that the connection was interrumpted.
System Specs:
CPU: Intel® Core™ i5-4440 CPU @ 3.10GHz × 4
Memory: 8GB DDR3 1600Mhz
OS: Linux Debian/Ubuntu 16.04.4 LTS 64-bit
Node: v8.11.3

Please update version 1.4.1.
I made a mistake, 1.3.5 later versions are affected.
And you need to be careful about using the new approach.
const { mediaServer } = require("node-media-server");

Noted about the changes in the module, your fix is working, thank you


Advanced Websocket Features

New Features

[x] Automatic WS reconnection
[x] Propogate WS down to components
[x] Support authenticated components
[x] Prevent component reregistration
[x] Readme clean up and updates
[x] Fix #5

I decided it would be best to propagate the entire websocket down, to fall in line with Django view convention of propagating down the HTTP request.
A benefit of this is that the developer would now be able to utilize any WS functionality (scope, close(), etc) from within their component.
If we need to add any features, can be added as props to the IdomAsyncWebSocketConsumer

if I don't complete this PR by Thursday, I likely won't be available to pick it back up until October 4th.

Reconnecting WS has been developed.
Currently works on client side disconnect.
There are two caveats...

Reconnect is not graceful.

All IDOM modules are effectively "reset" to the first rendered state upon reconnect.
All variable values are lost.
We may need to implement a database store for linking a WS session to component state to resolve this.

Reconnections after server restart is broken due to Django IDOM design.

We only add modules to IDOM_REGISTERED_COMPONENTS upon template tag render, so all components are completely unknown after server restart ("Unknown IDOM view ID").
We will need to develop the previously mentioned IDOM_COLLECT_OFFLINE feature to resolve this.

If approved, the last limb of Conreq blocking factors is react-router support.
Unfortunately I'm too much of a ReactJS scrub to PR that into IDOM Core, so I'll need your support on that.

Don't think I'll be able to tackle those changes until the 4th. On vacation, I'm not in my home state right now.

No worries.

Replaced WebSocketConnection disconnect with close, since close ultimately results in disconnect being called.
Added view_id to WebSocketConnection
Fixed index.js spacing

Been really busy lately. Will try to get to this next week.

I updated the PR description.
Let me know if you need me to split this PR into separate parts to be more easily digestible.

Side note...
We should also consider adding pre-commit.ci to all idom-team repos. It's an extremely handy utility for automating common code cleanup during the PR stage.

All comments have been resolved.

I see that IDOM Core is using [pre-commit] currently, but it's using a fairly minimal config.

From my experience, pre-commit has been most helpful in resolving issues that can be fixed automatically (e.g. black, sorting imports) which is why I've kept it fairly minimal. Linters like flake8 and pylint that just report errors can be annoying if you want to introduce a commit that represents intermediate progress. So, including pre-commit hooks that add EOF new lines and strip out extra white space would be great to have though.
A longer-term solution to this would be to make an idom-team/python-package-template repo that pre-bakes all the standards we want to enforce.

A longer-term solution to this would be to make an idom-team/python-package-template repo that pre-bakes all the standards we want to enforce.

I recommend using the repo-file-sync GitHub action to automate standardized configurations across idom-team repos.
That's what we use at Jazzband alongside our template repository.


How many objects (write each names) are used by MMdetetcion and whats the  accuracy of model/ Model Perofrmance?

Hi, you can read cfg and view the performance

Hi, you can read cfg and view the performance


rbd: new option for specifying the id

Allows differnt ids to connect to the RADOS cluster

Looks good to me


Use within() on a table's tbody to select checkboxes

Rails 4.2.0, RSpec 3.1, Capybara 2.4.4, Capybara Webkit 1.3.1
My checkbox method finds a checkbox based on its HTML element value. My tests are failing with the following Nokigiri error, but I figured asking for help here, since I am using Capybara to select the elements.
  1) Exercise the AMI Users Page PERMISSIONS disable ami user
     Failure/Error: within("#ami_users tbody") { checkbox(@ext_user2.id).set(false) }
     Nokogiri::CSS::SyntaxError:
       unexpected '=' after '#<Nokogiri::CSS::Node:0x00000007ede480>'
     # (eval):3:in `_racc_do_parse_c'
     # (eval):3:in `do_parse'
     # ./spec/support/helper.rb:53:in `checkbox'
     # ./spec/features/admin/ami_users_spec.rb:119:in `block (4 levels) in <top (required)>'
     # ./spec/features/admin/ami_users_spec.rb:119:in `block (3 levels) in <top (required)>'
     # -e:1:in `<main>'

Please ask how to questions on the mailing list as requested in the README


[release-2023b] sync release-2023b branch with upstream 2023b branch

[release-2023b] sync release-2023b branch with upstream 2023b branch
As the automation failed in https://github.com/red-hat-data-services/notebooks/actions/runs/8661711697

Merging to get the release ready :100:


While running setup-node in self-hosted runner, it failed to install/locate yarn

While running setup-node in self-hosted runner, it failed to install/locate yarn
Description:
Run actions/setup-node@v4
Attempting to download 20...
Acquiring 20.12.2 - x64 from https://github.com/actions/node-versions/releases/download/20.12.2-8647736879/node-20.12.2-linux-x64.tar.gz
Extracting ...
/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /actions-runner/_work/_temp/00200344-76b0-4841-ac9f-16ae704bf5c1 -f /actions-runner/_work/_temp/85995960-eb88-45f3-a643-16b4368bb374
Adding to the cache ...
Environment details
node: v20.12.2
npm: 10.5.0
yarn:
Error: Unable to locate executable file: yarn. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Action version:
4.0.1
Platform:

Ubuntu

Runner type:

Self-hosted

Tools version:
node-version: 20
cache: "yarn"
Repro steps:
Run this step
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
On a self-hosted runner (im using ubuntu:24.04)
Expected behavior:
Installation of yarn. availability of yarn command in PATH
Actual behavior:
yarn is not being installed, or does not exist in PATH

Hello @mdemri, Thank you for creating this issue and we will look into it :)

Can confirm - this also happens on self-hosted windows runners

+1 I'm running into this issue with the following usage:
  - uses: actions/setup-node@v4
    with:
      node-version: 20

Hi @mdemri, After trying to replicate the issue based on provided workflow, it appears that everything is functioning correctly and we didn't encounter any issues on our end. Here's a screenshot for your reference. Please ensure that Yarn is installed and accessible in the PATH on your self-hosted runner. To help us further investigate the issue, Could you please attach link to the build or public repository to reproduce the issue ?

Hi @mdemri , Just a gentle reminder regarding this issue, If you have any updates or need further assistance, Please let us know.

Hi @mdemri , Just a gentle reminder regarding this issue, If you have any updates or need further assistance, Please let us know.

Hi @mdemri,
Due to inactivity, I'm going to close this issue for now. Please feel free to reopen this issue or create a new one if necessary.
Thank you.


Add Implementation of Deep Deterministic Policy Gradient (DDPG) Algorithm

Implemented Deep Deterministic Policy Gradient (DDPG) on Smart Buildings Simulator. Generally followed SAC example and adapted for algorithmic differences as needed.

Loss graphs from Tensorboard that end up printing "0.00" loss to stdout:

Hi, I follow this repo just curious to ask what setpoints does an RL agent adjust on the HVAC system to optimize? Can you summarize at all? I know HVAC but the RL processes I am still learning...


Pass status code back to the caller

Make the HTTP status code of the calls to the 3scale backend available in the response callback.

Looks good to me :+1:

thanks @picsoung!


Remove cube from within trained data files

Hindi and a few other languages have cube related files within traineddata. These files should be replaced with new versions without cube, reducing their file size.

best/*.traineddata seems to have only lstm.


Adding "Join Us" button to navigation bar.

It will be easy for people to click on "Join Us" button( get redirected to registration form)from navigation bar rather than everytime going to the top of the website.

I am Shourya, GSSoC participant, and I would like to contribute the changes that I think will make the website easier to use for people.

I am a GSSOC'22 participant and want to work on this issue.pls assign this issue to me

@agamjotsingh18 can you please update?

This issue is not needed, as the structure of the website will change.
Look upon other issues please


PKCS12 format is not supported by the PyCrypto library

I am getting the following error while trying to execute methods on the GitkitClient:
def get_client():
    with open(current_app.config['GOOGLE_PRIVATE_KEY_FILE'], 'rb') as key_file:
        key = key_file.read()
    return gitkitclient.GitkitClient(client_id=current_app.config['GOOGLE_CLIENT_ID'],
                                     service_account_email=current_app.config['GOOGLE_SERVICE_ACCOUNT_EMAIL'],
                                     service_account_key=key,
                                     widget_url=url_for('widget', _external=True),  # flask route for the widget
                                     cookie_name=current_app.config['GITKIT_COOKIE_NAME'])

get_client().GetClientId()  # throws

NotImplementedError: PKCS12 format is not supported by the PyCrypto library. Try converting to a "PEM" (openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey.pem) or using PyOpenSSL if native code is an option.

GitkitClient.VerifyGitkitToken works as expected.

You can convert the .p12 file to .pem using the command in the error message, and set GOOGLE_PRIVATE_KEY_FILE to be the full file path of the pem file.

Right, the error tells me to convert the file to a .pem' but the README says to use a .p12` file.
Is this a bug? A documentation error?
Has anyone else does this on Google App Engine without converting to .pem?

I dealt with this today. The documentation is incorrect. If you look at the code it clearly expects an unencrypted PEM file containing your private key. There's no way to export a file in this format from the Appengine Console. You have to export a P12 file, then use OpenSSL command line tools to extract the key from it in unencrypted PEM format.

The documentation was clearly written without looking at the code. Extremely disappointing from a product that purports to alleviate all of the pains of SSO.


Move param() handling and renderQuery method to WPRequest

Parameters are more generic than filters: they can be useful on almost any API resource if they are used to specify context or to trigger data embedding. Moving these from CollectionRequest means that they will also be available on WPRequest derivatives like the paging .next and .prev requests, enabling consumers of the pagination queries to utilize methods like .embed().

TODO: move the corresponding unit tests from CollectionRequest's suite to WPRequest's

Done moving unit tests; merged branch


[Event Request] codeunit 5407 "Prod. Order Status Management" OnTransProdOrderLineOnBeforeInvtAdjmtEntryOrderModify

Can you add the following event to codeunit 5407 "Prod. Order Status Management"?
Where InvtAdjmtEntryOrder and ToProdOrderLine is reference.
                            InvtAdjmtEntryOrder."Cost is Adjusted" := false;
                            InvtAdjmtEntryOrder."Is Finished" := true;
                            // >>>>>>>>>>>>
                            OnTransProdOrderLineOnBeforeInvtAdjmtEntryOrderModify(InvtAdjmtEntryOrder, FromProdOrderLine, ToProdOrderLine, ToProdOrder);
                            // <<<<<<<<<<<<
                            InvtAdjmtEntryOrder.Modify();

                            if NewUpdateUnitCost then

    [IntegrationEvent(false, false)]
    local procedure OnTransProdOrderLineOnBeforeInvtAdjmtEntryOrderModify(var InvtAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; FromProdOrderLine: Record "Prod. Order Line"; var ToProdOrderLine: Record "Prod. Order Line"; ToProductionOrder: Record "Production Order")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10053.


tests: Add  option to test-js-with-node.

This option allows the user to check their js
files for any file that is fully covered but
hasn't been added to our enforced list in
test-js-with-node.

Updated @timabbott and tests are passing on my personal Travis

Updated @timabbott  :)

Ping on this, @lonerz.  Let's discuss the best approach on chat.

Can you make the first line of the commit message a little more specific, since you have the room?
Also, I feel like we should extract at least some of the line-coverage logic to a function, so that we don't clutter up the module namespace too much.

Moved this to #5533.


Doesn't cope if originating process deletes the pid file

If another process created the pid file and completes it will remove it, but the logic here allows any process that discovers the PID is no longer current to remove the file.
https://github.com/sayanarijit/pidlock/blob/12b45c91e18aa360bb1336c6ec8d6a477e2cb035/pidlock.py#L86-L89
This results in FileNotFoundError: [Errno 2] No such file or directory....
It is fine to remove the file if it's not found when the loop starts, but not if it's been waiting for a job to complete it needs to recheck the file is still there with the same PID before attempting to delete it.

Hey @keiranmraine thanks for reoprting. Could you please provide a reproducible case? Probably a small script / testcase.

Reproducible example:
#!/bin/bash

for i in {1..10}; do
  rm -f $i.pidlock.log
  pidlock -n sleepy_script -w 60 -m 1 -c 'sleep 6' >& $i.pidlock.log&
done
echo 'Wait for max time it "could" take them to complete (60s)'
sleep 60
set -x
grep -F 'No such file or directory' *.pidlock.log

Output:
$ bash pidlock_bug.sh
Wait for max time it "could" take them to complete (60s)
+ grep -F 'No such file or directory' 10.pidlock.log 1.pidlock.log 2.pidlock.log 3.pidlock.log 4.pidlock.log 5.pidlock.log 6.pidlock.log 7.pidlock.log 8.pidlock.log 9.pidlock.log
10.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'
2.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'
3.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'
5.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'
6.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'
7.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'
8.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'
9.pidlock.log:pidlock: [Errno 2] No such file or directory: '/.../.pidlock/sleepy_script.pid'

I hope you don't mind, but there is a major improvement that can be made on how you determine which process gets the first lock.
Creating a file isn't a blocking process.  When locking the standard approach is to create a folder for the process (with a file containing the PID).
So instead of:
.pidlock/sleepy_script.pid

You would create:
.pidlock/sleepy_script/pid.txt

You wouldn't test for the sleepy_script directory just create it via os.makedirs:
try:
     os.makedirs(name, mode=0o777, exist_ok=False)
    # create the pid file, do work
except FileExistsError fe:
    # I need to check to see if the pid exits
    # if it *isn't* here the first time I check, I can clean the folder and retry.
    # if the pid is present when I started I need to leave it to be cleaned up by it's own process.

An additional extension would be to include the host name in the pid file, then you can have this working for compute farms too (where only jobs on the same host can cleanup a lagging lock).

Started https://github.com/sayanarijit/pidlock/pull/5. Will continue tomorrow.

Actually, @keiranmra if you are using this in a critical program and would like to have full control over it's development, I can transfer the ownership. I used this script many years ago and it more or less served its purpose back in the days.

I understand, I'm happy to do so.  It has the benefit of a good name so I'd rather extend it than create something new.  I've created a pypi account (keiranmraine) and my github is the same.  I found an entry for doing it on pypi "How do I become an owner/maintainer of a project on PyPI?" here.  GitHub is normally quite easy.

Sent invitations.

Don't hesitate to ping me for reviews when making changes.

Thanks, shall I leave you as owner on pypi or migrate you to Maintainer?

As you prefer. I don't think I'll be uploading releases.

I think something's wrong with the latest release.

Ah, I've missed testing the behaviour for same host, verbose shows the following for the second job started:
Removing old piddir...

Very odd as printing the lock_pid and the list of pids I can clearly see the value, checking not in use against sets:
https://github.com/keiranmraine/pidlock/blob/102593c2a28affdc8b39575cff25facf4edb5df5/pidlock.py#L111
2621667
[..., 2621667, ...]

As mentioned, you can always ping me for reviews :) . I'm pretty active on GH. Worst case, it might take at-most 1-2 days to respond. For now, I'd delete the releases then investigate.

In these case, I use pdb to debug. It's pretty handy and made for these kind of debugging.

I'm using the vscode plugins, but same diff

I see from line 98 it jumps to 107 even when a script is running.

Ah ok to get the pid

The parsed pid is a string. Needs to be converted to int.

I've just got there too... spent too much time working with perl..

Thanks for the assist.  Will add more checks to the CI, and script this check so easier to catch.

I tried to add some tests to the branch I just closed. You might want to have a look there.

I've had a weird problem with the original code In that if the process runs again but the last process has just deleted the pod bubbler it hangs forever. Very hard to replicate to be sure. Will this pull request fix such a scenario or should I raise a new issue?

@hulleyrob it should handle that as it works on successful creation of a folder instead of the file (which doesn't suffer race conditions).  Working on a v3.0.1 as I made a silly mistake.

Excellent news!
Rob Hulley - Chat @ Spike	[12dc31]
On June 8, 2021 at 14:44 GMT, Keiran Raine @.***> wrote:
@.***(https://github.com/hulleyrob) it should handle that as it works on successful creation of a folder instead of the file (which doesn't suffer race conditions). Working on a v3.0.1 as I made a silly mistake.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update playwright documentation

Add security note to playwright tool

@leo-gan -- maybe yes... it's a bit unclear -- we're trying to figure out what makes sense in terms of security.
Most tools by definition allow an llm to interact with the external world via either data reads/mutations/deletions etc; that's part of the goal of connecting an agent to a tool; e.g., if an llm is given access to the file system, one SHOULD expect that it's possible for the llm by mistake to delete files. I think the issue isn't so much that the tools can't mutate state or have risks, but that the risks aren't clearly commnunicated, so we're to start addressing that.


non-conventional version tag for 0.25.1

Describe the bug
👋 while looking to bump this tool in homebrew/core, I noticed the version tag uses an upper-case V instead of the usual lower-case v. Just flagging this if it's possible to make a fixed tag or to note it for a future release.

Happy to https://github.com/bazelbuild/bazel-watcher/releases/tag/v0.25.1


Relax pillow version restriction

It allows building with Pillow 7.x.

It also fixes #5811

Thanks!


Updated: New Bio Template

Have created a new bio profile.

@24Taylor Thanks for the PR. I'll review and merge it soon.

You may look into a few good first issues which are up for grabs.

:white_check_mark: Link to the repository


Tutorial / Offical Website

You need more documentation!
WebVR is a real thing now and if you actually want people to use this (I am a person who wants to use this), you actually need to make a page explaining how it's supposed to be used. GitHub provides free git-based static hosting that makes this very easy to do! Please consider taking an hour and making a nice guide (and instructions on how best to contribute).
Thanks!
R

Have you been to glamjs.org?
Tony Parisi
CTO at Large
415.902.8002

On Jan 20, 2015, at 9:52 PM, Rich Jones<EMAIL_ADDRESS>wrote:
You need more documentation!
WebVR is a real thing now and if you actually want people to use this (I am a person who wants to use this), you actually need to make a page explaining how it's supposed to be used. GitHub provides free git-based static hosting that makes this very easy to do! Please consider taking an hour and making a nice guide (and instructions on how best to contribute).
Thanks!
R
—
Reply to this email directly or view it on GitHub.

Unfortunately, while glamjs.org has useful examples, it doesn't really provide much in the way of direct documentation.
An hour is unlikely to be enough for useful documentation though: the very first thing I did with glam was to create a rough list of it's classes and constructor signatures; that took a couple hours alone, doesn't cover any CSS or tags and is of rather poor quality (it's not really worth sharing; jsdoc tags in the sources would be far superior and allow for documentation to be generated automatically by #33)
That all said, I found @tparisi's Sept 2014 slides helpful for getting started. It took me a bit realize the importance of Vizi (see also #29) - I would definitely recommend spending some time reviewing the code from both projects.
In addition to contributer instructions, I'd also like to suggest a Google Group or mailing list for general conversation; I'm hesitant to ask some questions as they're not really issues...

Howdy @psema4 yes Vizi is the foundation of the GLAM runtime. This is so important that indeed, #29 is devoted to integrating the two. Vizi is going to become the "GLAM engine" i.e. you can programmatically do stuff that you wouldn't do declaratively... though actually I think I am going to try to steer all future development in two directions: 1) use the DOM to program all your behaviors and 2) use Web Components as the extension mechanism. When all of this has been figured out, there might not even be much of Vizi left over. It could be just GLAM, GLAM-based components and Three.js if you want to do custom rendering of your own components.

I had not been to GlamJS.org - because there is no link to it in this repo! I didn't know it existed!
You need to set the official URL of the GitHub project, and you should include links to related websites and documentation in the README.md file. Simple stuff!

Will do

Done. See #44 and #45.


Set-AuthenticodeSignature fails on Mac OS X

The Cmdlet Set-AuthenticodeSignature fails with missing dll. This seems to be related to #1654
Steps to reproduce
Set-AuthenticodeSignature -Certificate $Certificate -FilePath $FilePath

Expected behavior
File should be signed.
Actual behavior
Set-AuthenticodeSignature -Certificate $Certificate -FilePath $FilePath
Set-AuthenticodeSignature : Unable to load DLL 'crypt32.dll': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
At line:1 char:1
+ Set-AuthenticodeSignature -Certificate $Certificate -FilePath $FilePath ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-AuthenticodeSignature], DllNotFoundException
    + FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.PowerShell.Commands.SetAuthenticodeSignatureCommand

Environment data

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
BuildVersion                   <IP_ADDRESS>
CLRVersion
GitCommitId                    v6.0.0-beta.2
OS                             Darwin 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

@ffeldhaus Thanks for your report! Could you please test on latest build - beta.3?

The issue is the same in beta.3

These cmdlets have not been ported to non-Windows OSs.
@joeyaiello Where did this work fall in the 6.0 plan?

It would be ok if the Cmdlets are not ported in 6.0, but it would be great if there is a warning like the one you get when running Set-ExecutionPolicy:
PS /Users/ffeldhaus/development> Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy AllSigned
Set-ExecutionPolicy : Operation is not supported on this platform.

It is very strange - we don't export unported cmdlets. We have just special tests for this .


Add EC PARAMTERS to PEM file to be compatible with dfx.

Signed-off-by: John Plevyak<EMAIL_ADDRESS>

Note: because of changes to rust clippy I had to add some unrelated fixes to the PR.  I hope that is OK, otherwise I can pull them out separately.


Composer won't install drupal/disqus

Ran into this while trying to require the disqus module in my composer.json:
https://packagist.drupal-composer.org/packages/drupal/disqus
The dependencies on drupal/core and drupal/field here are somehow not satisfied by Drupal 8.0.2
I solved this by cloning the disqus module from d.o, adding my own composer.json details, and pushing my own fork to github and requiring that fork instead.
It seems that perhaps drupal-packagist is adding dependencies that may not be needed as I am happily now using the project without them. Not sure but thought it prudent to report so I can stop using my own fork.

Could you post your composer.json? Thanks!

Closed due to inactivity.


ultrafunguns

mod doesnt seem to work while ultrafunguns is active. Despite changing the Funguns to not take up slot 7.

with UltraFunGuns installed, extra weapons get pushed forward in the slot list to slot 11, which defaults to NumPad0. You can rebind it at the bottom of controls.


Using the same header of the post for the home, when activated publication cover

I love your theme. I think, the header of the posts with the accent color is beautiful. I would have an option to use this header on home with having this huge cover.

Hey,
It is intentional to keep the navigation transparent on the homepage to make it work well with the cover image, and we're not planning to add an option for this.
If you want to have the accent color navigation on the homepage as well, add this styles to the code injection.
<style>
:is(.home-template,.paged:not(.tag-template):not(.author-template)).has-cover .gh-head {
    position: static;
    background-color: var(--ghost-accent-color);
}
</style>


Add label support for kubernetes nodes

What this PR does / why we need it:
This PR adds custom label support for kubernetes nodes and adds the nodes' associated agent pool as a label.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #139
Special notes for your reviewer:
First time working with acs-engine, and possibly my second time with Go. I wrote this PR while working with a customer who requested this feature. Comments and suggestions are more than welcome :)

This change is

@bnookala,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

👋  @colemickens, @dmitsh, @anhowe, just wanted to follow up on this PR for #139, and make sure it gets looked at!

@acs-bot test this please

@seanknox made your changes + rebased on master.

@acs-bot test this please


build: allow building tools and stdlib separately

This restores the ability to build the standard library and the tools in two
separate build invocations.  This is required to cross-compile the standard
library on various targets without building complete toolchains.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test and merge


Licence shows up as non-standard on crates.io

It looks like this is licenced under Apache 2.0, but Cargo doesn't pick up on it unless specified in the manifest. That's why it shows up as "license: non-standard" on crates.io . You may want to add a
license = "Apache-2.0"

or (for GPL compatibility):
license = "MIT/Apache-2.0"

under the [package] section in Cargo.toml.

i tried using the license-file, but it appears to have ignored or failed to parse it. i've updated the Cargo.tom to use the license instead.

Closing as resolved https://github.com/booyaa/wifiscanner/commit/b623f8611f9f56e44717ea8fe44cc732d9abb305


Support Non root for hostpah

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

None
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #151 into master will increase coverage by 0.04%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
+ Coverage   11.98%   12.02%   +0.04%
==========================================
  Files          44       44
  Lines        2095     2088       -7
==========================================
  Hits          251      251
+ Misses       1807     1800       -7
  Partials       37       37

Impacted Files
Coverage Δ

pkg/ddc/alluxio/transform_permission.go
66.66% <ø> (ø)

pkg/ddc/alluxio/transform.go
12.42% <20.00%> (+0.47%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm


Tried to call the protected function 'UNKNOWN()'

Trace:
1x [ADDON_ACTION_FORBIDDEN] AddOn 'LFGSpamFilter' tried to call the protected function 'UNKNOWN()'.
[string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519>
[string "=[C]"]: ?
[string "=[C]"]: in function `SendReport'
[string "@FrameXML\ReportFrame.lua"]:171: in function `SendReport'
[string "@FrameXML\ReportFrame.lua"]:75: in function `InitiateReportInternal'
[string "@FrameXML\ReportFrame.lua"]:427: in function <FrameXML\ReportFrame.lua:413>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML\ReportFrame.lua"]:52: in function `InitiateReport'
[string "@FrameXML\LFGList.lua"]:3281: in function `LFGList_ReportAdvertisement'
[string "@FrameXML\LFGList.lua"]:3313: in function `func'
[string "@SharedXML\UIDropDownMenu.lua"]:918: in function `UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Are you trying to report spam by using "right click - report advertisement"?

Yes

The results table gets tainted by being filtered, so this can't really be fixed. At least not until Blizzard adds an official API to do this.
This happens with any other addon that changes the results, e.g. 0xbs/premade-groups-filter#95
Best I can do is disable that menu option or add some message.

Some message might work, the error only appears every once and a while, it never repeats in succession, the action still completes successfully, the only indicator of an error is the error sound from bugsack.

Ok, I'm not gonna block this action, but I can't fix it either. We'll see what the next xpac does to the APIs.


Create razzle app improved

use default template
packages/create-razzle-app/bin/create-razzle-app cra
use official example
packages/create-razzle-app/bin/create-razzle-app --example=basic cra
use example from npm
packages/create-razzle-app/bin/create-razzle-app --example=razzle-example-basic cra
packages/create-razzle-app/bin/create-razzle-app --example=razzle-example-basic@latest cra
use example in subdir from npm
packages/create-razzle-app/bin/create-razzle-app --example=razzle-example-basic:subexample cra
packages/create-razzle-app/bin/create-razzle-app --example=razzle-example-basic@latest:subexample cra
use example from github
packages/create-razzle-app/bin/create-razzle-app --example=https://github.com/fivethreeo/razzle-example-basic cra
packages/create-razzle-app/bin/create-razzle-app --example=https://github.com/fivethreeo/razzle-example-basic@master cra
use example in subdir from github
packages/create-razzle-app/bin/create-razzle-app --example=https://github.com/fivethreeo/razzle-example-basic:subexample cra
packages/create-razzle-app/bin/create-razzle-app --example=https://github.com/fivethreeo/razzle-example-basic@master:subexample cra
use example from git
packages/create-razzle-app/bin/create-razzle-app --example=git+https://github.com/fivethreeo/razzle-example-basic cra
packages/create-razzle-app/bin/create-razzle-app --example=git+https://github.com/fivethreeo/razzle-example-basic@master cra
use example in subdir from git
packages/create-razzle-app/bin/create-razzle-app --example=git+https://github.com/fivethreeo/razzle-example-basic:subexample cra
packages/create-razzle-app/bin/create-razzle-app --example=git+https://github.com/fivethreeo/razzle-example-basic@master:subexample cra
use example from local path
packages/create-razzle-app/bin/create-razzle-app --example=file:examples/basic cra
real world example
packages/create-razzle-app/bin/create-razzle-app --example=https://github.com/gregberge/loadable-components:examples/razzle cra

Conflicts

i was thinking just not have "official" example and just use the github example loading with subdir for the official ones too, opinions?

@fivethreeo can we add old --examples options!
that option had a nice developer experience you only need know what you want and you just type the name
npx create-razzle-app --example=with-redux my-redux-ssr-app

but using full URL is kind of boring (at least for official examples)

Yes but it requires a extra step in releases, see  scripts/create-examples-list.js

But if we remove npm examples, that won't be needed.

we don't need npm examples they can directly install it from npm, with npm install

Ok, then I know what to do :)

@nimaa77 I don’t need to install example as npm package. I want to create my own example. Inwant to use it as template to bootstrap new application.
yarn create razzle-app --template effector my-app

@sergeysova good argument, will consider it

Looking a bit closer at this I see create-react-app uses examples from npm so i think we should too.

create-react-app also supports file:path to load a local example

So I think wee keep the old way of loading official examples, then add github, git, npm and file: support.

Merged


Juliainstaller Crash Report

"name" = "Juliainstaller"
"operating_system" = "Mac OS 13.6.0 [64-bit]"
"crate_version" = "1.13.0"
"explanation" = """
Panic occurred in file 'src/operations.rs' at line 794
"""
"cause" = """
called Result::unwrap() on an Err value: Failed to open file /Users/driscoll/.bashrc.
Caused by:
Permission denied (os error 13)"""
"method" = "Panic"
"backtrace" = """
0: 0x100526d24 - core::result::unwrap_failed::hc60ef978ea39e1b4
1: 0x1003978a0 - juliaup::command_config_modifypath::run_command_config_modifypath::h128619761258fbf1
2: 0x10028be5c - juliainstaller::main::hc82ac1c4f214aa33
3: 0x100276040 - std::sys_common::backtrace::__rust_begin_short_backtrace::had196ea5bb642008
4: 0x100276960 - std::rt::lang_start::hb2e78bef159560e2
5: 0x100291d6c - _main"""

As an update, deleting my .bashrc file allowed the installation to conclude successfully.

Similar to #827 . Was there a permission issue with you .bashrc?

Not that I noticed, but I can't be sure. It would have been either .bash_profile or .zshrc, though.


Jenkins PDI_multiconfig

In GitLab by @croussel on Nov 14, 2016, 11:35
I think something is wrong with Jenkins configuration for PDI_multi_config ... When trying to test some other the branch I have the following error:
 git rev-parse refs/remotes/origin1/merge-requests/30^{commit} # timeout=10 git rev-parse merge-requests/30^{commit} # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. Finished: FAILURE
@jbigot if you already have this bug I will take the solution otherwise I will look at it later.``

seems to work now...

@croussel  actually I just solved this, some config was missing in the advanced part of the repo configuration

In GitLab by @croussel on Nov 22, 2016, 11:43
Ok! Great!


New request - August 2018

Dear all,
Would appreciate your help to add these songs.
God bless!
Songs - Aug 2018.docx
Thanks,
Seetha

Thanks,
We will add these songs.

God so Loved (Hillsong  Worship).zip
Shout for joy, Hallelujah (Author Unknown {ஆசிரியர் தெரியவில்லை}).zip


chatterbot error

i was working in a small chat bot project and i installed every packages and library but i have still getting an error.
this is my code:
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
from sqlalchemy import create_engine
bot=ChatBot("Charly",read_only= False,logic_adapters=["chatterbot.logic.BestMatch"])
list_to_train=[
"hello",
"how are you?",
"i am fine and you",
"just fine thanks"
]
list_trainer=ListTrainer(bot)
list_trainer.train(list_to_train)
Créer un moteur sans l'argument convert_unicode
engine = create_engine('sqlite:///your_database.db')
this is the error that i still getting : TypeError: Invalid argument(s) 'convert_unicode' sent to create_engine(), using configuration SQLiteDialect_pysqlite/QueuePool/Engine.  Please check that the keyword arguments are appropriate for this combination of components.


Finder bar overlaps window in some cases

When the finder bar is set to 'Auto Hide' and the kap window is open, when hovering at the top of the screen, the finder bar will slide down and cover the top of the kap window.

@matheuss I think we should possibly look into detecting the state of the menu bar or forcing the menu bar as visible whilst Kap is open. https://github.com/electron/electron/pull/817

The menu bar should no longer cover the top of the Kap window, but remains in it's position. That's the same behaviour as for example Dropbox, but differ from the inconsistency seen in the system entries (macOS 10.13.1). Can you confirm using master?

Can't reproduce anymore on v2. Closing.
Please comment if you can reproduce.


Mutation functions to allow coercion

Issue #1205.

✅ No public API change.

✅ No public API change.

✅ No public API change.


Indian mobile prefixes

Several 72 codes have been assigned to mobile operators in India:
7201,7202,7203,7210,7218,7220,7223,7224,7225,7226,7227,7229,7230,7231,7232,7239,7248,7249,7254,7257,7258,7260,7261,7265,7283,7284,7285,710,7266,7267,7268,7269,7270,7271,7272,7273,7274,7279,7280,7281,7282,7283,7289,7290,7291,7292,7294,7295,7296,7297,7300,7310

Partially resolved in release 7.0.9.
@dlyongemallo could you take a look and see what ranges are left to be done?

Fixed by release 7.0.11.


Fail to Open on Windows 10 Pro

I'm running windows 10 Pro 64bit, the 64 bit version installs correctly and run with no issue but the program never shows in the screen although it apeears as running in the taskbar, but clicking the taskbar little window of the program gets no program window in the screen.

As a workaround, you can create a new shortcut to PancakePainter.exe and select 'Maximize' under the 'Run' dropdown. Make sure to create the shortcut to PancakePainter.exe (Default path: %HOMEPATH%\AppData\Local\PancakePainter\app-1.3.0\PancakePainter.exe ). The shortcut that the installer creates actually points to Updater.exe, and changing that to Maximize doesn't help.
You may also need to try snapping/minimizing/maximizing with the Windows+Arrow keys after running from the new shortcut.


DANGEROUS BUG: specifying ~/ as path results in a literal folder "~" being created

On MacOS.
If you manually enter a path for your project destination beginning with the unix shortcut for user home directory, i.e ~/libktx-game, it will create the game folder at ~/~/libktx-game instead of ~/libktx-game, which makes removing that folder ~ via rm extremely dangerous. I imagine the source of the bug is it interpreting ~ as a literal character for the folder name instead of resolving it as a shortcut for /Users/USER/.
Reproduce
1. manually specify a path

2. click "Create folder"

3. click generate project

4. observe that there is now a ~/~/libktx-game folder
cd ~/
cd "~/"
cd libktx-game/
pwd # ~/~/libktx-game/

This is extremely dangerous
after noticing the erroneous file location, I instinctively went to remove it via rm -rf ~/, only realizing immediately after pressing enter that this would remove my entire home directory Users/USER/, instead of the "~" folder in Users/USER/~.  Fortunately, I don't see anything missing in my home folder. I am not sure why the command failed; my user has sudo privileges, and I saw no output after running the command. Perhaps the command was partially successful and I will soon find dozens of deeply nested and important files gone (I hope not)...
Very close call, this should be patched ASAP.

As reiterated by various users across the libGDX Discord, where you (a guest user here) posted as WarioStrikes, acted rudely, and then deleted all of your posts, this isn't actually a bug with Liftoff. You also had claimed that you were on Linux there, and now you're saying MacOS, which calls the rest of this into doubt. First, you are making an assumption that all tools on all OSes act like, for instance, Bash does, and replace the path ~ with the absolute path to the user home directory.  That means deleting it using an escaped filename, like you would with a path containing spaces. Liftoff allows creating projects with spaces in the path, of course.
Second, and also as stated a few times on Discord, other major languages don't act like Bash does; Python 3, for instance, allows creating a folder called ~ that is distinct from the user home folder, and the syntax for a folder ~ refers to a relative path to a folder named ~, not the user home directory. "Other major languages" includes Java, also, so you might want to direct your issue towards OpenJDK, which doesn't use GitHub to track issues anyway (they use JIRA). I'm curious what they think, since this is presumably a long-standing behavior.
On UNIX, when using the command line, you should be keenly aware that any command can have consequences if you aren't conscious of what you are doing. If you are by default in super-user mode, which no professional would ever recommend and I hope you weren't doing, then you must by even more keenly aware that the consequences can be worse. If you actually were on MacOS, then you absolutely had access to an excellent GUI for the filesystem. You can delete folders there, too.
The bug here is that you even considered entering an rm -rf command without checking what you were deleting first. At some point we just need to hold ourselves personally accountable when we make mistakes.


Added default metric port in flytescheduler

TL;DR
Currently flytescheduler use 10253 as default metric port, But all other component use 10254 as default,
Replace port 10253 -> 10254 in flytescheduler for metric
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue
fixes https://github.com/flyteorg/flyte/issues/1864
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/

Can we also test out if metrics are getting published correctly and prometheus is able to scrape and get the data.

@pmahindrakar-oss port is working fine in both services


Explanation code broken in 1.0.76?

This snippet:
from azureml.contrib.interpret.explanation.explanation_client import ExplanationClient
client = ExplanationClient.from_run(best_run)
engineered_explanations = client.download_model_explanation(raw=False)
print(engineered_explanations.get_feature_importance_dict())
Now gives me an error:
File "C:\anaconda\envs\db6.1ML-azureml-py373\lib\site-packages\azureml\explain\model_internal\explanation_client.py", line 475, in download_model_explanation
return self._download_explanation_as_batch(explanation_id=explanation_id, comment=comment, raw=raw)
File "C:\anaconda\envs\db6.1ML-azureml-py373\lib\site-packages\azureml\explain\model_internal\explanation_client.py", line 535, in _download_explanation_as_batch
properties = explanation_asset.additional_properties[History.PROPERTIES]
KeyError: 'properties'
0:17:06: upselllocal done

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

ID: 8aec7bd5-0f42-7a2b-31bc-331fddc49e7a
Version Independent ID: e851a806-59b5-c716-4e5b-cc7d421104a4
Content: Model interpretability in automated machine learning - Azure Machine Learning
Content Source: articles/machine-learning/service/how-to-machine-learning-interpretability-automl.md
Service: machine-learning
Sub-service: core
GitHub Login: @mesameki
Microsoft Alias: mesameki

@8forty
Thanks for the feedback! We are currently investigating and will update you shortly.

@YutongTie-MSFT  what is the doc issue here?

@j-martens Hi Josee, this is a code sample from https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-machine-learning-interpretability-automl#interpretability-during-training-for-the-best-model but returns error to customer.

#assign:@trevorbye

@8forty this looks like an environment bug to me. What python and sdk versions are you on? In general, 3.6.5 works best and then make sure you have the newest sdk version.

python 3.6.5, sdk 1.0.76 originally (see title of this issue), and I'm getting the same problem on 1.0.79 now

@8forty @j-martens @trevorbye Hi guys, I just tried again to reproduce it. I had error but then I fixed it. Please set model_explainability=True in the AutoMLConfig object even this parameter does not appear by default.

@8forty Keith, please have a try to see if it can solve your problem or not. Thanks.

@8forty Close this for now, please let me know if you still have challenge and @YutongTie-MSFT as well. We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Add option to log checkpoints to wandb

This PR:

Adds optional logging of checkpoints to Weights & Biases, with the same frequency as the google drive frequency
Adds an open-in-colab badge to the Finetuning notebook
Fixes an PL warning to use devices=n_gpus instead of gpus=n_gpus

Tested:

save_models_to_google_drive = True | save_models_to_wandb = True
save_models_to_google_drive = False | save_models_to_wandb = True

Examples

Example wandb run: https://wandb.ai/wandb_gen/dd-drums-finetune/runs/98yvisk4
Weights & Biases Artifacts page from above project with the checkpoint
Screenshot of checkpoint saved in Weights & Biases alongside all the training  metadata at that point:

Screenshot of the optional wandb selector:

Hi. might I ask what is the result when storage is completely full. does it just refuse further files or does it cease all logging of data.  Thanks.

@twobob right now there is no programmatic enforcement when you hit the 100GB free limit, you will probably just start to get some emails from sales. If we do enforce programmatically, we'll make sure that metric logging isn't impacted

Could you test this with save_models_to_wandb set to False? I'm pretty sure it'll log it anyways with this setup. Boolean CLI args are weird and it ends up just testing for existence. So even if you pass in "False", it just sets it to True.

Hey @zqevans , good point on the weird behaviour around passing arguments, this fix has been sitting on my machine for a week, finally getting around to pushing it here. I also added a link to a colab the runs from my branch here in case you'd like to test for yourself


Add contacts to pathless formats

Part of: https://trello.com/c/JxKRVn6c/731-export-whitehall-contacts-to-publishing-api-medium
Adds contact as a pathless content item format.
There was also some undesirable/missing behaviour for drafting and publishing content without a base path so this PR adds a way to draft and publish 'pathless' content without sending it to the content store(s).

LGTM 👍


When will version 2.2.2 be ready？

Looking forward to the release.

Oh, I'm on to few things urgent. (also I didn't realize that I didn't work on 2.2.2)
Thanks for the reminder. I should probably take care of it on the weekdays.


game crash when using keyboard

i really need some help. i can play the game normaly with my controller, but as soon as i touch any key on my keyboard the game crashes... it only does this when i have scripthookv .net active. i have installed Microsoft Visual C++ Redistributable Package for Visual Studio 2013 and when i try to install  .net 4.5 it tells me its already installed. i can see the mods im trying to use in-game i just cant use them because i cant use my keyboard at all...

mh, that sounds strange. Any relevant log entries? Do you have special hardware attached to your PC?

i never thought about it being hardware based... i dont have anything special, wifi adapter, bluetooth adapter,mouse and keyboard, but i just tried with all my external hardware disconnected(except mouse and keyboard obviously). i was hopeful that maybe it was my controller causing conflict since i am using a ps4 controller with the imput mapper software but even with it not hooked up it still crashed as soon as i touched the keyboard. there are no errors in the logs for scripthook or scripthook.net. the only error is in the launcher log and it shows the following:
[2015-07-09 16:02:50.677] [DISPLAY] Using DPI 96
[2015-07-09 16:02:52.255] [DISPLAY] File version 10000:1890002 (for D:\steam\steamapps\common\Grand Theft Auto V\GTA5.exe)
[2015-07-09 16:02:52.318] [DISPLAY] File version 10001:60001 (for C:\Program Files\Rockstar Games\Social Club\socialclub.dll)
[2015-07-09 16:02:52.380] [DISPLAY] File version 10000:1890002 (for D:\steam\steamapps\common\Grand Theft Auto V\GTAVLauncher.exe)
[2015-07-09 16:02:52.396] [DISPLAY] Version: |1.0.393.2|<IP_ADDRESS>|1.0.393.2|FSP
[2015-07-09 16:02:52.865] [DISPLAY] OS version: Major: 6, Minor: 2, Build: 9200, Platform: 2
[2015-07-09 16:02:53.052] [DISPLAY] Social Club initializing...
[2015-07-09 16:02:53.771] [DISPLAY] Attempting to create device...
[2015-07-09 16:02:53.787] [DISPLAY] Attempting to initialise DX9 COM object...
[2015-07-09 16:02:53.802] [DISPLAY] Window size: 690 x 496
[2015-07-09 16:02:53.849] [DISPLAY] Successfully created DX Device!
[2015-07-09 16:02:56.931] [DISPLAY] Launching game...
[2015-07-09 16:02:56.936] [DISPLAY] (path: D:\steam\steamapps\common\Grand Theft Auto V\GTA5.exe cmdline: "D:\steam\steamapps\common\Grand Theft Auto V\GTA5.exe")
[2015-07-09 16:03:04.111] [WARNING] Device lost.
[2015-07-09 16:03:04.111] [WARNING] Resetting device...
[2015-07-09 16:03:04.357] [WARNING] Reset failed with D3DERR_DEVICELOST.
[2015-07-09 16:04:44.452] [WARNING] Resetting device...
[2015-07-09 16:04:44.639] [ ERROR ] GameComm: ReadFile failed.
[2015-07-09 16:04:44.679] [DISPLAY] Reset succeeded.
[2015-07-09 16:04:44.998] [DISPLAY] Game exited with code 255
[2015-07-09 16:04:44.998] [ ERROR ] Unable to stat out-file!
[2015-07-09 16:04:45.014] [ ERROR ] ************************************************************************
[2015-07-09 16:04:45.014] [ ERROR ] * Setting error condition
[2015-07-09 16:04:45.014] [ ERROR ] * Category:  1 (ERROR_CATEGORY_LAUNCHER)
[2015-07-09 16:04:45.014] [ ERROR ] * Code:      1 (LAUNCHER_ERR_INVALID_OUTFILE)
[2015-07-09 16:04:45.014] [ ERROR ] * Extra:
[2015-07-09 16:04:45.014] [ ERROR ] * Localised: Launcher error.  Code: 7
[2015-07-09 16:04:45.014] [ ERROR ] ************************************************************************
[2015-07-09 16:04:45.014] [ ERROR ] Unable to read out-file!
[2015-07-09 16:04:45.014] [ ERROR ] ************************************************************************
[2015-07-09 16:04:45.014] [ ERROR ] * Setting error condition
[2015-07-09 16:04:45.014] [ ERROR ] * Category:  5 (ERROR_CATEGORY_EXIT_CODE)
[2015-07-09 16:04:45.014] [ ERROR ] * Code:      5 (ff)
[2015-07-09 16:04:45.014] [ ERROR ] * Extra:
[2015-07-09 16:04:45.014] [ ERROR ] * Localised: Grand Theft Auto V exited unexpectedly.
Please click Retry below to enter the game again, or click Safe Mode to launch the game with reduced graphics settings.
If you continue to have problems playing the game, please contact Rockstar Games Customer Service at http://support.rockstargames.com
[2015-07-09 16:04:45.014] [ ERROR ] ************************************************************************
[2015-07-09 16:04:45.035] [ ERROR ] Unable to clear in-file and out-file!
[2015-07-09 16:04:49.054] [DISPLAY] Uninitializing.
and here is the scripthook.net log:
[16:04:17] [DEBUG] Created script domain 'ScriptDomain_3E504777'.
[16:04:17] [DEBUG] Loading scripts from 'D:\steam\steamapps\common\Grand Theft Auto V\scripts' into script domain 'ScriptDomain_3E504777' ...
[16:04:17] [DEBUG] Found 1 script(s) in 'DrugTraffic.dll'.
[16:04:17] [DEBUG] Found 6 script(s) in 'SinglePlayerGarage.dll'.
[16:04:17] [DEBUG] Found 1 script(s) in 'TruckingMissions.dll'.
[16:04:17] [DEBUG] Starting 8 script(s) ...
[16:04:17] [DEBUG] Instantiating script 'DrugTraffic.DrugDeal' in script domain 'ScriptDomain_3E504777' ...
[16:04:17] [DEBUG] Started script 'DrugTraffic.DrugDeal'.
[16:04:17] [DEBUG] Instantiating script 'mlgthatsme.GarageMod.NotificationManager' in script domain 'ScriptDomain_3E504777' ...
[16:04:17] [DEBUG] Started script 'mlgthatsme.GarageMod.NotificationManager'.
[16:04:17] [DEBUG] Instantiating script 'mlgthatsme.GarageMod.SinglePlayerGarageScript' in script domain 'ScriptDomain_3E504777' ...
[16:04:18] [DEBUG] Started script 'mlgthatsme.GarageMod.SinglePlayerGarageScript'.
[16:04:18] [DEBUG] Instantiating script 'mlgthatsme.GUI.NativeInputManager' in script domain 'ScriptDomain_3E504777' ...
[16:04:18] [DEBUG] Started script 'mlgthatsme.GUI.NativeInputManager'.
[16:04:18] [DEBUG] Instantiating script 'mlgthatsme.AnimatedCameraScript' in script domain 'ScriptDomain_3E504777' ...
[16:04:18] [DEBUG] Started script 'mlgthatsme.AnimatedCameraScript'.
[16:04:18] [DEBUG] Instantiating script 'mlgthatsme.GarageMod.NetNotifications' in script domain 'ScriptDomain_3E504777' ...
[16:04:18] [DEBUG] Started script 'mlgthatsme.GarageMod.NetNotifications'.
[16:04:18] [DEBUG] Instantiating script 'mlgthatsme.GarageMod.CharacterEditor' in script domain 'ScriptDomain_3E504777' ...
[16:04:18] [DEBUG] Started script 'mlgthatsme.GarageMod.CharacterEditor'.
[16:04:18] [DEBUG] Instantiating script 'TruckingMissions' in script domain 'ScriptDomain_3E504777' ...
[16:04:18] [DEBUG] Started script 'TruckingMissions'.

im really not sure the launcher log is relevant cause i just tried again with out scripthook.net active and the game worked normally but the launcher log is still showing an error:
[2015-07-09 16:27:37.554] [DISPLAY] Using DPI 96
[2015-07-09 16:27:37.616] [DISPLAY] File version 10000:1890002 (for D:\steam\steamapps\common\Grand Theft Auto V\GTA5.exe)
[2015-07-09 16:27:37.679] [DISPLAY] File version 10001:60001 (for C:\Program Files\Rockstar Games\Social Club\socialclub.dll)
[2015-07-09 16:27:37.726] [DISPLAY] File version 10000:1890002 (for D:\steam\steamapps\common\Grand Theft Auto V\GTAVLauncher.exe)
[2015-07-09 16:27:37.741] [DISPLAY] Version: |1.0.393.2|<IP_ADDRESS>|1.0.393.2|FSP
[2015-07-09 16:27:38.210] [DISPLAY] OS version: Major: 6, Minor: 2, Build: 9200, Platform: 2
[2015-07-09 16:27:38.366] [DISPLAY] Social Club initializing...
[2015-07-09 16:27:39.085] [DISPLAY] Attempting to create device...
[2015-07-09 16:27:39.101] [DISPLAY] Attempting to initialise DX9 COM object...
[2015-07-09 16:27:39.101] [DISPLAY] Window size: 690 x 496
[2015-07-09 16:27:39.148] [DISPLAY] Successfully created DX Device!
[2015-07-09 16:27:41.821] [DISPLAY] Launching game...
[2015-07-09 16:27:41.829] [DISPLAY] (path: D:\steam\steamapps\common\Grand Theft Auto V\GTA5.exe cmdline: "D:\steam\steamapps\common\Grand Theft Auto V\GTA5.exe")
[2015-07-09 16:27:46.832] [WARNING] Device lost.
[2015-07-09 16:27:46.832] [WARNING] Resetting device...
[2015-07-09 16:27:47.146] [WARNING] Reset failed with D3DERR_DEVICELOST.
[2015-07-09 16:29:06.251] [ ERROR ] GameComm: ReadFile failed.
[2015-07-09 16:29:06.692] [WARNING] Resetting device...
[2015-07-09 16:29:06.714] [DISPLAY] Reset succeeded.
[2015-07-09 16:29:07.522] [DISPLAY] Reset succeeded.
[2015-07-09 16:29:07.653] [DISPLAY] Game exited with code 0
[2015-07-09 16:29:08.991] [DISPLAY] Uninitializing.

What happens if you use the .Net ScriptHook without any scripts (I think I heard of crash issues with one of the Single Player Garage mod versions)?

Still crashes. I've tried with only .net scritpthook, with each individual mod separately, and all the mods together... it doesn't matter what I do. If .net scripthook is active the game crashes as soon as I touch any key on the keyboard...

nothing?

please help!!!

Well, we can't help if we have no clue how to reproduce this...

It turns out it was some kind of conflict with the keyboard itself. It's a Microsoft wireless keyboard. The receiver has both ps/2 and USB plugs on it. Since I am not using a Microsoft mouse I was just using the ps/2 plug. I switched to the USB plug and now it works... weird.


Unable to import venv installed packages

Describe the bug
I have packages installed on venv. I could import them before updating to 0.3.3.
Environment
{
"marimo": "0.3.3",
"OS": "Linux",
"OS Version": "6.6.22_1",
"Processor": "",
"Python Version": "3.12.2",
"Binaries": {
"Chrome": "--",
"Node": "v18.19.1"
},
"Requirements": {
"click": "8.1.7",
"jedi": "0.19.1",
"pymdown-extensions": "10.7",
"starlette": "0.37.2",
"tomlkit": "0.12.3",
"typing_extensions": "4.10.0",
"uvicorn": "0.28.0"
}
}
Code to reproduce
python -m venv --system-site-packages ~/venv
git clone https://github.com/gdamjan/hello-world-python-package.git
cd hello-world-python-package
~/venv/bin/pip install -e .
cd ..
. ~/venv/bin/activate
marimo edit test.py

In marimo
from cool_lib import a

I think this worked on marimo 0.3.1. On 0.3.3 doesn't work.

Note: If I open marimo in the hello-world-python-package folder, it works.
Before the update it worked in any folder.

Can you type which marimo? Want to make sure marimo wasn't accidentally installed in your system python installation.
If you downgrade, does it work?

$ which marimo
/usr/bin/marimo
I don't understand why it stopped working... I'm downgrading it to every version until 0.2.7 but still does not work...

I got it working on 0.2.7

... this is very strange, since if i just run . ~/venv/bin/activate and  python and in it I write from cool_lib import a it does work!

Using python -m marimo edit test.py works, but before just marimo edit test.py worked...
Maybe something about python has changed...

I think you may have accidentally installed marimo globally. Can you deactivate your virtual environment, uninstall marimo with pip uninstall marimo, then try again?

I've willingly installed marimo globally... I'm attempting to package it for void-linux

Closing since this is expected behavior in void linux: https://github.com/void-linux/void-packages/issues/49402


test: increase jest testTimeout setting

Increase jest testTimeout setting to avoid random test failure due to timeout
on slow cpus.

I prefer avoiding a large global timeout. Only e2e tests can go over default timeout and they all have explicit timeouts now: https://github.com/vuejs/vue-next/blob/master/packages/vue/examples/tests/commits.spec.ts#L54

Run with jest --runInBand can avoid timeout.


Azure disks as persistent volumes

We are looking for a drop-in replacement for different services that currently can run only on VM or AKS, and the main issue seems to be the support for persistent volumes (mounts) with Azure Disks.
Long story short, we have a few services that can run inside a container but need reliable and performant storage to work properly, e.g. Seq, uptime-kuma.
Since AKS seems to be able to mount an Azure Disk as persistent storage, do you have plans on bring this feature on Container Apps?
For context: those scenario are not currently covered by App Services or ACI because they only support mounting Azure Files / Azure Blobs volumes

@fdipuma, would Azure Files attach address the requirements as an alternative?

@fdipuma, would Azure Files attach address the requirements as an alternative?

I'm afraid not, unfortunately Azure Files does not support workloads like databases (sqlite or similar services that heavily interact with the file system):
https://github.com/MicrosoftDocs/azure-docs/issues/47130
It seems that in those cases only Azure Disks are supported.

Azure Files are supported. Dapr is not required

Would love to see support for Managed Disks as well! Some of the containers I run in AKS/Docker won't work with Azure Files.

For now we have no plans to add support for this feature. If someone feels strongly please reopen/recomment.

Not implementing this seriously limits the usefulness of azure container apps imo.