Not working on Travis anymore?

Our Travis tests started failing when building OHHTTPStubs.
Are you aware of any issues with Travis popping up recently?
It worked 2 days ago - same code failed today.
We have a pod file with this:
platform :ios, '6.0'
target 'GA-SDK-IOS-Tests' do
pod "OHHTTPStubs", "~> 3.1.9"
pod "OCMock", "~> 2.2.4"
pod "XCAsyncTestCase", "~> 1.0.0"
end
Works fine locally with pod install and running tests in Xcode
But started getting this error from Travis:
Failures:
0) Compile /Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CompileC /Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Objects-normal/i386/OHHTTPStubs+NSURLSessionConfiguration.o OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/travis/.rvm/gems/ruby-2.0.0-p481/bin:/Users/travis/.rvm/gems/ruby-2.0.0-p481@global/bin:/Users/travis/.rvm/rubies/ruby-2.0.0-p481/bin:/Users/travis/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fmodules -fmodules-cache-path=/Users/travis/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DXCODE_VERSION=0600 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=6.0 -iquote /Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Pods-GA-SDK-IOS-Tests-OHHTTPStubs-generated-files.hmap -I/Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Pods-GA-SDK-IOS-Tests-OHHTTPStubs-own-target-headers.hmap -I/Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Pods-GA-SDK-IOS-Tests-OHHTTPStubs-all-target-headers.hmap -iquote /Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Pods-GA-SDK-IOS-Tests-OHHTTPStubs-project-headers.hmap -I/Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Products/Debug-iphonesimulator/include -I/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/Headers/Build -I/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/Headers/Build/OHHTTPStubs -I/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/Headers/Public -I/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/Headers/Public/OCMock -I/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/Headers/Public/OHHTTPStubs -I/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/Headers/Public/XCAsyncTestCase -I/Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/DerivedSources/i386 -I/Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/DerivedSources -F/Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Products/Debug-iphonesimulator -fobjc-arc -DOS_OBJECT_USE_OBJC=0 -include /Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/PrecompiledHeaders/Pods-GA-SDK-IOS-Tests-OHHTTPStubs-prefix-anzycpslnrdwpddfyxybytibxgfg/Pods-GA-SDK-IOS-Tests-OHHTTPStubs-prefix.pch -MMD -MT dependencies -MF /Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Objects-normal/i386/OHHTTPStubs+NSURLSessionConfiguration.d --serialize-diagnostics /Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Objects-normal/i386/OHHTTPStubs+NSURLSessionConfiguration.dia -c /Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m -o /Users/travis/Library/Developer/Xcode/DerivedData/GA-SDK-IOS-boftlfbvtexntphfgrniugydxlym/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-GA-SDK-IOS-Tests-OHHTTPStubs.build/Objects-normal/i386/OHHTTPStubs+NSURLSessionConfiguration.o
In file included from /Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs+NSURLSessionConfiguration.m:14:
In file included from /Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h:30:
/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h:186:88: error: expected ':'
headers:(NSDictionary*)httpHeaders NS_DESIGNATED_INITIALIZER;
^
:
/Users/travis/build/GameAnalytics/GA-SDK-IOS/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h:217:71: error: expected ':'
-(instancetype)initWithError:(NSError*)error NS_DESIGNATED_INITIALIZER;
^
:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
** BUILD FAILED ** (10589 ms)
The command "xctool -workspace GA-SDK-IOS.xcworkspace -scheme GA-SDK-IOS-Tests -sdk iphonesimulator7.1 build test" exited with 1.
Done. Your build exited with 1.

Thanks a lot. It works now.
I also had to change Travis conf:
"osx_image: xcode61" to "osx_image: xcode611"
Thanks for responding so fast - great job on this module!


Upgrade Solr, Zeppelin, bug fixes

Upgrade Zeppelin to 0.8.0
Upgrade Solr to 7.5.0
Fixes #7, #8, #9

Glad to see some movement in this project, I wondered whether it is maintained or not :)

Whats the timeline for this being merged?  I suspect that the version of the zeppelin-solr demoed at Activiate was based on this new branch!  Is there a maven repo out there?

I found https://oss.sonatype.org/content/repositories/snapshots/com/lucidworks/zeppelin/zeppelin-solr/ has a version of the plugin, but can't figure out how to tell ./bin/install-interpreter.sh to use this as the repository!

Okay, so I finally figured out that the way to go was to install the plugin was to first install if via ./bin/interpreter-install.sh -n solr -t path_to_jar
Then, I took all of the dependencies from the build, which ended up oddly not in /target/ but in /targe/../../interpreter/solr and moving them into the newly craeted /zeppelin/interperter/solr`

Hi,
I just got back from the conference. Will merge this and release a version soon.
Installing the interpreter should be as easy as
./bin/install-interpreter.sh --name solr --artifact com.lucidworks.zeppelin:zeppelin-solr:0.0.1-beta2

Do I want beta2?   I thought this branch is beta3....?

Regardless, I'll check it out soon!  Thanks for merging.

@epugh I released 0.1.0 just now. Use this command to install the latest (present in the README too)
./bin/install-interpreter.sh --name solr --artifact com.lucidworks.zeppelin:zeppelin-solr:0.1.0

Just this command should be enough. No need to copy or transfer files. If there is a bug, please create an issue to report


Update xcode to 14c18 for host only bots

With https://flutter-review.googlesource.com/c/recipes/+/42160, we are ready to make all tests consistent with xcode 14c18.

Yeah, removed the auto-submit label to postpone to after hour land.


option to print auth key only to file/stdout

this could be useful ease the auth key sharing with the remote host

A simple solution is printing the auth key to stdout and the rest of the logs to stderr. Then we don't need a new option.

Yeah that seems reasonable


Xamarin Form: Google Auth problems with native view

Hi,
I'm able to authenticate with facebook, but with Google there are some troubles because it request to use native webview ( Google drop support to non native webview ). The problem is that xamarin.auth don't intercept return events.

Continue here https://github.com/xamarin/Xamarin.Auth/issues/151#issuecomment-297839054

No relevant data.
Closing this one.


fix: validate platform before made login requests

Jira: B2B-1544
What/Why?
A validation was implemented to ensure that login requests are only made for'bigcommerce' platform stores.
Rollout/Rollback
Revert this PR
Testing
NA

Hey this works but one question. Why was this token used and is it not needed in headless? Is this something that catalyst already owns or developers have to take care of?

Hey this works but one question. Why was this token used and is it not needed in headless? Is this something that catalyst already owns or developers have to take care of?

This is used in stores that use bigcommerce as platform but in the rest of platforms there is no need to use it as we rely in b2b graphql endpoint using b2b token


Handle CLI origin string values.

This is ASCII and origin "cli" per https://github.com/openconfig/reference/pull/179/files?short_path=108f0e8#diff-108f0e84134ec7df8e5ea499f291344b96acc2db54b44eba34bb7ea81675e5d3

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 83.992%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
1679

Relevant Lines:
1999

💛  - Coveralls


PublicClientApplication always uses the IClientApplicationBase.DEFAULT_AUTHORITY

The PublicClientApplication always uses the IClientApplicationBase.DEFAULT_AUTHORITY in all cases. There is no way to replace it with another URL such as a tenant-aware authority URL. My guess is you will want to extend the PUblicClientApplication.builder to accept a non-default authority URL. Probably need to allow this to be overridden. Whatever you think is best. Regardless ignoring tenant-specific URLs is bad.
    private static Authority createDefaultAADAuthority() {
        Authority authority;
        try {
            authority = new AADAuthority(new URL(DEFAULT_AUTHORITY));
        } catch (Exception e) {
            throw new MsalClientException(e);
        }
        return authority;
    }

My bad. I misread the code.


Zero out the default margin-bottom on label.custom-file

Reset the margin-bottom: 0.5rem from <label>.

There's no requirement/guarantee that there will be any help text like in your example. In cases with no help text, I'd think the margin would be desirable.

There's no requirement/guarantee that there will be any help text like in your example. In cases with no help text, I'd think the margin would be desirable.

I think that'll usually be handled by the parent .form-group.

Thanks!


NPE when underlying HTTP client read timeout

ERROR 62567 --- [nio-9897-exec-7] o.b.a.b.a.advice.MethodDecoratorAdvice   : Exception occurred when executing onExit of [HttpRequestExecutor$Execute] for [HttpRequestExecutor]: Cannot invoke "org.apache.http.HttpResponse.getStatusLine()" because "response" is null

java.lang.NullPointerException: Cannot invoke "org.apache.http.HttpResponse.getStatusLine()" because "response" is null
	at org.bithon.agent.plugin.httpclient.apache.interceptor.HttpRequestExecutor$Execute.onMethodLeave(HttpRequestExecutor$Execute.java:77) ~[na:na]

Resolved by #382


finish the UI personal calendar with the functionality from the backend

add polling for real-time collaboration

limit the number of recipes in one timeslot, only one, if users want to add one more, the first recipe will be deleted


”Topleț” is listed in the drop-down menu

Description:
"Topleț" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Topleț" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Topleț, CARAȘ-SEVERIN".


Implement coordinate system

Details:
Every room definition should now have a coordinate property which is an array of [x, y, z]. The room will be stored exactly the same as it is now (inside RoomManager.) Additionally the Area object will be updated to contain a graph (node map) of the area's rooms based on the coordinates of its rooms. This can be used to draw minimaps and the like and will act as a real euclidean 3-dimensional plane.
If an exit is not explicitly specified for a room the move command inside the ranvier-commands bundle will need to infer the possible exit room exits by looking at the area's graph.
Doors should still work... somehow, gotta spend some time with that one. It might "Just Work™" but I'm not hopeful.

Is this system going to be opt-in, ideally bundle-based with the old behavior still available? I'm hoping, like many others I presume, to move an existing game over to ranvier. I currently have about 150 zones converted from an existing diku and everything currently maps over without problem. Having to change everything to a new system would be ... unpleasant.

If you don't change anything everything should still work as it did before, this should be a purely additive change. So I think I should specify that the coordinates property is optional. If a room doesn't have a coordinates property you can still get to it by explicitly naming it as an exit destination but it won't appear in the area's graph object


Windows installer release build fails when extracting wintun

tar on a zip file is not a great idea it seems

Turns out the tar that ships with Windows actually can handle zip files. I guess these Github runners have some other tar installed in its place.
The merged fix doesn't work, see #411 for a working version.

The current flow which includes the merged fix is working correctly (https://github.com/LeeSmet/mycelium/actions/runs/10579302428/job/29311413883). Given #410, I'm assuming that the observed behavior is the result of a partial wintun download

That looks correct indeed. I had only noticed that unzip was trying to open wintun.zip.zip and wintun.zip.ZIP.


Activate plugin gem and dependencies before loading the plugin

Currently the CLI using something like load '/usr/foofoo/lib/kontena_cli_plugin.rb' to load plugins.
This will not activate the plugins dependencies correctly. The plugins load paths will not be added to $LOAD_PATH and /usr/foofoo/lib/kontena_cli_plugin.rb will not be added to $LOADED_FEATURES.
This PR makes plugin_manager activate the plugin gem and its' dependencies before requiring (instead of loading) the kontena_cli_plugin.rb.
With DEBUG=plugin you get a bit more detailed report of what was loaded and added to load paths.
Also added "shell" to  the "you have not installed plugin X" notification thing.
Related reading: http://erik.hollensbe.org/2013/05/11/gem-activation-and-you/

How have the plugin dependencies been working so far without this fix? The require has just loaded the most recent version of whatever gem, ignoring the versioned dependencies in the plugin gemfiles?
This seems to introduce some incompatibilities with some of the existing plugin dependency versions? Presumably because they were just ignored before?

Plugins were loaded with load instead of require.
Also it's (still) loading the kontena_cli_plugin.rb using a complete path, so no gems get activated.
If the plugin had a file such as lib/kontena-plugin-aws.rb and plugin_manager was simply doing require 'kontena-plugin-aws', rubygems would handle the activation and load path setting automatically.

Also it's (still) loading the kontena_cli_plugin.rb using a complete path, so no gems get activated.
If the plugin had a file such as lib/kontena-plugin-aws.rb and plugin_manager was simply doing require 'kontena-plugin-aws', rubygems would handle the activation and load path setting automatically.

Is the new spec.activate spec.activate_dependencies equivalent to what happens when you do require 'kontena-plugin-aws' using the automatic gem activation?

With load(plugin) and no activate/activate_dependencies in plugin_manager.rb as it was before this PR:
Loading plugin kontena-plugin-packet
Plugin manager loaded features for kontena-plugin-packet:
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/token_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/project_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/type_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/facility_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/master/create_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/master_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/nodes/create_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/nodes/restart_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/nodes/terminate_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/node_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet_command.rb

No load paths added

With this PR:
Activating plugin kontena-plugin-packet
Loading plugin kontena-plugin-packet
Plugin manager loaded features for kontena-plugin-packet:
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/token_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/project_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/type_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/facility_option.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/master/create_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/master_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/nodes/create_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/nodes/restart_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/nodes/terminate_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet/node_command.rb
- /usr/local/Cellar/rbenv/1.1.0/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena/plugin/packet_command.rb
- /usr/local/opt/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib/kontena_cli_plugin.rb

Plugin manager load paths added for kontena-plugin-packet:
- /usr/local/opt/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/tzinfo-1.2.2/lib
- /usr/local/opt/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-4.2.8/lib
- /usr/local/opt/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/faraday_middleware-<IP_ADDRESS>/lib
- /usr/local/opt/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/packethost-0.0.8/lib
- /usr/local/opt/rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/kontena-plugin-packet-0.2.5/lib

to clarify:
$LOADED_FEATURES is an array of full paths to all required files
$LOAD_PATH is just like $PATH in shell that is used when you do something like require 'foofoo', it will go through them in order and loads the first foofoo it spots.

Bumping this to 1.2.1, because it doesn't seem like a regression over 1.1, nor does it fix any issue blocking a 1.2.0 release, and it's something we can fix later?

Needs merge per #2184.


Any nyano steal objectives should get the HighRiskItem tag

Description

e.g. mantis knife
calling yaml warriors

Closed by #1610


How to deploy a ROS robot

How to deploy a ROS robot using this package? Specifically, I'm referring to how I can import images captured with a D415 camera into a model for evaluation. I'm not very familiar with Torch. Are there any examples available, similar to what was shown in the video

Sorry, I think I've figured out how to deploy. Let me try using "inference".


Create a markdown index generator

Currently, whenever I'm creating/modifying a README, I'm almost all of the time creating/updating an index, while when adding or removing a section, updating even, is not as tedious, creating a bunch of sections and then updating the README, with the indentation level, it's kind of a pain in the booty. Something I could automate.
My idea is that it can generate the index in a separate file, as to not bother myself too much with replacing it's content.
But, as an improvement, or idea even, I could define a region (as with dot.net):
<!-- #[index-start] -->

1. [Title](#title)
2. [Product](#product)
    1. [Product Roadmap](#product-roadmap)

<!-- #[index-end] -->

Add an ignore section:
<!-- [ignore] -->
### This is just for visualization purposes

Example user call
python3 markdown-index-generator.py --indent-level=3

indent-level being the max indent level you want to index. 0 by default which would mean, every single level
Optional

Create a configuration file and implement an observer so that the index cn be automatically taken care of while you're writting docs?
Adding a back to index, contents
As an extra, make it indent sensitive, meaning, only first level gets a reference to the contents index table, the rest get a reference (Back to...) the parent's section

Proposed regex
/[\w\s]+/igu

worked on commit e08efb18b71bf152809bc1c8fce9a8d58a4b395e


précision départ Couëron

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

👷 Deploy Preview for festi-loire-roller processing.

Name
Link

🔨 Latest commit
493c44986b78d2904e7b5bb9e304a0245faebf9e

🔍 Latest deploy log
https://app.netlify.com/sites/festi-loire-roller/deploys/62a2ed4d65deb90007c74db9


request_not_successful while downloading mp3 file from Google Drive

I'm trying to download mp3 file from Google Drive but Fetch always throw request_not_successful whilst Exoplayer can stream the mp3 very well. I've put then same request headers to Exoplayer and Fetch2 but only Exoplayer works.
mapOf(
                        "Authorization" to "Bearer <my access token>"
                        , "Accept" to "*/*"
                        , "Accept-Encoding" to "gzip, deflate"
                        , "Connection" to "keep-alive"
                        , "User-Agent" to getString(R.string.user_agent_string)
                    )

Also setup with Cookie manager:
val cookieJar: ClearableCookieJar =
        PersistentCookieJar(SetCookieCache(), SharedPrefsCookiePersistor(context))

    val okHttpClient = OkHttpClient.Builder()
        .cookieJar(cookieJar)
        .build()

val fetchConfiguration = FetchConfiguration.Builder(context)
        .setHttpDownloader(OkHttpDownloader(okHttpClient))
        .setDownloadConcurrentLimit(downloadConfig.maxConcurrentDownloads)
        .setAutoRetryMaxAttempts(MAX_RETRY)
        .build()

Fetch.Impl.setDefaultInstanceConfiguration(fetchConfiguration)

    fetch = Fetch.Impl.getDefaultInstance()

Exception:
com.tonyodev.fetch2.exception.FetchException: request_not_successful
    at com.tonyodev.fetch2.downloader.SequentialFileDownloaderImpl.run(SequentialFileDownloaderImpl.kt:133)
    at com.tonyodev.fetch2.downloader.DownloadManagerImpl$start$$inlined$synchronized$lambda$1.run(DownloadManagerImpl.kt:103)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:919)

It's my bad, the token has been altered in another func before passing to Fetch so authentication failed.


LOOT.LOOT version 0.16.1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

added product code to attempt to fix matching, currently does not match. No idea whats up with the spacing in the file previews, editor shows the files without the extra spaces


Cursor still seems to leak memory

The cursor still seems to leak memory
Here's a very simplified test code to reproduce this issue
  getEntries() {
    var txn = env.beginTxn();
    var ret = []

    // Test return value
    for (var i = 0; i < 1024*1024; i++) {
      ret[i] = i
    }

    var cursor = new lmdb.Cursor(txn, this.db);
    cursor.goToLast()
    cursor.close()
    cursor = null

    txn.commit()
    txn = null
    return ret
  }

As soon as ret is as freed by garbage collector,
process.memoryUsage().rss comes down to 90 MB in my application.
Now if I start iterating the cursor the memory will increase and never come back down again
  getEntries() {
    var txn = env.beginTxn();
    var ret = []

    // Test return value
    for (var i = 0; i < 1024*1024; i++) {
      ret[i] = i
    }

    var cursor = new lmdb.Cursor(txn, this.db);
    for (var found = cursor.goToLast(); found !== null; found = cursor.goToPrev()) {
    }
    cursor.close()
    cursor = null

    txn.commit()
    txn = null
    return ret
  }

process.memoryUsage().rss will stay at 115 MB, also when I try to initiate garbage collector manually.
In this test I had 14 instances of my wrapper class with following amount of data in LMDB:
1.16 MB
1.32 MB
99.47 KB
163.93 KB
2.03 MB
1.32 MB
2.05 MB
1.23 MB
1.12 MB
1.32 MB
163.82 KB
1.11 MB
224.83 KB
2.05 MB
Total: approx 15 MB
As I make a lot of read operations my application runs out of memory after some time and I think this might be the cause.

Operating systems are... interesting in how they attribute RSS memory. LMDB uses memory-mapped files for its database. This means that the LMDB is getting a direct reference to the OS's memory used to cache and map to files on disk. Whenever you access a file, the OS loads that file into its cache. With memory mapped files, the process gets a direct reference to that memory. And with that the OS will attribute that memory to your process. However, it is important to know that there whether the OS attributes that memory to your process or not basically makes no difference in how much real memory is being used by your computer. If you scan a 100MB file with standard file APIs (no memory mapping), the OS will load that 100MB into memory, and it will stay in memory (cached) until some other process (or your process) needs that memory (and it hasn't been recently accessed, but it won't show up as any memory usage for your process (and the cached data can stay in memory for a long time if the computer isn't doing much else). If you scan that file with memory-mapping, the OS will perform essentially exactly the same process, taking exactly the same RAM, and still be just as free to swap the data from that file out of memory in the future (memory mapping doesn't prevent swapping out of RAM), the only difference is it will "report" that memory as being attached your process. But there is no real difference in actual RAM used. The only way that RSS reported can ever actually drop is if the OS decides to swap it out to use for something else. So all that RSS memory is essentially actually "available" memory to the OS, and really isn't something you should worry about (are servers often report over 10GB of RSS/shared memory, but they consistently stay below 500MB of real private memory, and the shared memory goes down anytime other processes start needing memory). In Node, you should be worried about the heapUsed and external memory. If those go up without ever coming down, then you have a memory leak.


Remove call to disableCircularProxies().  Code/doc cleanup.

archaius-pull-requests #251 SUCCESS
This pull request looks good

NetflixOSS » archaius » archaius-pull-requests #82 SUCCESS
This pull request looks good


[Theme request] Darktooth

This seems pretty awesome, i'd love for this to be implemented.
https://github.com/emacsfodder/emacs-theme-darktooth

Up, awesome theme


inspect_app() is not the only possible source of a bundle identifier

At the moment, Recipe Robot doesn't build a pkg recipe if there's no bundle_id in facts. However, I don't think we've considered that there are other possible ways to determine the bundle identifier even if we weren't able to collect it during inspect_app().

Many Sparkle feeds provide bundle identifiers that SparkleUpdateInfoProvider grabs.
AppDmgVersioner can be used to determine a bundle identifier. As long as we include that before the PkgCreator processor, we should be good to go.

So let me get this straight-
inspect_app is happy if it has the app already on the system, where it's going to definitely need a bundle ID, and thus, inspect_app can 100% of the time get the ID.
I hear you about SparkleUpdateInfoProvider, although I would think that the ID in the actual app should be considered canonical, even over anything provided as Input variables or overrides.
I think it's very safe to assume that an app, if downloaded, will have a bundle ID, so yes, you can build a package recipe, knowing that it's going to need something to get the bundle ID (and version).
What that something is, is tricky. I think AppDmgVersioner right before PkgCreator is a good candidate, as it should be able to handle ANYTHING that is going to be immediately preceding PkgCreator. Right?

Yes, if we've run inspect_app() then we should be pretty confident that we have the correct bundle id (and yes, that bundle id should override anything stored before it; I'll make that change).
If we haven't successfully inspected an app at some point along the line, it's likely that RR isn't going to be able to produce a full recipe set without manual intervention. But "likely" ≠ "guaranteed."
I'll try to find some edge case examples.


RFC: UI for DFKQuestRunner

Overview
@SansegoTek kicked of DFKQuestRunner, a tool that runs DFK quests for you without needing to log in and do it yourself. As of right now, the tool is only available to use by anyone with a little bit of developer experience.
It would be ideal to create a UI on top of DFKQuestRunner that would allow many to take advantage of what it has to offer. This RFC is a high-level proposal for how this can be achieved. Any and all feedback is welcome.
The goals from the UI would be to have the following:

Connect to site through MM wallet to allow access to API
Display heroes and select which ones you'd like to run quests with
Run optimal quests based on hero professions
Provide a way to run quests however you want
Display state to keep user up to date on progress

Proposal
NextJS is the leading framework for full-stack React apps. This tool is already built with node so it won't be too hard to switch most of it over.
With React, we can create some easy-to-use hooks that can be passed around throughout the app that also manage things that we need like loading states.
For example, the hook would be called useRunner  oruseQuests if we want to be more specific and intentional about the API we're using.
Consider the following code:
  import React from 'react'
  import { useQuest } from '../hooks/useQuest'

function QuestRunner() {
  const { startQuest } = useQuest()

  return (
    <>
      // Quest Runner UI here
       <button onPress={() => startQuest(FISHING_QUEST_ID_HERE)}>Fishing Quest</button>
    </>
  )
}

I think it'd be better to have a UI for selecting and managing the configuration of the quest runner, but the point of this example code was to show how the hooks would be used.
We'd need state management to handle setting up the configuration of using the quest runner, we don't need a library or anything. Could probably get far enough with useReducer. Here are some of the things we'd have to manage as far as state, this reflects what's in the current config file for DFKrunner:

Quests
Profession Heroes
Non Profession Heroes

Styling
Not sure how people feel here, perhaps we can stick to Tailwind (I've never used Tailwind)
Note
Not sure how signing into Meta Mask would work here, someone should definitely speak on that if they're familiar. Perhaps we can make a kind of  for local usage until we have that figured out. Let me know if you'd like for me to elaborate on that.
How to provide feedback
This RFC is open to feedback, let me know if I've forgotten anything. If we come to an agreement on things, I wouldn't mind kicking  off the foundation.

Great idea, one tricky thing I see is how can we automate new transactions on behalf of a user without needing raw access to the user's private key. Until then it'd probably have to be some sort of local Electron UI, but even that would be very helpful.


Issue with mismatched packages

I've recently discovered your excellent VS Code extension, which I believe will effectively kill my CUE related extension, and cueimports. 👏
One thing that I haven't yet been able to get working is a package that doesn't match the directory name it's contained in (indicated with the package name after a :).
In this contrived example, I have the following structure.
❯ lsd --tree
 .
├──  cue.mod
│   ├──  module.cue
│   ├──  pkg
│   └──  usr
├──  foo.cue
└──  hello
    └──  world.cue

With a module named example.com/test.
❯ cat cue.mod/module.cue
module: "example.com/test"

Inside the hello directory I have a package named world (real-world use case is dealing with legacy configuration).
❯ cat hello/world.cue
package world

#person: {
	name: string
}

Then I import the world package in foo.cue.
❯ cat foo.cue
package foo

import "example.com/test/hello:world"

bar: world.#person & {
	name: "John"
}

This works fine when I cue export.
❯ cue export foo.cue --outfile -
{
    "bar": {
        "name": "John"
    }
}

However, cueimports ditches the import of the world package.
❯ cat foo.cue | cueimports
package foo

bar: world.#person & {
	name: "John"
}

I've attached the above in case it helps with troubleshooting.
cue-playground.zip

Thanks @johnallen3d, I will create the v0.3.0 and include this change to it

Hello @asdine, can you confirm if this change was released? I do not see a new release hear on GitHub but I do see v0.3.0 on pkg.go.dev.
I've tried installing v0.3.0 like so:
go install<EMAIL_ADDRESS>
but when I try to confirm I have the latest version I see development
cueimports -version
development

and when I try to test the change I made I see the old behaviour (using example above)
cat foo.cue | cueimports
package foo

bar: world.#person & {
	name: "John"
}

@johnallen3d Sorry for the delay, there was a bug in the v0.3.0 so I deleted it, fixed the bug then recreated it but apparently GitHub caches binaries forever so the old version kept being distributed instead of the new one.
I created a v0.3.1 to fix that.

FWIW - I'm working to get cueimports integrated into Neovim (my preferred editor) which is why I'm keen on what's been released. I've, so far, gotten it added to https://github.com/williamboman/mason.nvim/pull/811 which is a package manager of sorts for Neovim.

That's amazing! cueimports is going places :)

I had to delete it again because there is a problem with the signing of the macos binary. I'll update this thread when it's released again

Thanks for looking into this @asdine.
I also had a PR to null-ls merged so I'm able to fully take advantage of cueimports in Neovim. 😁

Hello there @asdine, any chance you're able to get a new release out or is there any way I can help?


Updating Owned Types Example

I have an owned type and I tried replacing it with a new instance and I guess that's not supported?

In short, they are supposed to be allocated once and then mutated via their primitive properties.

Owned entity types cannot be used to implement value objects

Source: Stack Overflow - EF Core - nested Owned Type not saved when Updating in the database
What about an example in the docs about this?  Maybe something in the limitations?

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

ID: d02e6748-42e0-000a-4945-42cd05a0b875
Version Independent ID: e3effbd0-07f2-423d-4032-1722e75adb37
Content: Owned Entity Types - EF Core
Content Source: entity-framework/core/modeling/owned-entities.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @AndriySvyryd
Microsoft Alias: ansvyryd

Or maybe that was a bug 🐛?
https://github.com/aspnet/EntityFrameworkCore/issues/12118


Fix find_nodes implementation

The use of control flow was incorrect and could lead to invalid results. Sorry about that.
This method is still broken as far as recursion is concerned, because append_array seems to be broken.
Fix for PR: #56032

Why has this been closed and how come it is salvageable?

I closed this, because I honestly forgot what the original control flow bug was that I created it for.
Plus its bad code, so I would need to rewrite it.


Re-preparing already prepared query in cassandra

Version: (e.g. 2.6.0)
Module: (e.g. quill-cassandra)
Database: (e.g. cassandra)
Actual behavior
We are observing the following warning in our sentry:
Re-preparing already prepared query is generally an anti-pattern and will likely affect performance. Consider preparing the statement only once.

It's hard to debug it since the stacktrace is being obfuscated by futures
com.datastax.driver.core.Cluster$Manager in addPrepared at line 2345
com.datastax.driver.core.SessionManager$4 in apply at line 232
com.datastax.driver.core.SessionManager$4 in apply at line 220
com.google.common.util.concurrent.Futures$AsyncChainingFuture in doTransform at line 1442
com.google.common.util.concurrent.Futures$AsyncChainingFuture in doTransform at line 1433
com.google.common.util.concurrent.Futures$AbstractChainingFuture in run at line 1408
com.google.common.util.concurrent.Futures$2$1 in run at line 1177
java.util.concurrent.ThreadPoolExecutor in runWorker at line 1149

We are using quill to write to cassandra. Is it a known behaviour? What could be the cause?
@getquill/maintainers

+1

+1


Memory/RAM issue when writing MERSCOPE data (sopa read)

Hello,
My shell kills 'sopa read' although I do not seem to be exceeding my computer resources.
I also get this warning:
UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Trying to run on M2 Max Mac with 64 GB of RAM. Anyone with similar issues?
Thank you for your support.

Bonjour @quentinblampey,
Merci, I have MERSCOPE data and the 12 (x7 z layers) IF channels/panoramas are ~26GB each. Detected transcript file is ~9GB.  The directory tree of the zarr is created but no files are inside.
Thank you very much for your help!

Hello @quentinblampey,
Tried to run sopa read on a linux machine with 256 GB of ram and it crashes again. I can confirm it is RAM issue. How can I overcome this given the size of my merfish_output directory?
Thank you..

Hello @andrea-de-micheli,
Okay so there is really something wrong with the RAM for the MERSCOPE reader...
Everything should run with a very low memory usage whatever the size of your input, so I have to fix this reader!
I'll let you know

Hello again @andrea-de-micheli, I released a new version of Sopa (v1.0.6) with a new backend for MERSCOPE data using rioxarray. It should use considerably less RAM, and it should ideally work without any problem on your Mac with 64GB of RAM.
The backend is still experimental, so for now you need to install rioxarray with pip install rioxarray. At some points, if this backend prove itself stable and much lighter in RAM usage, then it may become the default backend and I would then add it to the dependencies of Sopa.
For now, you have to specify this backend, i.e.:

Via the API: sdata = sopa.io.merscope("/path/to/data/directory", backend="rioxarray")
Via the CLI: use the --kwargs argument, for instance --kwargs "{'backend': 'rioxarray'}"
Via the Snakemake pipeline:

read:
  technology: merscope
  kwargs:
    backend: rioxarray

If using the new backend, you should now see the log below when reading your MERSCOPE data. Else, check that you have indeed the new version sopa==1.0.6
[INFO] (sopa.io.transcriptomics) Using experimental rioxarray backend.

I hope it will fix your issue! Please let me know how it goes, it will help me improving Sopa :)

Hi @quentinblampey,
Thanks again for the swift response, highly appreciated! I've updated to v1.0.6 and I think something broke in sopa.io.merscope. I must confess that I haven't had the time to dive into your code. Irrespective of the backend I get the following no implementation error.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/andrea/anaconda3/envs/sopa2/lib/python3.10/site-packages/sopa/io/transcriptomics.py", line 118, in merscope
    points[f"{dataset_id}_transcripts"] = _get_points(transcript_path)
  File "/Users/andrea/anaconda3/envs/sopa2/lib/python3.10/site-packages/sopa/io/transcriptomics.py", line 186, in _get_points
    transcripts = PointsModel.parse(
  File "/Users/andrea/anaconda3/envs/sopa2/lib/python3.10/functools.py", line 926, in _method
    return method.__get__(obj, cls)(*args, **kwargs)
  File "/Users/andrea/anaconda3/envs/sopa2/lib/python3.10/site-packages/spatialdata/models/models.py", line 507, in parse
    raise NotImplementedError()
**NotImplementedError**

Any ideas?
Clean Conda environment, python 3.10, rioxarray installed. Thanks again!

Hi @andrea-de-micheli, I think this issue may be related to a version recent version of dask, as mentionned in this issue. The error seems to be the same as yours, so maybe you can try his solution?
TL;DR: try installing dask==2024.2.1 and then sopa==1.0.6

Thank you very much for your support.
Issue resolved installing dask==2024.2.1


Scene file

I use android SDK. Can I update scene file from JAVA code?

I'd like to change vanishing_point

Hey
You can use the queueSceneUpdate and applySceneUpdates to update scene file from android sdk.
As an example you can refer to this, which is an example using core android tangram-es API, but APIs from mapzen android sdk should work exactly the same.

Can I change this parametrs? true and false

labels-global:
- &allParkings         false
- &notAllParkings      true

@ivangorelow you cannot change those because they are YAML anchors/references, which are evaluated on initial parsing. However, we are in the process of converting our styles to use Tangram's own global to solve this and provide more flexibility.
@tallytalwar is the upgraded Bubble Wrap using global properties in the current SDK version?

@ivangorelow as @bcamper mentioned you can change YAML anchors/references from the SDK.
@bcamper The latest release of Android SDK is using this version of bubble-wrap style, which is using our global references instead of YAML anchor/reference.

Great. @ivangorelow give that a try and let us know you have any issues.

Thank you. It works. I use my own YAML file


retained MQTT messages not received upon panel refresh

Hello,
I have set up the mqtt-datasource and it works.
But I get only messages sent after panel is shown, even for messages set with "retained flag" in MQTT broker.
So, my panel is empty until the next message is sent.
I expect to get the retained message upon panel initialization or refresh for better user experience.
Lionel.

Same issue. Retained messages are not shown upon page refresh.


Connection to padawan.php timed out

I have trouble debugging this.

I have padawan.php installed globally, through composer.
The following is in my vimrc (which is sourced from the neovim config):

if has('nvim')
    Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
    Plug 'pbogut/deoplete-padawan'
endif

Running :CheckHealth shows no problems with python or ruby.
padawan generate finished without errors
After starting nvim, running deoplete#sources#padawan#StartServer() seems to create a file in /tmp/padawan-server.log, and it shows up as a running process.
Running deoplete#sources#padawan#RestartServer() adds the following to the log file:

POST /kill
Goodbye
Response time: 0.0035698413848877
tail: /tmp/padawan-server.log: file truncated

Visiting the address contained in g:deoplete#sources#padawan#server_addr in the browser gives me an ERR_EMPTY_RESPONSE, and drops a GET /  in the log.
Both composer, padawan and padawan-server are on my path.

Whenever I type $object-> or Class:: or something like that, it just shows "Connection to padawan.php timed out", which is an error generated by this plugin.
Any idea on how to debug this further? Thanks!

@okdewit
Can you show me what's in the /tmp/padawan-server.log file when you typing $object-> or Class::, please?
Visiting http://<IP_ADDRESS>:15155/ shows nothing as it is accepting POST requests only (as far as I'm aware).

$ rm /tmp/padawan-server.log
$ nvim

Neovim opens I open a new terminal tab:
$ tail -f /tmp/padawan-server.log
tail: cannot open '/tmp/padawan-server.log' for reading: No such file or directory

So it doesn't seem to autostart, even though g:deoplete#sources#padawan#server_autostart is 1.
Inside Neovim:
:call deoplete#sources#padawan#StartServer()

:!cat /tmp/padawan-server.log
Started http server on <IP_ADDRESS>:15155

:e app/User.php

I type $this-> inside a public function, and get the Connection timeout message. Nothing is added to the log, still only Started http server on <IP_ADDRESS>:15155.
Setting up a tail and restarting from withing neovim:
$ tail -f /tmp/padawan-server.log
:call deoplete#sources#padawan#RestartServer()

Gives this as output of the tail command:
Started http server on <IP_ADDRESS>:15155
POST /kill
Goodbye
Response time: 0.0025520324707031
tail: /tmp/padawan-server.log: file truncated

And leaves the log empty.

timeout might be ok for the first time completion, cause padawan loads index and it can be slow. If you try trigger completion multiple times, will it work?

@okdewit
When g:deoplete#sources#padawan#server_autostart = 1 server will be started on first completion (not on vim start).
What I would like you to do is:

open nvim
:call deoplete#sources#padawan#RestartServer() - just to be sure
tail -f /tmp/padawan-server.log
Go to your php file and type $object-> or Class::
See what log is showing.

Normaly log should show something like:
POST /complete
[2016-11-23 13:09:01] completer.DEBUG: 7.2956085205078E-5 seconds for ast processing [] []
[2016-11-23 13:09:01] completer.DEBUG: Found token '' with type 4 [] []
[2016-11-23 13:09:01] completer.DEBUG: looking for type of this [] []
[2016-11-23 13:09:01] completer.DEBUG: creating entries [] []
[2016-11-23 13:09:01] completer.DEBUG: Creating completion for App\Http\Controllers\Tools\MailerListController [] []
[2016-11-23 13:09:01] completer.DEBUG: 0.00057101249694824 seconds for entries generation [] []
Response time: 0.00073003768920898

Nothing changes in the log when writing code. I've hopped around between files, writing code, running unit tests, commiting to git... just my normal workflow.
Nvim shows the timeout message every time I hit a -> or ::, or when I go into insert mode with my cursor on a method call and add/remove characters.
The tail on the log just shows multiple kill / goodbye / truncate messages, because while working I've tried to restart the padawan server a few times.

Looks like the problem is with the server.
@mkusher any idea how to debug that further?

Looks really strange, maybe let's try netcat test? I mean:
$ nc -l 15155 > test_request

And type something in your php file, the best thing is typings $ in some of your methods. The request should be send and command will exit with status code 0. Then start padawan server and do
$ cat test_request | nc localhost 15155

Paste here results of this test

@mkusher @pbogut:
Thanks for the help so far. It indeed seems to be related to mkusher/padawan.
I had tried to set it up earlier at home on a different machine (Debian workstation), and now it works there.
So I started to compare versions (OS, Neovim, PHP, composer, etc), and suddenly noticed that my work machine (Mint laptop) had the mkusher/padawan master branch, while my home PC pulled in the stable v0.2.1 release.
After downgrading it now works on both machines, I get nice POST /complete calls and debug messages in the log.
Haven't been able to pinpoint yet why the padawan CLI 3.0 doesn't work for me though, it doesn't seem to write during generate either. I had actually been using the .padawan/project file which I had accidentally committed to the repo earlier from my home machine, when generate didn't show any errors on the laptop I mistook the file as freshly generated. I've run padawan generate -vvv again with the 3.0 version, and it doesn't write any index, even though there are no completer.ERROR messages.
I'm happy using the previous version, but if I can help by providing more information let me know!

Looks really strange, maybe let's try netcat test

With Padawan CLI 3.0, Dumping the request to the file goes well, there is a POST header at the top, and the body is full of url-encoded text from the buffer.
When I start the padawan server again and use cat test_request | nc localhost 15155, it doesn't seem to do anything, it just instantly completes without any error code.

ok, looks like it's a bug in padawan.php itself, not in deoplete plugin

I'm closing it then. Please, move to padawan.php if you wish to check it further.


defs-linux: add action to to syscalls required

Signed-off-by: zhouhao<EMAIL_ADDRESS>

:+1:, but the commit message could be more verbose by, for instance, pointing to https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md which requires the action to be set.

:+1:, but the commit message could be more verbose by, for instance, pointing to https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md which requires the action to be set.

updated, thanks.

LGTM

LGTM

LGTM, but it would be nice to at least remove one "to" from the commit message.


Fixed Syntax Highlighting

Signed-off-by: nanaboat<EMAIL_ADDRESS>

@displague I had a syntax highlighting problem in the first PR you merged. Here's a PR that fixes it. Please review.


Support macOS with a new release with updated podspec and SPM support

The podspec in the latest release 3.2.0 has platform restrictions but I see the develop branch's podspec doesn't. Also the develop branch has a Package.swift to support SPM but the latest release doesn't. When would the next release be to update the podspec in the cocoapods repo and support SPM?

@mattrubin can you please look into this?

The upcoming 4.0 release adds support for macOS and Swift Package Manager (although it no longer supports CocoaPods – see https://github.com/mattrubin/OneTimePassword/pull/249). I can't promise when 4.0 will be ready for release, but in the meantime you're welcome to use the latest prerelease version via the 4.0.0-pre.0 tag.


Log the delay in scheduled publishing

We need data on the time it takes for scheduled publications to reach
the frontend to ensure that we are publishing sufficiently quickly to
meet statuatory requirements.
This PR records the difference between intended publish time and the
actual time that content arrives at content store to statsd. This won't be 100%
accurate as there is no way to reliably pair a content item with its
publish intent. For example, if an item is scheduled for publication at
9:30 that event will be compared against the correct publish intent. If
it is then edited and updated throughout the day it will continue to be
compared against the original publish intent. PublishIntent records
are only cleared nightly by a cron job. These should be obvious in the
data and can be discounted.

Due to the way aggregation in statsd works, edits made later in the day could massively inflate the reported values. De-duping the content ids or paths using Redis might be a good solution, however content-store doesn't currently talk to Redis. We could also just add it as an attribute on the ContentItem record.
Alternatively is there a reason we don't simply delete the PublishIntent once the content item has been published?

Added the Publish Intent deletion behaviour and a test. The test uncovered some issues in the time calculation (can't diff DateTimes, needs to be in integer milliseconds, subtraction wrong way round) so I fixed them too.
I haven't yet tested this locally as my development environment is out of date, so will test the branch on Integration on Monday.

Added. And tested on integration - it works fine.

They're deleted daily anyway, right? So if anything we should remove that cronjob a day after this is all deployed and working.


"Failed to execute script Sounder"

If you are starting sounder app you have to select a directory that will show where are music files located. The problem is, that if you will start app and you won't select any directory, the program will say Failed to execute script Sounder and exit, that's fine but, if you're trying to start app again you can't choose new directory, so app keeps on saying Failed to execute script Sounder, and I can't do anything because it's closing and I can't choose a new directory. Please fix

Try deleting sounder install dir.
Then reinstall sounder 2.6.7

The issue has been fixed!

I hope it worked <3


Doc typo fixes :lipstick:

Russian names, huh?

Thanks, buddy. How could I get the name of the test wrong!?!

Thanks, buddy. How could I get the name of the test wrong!?!


Invalid syntax in gui/eight_puzzle.py

I'm trying to run the Gui examples, with:
python3 -i gui/eight_puzzle.py
And get the next out:
File "gui/eight_puzzle.py", line 88
    b[zero_ix] = Button(root, text=f'{state[index]}', width=6, font=('Helvetica', 40, 'bold'), command=partial(exchange, zero_ix))
                                                   ^
SyntaxError: invalid syntax

I've python 3.5.2 and Ubuntu 16.04.

Hi @LoboLofi, this isn't a syntax error actually. This feature has been introduced in Python 3.6 and would run smoothly if you update your Python version. Thanks!

Thanks a lot @apb7

@apb7 @ad71 It has been mentioned in the README that we can run it with Python3.4 and up.
So we can still make this compatible for lower version of python by using
b[zero_ix] = Button(root, text=state[index], width=6, font=('Helvetica', 40, 'bold'), command=partial(exchange, zero_ix))
There is a simmilar isssue in gui/grid_mdp.py .
This code is running just fine on my system after this change which has simmilar configurations as mentioned above.
Shall I go ahead and create a PR for this? Or is there any gap in my solution?

@sagar-sehgal As long as everything still works on Python 3.4+, we're good. You can submit a PR.

@ad71 @MrDupin  Sorry for replying late but, I submitted th PR for the changes in gui/eight_puzzle.py and gui/genetic_algorithm_example.py  but I didn't do that for gui/grid_mdp.py . Actually  on applying the above changes in grid_mdp.py and then running the code, it was fine until I clicked on a cell. On clicking on a cell and providing it a reward/making it a terminal/making it a cell it was showing a new error
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.5/tkinter/__init__.py", line 1553, in __call__
    return self.func(*args)
  File "grid_mdp.py", line 128, in update_table
    if wall.get() == WALL_VALUE:
  File "/usr/lib/python3.5/tkinter/__init__.py", line 358, in get
    return self._tk.getint(self._tk.globalgetvar(self._name))
TypeError: getint() argument must be str, not float

Further on changing tk.IntVar() to tk.DoubleVar() in line no. 94,96,262 and 264. It was working fine and assigning values on clicking on the cells and changing the color of the cells.
But on Buiding, it showed another error
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.5/tkinter/__init__.py", line 1553, in __call__
    return self.func(*args)
  File "grid_mdp.py", line 406, in build
    solve_page.create_graph(gridmdp, terminals, _height, _width)
  File "grid_mdp.py", line 588, in create_graph
    self.canvas.show()
AttributeError: 'FigureCanvasTkAgg' object has no attribute 'show'

which was again resolved by changing show() to draw().
And finally it didn't showed up any error.
Should I submit the PR solving the problem. Or is there anything which I need to do.
Further I would like to show up some of the GUI things which can be improved like

It can be made only 1 selectable at a time (if possible). Further this can also be improved

we can close the previous window, when a new cell is clicked (if possible).
Should I start working on these things.

@sagar-sehgal Tkinter has been updated since the time this program was written. You can submit a PR with the updates you mentioned. I think the GUI improvements you suggested are also worth implementing. Please go ahead. Thanks!

Thank You @ad71 !


Unordered and ordered list

Could you please add some bullt points / numbers for ul and ol elements?
It seems that they get tranlated from markwon, but the included css of the team sets their list-style to none.
Is this on purpose?

Hi Ádám,
the theme uses  and  for other layout elements like the header, which should not have bullets. This is why they are removed by default, and you have to bring bullets back in for the specific areas where you need them. (check posts like the About-page and any other page, they have bullets because they are enabled specifically for .post_body).
Am I right in assuming you're trying to add bullets on the home page? Try adding this CSS to custom.css:
main.hero ul, .section ul {   list-style-type: disc;   margin-left: 10%; } main.hero ol, .section ol {   list-style-type: decimal;   margin-left: 5%; }

Hi @adamurban98. Is just as @feministclickback says.
Because the main menu is an unordered list the list-style property was set to none. This is actually a bad practice, and I'm sorry it got you into trouble.
A temporary solution if you don't want to modify the CSS styles as @feministclickback  says is to write some HTML in your markdown:
---
title: "Some post"
...
---

# Hello world

Item

Item

This should overwrite the CSS styles.


Typo in fp2 dataset's data.json file

I believe there's a typo in the fp2 dataset's data.json file, specifically at this line: fp2/data.json#L1383
The typo is in the context for choice 3. It currently says
"３．（ア）８０％2（イ）３３０ｍ（ウ）４００ｍ2（エ）５０％",
but I believe it should be
"３．（ア）８０％（イ）３３０ｍ2（ウ）４００ｍ2（エ）５０％".
Here is the original question for you to check: 問57 of FP2過去問#202105.
Can you please check and fix this? Thanks!

https://github.com/pfnet-research/japanese-lm-fin-harness/pull/4/files
I made a hot fix. Could you check it?
I'll merge it in the next release.

Thanks for the hot fix branch.
I think an additional edit is required to complement your changes.
I've forked the repo and added a commit to it. Could you take a look at this?
https://github.com/nishikaz/japanese-lm-fin-harness/commit/2aba44da8d5ed769e2fdf8ebd4f4d8f4a342ebb2
I can open a new pull request from my forked branch, or you can add the commit to the hot fix branch yourself. (It seems I'm not allowed to commit directly to the original repo.)
I appreciate your effort in sharing very helpful data with us.

Thank you for pointing out. I modified the PR. I apologize for it and thank you for your suggestion again.

This PR is now merged.


Not All Mods are Detected

Describe the bug
I subscribed to 10 Mods, All 10 Mods Downloaded but Only 8 can be seen via the Mod Manager.
These 2 mods don't list on the Mod manager
Metallic Tree Overhaul - https://steamcommunity.com/sharedfiles/filedetails/?id=2188608909
StarGUI - https://steamcommunity.com/sharedfiles/filedetails/?id=2245462931
To Reproduce
Steps to reproduce the behavior:

Subscribe to MOD's
Metallic Tree Overhaul - https://steamcommunity.com/sharedfiles/filedetails/?id=2188608909
StarGUI - https://steamcommunity.com/sharedfiles/filedetails/?id=2245462931
Start the Mod Manager
Mods are not Listed

Expected behavior
All Mods Downloaded and Present in the Steam Workshop Folder should List on the Mod Manager
Screenshots
Steam Workshop Folder

Mod Manager Screenshot 1

Mod Manager Screenshot 2

Workshop Cache json file
workshopCache.zip
Desktop (please complete the following information):

OS:  Windows10, Version 20H2
Version 1.3
Browser  chrome

Additional context
If it is a Issue getting the Information from Steam then just use the Mod Number if the Info Get Fails.

Seems this is Not a Issue anymore as Steam Version Looks at All mods in the Workshop Folder as well, So I don't need to use the MOD Manger
From my log file.
[11:57:30.866] [Info] Loading mods from user generated content with id '2245462931' from directory 'C:\Program Files (x86)\Steam\steamapps\workshop\content\211820\2245462931'
[11:57:30.866] [Info] Loading mods from user generated content with id '2188608909' from directory 'C:\Program Files (x86)\Steam\steamapps\workshop\content\211820\2188608909'


Hide past days in multiple days events doesn't work right

Hi,
at first thank you for implementing my suggestion from #65!
Sadly it doesn't seem to work right :(

This screenshot is from today (5.12.) and it looks like only the first day of the multi day event got stripped (all caches cleared).

ok I think I got it figured out in v3.101.1

Yes, now it's working fine! Thank you very much :)


Don't Require Exact Date

I'm trying to enter in general work experiences that I don't have specific start or end dates, just the years. Currently I can either leave out the dates completely or I have to fill in a full date. Same issue with Education. Being able to define just a year or just a month+year instead of requiring exact dates is ideal.
Slightly related, I came across the V1 resume before I read more about the project and just jumped right in and used it. Then when I read more into it I decided to switch to v2, the JSON I created in V1 won't import to V2. Could it be that I am using only partial dates and the import is validating the dates? I even explicitly used the word "Present" in the end date for my current job in V1, but I notice that V2 puts it automatically when there is no end date.

I agree: it would be great if Education omits the "( - )" if zero dates or only one date is provided. Currently I have to edit it out in Acrobat DC.

Closing this in favor of Reactive Resume v3 release.
If you continue to face this issue, please raise a new one and I'll have a look at it as soon as I can.
In the meantime, if you are able to, please consider donating to keep supporting the project: https://www.buymeacoffee.com/AmruthPillai :)
Thank you!


Eng 2589 add documentation for the local data

Describe your changes and why you are making these changes
This PR adds documentation for using local data by introducing local data parameter as an alternative method in Accessing Data section.  The motivation for putting the option here is that a new user can leverage the quickstart tutorial to quickly create his own workflow without the complication of hooking his database or uploading the data through Aqueduct UI(which is not immediately obvious).  I also reminded the user to set the use_local flag to `true when publishing the workflow.
---Addition 1---

---Addition 2----

Related issue number (if any)
https://linear.app/aqueducthq/issue/ENG-2589/add-documentation-for-the-local-data-feature
Loom demo (if any)
[I can add one later]
Checklist before requesting a review

[ ] I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
[ ] I have performed a self-review of my code.
[ ] I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
[ ] If this is a new feature, I have added unit tests and integration tests.
[ ] I have run the integration tests locally and they are passing.
[ ] I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
[ ] All features on the UI continue to work correctly.
[ ] Added one of the following CI labels:

run_integration_test: Runs integration tests
skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

Some questions from my side:

While I think the local data is good for a new user to know, since Quickstart Tutorial is the first tutorial that the user is going to use, will all the create_param() and use_local be too much for a user to digest?
If so, will it be better to put it in Parameters Tutorial?

@Fanjia-Yan, just a note that in addition to documenting here, you should also update the GitBook documentation: https://github.com/aqueducthq/gitbook


No Observable Speed Difference Found

@rayleizhu
I couldn't discern any difference in speed between using enable_relay_attention = True and enable_relay_attention = False.
I am using the same inference code (inference.py) as mentioned in the repo. Both process the output in same speed (around 50 tokens/speed) in my case with tensor_parallel_size=2
Could you kindly advise me on what steps I might take to address this issue? Additionally, I would appreciate any guidance on potential implementation details that I might be overlooking.
My code
from vllm import LLM, SamplingParams
import time

system_prompt = """You are a knowledgeable and friendly travel advisor, dedicated to assisting customers in planning their dream vacations. For customer inquiries, provide recommendations faithfully according to the documents provided here. When suggesting travel destinations or accommodations, ensure to include relevant details and attach links to the recommended options.

Available travel destinations and accommodations are listed below:
<DOC>
Destination, Type, Price per night
Paris, Hotel, $200
Maui, Resort, $350
Tokyo, Airbnb, $150
Rome, Bed and Breakfast, $180
Bali, Villa, $250
</DOC>

Here are some real examples of successful recommendations:
<DOC>
A couple celebrating their anniversary wanted a romantic getaway. You suggested a boutique hotel in Florence, Italy, known for its charming ambiance and exquisite cuisine. The couple was delighted with the recommendation and booked their stay immediately.
A group of friends planning a budget-friendly trip sought your advice. You recommended a cozy cottage in the Scottish Highlands, offering picturesque views and affordable rates. The friends were thrilled with the suggestion and booked their trip for the following spring.
A solo traveler was looking for an adventurous experience. You suggested a jungle lodge in Costa Rica, offering eco-friendly accommodations and exciting excursions. The traveler appreciated the recommendation and booked their trip for the upcoming winter.
A family of five with young children wanted a beach vacation. You recommended a spacious beachfront condo in Destin, Florida, equipped with amenities for families and close to kid-friendly attractions. The family was thrilled with the suggestion and booked their stay for the summer holidays.
A group of colleagues planning a corporate retreat approached you for recommendations. You suggested a luxury villa in Tuscany, Italy, offering privacy, stunning views, and space for team-building activities. The colleagues were impressed with the suggestion and booked their retreat for the following fall.
</DOC>"""

prompts = [
    "I'm planning a family vacation for the summer. We're a family of four with two kids aged 8 and 10. Our budget is around $300 per night. Can you suggest some suitable destinations?",
    # "My partner and I are looking for a romantic getaway for our anniversary. We want somewhere with beautiful scenery and luxury accommodations. What do you recommend?",
]

# Create a sampling params object.
sampling_params = SamplingParams(temperature=0.8, top_p=0.95, max_tokens=1024)
mode = 'relay'

model = '/home/jovyan/model_llama_7B/models--meta-llama--Llama-2-7b-chat-hf/snapshots/Llama-2-7b-chat-hf'
quant = None
enforce_eager = False

B_INST, E_INST = "[INST]", "[/INST]"
B_SYS, E_SYS = "<<SYS>>", "<</SYS>>"

sys_schema = "[INST] <<SYS>>\n{__SYS_PROMPT}\n<</SYS>>\n\n{__USR_PROMPT} [/INST]"
sys_schema_file = None
sys_prompt_file = None

if mode == 'concat':
    # Create an LLM.
    print("CONCAT>>>>>")
    llm = LLM(model=model, quantization=quant, enforce_eager=enforce_eager,
              tensor_parallel_size=2,
              enable_relay_attention=False,
              sys_prompt=system_prompt,
              sys_schema=sys_schema,
              sys_prompt_file=sys_prompt_file,
              sys_schema_file=sys_schema_file)
elif mode == 'relay':
    print("RELAy>>>>>")
    llm = LLM(model=model, quantization=quant, enforce_eager=enforce_eager,
              tensor_parallel_size=2,
              enable_relay_attention=True,
              sys_prompt=system_prompt,
              sys_schema=sys_schema,
              sys_prompt_file=sys_prompt_file,
              sys_schema_file=sys_schema_file)
else:
    raise ValueError(f'unknown mode {mode}')

print("STARTED>>>")
start_time = time.time()
outputs = llm.generate(prompts, sampling_params)
end_time = time.time()
inference_time = end_time-start_time
print(f"Time Taken: {inference_time}sec")

output_tokens_lst = []
# Print the outputs.
for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(f"Prompt: {prompt!r}\n\nGenerated text: {generated_text!r}")
    output_token = len(output.outputs[0].token_ids)
    output_tokens_lst.append(output_token)

output_tokens = sum(output_tokens_lst)
token_speed = output_tokens/inference_time
print(f"Token Speed: {token_speed} tokens/sec")
print("---------------------------------------------------------")
print()
print()

RelayAttention is designed for batched LLM serving. It is useful when there are many concurrent requests (e.g., on the cloud serving scenario, imagine you are OpenAI or Microsoft who are hosting LLMs for many users).
See Section 5 (Limitations and Future Works) in the paper.

BTW, I'm also working on optimizations for device-side LLM inference; please stay tuned.

Got it, thank you @rayleizhu for the response. I'll test it with many prompts. However, one concern arises: when I execute let's say prompts = prompts * 32 and then pass it to outputs = llm.generate(prompts, sampling_params), will this result in concurrent requests? Or are these requests processed sequentially?

Got it, thank you @rayleizhu for the response. I'll test it with many prompts. However, one concern arises: when I execute let's say prompts = prompts * 32 and then pass it to outputs = llm.generate(prompts, sampling_params), will this result in concurrent requests? Or are these requests processed sequentially?

vLLM will schedule the requests to maximize concurrency. If you have enough GPU memory, it will run inference with a batch size as large as possible.

Hi, @rayleizhu
I tried speed calculation both using enable_relay_attention = True and enable_relay_attention = False
I can see the difference. But I want to understand, is this the correct way to calculation tokens/sec because as said vLLM just concatenate all incoming requests together into a batched request at the token they're at and send them through, so it is like parallel request handling.
I'm calculating like this:
model = 'meta-llama/Llama-2-7b-chat-hf'

llm = LLM(model=model, quantization=None, enforce_eager=False,
          tensor_parallel_size=2,
          enable_relay_attention=True,
          sys_prompt=system_prompt,
          sys_schema=sys_schema,
          sys_prompt_file=sys_prompt_file,
          sys_schema_file=sys_schema_file)

print("STARTED>>>")
start_time = time.time()
outputs = llm.generate(prompts, sampling_params)
end_time = time.time()
inference_time = end_time-start_time
print(f"Time Taken: {inference_time}sec")

output_tokens_lst = []
# Print the outputs.
for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(f"Prompt: {prompt!r}\n\nGenerated text: {generated_text!r}")
    output_token = len(output.outputs[0].token_ids)
    output_tokens_lst.append(output_token)

output_tokens = sum(output_tokens_lst)
token_speed = output_tokens/inference_time
print(f"Token Speed: {token_speed} tokens/sec")

with enable_relay_attention = True (sending 250 prompts)  it seems to provide me with a rate of 1156.6691 tokens/sec, which appears to be an exceptionally high number. I'm uncertain whether this figure is accurate. Without enable_relay_attention, the rate drops to 627.076 tokens per second.
I'm unsure about the validity of these numbers because when I read comparison of models elsewhere, they typically report rates below 50 tokens per second, especially with an increase in concurrent requests. Hence, my numbers seem excessively high and may lack significance.
So, what is the correct method for calculating tokens per second, and is the approach I used above correct? If so, what is the appropriate interpretation of the results?
Thanks!!

with enable_relay_attention = True (sending 250 prompts) it seems to provide me with a rate of 1156.6691 tokens/sec, which appears to be an exceptionally high number. I'm uncertain whether this figure is accurate. Without enable_relay_attention, the rate drops to 627.076 tokens per second.

The speedup of RelayAttention over the baseline looks reasonable.

I'm unsure about the validity of these numbers because when I read comparison of models elsewhere, they typically report rates below 50 tokens per second, especially with an increase in concurrent requests. Hence, my numbers seem excessively high and may lack significance.
So, what is the correct method for calculating tokens per second, and is the approach I used above correct? If so, what is the appropriate interpretation of the results?

I guess the blog you mentioned uses a different way to calculate the throughput.  Typically, the more concurrent requests are, the higher the throughput should be due to better utilization of the GPUs. Therefore, the throughputs provided in the blog may have been normalized by the batch size (i.e., they use per-request average throughput). Besides, the model size (e.g. 7B or 13B ...) and GPU model (e.g. A100 or RTX 3090) can also affect the throughputs.


MongoCursor RxJava observable wrapper

Introduced a simple RxJava Observable wrapper to expose the functionality of RxJava in MongoCursor. Also added a default Flowable with a buffer back pressure strategy as it is assumed that data from a query be buffered if the downstream cannot keep up.
Imagine a zip on a slow network call and a quick Jongo call;
Flowable.zip(networkFlowable, cursor.toFlowable(), (net, db) -> {
            return combine(net, db); // Some operation
});

Back pressure is applied to the consumption of the Mongo query and the items are buffered.

I wonder if this is a place where it might be better to add a method like this to MongoCursor:
public <R> as( Function<MongoCursor, R> toType ) {
  return toType.apply(this);
}

And then have an optional dependency on RxJava with something like:
public class RxJongo {
  Function<MongoCursor, Observable> observable() {
    //wrapper logic here.
  }
}

Then you could do:
cursor.as(RxJongo.observable())

This would give the same effect, but without the direct coupling.

This is a nice decoupling solution. Should we wait for @bguerout to drop by and comment?

Hello
Thank you for your pull request.
You are right it should be nice to find a decoupled solution but the as method with Function param required JDK 8.
@ctrimble you suggested that #301 can help. Do you mean consumer interface ?

I don't think in this case you would want a consumer interface.  Since the goal here is to transform the MongoCursor into some other representation, it seems like a method that accepts a transformation function is the right way to go.
I opened #301 to generally see where we could add methods that take SAML interfaces.  This seems like a good spot.

One more point, Jongo can just supply its own Function<T,R>, or it could pick up a dependency on something like Lightweight-Stream-API, until the project decides to move to Java 8.  RetroLambda could be used to simplify implementation.

Thanks for your input guys. I have moved to a decoupled implementation with a Function<T, R> interface. I have also implemented it in a way that the observable (and flowable) emission type is preserved.

LGTM

Is it possible to wrap this one up?


pgclimb should respect the usual PostgreSQL variables and .pgpass file

http://www.postgresql.org/docs/9.5/static/libpq-envars.html
I find it rather unsafe to either specify the password from the command-line, or use the environment variable.

I find it rather unsafe to either specify the password from the command-line, or use the environment variable.

Yes I could support the standard env vars that psql already is using.
With unsafe you mean you would prefer pgpass file support?

Yes, absolutely. pgpass normally has very restrictive access privileges (typically 600), so it's less a risk than exposing your password in the environment variable or passing it via a command-line option.

+1 for .pgpass

+1 for standard env vars - makes automation easier too.


Safe HTML to wml

Check for properties that could be null when HTML is parsed.

Hi @lpperras Thanks for the contribution. Can you add any unit tests to verify these changes?


Semifinal testing

I don't know if it makes sense to merge the code as it is since it contains the ellipsoid active and some initial joint configuration for the robot that are usefull only for xprize

I have opened https://github.com/robotology/walking-controllers/pull/114 with the changes to the parameters that revert this PR. Merging this


Array sort_custom should show a warning or error if the function doesn't exist.

Godot version:
3.0 / 3.1
Issue description:
There should be a warning or error message when the sort_custom fails because of the function not existing, like in the example below. I had a misspelled function name and it took me a while to figure out why it wasn't sorting.
array.sort_custom(self, "non_existent_function")

Reopening as #22737 had to be reverted for now due to #22833 (which is a consequence of this patch, but due to the other bug #22838).


HP Laptop touchscreen is nonfunctional

Working off of a fairly fresh install on a new HP Envy 2-in-1 laptop.  The touch screen on the laptop is totally unresponsive, no mouse movement or anything - but bizarrely the stylus that came with the laptop DOES work. Relevant libinput debug-events output
-event2   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event4   DEVICE_ADDED            Video Bus                         seat0 default group2  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group3  cap:k
-event1   DEVICE_ADDED            Lid Switch                        seat0 default group4  cap:S
-event5   DEVICE_ADDED            HP Wide Vision HD Camera: HP Wi   seat0 default group5  cap:k
-event8   DEVICE_ADDED            ELAN2513:00 04F3:2AF1             seat0 default group6  cap:t  size 284x164mm ntouches 10 calib
-event18  DEVICE_ADDED            ELAN2513:00 04F3:2AF1 Stylus      seat0 default group6  cap:T  size 293x165mm calib
-event6   DEVICE_ADDED            SYNA32A0:00 06CB:CE14 Mouse       seat0 default group7  cap:p left scroll-nat scroll-button
-event7   DEVICE_ADDED            SYNA32A0:00 06CB:CE14 Touchpad    seat0 default group7  cap:pg  size 106x56mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event3   DEVICE_ADDED            AT Translated Set 2 keyboard      seat0 default group8  cap:k
-event19  DEVICE_ADDED            HP WMI hotkeys                    seat0 default group9  cap:kS
-event8   TOUCH_DOWN              +0.000s	0 (0) 83.76/66.60 (237.93/109.08mm)
 event8   TOUCH_FRAME             +0.000s
 event8   TOUCH_UP                +0.078s	0 (0)
 event8   TOUCH_FRAME             +0.078s
-event18  TABLET_TOOL_PROXIMITY   +1.254s		240.39*/110.19*	tilt: 0.01*/0.01*	pressure: 0.00*	pen      (0, id 0) proximity-in 	axes:pt	btn:S
 event18  TABLET_TOOL_AXIS        +1.264s		240.37*/110.03*	tilt: 0.01/0.01	pressure: 0.00
 event18  TABLET_TOOL_AXIS        +1.269s		240.34*/109.83*	tilt: 0.01/0.01	pressure: 0.00
 event18  TABLET_TOOL_AXIS        +1.279s		240.47*/109.63*	tilt: 0.01/0.01	pressure: 0.00
 event18  TABLET_TOOL_AXIS        +1.284s		240.66*/109.44*	tilt: 0.01/0.01	pressure: 0.00

and in the hyprctl devices I see the stylus but no mention of the touchscreen:
mice:
	Mouse at cebcca50:
		SYNA32A0:00 06CB:CE14 Mouse
	Mouse at cebcc850:
		SYNA32A0:00 06CB:CE14 Touchpad

Keyboards:
	Keyboard at ceeae610:
		Power Button
	Keyboard at ceeb77a0:
		Video Bus
	Keyboard at cede3e30:
		Power Button
	Keyboard at ceeee590:
		HP Wide Vision HD Camera: HP Wi
	Keyboard at cee5b4e0:
		AT Translated Set 2 keyboard
	Keyboard at ced8fce0:
		HP WMI hotkeys

Tablets:
	Tablet at cee9dcb0:
		ELAN2513:00 04F3:2AF1 Stylus

Does the stylus somehow conflict with the screen?
Let me know if there's any more information I can provide

Touchscreens aren't supported yet, as the developer doesn't have one to help with the development.
Styluses work since they share a common base with graphical tablets, which do work.

Interesting, well fair enough, as long as it's a known state then I'm happy to wait for touch suport.

Same thing here. No touch support, but the digitalizer for the pen works flawlessy. It's kind of a shame, I'd be more than happy to switch to hyprland.


Function keys are overridden

Pressing F1-F12 moves to the next slide instead of performing the key's intended function.

@nickolas360 What should they be doing instead?

Opening the browser's help, refreshing the page, toggling caret browsing (in Firefox), toggling fullscreen, etc.

@nickolas360 Would you mind getting the key code values for the keys from http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes ?
My fn keys are inconsistent with the table here. Perhaps this is shadowing a larger issue regarding the UI itself?

Function keys still aren't working for me. Has the demo been updated?

@nickolas360 Probably not. http://upresent.js.org/www/demo/demo.html#slide0 is the latest IIRC

Function keys aren't working with that one either.


Alfen solar charging boost switch

Feature request  switch boost charging Alfen in HA

I don't know if there is already a back office key for it.
I have the latest firmware version 7.0. 2-4322.
Charging on the generated power from the solar panels works perfectly.
I just want to be able to charge quickly every now and then. (Boost Charging)
This is currently only possible via ACE Service installer or the MyEve app, but it would be nice if there was a switch for this in Home Assistant

You'd need to create a switch and automation in HA, the use ocpp configure action. Assuming there is a custom configuration key for it.

Hi, I'm also interested in this functionality.
I had a look at the specification document from Alfen ACE NG9 Backoffice Configuration keys 7.0.0.pdf. I didn't find anything related to boost but I found these 3 configuration keys:

SC-Mode
SolarCharging optimizes locally generated, excess power as measured by the smart meter. Must have Active Loadbalancing configured.

Green: SC-GreenShare is configurable
Comfort: SC-ComfortLevel is configurable
Possible values: Off / Green / Comfort

SC-GreenShare
Only used if "SC-Mode" is configured as 'Green', value in percentages.

If set to 0%, charging at minimum power is always possible.
If set to 100%, charging will only take place if minimum power to charge is measured as excess power on smart meter
Charging speed will increase to match excess power as measured on smart meter.
Values between: 0 - 100

SC-ComfortLevel
Only used if “SC‐Mode” is configured as 'Comfort'. Charging will always start irrespective of amount of excess power as measured on smart meter. Value, in kW, is configured as desired minimum charging power.
Charging speed will increase above Comfort Level to match excess power as measured on smart meter, never exceeding configured maximum current. If Comfort Level exceeds maximum available current, charging will not exceed maximum.
Values between: 1,4 - 22

From reading this, it seems to me that SC-GreenShare and SC-ComfortLevel could be set to the desired values once and that it might be enough to control SC-Mode from HomeAssistant. Setting this to Off and resetting it to one of the other modes (maybe using an automation) could give the same functionality as the boost knob in the Alfen apps.
This is just from reading the docs, I'll try this out when I have time. ;-)

@drc38 Are the ocpp actions documented somewhere? Is there a way to add an entity for reading a custom configuration key?

The general actions are documented in the ocpp standard. If you select one from the list there is example input data also. The response, if any, for configuring a field is returned in the timestamp_config_response sensor attributes.

Putting together an entity based on an attribute of timestamp_config_response (which will hold responses for different configure actions) seems to be a bit tedious.
Would you guys consider adding Alfen's custom configuration keys as entities?

Just for reference if someone needs to solve this particular problem:
I managed to work around the lack of support for the Alfen-Specific OCPP keys by adding a template select and an automation.
The template select represents the SC-Mode and allows changing it while the automation polls the charger for the current SC-Mode value so that if it decides to change the mode from outside HA for whatever reason, the new value ends up in HA eventually. Note that the delay between asking for the value and the value actually appearing in the "special response entity" sensor.ev_charger_timestamp_config_response might be up to somewhat around 20 seconds.
My template select looks like this (sorry, created via the UI):

My automation looks like this:
alias: Poll Solar Charging Mode from EV Charger
description: >-
  This non-OCPP-standard, custom manufacturer value doesn't get read/polled by
  the OCPP integration so it has to be polled manually.
triggers:
  - trigger: time_pattern
    minutes: /10
conditions: []
actions:
  - action: ocpp.get_configuration
    data:
      ocpp_key: SC-Mode
    alias: >-
      Perform action 'Open Charge Point Protocol (OCPP): Get configuration
      values for charger' for ocpp_key 'SC-Mode'
mode: single

I'd still welcome it if this integration made it easier to add custom OCPP keys somehow.


CI: apps

What does this PR do?
test App as standlaone
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @carmocca @akihironitta @borda @tchaton @rohitgr7

@tchaton @manskx any idea why this tests is failing?
________________ test_prepare_lightning_wheels_and_requirement _________________

tmpdir = local('/tmp/pytest-of-runner/pytest-0/test_prepare_lightning_wheels_0')

    def test_prepare_lightning_wheels_and_requirement(tmpdir):
        """This test ensures the lightning source gets packaged inside the lightning repo."""

        cleanup_handle = _prepare_lightning_wheels_and_requirements(tmpdir)
        from lightning_app.__version__ import version

        tar_name = f"lightning-app-{version}.tar.gz"
        loaded_files = sorted(os.listdir(tmpdir))
>       assert loaded_files[0] == tar_name
E       IndexError: list index out of range


Environment variables set in launchSettings.json are not used in Packaged app

Describe the bug
I want to use the Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder() to host a WinUI application. This works fine and I store basic configuration in the appsettings.json.
However if I want to set the environment via an environment variable in the launchSettings.json as described here it does not work as the environment variables are not set when starting the packaged profile.
Steps to reproduce the bug

Create a blank WinUi 3 app in VS2022
alter the launchSettings.json to include some environment variables in the section for the "Package" profile.
"Sample.Winui (Packaged)": {    "commandName": "MsixPackage",    "environmentVariables": {      "DOTNET_ENVIRONMENT": "Development"    } }
Add var temp = Environment.GetEnvironmentVariables() in the constructor of the App class
Set a breakpoint after the statement and review the contents of temp to look for the environment variable

Expected behavior
The environment variables should be set when running the packaged app from within visual studio.
Screenshots
No response
NuGet package version
Windows App SDK 1.3.0: 1.3.230331000
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response

Load app IConfiguration from 'appsettings.json' and 'appsettings.[EnvironmentName].json'.

https://learn.microsoft.com/dotnet/api/microsoft.extensions.hosting.host.createdefaultbuilder

https://learn.microsoft.com/dotnet/api/microsoft.extensions.hosting.host.createdefaultbuilder

The problem the topicstarter is referring to is that you cannot get the correct [EnvironmentName] in the packaged WinAppSDK, so link provided won't help. You will always have your environment name configured as null, which mean  it will default to Production.
We've ended up with manually cheking the environment variable and setting environment to the host explicity.
Something like:
var environment = Environment.GetEnvironmentVariable("DOTNET_ENVIRONMENT");
var host = Host.CreateDefaultBuilder().UseEnvironment(environment ?? HostingEnvironments.Production).Build();

Unfortunately this approach respect only OS level environment variables (User or machine wide), but not the launchSettings.json.
But as for me this is more likely a VS tooling concern rather than SDK itself.
I believe, VS just overrides process environment variables from this file when launching ASP.NEt project in debug mode for example. But doesn't when launching MSIX one.


Closing One Instance of Windows Terminal Closes All Instances When unfocusedAppearance with Opacity 100 is Enabled

Windows Terminal version
1.20.11781.0
Windows build number
10.0.22631.0
Other Software
No response
Steps to reproduce

Open Windows Terminal.

In the settings, set the following configurations:
{
  "opacity": 40,
  "useAcrylic": true,
  "unfocusedAppearance": {
    "opacity": 100
  }
}

Open multiple instances of Windows Terminal.

Close one of the open instances.

Expected Behavior
Only the closed instance of Windows Terminal should close, leaving the other instances open and unaffected.
Actual Behavior
Closing one instance of Windows Terminal causes all other open instances to close unexpectedly.

This sounds a lot like #17520 - can you try Windows Terminal v1.21.2361.0 or Windows Terminal Preview v1.22.2362.0 and see if it's fixed for you there/?

This sounds a lot like #17520 - can you try Windows Terminal v1.21.2361.0 or Windows Terminal Preview v1.22.2362.0 and see if it's fixed for you there/?

I can confirm the issue is not present on Windows Terminal Preview v1.22.2362.0
As for the Windows Terminal v1.21.2361.0 version, I'm not really sure how to update my current version to this one, Microsoft Store is not detecting new a version to update.

Awesome! Thanks for filing and following up! We'll mark this as a /dup of #17520.


Blazor EditorRequired attribute incorrectly reports RZ2012 warning when @bind-MyVariable= is used instead of MyVariable= syntax.

This issue has been moved from a ticket on Developer Community.

[severity:It bothers me. A fix would be nice]
In a blazor component, I want to require that a string parameter be provided, but I also want to bind to it like this:
[EditorRequired]
[Parameter]
public string GLCode { get; set; } = null!;
[Parameter]
public EventCallback GLCodeChanged { get; set; }
When I use that component, and I provide the value with a @bind-GLCode="@parentGLCode", I get an incorrect RZ2012 warning that GLCode may not have been provided.
<GLCodePickerTwoColumnComponent
<EMAIL_ADDRESS>
Warning (active)	RZ2012	Component 'GLCodePickerTwoColumnComponent' expects a value for the parameter 'GLCode', but a value may not have been provided.

Original Comments
Feedback Bot on 12/8/2021, 07:18 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

This is a bug in the current state of how components with [EditorRequired] build and I think it should be fixed as a priority. I'm surprised EditorRequired got into .NET 6 with such an obvious use case failing. Thanks for your consideration.

I agree, should be considered as a bug fix in a .NET 6 point release

Agreed. This is very irritating and another one of those cases that make using NRT undesirable. Since we only work with LTS versions we'd have to deal with this for at least another year without a .NET 6 fix.

In .NET 7 this is still not fixed???


Add "Getting Started" instructions to the readme

Fixed some of the problems in https://github.com/prestodb/presto-admin/pull/144

Thanks. Looks good :)


Compile This Project For Yocto Linux

Is there anyone compile this repo for yocto? Can you provide recipe file? Thank you.

just run the go command, this isn't really compiled I think