Bluebird Dependency

Hey, looks like bluebird was added to package.json as a dev-dependency rather than a production dependency, and I think it's needed at runtime. Can you take a peek?

Sure, my mistake, the idea was to make it a dev dependency to use bluebird only for debugging purposes.
i'm refactoring the code to not require it at all, since functionality is covered by native Promises

I'm still crashing with
Error: Cannot find module 'bluebird'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/riversj/vagrant/boot2docker/zipwhip-apispec/editor-dock/node_modules/express-raml-store/api.js:6:28)
on Node v0.12.5

mmm Indeed, I read up that node 0.12.x had native promises always enabled, anyway native promises are not a good choice for any serious module, since they have memory leaks
I'll make bluebird a must and just get over with it.

Really thanks for your patience, Josh


Remove block register

Closes #
Example

Checklist

[ ] This pull request references any related issue by including "Closes #<ISSUE_NUMBER>"

If no issue exists and your change is not a small fix, please create an issue first.

[x] This pull request includes tests or only affects documentation.
[ ] Summarized PR's changes in CHANGELOG.md

Thanks! This was added through the collection template, but not all collections have blocks (yet).


dynamic sort order

We are using react table and table has 5 column(id,name,age,add1,add2)(index.js). by default we set sort order on id column and id column has link that route to new page(id.js).  But when we get back from route page(id.js) to home page(index.js) sort order change back to default sort defined . however we want to keep the last sorted order selected when we get back to index,js from id.js.  I tried saving state as shown in controlled property but it does not work. Is there any solution that helps.

Not really - if you want to maintain the state of ReactTable (or mostly any component) after navigating away from the page it is defined on) you have to save that state in a global store (e.g. Redux, MobX, LocalStorage, SessionStorage - or a back end database) and load it again when the component is re-rendered on the page.

Hello Gary,
I saved sort state in localStorage, then in componentDidMount I get saved sort, then set saved sort to state and in callback call onFetchData. There I set state.sorted to saved sort and make request to server.
Data are sorted but table is without graphical sign(black line in header). Can you please help me, where I can make mistake?
Thank you

Not without seeing the code on codesandbox.io as per the request in the github template here for raising an issue.

Ok. How I get state of ReactTable and load it again? State of my component doesn't have some variable with ReactTable.
Thank you for answer

Closing due to issue age. If this issue was a question, please ask it again on https://spectrum.chat/react-table. If you think this issue needs to be reopened or if it should be turned into a pull-request, please check the latest version of React-Table for the issue or feature once more and reopen or create a PR if appropriate. Thanks!


Additionally adjust the jumplist with line numbers when opening a new file

This further addresses Issue #1758.
In particular, without these changes, when you use ALEGoToDefinition and you are taken to a different buffer, the particular line you end up on in that buffer isn't included in the position in the jump list.  So, while you can jump back to where you were with C-o, once you do that, you can't return to where you jumped with C-i — instead, C-i takes you to the top of the buffer containing the definition in question.
These changes use the optional +LINE_NUM argument to the :edit and :tabedit commands, which adjusts the jumplist with the line number as well as the buffer, making C-o and C-i both work as expected.  (Well, not strictly true, as the particular column number isn't preserved in the jump list in these cases.  But at least we get line numbers now.)

Cheers! :beers:

Cheers! :beers:  :-D


v1.37.0 Compile Error

Describe the bug
During compile....
# github.com/alexandre-normand/slackscot/schedule
../../../../../pkg/mod/github.com/alexandre-normand/slackscot@v1.37.0/schedule/schedule.go:167:17: cannot use false (type bool) as type func(*gocron.Job) in argument to s.Every

Version
1.37.0
Cause
Looks like a func(*gocron.Job) is expected in j = s.Every(def.Interval, false)

Actually it's something with my build env being messed up. My bad!


Annoying thin line around score ring

are you still seeing this after some more recent updates? if so, which browser/os?

@donjo FF 123.0 on MacOS.
its quite a lot harder to see now with the gray background for the ring, so i dont think this is a concern anymore, you need to look for it to see it now.

I don't see this anymore.


Problem zero size

Good day, friends! Thanks for the detailed description of the tool and the SGDK tool itself. I'm having a problem compiling a file using the command line. Output ->
C:\SegaProject>C:\SGDK\bin\make -f C:\SGDK\makefile.gen
C:/SGDK/bin/mkdir.exe -p src/boot
C:/SGDK/bin/mkdir.exe -p out
C:/SGDK/bin/cp.exe C:/SGDK/src/boot/sega.s src/boot/sega.s
C:/SGDK/bin/cp.exe C:/SGDK/src/boot/rom_head.c src/boot/rom_head.c
C:/SGDK/bin/gcc.exe  -DSGDK_GCC -m68000 -Wall -Wextra -Wno-shift-negative-value -Wno-main -Wno-unused-parameter -fno-builtin -fms-extensions -Iinc -Isrc -Ires -IC:/SGDK/inc -IC:/SGDK/res -BC:/SGDK/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/boot/rom_head.c -o out/rom_head.o
C:/SGDK/bin/objcopy.exe -O binary out/rom_head.o out/rom_head.bin
C:/SGDK/bin/gcc.exe -x assembler-with-cpp -Wa,--register-prefix-optional,--bitwise-or  -DSGDK_GCC -m68000 -Wall -Wextra -Wno-shift-negative-value -Wno-main -Wno-unused-parameter -fno-builtin -fms-extensions -Iinc -Isrc -Ires -IC:/SGDK/inc -IC:/SGDK/res -BC:/SGDK/bin -O3 -fuse-linker-plugin -fno-web -fno-gcse -fno-unit-at-a-time -fomit-frame-pointer -flto -c src/boot/sega.s -o out/sega.o
src/boot/sega.s: Assembler messages:
src/boot/sega.s:52: Error: skip (0) or count (256) invalid for file size (0)
make: *** [out/sega.o] Error 1
main.c==================================
#include <genesis.h>
u8 data = 0;
int main(bool hard)
{
VDP_drawText("Hello Genny World!", 10, 13);
while(TRUE)
{
    // read input
    // move sprite
    // update score
    // draw current screen (logo, start screen, settings, game, gameover, credits...)

    // wait for screen refresh and do all SGDK VBlank tasks
    SYS_doVBlankProcess();
	for(int i = 0; i < 100;i++)
	{
        data++;
	}
	if(data == 100){
	data = 0;
	}
}

return 0;}

Can you please tell me what could be wrong?

Well  the problem is:
rom_head.bin is not generated. IT is basically 0 bytes.
The ugly fix (lol)
segas.s
line 52
it uses directive .incbin "file"[,skip[,count]]
so... replace the zero-length file with anything.
And it'd work.
Also it is strange, but SGDK has 2 couples of sega.s + rom_head.c
one is licated in sdgk\src\boot
the other is in the template

Thanks for the answer! But I just didn't understand why the .bin file wasn't generated.

The make file has been changed. There is a bug.

That is, you need to roll back to an earlier version?

SGDK 1.70 (February 2022)

MAKEFILE

added 'EXTRA_FLAGS' entry to makefiles so we can use custom extra compilation flags

Is that what you mean?)

Thank you very much, D0NM friend! Downloaded SDK version 1.34 (December 2017), managed to build a starter project!

My future investigation shows that road_head.c is being compiled.
But the object file is ~ 4K instead of 988 bytes.
On using objcopy.exe it produces the zero length .bin file

Fixed ! (looks like -O1 flag break rom_head.c compilation, reverted to DEFAULT_FLAGS)


Issue Id:#46 => loader missing Job page

Pull Request Title
Issue Reference:

Description:

Screenshots:

Type of change:

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Enhancement

Checklist:

[ ] I have tested my changes and verified that they work
[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Additional Information:

hey there i added a loader on job page as per issue #48  assigned to me
also i like to suggest you should use a proper code formatting(prettier,etc) it will improve the readability and organisation of code as so many people are now working on you project.

@Kartikey2011yadav  thank you for your contribution and suggestion


gem install fails on macOS High Sierra v10.13.2

Hello,
I have been using git_stats for over a year on various Mac laptops. I tried installing git_stats on my new laptop running macOS High Sierra v10.13.2 and it fails:
sudo  gem install git_stats
Password:
Building native extensions.  This could take a while...
ERROR:  Error installing git_stats:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180104-48401-zjew88.rb extconf.rb
checking if the C compiler accepts ... yes
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
Building nokogiri using packaged libraries.
Using mini_portile version 2.3.0
checking for iconv.h... yes
checking for gzdopen() in -lz... yes
checking for iconv... yes

IMPORTANT NOTICE:
Building Nokogiri with a packaged version of libxml2-2.9.5.
Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:
gem install nokogiri -- --use-system-libraries
    [--with-xml2-config=/path/to/xml2-config]
    [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:
bundle config build.nokogiri --use-system-libraries
bundle install

Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.

Extracting libxml2-2.9.5.tar.gz into tmp/x86_64-apple-darwin17/ports/libxml2/2.9.5... OK
Running 'configure' for libxml2 2.9.5... OK
Running 'compile' for libxml2 2.9.5... ERROR, review '/Library/Ruby/Gems/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/tmp/x86_64-apple-darwin17/ports/libxml2/2.9.5/compile.log' to see what happened. Last lines are:
CCLD     libxml2.la
CC       testdso.lo
CCLD     testdso.la
CC       xmllint.o
CCLD     xmllint
ld: warning: ignoring file /usr/local/Cellar/xz/5.2.3/lib/liblzma.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/xz/5.2.3/lib/liblzma.dylib
Undefined symbols for architecture i386:
"_lzma_auto_decoder", referenced from:
_xz_head in libxml2.a(xzlib.o)
"_lzma_code", referenced from:
_xz_decomp in libxml2.a(xzlib.o)
"_lzma_end", referenced from:
___libxml2_xzclose in libxml2.a(xzlib.o)
"_lzma_properties_decode", referenced from:
_is_format_lzma in libxml2.a(xzlib.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [xmllint] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/$(RUBY_BASE_NAME)
--help
--clean
--use-system-libraries
--enable-static
--disable-static
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--enable-cross-build
--disable-cross-build
/Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:402:in block in execute': Failed to complete compile task (RuntimeError) 	from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:373:in chdir'
from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:373:in execute' 	from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:115:in compile'
from /Library/Ruby/Gems/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:154:in cook' 	from extconf.rb:365:in block (2 levels) in process_recipe'
from extconf.rb:257:in block in chdir_for_build' 	from extconf.rb:256:in chdir'
from extconf.rb:256:in chdir_for_build' 	from extconf.rb:364:in block in process_recipe'
from extconf.rb:262:in tap' 	from extconf.rb:262:in process_recipe'
from extconf.rb:548:in `'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.8.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/nokogiri-1.8.1 for inspection.
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/nokogiri-1.8.1/gem_make.out

above answer works

Yes everything works now. Thank you
On Sun, Feb 11, 2018 at 6:17 PM out0fmemory<EMAIL_ADDRESS>wrote:

above answer works
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tomgi/git_stats/issues/83#issuecomment-364814557, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFoUrZsWSDB_Q_4CuPloWQI6ZwFjLg0zks5tT58bgaJpZM4RTYPf
.


seaweedfs k8s csi and filer permission issue

weed version : 3.57
seaweedfs-csi-driver-0.2.1
k8s version : 1.28
I am using Weed CSI to mount a PVC on Kubernetes.
I can see /buckets/pvc through Filer and application can read/write anything from this.
However, when I upload an image through the Filer web GUI done, I got a 403 error from my application.
Any ideas?

No idea without any details.


jitsi screen share when meeting starts

Need this feature to share the screen immediately meeting start

On iOS, this is not possible, unfortunately. Will look if it is possible on Android.

Is this feature still required? Because of limited time, I otherwise would want to close this issue.


Published latest is still Dart 1.12.2

> docker run google/dart dart --version
Dart VM version: 1.12.2 (Wed Oct 21 14:13:58 2015) on "linux_x64"

This is Image ID e8dcce3180f7
CC @sgjesse

The 1.12.2 version is now available.

Thanks Kevin!
On Sat, Nov 21, 2015 at 3:23 AM, Kevin Moore<EMAIL_ADDRESS>wrote:

docker run google/dart dart --versionDart VM version: 1.12.2 (Wed Oct 21 14:13:58 2015) on "linux_x64"

This is Image ID e8dcce3180f7
CC @sgjesse https://github.com/sgjesse
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/dart_docker/issues/14.


Add channel support to roll_meta_flutter.py

Current scheme only allows for a specific version.

https://github.com/meta-flutter/meta-flutter/pull/531


Bump es5-ext to version 0.10.64 to resolve CVE-2024-27088

Changes proposed:
Upgrade the es5-ext package to 0.10.64 to resolve CVE-2024-27088.
I am aware of this previous PR pinning the version, but it doesn't seem like it was working as version 0.10.62 was installed which still includes the war messaging.
Other Tasks:

[ ] If you updated the Go SDK did you update the PackageVersion in tunnels.go
[X] If you updated the TS SDK did you update the dependencies in package.json for connections and management to require a dependency that is > the current published version(Found using npm view @microsoft/dev-tunnels-contracts). This will fix issues where yarn will pull the old version of packages and will cause mismatched dependencies. See example PR

Closing in favor of https://github.com/microsoft/dev-tunnels/pull/412


Episode list loading taking more time

Describe the bug
The episode list is taking so much time to load , I thought the app is useless(newcomer)
To Reproduce
Steps to reproduce the behavior:

Go to 'App'
Click on 'any show'
Check for episodes
See error that episodes are not showing for a long time and some are not loading

Expected behavior
Episodes are expected to load when we click the anime details.
Screenshots

Desktop (please complete the following information):

Version [e.g. 22]

Smartphone (please complete the following information):

Device: [Nothing Phone(1)]
OS: [Android 13]
Version [1.1.3]

Additional context
Please fix asap.

fixed

Hello, can we work with you?

Hey @professorDeveloper sure, this app is open source :)

thanks bro  i have an application project can you do it if the price is negotiable


rust-src-* files missing on fresh initialization

dear keith
thanks a lot for the quick fix! i did a full re-sync and most things work as expected again!
what does not work is a fresh rust installation. i can download rust-init but when i run it http://pamanax.internal/dist/2021-05-10/rust-src-1.52.1.tar.xz is not found. the directory http://pamanax.internal/dist/2021-05-10/ does exist and is populated - but no rust-src-* files are in there.
Originally posted by @panzerballett in https://github.com/panamax-rs/panamax/issues/24#issuecomment-847716190

thanks for opening the issue.
i pulled the new version from github (commit: e0d20b2c5a),  built it and ran a sync right now. a  new directory dist/2021-05-31/ appeared with many *.tar.gz and *.tar.xz files in them but no *-src-* files are in there.

Looks like this PR https://github.com/panamax-rs/panamax/pull/16 might be the cause. It's filtering out only accepted triples (e.g. unknown-linux-gnu) and doing so by running the filter against the filename.
A workaround would be to remove the platforms_unix and platforms_windows sections from mirror.toml in their entirety, but I will make a fix for this.

i updated panamax and ran sync. worked perfectly!
thanks a lot for the fix!

Awesome, glad to hear!


Issues with deploying Agent on JBoss 7 & Windows

[x] I have checked the FAQ, and issues and found no answer.

What version of pinpoint are you using?
v1.8.5
Describe your problem**
When starting JBoss, the Agent shuts itself down and takes down JBoss with it.
What have you done?
The following changes were made to standalone.bat, following guides from https://github.com/naver/pinpoint/tree/master/plugins/jboss#pinpoint-jboss-plugin-configuration and https://github.com/naver/pinpoint/issues/972#issuecomment-219488721
set "JAVA_OPTS=-Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager,com.navercorp.pinpoint.bootstrap,com.navercorp.pinpoint.common,com.navercorp.pinpoint.exception %JAVA_OPTS%"
set "JAVA_OPTS=-Djava.util.logging.manager=org.jboss.logmanager.LogManager %JAVA_OPTS%"
set "JAVA_OPTS=-Xbootclasspath/p:D:/jboss-as-7.1.3.Final/modules/org/jboss/logmanager/main/jboss-logmanager-1.3.2.Final.jar %JAVA_OPTS%"
set "JAVA_OPTS=-Xbootclasspath/p:D:/jboss-as-7.1.3.Final/modules/org/jboss/logmanager/log4j/main/jboss-logmanager-log4j-1.0.0.GA.jar %JAVA_OPTS%"
set "JAVA_OPTS=-Xbootclasspath/p:D:/jboss-as-7.1.1.Final/modules/org/apache/log4j/main/log4j-1.2.16.jar %JAVA_OPTS%"
set "JAVA_OPTS=-javaagent:D:\jboss-as-7.1.3.Final\pinpoint\pinpoint-bootstrap-1.8.5.jar %JAVA_OPTS%"
set "JAVA_OPTS=-Dpinpoint.agentId=TEST_API_1 %JAVA_OPTS%"
set "JAVA_OPTS=-Dpinpoint.applicationName=TEST_API_SERVER %JAVA_OPTS%"
And the jar files were placed in the location indicated.
In pinpoint.config I changed two settings, profiler.collector.ip and profiler.application.namespace; all other settings were left as default. The same values worked for another Tomcat server we have. Pinpoint Collector, Pinpoint Web and hbase are running on a separate Linux server and seems to work fine.
Logs
I didn't see any exceptions in the Pinpoint logs. JBoss didn't log anything before it shut itself down.
Pinpoint log: pastebin.com/DiuZJ3sn

Solved it - turns out to be the order of adding things to JAVA_OPTS. I was prepending to the variable instead of appending to it.
This is what worked for me:
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager,com.navercorp.pinpoint.bootstrap,com.navercorp.pinpoint.common,com.navercorp.pinpoint.exception"
set "JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
set "JAVA_OPTS=%JAVA_OPTS% -Xbootclasspath/p:D:/jboss-as-7.1.3.Final/modules/org/jboss/logmanager/main/jboss-logmanager-1.3.2.Final.jar"
set "JAVA_OPTS=%JAVA_OPTS% -Xbootclasspath/p:D:/jboss-as-7.1.3.Final/modules/org/jboss/logmanager/log4j/main/jboss-logmanager-log4j-1.0.0.GA.jar"
set "JAVA_OPTS=%JAVA_OPTS% -Xbootclasspath/p:D:/jboss-as-7.1.1.Final/modules/org/apache/log4j/main/log4j-1.2.16.jar"
set "JAVA_OPTS=%JAVA_OPTS% -javaagent:D:\jboss-as-7.1.3.Final\pinpoint\pinpoint-bootstrap-1.8.5.jar"
set "JAVA_OPTS=%JAVA_OPTS% -Dpinpoint.agentId=TEST_API_1"
set "JAVA_OPTS=%JAVA_OPTS% -Dpinpoint.applicationName=TEST_API_SERVER"

Thank you for sharing your solution. :)


Do not target the DomLoaded event in pushInStart function

If the pushInStart function needs to be used later than the DomLoaded event, the function will not work as expected. This could be the case if some other javascript is rendering the page after DomLoaded has already fired.

This is fixed in current beta patch release.


Parse KEY statements within CREATE TABLE statements

I have DDL with KEY statements as part of the CREATE TABLE statement.  This is a seemingly valid way to indicate an index in SQL.  I created a test case with a sample of the SQL I am working with, and the desired listing of an index.
I do not know the parser grammar all that well - it's possible that while the code works and passes the test cases that my implementation is not technically correct.  Please give me pointers and I'll fix it up.

Looks like (after re-reading the contributing guidelines) that I also will need to update README.md and CHANGELOG.txt.  I'll do this if I receive feedback that I'm on the right track here.

Hi, only update the CHANGELOG, the bash script (build.sh) 'll update the README.md, please can I ask you to run the flake8 .\simple_ddl_parser\ and fix the lint .
Thanks for your contribution.

Thanks!  Apologies for missing the flake8 check initially.  Should be updated now.

@cfhowes merge conflict with main branch - need to resolve it. Please, get changes from main branch and re-run tests on your local machine to re-generate parsertab.py with your changes

@cfhowes released in version 0.31.3 https://pypi.org/project/simple-ddl-parser/


[BUG] TuiBadge component not disaplying icon

🐞 Bug report
Description
The TuiBadge component is not disaplying custom content or icon.
Reproduction
From the documentation itself, the example doesn't display icons or custom content:
https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.html
Expected behavior
Custom content / icon should be projected correctly and it should show it inside the badge.
Versions

OS: Windows 10
Browser: v.90.0.4430.212
Angular 11
Package<EMAIL_ADDRESS>

Yes, demo shows current main branch, this would become available after a release later today, sorry for the confusion.


to-do: embed evidence videos in a smart way

As of right now, embedding a video that also exists in the repo seems to be impossible. Either we can upload videos using github's online markdown editor, but that video gets stored elsewhere (and it must be 10mb or smaller), OR we can upload videos to somewhere like youtube and embed them.
If you inspect the markdown code of this file, we should have videos shown.
The videos exist in the repo's assets now, but these don't render in github's preview of that file.
It might be possible to convert this repo into a github.io site, so we could then use perma (not relative) links to the stored location? I'll let @trallard make the final call here on what seems smartest/best.

Yeah, I am trying to keep most of the videos relatively small and can even capture/downscale if we want to "compress" this a little bit. It's easy to make them huge, but the short duration for most helps too.
What filesize should we try to shoot for? Or perhaps rather, what is a max repo filesize target for us?
And I did a pandoc conversion of one of the markdowns into HTML as a test and it worked perfectly, so an eventual swap to an HTML-based site wouldn't be too hard (obviously other approaches are fine too!).


Custom menu doc. Added info about available ThingsBoard menu items that can be disabled

PR Checklist

[ ] No broken links found using link-checker.

Linkchecker
Use the following command to check the broken links.
docker run --rm -it ghcr.io/linkchecker/linkchecker --check-extern http://<IP_ADDRESS>:4000

This is not informative. We need to have two columns in the table. First is the human-readable label that is used in the menu. The second is the one you have provided.


Vnstat: add --json option, solves #2072

solves my request to add json to the vnstat plugin:
https://github.com/opnsense/plugins/issues/2072

Does this really solve your problem? This only adds an option to configctl for CLI, but no real api endpoint ...

Does this really solve your problem?

ahem... goodmorning i suppose :)
this should do it, unless i'm forgetting something?

i guess i should really not do this at night :)
done

Ok, looks good. Can you bump the version in Makefile and add a small changelog to pkg-descr?

Good morning ;) I don't think this is enough to add it to the plugin especially since it is not being used as previously mentioned.

@fichtner : how so?
the idea for this is to get the output from the api as json, since the hourly/weekly/.... reports are basically only suited for printed output, not really much you can do with it otherwise (i would be trying to get the output, then modifying the vnstat-dashboard code to take that output and display nice graphics on an external page)

If it does not have a consumer in the plugin itself it will be subject to bitrot and that is not good for maintenance. Let's try to avoid it. Easiest way is to rewrite the current script output as something more pleasing to the eye...

current output can't really be rewritten as the output literally draws the lines/rows.
through the api current output is like this:
`vtnet0  /  daily
      day        rx      |     tx      |    total    |   avg. rate
 ------------------------+-------------+-------------+---------------
  09/23/20      1.64 GiB |         0 B |    1.64 GiB |  162.57 kbit/s`

meaning you would have to deal with text, lines, dates, .... to get it to display differently.
all the while that vnstat itself has the --json option, which using these changes would be able to be used through the api.
so i don't see the problem with bitrot or maintenance, as the json option (just like the hourly/daily/...) options is part of vnstat?
all we are doing here is exposing 1 more vnstat option, which is the most logical choice for the api?

@fichtner : franco, as an example i've added the code to one of my opnsense installs,
as well as the modified vnstat-dashboard.
Adding this option, while causing pretty much zero overhead for anything (since it's just exposing a vnstat option) can deliver things like this: https://2easy.be/opnsense-api/

Basically https://2easy.be/opnsense-api/ is exactly what I would like to see as a replacement for the current flat statistics in the UI where this particular change makes 100% sense. I can help with the integration if you are up for it... :)

is there a basic template or documentation for drawing the graphs?
the vnstat-dashboard original code uses smarty, which we won't want to use, and since i want to try to do this the right way a pointer or simple example for drawing the graphs would go a long way to getting this done.

we just added chartjs (https://www.chartjs.org/), a (more advanced) example can be found here https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/views/OPNsense/Diagnostics/traffic.volt
previously we used nvd3, but we decided to switch since the project doesn't seem very active anymore.

sorry for the lack of updates, haven't had the spare time yet to try and get this completed, i'm hoping to be able to find some time to try next month, but if anyone else has spare time and plenty of chartjs experience i wouldn't object to help :)


Deployed link not working

hi, your deployed link tailblocks.cc is not working.

header templets is not working at all.


How to position the player character other than at the starting position?

Here's my App.jsx render jsx.
I tried setting position on the CharacterModel but it doesn't move the camera position.
How would I change the playable character's initial starting position?
Thanks.
    <div ref={ref} style={{ width: "100vw", height: "100vh" }}>
      <EcctrlJoystick buttonNumber={5} />
      <Canvas
        shadows
        linear
        flat
        onPointerDown={(e) => {
          if (e.pointerType === "mouse") {
            e.target.requestPointerLock();
          }
        }}
      >
        {!inView && <DisableRender />}
        <Perf position="top-left" minimal />
        <Environment background files="/meadow_2_4k.hdr" />
        <Lights />
        <Suspense fallback={null}>
          <Physics timeStep="vary">
            <KeyboardControls map={keyboardMap}>
              <Ecctrl debug animated>
                <EcctrlAnimation characterURL={characterURL} animationSet={animationSet}>
                  <CharacterModel />
                </EcctrlAnimation>
              </Ecctrl>
            </KeyboardControls>
            <Map/>
            {/* <Ocean/> */}
          </Physics>
        </Suspense>
      </Canvas>
    </div>
  )
}

pass position to Eccctrl


Using Input component with https://react-hook-form.com/

When using Input component with react-hook-form we are receiving below error.
Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?

What's the difference between FormInput and Input, It seems like FormInput is not exported.

You can try it like this
 <Controller
      name="answer"
      control={control}
      render={({ field: { value, onChange } }) => (
        <Input value={value ?? ''} onChange={onChange} />
      )}
    />

Thank you, issue was fixed in 2.1.8 version


Not working on latest version of nova

On the latest version of nova the field doesn't seem to work properly.
I tried different types, but all seem to give the same errors:
It only affects the adding of a new color, the detail field and edit field work fine.
For now the workaround seems to just give the field a default value:
            Color::make('Color')->default(function () {                  return '#fff';             }),
TypeError: Cannot read property 'h' of undefined
TypeError: Cannot read property 'hex' of undefined
Nova 3.29.0
PHP 8

Hi! I think I found the cause and it should be fixed in version 1.1.1. Thanks!


Enable summary for the post in blog

Enable summary into the posts of every blog

The blog post looks odd without any summary.

oh yes I was thinking about this too. I don't mind adding an option to expose the summary, let me try that.

Hey @aldrineeinsteen ! Thanks for your interest in this theme. Hugo themes are overridable, meaning Hugo will look at your project files to resolve a layout before it looks into the theme's files.
If you installed the theme following the README, you should have installed it at /themes/hugo-theme-codex. The page you are referring to is the blog list layout, which can be found at /themes/hugo-theme-codex/layouts/_default/list.html. If you wish to add a summary to each blog post,  you can copy the contents of /themes/hugo-theme-codex/layouts/_default/list.html to your /layouts/_default/list.html or /layouts/blog/list.html if you are already using the _default list template.

@jakewies oh yes it should be configurable, as I don't want to force that on other people either 😂 I actually had that in mind earlier as some of my blog posts already have the <--more--> summary divider, which is supported by the previous theme that I used.

Good idea. How do you envision the configuration for this looking? I think we could separate the config.toml params by page. For example:
# config.toml

[params]
   # ... site params

   # ... blog params
   [blog]
     showSummary = true

This is just the first idea that came to my noggin. What do you think? Do you have another solution?

Also, @aldrineeinsteen are you looking to have each blog post's description in the list template? The description of a blog post is defined in each post's frontmatter.description. Currently this value is being used as site metadata.

@jakewies no he wanted to show Hugo's Content Summaries, which is defined in .Summary.
I actually wanted to make showSummary a site-wide param. Dealing with page-wide params is kinda tricky as the page's key ("blog") is not the same with every user's website. Also a showSummary in every page param complicates the config I think, if the user wants to show summaries in all pages.

@kentnek ok cool I didn't know this was an option. I just tested it out, and the Rich Content example post outputs some wonky text because it uses shortcodes. From first glance it looks like the .Summary value and shortcodes don't play nice together.

Hmm then I guess we can add in the <!--more--> divider before the rich content for the demo to work.

Good idea. How do you envision the configuration for this looking? I think we could separate the config.toml params by page. For example:
# config.toml

[params]
   # ... site params

   # ... blog params
   [blog]
     showSummary = true

This is just the first idea that came to my noggin. What do you think? Do you have another solution?

I haven't thought of exposing the same as a configuration; i have pushed a code to display the summary by default along with pagination:

Hmm then I guess we can add in the <!--more--> divider before the rich content for the demo to work.

Yes, when started adding summary found the pagination was missing, i have added the same in #75

Good idea. How do you envision the configuration for this looking? I think we could separate the config.toml params by page. For example:
# config.toml

[params]
   # ... site params

   # ... blog params
   [blog]
     showSummary = true

This is just the first idea that came to my noggin. What do you think? Do you have another solution?

Added support for configuration in #75


Send product_id=6 on particle keys send <device-id> some-key.pub.pem for photon

In our automation scripts that test devices against different clouds, we frequently use the particle keys send command to allow a device to connect to it. The API endpoint behind this command accepts a product_id parameter.  Can we find a way to pass this information along with the "send key" command too? Perhaps just an optional --product-id param would do the trick.

Oh wow! is this why my devices 'randomly' start showing up as Cores?

No. Different reason. That was due to a recently fixed bug in the Web IDE that overwrote the product_id.
This feature enhancement idea mainly helps when pointing devices at different clouds that haven't already connected and been claimed to a user account or that don't have ANY keys stored in the cloud's database.

Duplicate of #155


Matrix.py - ValueError: width * height cannot exceed total pixel count!

I'm trying to get the matrix.py (from https://github.com/ManiacalLabs/AllPixel/wiki/Matrix-Example) working but I get this error:
'Traceback (most recent call last):
File "matrix.py", line 16, in
serpentine = True)
File "/usr/local/lib/python3.5/dist-packages/bibliopixel/layout/matrix.py", line 67, in init
% (self.width, self.height, self.numLEDs))
ValueError: width * height cannot exceed total pixel count! 32 * 32 > 9'
The only line in the example code I changed was:
'driver = Serial(num = 3*3, ledtype = LEDTYPE.WS2812)'
(using a 3x3 Nulsom ns-led-06 led matrix)

@rec I'd say this is another regression
@xtalker You should be able to set width=3, height=3 in the Matrix() creation.
Looks like another slight regression. So sorry about that. It should work the way you say but looks like we missed a couple backwards compatibilities.

@rec - actually, that code is still there:
https://github.com/ManiacalLabs/BiblioPixel/blob/master/bibliopixel/layout/matrix.py#L57-L60
But clearly, if you look at @xtalker 's error it's getting the passed width and height as 32,32. I think you changed it to default to those, which it should not because it breaks this functionality.

Patch coming!
On Thu, Nov 29, 2018 at 5:31 PM Adam Haile<EMAIL_ADDRESS>wrote:

@rec https://github.com/rec - actually, that code is still there:
https://github.com/ManiacalLabs/BiblioPixel/blob/master/bibliopixel/layout/matrix.py#L57-L60
But clearly, if you look at @xtalker https://github.com/xtalker 's
error it's getting the passed width and height as 32,32. I think you
changed it to default to those, which it should not because it breaks this
functionality.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/1088#issuecomment-442900400,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPdsuRKnP0mrl20_RH82YrPb-rEeHDeks5u0AvlgaJpZM4Y6BWi
.

--
/t
https://tom.ritchford.com https://tom.ritchford.com
https://tom.swirly.com https://tom.swirly.com

I just pushed a patch to our "development" branch a few minutes ago, and I'll be preparing a release tonight and pushing it tonight or tomorrow!

Did this but couldn't see anything new?
sudo pip3 uninstall -y bibliopixel; sudo pip3 install bibliopixel==3.4.30

get rid of the ==3.4.30
Or just do sudo pip3 install -U bibliopixel
On Fri, Nov 30, 2018 at 1:32 PM Bob Steinbeiser<EMAIL_ADDRESS>wrote:

Did this but couldn't see anything new?
sudo pip3 uninstall -y bibliopixel; sudo pip3 install bibliopixel==3.4.30
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/1088#issuecomment-443296549,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6hjTZAJRc99GkxYmCIladvtgD-y8ks5u0XnSgaJpZM4Y6BWi
.

Ok, did the sudo pip3 install -U bibliopixel
but get Successfully installed bibliopixel-3.4.39 certifi-2018.11.29 (yesterday's date?)
and my matrix.py still craps out with:
ValueError: width * height cannot exceed total pixel count! 32 * 32 > 9

Hmm.... darn, I thought @rec had already released the fix.
For now, just go back to 3.4.30 but in your Matrix init add width=3, height=3 to the parameters and you should be good.
On Fri, Nov 30, 2018 at 1:55 PM Bob Steinbeiser<EMAIL_ADDRESS>wrote:

Ok, did the sudo pip3 install -U bibliopixel
but get Successfully installed bibliopixel-3.4.39 certifi-2018.11.29
(yesterday's date?)
and my matrix.py still craps out with:
ValueError: width * height cannot exceed total pixel count! 32 * 32 > 9
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/1088#issuecomment-443303348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6jAQkS7mnP9xUdb5wSRIxngb_DMxks5u0X83gaJpZM4Y6BWi
.

All right.  I just right now released a new version - I'll be sending an update to the main list - so I'm closing this issue.  Feel free to reopen it if the fix doesn't work
sudo pip3 install -U bibliopixel

should work.


Camel-20439: move camel-cloudevent api to camel-api

Description

Moved camel-cloudevents api into camel-api and removed dependencies on this component.
Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

/component-test aws azure google knative

@christophd It should have some effect on camel k and quarkus too

Update the 4.7 upgrade guide as well about this change

I wonder if you could merge main branch into this PR so its up to date, and can be tested

Yes, will do shortly.

/component-test aws azure google knative


fix: input autofill and controlling

prevented input autofill on team members page
fixed empty value for member selector on transfer membership dialog

This needs to be rebased, I fixed the transfer team membership issue


Update issue templates

Coverage remained the same at 71.215% when pulling c8d842056e5761e8ea2d98f4552df6a1ae1215a9 on issue-templates into 8a1f081ff4d3933483a60d5e8bcd8a2f76caeeb3 on master.


MAID-2416 test/Increase test coverage

Coverage decreased (-6.3%) to 78.176% when pulling de164b3ea4ae42fba13476ed1691e2e12ffcd650 on hunterlester:2416 into d49286a13ca6fe3bf7e9f626a898087e703e818f on maidsafe:master.

Coverage increased (+1.1%) to 86.976% when pulling 85a84aa3386783ef3bd24d8306ed515f25db7b64 on hunterlester:2416 into 4b5ef59ef95f0d2866c56768ff54775e98070afb on maidsafe:master.

Coverage increased (+1.4%) to 87.27% when pulling 48d287bf0f29b17833b60f8e4f4cd702bfd6ccce on hunterlester:2416 into 4b5ef59ef95f0d2866c56768ff54775e98070afb on maidsafe:master.

Coverage increased (+1.4%) to 87.27% when pulling 48d287bf0f29b17833b60f8e4f4cd702bfd6ccce on hunterlester:2416 into 4b5ef59ef95f0d2866c56768ff54775e98070afb on maidsafe:master.

Coverage increased (+2.04%) to 88.293% when pulling 3291a7b847ee15199277f6692dd92f737cb2f604 on hunterlester:2416 into 137723eff355bd64a655690b7fe45cbe0d6a5b1c on maidsafe:master.

Coverage decreased (-59.9%) to 26.387% when pulling 83431751db86ae946610e976f9dc7ba7ee0a6ed9 on hunterlester:2416 into 137723eff355bd64a655690b7fe45cbe0d6a5b1c on maidsafe:master.

Coverage increased (+2.2%) to 88.505% when pulling aea1b2b5f6d311859fcef756d40d11b4de2dc0c3 on hunterlester:2416 into 137723eff355bd64a655690b7fe45cbe0d6a5b1c on maidsafe:master.

Coverage increased (+3.09%) to 89.351% when pulling 81c0535390fe9b8f6e608df69e4444744104b20c on hunterlester:2416 into 137723eff355bd64a655690b7fe45cbe0d6a5b1c on maidsafe:master.

Coverage increased (+2.7%) to 90.22% when pulling 6cf6c424d55446091e259b449cc0d60d77964cbf on hunterlester:2416 into 917600d0bcd9a263cf0d5fd07a231199356cad6d on maidsafe:master.

Coverage increased (+2.7%) to 90.22% when pulling 577f50d3bf81166d696346024861ab303b041ded on hunterlester:2416 into 9b3a4f81b82a51353e576574fca6fe6b59b4d341 on maidsafe:master.

Coverage increased (+2.7%) to 90.22% when pulling ae4a3ac37e00c914a706a721bc0525733b44157b on hunterlester:2416 into 9b3a4f81b82a51353e576574fca6fe6b59b4d341 on maidsafe:master.


Regression Bug: Failed to parse GeoJSON ...

Empty GeoJSON and empty FeatureCollections cause the following exception:
Error: geojson_datasource: Failed to parse GeoJSON file from in-memory string

#912 adds 2 tests that test this functionality that are currently failing.
https://travis-ci.org/mapnik/node-mapnik/jobs/498982620#L7048

@four43 - see https://github.com/mapnik/node-mapnik/pull/912


Initializing replicaset with default configuration (single node) fails.

Initializing replicaset with default configuration (single node) fails. MongoDB server version: 3.6.0

rs.initiate()
{
"info2" : "no configuration specified. Using a default configuration for the set",
"me" : ":27017",
"ok" : 0,
"errmsg" : "FailedToParse: Empty host component parsing HostAndPort from ":27017" for member:{ _id: 0, host: ":27017" }",
"code" : 93,
"codeName" : "InvalidReplicaSetConfig"
}

I can't reproduce (taking into account #180 / #222 by adding --bind_ip_all, since we're talking about 3.6):
$ docker pull mongo:3.6
3.6: Pulling from library/mongo
Digest: sha256:785f81e5cf14e8c2f6989bdf276cb025b076a8403f96f6ed45c8ec8161913fdd
Status: Image is up to date for mongo:3.6

$ docker run -dit --name mongo --hostname mongo mongo:3.6 --bind_ip_all --replSet some-repl
5469769e0ae207d70f6e5b09642dcac23acee7707aaa5c7aaafc2d3e32b702fc

$ docker logs --tail=2 mongo
2017-12-15T04:20:49.167+0000 I REPL     [initandlisten] Did not find local replica set configuration document at startup;  NoMatchingDocument: Did not find replica set configuration document in local.system.replset
2017-12-15T04:20:49.167+0000 I NETWORK  [initandlisten] waiting for connections on port 27017

$ docker exec -it mongo mongo admin
MongoDB shell version v3.6.0
connecting to: mongodb://<IP_ADDRESS>:27017/admin
MongoDB server version: 3.6.0
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
	http://docs.mongodb.org/
Questions? Try the support group
	http://groups.google.com/group/mongodb-user
Server has startup warnings:
2017-12-15T04:20:49.069+0000 I STORAGE  [initandlisten]
2017-12-15T04:20:49.069+0000 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2017-12-15T04:20:49.069+0000 I STORAGE  [initandlisten] **          See http://dochub.mongodb.org/core/prodnotes-filesystem
2017-12-15T04:20:49.109+0000 I CONTROL  [initandlisten]
2017-12-15T04:20:49.109+0000 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-12-15T04:20:49.109+0000 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2017-12-15T04:20:49.109+0000 I CONTROL  [initandlisten]
2017-12-15T04:21:14.144+0000 E -        [main] Error loading history file: FileOpenFailed: Unable to fopen() file /root/.dbshell: No such file or directory
> rs.initiate()
{
	"info2" : "no configuration specified. Using a default configuration for the set",
	"me" : "mongo:27017",
	"ok" : 1,
	"operationTime" : Timestamp(1513311677, 1),
	"$clusterTime" : {
		"clusterTime" : Timestamp(1513311677, 1),
		"signature" : {
			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
			"keyId" : NumberLong(0)
		}
	}
}
some-repl:SECONDARY> rs.status()
{
	"set" : "some-repl",
	"date" : ISODate("2017-12-15T04:21:58.368Z"),
	"myState" : 1,
	"term" : NumberLong(1),
	"heartbeatIntervalMillis" : NumberLong(2000),
	"optimes" : {
		"lastCommittedOpTime" : {
			"ts" : Timestamp(1513311709, 1),
			"t" : NumberLong(1)
		},
		"readConcernMajorityOpTime" : {
			"ts" : Timestamp(1513311709, 1),
			"t" : NumberLong(1)
		},
		"appliedOpTime" : {
			"ts" : Timestamp(1513311709, 1),
			"t" : NumberLong(1)
		},
		"durableOpTime" : {
			"ts" : Timestamp(1513311709, 1),
			"t" : NumberLong(1)
		}
	},
	"members" : [
		{
			"_id" : 0,
			"name" : "mongo:27017",
			"health" : 1,
			"state" : 1,
			"stateStr" : "PRIMARY",
			"uptime" : 69,
			"optime" : {
				"ts" : Timestamp(1513311709, 1),
				"t" : NumberLong(1)
			},
			"optimeDate" : ISODate("2017-12-15T04:21:49Z"),
			"infoMessage" : "could not find member to sync from",
			"electionTime" : Timestamp(1513311677, 2),
			"electionDate" : ISODate("2017-12-15T04:21:17Z"),
			"configVersion" : 1,
			"self" : true
		}
	],
	"ok" : 1,
	"operationTime" : Timestamp(1513311709, 1),
	"$clusterTime" : {
		"clusterTime" : Timestamp(1513311709, 1),
		"signature" : {
			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
			"keyId" : NumberLong(0)
		}
	}
}

In my case mongo server name is blank, thats what causing it to fail.
"me" : ":27017",
You think this could be happening because I dont have flag --bind_ip_all,
My setup used to work until my kubernetes pod spec starting picking latest which is 3.6. When I moved back to older version mongo:3.4.10-jessie, its working again fine for me.
Thanks,
-Arvind

I know it's definitely happening because of that missing flag.  If you
check your logs on "rs.initiate()", you should have a warning of that very
fact (which says something to the effect of missing "--bind_ip_all" or
"--bind_ip").


Operator :delay seems kind of wonky, especially when used with CooperativeScheduler

For instance:
local Rx    = require 'rx'
local scheduler = Rx.CooperativeScheduler.create()

-- Cheer someone on using functional reactive programming
local observable = Rx.Observable.of(2, 4, 6, 8, 10, "who do we appreciate")

observable
  :delay(3000, scheduler)
  :map(function(value) return value .. '!' end)
  :subscribe(print, error, function() print "done" end)

repeat
  scheduler:update(10)
until scheduler:isEmpty()

This only gives the output:
done

None of the numbers that's suppose to be emitted gets printed.

The CooperativeScheduler was iterating in reverse order to make removal of tasks easier, which caused onCompleted to be called before any of the onNexts.  Fixed in https://github.com/bjornbytes/RxLua/commit/449e29b31cf37b202ae83f27182a63b680f075db.  Thanks!


Update da-s3-client, da-sfn-client to 0.1.29

About this PR
📦 Updates

uk.gov.nationalarchives:da-s3-client
uk.gov.nationalarchives:da-sfn-client

from 0.1.27 to 0.1.29
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #64.


Throw an exception when accessing old SiteDB emulator

Run this as a test to figure out where we are using this still

test this please

Not needed. Patch removing it is going in soon.


authentication.failed error when setting up match

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I'm trying to set up match with an Apple Enterprise account, but it fails while getting teams. I can log in to developer.apple.com without any prompts or errors.
Complete output when running fastlane, including the stack trace and command used
➜  Projects MATCH_FORCE_ENTERPRISE="1" match development --verbose

+-----------------------+--------------------------------------------------------------------+
|                                  Summary for match 0.4.0                                   |
+-----------------------+--------------------------------------------------------------------+
| verbose               | true                                                               |
| git_url               |<EMAIL_ADDRESS>|
| type                  | development                                                        |
| keychain_name         | login.keychain                                                     |
| readonly              | false                                                              |
| force                 | false                                                              |
| shallow_clone         | false                                                              |
| force_for_new_devices | false                                                              |
| skip_docs             | false                                                              |
+-----------------------+--------------------------------------------------------------------+

INFO [2016-04-16 23:43:14.22]: Cloning remote git repo...
INFO [2016-04-16 23:43:14.22]: $ git clone 'ssh://git@something.com:1337/apple/match-enterprise.git' '/var/folders/lx/zl43jm295ml673t4mfcvjn4m0000gn/T/d20160416-12343-15kdi32'
INFO [2016-04-16 23:43:14.22]: ▸ Cloning into '/var/folders/lx/zl43jm295ml673t4mfcvjn4m0000gn/T/d20160416-12343-15kdi32'...
INFO [2016-04-16 23:43:14.46]: ▸ warning: You appear to have cloned an empty repository.
INFO [2016-04-16 23:43:14.46]: ▸ Checking connectivity... done.
INFO [2016-04-16 23:43:14.50]: 🔓  Successfully decrypted certificates repo
WARN [2016-04-16 23:43:14.50]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username<EMAIL_ADDRESS>INFO [2016-04-16 23:43:19.86]: Verifying that the certificate and profile are still valid on the Dev Portal...
INFO [2016-04-16 23:43:24.56]: 🔒  Successfully encrypted certificates repo
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.25.1/lib/spaceship/client.rb:427:in `parse_response': [!] Apple provided the following error info: (Spaceship::Client::UnexpectedResponse)
	authentication.failed
	Your session has expired.  Please log in.
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.25.1/lib/spaceship/portal/portal_client.rb:51:in `teams'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.25.1/lib/spaceship/portal/ui/select_team.rb:35:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.25.1/lib/spaceship/portal/portal_client.rb:67:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.25.1/lib/spaceship/portal/spaceship.rb:37:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.25.1/lib/spaceship/portal/spaceship.rb:81:in `select_team'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.4.0/lib/match/spaceship_ensure.rb:20:in `initialize'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.4.0/lib/match/runner.rb:11:in `new'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.4.0/lib/match/runner.rb:11:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.4.0/bin/match:52:in `block (3 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.41.2/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.4.0/bin/match:108:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/match-0.4.0/bin/match:116:in `<top (required)>'
	from /usr/local/bin/match:23:in `load'
	from /usr/local/bin/match:23:in `<main>'

Configuration Files
Not relevant
Environment
fastlane version (run fastlane -v): fastlane 1.81.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

Duplicate of  #2054


Rename Camera2D.rotating to rotating_view

As partially brought up in https://github.com/godotengine/godot/issues/54161#issuecomment-981074755.
rotating is misleading, as Camera2D is affected by rotation and global_rotation like any other Node2D.

What does this property do anyway and how do I use it?
The description does not really help. From this description I would assume this property locks the Camera2D onto a target and makes sure the Camera2D rotation follows the target. But there is no property to set a target.
If this would be a method instead and would take a target argument, I would also better understand, but that's not the case here either.
So all in all I don't see how rotating_view is any more helpful than rotating. Both names do nothing to help me understand intrinsically and the description is not helping either.

I was considering overhauling Camera2D's descriptions (again) and names in general because they honestly feel misleading. Indeed, there's no such thing as a "camera target" because Camera2D merely inherits its transform from its parent, like any other Node2D. Renaming the property is a step in the right direction, as should be possibly renaming its other properties as well.
In this PR https://github.com/godotengine/godot/pull/55699 the explanations were heavily limited by how badly named some properties are, as well as how they've been previously described. There's no consistency now.

You could update the description in this PR, to make it more complete.

Updated this specific description to be more explicit, too. Tell me what you may think.

If true, the camera's rendered view is affected by its Node2D.rotation and Node2D.global_rotation.

Yeah that's a lot better! Thanks!

On second thought, maybe also add rotation_degrees? Since this is the only one exposed in the Editor, and therefore maybe easier to find for people who want to test this property.
 If [code]true[/code], the camera's rendered view is affected by its [member Node2D.rotation_degrees], [member Node2D.rotation] and [member Node2D.global_rotation],  [member Node2D.global_rotation_degrees].

There is no rotation_degrees and global_rotation_degrees in Godot 4. Even if there were, one could argue that description to be needlessly verbose.

How about can_rotate? This would make sense to me. If it's false, it can't rotate, so any rotation is discarded.

During the meeting it was agreed that this definitely needs a rename, but we couldn't agree on anything. Suggestions and discussion are welcome.

What if instead we reverse the property and call it ignore_rotation?

That sounds great to me! It could also be called rotation_ignored so that the getter suits more.

I was going to push the rename, but I realised that all other Camera2D have "enabled" booleans, instead. But at the same time, rotation_enabled feels wrong? Where to go from here?

MacOS builds are failing for no fault of my own, I believe

I am unable to test the converter code, but if given instructions on how to I could give it a try. I know right off the bat that it cannot be perfect on every situation, but fortunately, rotating is something that is very unlikely to be changed in code...

Thanks!

Reminder that this is worth accentuating with big caps someday because it's not just a simple rename this time around.


Nice project

Is project is very good that was so nice and I am lucky and I am being here thank you

``

I

So

Let me know

G

O

O

D


Create Stream::MemoryReader overloads to simplify reading from std library containers

We could simplify the creation of a MemoryReader from standard library containers. Oftentimes I find myself reading from the entire container.
Maybe:
std::vector<int> buffer { 1, 2, 3, 4, 5 };
Stream::MemoryReader<int>(buffer);

I'm not 100% sold on the idea as it will increase the number of constructors significantly, but it also seems like a fairly common use case. Wanted to bring it up.
-Brett

I'm actually in favour of doing this. It makes it easier to write test code. Generally speaking, easier to write test code usually means a better API and easier to write code. Besides, it's only 1 extra constructor, and matches what we've already done in the Streams API.
In fact, I was recently tempted to add such a constructor to the BitStreamReader.

I was just looking back at this and noticed <int> was specified twice. I don't think that's necessary since the <int> parameter was already encoded for the vector type. In terms of  user code it should simply be:
std::vector<int> buffer { 1, 2, 3, 4, 5 };
Stream::MemoryReader(buffer);

From within the Stream::MemoryReader class, the constructor would need to be templated, or would need a templated helper function that calls the constructor.

Just now realizing the template code from the Stream::Reader::Read methods won't quite work here, since we're dealing with a constructor. A constructor has no return type. Thus you can't use std::enable_if on the return type to select or disable the function.
Similar alternative methods for constructors look less pleasant to use. It is possible to move std::enable_if in to one of the argument types. My quick shot at that leads to problems trying to infer template arguments.
template<typename T>
MemoryReader(std::enable_if_t<std::is_trivially_copyable<T>::value, T>& object) {
	MemoryReader(&object, sizeof(object));
}

note: candidate template ignored: couldn't infer template argument 'T'
MemoryReader(std::enable_if_t<std::is_trivially_copyable...

Maybe a static constructor method would work better.

@DanRStevens, I was thinking of templates at first, but had no idea if they were even usable on a constructor. Makes sense that you cannot now that you point that out.
Earlier today, I was just thinking this might work as multiple constructors?
std::vector<int> buffer1 { 1, 2, 3, 4, 5 };
Stream::MemoryReader(buffer1);

std::array<int> buffer2 { 1, 2, 3, 4, 5 };
Stream::MemoryReader(buffer2);

std::string buffer3 { '1', '2', '3', '4', '5' };
Stream::MemoryReader(buffer3);

The problem is I don't know how to get the size of the object type or to check if it is trivially_copyable without using a template.
MemoryReader(const std::vector& buffer) : streamBuffer(static_cast<const char* const>(buffer.data()), streamSize(buffer.size() * ??????), position(0) { }

Brett

You can use templated constructors. It's just that constructors and destructors don't have return values. Hence you can't use std::enable_if on the return value to conditionally enable/disable them based on type.
To conditionally enable/disable a function, you generally use std::enable_if on the return type, since the syntax looks cleanest there. You can also use it on function arguments. You do however need to allow the compiler to infer template types before it can test them though, so that creates complications when using std::enable_if on function arguments. In particular, arguments are part of the function signature, while the return type is not. Put another way, a function can be overloaded based on the arguments, but not on the return type. You need those argument types to be set before std::enable_if can make them disappear and produce an invalid function definition.
Side note: Vectors and arrays are both templated types, hence to accept them in a constructor requires a template specialization of the constructor.

If you check the documentation for std::vector, you'll notice the "Member types" section. The standard containers often declare aliases for their template types in this section, which gives an easy way to access the type parameter at a later point in the code. In particular, you want the value_type member. This has traditionally been a typedef for the container type T, though newer compilers could potentially use using to create this alias now.
MemoryReader(const std::vector& buffer) :
    streamBuffer(static_cast<const char* const>(buffer.data())),
    streamSize(buffer.size() * sizeof(buffer::value_type)),
    position(0) { }

I like your proposal to support all of std::vector, std::array, and std::string.

If the constructor can not be suitably parameterized, we could potentially create additional static constructor functions, or perhaps the term is factory functions:
MemoryReader createFromVector(std::vector buffer);
MemoryReader createFromArray(std::array buffer);
MemoryReader createFromString(std::string buffer);

Of course we could overload the function name if we wanted. Additionally, the std::enable_if trick should work here, since this function has a return type.

I think the benefit of constructor overloads is it is more intuitive in this case. However, if we cannot check for is_trivially_copyable on a constructor overload, it allows the user to do unintentional bad things on accident.
I think my preference would be to use the static factory functions (not sure on term either) since it would be more correct.
What about:
Streams::MemoryReader CreateFromContainer(std::vector buffer);
Streams::MemoryReader CreateFromContainer(std::array buffer);
Streams::MemoryReader CreateFromContainer(std::string buffer);

The only problem here is I don't know if people intuitively think of a std::string as a container?
Thanks,
Brett

This looks like something we've long since implemented in the library. I'm going to close this. If I've missed something, it can be re-opened.


Pass authorization info to UI

I know this is an odd question, but is there any way to pass the authorization info via url params or header information to Swagger UI? I basically want to show a custom login page and the redirect to the swagger ui with the bearer token and then have that stored in the authorization info.
I was going to do it in the a custom index or some injected javascript, but it seems like all the documentation talking about passing customization stuff to UseSwaggerUI doesn't work (I'm on version 6.0.0-beta902 because the extension didn't seem to exist on the last stable). All I have is changing the json location.

I needed to do the same and just saved the bearer token in a cookie and injected some javascript to read the cookie and add it to window.swaggerUi.api.clientAuthorizations

, but it seems like all the documentation talking about passing customization stuff to UseSwaggerUI doesn't work

What is not working?
my javascript:
function getCookie(c_name) {
    if (document.cookie.length > 0) {
        c_start = document.cookie.indexOf(c_name + "=");
        if (c_start != -1) {
            c_start = c_start + c_name.length + 1;
            c_end = document.cookie.indexOf(";", c_start);
            if (c_end == -1) {
                c_end = document.cookie.length;
            }
            return unescape(document.cookie.substring(c_start, c_end));
        }
    }
    return "";
}

$(document).ready(function () {
    window.swaggerUi.api.clientAuthorizations.add('oauth2', new SwaggerClient.ApiKeyAuthorization('Authorization', 'Bearer ' + getCookie('SwaggerBearerToken'), 'header'));

});

I had been using this little hack, but upgrading to latest seems to have broken it. Is there an alternative way to add an authorization header to all requests?

This thread helped me out:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/603

@MusicMonkey5555 - is this still an issue or can I close it?


[HOLD][$250] Migrate PressableWithoutFocus.js to function component

Class Component Migration
Filenames

[ ] src/components/PressableWithoutFocus.js

type: React.Component
has state values: false
has refs: true
has context: false
lifecycle methods: none

Task

We currently have some class components in our codebase that we would like to refactor to a function component.
Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
If you need additional guidance, please ask in #expensify-open-source
Test for any regressions and verify that there are no breaking changes

⚠ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Migrate PressableWithoutFocus.js to function component
What is the root cause of that problem?
No root cause, just refactoring
What changes do you think we should make in order to solve the problem?
We should update src/components/PressableWithoutFocus.js to be functional component
What alternative solutions did you explore? (Optional)

I'd love to work on this.

I can work on this issue.

Can I work on this?

I'd like to work on this.

No longer exists


Dockerfile for development and CI

Add Dockerfile and build script for generating generic docker image for development and CI machines. Readme updated with section 'Docker image for development'

I would add tmux to the next update. Currently, I don't have a version number for the docker image, only for the components. This makes the differentiation difficult (some people may already have the docker image with the same tag)


install scoop failed.

PS C:\Users\LazyGoo> iwr -useb get.scoop.sh | iex
Initializing...
Downloading scoop...
Invoke-Expression: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
update to powershell 7.0.3.failed either

perfect solved by chg the command to the follow:
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/lukesampson/scoop/master/bin/install.ps1')


Less aggressive escaping of <script> content

Description
We escape more than necessary, e.g.:
"zoneinfo": "America\u002FNew_York"

Use jsesc in script context mode instead of using serialize-javascript in JSON mode.

@royleejr Ah sorry, I forgot to create this as draft. Still working on it :)

@royleejr Ah sorry, I forgot to create this as draft. Still working on it :)

oh! haha okay! I can take a look at it when it's ready for review if you'd like.

/snapit


More detailed documentation about commands in tutorial

Hi, as a new user/developer I'm trying to get myself through the tutorials on https://book.integritee.network/, however, it seems to me that it's lacking a bit of documentation about the commands/subcommands that are used in the tutorial.
For example, in how to perform a private tx section, a few steps are listed, but without further explanation of what exactly these commands do and why we need them. I've checked integritee-service --help, but that's just one-liner which might be too general.
It would be great if we can elaborate on the commands to address questions like:

what does shielding-key do, why do we need it?
what does signing-key do, why do we need it?
where is ~/mrenclave.b58 used?
...

I'd highly appreciate it!

There's a new release for the book: https://docs.integritee.network/
While not everything is yet documented, we are steadily increasing the documentation there (and keeping it up to date)

Shielding key explanation for example can be found here:
https://docs.integritee.network/3-our-technology/3.1-software-development-kit/3.1.2-trusted-off-chain-computing
signing key: https://docs.integritee.network/4-development/4.4-sdk/4.4.6-rpc-interface
mrenclave.b58 is nothing official, it's been used for automatic integration tests and is deprecated by now. So there won't be any official documentation for this.

Important to know: Not everything is easy to find in the documentation. But there's a search function, that helps a lot! :)
Is that answer satisfactory for you?

The tutorials themselves have been changed to docker usage, so there's no need to call the init-functions yourself any more.

Closing this for now. Feel free to reopen if my answer was not statisfactory.


[RFC][Tracking Issue] Name mangling in IRModules

This issue is to track progress for Name mangling in IRModules
PR: #12066
RFC discussion: https://github.com/apache/tvm-rfcs/pull/84
Forum: https://discuss.tvm.apache.org/t/pre-rfc-name-mangling-in-irmodules/12944/7

Closing since the PR is merged, we can re-open if need be


Multigroup server broken when writing more than one collection.

I made an initial attempt at benchmarking a GEOS run with the multigroup server in pfio.
I ran a c180 job on 14 skylake nodes. I ran the model on 8x48 (384) processors and devoted the other 4 nodes to the oserver.
The configuration and run command for GEOSgcm.x was as follows:
set IOSERVER_OPTIONS = "--npes_model $MODEL_NPES --oserver_type multigroup --nodes_output_server 4 --npes_output_backend 80"

$RUN_CMD 560 $GEOSBIN/GEOSgcm.x $IOSERVER_OPTIONS --logging_config 'logging.yaml'

Here are my observations. I tried running this with the standard History.rc used by the AGCM, only writing surf and prog, each writing every hour. The code crashed like so with less than useful traceback the very first time it writes:
 AGCM Date: 2019/03/17  Time: 22:00:00  Throughput(days/day)[Avg Tot Run]:  253.1   88.5   97.5  TimeRemaining(Est) 000:05:27   26.2% :  13.7% Mem Comm:Used
 bmaa captain collection_id:            1
 bmaa writer collection_id:            1
 bmaa captain collection_id:            2
 bmaa writer collection_id:            2
Abort(927612303) on node 437 (rank 437 in comm 0): Fatal error in PMPI_Win_fence: Other MPI error, error stack:
PMPI_Win_fence(124)..................: MPI_Win_fence(assert=0, win=0xa0000005) failed
MPID_Win_fence(264)..................:
MPIDIG_mpi_win_fence(479)............:
MPIDI_NM_rma_win_cmpl_hook(341)......:
MPIDI_OFI_win_progress_fence_impl(47):
MPIDI_OFI_handle_cq_error(1042)......: OFI poll failed (ofi_events.c:1042:MPIDI_OFI_handle_cq_error:Invalid argument)
>> Error << /usr/local/intel/2020/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpirun  -np 560 /gpfsm/dswdev/bmauer/models/github_stock/GEOSgcm/install/bin/GEOSgcm.x --npes_model 384 --oserver_type multigroup --nodes_output_server 4 --npes_output_backend 80 --logging_config logging.yaml: status = 143; at /gpfsm/dswdev/bmauer/models/github_stock/GEOSgcm/install/bin/esma_mpirun line 378.

I put prints in the master/worker polling loops in start_back() in MultiGroupServer.F90 so I could see when a worker rank gets a new request.
However, if I only write one collection it seems to work and happily writes files. Not sure what to make of this but clearly this has stopped any benchmarking efforts.

I have examples that wrote many collections and they run fine. But I will check it again

Unfortunately, this seems to be something related to the model size/number of cores etc ...
I've tried a smaller case. Running c24 on 8 nodes, with 24 cores-per-node to make the math easy. I give 96 cores to the model, the other 96 to the o-server, and give the back 48. That runs fine. I'm able to run a day with the standard History.rc

Unfortunately, this seems to be something related to the model size/number of cores etc ...
I've tried a smaller case. Running c24 on 8 nodes, with 24 cores-per-node to make the math easy. I give 96 cores to the model, the other 96 to the o-server, and give the back 48. That runs fine. I'm able to run a day with the standard History.rc

This is seeming to be a skylake thing. I got 22 haswell nodes, 24 cores per node. I use 16 nodes for the model, 6 for the server, with 2 for the backend. That runs fine, I can output multiple collections.
Now I do the same thing but request 22 skylake nodes, 24 cores per node but the run parameters the same. That fails with the original error in the first post in this chain.
@weiyuan-jiang was also able to run a case, 24 cores per node, 9 for the model, 6 (4/2 split) for the oserver with the standard history on haswell.
So best guess this is an mpi issue exposed because the skylakes are on a different fabric than the haswells. I'll do more testing on skylakes.

This is seeming to be a skylake thing. I got 22 haswell nodes, 24 cores per node. I use 16 nodes for the model, 6 for the server, with 2 for the backend. That runs fine, I can output multiple collections.
Now I do the same thing but request 22 skylake nodes, 24 cores per node but the run parameters the same. That fails with the original error in the first post in this chain.
@weiyuan-jiang was also able to run a case, 24 cores per node, 9 for the model, 6 (4/2 split) for the oserver with the standard history on haswell.
So best guess this is an mpi issue exposed because the skylakes are on a different fabric than the haswells. I'll do more testing on skylakes.

More datapoints, seems to be a multi node issue + skylake issue
The latest experiment. I requested 4 skylake nodes with 12 cores per node, run the model on 24.
If I mpirun with 36 cores, have 1 node for o-server and 6 cores for the backend it works.
If I mpirun wtih 48 cores, have 2 nodes for the o-server and 12 cores for the backend it fails, still the same win fence error.

More datapoints, seems to be a multi node issue + skylake issue
The latest experiment. I requested 4 skylake nodes with 12 cores per node, run the model on 24.
If I mpirun with 36 cores, have 1 node for o-server and 6 cores for the backend it works.
If I mpirun wtih 48 cores, have 2 nodes for the o-server and 12 cores for the backend it fails, still the same win fence error.

Not unexpectedly based on the error being seen, it appears to be failing on the MPI fence call here:
https://github.com/GEOS-ESM/MAPL/blob/develop/pfio/MultiGroupServer.F90#L562

Not unexpectedly based on the error being seen, it appears to be failing on the MPI fence call here:
https://github.com/GEOS-ESM/MAPL/blob/develop/pfio/MultiGroupServer.F90#L562

Summarizing what I see.
1.) if I set --oserver_type multigroup
2.) if running on skylakes
3.) if running the oserver on multiple nodes --nodes_output_server n, where n > 1
4.) if History attempts to write 2 or more collections during an iteration
The code appears to fail in the 2nd mpi_win_fence call here:
https://github.com/GEOS-ESM/MAPL/blob/develop/pfio/MultiGroupServer.F90#L562
It was not clear to me why this was needed as there is a mpi_win_fence called during the creation of the RDMAreference so nothing happens between that mpi_win_fence call and the one I reference above. Then there is a 3rd mpi_win_fence when deallocate RDMAreference.

Summarizing what I see.
1.) if I set --oserver_type multigroup
2.) if running on skylakes
3.) if running the oserver on multiple nodes --nodes_output_server n, where n > 1
4.) if History attempts to write 2 or more collections during an iteration
The code appears to fail in the 2nd mpi_win_fence call here:
https://github.com/GEOS-ESM/MAPL/blob/develop/pfio/MultiGroupServer.F90#L562
It was not clear to me why this was needed as there is a mpi_win_fence called during the creation of the RDMAreference so nothing happens between that mpi_win_fence call and the one I reference above. Then there is a 3rd mpi_win_fence when deallocate RDMAreference.

mpi_win_fence should be fine as long as all the processes participate the call. I am not sure if skylate has special env for this call. I will test it on skylate.

mpi_win_fence should be fine as long as all the processes participate the call. I am not sure if skylate has special env for this call. I will test it on skylate.

I can confirm that if the front and the back split into different nodes, it hangs. Need more investigation

I can confirm that if the front and the back split into different nodes, it hangs. Need more investigation

UPDATE:   I have tested c24, and it is still working even under @bena-nasa 's constraint.  It becomes very very  slow. I believe it is due to MPI_put.  more investigation.....

UPDATE:   I have tested c24, and it is still working even under @bena-nasa 's constraint.  It becomes very very  slow. I believe it is due to MPI_put.  more investigation.....

I am wondering to ask NCCS to add accelerated RDMA option.  https://edc.intel.com/content/www/us/en/design/products-and-solutions/networking-and-io/fabric-products/omni-path/rn-intel-omni-path-software-release-notes-for-v10-10-3-1/accelerated-rdma-information/
In the file, it said the memory may explode.
cat /etc/modprobe.d/00-hfi1.conf

Managed by Puppet

Omni-Path hfi1 module parameters
Please refer to the Intel Omni-Path Fabric Performance Tuning User Guide
https://www.intel.com/content/dam/support/us/en/documents/network-and-i-o/fabric-products/Intel_OP_Performance_Tuning_UG_H93143_v12_0.pdf

WARNING!! Accelerated RDMA has shown to explode memory usage. Leaving disabled ATM - aknister
options hfi1 max_mtu=8192 krcvqs=5 pcie_caps=0x51 sge_copy_mode=2 rcvhdrcnt=16352
What do you think ? @bena-nasa @tclune

I am wondering to ask NCCS to add accelerated RDMA option.  https://edc.intel.com/content/www/us/en/design/products-and-solutions/networking-and-io/fabric-products/omni-path/rn-intel-omni-path-software-release-notes-for-v10-10-3-1/accelerated-rdma-information/
In the file, it said the memory may explode.
cat /etc/modprobe.d/00-hfi1.conf

Managed by Puppet

Omni-Path hfi1 module parameters
Please refer to the Intel Omni-Path Fabric Performance Tuning User Guide
https://www.intel.com/content/dam/support/us/en/documents/network-and-i-o/fabric-products/Intel_OP_Performance_Tuning_UG_H93143_v12_0.pdf

WARNING!! Accelerated RDMA has shown to explode memory usage. Leaving disabled ATM - aknister
options hfi1 max_mtu=8192 krcvqs=5 pcie_caps=0x51 sge_copy_mode=2 rcvhdrcnt=16352
What do you think ? @bena-nasa @tclune

I ran again, different build I'm still see a crash. Are you sure you are tested the same configuration?
I requested 4 skylake nodes with 12 cores per node.
I'm running a c24 with NX=2, NY=12 and launch GEOS like so:
mpirun  -np 48 /gpfsm/dswdev/bmauer/models/github_control/GEOSgcm/install-debug/bin/GEOSgcm.x --npes_model 24 --oserver_type multigroup --nodes_output_server 2 --npes_output_backend 8 --logging_config logging.yaml

and my History.rc
COLLECTIONS: 'geosgcm_prog'
             'geosgcm_surf'
::

GRID_LABELS: PC96x49-DC
::

PC96x49-DC.GRID_TYPE: LatLon
PC96x49-DC.IM_WORLD: 96
PC96x49-DC.JM_WORLD: 49
PC96x49-DC.POLE: PC
PC96x49-DC.DATELINE: DC
PC96x49-DC.LM: 72

  geosgcm_prog.template:  '%y4%m2%d2_%h2%n2z.nc4',
  geosgcm_prog.archive:   '%c/Y%y4',
  geosgcm_prog.format:    'CFIO',
  geosgcm_prog.frequency:  010000,
  geosgcm_prog.grid_label: PC96x49-DC
  #geosgcm_prog.vscale:     100.0,
  #geosgcm_prog.vunit:     'hPa',
  #geosgcm_prog.vvars:     'log(PLE)' , 'DYN'          ,
  #geosgcm_prog.levels:     1000 975 950 925 900 875 850 825 800 775 750 725 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 40 30 20 10 7 5 4 3 2 1 0.7 0.5 0.4 0.3 0.2 0.1 0.07 0.05 0.04 0.03 0.02,
  geosgcm_prog.fields:    'PHIS'     , 'AGCM'         ,
                          ::

  geosgcm_surf.template:  '%y4%m2%d2_%h2%n2z.nc4',
  geosgcm_surf.archive:   '%c/Y%y4',
  geosgcm_surf.format:    'CFIO',
  geosgcm_surf.mode:      'time-averaged',
  geosgcm_surf.frequency:  010000,
  geosgcm_surf.ref_time:   210000,
  geosgcm_surf.grid_label: PC96x49-DC
  geosgcm_surf.fields:    'PHIS'          , 'AGCM'     ,
::

I ran again, different build I'm still see a crash. Are you sure you are tested the same configuration?
I requested 4 skylake nodes with 12 cores per node.
I'm running a c24 with NX=2, NY=12 and launch GEOS like so:
mpirun  -np 48 /gpfsm/dswdev/bmauer/models/github_control/GEOSgcm/install-debug/bin/GEOSgcm.x --npes_model 24 --oserver_type multigroup --nodes_output_server 2 --npes_output_backend 8 --logging_config logging.yaml

and my History.rc
COLLECTIONS: 'geosgcm_prog'
             'geosgcm_surf'
::

GRID_LABELS: PC96x49-DC
::

PC96x49-DC.GRID_TYPE: LatLon
PC96x49-DC.IM_WORLD: 96
PC96x49-DC.JM_WORLD: 49
PC96x49-DC.POLE: PC
PC96x49-DC.DATELINE: DC
PC96x49-DC.LM: 72

  geosgcm_prog.template:  '%y4%m2%d2_%h2%n2z.nc4',
  geosgcm_prog.archive:   '%c/Y%y4',
  geosgcm_prog.format:    'CFIO',
  geosgcm_prog.frequency:  010000,
  geosgcm_prog.grid_label: PC96x49-DC
  #geosgcm_prog.vscale:     100.0,
  #geosgcm_prog.vunit:     'hPa',
  #geosgcm_prog.vvars:     'log(PLE)' , 'DYN'          ,
  #geosgcm_prog.levels:     1000 975 950 925 900 875 850 825 800 775 750 725 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 40 30 20 10 7 5 4 3 2 1 0.7 0.5 0.4 0.3 0.2 0.1 0.07 0.05 0.04 0.03 0.02,
  geosgcm_prog.fields:    'PHIS'     , 'AGCM'         ,
                          ::

  geosgcm_surf.template:  '%y4%m2%d2_%h2%n2z.nc4',
  geosgcm_surf.archive:   '%c/Y%y4',
  geosgcm_surf.format:    'CFIO',
  geosgcm_surf.mode:      'time-averaged',
  geosgcm_surf.frequency:  010000,
  geosgcm_surf.ref_time:   210000,
  geosgcm_surf.grid_label: PC96x49-DC
  geosgcm_surf.fields:    'PHIS'          , 'AGCM'     ,
::

Another user was able to replicate this on the skylake nodes. They experimented with some MPI settings that shed some light on the problems however, per the user
"I just looked at this again. I tried the tcp OFI provider and it works, of course significantly slower than psm2. On the Haswell nodes, either the verbs or the mlx provider is used, and of course tcp will work too. It looks as if the psm2 functions in libfabric is the issue - perhaps there is a mismatch between the psm2 version and the rest of libfabric. This is something Intel can probably provide some insight on. We might attempt to build libfabric by ourselves and test that with a customized local Intel MPI module."

Another user was able to replicate this on the skylake nodes. They experimented with some MPI settings that shed some light on the problems however, per the user
"I just looked at this again. I tried the tcp OFI provider and it works, of course significantly slower than psm2. On the Haswell nodes, either the verbs or the mlx provider is used, and of course tcp will work too. It looks as if the psm2 functions in libfabric is the issue - perhaps there is a mismatch between the psm2 version and the rest of libfabric. This is something Intel can probably provide some insight on. We might attempt to build libfabric by ourselves and test that with a customized local Intel MPI module."

@bena-nasa Interesting. I just sent an email to NCCS about (if they have a chance) to update the libpsm2 on the skylakes. Turns out I can't build Open MPI 4.1.0 on them because:
checking whether PSM2_LIB_REFCOUNT_CAP is declared... no
configure: WARNING: PSM2 needs to be version 11.2.173 or later. Disabling MTL.
configure: error: PSM2 support requested but not found.  Aborting

I guess there must be something in libpsm2 that Open MPI 4.1.x relies on?
Are these related? Probably not. But seems like libpsm2 is having a moment here. 🤷🏼

@bena-nasa Interesting. I just sent an email to NCCS about (if they have a chance) to update the libpsm2 on the skylakes. Turns out I can't build Open MPI 4.1.0 on them because:
checking whether PSM2_LIB_REFCOUNT_CAP is declared... no
configure: WARNING: PSM2 needs to be version 11.2.173 or later. Disabling MTL.
configure: error: PSM2 support requested but not found.  Aborting

I guess there must be something in libpsm2 that Open MPI 4.1.x relies on?
Are these related? Probably not. But seems like libpsm2 is having a moment here. 🤷🏼

Now I can reproduce the crash.  All the crashes come down to the error:
MPIDI_OFI_handle_cq_error(1042).........: OFI poll failed (ofi_events.c:1042:MPIDI_OFI_handle_cq_error:Invalid argument)
Considering I can run the program in Hashwell and also in Skylake with verbs ( very very slow though), I suspected the error is due to libfabric as @aoloso suggested. I am not sure if our problem is related to this issue https://github.com/ofiwg/libfabric/issues/4283

Now I can reproduce the crash.  All the crashes come down to the error:
MPIDI_OFI_handle_cq_error(1042).........: OFI poll failed (ofi_events.c:1042:MPIDI_OFI_handle_cq_error:Invalid argument)
Considering I can run the program in Hashwell and also in Skylake with verbs ( very very slow though), I suspected the error is due to libfabric as @aoloso suggested. I am not sure if our problem is related to this issue https://github.com/ofiwg/libfabric/issues/4283

Note: We do now have a new(-er) Intel MPI to test with, though using the Model as a tester might be out until #644 can be diagnosed by @tclune. But if you can reproduce this outside of GEOS somehow...
Note 2: Not sure if Intel MPI 2021.1.1 change anything in this area, though. The release notes are...terse.

Note: We do now have a new(-er) Intel MPI to test with, though using the Model as a tester might be out until #644 can be diagnosed by @tclune. But if you can reproduce this outside of GEOS somehow...
Note 2: Not sure if Intel MPI 2021.1.1 change anything in this area, though. The release notes are...terse.

Now we don't use one-sided mpi_put anymore.  The problem disappears. Closed

Hi there, I'm running into a similar issue running GCHP on AWS EC2 (hang at output time if using EFA provider, tcp works fine). Could you elaborate on

Now we don't use one-sided mpi_put anymore. The problem disappears.

Is this an update that recently went into MAPL, or a setting somewhere? The version of MAPL in the latest GCHP dates back to November, so I'm trying to figure out the best course of action for further debugging.

The story is a bit complicated.    We were attempting to implement a new variant of the O-server to overcome a performance block in certain complex configurations of GEOS.  That new implementation used MPI_Put() which had its own performance issues, as well the bug reported in this ticket for some configurations.   Switching to Isend() solved the performance issues and the bug reported here vanished along with that.   (I.e., it was never really diagnosed.)
None of this is yet used in any released version of MAPL, so probably not the explanation for your problems.
However ... we have found a regression in Intel MPI starting in version <IP_ADDRESS> that causes hangs in MPI_Win_lock().   The IO servers skirt around that problem, but pFlogger can easily trigger it.       Since pFlogger has been in MAPL for some time, it is conceivable that the GCHP use case is running into that.   (But am guessing that GCHP is using OpenMPI, and not Intel MPI, on AWS.)   If you think this is possibly related, @mathomp4 can tell you about an env variable that fixes the problem on our fabric.

Thank you very much for the clarification. I've been running into issues running GCHP on multiple nodes with both OpenMPI and Intel MPI on AWS when using EFA, but this hang is specifically when using Intel MPI (currently 2019.8.254). I'd certainly be interested in hearing about any possible fixes using environment variables.

Have you updated MAPL?  The problem should be solved. If not, I will have to reopen this issue @WilliamDowns

No I haven't yet, I'll try to do so. Sorry for commenting so much on a closed issue.

FYI I ended up running into a mix of indefinite hangs and quick crashes during output write on seemingly identical runs. Updating my libfabric version from 1.11.1 to 1.11.2 fixed all issues. I didn't end up trying to update MAPL.


Kentico.Xperience.Libraries dependency in the admin app

Installing the Nuget package will also install the Kentico.Xperience.Libraries package to the admin app which can cause various issues. Moreover, the CMSApp is set to use DLLs from the LIB folder, so whatever is brought to the app by the package, can be overridden after building the project. Also, users must be really careful on the hotfix versions applied, package versions installed, etc. It does not sound like a good practice.

乡村振兴147万扶贫金免费办理，年前最后一批补贴，火速加老师微信:<PHONE_NUMBER>2 【国家系统app放发，时效有限免费领取，让你缴纳费用都是骗子，尽快与相关部门联系领取

Closing with an explanation from Sean: https://github.com/Kentico/xperience-twilio-sms/issues/4


python312Packages.pyprosegur: 0.0.11 -> 0.0.12

Diff: https://github.com/dgomes/pyprosegur/compare/refs/tags/0.0.11...0.0.12
Changelog: https://github.com/dgomes/pyprosegur/releases/tag/0.0.12
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 340158 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.prosegur
python311Packages.pyprosegur
python311Packages.pyprosegur.dist
python312Packages.pyprosegur
python312Packages.pyprosegur.dist


Update Pterodactyl egg

fix username not being written into config by renaming the variable
add P2P port variable
remove force IP variable (it's not recommended to force but if you really need to then use the /forceip option in startup command)
remove /forceip from startup command
use chown -Rv 1000: because it saves 4 characters

Hello,
I will not merge this PR as I disagree with all of thoses changes.
Changing the username variable will not fix anything, I'm not able to reproduce the bug you talk, and I think your problem is elsewhere.
The P2P port variable is not a prerequisite for the server to launch proprely, and is not needed as such.
I made the /forceip required as it can resolve quickly issues from being behind firewall/nat/reverse-proxy stuff. I can understand why you wish to remove it as in simple setup you may not need it, but as Pterodactyl is made for non-technical users, forcing them to fill the public IP may avoid encountering network issues later.
As for use chown -Rv 1000: because it saves 4 characters, you will just get an error. eg:
#  touch file
#  chown 2000: file
chown: invalid spec: ‘2000:’
#  ll file
-rw-rw-r-- 1 myuser myuser 0 janv.  6 13:59 file

The pterodactyl setup is less elegant than the main Dockerfile/entrypoint, but it's because its inner working is pretty fucked up, sadly.

Hello,
I will not merge this PR as I disagree with all of thoses changes.
Changing the username variable will not fix anything, I'm not able to reproduce the bug you talk, and I think your problem is elsewhere.
The P2P port variable is not a prerequisite for the server to launch proprely, and is not needed as such.
I made the /forceip required as it can resolve quickly issues from being behind firewall/nat/reverse-proxy stuff. I can understand why you wish to remove it as in simple setup you may not need it, but as Pterodactyl is made for non-technical users, forcing them to fill the public IP may avoid encountering network issues later.
As for use chown -Rv 1000: because it saves 4 characters, you will just get an error. eg:
#  touch file
#  chown 2000: file
chown: invalid spec: ‘2000:’
#  ll file
-rw-rw-r-- 1 myuser myuser 0 janv.  6 13:59 file

The pterodactyl setup is less elegant than the main Dockerfile/entrypoint, but it's because its inner working is pretty fucked up, sadly.

Alright, I will keep these changes to myself. Do note that all of these changes are still in my PyPlanet fork, so I guess that PR will be closed too.

Alright, I will keep these changes to myself. Do note that all of these changes are still in my PyPlanet fork, so I guess that PR will be closed too.


Fix build issues on Windows and ARM

This PR fixes some build issues introduced with the migration to CMake.

Windows - The CMake build defaults to dynamically linking the Windows CRT, although in parity we set it to link statically. The build.rs now check the crt-static feature to configure CMake accordingly.
ARM - The CMake build defaults to setting -march=native which doesn't work when cross-compiling. Defining PORTABLE=ON makes sure the RocksDB build doesn't set -march=native.

Example failed builds:

Windows - https://gitlab.parity.io/parity/parity/-/jobs/96013
ARM64 - https://gitlab.parity.io/parity/parity/-/jobs/96010


Update the playbook example (#156)

Hello!
Please check my pull request and let me know if something needed differently.
Thank you!

Thanks! :+1:

You're welcome :-)


Class not found exception

I did a fresh installation for this and created a new module with
php artisan module:make blog like in example
<?php
namespace App\Http\Controllers\Blog;

use App\Http\Controllers\Controller;

class BlogController extends Controller{

function home() {

    return "hello";
}
}`

This is my blog controller inside the module
and this is my route file
Route::group(['prefix' => 'blog'], function() {
Route::get('/', function() {
	dd('This is the Blog module index page.');
});

    get('/home','Blog\BlogController@home');
});`

but when i hit blog/home i get this Blog\BlogController not found error
what am I missing?
am i supposed to include any folder for autoload?

 It should be App\Http\Controllers\Blog\BlogController@home.

I tried that still not working
get('/home','App\Http\Controllers\Blog\BlogController@home');
this is code in my route file but this is still not working

Sorry, I didn't notice it earlier, but it looks like you're misusing the route get method, you should have the following:
Route::group(['prefix' => 'blog'], function() {
	Route::get('/', function() {
		dd('This is the Blog module index page.');
	});

	Route::get('home', 'App\Http\Controllers\Blog\BlogController@home');
});

still not working..I think Route::get and get are the same in laravel 5. So I still do not think that it is the issue.

This is my folder structure and you have seen the content. Is there anything else that I need to provide to make this easier to fix

The only thing that I can think of off the top of my head at the moment is to make sure you've added the modules package service provider to your app config file. This is the file that will autoload all of your modules.

this is the facade
'Form'  => 'Illuminate\Html\FormFacade',
'HTML'  => 'Illuminate\Html\HtmlFacade',
'Module' => 'Caffeinated\Modules\Facades\Module'
and this is the serviceProvider
'App\Providers\EventServiceProvider',
'App\Providers\RouteServiceProvider',
'Caffeinated\Modules\ModulesServiceProvider'

I just installed a clean version of Laravel 5 - here is my blog controller and routes file for reference:
Controller
<?php
namespace App\Modules\Blog\Http\Controllers;

use App\Http\Controllers\Controller;

class BlogController extends Controller
{
	public function home()
	{
		dd('Hello World! This is the Blog Home method!');
	}
}

Routes
<?php

/*
|--------------------------------------------------------------------------
| Module Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for the module.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

Route::group(['prefix' => 'blog'], function() {
	Route::get('/', function() {
		dd('This is the Blog module index page.');
	});

	Route::get('home', 'App\Modules\Blog\Http\Controllers\BlogController@home');
});

Cross reference and double check your namespaces.

This is working for me too. Seems like the namespace that I am using is not working, I checked the namespace and tried to work it but it is just not working, I will use the way that you suggested, I will use the namespace just like yours.
Thanks for a great modules and for the help with this issue :)

No problem, glad your issue is resolved. Now go code something awesome!