[BUG] OpenBSD tests on ksh - POSIX

Describe the bug

[x] mkdir -v - (verbose) is not posix and not present on OpenBSD mkdir, remove this.
[ ] usermod -a - (append) does not exist, usermod is not posix but present on probably every unix. I
[ ] basez - it does not exist on OpenBSD, a port is being made
[x] qrencode - OpenBSD calls the package libqrencode, but calls the command qrencode. This means that the requirement will become libqrencode but the command will remain as qrencode, this currently fails on setup because it does command -v libqrencode and I should refer to the qrencode with a case statement.
[x] nginx and apache fails to be detected because they are not in /usr/sbin/ as on debian, but on /usr/local/sbin. I had to hardcode the path of the webserver because on debian, command -v nginx does not output anything as the process is on a restricted system folder. command -v nginx works on openbsd, so I would first try with command -v then if-else to the next individual tests if failed before.
[x] nginx the /etc/nginx exists, but not the /etc/nginx/sites-{available,enabled}. This means the /etc/nginx/nginx.conf has to be modified to include the directory with include /etc/nginx/modules-enabled/*.conf; - ABANDONED, will substitue for httpd on OpenBSD
[x] sha256sum does not exist on openbsd, it is called sha256. It is used to show backup hash sum. It comes already installed on openbsd and debian but they have a different command name. best fix is to test if it exists and fallback to the second option and then fall to not using it.

Terminal output

Screenshots

Please complete the following specifications:

OpenBSD 7.0
Ksh v5.2.14 99/07/13.2
more info
the /etc/onionjuggler.conf:
privilege_command="doas"
tor_user="_tor"
tor_service="tor"
pkg_mngr_install="pkg_add"
requirements="tor grep sed openssl basez git libqrencode pandoc lynx tar pyt-stem nginx dialog"

most of the problems of setup solved on 445645192c8b9b03fdf0fc1135101223c7235af3

missing the alternative package for basez to encode and decode base32
missing including nginx folder, will test with apache later

the hostname bug, it is not posix, so just removed from the code, to be commited,
the sed problem when getting the block on the torrc
the chown problem to root the /etc/tor, why invalid?

TUI
Getting some permission problems, need to set -x later.
How is the TUI looking?

My thoughts so far:

I have already tested running on ksh, it works
some of my sed is GNU, not BSD, saaaddd
sudo/doas and tor will be a guided step for installing, it is not viable right now to handle that for every operating system, including some that have multiple service managers.

restarting_tor fails because there is just systemctl available there, fix this

second commit for openbsd 2992b7d1313b57514f2ee9c532223f5f13b3e651
fix systemctl to also rcctl via variable
fix /etc/tor being owned by root:root to also be a variable that can be root:wheel

OpenBSD configuration:
printf "
privilege_command=\"doas\"
tor_user=\"_tor\"
tor_service=\"tor\"
service_manager=\"rcctl\"
etc_group_owner=\"wheel\"
pkg_mngr_install=\"pkg_add\"
dialog=\"dialog\"
web_server=\"nginx\"
requirements=\"tor grep sed openssl base64 git libqrencode pandoc tar py-stem ${dialog} ${web_server}\"
" | doas tee -a /etc/onionjugger.conf

on /etc/tor/torrc:
RunAsDaemon 1
DataDirectory /var/lib/tor
User          _tor

on
yay, first service activation
note the sed error, it fails to delete previous configuration lines.

off
not working, my sed is GNUsed so configuration not removed, but the onion dir is, so after tor is reloaded, it is recreated, so just need to fix sed
auth
not working, need a base32 package still...

This grep the HiddenServiceDir lines for a specific service and more 7 lines below it. It will then test if it should break or print the line.
It will break on

empty lines
commented lines
lines beggining with HiddenServiceDir excluding the correct match of course, because of the loop times with the var $i

i=0
grep -A 7 "HiddenServiceDir .*/${service}$" "${torrc}" | while IFS= read -r line; do
  i=$((i+1))
  ## break on empty lines, lines beggnning with HiddenServiceDir (excluding the first loop) and commented lines
  { [ -z "${line}" ] || { [ ${i} -gt 1 ] && [ "${line%% *}" = "HiddenServiceDir" ]; } || { printf "%s${line}" | grep -q "^#"; }; } && break
  printf '%s\n' "$line" ## actually print the line
done

This can be used in combination with sed to remove lines, as it is looping, it will remove every line necessary individually, instead of deleting the whole block.
This means that there is no more need for HiddenService blocks, although it is easier to read, now it won't cause damage having lines bundled together.
Lesson learned: having less gnu extensions and making the code more portable, even if involving more lines of code, makes it safer to use.

other commit for this is 6fac9095749304da733bb603d3d65cd6dedfe67a

lots of bugs fixed for posix and compatibility with other service managers.
what is missing

[ ] nginx and apache2 directories (sites-{enabled,available} being created and include
[ ] basez substitute

about the file system hierarchy.
User installation goes to /usr/local/bin, not /bin.
There is no /usr/local/etc on openbsd to but the configuration file, all goes directly to /etc.
There is no /run to move the unix socket from /var/run.
No change is needed, just reporting to not make that mistake.

Sed on BSD is working because of this trick here https://unix.stackexchange.com/a/401928
with sed -i'' to not create backups on BSD and insert as on Linux, it will overwrite the original file, which is what we want.

Horrible news.
The command openssl on openbsd actually calls libressl, which does not support x25519 for the ClientAuth. (/usr/bin/openssl)
The command eopenssl11 (v1.1) or eopenssl30 (v3.0) is actually the real command. (/usr/local/bin/eopenssl30).
That is horrible, because if every distro calls the original openssl differently, I need to change the command name to a variable, which the command is a openssl or eopenssl30 but the package is still openssl.
It happened differently with qrencode. The command is qrencode but the package could be qrencode or libqrencode.

tput reset has the same effect on OBSD and Deb, that I why I preferred it over tput clear.
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/tput.html#tag_20_131

https://github.com/nyxnor/onionjuggler/commit/0f1251392c8e6afdcaef484dc30c409e2d2be2fa
a green bird sent me a makefile for basez on opensbd and it worked. There will be a port for it soon.
auth needs that to be fixed.
Next step is fixing web with openbsd httpd https://github.com/nyxnor/onionjuggler/issues/32
Last step will be adding an openrc service to vanguards.
Then that is it, openbsd will be fully supported.

Notes on bsd ecosystem
posix
easier to test for posix programs instead of using a bunch of gnu extensions. but don bee fooled, there are still bsd extensions, but way less.
portability
being posix is not enough because the programs interact with a lot of actions, daemon, so it becomes tricky to manage a lot of environment. So far I don't see any hardcode that is messy except the openssl_cmd that has different names
dialog_box
there is no whiptail on openbsd, so supporting dialog was the right choice
on obsd I have to install the dialog
on fbsd it already comes in the base
web_server
nightmare nightmare nightmare

Testing Vanguards on OpenBSD... learning how to use rc.d scripts. It is failing
on /etc/onionjuggler/onionjuggler.conf:
tor_data_dir="/var/tor"
tor_conf_dir="/etc/tor"

on /etc/rc.d/vanguards:
need permissions 755 just like tor to write to file vanguards.state and maybe the logs.
#!/bin/ksh
#
# $OnionJuggler: Vanguards,v ${vanguards_version} $(date +%Y/%m/%d' '%H:%M:%S) rpe Exp $

daemon="${tor_data_dir}/vanguards/src/vanguards.py"
daemon_flags="--config ${tor_conf_dir}/vanguards.conf"

. /etc/rc.d/rc.subr

rc_reload=NO

rcexec="su -fl -c ${daemon_class} -s /usr/local/bin/python3 ${daemon_user} -c"

rc_start() {
       ${rcexec} "${daemon_logger:+set -o pipefail; }${daemon} ${daemon_flags}${daemon_logger:+ 2>&1 |
               logger -ip ${daemon_logger} -t ${_name}}"
}

rc_cmd $1

trying...
$ doas rcctl -d restart vanguards
doing _rc_parse_conf
doing _rc_quirks
vanguards_flags empty, using default >--config /etc/tor/vanguards.conf<
doing _rc_parse_conf /var/run/rc.d/vanguards
doing _rc_quirks
doing _rc_parse_conf
doing _rc_quirks
vanguards_flags empty, using default >--config /etc/tor/vanguards.conf<
doing _rc_parse_conf /var/run/rc.d/vanguards
doing _rc_quirks
doing rc_check
doing _rc_parse_conf
doing _rc_quirks
vanguards_flags empty, using default >--config /etc/tor/vanguards.conf<
doing rc_check
vanguards
doing rc_start
doing _rc_wait start
  File "<string>", line 1
doing rc_check
    /var/tor/vanguards/src/vanguards.py --config /etc/tor/vanguards.conf
    ^
SyntaxError: invalid syntax
doing _rc_rm_runfile
(failed)

reported on https://github.com/mikeperry-tor/vanguards/issues/89

openbsd is not working with:

vanguards because I never figured how to configure the rc script
auth because basez needs to be ported,
web because it is difficult to cleanly delete a configuration block from the httpd.conf

Wontfix because got not time.
Anyway, service creation and deletion is working, that is the basics.
The scripts are posix compliant.


Create simple_pyramid_pattern.py

It's a program for making a simple pyramid pattern. It takes user input to create pyramid.
Description
It's a simple python program to make pyramid pattern by asterisk. It takes the size according to user input.
Fixes #(issue_no)
Replace issue_no in the above line, with the issue related to this PR.
Type of change
Choosing one or more options from the following as per the nature of your Pull request.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation Update

Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.

[ ] I have named my files and folder, according to this project's guidelines.
[ ] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[ ] I have included a requirements.txt file (if external libraries are required.)
[ ] My changes do not produce any warnings.
[ ] I have added a working sample/screenshot of the script.

refer #282


Fix challenge handshake url

Remove angle brackets to prevent app throwing "Invalid URL" error

Thanks @MaxStalker <3


Upgrade thor to master version to test the new release

I'm planing to release a new version of thor so I'm opening this pull request to test if the new release doesn't break bundler and later to update to the released version.

This seems to have broken the --no-color flag being passed to help

Thanks, I'll investigate it.


odo deploy does not delete resources present remotely but not in the Devfile

/kind bug

What versions of software are you using?
Operating System:
Fedora 35
Output of odo version:
odo v3.1.0 (0364cc880)
How did you run odo exactly?
export PODMAN_CMD=echo

odo init --devfile-path https://raw.githubusercontent.com/redhat-developer/odo/main/tests/examples/source/devfiles/nodejs/devfile-deploy.yaml --name my-nodejs-app

odo deploy

Change the deployment name from my-component to my-component-2
sed -i "s/my-component/my-component-2/" devfile.yaml

odo deploy

k get deploy my-component

Actual behavior
my-component deployment is not deleted.
Expected behavior
my-component deployment should have been deleted since it is not present in the Devfile.
Any logs, error output, etc?

/remove-lifecycle rotten
/remove-lifecycle stale
/lifecycle frozen
/reopen
Still relevant.


Migrate multi-valued rights fields to single-valued ones

See #183. We can add multiple licenses, but maybe we shouldn't?

We should have only one at the work level.  In ScholarSphere we hide the second/multiple rights display as single value.

override the form for this metadata field


lock before sleep script

I'm having an issue with the script not locking before sleep.
When I run 'systemctl suspend' to test I can see the lock image flash very quickly before the system goes to sleep but when I wake up it's not locked.
When I just run 'betterlockscreen -s' it works. I would like to have the system lock before going to sleep when I leave it idle or close the lid for example so using the '-s' command only is not an option.
Any ideas why?

I'm having an issue with the script not locking before sleep.
When I run 'systemctl suspend' to test I can see the lock image flash very quickly before the system goes to sleep but when I wake up it's not locked.
When I just run 'betterlockscreen -s' it works. I would like to have the system lock before going to sleep when I leave it idle or close the lid for example so using the '-s' command only is not an option.
Any ideas why?

I am using betterlockscreen on awesome wm for me too it doesnt lock when lid closed so i added this
while true
do
if ! grep -q open /proc/acpi/button/lid/LID0/state; then
betterlockscreen --lock blur
fi
done
to my autostart script just running an infinite loop worries me a bit.
suggestions are welcomed.

Closing the issue as it should be outdated, if you still experiencing issues, feel free to reopen :)

I'm having the exact same problem but worse :(

For some reason changing to "forking" keeps my computer stuck in tty while trying to resume and only
systemctl kill betterlockscreen@$USER will allow me to get back to my desktop.

betterlockscreen --lock works fine though


docs: Update the docs examples.

Change the tutorial view example from DDL to SDL.
Use short path in UPDATE examples.

We're keeping DDL for adding a view in the tutorial.


2024 is it still working?

Hei first of all this is one of the funniest things i see in a long time i wanna ask if its still working with the new updates of roomba? Mine is a roomba 966 is it working with that either ?

Hi @Tyconfication, I think this should all still be working! Feel free to give it a shot and let me know if you run into problems.

First thanks for your reply, i got one maybe "newbie" question how do i find the device interface for bluetooth with which command ?


Define rough architecture for middleware

The functionality of the middleware is now split into three packages. The middleware package takes care of communicating with bitcoind and lightningd and emits an event if new data is received.
The handlers package takes care of the communication with the bitbox-wallet-app. It upgrades connections to websocket, if requested, and starts the main middleware event loop. Events from the
middleware are caught and passed into a websocket handler.
The main package is what is compiled into a binary. It parses command line arguments and creates new middleware and handler instances.
This commit also implements a coherent logging structure, which is handled in the same fashion as in the bitbox-wallet-app.

I discussed this PR with @TheCharlatan offline, and the CI that was added in https://github.com/digitalbitbox/bitbox-base/pull/34 should be passing at 80f9a769676233187e416648a21b8e5e7de238a8.
Even with using the github.com/sirupsen/logrus package directly, we still end up pulling in ~230k LoC, so we'll instead plan to not use any fancy logging package and leave some guidelines for how to structure log output for future developers.

We looked briefly into why github.com/sirupsen/logrus actually needs ~230k LoC, and it seems that ~225k LoC was due to the package depending on golang.org/x/sys/unix, which seems to just be used to detect if the caller is on UNIX, MacOs or Windows. There seems to have been some prior efforts (e.g https://github.com/sirupsen/logrus/pull/930) to reduce the size of the logrus dependency graph, so for now we should probably stick to the recommendation of not using that package. If we can manage without any 3rd party package at all for logging (i.e just using fmt and log packages) that'd be easiest.


dotnet-monitor should return more info for processes

Currently dotnet-monitor for /processes only returns the pid of the process.
I get that this has been mainly deisgned for containers scenarios when you have a single process with pid one, however given it supports more then one process, I think it should return more info to be able to identify the process you are interested to get info from.
Something like the ps command in the other tools would be great:

pid
process name
full exe path

https://github.com/dotnet/diagnostics/blob/05a3ae6f69e5dbb405079abeda88e0abec1328b6/src/Tools/Common/Commands/ProcessStatus.cs#L48

Support for additional process information was added in https://github.com/dotnet/diagnostics/pull/1596
These are current process information routes:

/processes - Lists discovered processes
/processes/{id} - Scalar information about the specified process such as process id, runtime instance cookie, name, command line, architecture, and operating system. Some information such as the architecture and operation system may not be known for .NET Core 3.1 processes.
/processes/{id}/env - The environment block for the specified process. This route only works for .NET 5 and later processes.


Support direct messages to offline players

intercept commands
if /msg and target player is offline, but exists in ClodMC player data

cancel event
store message in datafile, with timestamp
let sender know

when a player logs in

replay stored messages, if any
use relative timestamps with coarse precision
[1h ago] <glob> hey, i left you a present

fixed by 8b6d4504825b96912877dfeac62a50e8d188dcd0


Lines 465 - 508

<{{sender_name}}>* should be changed to {{sender_name}}
<{{sender_city}}>* should be changed to {{sender_city}}
{{sender_state}}>* should be changed to {{sender_state}}
<{{sender_zip}}>* should be changed to {{sender_zip}}
I am not familiar with the HTML to make that change based on the above, so my edits are not complete.
Description of the change:  see above
Reason for the change:  Incorrect tags given

Hello @tparkersendgrid,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Add some words on Spring Boot support to package Java tutorial

Follow up to previous PR for issue #6

Awesome, thanks!


Initial Rule Set using DataModels

Description
Create DataModel for a few log sources. Create a few rules that leverages the DataModels and the udm method.
Related Services
BE support for standard fields / accessing standard fields.
Acceptance Criteria

Rules use standard field accesses

hey @lindsey-w is this something we'll have in 1.14?

Hey @mattthetraveler - turns out we need to publish a new version of the panther_analysis_tool before I can push up the new data models/rules here.  I suspect that will be done early next week; so this might need the 1.15 milestone then.


Do you support Dicom-RT images?

Hi,
I apologize if your documentation address this question, but i'm relatively new to the DICOM/PACS world.  Does your library support DICOM-RT?

It should, I haven’t tried it though
On Thu, Feb 13, 2020 at 3:03 PM Nik<EMAIL_ADDRESS>wrote:

Hi,
I apologize if your documentation address this question, but i'm
relatively new to the DICOM/PACS world. Does your library support DICOM-RT?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cornerstonejs/cornerstone/issues/438?email_source=notifications&email_token=AAJVXWT5ECVCWPWFZOONIN3RCWYRLA5CNFSM4KU232RKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INMNXYA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJVXWVITU7YHJZBGLUVZP3RCWYRLANCNFSM4KU232RA
.


Snowboy build error

Hi,
i have problem with build sdk build. My cmake config:
cmake ../avs-device-sdk -DKITTAI_KEY_WORD_DETECTOR=ON -DKITTAI_KEY_WORD_DETECTOR_LIB_PATH=/home/mkowalik/QtProjects/alexa/snowboy/lib/ubuntu64/libsnowboy-detect.a -DKITTAI_KEY_WORD_DETECTOR_INCLUDE_DIR=/home/mkowalik/QtProjects/alexa/snowboy/include -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=/usr/local/lib/libportaudio.so -DPORTAUDIO_INCLUDE_DIR=/usr/local/include
I'm getting following error:

Scanning dependencies of target KittAiKeyWordDetectorTest
[ 70%] Building CXX object KWD/KittAi/test/CMakeFiles/KittAiKeyWordDetectorTest.dir/KittAiKeyWordDetectorTest.cpp.o
In file included from /home/mkowalik/QtProjects/alexa/avs-device-sdk/KWD/KittAi/test/KittAiKeyWordDetectorTest.cpp:8:0:
/home/mkowalik/QtProjects/alexa/avs-device-sdk/ThirdParty/googletest-release-1.8.0/googletest/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’:
/home/mkowalik/QtProjects/alexa/avs-device-sdk/ThirdParty/googletest-release-1.8.0/googletest/include/gtest/gtest.h:1421:23:   required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; bool lhs_is_null_literal = false]’
/home/mkowalik/QtProjects/alexa/avs-device-sdk/KWD/KittAi/test/KittAiKeyWordDetectorTest.cpp:353:5:   required from here
/home/mkowalik/QtProjects/alexa/avs-device-sdk/ThirdParty/googletest-release-1.8.0/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lhs == rhs) {
^
[ 71%] Linking CXX executable KittAiKeyWordDetectorTest
../src/libKITTAI.so: undefined reference to snowboy::SnowboyDetect::SnowboyDetect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' ../src/libKITTAI.so: undefined reference to snowboy::SnowboyDetect::SetSensitivity(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
collect2: error: ld returned 1 exit status

Hi @sajmplus,
What compiler version are you using? Kitt.ai only releases certain versions of their binaries publicly, and we've found that only certain versions of GCC are compatible with building/linking Kitt.ai. If I recall correctly, certain higher versions of GCC couldn't link Kitt.ai properly. GCC 4.8.5 worked for me. If you need Kitt.ai for your specific compiler/toolchain, you can contact them to see what they can do.
Others were also having the same issue as you: https://github.com/Kitt-AI/snowboy/issues/99. There is a temporary fix in that issue that you can use as well if you are hesitant to change GCC versions.
Thanks,
Sanjay

Hi, I've got problem as well when running the cmake
cmake $SDK_SRC -DSENSORY_KEY_WORD_DETECTOR=ON -DSENSORY_KEY_WORD_DETECTOR_LIB_PATH=$LOCAL_BUILD/lib/libsnsr.a -DSENSORY_KEY_WORD_DETECTOR_INCLUDE_DIR=$LOCAL_BUILD/include -DGSTREAMER_MEDIA_PLAYER=ON -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=$LOCAL_BUILD/lib/libportaudio.a -DPORTAUDIO_INCLUDE_DIR=$LOCAL_BUILD/include -DCMAKE_PREFIX_PATH=$LOCAL_BUILD -DCMAKE_INSTALL_PREFIX=$LOCAL_BUILD

I have installed gcc 5.4.0 and it is used as default.
Use of gcc-4.8 resolves problem.
CC=gcc-4.8 CXX=g++-4.8 cmake ../avs-device-sdk ...


Update node documentation to include VFN configuration

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
N/A
Related PRs
N/A
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

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


[Bug] 无法更新

Checklist

[X] My issue was not mentioned by others, and it is not a duplicate issue.

Description
在更新原神4.6版本时遇到了无法更新的情况
Reproduction Steps
Uploading step.zip…
Expected Behavior
No response
Screenshots

Starward Version
0.11.4
Windows Version
19045.4291
Log
[06:58:05.881] [INFO]
Welcome to Starward v0.11.4
System: Microsoft Windows NT 10.0.19045.0
Command Line: E:\Starward_Portable_0.9.1_x64\Starward\app-0.11.4\Starward.dll download --biz hk4e_cn --loc "F:\Genshin Impact Game" --lang 3

[06:58:05.931] [INFO] Starward.Services.DatabaseService
Database path is 'E:\mihoyo'

[06:58:05.963] [INFO] Starward.Services.DatabaseService
Database version is 8, target version is 8.

[06:58:06.290] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Initialize install game service
biz: hk4e_cn
path: "F:\Genshin Impact Game"
lang: Chinese, English
repair: False
reinstall: False

[06:58:06.346] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Start install game, skipVerify: False

[06:58:06.348] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Prepare for download.

[06:58:07.910] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Update game.

[06:58:07.916] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Request head: "https://autopatchcn.yuanshen.com/client_app/update/hk4e_cn/18/zh-cn_4.5.0_4.6.0_hdiff_2a7jHyNe6YWsM3Ob.zip"

[06:58:07.916] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Request head: "https://autopatchcn.yuanshen.com/client_app/update/hk4e_cn/18/en-us_4.5.0_4.6.0_hdiff_zY5rUsWHTdvLp76g.zip"

[06:58:07.916] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Request head: "https://autopatchcn.yuanshen.com/client_app/update/hk4e_cn/18/game_4.5.0_4.6.0_hdiff_kiOtCmQKDxTEojvz.zip"

[06:58:11.182] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Start download files.

[06:58:11.183] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
3 files need to download.

[06:58:11.192] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Verify downloaded files.

[06:59:21.371] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Decompress downloaded files.

[06:59:21.372] [INFO] Starward.Services.InstallGame.GenshinInstallGameService
Decompress "game_4.5.0_4.6.0_hdiff_kiOtCmQKDxTEojvz.zip"

[06:59:23.451] [EROR] Starward.Services.InstallGame.GenshinInstallGameService
Install game error.
System.UnauthorizedAccessException: Access to the path 'F:\Genshin Impact Game\YuanShen_Data\Plugins\chrome_100_percent.pak' is denied.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1 )
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1)
   at System.IO.FileStream..ctor(String, FileStreamOptions)
   at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry, String, Boolean)
   at Starward.Services.InstallGame.InstallGameService.<>c__DisplayClass83_0.<DecompressFileAsync>b__1() in D:\a\Starward\Starward\src\Starward\Services\InstallGame\InstallGameService.cs:line 954
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread, ExecutionContext, ContextCallback, Object)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task&, Thread )
--- End of stack trace from previous location ---
   at Starward.Services.InstallGame.InstallGameService.DecompressFileAsync(String[] files) in D:\a\Starward\Starward\src\Starward\Services\InstallGame\InstallGameService.cs:line 922
   at Starward.Services.InstallGame.InstallGameService.DecompressAndApplyDiffPackagesAsync(CancellationToken cancellationToken) in D:\a\Starward\Starward\src\Starward\Services\InstallGame\InstallGameService.cs:line 665
   at Starward.Services.InstallGame.InstallGameService.StartAsync(Boolean skipVerify) in D:\a\Starward\Starward\src\Starward\Services\InstallGame\InstallGameService.cs:line 257

Additional Context
除chrome，Starward，华为电脑管家和步骤记录器外的任何程序

Additional Context这里打错了应该是除去chrome，Starward，华为电脑管家和步骤记录器外未打开任何程序

I got the same problem and had to reinstall the game 😞

我就是用官方启动器更新的

我就是用官方启动器更新的

I tried to do that too but mine said "Game not found". Any idea how I could fix it?

@Emm-GOOD 谢谢你的反馈，此问题的原因是文件夹内的部分文件被设置为已读文件，在更新流程中没有对此做适配，后续版本中会修复

I tried to do that too but mine said "Game not found". Any idea how I could fix it?

@FLIP0103 In the official launcher, you should click locate game button and then select folder containing GenshinImpact.exe.

I tried to do that too but mine said "Game not found". Any idea how I could fix it?

@FLIP0103 In the official launcher, you should click locate game button and then select folder containing GenshinImpact.exe.

I tried to do that also but even when I locate the folder that has GenshinImpact.exe, it won't detect it. Should I try to move the game file to another folder and try again?

将 Plugins 文件夹的只读属性取消即可解决问题

@Emm-GOOD谢谢您的反馈，此问题的原因是文件夹内的部分文件被设置为已读取文件，在更新流程中没有为此做调整，后续版本中会修复

我将Plugins的所有文件都取消了只读，目前可以更新了，会有问题吗


Theming fixes

fix css theme issue with llight and dark themes.
avoid doing fancy stuff use css attributes

@emanuele-em can you update the screenshots for this branch.
i use window manager which logs very different from normal view.

@emanuele-em  gentle reminder :stuck_out_tongue:

@sak96 I am traveling now, I will be back available on April 5, I have made significant changes to the interface, on April 5 I will merge everything

remainder

@emanuele-emdid you manage to get time to push the change you made ?

? @emanuele-em was there any mistake in the pr ?


World hopper: Add option for hotkeys to turn off while typing in chat

My hotkeys are mapped a certain way that works really well for my setup, but I often accidentally world hop while trying to type in chat sometimes.
I think the best solution to this is to have hotkeys inactive while you are typing a message in chat, or even make that an option in the configurations.
Another possible solution/feature I've considered is adding more combinability to the hotkeys. Right now most keys can only be combined as a pair, while ctrl, alt, shift + any other key are the only way to get a combination of 3 or more. Make it so you could combine keys like shift+space+1 to trigger a world hop.

What hotkeys do you have set up such that they conflict with typing? Generally speaking, hotkeys take priority over typing in other programs, so I don't know why that wouldn't be the case here as well.

I'm using shift+space. Ok I guess I forgot that "Press Enter to Chat" is not a vanilla thing; it comes with the Key Remapping pluggin. So my solution involves disabling hotkeys in World Hopper just like Key Remapping does once you've pressed enter to start typing in chat.

I suppose we could add an option to disable hotkeys while "Enter to chat" is active in that plugin.

I know my situation is probably pretty niche, and I don't know how much effort it would take to turn off hotkeys with "enter to chat". I just think it would make sense, and the same would go for any other plugins that use hotkeys.
Space, enter, shift and esc are pretty much the most important keys to be using in OSRS, so it's beneficial to group them up (like on a gaming mouse with extra buttons for example). Being able to combine them up to do other RL related things would allow for way more control. As long as it doesn't break any game rules of course.

Another point I wanted to make:
Space, enter, shift and esc are pretty much the most important keys to be using in OSRS, so it's beneficial to group them up (like on a gaming mouse with extra buttons for example). Being able to combine them up to do other RL related things would allow for way more control. As long as it doesn't break any game rules of course.


Adds the required inflate functions based on the new changes in atlas

Pull Request Test Coverage Report for Build 274

2 of 22 (9.09%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.4%) to 71.673%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

atlasclient/models.py
2
22
9.09%

Totals

Change from base Build 273:
-1.4%

Covered Lines:
797

Relevant Lines:
1112

💛  - Coveralls

Once merged, can we please release the new version ?


Question around polyfills

Hi!
I noticed you're currently using https://github.com/jshjohnson/Choices/blob/master/assets/scripts/src/lib/polyfills.js to handle polyfills for a few helper plugins. Wanted to get your thoughts around removing these and letting the end-user decide more on its implementation for compatibility. I wrote a little bit about the subject here which outlines using a tool like http://polyfill.io to handle these additions for you.

I'm definitely open to this. My only reservation is that people miss a particular polyfill, get an error and assume the library has bugs!

Yeah I hear ya. Can be a tougher transition with existing repos, but something that can be approached through documentation. Obviously a bit of a buy-in to promote a service like http://polyfill.io but there certainly are some other options out there; especially if users have their own implementation.

I have updated the documentation to recommend polyfill usage where needed: https://github.com/jshjohnson/Choices#browser-compatibility
I have kept the polyfill for Array.from and window.requestAnimationFrame within the Choices bundle as they are required for the plugin to function.
Thanks for the heads up.

Cool! That's a great addition to the README. One quick note around keeping requestAnimationFrame - since the browser compat list mentions only browsers that support es5 it looks like the former has very similar support for it, so something maybe to be considered for the future. Thanks!

Good point, I had always assumed requestAnimationFrame had poor support. I'll move this out of the build in the next release. Thanks

The requestAnimationFrame polyfill has been removed as of version 1.1.7


Adding the @mjbrender challenge to day one!

Woot.

Checked it out @rnelson0 @jfrappier - merge when you think it's good.

Okay.. gotta merge before we go here.


Add "TestCategory" attributes to tests.

Here is some infrastructure work which I think we might want to check in after we branch.
Instead of disabling tests the way that we currently do, where there's code that checks "IsPerfTest" and "RunPerfTests", you can put [TestCategory] attributes on the test methods.
(Also, for convenience, I made [PerfTestAttribute] which is equivalent to [TestCategory("Perf")].
There is a new "skipcategories" argument on TestRunner, which defaults to "Perf,SmallMolecules".
Also, changed ReSharper's setting "Skip tests from these categories" to that.
If you want to filter these categories out of Visual Studio's Test Explorer, you have to type the following into the search box:
-Trait:"Perf" -Trait:"SmallMolecules"
(I wish I could figure out a way to check in that setting so that it is the default for everyone).
I removed all of the code within the tests which checks whether perf tests or small molecules versions are enabled.

The major reason we discriminate against PerfTest and SmallMolecule versions is to that one can get through a "Run All" in Test Explorer in a reasonable amount of time. Does this consider that need?

In order to skip the perf tests etc., you would have to type the following
into the search box in the Test Explorer window:
-Trait:"Perf" -Trait:"SmallMolecules"
So far, I have not figured out a way to make it so that that's the setting
by default-- I think we might need to update the developer setup
instructions to say that you need to type that in.
Or, we could recommend that you use ReSharper to run the tests.
ReSharper currently does not run our tests because ReSharper's default
platform is "Automatic" (although you can get it to do the right thing by
choosing "Options > Platform > x64" in ReSharper's Unit Test Sessions
dialog), which means that ReSharper looks at the test dll's platform to
decide whether to be x64 or x86. However, our test dll's are compiled as
"AnyCPU". This pull request also makes it so that test dll's are explicitly
either x64 or x86, so we might now want to say that the recommended way of
running tests is through ReSharper.
-- Nick
On Mon, Oct 1, 2018 at 4:50 PM Brian Pratt<EMAIL_ADDRESS>wrote:

The major reason we discriminate against PerfTest and SmallMolecule
versions is to that one can get through a "Run All" in Test Explorer in a
reasonable amount of time. Does this consider that need?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/267#issuecomment-426100791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASgY2zJ7LmbIG7jOemJGXL9KrqyIFDSks5ugqpTgaJpZM4XDE4h
.

If it gets tests running in ReSharper that's a win, unless it prevents it in Test Explorer, since ReSharper isn't a build requirement.


No type named 'BackupEngine' in namespace 'rocksdb'

rocksdb::BackupEngine *_backupEngine;

I'm trying to write a file like RocksDBBackupEngine.mm.
Please help me.
Can U tell me how you fix this program when you design this class.
Thank you very much.

@jerryliurui Are you trying to implement this for iOS? If so, then you are out of luck, unless you are willing to invest lots of time.
Some features of rocksdb are not available for iOS or in the so called ROCKSDB_LITE version. Take a look at the include guards at the top of the header file.
There are several features that are not included in the ROCKSDB_LITE version:

Column Family Metadata
Write Batch with Index
Plain and Cuckoo Table Factories
Vector, HashSkipList, HashLinkList and HashCuckoo Memtable Rep Factories
Database Backups
Database Statistics
Database Properties
Thread Status

If the issue is not related to iOS then could you give me more information about the problem? A snippet or a sample project maybe?

Thank you very much.
Just like you say , i wish to accomplish backup of RocksDB for iOS....
But it looks Time-consuming...
Thanks a lot~
Best wishes for you.

@jerryliurui You're welcome! Let me know if there is anything else I could help you with. Will be glad to help 👍  I'll close this issue then.


ENH: TDDR for Hb type fNIRS data

Reference issue
Closes #10124. Related to the #7556 PR.
What does this implement/fix?
Enables to apply the temporal derivative distribution repair (TDDR) algorithm on hemoglobin concentrations.
(FYI @rob-luke @frankfishburn)

Thanks @HanBnrd I am largely supportive of this, but just have a few practical questions.

Does the original article or code base state why they only ran TDDR on optical density? It is a very well considered algorithm, so I guess they must have had some reasoning. (we can wait a few days here incase Frank replies to your ping too)
I think we should we update the documentation to state that the original authors ran it the algorithm on optical density data, but MNE allows you to run in on hb data too.
And should we restrict the algorithm to run only on OD and Hb data as you suggest. Your current implementation will also run the algorithm on raw data. I understand that you may wish to run it on Hb data, as not everyone has OD signals. But anyone who has raw signals will have OD signals. So what is the benefit of allowing it to run on raw (I think we should try and stay as faithful to original author and try and encourage best practices in users)?

Hi @rob-luke,
Thanks for your comment.

I couldn't find if there is a specific reason for applying TDDR on OD data rather than other types. It is just mentioned in the article (Fishburn et al. 2019):

"These hemoglobin concentration signals were then converted back to raw intensity. Spike and baseline shift motion artifacts were then generated with a frequency of 2 spikes and 2 baseline shifts per minute."

related to how simulated data has been generated; and

"The resampled optical density signals were then either 1) submitted to direct application of TDDR, or 2) had only the low-frequency portion of the signal corrected using TDDR, as described in section 2.3. The corrected optical density signals were then converted to hemoglobin concentration using the modified Beer-Lambert relationship (Cope and Delpy, 1988)."

when describing the analysis methods. By taking into account how the algorithm works, this is why I believe this should be applicable to Hb type or even intensities. I believe that this is applied on OD initially since this technique is usually applied before bandpass filtering and researchers usually filter OD data.

Maybe it can also be useful to apply TDDR on intensity data. Since the average intensity is usually used to get the OD type data: deltaOD(t) = -log10(I(t)/I(average)), do you think it could be useful eventually to correct artefacts before the conversion so that the average intensity is not skewed by the motion artefacts? I don't know if that would make a big difference since relative changes are usually studied but maybe it can be useful to someone?

I agree though that it's probably better to stay as close as possible to the original work if @frankfishburn designed it for OD data specifically.

Hi @rob-luke,
Sorry it took so long but it should now be ready for review. I've seen you just modified the TDDR tests in a PR today, I had an issue having them pass with Hb data with the baseline shift initially implemented which is why I modified them too (this is why there's a conflict at the moment), let me know if you'd like me to use your new version (with 1.1 * shift_amp) instead of my fix.
Thanks :)

Great to hear from you @HanBnrd, I hope everything is going well for you.
Could you rebase off the main branch so we can easier see your proposed changes? It will be great to get this merged. Thanks for the persistence

I'm good, I hope you are well too @rob-luke! Thanks for checking this PR. This should be good with the rebase now.

Hi @larsoner and @rob-luke,
I've seen that some changes in the fNIRS tests have been reverted with #10630, should I replace the (1.1 * shift_amp) from the tests I added by just shift_amp?

In principle yes, in practice no because I already did that when I pushed a merge with upstream/main :)

This is great. Thanks @HanBnrd and @larsoner


Visualise where each started item is

User story
As a user I want to visualise where in a process each started item is so that it can be used to communicate to suppliers and customers and identify/visualise variaton
Describe the solution you'd like

Start a new process run
Dots on top of cards where the items currently are
Drag items onwards in process

Relates to/can solve:

#180

To discuss:

[ ] Link to a specific item for communication
[ ] Turn on and off the visualisation
[ ] What happens when a process changes in the middle of a run?
[ ] Relation to service handling system? (eg ServiceNow)

Processes where this could be relevant:

https://flyt.equinor.com/process/33
https://flyt.equinor.com/process/620


Introduce middleware for Tesla HTTP Client

Added a Tesla Middleware that can be used to easily encode / decode XMLRPC request/response.
Tesla is optional dependency.
Fixes #17
BTW I also ran mix format on entire project, if you dont like this, I will revert my last commit

@ewildgoose could you take a look at that? :)


Fails on IOS 9.3

As seen on CI build failures...

What error does it fail with?

It says it cannot find Bugsnag.h. But the official CI build fails.

@grimen I had this issue too: https://github.com/SudoPlz/react-native-bugsnag/issues/14#issuecomment-247708891
What worked for me was starting from complete scratch then running rnpm install react-native-bugsnag and then following the instructions from there. That got it to work for iOS. If only I could get it to work with Android.. https://github.com/SudoPlz/react-native-bugsnag/issues/22


[WIP] .NET Framework -> .NET Core ASF port

PR mainly for AppVeyor/Travis testing. It's too huge to start working on master right away.
Remaining things:

[X] WCF replacement (HttpListener?)
[ ] JS-based ConfigGenerator @AAreksio
[x] ASF flavours (generic, windows, linux, osx?)
[x] Auto-update (entire rewrite, is it even possible at this stage?)
[ ] A LOT of testing
[ ] Documentation

ASF flavours done for now - https://ci.appveyor.com/project/JustArchi/archisteamfarm/build/4322-master-afqkhuav/artifacts
I still have no clue how I'm going to support all of that in auto-updates, it'll be true pain to develop something that would satisfy me.

Note to self: auto-updates need really deep testing on all sort of crazy configurations. So far it works better than I initially thought.


Decaffeinate src/project.coffee

This change converts the Project class to JavaScript with standard style.

☕


TypeError: TimeseriesGenerator object is not an iterator in Colab

I am trying to fit an LSTM-RNN using a time series generator based on on a pandas dataframe. When I attempt to train the model, I get the following error:
_"
Epoch 1/20
Exception in thread Thread-12:
Traceback (most recent call last):
File "/threading.py", line 801, in __bootstrap_inner
self.run()
File "/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/export/hda3/borglet/remote_hdd_fs_dirs/0.colab_kernel_tensorflow_gpu_chrisprice.kernel.chrisprice.157145873468.14b334fb3717c109/mount/server/colab_notebook.par/google3/third_party/py/keras/utils/data_utils.py", line 633, in data_generator_task
generator_output = next(self.generator)
TypeError: TimeseriesGenerator object is not an iterator
"
Please see my code below
from keras.models import Sequential
from keras.layers import Dense, LSTM
n_input = 1
train_data_gen = sq.TimeseriesGenerator(x_train_scaled, y_train_scaled,
length=n_input, sampling_rate=1, batch_size=8)
model = Sequential()
model.add(LSTM(8, input_shape=(no_samples, 3)))
model.add(Dense(8))
model.compile(loss='mean_squared_error', optimizer='adam')
model.fit_generator(train_data_gen, epochs=20, steps_per_epoch=25)

Which Keras version are you using? Check using print(keras.__version__)

Hi Ajay,
Currently running in 2.2.4
On Fri, Jul 5, 2019 at 2:09 PM Ajay Dabas<EMAIL_ADDRESS>wrote:

Which Keras version are you using? Check using print(keras.version)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/13067?email_source=notifications&email_token=AG4N7QE2VT6OKLMZQE4JOWDP55BZ5A5CNFSM4H6K7GNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJPLGQ#issuecomment-508753306,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG4N7QFJNPUWLZQEYS6UUI3P55BZ5ANCNFSM4H6K7GNA
.

Did you import TimeseriesGenerator using from keras.preprocessing.sequence import TimeseriesGenerator or from keras_preprocessing.sequence import TimeseriesGenerator ?

imported from 'keras_preprocessing.sequence''
On Fri, Jul 5, 2019 at 3:03 PM Ajay Dabas<EMAIL_ADDRESS>wrote:

Did you import TimeseriesGenerator using from
keras.preprocessing.sequence import TimeseriesGenerator or from
keras_preprocessing.sequence import TimeseriesGenerator ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/13067?email_source=notifications&email_token=AG4N7QDNZQUN6QAV4ZEWZKTP55ID7A5CNFSM4H6K7GNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJTD5I#issuecomment-508768757,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG4N7QHDYPLSRB3OQVMDKHLP55ID7ANCNFSM4H6K7GNA
.

However please note I have imported from both
keras.preprocessing.sequence.TimeseriesGenerator
and keras_preprocessing.sequence
On Fri, Jul 5, 2019 at 3:08 PM Chris Price<EMAIL_ADDRESS>wrote:

imported from 'keras_preprocessing.sequence''
On Fri, Jul 5, 2019 at 3:03 PM Ajay Dabas<EMAIL_ADDRESS>wrote:

Did you import TimeseriesGenerator using from
keras.preprocessing.sequence import TimeseriesGenerator or from
keras_preprocessing.sequence import TimeseriesGenerator ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/13067?email_source=notifications&email_token=AG4N7QDNZQUN6QAV4ZEWZKTP55ID7A5CNFSM4H6K7GNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJTD5I#issuecomment-508768757,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG4N7QHDYPLSRB3OQVMDKHLP55ID7ANCNFSM4H6K7GNA
.

Well, if you import using from keras_preprocessing.sequence import TimeseriesGenerator, then TimeseriesGenerator is not an iterator and it'll throw an error however if you import using keras.preprocessing.sequence import TimeseriesGenerator, then TimeseriesGenerator is an iterator and it should work. Please try this and let me know how it goes.

Hi Ajay,
Sadly I am getting the same error with keras.preprocessing.sequence
[image: Screenshot 2019-07-05 at 16.06.55.png]
On Fri, Jul 5, 2019 at 3:36 PM Ajay Dabas<EMAIL_ADDRESS>wrote:

Well, if you import using from keras_preprocessing.sequence import
TimeseriesGenerator, then TimeseriesGenerator is not an iterator and
it'll throw an error however if you import using keras.preprocessing.sequence
import TimeseriesGenerator, then TimeseriesGenerator is an iterator and
it should work. Please try this and let me know how it goes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/13067?email_source=notifications&email_token=AG4N7QAZKSXEZ536VXQYWSDP55L7BA5CNFSM4H6K7GNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJVPIY#issuecomment-508778403,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG4N7QG3IY5WLUHL7DTDHEDP55L7BANCNFSM4H6K7GNA
.

I can't find the source code for data_generator_task() function in keras.utils.data_utils.py file. I suggest you update your Keras version using command:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

Hi Ajay does this mean this is a bug? sadly I am importing this from a
company library so unable to update>
On Fri, Jul 5, 2019 at 4:48 PM Ajay Dabas<EMAIL_ADDRESS>wrote:

I can't find the source code for data_generator_task() function in
keras.utils.data_utils.py file. I suggest you update your Keras version
using command:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/13067?email_source=notifications&email_token=AG4N7QHJRFQ55CFO3V24AKLP55ULXA5CNFSM4H6K7GNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJ2UIA#issuecomment-508799520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG4N7QCGTG7JLFEH5MSUKX3P55ULXANCNFSM4H6K7GNA
.

Well, I reproduced the error with this:

Now, if I remove(comment) the line from keras_preprocessing.sequence import TimeseriesGenerator and use from keras.preprocessing.sequence import TimeseriesGenerator instead then I am able to train the model.

Note that I'm using the latest version of Keras. So I guess these images support both of arguments that you should update your Keras version using pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps and use from keras.preprocessing.sequence import TimeseriesGenerator instead of other one.

Good point - I will see what can be done internally! Very much appreciate
your help Ajay. Thank you!
On Monday, 8 July 2019, Ajay Dabas<EMAIL_ADDRESS>wrote:

Well, I reproduced the error with this:
[image: 1]
https://user-images.githubusercontent.com/38384266/60823380-08379380-a1c5-11e9-84f9-78dc804446d0.png
Now, if I remove(comment) the line from keras_preprocessing.sequence
import TimeseriesGenerator and use from keras.preprocessing.sequence
import TimeseriesGenerator instead then I am able to train the model.
[image: 2]
https://user-images.githubusercontent.com/38384266/60823461-34ebab00-a1c5-11e9-982a-a0b2e3b581a5.png
Note that I'm using the latest version of Keras. So I guess these images
support both of arguments that you should update your Keras version using pip
install git+git://github.com/keras-team/keras.git --upgrade --no-deps and
use from keras.preprocessing.sequence import TimeseriesGenerator instead
of other one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/13067?email_source=notifications&email_token=AG4N7QD5YBZAPR6CBGCD2YLP6NOO5A5CNFSM4H6K7GNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNP7JQ#issuecomment-509280166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG4N7QCQMGRGWPZLED5MGDTP6NOO5ANCNFSM4H6K7GNA
.

Automatically closing this out since I understand it to be resolved, but please let me know if I'm mistaken.Thanks!


Warning cleaning pass

I've gone over the warnings I got from Clang 3.7, CMake 3.3.2 and libc++-trunk. This pull request has one commit per kind of warning:

unused variables,
pessimistic move,
CMake diagnostic,
infinite recursion.

Please inspect the files touched by the commits and see if my commonly suggested actions of HPX_UNUSED:ing the variables is desirable or if the automatic variables can be removed without losing test coverage or expressiveness.

LGTM, thanks!


Bump to 0.2.101

New release to allow for usage of strtof introduced in #2358 for
fuzzing of hexf-parse while comparing against strtof results.

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 28a482bb8b2c2df65f743613e3cde13ff1074984 has been approved by Amanieu

:hourglass: Testing commit 28a482bb8b2c2df65f743613e3cde13ff1074984 with merge 6d8457773a5c9a744591c278d0f091f7a7a5e721...

:broken_heart: Test failed - checks-actions

Seems the macOS 1.30.0 build channel didn't even get to building the code, since it failed to retrieve rustc: https://github.com/rust-lang/libc/runs/3420467609

@bors retry

:hourglass: Testing commit 28a482bb8b2c2df65f743613e3cde13ff1074984 with merge 2cffe84529fb86a150c6848409d75aa96d237944...


Coursier Fetch behaves differently while resolving test artifacts from Ivy vs Maven repo

Created a minimal sample github repo
Steps to reproduce
Local Ivy Repo

sbt publishLocal
sbt bug/run

produces the correct output as:
/Users/mushtaq/.ivy2/local/com.thoughtworks/top_2.12/0.1.0-SNAPSHOT/jars/top_2.12.jar
/Users/mushtaq/.ivy2/local/com.thoughtworks/top_2.12/0.1.0-SNAPSHOT/jars/top_2.12-tests.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/reactivex/rxjava2/rxjava/2.2.8/rxjava-2.2.8.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.8/scala-library-2.12.8.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/typesafe/config/1.3.3/config-1.3.3.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-java8-compat_2.12/0.8.0/scala-java8-compat_2.12-0.8.0.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.12/2.5.21/akka-actor_2.12-2.5.21.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.9.8/jackson-core-2.9.8.jar
/Users/mushtaq/.ivy2/local/com.thoughtworks/common_2.12/0.1.0-SNAPSHOT/jars/common_2.12.jar
/Users/mushtaq/.ivy2/local/com.thoughtworks/common_2.12/0.1.0-SNAPSHOT/jars/common_2.12-tests.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.9.8/jackson-databind-2.9.8.jar
/Users/mushtaq/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar

Local Maven Repo

rm -r ~/.ivy2/local/com.thoughtworks
sbt publishM2
sbt bug/run

produces a single line output as:
/Users/mushtaq/.m2/repository/com/thoughtworks/top_2.12/0.1.0-SNAPSHOT/top_2.12-0.1.0-SNAPSHOT.jar

@alexarchambault Will appreciate if you know of any workaround to get this working with the maven repo.

@mushtaq So #1111 fixes that… somehow. With it, one gets with m2 local:
$ coursier fetch com.thoughtworks::top:0.1.0-SNAPSHOT:test --no-default -r central -r m2Local
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.9.8/jackson-core-2.9.8.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.9.8/jackson-databind-2.9.8.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.12/2.5.21/akka-actor_2.12-2.5.21.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/typesafe/config/1.3.3/config-1.3.3.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/io/reactivex/rxjava2/rxjava/2.2.8/rxjava-2.2.8.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-java8-compat_2.12/0.8.0/scala-java8-compat_2.12-0.8.0.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.8/scala-library-2.12.8.jar
~/.m2/repository/com/thoughtworks/common_2.12/0.1.0-SNAPSHOT/common_2.12-0.1.0-SNAPSHOT.jar
~/.m2/repository/com/thoughtworks/top_2.12/0.1.0-SNAPSHOT/top_2.12-0.1.0-SNAPSHOT-tests.jar
~/.m2/repository/com/thoughtworks/top_2.12/0.1.0-SNAPSHOT/top_2.12-0.1.0-SNAPSHOT.jar

With ivy2 local:
$ coursier fetch com.thoughtworks::top:0.1.0-SNAPSHOT:test --no-default -r central -r ivy2Local
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.9.8/jackson-core-2.9.8.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.9.8/jackson-databind-2.9.8.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.12/2.5.21/akka-actor_2.12-2.5.21.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/com/typesafe/config/1.3.3/config-1.3.3.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/io/reactivex/rxjava2/rxjava/2.2.8/rxjava-2.2.8.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-java8-compat_2.12/0.8.0/scala-java8-compat_2.12-0.8.0.jar
~/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.8/scala-library-2.12.8.jar
~/.ivy2/local/com.thoughtworks/common_2.12/0.1.0-SNAPSHOT/jars/common_2.12-tests.jar
~/.ivy2/local/com.thoughtworks/common_2.12/0.1.0-SNAPSHOT/jars/common_2.12.jar
~/.ivy2/local/com.thoughtworks/top_2.12/0.1.0-SNAPSHOT/jars/top_2.12-tests.jar
~/.ivy2/local/com.thoughtworks/top_2.12/0.1.0-SNAPSHOT/jars/top_2.12.jar

A difference is that common_2.12-tests.jar is missing with m2Local, like junit and hamcrest-core. This originates from the fact that POM files (used with m2Local) don't have a notion of test->test dependencies. So when top depends on common, it only depends on its main artifact and dependencies, not its test stuff too. So I'm not sure we can do any better than that.

@alexarchambault thanks so much! That's a lot better already.
I am wondering if we can combine other options (like artefact-type and classifiers) to capture the intent that:

if test classifier is specified, download all dependencies with test scope and also try downloading the test-jar artefact for the same (transitively)
in our case, download common_2.12.jar and also try downloading common_2.12-tests.jar. And because common_2.12.pom has reference to junit in test scope, repeat.

This approach will fetch more jars than required: junit-tests.jar will also get downloaded (if it exists) and also all the test dependencies for junit (if they exist). But it will not miss any.
If you think there is any hope of achieving this, let me know which part of the code to look at and I will give it a try. Thanks.


Use the standard zlib LICENSE formatting

Only if you are interested I changed the the LICENSE formatting to that of the standard zlib LICENSE for easy of readability.
See: https://www.zlib.net/zlib_license.html
Looking at the github markdown preview it has not changed at all so this would only apply when looking at the file with an editor or a tool like less(1).

Looks good to me, so in it goes!
Thanks x2.


zEdit Patcher not working

I have zEdit installed, and can call it from Mod Organiser, and can look at Skyrim .esp files - this is all working OK.
But when I right-click, select "Manage Patchers" and click "Build" - sometimes nothing happens, other times zEdit freezes and stops responding.
I have all the patchers listed on zedit-unified-patching-framework github page installed. I tried them all, and they all fail the same way.
I looked in the zEdit directory to see if there were any logs, and found modorganiser.log which has this:
INFO (11:49:57.0309): Windows Exception (c0000005). Origin: "C:\Windows\SysWOW64\ntdll.dll" (76f0e081). Last hooked call: void *__stdcall CreateFileW_rep(const wchar_t *,unsigned long,unsigned long,struct _SECURITY_ATTRIBUTES *,unsigned long,unsigned long,void *)

There are a few possible reasons why this could be happening, zEdit not having filesystem write access is one of them.
If you're interested we can work through the issue on the Modding Tools Discord in real time, else we can go over possible fixes here.  Before we go into any fixes, you can view the zEdit log by pressing Ctrl+Shift+I and going to the console tab.  Any messages in red are errors (post a screenshot or copy-paste the log here).
Windows 10 is most often associated with filesystem issues.  Look into the following:

Windows Defender/Other AVs.  Some AVs can interfere with the operation of applications silently from the background.  If you run an AV you can attempt to disable it/add zEdit as an exception to see if that resolves the issue.
File ownership/run as admin.  MO should start any application started through it with admin privileges, but this will only work if MO was started with admin privileges.  In addition, sometimes Windows 10 will take ownership of files or folders away from the main admin user, causing issues when other programs attempt to read/write to those files/folders.  You can take ownership of files from the command line.

Thanks for the offer to use Discord, but I'd prefer to go over the fixes here.
This is the console tab output:
There were no red error messages.
app.js:27 App directory: C:\Users\user\AppData\Local\Programs\zEdit\0.3.0\resources\app.asar
app.js:7797 Setting game mode to: 3
app.js:9757 Load Order:
Skyrim.esm,Update.esm,Dawnguard.esm,HearthFires.esm,Dragonborn.esm,Unofficial Skyrim Legendary Edition Patch.esp,HighResTexturePack01.esp,HighResTexturePack02.esp,HighResTexturePack03.esp
app.js:9758 Active Plugins:
Skyrim.esm,Update.esm,Dawnguard.esm,HearthFires.esm,Dragonborn.esm,Unofficial Skyrim Legendary Edition Patch.esp
app.js:9040 Loading:
Skyrim.esm,Update.esm,Dawnguard.esm,HearthFires.esm,Dragonborn.esm,Unofficial Skyrim Legendary Edition Patch.esp
app.js:7789 ProgramPath=C:\Users\user\AppData\Local\Programs\zEdit\0.3.0
Version=<IP_ADDRESS>
GameName=Skyrim
AppName=TES5
LongGameName=Skyrim
DataPath=c:\games\steam\steamapps\common\Skyrim\data
AppDataPath=C:\Users\user\AppData\Local\Skyrim
MyGamesPath=C:\Users\user\Documents\My Games\Skyrim
GameIniPath=C:\Users\user\Documents\My Games\Skyrim\Skyrim.ini
app.js:2099 Loading Skyrim.esm (1/6)
Loading Update.esm (2/6)
Loading Dawnguard.esm (3/6)
Loading HearthFires.esm (4/6)
Loading Dragonborn.esm (5/6)
Loading Unofficial Skyrim Legendary Edition Patch.esp (6/6)
Loading resources from Skyrim - Misc.bsa
Loading resources from Skyrim - Shaders.bsa
Loading resources from Skyrim - Textures.bsa
Loading resources from Skyrim - Interface.bsa
Loading resources from Skyrim - Animations.bsa
Loading resources from Skyrim - Meshes.bsa
Loading resources from Skyrim - Sounds.bsa
Loading resources from Skyrim - Voices.bsa
Loading resources from Skyrim - VoicesExtra.bsa
Loading resources from Update.bsa
Loading resources from Dawnguard.bsa
Loading resources from HearthFires.bsa
Loading resources from Dragonborn.bsa
Loading resources from Unofficial Skyrim Legendary Edition Patch.bsa
Done loading files.
I use Windows 7, not Windows 10.
I disabled my AV programs, but the zEdit patcher still did not work.
My Skyrim setup follows the STEP guide.
I installed Steam and Mod Organiser to C:/Games/ which I have write access to, and not to a system protected directory like C:/Program Files/.
I run from a standard user (non-admin) account and run Mod Organiser as a standard user, and it works fine for MO, LOOT, Wrye Bash, Mator Smash, Mator Merge Plugins, Mator zEdit (without the patcher)
When I click on "Build" for the zEdit patcher, the console tab shows nothing new.

OK, thanks for the additional information.  I'll do some research on my end to see if I can recreate your issue.

I downloaded the latest portable release of zEdit from GitHub (Alpha Release v0.3), extracted it to my secondary hard drive: E:\Program Files (x86)\zEdit, then manually installed the latest example patcher from GitHub source code.
To manually install the patcher module I:

Downloaded the source code ZIP from GitHub
Extracted the dist folder to zEdit's modules folder.
Renamed the dist folder to the id specified in the patcher's module.json file.  (in this case, matorsExamplePatcher.

I then started zEdit and noted the patcher listed in the Manage Extensions Modal:

I then started a Skyrim session and the patch built successfully:

Installing modules from the manage extensions modal appears to be bugged currently, it will be fixed in the near future.

I followed what you did:

downloaded the latest portable release of zEdit from GitHub (Alpha Release v0.3)
manually installed the latest example patcher from GitHub source code
started zEdit and noted the patches listed in the Manage Extensions Modal
I can see Example Patcher 1.2.1 and Unified Patching Framework 0.6.0 installed.

I start a Skyrim session, select Manage Patchers, tick the Example Patcher, and click Build. The dialog window disappears and nothing else happens, and the patch is not built successfully.
The zEdit application stops responding and I have to start Task Manager and kill it.

OK, I'm not sure what's happening for you, but it seems like it must be an issue relating to your system.  I'll do some more research tomorrow.

I followed the procedure I listed in my last message, but this time for zEdit 0.2.0.
It pops up an error message "TypeError: helpers.newRecord is not a function", but the patcher runs and produces examplePatch.esp with a list of Armor records.
So it looks like the zEdit 0.2.0 patcher works OK, but the zEdit 0.3.0 patcher has a problem, at least for my system.

"TypeError: helpers.newRecord is not a function"

That's just because the example patcher was updated to use helpers.newRecord for UPF v0.6.0.  If I give you an older version of the example patcher this error won't occur.
That said, for v0.2.0 to work and v0.3.0 to completely fail is very odd.  I don't think anything fundamental changed, but I'll have to do some more digging into commit histories to evaluate why this might happen.

The only reason I can think of for v0.3.0 to fail where v0.2.0 works is an antivirus interfering with the execution for v0.3.0 but not v0.2.0.  I'm going to need more information to act on this.  Can you take a screenshot of exactly what happens with the application when you attempt to run a patcher with v0.3.0?  You've said it freezes, but the way it freezes is important.  Does it create the modal window, or not?  Does the debugger detach?  Does the application turn into a flat white background?  Is it using CPU resources or not?
A screenshot would be good, a video would be even better.  Without any debug information combined with me being unable to recreate the issue there's really nothing I can do.  You should triple check that windows defender isn't running and interfering with the program, and make sure that there isn't any other process on your system that might be messing things up.

I turned off my AV/security apps and recorded video of zEdit. This platform does not accept video uploads. I tried adding the videos to a zip file, but that was not accepted either.
The Videos.zip file is here
http://www103.zippyshare.com/v/paTYpc8v/file.html
zEdit 0.2.0 seems to work OK - at least it produces an .esp file. But I don't see the "1 patch plugins built successfully" window that you showed in your message above.
zEdit 0.3.0 looks like it gets stuck in an endless loop. Task Manager shows it is still using the CPU, but it completely stops responding and I have to kill it.
One time I left zEdit 0.3.0 running 5-10 mins and it did display a message "1 patch plugin built successfully" but it did not refresh the window properly - the zEdit GUI was not responding.

Alright, this helps a lot for me to understand and troubleshoot the problem, thank you.  I'll try to get around to creating and sending you a developer build tomorrow once I've identified what could be causing the problem.

Watching the videos, two things leap out at me:

You have Windows Aero disabled.  I know OBS sometimes does this automatically, do you run with Windows Aero disabled all the time or only when using OBS?  This might actually be important because...

The progress window is never displayed.  When zEdit is performing a large task it creates a progress window which displays either a modal with a progress bar (e.g. in the case of running patchers) or a spinner (e.g. in the case of running a script).  This is a video of what running the example patcher looks like on my system with v0.3.0.

The way running a patcher works is it creates a new window with transparency, positions this window above the main application window as a modal (disabling input on the main application window), executes the patcher(s), and then allows the user to close the modal manually once the patching is completed.  In your case this window is never getting displayed.  The patchers runs and completes successfully, but you can't see it and you can't interact with the application anymore because the window was never shown on your machine for some reason.  Windows Aero being disabled is a potential culprit.

I changed the Windows theme years ago, and had completely forgotten about it. I had read
somewhere that Aero just gives you flashy desktop graphics effects that you don't really need, so I changed to the "Windows 7 Basic" theme.
I've not noticed any problems with any other applications before from not using Aero.
Windows 8 and 10 have Metro not Aero (also Linux and MacOS don't have Aero), so how does
zEdit and electron work on those operating systems?
Here are some updated videos, after changing to the "Windows 7" Aero theme.
http://www60.zippyshare.com/v/tjVuc39U/file.html
zEdit 0.2.0
It now displays the progress window, and runs OK.
zEdit 0.3.0
It now displays the progress window, but it stops responding, and I still have to kill it
using Windows Task Manager.

I had read somewhere that Aero just gives you flashy desktop graphics effects that you don't really need

That would generally be true, but without Aero applications cannot create windows with transparency.  Maybe transparency is a "flashy effect", but it's worth noting that any application window which is created with the "transparent" flag is not displays by Windows at all if Aero is disabled.

I've not noticed any problems with any other applications before from not using Aero.

I imagine most applications check if Aero is running and then create a non-transparent window if it isn't.  That's what I'm going to have to do for zEdit.

Windows 8 and 10 have Metro not Aero (also Linux and MacOS don't have Aero), so how does
zEdit and electron work on those operating systems?

Metro and Aero serve the same function.  Linux and MacOS have their own native ways of handling transparency, per the link I shared in my previous comment.

No it actually worked perfectly, you were just clicking the wrong X.  To close the modal you need to click the X in its upper right corner, however it seems like FontAwesome icons didn't load in the progress window so that icon appears as a square for you.


Fix the "History of Open Source Curriclum/Learning Content"

Write a module, that can be added as  pre-reading for all existing 'history of open source curriculum'
For example:
https://emmairwin.github.io/learning-open-source/articles/open-is-an-attitude/history-of-open/
If you can contribute links for resources, please share in comments
Content Directory:  https://github.com/mozilla/diversity/tree/master/curriculum/open-source/history

https://blog.mozilla.org/internetcitizen/2019/03/04/open-source-inclusion/
talks about history of open source, specifically meritocracy failure.
https://blog.mozilla.org/careers/2018/10/02/words-matter-moving-beyond-meritocracy/
MOSS program drops meritocracy.

Tweets:
https://twitter.com/ashedryden/status/1174333451404742665

On ESR.  http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s-Blog/The-Decline-and-Fall-of-Eric-S.-Raymond

Geek Feminism history:  https://geekfeminism.wikia.org/wiki/Timeline_of_incidents

https://medium.com/rx3-magazine/why-hackers-must-welcome-social-justice-advocates-1f8d7e216b00. . This post from @CoralineAda
has always felt like an essential. (from Matt)

The term "open source" was Christine Peterson's idea and I would very much like to see her name mentioned on the history page. Please let me know if you'd like me to make a pull request. I think it would be nice to link to this article she wrote called "How I coined the term 'open source'": https://opensource.com/article/18/2/coining-term-open-source-software

I started this document to track goals,  and other content, appreciate feedback:
https://github.com/mozilla/diversity/blob/master/curriculum/open-source/history/curriculum-goals.md

Twitter thread relevant:  https://twitter.com/ReBeccaOrg/status/1176958819491958784


Implement support for inline replies

Checklist

[x] I have run nox and all the pipelines have passed.
[x] I have made unittests according to the code I have added/modified/deleted.

Related issues
Closes #263

I'd say either rename the reply function or make it reply by default.


Add the possibility to add more settings and update the lsync conf.d feature

Why are the distro specific templates being removed? Those are meant to support the versions of lsyncd available on those platforms. If a distro is distributing a newer version of lsyncd with a different configuration format, then a new template should be created for that distro version.

Hello @dgivens,
The way I understood it is as follow:

For every distribution supported by the cookbook but the scientific distribution the templates were exactly the same.

So We tried to easy the process of updating the most common templates, so we created the exception for the scientific distribution only, do that sound fair for you?
Regards,
JM

When I originally created this cookbook, I was running Debian Wheezy, which was still on 2.0. Since Wheezy is going to be EOL in May, I don't see a reason for this cookbook to continue to support it. I believe Scientific Linux 6+ is also on lsyncd 2.1.x, so you can rip that out as well.
Please ensure the chefspec and serverspec tests are updated and test-kitchen passes for the major current platforms:
CentOS 6 and 7, Ubuntu 14.04 and 16.04, and Debian 8 and 9
Once the tests are all good, I'll merge the PR.


ZFS Event Daemon Service Not Working - error (Reason: Invalid argument)

Issue description
The ZFS Event Daemon, or zed, doesn't seem to be working. My service is inactive with the error message:
zed.service
   Loaded: error (Reason: Invalid argument)
   Active: inactive (dead)

This is what the service looks like:
systemctl cat zed
# /nix/store/ads9pcrf33mzg3l4c9d61qdwa08jj188-unit-zed.service/zed.service
[Unit]
After=systemd-modules-load.service

[Service]
Environment="LOCALE_ARCHIVE=/nix/store/mry6hpzxg44idk6pmqhcjvxzr665y43p-glibc-locales-2.25/lib/locale/local
Environment="PATH=/nix/store/k8dyhz9hrjydl23ny3131am6cws1rc07-coreutils-8.26/bin:/nix/store/dqzqrrampaf665l
Environment="TZDIR=/nix/store/ib356ccx25xixzjmj0fmgdv61kj1f398-tzdata-2016j/share/zoneinfo"

The file it references at the top is:
cat /nix/store/ads9pcrf33mzg3l4c9d61qdwa08jj188-unit-zed.service/zed.service               john@atom
[sudo] password for john:
[Unit]
After=systemd-modules-load.service

[Service]
Environment="LOCALE_ARCHIVE=/nix/store/mry6hpzxg44idk6pmqhcjvxzr665y43p-glibc-locales-2.25/lib/locale/locale-archive"
Environment="PATH=/nix/store/k8dyhz9hrjydl23ny3131am6cws1rc07-coreutils-8.26/bin:/nix/store/dqzqrrampaf665laggc4ng33dfbxv5q7-findutils-4.6.0/bin:/nix/store/3r21p23hmbzj1ykv2wllqr14k1b0cdmx-gnugrep-3.0/bin:/nix/store/2nzkvn5b9jxdj75mgw6cdvpl6438sdqw-gnused-4.4/bin:/nix/store/7jkg3rx9z5j8i34pm2bcfb0m59fjfwnv-systemd-232/bin:/nix/store/k8dyhz9hrjydl23ny3131am6cws1rc07-coreutils-8.26/sbin:/nix/store/dqzqrrampaf665laggc4ng33dfbxv5q7-findutils-4.6.0/sbin:/nix/store/3r21p23hmbzj1ykv2wllqr14k1b0cdmx-gnugrep-3.0/sbin:/nix/store/2nzkvn5b9jxdj75mgw6cdvpl6438sdqw-gnused-4.4/sbin:/nix/store/7jkg3rx9z5j8i34pm2bcfb0m59fjfwnv-systemd-232/sbin"
Environment="TZDIR=/nix/store/ib356ccx25xixzjmj0fmgdv61kj1f398-tzdata-2016j/share/zoneinfo"

Technical details

System: (NixOS: 17.03.1091.dc7dc77cde (Gorilla))
Nix version: (nix-env (Nix) 1.11.8)
Nixpkgs version: ("17.03.1091.dc7dc77cde")

It does not contain an ExecStart line.

Usually the systemd service from upstream is overridden, but it was renamed upstream:
and is now called zfs-zed.

Maybe I'm doing something incorrectly but it's not working properly for me. On other systems I have always simply set:
ZED_EMAIL_ADDR="root"
ZED_EMAIL_PROG="mail"
ZED_NOTIFY_VERBOSE=1

And it is sent me messages upon starting scrubs and other events.
On Nix I set:
ZED_EMAIL_ADDR="root"
ZED_EMAIL_PROG="sendmail"
ZED_NOTIFY_VERBOSE=1

But it doesn't send me messages upon events such as a scrub.
zpool events
May  7 2017 16:48:02.706130440 ereport.fs.zfs.scrub.start
May  7 2017 17:00:08.159127822 ereport.fs.zfs.scrub.finish

I tried enabling it to start on boot
systemd.services.zfs-zed.enable = true;

But it didn't seem to start.
systemctl status zfs-zed
● zfs-zed.service - ZFS Event Daemon (zed)
   Loaded: loaded (/nix/store/dc1vn4p548bzxvvj9i6vsrir7bzlyjl7-zfs-user-<IP_ADDRESS>/etc/systemd/system/zfs-zed.
  Drop-In: /nix/store/09sfinlavxvrgky7dr6gjj3c4vvp3cki-system-units/zfs-zed.service.d
           └─overrides.conf
   Active: inactive (dead)
     Docs: man:zed(8)

I had to explicitly start the service.
systemctl start zfs-zed
systemctl status zfs-zed
● zfs-zed.service - ZFS Event Daemon (zed)
   Loaded: loaded (/nix/store/dc1vn4p548bzxvvj9i6vsrir7bzlyjl7-zfs-user-<IP_ADDRESS>/etc/systemd/system/zfs-zed.
  Drop-In: /nix/store/09sfinlavxvrgky7dr6gjj3c4vvp3cki-system-units/zfs-zed.service.d
           └─overrides.conf
   Active: active (running) since Sun 2017-05-07 16:45:00 PDT; 3min 11s ago
     Docs: man:zed(8)
 Main PID: 5852 (zed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/zfs-zed.service
           └─5852 /nix/store/dc1vn4p548bzxvvj9i6vsrir7bzlyjl7-zfs-user-<IP_ADDRESS>/sbin/zed -F

Then after starting a scrub I don't get any messages.
I have a MTA set up and can send email.

ZED_EMAIL_PROG="sendmail" is probably not in path of the zed service.

Regarding starting at boot. It looks like /etc/systemd/system/zfs.target.wants/ is not created by nixos.

I set it to /run/wrappers/bin/sendmail, still not getting emails.


Does this means the trainging has finished?

Waiting for /root/netdisk/gitlab/Faster-RCNN_TF/output/faster_rcnn_end2end/voc_2007_trainval/VGGnet_fast_rcnn_iter_70000.ckpt to exist...
Waiting for /root/netdisk/gitlab/Faster-RCNN_TF/output/faster_rcnn_end2end/voc_2007_trainval/VGGnet_fast_rcnn_iter_70000.ckpt to exist...
Waiting for /root/netdisk/gitlab/Faster-RCNN_TF/output/faster_rcnn_end2end/voc_2007_trainval/VGGnet_fast_rcnn_iter_70000.ckpt to exist...
Waiting for /root/netdisk/gitlab/Faster-RCNN_TF/output/faster_rcnn_end2end/voc_2007_trainval/VGGnet_fast_rcnn_iter_70000.ckpt to exist...
Waiting for /root/netdisk/gitlab/Faster-RCNN_TF/output/faster_rcnn_end2end/voc_2007_trainval/VGGnet_fast_rcnn_iter_70000.ckpt to exist...
It has been going on for about 12 hours,and it always output the same things,does it means it has finished?

exactly the same problem. Have you solved it yet?

@hadi-ghnd Not yet,but I think  the trained model  was not integrated is  the main problem.

@DeepStillWater I did try changing 2 files based on this and this pages and I think it might help.

@hadi-ghnd Hi,I change the files,but the output  does not include *.ckpt files.The trainging can be finished ,but the test failed due to not finding the ckpt file.

@hadi-ghnd Thanks a lot,I have fixed it.

i followed @hadi-ghnd method, and it works. thanks a lot


fix/add-revision-forecast

closes #68

needs https://github.com/kestra-io/kestra/pull/3795 & https://github.com/kestra-io/kestra-ee/pull/1161


bumped versions for vuln. patches

VulnScan is failing because of a known issue. Will discuss during stand-up later today.


authentication failed behind the proxy

when a proxy is set on windows authentication failed.

I'm unable to reproduce this.
Setting a proxy through the initialization parameter for API works as expected on Windows.
Without a traceback and any relevant code, it's impossible to determine what the issue you're encountering is, as you've provided almost no information at all.


Asynchronous secret validation

Description of change
Currently, the secret.matches function is synchronous, which causes the server to lockup while it reads the secret file from the file system before it continues execution. I've introduced a change to make the secret.matches function asynchronous and updated tests to match the async function.
This change also consolidates secret checking into a middleware function that can be reused in any new functions that need secret checking.
Tests output
https://gist.github.com/Phanatic/9a9a6113413e39a7cd796d110a28470d
Server running with changes.
1. Server running without a secret file.
Client
curl -XPOST http://localhost:8080/flush;echo
{"error":"Missing or invalid secret"}

Server
error: FATAL ERROR (Error: ENOENT: no such file or directory, open '/Users/phaniraj/Documents/github/ka/react-render-server/secret'): You must create a file:
error:     /Users/phaniraj/Documents/github/ka/react-render-server/secret
error: Its contents should be the secret-string at
error:     https://phabricator.khanacademy.org/K121
info: POST /flush 400 7ms
Error: Missing or invalid secret
    at renderSecret.matches (/Users/phaniraj/Documents/github/ka/react-render-server/src/server.js:115:20)
    at get (/Users/phaniraj/Documents/github/ka/react-render-server/src/secret.js:49:16)
    at ReadFileContext.fs.readFile [as callback] (/Users/phaniraj/Documents/github/ka/react-render-server/src/secret.js:33:14)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:365:13)

2. Call /render without a secret.
Client
curl -XPOST http://localhost:8080/render;echo
{"error":"Missing or invalid secret"}

Server
info: react-render-server running at http://:::8080
info: POST /render 400 9ms

3. Call /flush without a secret.
Client
curl -XPOST http://localhost:8080/flush;echo
{"error":"Missing or invalid secret"}

Server
info: POST /flush 400 1ms

Looks great!  Thanks for doing this.
We have a js style guide at https://github.com/Khan/style-guides/blob/master/style/javascript.md


Documentation for user-jwts mentions the delete command instead of remove

This documentation page mentions delete as an available command for user-jwts (e.g., dotnet user-jwts delete 3ac99ee7 ). Actually, the correct command should be remove as per final release (e.g., dotnet user-jwts remove 3ac99ee7 ).

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

ID: f76a2aaf-732a-f686-343b-d811faa43d44
Version Independent ID: f76a2aaf-732a-f686-343b-d811faa43d44
Content: Generate tokens with dotnet user-jwts
Content Source: aspnetcore/security/authentication/jwt-authn.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thanks for reporting this. Any chance you could PR this? At the top right of the article, select the Edit pen icon:

Select the pen icon again. Save.

Thanks for reporting this. Any chance you could PR this?

Done!


Inspection of userguide.pdf documentation hyperlinks

Issue type
Wrong or misleading information
Problem description
The gradle userguide.pdf documentation (version 8.5, as of now) is unfortunately riddled of 404 urls, missing self-references and other small errors.
Relevant conversation: https://gradle-community.slack.com/archives/CJWG8VDM0/p1701944564895969?thread_ts=1701626337.350649&cid=CJWG8VDM0
For this reason I created a small kotlin script which finds these invalid self-references and urls with the hope of providing some help to the gradle team: https://gist.github.com/npgx/a1e29839502ad8e273e290a29156b8d9
Example output of this script, analyzing https://docs.gradle.org/current/userguide/userguide.pdf (version 8.5, using --never-print-valid) -> 8.5-userguide-output.txt
It's my first time working with PDFs so be gentle :)
Notes on kotlin scripts
To run .main.kts scripts, you have to follow the instructions in https://kotlinlang.org/docs/command-line.html
Then, if you have added the bin/ directory to the path, you can just do kotlin the-script-name.main.kts
otherwise you have to specify the path to the kotlin(.bat) file in the bin/ directory
In the particular case of the gist above you can do kotlin gradle-validator.main.kts --help to print out an help message (thanks clikt)
Note that you should always inspect whatever script you run on your personal computer

Context (optional)
No response
Page with the problem
https://docs.gradle.org/current/userguide/userguide.pdf

Thank you for your interest in Gradle!
This is a valid documentation issue that we will address.

This can be solved in a more general way by creating an automatic check for that.


Remove unused groovy script

@cvarjao do we still need this one? https://github.com/bcgov/ocp-sso/blob/master/openshift/update.sh


television: 0.5.3 -> 0.6.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for television is: Television is a blazingly fast general purpose fuzzy finder
meta.homepage for television is: https://github.com/alexpasmantier/television
meta.changelog for television is: https://github.com/alexpasmantier/television/releases/tag/0.6.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.2 with grep in /nix/store/agmm72mj0iznw54pmw668sj83qi4g8jj-television-0.6.2
found 0.6.2 in filename of file in /nix/store/agmm72mj0iznw54pmw668sj83qi4g8jj-television-0.6.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

television

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/agmm72mj0iznw54pmw668sj83qi4g8jj-television-0.6.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A television https://github.com/r-ryantm/nixpkgs/archive/929a1c334db2ee575b94d87e049629a96d588a84.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/929a1c334db2ee575b94d87e049629a96d588a84#television

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/agmm72mj0iznw54pmw668sj83qi4g8jj-television-0.6.2
ls -la /nix/store/agmm72mj0iznw54pmw668sj83qi4g8jj-television-0.6.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

television

Maintainer pings
cc @louis-thevenet @getchoo for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@ofborg build television television.passthru.tests


add Actions workflow to push to Replicate

This PR adds a GitHub Actions workflow for pushing the model to Replicate. The workflow is triggered manually in the Actions tab.

[x] Create a token for the @stability-ai org on Replicate
[x] Add that token to this repo's secrets as REPLICATE_API_TOKEN
[x] Test the workflow on a copy of this repo to confirm that it works (because workflow_dispatch can only be used on a repo's default branch)
[ ] Get review from the team
[ ] Merge this PR 🤞

Doh! Can't test this from a pull request.

To trigger the workflow_dispatch event, your workflow must be in the default branch.

This is ready to go. I tested it by creating a duplicate of this repo and triggering the workflow from the main branch.
✅ REPLICATE_API_TOKEN is set as a repository secret.

This is ready to go!

Update after an internal team discussion: Given that this is a particularly popular and high-traffic model, it must be released with a high degree of care and attention, so it's not the best candidate model to be a guinea pig for this new Actions workflow. We'll instead test it out on some lower stakes models, and eventually publish a generic Cog Action for broader use.

@zeke Does a generic Cog Action now exist?

@chigozienri yep! https://github.com/replicate/setup-cog


Make better use of pre-commit

This PR adds some useful pre-commit stuff since powercalc is already using it for ruff. I added some handy checks for broken stuff (symlinks, line endings, etc.)  and some formatting. The official pre-commit-hooks are added and the formatter of ruff and auto fix for the linter are enabled.
Important file is .pre-commit-config.yaml
All other files are autofixed by the pre-commit or some few manual fixes for the checks (f.e. broken symlinks, shebangs, permissions). Sadly fixes are really blown up by the auto fixes (especially by the trailing-whitespace hook).
You could also consider adding the pre-commit CI/CD (lite or full both are free for open source). This allows automatic pr checks/autofixes and stats about pre-commit.
This PR should really cleanup the whole project code base. I haven't tested the code after all the auto fixes. In theory there shouldn't be any stuff that changed from a code wise perspective. The pre-commit CI/CD would also help keep code clean, because PRs that do not install pre-commit would mix code and auto fixes (pre-commit CI/CD prevents this).

Seems like I broke the "LUT file validation / Add plot to PR" action. I am not exactly sure what did broke and why (only a strange log message). But I am also not sure what it actually does.
If anyone has an idea whats going please ping me!

Ok I worked the problem out! The script doesn't handles filenames with spaces correctly. Will make a patch for this.

Patch is included in the PR (just a small script change that replaces spaces with a proper escape sequence). Github actions is however not using the new action.

Could you please rebase with master? should hopefully fix the broken actions.

Could you rebase / resolve conflicts final time? When no CI/CD issues I will merge today.

The "Generate support model list / Generate list (pull_request)" is now failing too seems related to some github secret?

I missed to add escape sequence for brackets in the filenames. Created a second pr fixing the LUT action.

Let's merge. We'll see how the actions on master branch runs.

Precommit was working correctly for me. Very nice!

@bramstroker you might want to add the precommit.ci bot for automatic PR checks.
https://pre-commit.ci/

@bramstroker you might want to add the precommit.ci bot for automatic PR checks.
https://pre-commit.ci/

Will have a look into that. Also mypy checks must still be added to precommit.

precommit ci has been activated btw


Branch with the latest release but not day-to-day development

As a user or distributor of Mbed TLS, I want to follow a branch of the repository which is updated when there is a new official release of the library (i.e. one with a version number) but is not updated on a daily basis, so that I can keep up with bug fixes and new features but I have a well-known reference point and I don't get updates on a daily basis.
In the past, the master branch was this , but it's now following the 2.16 long-time support branch, not the releases made on the development branch.

I'm not convinced of the need for us to maintain a branch that follows releases in the long term (see #3370) but in the short term we definitely should be updating master to follow the releases in the development branch rather than the latest LTS branch. This issue will track fixing that.

We have announced the change and force pushed the master branch to address this.


Update Compiler-Options-Hardening-Guide-for-C-and-C++.md

added wg contributors

Should we reach out to these individuals to confirm they consent to be named in the guide? I thought about adding everyone as reviewers to this PR, but apparently that's only possible for those who are part of the org :(

So far CRob, Jack, Siddharth, and Siddhesh  have communicated their approval via e-mail, in addition to those who have already approved this PR here.

i will create a new pr with 100% less conflicts updating this same information

You're certainly welcome to refer to me :-).

Closing this PR as these changes have been merged via #224.

Closing this PR as these changes have been merged via #224.


fix(weave): optimize finding next tick up or down

Description

Fixes WB-22089
Possibly fixes WB-9411, need adequate test case

Fixes getNearestTick() in SliderInput.tsx by including the existing value of the slider to to determine whether to look above or below the previous value.
Optimized function for better performance over large lists.
Included a new test file for basic unit tests of the function.
Refactored logic from event handler (update()) function into getNearestTick() to consolidate logic.
Testing
Added new unit tests to verify basic functionality.
Created a project with varying steps to ensure slider increments appropriately.

@peytonsarmiento should be ready for another look, but I want to highlight a couple of changes:

removed unused allowGreaterThanMax prop - couldn't find any usage, implementing ticket, WB-5666, appears outdated. I don't want to leave dead code lying around, but I would greatly appreciate any ideas you have to verify that property is indeed unused.
potential performance cost to ticks.includes() - Hard to tell if the explicit value check (i.e. new value is in the list of ticks) buys us anything unless we can utilize the stepMeta.stepSet instead of stepMeta.steps.  In this context, a set seems an appropriate data structure (ordered, unique), but I wondered if there are considerations with changing the input types that I'm overlooking.  At this point I left it as a list, but am happy to make the change.

Per my last comment about the performance of ticks.includes(), the test failure is pertinent.
I updated the test to need more iterations through the search hoping to get my local machine to exceed that 1 millisecond threshold, and it seems that check costs ~0.5 milliseconds for the 5 million ticks.
Swapping from a list to a set probably isn't worth the effort, since we should be able to get through this list in less than 0.1 milliseconds.

@peytonsarmiento thanks for calling out that smoothing feature.
Dug into the details with @KyleGoyette and realized that slider is one of our SettingSlider components (LinePlotSmoothing -> SmoothingSetting -> SettingSlider), not the SliderInput I'm changing here. Whether it should use this component feels like a different question. At this point, I'm going to assume that it's not worth filing a ticket to refactor the smoothing component to use this one, but I see potential for refactoring the smoothing component to reuse the SliderInput.


Admin Page for Talk Listing should have additional columns

Add columns including talk location and date.

Fixed.