Ovelapped tiles

Good day
I write some demo and found your project but i have two questions:

is project completely dead? there is no updae for a long time, no issue..
more practice: for example, i have box with snow terrain at (60, 60, 68, 68). than player enter to snow i want to add some additional acceleration, so i want to detect collision with such boxes (with Cross resolution). Now, suggest, that we have bonuses, that can generated on not occupied cells (including snow). Now, there is possible situation then i have bonus at same position (60, 60, 68, 68).
So, now my player come to that cell and i receive only one collision. I drill down to sources and method Hit in World class (at line 81) take only nearest hit, so other hits with overlapped boxes will be ignored.
Can you give me workaround about that issue? or may be i do something wrong?

and i found one more case:
for example, i have some distructionable blocks at (12, 12, 4, 4) and (16, 12, 4, 4). now i have a bullet with size (2, 2) at (15, 16) with speed (0, -2), so i try to move it to (15, 14). I expected two collision, but receive only one


Error messages not stored in errorstore when transactional processing goes wrong

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
When we shut down the subadapter and send a message via a queue the message is not rolledback nor stored in the error store
Reporter
JJansenVr

more info via mail
Input
Please provide an example of the input message.
Alternatively, provide a Ladybug report.

Environment
FF! 7.8-RC3-20221123.172951: ibis4salesforce_case
Running on *******.internal using Apache Tomcat/9.0.60
Java Version: OpenJDK Runtime Environment (1.8.0_352-b08)
Heap size: 359M, total JVM memory: 822M
Free disk space: 26GB, total disk space: 30GB
Up since: 2022-11-25 10:16:55 (4h)

Additional Environment
DBMS: MariaDB
Additional Context
Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

It appears to me that the message is processed again:


Ship first version to PyPI

Just before doing this, update the Dockerfile template to pip install datasette https://github.com/simonw/datasette/blob/65e350ca2a4845c25752a62c16ba58cfe2c14b9b/datasette/utils.py#L125

And we're live! https://pypi.python.org/pypi/datasette


Hover does not work with react-bootstrap

I checked out your example for hover and replaced button with react-bootstrap's button and hover state never returns true:
var BB = require("react-bootstrap").Button;

var {Style, StyleRoot, PrintStyleSheet} = Radium;

//
// Radium with ES6 class syntax
//
class HoverMessage extends React.Component {
  render() {
    return (

        <BB key="button" style={{display: 'flex', ':hover': {}}}>Hover me!</BB>
        {Radium.getState(this.state, 'button', ':hover') ? (
          {' '}Hovering!
        ) : null}

    )
  }
}
HoverMessage = Radium(HoverMessage);

https://github.com/FormidableLabs/radium/blob/master/docs/faq/README.md#why-doesnt-radium-work-on-react-routers-link-or-react-bootstraps-button-or-someothercomponent

Thanks a bunch!
Thanks,
-Gezim
Gezim Hoxha
Entrepreneur
780.802.4837(C)
On Jan 20, 2016, 17:35 -0700, Ian<EMAIL_ADDRESS>wrote:

Closed#545(https://github.com/FormidableLabs/radium/issues/545).
—
Reply to this email directly orview it on GitHub(https://github.com/FormidableLabs/radium/issues/545#event-521117649).

:+1:

It seems that even with the solution proposed in #324, getState still doesn't work. Any ideas, @ianobermiller?

@hgezim  Most likely react-bootstrap's button is not passing through all of the props to actual dom element. You could test this by manually passing onMouseEnter and seeing if it is fired.


Validate anchor names are RFC 1123 labels

Fixes: #118
This PR will validate the name of the anchor to make sure the child namespace is in compliance with RFC 1123.
Tested: added unit test, and verified the following error message
if I ran this manually: Subnamespace child.01 is not a valid namespace
name: a lowercase RFC 1123 label must consist of lower case alphanumeric
characters or '-', and must start and end with an alphanumeric character
(e.g. 'my-name',  or '123-abc', regex used for validation is
'a-z0-9?')
/cc @adrianludwin

hi @adrianludwin, if I do the gofmt, there's a lot of changes in various files including vendor files.

Try make fmt, that should catch everything. Although make test should also call make fmt, did you call make fmt?

Sorry, should probably have a better error message there...

/test pull-hnc-test

/lgtm
/approve
Thanks for this change!


fix for Argument of type "type[Command]" cannot be assigned to parameter "cls" of type "C@command" in function "command"

Pull request summary

previously the typing of function twitchio.ext.command.core.command declared an argument cls: C = Command, but that was throwing a linting error (vscode pylance in my case) in any code that tried to create a command. it has been changed to cls: type[C] = Command.
demo code that showed the error before, and fixed after the change:
from twitchio.ext import commands

class MyBot(commands.Bot):

    # Argument of type "type[Command]" cannot be assigned to parameter "cls" of type "C@command" in function "command"
    # Type "type[Command]" cannot be assigned to type "Command"
    #     "type[type]" is incompatible with "type[Command]"PylancereportGeneralTypeIssues

    @commands.command(name="hello", aliases=['hi'])
    async def hello(self, ctx: commands.Context):
        await ctx.send(f'Hello {ctx.author.name}!')

Checklist

[x] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.
[ ] I have updated the changelog with a quick recap of my changes.

[x] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Thanks


Caffeinated Modules give me error after upgrading to laravel 5.3

I have a project in laravel 5.2 and i want to upgrade my project to laravel 5.3, the laravel upgraded successfully, but my modules give me error undefined index : basename after my laravel upgraded. of course i have change the caffeinated/modules to v4.0 in composer.json.
in config/app.php i have  Amodules\afinance\Providers\AfinanceServiceProvider::class, but when i comment on it there is no error, but the module routing not detected in php artisan r:l and give me NotFoundHttpException when i try in browser

@rifkyaziz To resolve the basename issue you should remove the modules.json from your application storage path (storage/app/modules.json).
The new version now requires this particular key, but is missing from your cache :)

@syphernl it's work. thanks a lot :+1:

thank you @rifkyaziz


Tests

Should add some very basic unit tests that are run on every PR and merge just to make sure we aren't merging broken code.

A few tests for the Configure module were added in #34, but more needed


BigQueryApi QueryRequest allowLargeResults missing.

Hello,
we are using the Bigquery API a lot and it is very limiting not to be able to use a query which returns large results in the API. The whole class name is Google.Apis.Bigquery.v2.Data.QueryRequest .
I have never submited issue like this before, so if I should provide additional information or I did it wrong somehow, please, let me know.
Thank you for looking into this,
Jirka Harasim

This client library for Google APIs is based on the discovery doc of the API,
https://developers.google.com/apis-explorer/#p/discovery/v1/discovery.apis.getRest?api=bigquery&version=v2
In this way we generate more than 100 different APIs, including Drive, YouTube, Storage, and so on.
The discovery doc for BigQuery doesn't exponse allowLargeResults for the data object, but it does for JobConfigurationQuery (does it help?)
I'm guessing that you should contact the BigQuery community to ask them to add this property for the data object as well. You should start with https://cloud.google.com/bigquery/support.
Hope that it's helpful, I'm closing this issue since it's a question which is specific for an API and not for the library itself. Feel free to reopen it....
Eyal,


Another Crash!

So the crashes I had before ( #152 ) were fixed.  But now I get this every so often.
/root/MEGA/node_modules/agario-client/node_modules/ws/lib/WebSocket.js:426
event.type = 'error';
^
TypeError: Cannot assign to read only property 'type' of no handler for opcode 15
at WebSocket.onError (/root/MEGA/node_modules/agario-client/node_modules/ws/lib/WebSocket.js:426:16)
at emitTwo (events.js:100:13)
at WebSocket.emit (events.js:185:7)
at Receiver.onerror (/root/MEGA/node_modules/agario-client/node_modules/ws/lib/WebSocket.js:851:10)
at Receiver.error (/root/MEGA/node_modules/agario-client/node_modules/ws/lib/Receiver.js:321:8)
at Receiver.processPacket (/root/MEGA/node_modules/agario-client/node_modules/ws/lib/Receiver.js:234:43)
at Receiver.add (/root/MEGA/node_modules/agario-client/node_modules/ws/lib/Receiver.js:95:24)
at Socket.realHandler (/root/MEGA/node_modules/agario-client/node_modules/ws/lib/WebSocket.js:800:20)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)

I'm using node v0.12.9 (I'm using minimap too) and never an issue.
Try it and lets see if you have the same issue.

@WJKH link to that version? (p.s. im using latest version)

I'm not using last feeder version, I'll update soon and test it too.
Try it https://nodejs.org/download/release/v0.12.9/

lol just comment out the lines the error occur on, it works!


[Bug]: ES sql no restrict for docnm_kwd

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
33eaf6fa2ecc47c2f7b892ff9dd2110a2ff2cd0a
Other environment information
runtime: SourceCode
OS type: CentOS

Actual behavior
At present, it seems that all documents will be stored in ES (one table for each user, and all documents in the current user's knowledge base are in this table).
However, when different assistants are associated with different knowledge bases, should the text2SQL query limit docnm_kwd to the docnm_kwd of the current associated knowledge base. Now it seems that there are no restrictions. If there are no errors during SQL execution, the output may be a pile of meaningless content. Even the referenced document displayed has no relation to the currently referenced knowledge base document.

Expected behavior
add "docnm_kwd"  restrict for es sql
Steps to reproduce
I saw this issue https://github.com/infiniflow/ragflow/issues/559 which does not recommend mixing 'table' chunking method with other chunking methods. But I always think this restriction should be added

Additional information
No response

The 'docnm_kwd' will be used for the little exclamation mark by hovering which we can identify the source of the given row.

Anyway, I believe that there should be no references unrelated to the current associated knowledge base

No plan to implement the proposal.


[SPARK-49954][SQL] Codegen Support for SchemaOfJson (by Invoke & RuntimeReplaceable)

What changes were proposed in this pull request?
The pr aims to add Codegen Support for schema_of_json.
Why are the changes needed?

improve codegen coverage.
simplified code.

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA & Existed UT (eg: JsonFunctionsSuite#*schema_of_json*)
Was this patch authored or co-authored using generative AI tooling?
No.

The difference between this and https://github.com/apache/spark/pull/48452 is that the Invoke object in this version is implemented using Scala.
Scala(Invoke object): https://github.com/apache/spark/pull/48473
Java(Invoke object): https://github.com/apache/spark/pull/48452

If we use Java to write Invoke object, we must write it as:
https://github.com/apache/spark/pull/48452/files#diff-5dcf9919b53bb052a961f4143ed75bc8567d917b016e83ce0175fe918c7800caR124-R126

Otherwise, compilation will fail.

cc @MaxGekk @cloud-fan

+1, LGTM. Merging to master.
Thank you, @panbingkun.


真机请求

真机发送网络请求报错(使用公司Wi-Fi)：
SocketException: Failed host lookup: 'news-at.zhihu.com' (OS Error: nodename nor servname provided, or not known, errno = 8)
yaml配置如下：
dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
dio: ^2.1.0
发送请求报错(https://blog.csdn.net/zww1984774346/article/details/84571473):
flutter: SocketException: Failed host lookup: 'blog.csdn.net' (OS Error: nodename nor servname provided, or not known, errno = 8)

检查一下APP有没有网络访问权限。

Having this problem too, already double check, network is working but still get this exception.
Error Message : SocketException: Failed host lookup: '{My_Host}' (OS Error: No address associated with hostname, errno = 7)
Usually after wait several minutes is working fine again...
I'm using emulator btw

我也碰到同样的问题。
请求里面包含图片base64字符串时，服务端获取提交的参数时，无法取到值。
如果把图片base64字符串去掉，也服务端可以获取到提交的参数。

我也遇到了同样的问题，手机端浏览器可以正常使用的网址，dio 请求报错。

same issue,pls help fix which already blocked me

由此解决：
https://stackoverflow.com/questions/54551198/how-to-solve-socketexception-failed-host-lookup-www-xyz-com-os-error-no-ad

oh, my problem already fixed. it caused by network permission closed. thanks all.


Release 5.7.0-rc to github packages

Like https://github.com/metafacture/metafacture-core/issues/481.
This rc provides the new  URLEncoder.
This is needed to solve https://github.com/metafacture/metafacture-fix/issues/273.
Pushed to the 5.7.0-rc1 branch to make it available for testing via GitHub packages (version: 5.7.0-rc1 ; removed the -SNAPSHOT required for sonatype in the branch, see https://github.com/metafacture/metafacture-core/wiki/Maintainer-Guidelines#publish-to-githubpackages).

[x] fix
[x] limetrans
[ ] lobid-resources
[ ] playground

Assigning @katauber for testing in Playground.

Looks good 👍 I run all tests and tested all examples.

Thx all - closing.


A refactored version of the project so far

The project was pretty interesting so I decided to refactor some of the bits.

Added white-space between expressions.
Reformatted comments to be on the line above the expression it was referring to.
Used f-strings instead of concatenation.
Use list comprehension for building the keys list.

This uses ascii_lowercase from the string library.

Change the value of enumerate's start argument to 1.

That way the line num = index + 1 isn't needed.

I wasn't familiar with the third party package so I left that bit of the code alone, since I didn't want to end up breaking anything. I'll try looking into it tomorrow.

@equalo-official The other pull request is way better and uses OOP so I don't think that merging this one would be of any use.
Though I would suggest merging the latest commit, which edits the README file. You can choose to only merge a certain commit out of this pull request by using git cherry-pick (blog post about it is here).


_index_param_value not defined when searching params for CatBoostClassifier

Getting a NameError: name '_index_param_value' is not defined error while fitting DistRandomizedSearchCV on a CatBoostClassifier model. Here is some sample code:
params = {
    'depth': [4,6,8],
    'learning_rate': [0.02,0.05,0.1],
    'l2_leaf_reg': [1,5,10],
    'random_strength': [1,5,10],
    'bagging_temperature': [1,5,10],
    'one_hot_max_size': [2,10,50],
    'logging_level': ['Silent'],
    'use_best_model': [True],
    'od_type': ['Iter'],
    'od_wait': [20],
    'eval_metric': ['F1'],
    'iterations': [2000],
    'scale_pos_weight': [scale_multiplier],
    'colsample_bylevel': [0.6,0.8,1],
    'random_state': [42],
    'cat_features': [categorical_features_indices]
    }

model = DistRandomizedSearchCV(
    CatBoostClassifier(),
    params, sc, cv=3, scoring='roc_auc', n_iter=10, verbose=1
    )

model.fit(X_train, y_train, eval_set=(X_validation, y_validation))

Possibly an error on my part. But the error message implies _index_param_value needs to be defined, which appears to be missing in the source code.
I am able to run a DistRandomizedSearchCV search if I drop the eval_set and other overfitting detection parameters. However, it would be great to be able to utilized CatBoost's native overfitting detection.

This has been addressed by this PR: https://github.com/Ibotta/sk-dist/pull/27 which has been merged and is reflected in version 0.1.5
Thanks for the bug report.


Fix warning about deprecated session permission

Thanks. But maybe I've already a better PR?!
https://github.com/axonivy/dev-workflow-ui/pull/152

Just saw, that you already work on this :)


[in-process] Using statically linked lld leads to segmentation fault

Using function lld::elf::link() leads to segmentation fault on second call. First call finishes correctly and tests are passed.

Fixed by rL314108:
[ELF][fix] Using statically linked lld leads to segmentation fault on linking ELF
[Synopsys]
Using function elf::link(...) leads to segmentation fault on its second call. First call finishes correctly.
[Solution]
Clear the rest of globals.
Reviewed by: George Rimar and Rui Ueyama


BUG: Changes to the file content isn't yielded from watch or awatch on Windows

It seems like changes to the file content aren't propagated by watchfiles, however, they seem to be noticed by Notify.
Running watch with debug=True showed the following output when changing the content of a file in the watched directory:
raw-event: Event { kind: Modify(Any), paths: ["..././watched\\test"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
raw-event: Event { kind: Modify(Any), paths: ["..././watched\\test"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }

Note that I just made slight changes to the paths part of the raw event to strip out the full path on my machine.
I also tried adding files, deleting files, and renaming files. These were propagated correctly.

Tried it out in WSL, where it works. It seems to be a difference in the events fired. Two modify events in both cases, just that Windows is Modify(Any) compared to the Modify(Data(Any)) on Linux. However, the Access(Close(Write)) event is nowhere to be seen on Windows.
raw-event: Event { kind: Modify(Data(Any)), paths: ["/..././watched/myfile.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
raw-event: Event { kind: Modify(Data(Any)), paths: ["/..././watched/myfile.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }
raw-event: Event { kind: Access(Close(Write)), paths: ["/..././watched/myfile.txt"], attr:tracker: None, attr:flag: None, attr:info: None, attr:source: None }

Yielded
{(<Change.modified: 2>, '/..././watched/myfile.txt')}

Sounds like it might be easy to fix. I'll take a look.


feat: Update manifests for PSA changes

This PR updates the downstream manifests for PSA changes.

/hold wait for qe approval (trialling no-FF)

/lgtm


Added Initial version of notebook and data info

Joseph, you are getting so good with pull requests! This commit should be done on your personal github repo (not the class repo) though.


[Halide:x64-windows] build failure

Host Environment

OS: Windows 10 x64
Compiler: MSVC 2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install halide[app,core,mips,nativeclient,opencl,opengl,ptx,rtti,tutorials,utils]:x64-windows
Failure logs
Computing installation plan...
The following packages will be built and installed:
    halide[app,core,mips,nativeclient,opencl,opengl,ptx,rtti,tutorials,utils]:x64-windows
Detecting compiler hash for triplet x64-windows...
Starting package 1/1: halide:x64-windows
Building package halide[app,core,mips,nativeclient,opencl,opengl,ptx,rtti,tutorials,utils]:x64-windows...
Could not locate cached archive: C:\Users\thoth\AppData\Local\vcpkg/archives\c5\c5be98d387f34a28a24e5b89b6f9b179b8d850d5.zip
-- Using cached D:/vcpkg/downloads/halide-Halide-f43293be3725bb959941e38c1b1fa9ae925f7389.tar.gz
-- Cleaning sources at D:/vcpkg/buildtrees/halide/src/ae925f7389-72c34b60dc.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/halide-Halide-f43293be3725bb959941e38c1b1fa9ae925f7389.tar.gz
-- Applying patch fix-install-path.patch
-- Using source at D:/vcpkg/buildtrees/halide/src/ae925f7389-72c34b60dc.clean
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:85 (message):
    Command failed: ninja -v
    Working Directory: D:/vcpkg/buildtrees/halide/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\vcpkg\buildtrees\halide\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:305 (vcpkg_execute_required_process)
  ports/halide/portfile.cmake:50 (vcpkg_configure_cmake)
  scripts/ports.cmake:79 (include)

Log file:
[1/2] cmd /c "cd ../../x64-windows-dbg && "C:/Program Files/CMake/bin/cmake.exe" "D:/vcpkg/buildtrees/halide/src/ae925f7389-72c34b60dc.clean" "-DWITH_APPS=ON" "-DWITH_TESTS=OFF" "-DWITH_TUTORIALS=ON" "-DWITH_DOCS=OFF" "-DWITH_UTILS=ON" "-DTARGET_NATIVE_CLIENT=ON" "-DTARGET_HEXAGON=OFF" "-DTARGET_METAL=OFF" "-DTARGET_MIPS=ON" "-DTARGET_POWERPC=OFF" "-DTARGET_PTX=ON" "-DTARGET_OPENCL=ON" "-DTARGET_OPENGL=ON" "-DTARGET_OPENGLCOMPUTE=ON" "-DHALIDE_ENABLE_RTTI=ON" "-DTRIPLET_SYSTEM_ARCH=x64" "-DHALIDE_SHARED_LIBRARY=ON" "-DTARGET_X86=ON" "-DTARGET_ARM=OFF" "-DTARGET_AARCH64=OFF" "-DWARNINGS_AS_ERRORS=OFF" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/halide_x64-windows/debug""
FAILED: ../../x64-windows-dbg/CMakeCache.txt
cmd /c "cd ../../x64-windows-dbg && "C:/Program Files/CMake/bin/cmake.exe" "D:/vcpkg/buildtrees/halide/src/ae925f7389-72c34b60dc.clean" "-DWITH_APPS=ON" "-DWITH_TESTS=OFF" "-DWITH_TUTORIALS=ON" "-DWITH_DOCS=OFF" "-DWITH_UTILS=ON" "-DTARGET_NATIVE_CLIENT=ON" "-DTARGET_HEXAGON=OFF" "-DTARGET_METAL=OFF" "-DTARGET_MIPS=ON" "-DTARGET_POWERPC=OFF" "-DTARGET_PTX=ON" "-DTARGET_OPENCL=ON" "-DTARGET_OPENGL=ON" "-DTARGET_OPENGLCOMPUTE=ON" "-DHALIDE_ENABLE_RTTI=ON" "-DTRIPLET_SYSTEM_ARCH=x64" "-DHALIDE_SHARED_LIBRARY=ON" "-DTARGET_X86=ON" "-DTARGET_ARM=OFF" "-DTARGET_AARCH64=OFF" "-DWARNINGS_AS_ERRORS=OFF" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/halide_x64-windows/debug""
-- The C compiler identification is MSVC 19.25.28611.0
-- The CXX compiler identification is MSVC 19.25.28611.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM 10.0.0
-- Using LLVMConfig.cmake in: D:/vcpkg/installed/x64-windows/share/llvm
Windows: setting CMAKE_OBJECT_PATH_MAX to 260
-- Using llvm-as at D:/vcpkg/installed/x64-windows/bin/llvm-as.exe
-- Using llvm-nm at D:/vcpkg/installed/x64-windows/bin/llvm-nm.exe
-- Using clang at D:/vcpkg/installed/x64-windows/bin/clang.exe
-- Building Halide as a shared library
-- WARNINGS_AS_ERRORS disabled
-- Found OpenMP
-- Found PNG version
-- Found JPEG version 62
-- Performing Test SUPPORTS_SIZED_DEALLOC
-- Performing Test SUPPORTS_SIZED_DEALLOC - Success
CMake Error at D:/vcpkg/installed/x64-windows/share/llvm/LLVM-Config.cmake:281 (message):
  Library 'Mips' is a direct reference to a target library for an omitted
  target.
Call Stack (most recent call first):
  D:/vcpkg/installed/x64-windows/share/llvm/LLVM-Config.cmake:100 (llvm_map_components_to_libnames)
  D:/vcpkg/installed/x64-windows/share/llvm/LLVM-Config.cmake:93 (explicit_llvm_config)
  src/CMakeLists.txt:773 (llvm_config)

-- Configuring incomplete, errors occurred!
See also "D:/vcpkg/buildtrees/halide/x64-windows-dbg/CMakeFiles/CMakeOutput.log".
See also "D:/vcpkg/buildtrees/halide/x64-windows-dbg/CMakeFiles/CMakeError.log".
[2/2] cmd /c "cd .. && "C:/Program Files/CMake/bin/cmake.exe" "D:/vcpkg/buildtrees/halide/src/ae925f7389-72c34b60dc.clean" "-DWITH_APPS=ON" "-DWITH_TESTS=OFF" "-DWITH_TUTORIALS=ON" "-DWITH_DOCS=OFF" "-DWITH_UTILS=ON" "-DTARGET_NATIVE_CLIENT=ON" "-DTARGET_HEXAGON=OFF" "-DTARGET_METAL=OFF" "-DTARGET_MIPS=ON" "-DTARGET_POWERPC=OFF" "-DTARGET_PTX=ON" "-DTARGET_OPENCL=ON" "-DTARGET_OPENGL=ON" "-DTARGET_OPENGLCOMPUTE=ON" "-DHALIDE_ENABLE_RTTI=ON" "-DTRIPLET_SYSTEM_ARCH=x64" "-DHALIDE_SHARED_LIBRARY=ON" "-DTARGET_X86=ON" "-DTARGET_ARM=OFF" "-DTARGET_AARCH64=OFF" "-DWARNINGS_AS_ERRORS=OFF" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/halide_x64-windows""
FAILED: ../CMakeCache.txt
cmd /c "cd .. && "C:/Program Files/CMake/bin/cmake.exe" "D:/vcpkg/buildtrees/halide/src/ae925f7389-72c34b60dc.clean" "-DWITH_APPS=ON" "-DWITH_TESTS=OFF" "-DWITH_TUTORIALS=ON" "-DWITH_DOCS=OFF" "-DWITH_UTILS=ON" "-DTARGET_NATIVE_CLIENT=ON" "-DTARGET_HEXAGON=OFF" "-DTARGET_METAL=OFF" "-DTARGET_MIPS=ON" "-DTARGET_POWERPC=OFF" "-DTARGET_PTX=ON" "-DTARGET_OPENCL=ON" "-DTARGET_OPENGL=ON" "-DTARGET_OPENGLCOMPUTE=ON" "-DHALIDE_ENABLE_RTTI=ON" "-DTRIPLET_SYSTEM_ARCH=x64" "-DHALIDE_SHARED_LIBRARY=ON" "-DTARGET_X86=ON" "-DTARGET_ARM=OFF" "-DTARGET_AARCH64=OFF" "-DWARNINGS_AS_ERRORS=OFF" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/halide_x64-windows""
-- The C compiler identification is MSVC 19.25.28611.0
-- The CXX compiler identification is MSVC 19.25.28611.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x64/cl.exe - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM 10.0.0
-- Using LLVMConfig.cmake in: D:/vcpkg/installed/x64-windows/share/llvm
Windows: setting CMAKE_OBJECT_PATH_MAX to 260
-- Using llvm-as at D:/vcpkg/installed/x64-windows/bin/llvm-as.exe
-- Using llvm-nm at D:/vcpkg/installed/x64-windows/bin/llvm-nm.exe
-- Using clang at D:/vcpkg/installed/x64-windows/bin/clang.exe
-- Building Halide as a shared library
-- WARNINGS_AS_ERRORS disabled
-- Found OpenMP
-- Found PNG version
-- Found JPEG version 62
-- Performing Test SUPPORTS_SIZED_DEALLOC
-- Performing Test SUPPORTS_SIZED_DEALLOC - Success
CMake Error at D:/vcpkg/installed/x64-windows/share/llvm/LLVM-Config.cmake:281 (message):
  Library 'Mips' is a direct reference to a target library for an omitted
  target.
Call Stack (most recent call first):
  D:/vcpkg/installed/x64-windows/share/llvm/LLVM-Config.cmake:100 (llvm_map_components_to_libnames)
  D:/vcpkg/installed/x64-windows/share/llvm/LLVM-Config.cmake:93 (explicit_llvm_config)
  src/CMakeLists.txt:773 (llvm_config)

-- Configuring incomplete, errors occurred!
See also "D:/vcpkg/buildtrees/halide/x64-windows-rel/CMakeFiles/CMakeOutput.log".
See also "D:/vcpkg/buildtrees/halide/x64-windows-rel/CMakeFiles/CMakeError.log".
ninja: build stopped: subcommand failed.

It's worth mentioning, even though the error references the mips component, if I omit it, I instead get a very similar error referencing the ptx component (NVPTX), and so on and so forth.

It appears there isn't a dependency on the llv[target-*] items.
Manually vcpkg installing them fixes this.
There are some other errors that occur, but they seem to be related to ninja reporting a subcommand failed (and not really giving any extra info)

I have fixed this in PR #13860 which also updates Halide to version 10.


[WFLY-14266] Resource-adapters: add report-directory config

https://issues.redhat.com/browse/WFLY-14266

@tadamski This one has been flagged as a feature, has this one kicked off in the RFE process yet?

@darranl Not yet. I have it on my radar.

Just added "rebase-this" as there are conflicts but I suspect we have higher priorities for now.

@darranl  I have rebased this PR and started the RFE process in https://issues.redhat.com/browse/EAP7-1867

Superseded by https://github.com/wildfly/wildfly/pull/15362


Limit memory usage when take is finite

In our real-world usage of consistent_sampler for election audits with Arlo, we found that the sampler's memory usage grew proportionally to the number of ballots in the election at a rate of about 300 bytes per ballot. For elections with millions of ballots, memory usage topped out at a couple GB - not a big deal for a personal computer, but stressful for small cloud-based web servers, which typically have low memory requirements and therefore don't come with big memory banks.
@benadida realized that you don't actually need to keep all of the ballots in memory as you build the min-heap of tickets, you only need to keep as many tickets as you want to sample - the set of tickets with the smallest numbers up to that point. heapq.nsmallest implements this algorithm - it takes in an iterator and returns a list of the smallest n items without loading the entire iterator into memory at once.
This PR uses heapq.nsmallest to build the initial ticket heap in a memory-efficient way (when the desired sample size - take - is finite). Previously, memory usage was O(len(id_list)), with this PR it's O(take).

Hey @ron-rivest, thanks for taking the time to review and work through this with us.
I think this method safely creates a heap because it only caps the heap size during the initial building of the heap, during which there are no extractions, only insertions. Once the heap is built, it behaves just like a normal min-heap and it's size is no longer capped (which is good enough performance-wise for our use case).
Thinking through the question about why you need drop+2*take insertions into the initial heap, I think I got that wrong. I calculated that when I thought we were going to be doing capped insertions after the initial building of the heap, which I later changed to be normal heap insertions as I outlined above.
When doing capped initial building followed by normal extractions/re-insertions, I think you only need drop+take insertions into the initial heap.
To explain why I believe drop+take insertions is the safe amount for sampling with replacement, we consider two different cases:

First, consider the case that you gave where a single element min has the smallest value for every extraction and reinsertion. First we do drop extractions. Each extraction yields min and then reinserts min into the heap. Then we do take extractions, with the same result. In this case, we actually only needed an initial heap of size 1, since min would have always been on top of the heap every time we reinserted it no matter what other elements were in the initial heap.
Next, consider the "opposite" case, where every element we extract ends up at the bottom of the heap when reinserted. Initialize the heap, and let max be the bottom element of the heap (with the largest value). Perform drop extractions. Each extraction yields some element with a key smaller than max, and reinserts that element with a key greater than max. Now perform take-1 extractions. Again, each extraction yields some element with a key smaller than max, and reinserts some element with a key greater than max. max should now be at the top of the heap, and the final extraction should yield max. In order for max to not have been cut from the initial heap, the initial heap must have accommodated drop+take-1 elements with keys lesser than max in the initial heap.

Would love to hear your thoughts on this reasoning and if it checks out. I haven't gotten to do this kind of data structure proof-writing since college a decade ago, so I'm probably quite rusty and fully expect there to be some holes in my logic.

@ron-rivest I've updated this PR with some test cases to help show that the behavior of the sampler is not compromised by this optimization. Are there any further tests you would like to see?

Hi Jonah --
Thanks.  I'll take a look at these.  (May take a couple of days...)
One concern is that the routine should work right in a mode where you
take a first sample of size n1, but don't get statistically significant
results from
that sample, so you take a second sample of size n2 (where drop is n1 now),
and
so on...
I'll be in touch soon...
Take care,
Ron
On Tue, Feb 16, 2021 at 7:08 PM Jonah Kagan<EMAIL_ADDRESS>wrote:

@ron-rivest https://github.com/ron-rivest I've updated this PR with
some test cases to help show that the behavior of the sampler is not
compromised by this optimization. Are there any further tests you would
like to see?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ron-rivest/consistent_sampler/pull/4#issuecomment-780199183,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQ765K64RIIZPDPGPSVHYDS7MCGNANCNFSM4W7MSGIQ
.

--
(1) The climate crisis isn't about who's right.  It's about who's helping.
(2) If you drink from the sewer, you're going to get sick.  True for water.
True for news.


Cannot build android project with .jks keystore

Hi there.
I recently went through the process of generating a new .jks and .pem file, as found in issue 454. I get an error saying my build failed due to an invalid keystore format. I am using Node v14.17.0, and the latest version of bubblerwrap.
Any insight into how to move forward with the build would be much appreciated.
twa-manifest.json signing key section
"signingKey": {
    "path": "/Users/amac/company/repos/repo/keystore.jks",
    "alias": "upload"
  },

How I generated the keystore
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks

What I did
bubblewrap build

What I expected
A new .apk and .aab to be generated
What I actually get

I think I figured out what was wrong:
The keystore I generated was a PKCS12 keystore, whereas bubblewrap CLI was expecting a JKS keystore.
For those who stumble into the same situation, I verified my keystore type using:
keytool -list -keystore path/to/my/key.jks

and I converted the keystore type using a command I found at knowledge.broadcom.com

To convert a PKCS12 (.p12) keystore to a JKS (.jks) keystore, please run the following command:
keytool -importkeystore -srckeystore key.p12 -srcstoretype pkcs12 -destkeystore key.jks -deststoretype jks
where key.p12 is the name of the p12 file and key.jks is the name of the jks keystore to be created.
NOTE: This command is supported on JDK / JRE keytool versions 1.6 and greater.

My issue is resolved (yay!), but the next question I have is whether bubblwrap's cli tool should support PKCS12 keystores?

I'm not opposed to supporting PKCS12, but is unlikely to be a priority unless someone from the community wants to take it. Would you mind creating an specific issue for this, as a feature request?


It doesn't scrap anything.

Hey guys!
I tried to reproduce just the same code as you use in examples:
users = ['nagouzil', '@yassineaitjeddi', 'TahaAlamIdrissi',
         '@Nabila_Gl', 'geceeekusuu', '@pabu232', '@av_ahmet', '@x_born_to_die_x']

users_info = get_user_information(users, headless=True)

After running the code, the variable users_info contains None.
Yet I tried this:
data = scrap(start_date="2021-05-01", max_date="2021-05-02", from_account = 'elonmusk', interval=3,
      headless=True, display_type="Top", save_images=False, filter_replies=True, proximity=True)

And the variable data contains empty dataframe.
Maybe I'm doing something fundamentally wrong?

My platform: MacOS Big Sur
A version of Scweet: 1.0

Hi, sorry for the late response. First of all, set interval with a value smaller than or equal to the period of time you want to scrap (1 in your case). Seconde, what does the code print while scraping ? Is there somethin like "Tweet... Found .." ?
For the case of user_info, you need to set your credentials first.

Hey @Altimis ✌🏻
Thanks for the suggestion, I decreased the interval down to 1. Unfortunately, the result is still None. But yeah, it outputs something.
data = scrap(start_date="2021-04-23", max_date="2021-05-01", from_account = 'elonmusk', interval=1,
      headless=True, display_type="Top", save_images=False, filter_replies=True, proximity=True)

Outputs:
Scraping on headless mode.
looking for tweets between 2021-04-23 and 2021-04-24 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-24%20since%3A2021-04-23%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
looking for tweets between 2021-04-24 and 2021-04-25 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-25%20since%3A2021-04-24%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
looking for tweets between 2021-04-25 and 2021-04-26 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-26%20since%3A2021-04-25%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
looking for tweets between 2021-04-26 and 2021-04-27 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-27%20since%3A2021-04-26%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
looking for tweets between 2021-04-27 and 2021-04-28 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-28%20since%3A2021-04-27%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
looking for tweets between 2021-04-28 and 2021-04-29 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-29%20since%3A2021-04-28%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
looking for tweets between 2021-04-29 and 2021-04-30 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-30%20since%3A2021-04-29%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
looking for tweets between 2021-04-30 and 2021-05-01 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-05-01%20since%3A2021-04-30%20%20-filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2

Checking the data variable:
print(data)
Outputs:
Empty DataFrame
Columns: [UserScreenName, UserName, Timestamp, Text, Embedded_text, Emojis, Comments, Likes, Retweets, Image link, Tweet URL]
Index: []

Okay so it appears to be I started to figure out what's wrong
First of all, I have switched off headless mode (so I can see the browser).

If I specify promixity=True then Twitter doesn't show anything in the search bar. So there is something wrong with the request in the address bar.

If I choose to run WITH headless mode, then I have:

Scraping on headless mode.
looking for tweets between 2021-04-29 and 2021-04-30 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-30%20since%3A2021-04-29%20%20-filter%3Areplies&src=typed_query
scroll  1
scroll  2
looking for tweets between 2021-04-30 and 2021-05-01 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-05-01%20since%3A2021-04-30%20%20-filter%3Areplies&src=typed_query
scroll  1
scroll  2
looking for tweets between 2021-05-01 and 2021-05-02 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-05-02%20since%3A2021-05-01%20%20-filter%3Areplies&src=typed_query
scroll  1
scroll  2

But when I choose WITHOUT headless mode (which is obviously less preferable in production-like activities) then I have some tweets found.
looking for tweets between 2021-04-29 and 2021-04-30 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-04-30%20since%3A2021-04-29%20%20-filter%3Areplies&src=typed_query
scroll  1
scroll  2
scroll  3
looking for tweets between 2021-04-30 and 2021-05-01 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-05-01%20since%3A2021-04-30%20%20-filter%3Areplies&src=typed_query
scroll  1
scroll  2
looking for tweets between 2021-05-01 and 2021-05-02 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-05-02%20since%3A2021-05-01%20%20-filter%3Areplies&src=typed_query
Tweet made at: 2021-05-01T21:36:22.000Z is found. <---- FOUND ONE
Tweet made at: 2021-05-01T21:49:50.000Z is found. <---- FOUND ONE
scroll  1
scroll  2
scroll  3
looking for tweets between 2021-05-02 and 2021-05-03 ...
 path : https://twitter.com/search?q=(from%3Aelonmusk)%20until%3A2021-05-03%20since%3A2021-05-02%20%20-filter%3Areplies&src=typed_query
Tweet made at: 2021-05-02T03:13:36.000Z is found. <---- FOUND ONE
scroll  1
scroll  2
scroll  3

So it seems like an issue. The ability to use it in not headless mode - is a very important thing.

But the most mysterious thing is the third issue. When I run scraping in switched-off headless mode (so I see the browser) and then I open another tab in the browser or put some window above the one with the scrapper - it sees no tweets.

I've made an experiment. I ran the scrapping with exactly the same parameters 3 times and saved shapes of the results. Here they are:
(4, 11) <- the first run, I kept the browser window active all the time
(2, 11) <- opened it a couple of times and then covered the window with another
(0, 11) <- window with the scrapper was hidden
It seems like Twitter reacts to users' actions.

I'm sorry, any updates?
@Altimis

I have the same issue, it works only with headless=False

Hey guys !
Facing the same issue, after using headless = False, getting blank dataframe.
data = scrap(start_date="2021-05-01", max_date="2021-05-02", from_account = 'elonmusk', interval=1,
headless=False, display_type="Top", save_images=False, filter_replies=True, proximity=True)
Getting output as -
looking for tweets between 2021-05-01 and 2021-05-02 ...
path : https://twitter.com/search?q=(from%3Aelonmusk) until%3A2021-05-02 since%3A2021-05-01  -filter%3Areplies&src=typed_query&lf=on
scroll  1
scroll  2
scroll  3
Whats wrong here?

Facing the same issue. Works with Headless=False otherwise when set to True I just see that it is scrolling and not picking up any of the tweets.


Add CharlyBGood's file

Created a branch, created a file and made a commit, and opened a pull request.

Thanks a lot, GitHub!!


Inconsistent naming of Adafruit_BBIO module

See this issue here: https://github.com/adafruit/adafruit-beaglebone-io-python/issues/86
Could the image builder be affected too?
Searching in this repository returns results for both flavors of the module name.
But I only find commented code.  It's late. Maybe I'm missing something. :sleeping:

Well we install via:
pip install Adafruit_BBIO

Downloading/unpacking Adafruit-BBIO
  Downloading Adafruit_BBIO-0.0.30.tar.gz
  Running setup.py egg_info for package Adafruit-BBIO

Installing collected packages: Adafruit-BBIO
  Running setup.py install for Adafruit-BBIO
    building 'Adafruit_BBIO.GPIO' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-armv7l-2.7/source/py_gpio.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/event_gpio.c -o build/temp.linux-armv7l-2.7/source/event_gpio.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o -Wno-format-security
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv7l-2.7/source/py_gpio.o build/temp.linux-armv7l-2.7/source/event_gpio.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/GPIO.so
    building 'Adafruit_BBIO.PWM' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_pwm.c -o build/temp.linux-armv7l-2.7/source/py_pwm.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/c_pwm.c -o build/temp.linux-armv7l-2.7/source/c_pwm.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o -Wno-format-security
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv7l-2.7/source/py_pwm.o build/temp.linux-armv7l-2.7/source/c_pwm.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/PWM.so
    building 'Adafruit_BBIO.ADC' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_adc.c -o build/temp.linux-armv7l-2.7/source/py_adc.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/c_adc.c -o build/temp.linux-armv7l-2.7/source/c_adc.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o -Wno-format-security
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv7l-2.7/source/py_adc.o build/temp.linux-armv7l-2.7/source/c_adc.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/ADC.so
    building 'Adafruit_BBIO.SPI' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/spimodule.c -o build/temp.linux-armv7l-2.7/source/spimodule.o -Wno-format-security
    source/spimodule.c:39:0: warning: "PyLong_Check" redefined [enabled by default]
    /usr/include/python2.7/longobject.h:14:0: note: this is the location of the previous definition
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o -Wno-format-security
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv7l-2.7/source/spimodule.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/SPI.so
    building 'Adafruit_BBIO.UART' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/py_uart.c -o build/temp.linux-armv7l-2.7/source/py_uart.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/c_uart.c -o build/temp.linux-armv7l-2.7/source/c_uart.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/constants.c -o build/temp.linux-armv7l-2.7/source/constants.o -Wno-format-security
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/common.c -o build/temp.linux-armv7l-2.7/source/common.o -Wno-format-security
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv7l-2.7/source/py_uart.o build/temp.linux-armv7l-2.7/source/c_uart.o build/temp.linux-armv7l-2.7/source/constants.o build/temp.linux-armv7l-2.7/source/common.o -o build/lib.linux-armv7l-2.7/Adafruit_BBIO/UART.so

Successfully installed Adafruit-BBIO
Cleaning up...

On jessie:
debian@beaglebone:~$ python
Python 2.7.9 (default, Mar  1 2015, 13:48:22)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Adafruit_BBIO
>>>

debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2015-12-07
debian@beaglebone:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.2 (jessie)
Release:	8.2
Codename:	jessie

It seems to be working out of the box...

python3 isn't happy, thatll be an issue in stretch:
debian@beaglebone:~$ python3
Python 3.4.2 (default, Oct  8 2014, 14:38:51)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import Adafruit_BBIO
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'Adafruit_BBIO'
>>> quit()

and your example works in jessie to::
debian@beaglebone:~$ python
Python 2.7.9 (default, Mar  1 2015, 13:48:22)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Adafruit_BBIO.GPIO as GPIO
>>> quit()

I'm on:
debian@bbone:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 7.9 (wheezy)
Release:	7.9
Codename:	wheezy
debian@bbone:~ $ sudo cat /etc/dogtag
BeagleBoard.org Debian Image 2015-11-12
debian@bbone:~ $ uname -a
Linux bbone 3.8.13-bone79 #1 SMP Tue Oct 13 20:44:55 UTC 2015 armv7l GNU/Linux

Just to be sure: I'm using the wheezy distribution I got from here: http://beagleboard.org/latest-images .
I tried the Debian 8.2 image there but that seemed broken at the time. Are those the distros you're referring to?

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots

Testing Snapshots... :fearful:

Yeap... "Testing Snapshots" means i'm actively testing them and pushing out weekly builds...
This should give a hint on how much "wheezy" actually gets tested by me.. (hint = none)..
Regards,

Are you saying "jessie" is a better choice at the moment?

Right now, only two things don't work as well in jessie's 4.1.x then wheezy's 3.8..
audio: bone-audio-cape-2
rs485: still works best in 3.8..
Otherwise, jessie is a 99% fill in for the old 3.8/wheezy image..
Regards,

and one of the only reasons 'wheezy' is still defaut... there's many books written about it..
when the x15 actually launches, the jessie 4.1.x image will be default... (same kernel for both boards)

OK. Thanks for the info. I'm expecting a new SD-card later this week. I'll try out jessie on the BBB when I get the new card. I already have it running everywhere else (RPi's and NAS), so that won't be a problem.
To make sure I understand the status of the various images lying around:

http://beagleboard.org/latest-images has the latest official release.
http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots has weekly builds, where the Jessie-build marked as "microSD/Standalone: (console) (BeagleBone/BeagleBone Black/BeagleBone Green)" is considered reasonably stable and seems most interesting (i.e. headless purposes) for me.

And finally regarding the OT: This needs to be fixed by Adafruit, but seems to be posing no problems on Jessie.

@RobertCNelson Sorry, but still not clear on this. I just got the snapshot https://rcn-ee.com/rootfs/bb.org/testing/2015-12-07/console/bone-debian-8.2-console-armhf-2015-12-07-2gb.img.xz and un-xz-ed it onto an SD-card.
Booting from the SD-card I get an empty system.

Well that's the console image, if you want a full desktop use the image marked by lxqt...


Data Accuracy

Map v. reports shows discrepancies including in the number of community partners (per mission area and community type). Numbers should align and be accurate.
Another discrepancy is when you look the number of projects per community partner. Map and reports do not align (e.g. Lutheran Family Services)
We need a full review of data accuracy and address all discrepancies.

Another aspect is the number of partners on the map goes up after search and filters are used.


Move more of the signature validation of accessors into Sema

Use this to remove the last bit of the hack to suppres noescape on setter
arguments.  Add a more comprehensive test of noescape's interaction with
accessors.

@swift-ci Please test and merge.

@swift-ci Please test and merge.

@akyrtzi @benlangmuir The change I've made to test/SourceKit/DocSupport/doc_source_file.swift.response in this patch is possibly incorrect.  There's no longer an explicit type repr on setter parameters (e.g. the newValue in set(newValue), if someone writes that explicitly), which means that addParameters in SwiftDocSupport.cpp doesn't add a sub-entity for it.  I'll leave it up to you to decide what to do here.

Filed rdar://34405255 to track the DocSupport potential regression.


OCPBUGS-32843: replace square/go-jose to fix cve

Changes

gopkg.in/square/go-jose.v2 has been deprecated
replacing with equivalent gopkg.in/go-jose/go-jose.v2 causes multiple
imports issue
replaced with security release github.com/go-jose/go-jose v2.6.3
fixes CVE-2024-28180

Signed-off-by: Avinal Kumar<EMAIL_ADDRESS>Release Note
CVE-2024-28180: Upgrade go-jose to mitigate potential denial of service attacks.

/retest

/hold
Need to understand why one of the s2i tests are failing. Perhaps we need https://github.com/openshift/origin/pull/28904 cherry picked to 4.13 too?

/jira refresh

/retest


Add grid to the doc start page

@FedericoNegri To follow our standard content structure, you need to move the card for the "API reference" section before the card for the "Examples" section. (I already made a suggested edit to the toc in the overall index.rst file to do this reordering.) Also, you need to add a card to the end for the "Contribute" section:
``.. grid-item-card:: Contribute :fa:people-group
:padding: 2 2 2 2
:link: contributing
:link-type: doc
    Learn how to contribute to the PyHPS codebase
    or documentation.

@FedericoNegri To follow our standard content structure, you need to move the card for the "API reference" section before the card for the "Examples" section. (I already made a suggested edit to the toc in the overall index.rst file to do this reordering.) Also, you need to add a card to the end for the "Contribute" section: ``.. grid-item-card:: Contribute :fa:people-group :padding: 2 2 2 2 🔗 contributing :link-type: doc
    Learn how to contribute to the PyHPS codebase
    or documentation.

done, thanks


undefined method getDefaultIncludes()

Country hasmany Cities
cities belongsto Country
Country hasMany States
States belongsto Country
Relation ship set. after i accesses paginate  CountryTransformer get on  undefined method issue. Errors given below
Call to undefined method app\Transformers\CountryTransformer::getDefaultIncludes() in \lumen\vendor\dingo\api\src\Transformer\Adapter\Fractal.php on line 193
Code:
    $countries = Country::filterByRequest($request)->paginate(20);
return $this->response->paginator($countries, new CountryTransformer);

Are you extending Fractals TransformerAbstract class?

Yes i am not extend. Thx. it's my mistake. and one more question
Cities paginate include the state and country Transformer. out put given below.
But state reference also add "data" attribute. How can skip it ?
{
"data": [
{
"id": 1,
"name": "karla",
"state_id": 1,
"country_id": 1,
"State": {
"data": {
"id": 1,
"name": "Tamil Nadu",
"country_id": 1
}
},
"Country": {
"data": {
"id": 1,
"name": "PAKI",
"iso2": "IN",
"iso3": "IND"
}
}
}
],
"meta": {
"pagination": {
"total": 1,
"count": 1,
"per_page": 20,
"current_page": 1,
"total_pages": 1,
"links": []
}
}
}

if you will remove that data attribute then how will you format the response result that includes meta data ?
it is required to identify the data array without it how will you merge the array's ?


[Docs]: Document fmt prop for Slider

Request Type
Small Fix (wording, errors, typos, etc.)
Description
The fmt prop is missing from the Slider docs
Are you interested in contributing this improvement to the docs?
I'm just making a suggestion

closed #2657


How dose PredictionIO save a machine learning model?

What I means is that which model format and how to serialize and
deserialize? I just know about PMML which is "Predictive Model Markup Language" from sparkMLlib. Is that used in PredictionIO?
Looking forward to your reply! Thank you!

There is no standard, each Template decides for itself. There is a pio export... CLI that saves as JSON events but this is the same as the event input. There is no way to get the model description.
Which template are you using?
BTW this is a non-active branch, please use Apache PredictionIO and questions should go to the PIO user mailing list or the support group for the Template. The Universal Recommender support is here: https://groups.google.com/forum/#!forum/actionml-user


Changing state to show custom tooltip, lib throws error: "Cannot set property 'options' of undefined "

Hello all.
First of all, I really love our wrapper lib for ChartJS. I played with this lib yesterday and I figured out it was really useful.

When I tried to start writing a custom tooltips for a line chart by using state (I followed the suggestion here #151) , I was stuck by this error:
.
Even the code still runs, but it always throws this exception. The tooltip appeared but once I change state, it throws that error.
As I search in our github, I found #90  involve with my issue. It looks like that I need redraw. I tried but the performance not good.
Please help me. Thanks all.

P/S Sorry for my bad english. And thanks for your reading and concern.

Ahhh. I figure out why it happens to me.
const options = {
      tooltips: {
        enabled: false,
        mode: 'point',
        intersect: true,

        custom: tooltipModel => {
           ...something here ...
        }
    }
}

I made the custom function as a method of component. Then everything worked fine.


Allow semicolons to trail database names in "use"

Prior to this commit, the "use" command treated trailing semicolons as
significant parts of the database name. This lead to a confusing user
experience since other parts of influxql treat the trailing semicolon as
a statement separator, or appear to ignore it. A typical use case looks
something like:
> show databases;
-- snip --
> use foo;

This commit trims off trailing semicolons from database names in "use"
commands if present to match user expectations.
Fixes #2258, where this appears to have been an underlying issue.

[ ] CHANGELOG.md updated
[ ] Rebased/mergable
[ ] Tests pass
[ ] Sign CLA (if not already signed)

First time contributor here! I read the contribution guidelines, but it wasn't apparent if you folks wanted me to update the CHANGELOG or if that was something that you all handled. Also, the guidelines said to drop in the checkboxes, but I'm not sure if I should check off the relevant ones (I've signed the CLA).

@timraymond thanks for the PR! Please do update the CHANGELOG, I'll ask a core member to review the PR

@dgnorton can you validate this parser PR?

+1 from me and @toddboom. Confirmed CLA has been signed.

Rebased here: https://github.com/influxdb/influxdb/pull/3364


Switch from polling to webhooks for PRs

This is a fairly silly change, but it's just a tiny bit faster than waiting for the 30s poll.

if it works SURE!


[Issue] Thermal Expansion Energy Cells Self Feed And Consume All Conduit Throughput

When you have a bank of Cells connected in series it will cause a self feed loop that consumes all the conduit throughput instead of acting like a on demand RF Storage

well - use EnderIO capacitor banks instead

sure as soon as you add a equivalent to the resonant cell 80M RF

RF energy is transfered by pushing. So the energy cell is pushing it into the conduit, which in turn offers it to all connected blocks. Nothing we can do here.
Also, you can build a loop with anything. Unless all blocks belong to the same mod, there is no chance for any mod to recognize it as a loop.

yes a cap bank can get those values but only when you stack them in a multiblock the cells are single blocks with 80M RF
I generally like my systems as compact as possible and single blocks generally win over multi-block

can i insert an other cross mod issue her as i think it fits perfectly?! when i drop 2 EIO Caps and plug an immersive wire between, both caps start pumping into each other in an infinite loop ... cap 1 -> cap2 until cap1 empty then cap1 <- cap2 until cap2 empty .. wasting energy .. unless i specify the power flow direction, which is nt configured by default ...

That is the same issue - EnderIO conduits & capbanks work closely together to provide an easy and optimized power system.
As soon as you start to mix power transfer/storage systems - you have to carefully configure every part or things go wrong.

@mindforger A cap bank will not accept energy if it is full. So the wire must be taking the energy even if it has nowhere to put it, and voiding it.
RF is quite clear: Any block that provides energy pushes it into any connected block that can accept energy. That block must then say how much of that energy it actually took. The providing block has no idea, what the receiving block does with it. It may use it to light up, or it may offer it to another block in turn (that's what wires, conduits, ducts... do).
Cap banks do exactly that. They look how much energy they have and how much they are allowed to output per tick. Then they go over all connected blocks, offering each of them that amount and reduce it by the amount that block took. That's it. Done. No magic, no special cases.
On the receiving side, Ender IO machines and cap banks are as direct, too. They look at the offered amount and if they can fit (part of) it into their buffer, they do so and return the amount they took.
Conduits have some special cases for cap banks, so those don't store energy that could be put into a machine and won't be drained for another cap bank if both are on in+out.

ok looks like the server admins tweaked the configs since the server i play on has them set to 80m

Conduits have some special cases for cap banks, so those don't get offered energy that could be put into a machine and won't be drained for another cap bank if both are on in+out.

is there some API to that ?

Is this also the reason why measuring the current flow trough capacitor is hard? Id like a way to see how much RF that are passing trough a capacitor not just how much it goes up or down.

Get Compact Machines mod. Done.


support TOS

We should set tos in some cases, so could you add a function to set TOS?

Do you want the ability to set the option at bind time via a Config argument, or as a method to change it on the fly on one of the Conn types?

I think the second(add a method and invoke it as necessary) may be better because many users don't need tos setting

Done: 626d638b9ae82abce4067151c5a5db75a61c70bc.


E_ACCESSDENIED on RegisterTaskDefinition with InteractiveToken from WindowsService

Describe the bug
I am running a Windows Service, which is starting a Windows Forms application ("BrowserOverlay") via TaskScheduler.
Private Function TryStartBrowserOverlay(domain As String, windowsUser As String, windowsUserPassword As String, adminUser As String, adminUserPassword As String) As Boolean
        Try
            _log.Debug($"Trying to create a scheduled task which will start the Browser overlay for user '{domain}\{windowsUser}'. AdminUser: {adminUser}")

            Dim args = $"/machineId {_machineId}"

            Using scheduler = New TaskService(Nothing, adminUser, domain, adminUserPassword)

                Dim trigger = New RegistrationTrigger()
                trigger.Delay = TimeSpan.FromSeconds(1)

                Dim definition = scheduler.NewTask()
                definition.Triggers.Add(trigger)
                definition.Actions.Add(_browserOverlayFilePath, args, _browserOverlayFolderPath)

                definition.RegistrationInfo.Author = "MyApp"
                definition.Settings.ExecutionTimeLimit = TimeSpan.Zero ' Otherwise the BrowserOverlay will be stopped after three days
                ' definition.Settings.DeleteExpiredTaskAfter = TimeSpan.FromHours(1) ' Scheduled task can not be registered when this property is set

                scheduler.RootFolder.RegisterTaskDefinition(Nothing, definition, TaskCreation.Create, $"{domain}\\{windowsUser}", windowsUserPassword, TaskLogonType.InteractiveToken)

            End Using

            _log.Info($"Successfully created a scheduled task which will start the BrowserOverlay for user '{domain}\{windowsUser}' in a second. Args: {args}")
            Return True

        Catch ex As Exception
            _log.Debug($"Could not start BrowserOverlay via TaskScheduler for user '{domain}\{windowsUser}' because an exception occurred. AdminUser: {adminUser}", ex)
            Return False
        End Try
    End Function

This is working fine on Windows 7, but on Windows 10 I get the following exception:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTaskDefinition(String Path, ITaskDefinition pDefinition, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl)
   at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String path, TaskDefinition definition, TaskCreation createType, String userId, String password, TaskLogonType logonType, String sddl)
   at MyApp.TryStartBrowserOverlay(String domain, String windowsUser, String windowsUserPassword, String adminUser, String adminUserPassword)

To Reproduce
Run the code above in a demo application.
Expected behavior
Register the task (like it does on Windows 7).
Environment (please complete the following information):

Host Windows version (the one running the code): Windows 10, Version 1909
Library version: 2.8.21

Some more findings:

It is working, if the program is started as a console application on Windows 7
It is not working, if the program is started as a console application on Windows 10
It is not working with all the other TaskLogonTypes
It is not working, if the empty TaskService constructor is used

Please search all closed issues. This has come up before and the fix mimics running under ASP.NET. It is a permissions problem, not a library problem.

@dahall, thanks for your quick answer. I actually searched for "access denied" and looked into all the issues. Unfortunately I have not found something that solves my problem. Could you provide a link to the issue you have in mind?
Anyway, I agree with you that this might be a permission problem, but I can't see why this works on Windows 7 and not on Windows 10.
To dig deeper into this, I extracted my code into a minimal test application and started it as a local admin user. Like this the adminUser is the same as the windowsUser. But I still get the E_ACCESSDENIED error at RegisterTaskDefinition.
My .NET Framework 4.5.2 program is running with Administrator privileges (either as Windows Service or for testing I started my Visual Studio with "Run As Administrator"). Otherwise, the exception would be thrown at new TaskService already.
Do you have any idea how to solve this? Should I provide the source of my test application?

The Windows 10 implementation of Task Scheduler added new security and group policies. Have you run the Troubleshooting Tool on the system having problems?

@dahall thanks a lot for your input.
Actually in my new test set up the local users "Log on as a batch job" and "Log on as a service" privileges have not been set. I will try to ensure these permissions by using this C# implementation. (Maybe this is something you can add to your library.)
Also, the "Remote Registry" service was started by the Troubleshooting Tool. Which should not be necessary in my local set up, correct? (Maybe you can add checking and/or starting of this service to your library.)
(Like I had it on my previous test set up) The Troubleshooting Tool has now only one a V1 issue with the firewall. I guess this should not be the problem.
But unfortunately all this did not help. I still get the same behavior.
Do you have any other ideas?

I tried to use the schtasks via cmd (Run As Administrator) directly and got a more specific error message. Maybe this helps?
C:\Windows\system32>schtasks /create /tn Test /tr c:\test.exe /sc once /st 18:00 /sd 08/04/2021 /s MyDomain /u MyDomain/Jan /p ****

ERROR: User credentials are not allowed on the local machine.

On the local machine it works without setting the user (only remote user). The RemoteRegistry service was stopped.
C:\Windows\system32>schtasks /create /tn Test /tr c:\test.exe /sc once /st 18:00 /sd 08/04/2021 /s MyDomain /ru Jan /rp ***

SUCCESS: The scheduled task "Test" has successfully been created.

So it seems to me like it is no permission issue.
I'm now tempted to build my own wrapper around schtasks. But I'm not sure, if the more complex use cases (non-interactive windows service creates a scheduled task by using the admin user + the application starts interactively by using a not-admin user) can be solved like this.
Can you think about a situation in your code, which could lead to ERROR: User credentials are not allowed on the local machine. that might be thrown as UnauthorizedAccessException (maybe because too many user parameters are set)?

There are two sets of credentials used by Task Scheduler:

Those to access the Task Scheduler engine on the machine

These are set with the TaskService constructor in this library by impersonating the credentials for connection
These are set with the /S and /U options in schtasks

Those used to run the scheduled task when triggered

These are set with the TaskFolder.RegisterTaskDefinition method in this library
These are set with the /RU option in schtasks

Based on that and the information on the schtasks commands that are working, I think you can mimic it with the following on your Win10 box:
// Shorthand
TaskService.Instance.AddTask("Test", new TimeTrigger(new DateTime(2021, 08, 04, 18, 0, 0)), new ExecAction("C:\\test.exe"), "Jan", "***");
// Full code
var taskDef = TaskService.Instance.NewTask();
taskDef.Triggers.Add(new TimeTrigger(new DateTime(2021, 08, 04, 18, 0, 0)));
taskDef.Actions.Add("C:\\test.exe");
TaskService.Instance.RootFolder.RegisterTaskDefinition("Test", taskDef, TaskCreation.Create, "Jan", "***");

If the above code still is having problems, supply full credentials to the TaskService constructor rather than using TaskService.Instance.
var ts = new TaskService("MACHINENAME", "UserName", "UserDomain", "**pwd**");
ts.AddTask...

@dahall Thanks for your advice. I really appreciate your help.
But as far as I can see, your suggested code is exactly what I have programmed. I tried a lot these days, but I can't figure out why it is not working.
Have I overseen something?

@rutemja I don't know what else to recommend. I can tell you that my unit tests run on all versions of Windows since XP, and all versions of ASP.NET since .NET 3.5 using impersonation. This is part of a product line that undergoes full testing across over 100 environments. I am 99.9% confident it is something unique to your environment.
Have a look at #794 and #481 also. Check the UAC status of the application running on Win10.

@dahall hmm...
Just to verify it is no UAC problem I disabled it completely and restarted my PC. The Troubleshooting Tool has no issues and my application is definitely running with enhanced privileges (I double-checked that with the Task Manager). I also tried your code.
But the problem is still occurring. Do you maybe have a possibility to throw a more detailed exception?

Just to be clear, schtasks IS working on the Win10 environment and the code using this library is giving the E_ACCESSDENIED error when calling RegisterTaskDefinition or AddTask on the same machine running elevated?

Yes. I can confirm that now:

schtasks works
TroubleshootingTool has only errors on RemoteRegistry
RegisterTaskDefinition is giving E_ACCESSDENIED

I'm very confused because it is working on some Windows 10 environments and on others not.
Actually I have another PC with the exact same base image, and it is working on that one.
I can't figure out which other setting causes this issue? Do you have a clue?

I only have one thought, is it possible that the task already exists in some environments and that the task was created using credentials that the current user would not have the rights to overwrite?

Actually I got it running now. But I don't know how.
I'm now granting the user "Log on as a batch job" rights programmatically (like you do in your Troubleshooting Tool). But it did not work at first. Then I came back some days later with a version that only does some more logging, and it worked.
Seems like it takes some time (or a login/reboot) until the "Log on as a batch job" right is taken into account. But I did not have the opportunity to test this behavior with another environment, yet.

Thank you for closing the loop on how you got this resolved! It should help others.


Initial MP JWT and Keycloak integration

This is a work in progress, please do not merge

Yes, still WIP, hope to get more time on working on it now that the istio community boosters testing is done

retest this please

@Ladicek can you please have another look, it is all green now. FYI, I will follow up with at least 1 PR, but for now it will be simpler to keep the KC code inside the test

I took another look, added a few comments, but mainly want to ask: what does this actually do? If I understand correctly, it merely adds a test which demonstrates how to integrate Keycloak with MP JWT. I guess you want to provide this integration out of the box in some fraction in that "at least 1 PR"?

@Ladicek thanks, yes, it is about validating the tokens using the KC adapter (as opposed to a default MP-JWT code), as part of the MP-JWT flow, and making these tokens accessible via MP JWT API. Indeed, I'd like to make it available out of the box, my current thinking is to push it to the keycloak fraction itself - so that when both mpjwt and kc fractions are loaded and MP-JWT login config active it would work.
I've had various thoughts on where else this can be put, not sure the introduction of the dedicated fraction is needed yet - until a login mechanism optimized for KC (which can handle OIDC sessions, etc. as opposed to the current MP-JWT one) is available....

This test also relies on some simplifications made in smallrye-jwt 1.1.1, so it can serve on its own as an example of how to customize, in case someone would like to override a default factory for ex


Blank screen

In order to view and study offline and locally framework7-2.1.2 I create a "build" directory inside "kitchen-sink" with "css\framework7.css" and "js\framework7.js" subdirs and files respectively. Also in Xampp apache server I define a vitual host for this "kitchen-sink", along with a site name in the hosts local DNS file in windows.
All works fine with chrome, http:// web access via the site name, but with file://.../index.html a blank screen appears.
The same blank screen appears in Firefox and in Edge browsers, using both access, via http:// and via file://
Clear caching and others changes in browsers did not resolve the problem, a blank screen appears.
In all browsers the Page Source is the index.html as well.
I am using Firefox Version 59.0.1 64-bit, Chrome Version 63.0.3239.84 (Official Build) (64-bit), Microsoft Edge 38.14393.1066.0, Microsoft EdgeHTML 14.14393
What could be happen?.
Why in chrome the file:// does not work and the http:// works ok?.
Thanks in advance,
Octavio.

There is something wrong with your server. Kitchen Sink requires correct server to work

It is better to do the following in downloaded project repo:
npm install
npm run prod

I assume you have installed latest node.js with npm on your system


Virus total showing hits as infected?

I just ran this updater through virus total and it marked it as hot. Any explanation as to why?
https://www.virustotal.com/gui/file/c1989ac3febd8d1763be9d1dd19f3d01a4c7294b3789252014d5485c08a12372

I wrote this updater in Python. To make it easier to distribute I used PyInstaller to bundle the script into a single-file-executable.
Such executables created by pyinstaller can cause false positives with anti-virus software due to their common bootloader:
https://github.com/pyinstaller/pyinstaller/issues/6754#issuecomment-1100821249
The only way to avoid false positives would be to sign the executable, which requires a paid certificate.


[WIP][Ansible::Runner]  Handle edge cases from poor stdout data from ansible-runner

This is a first pass at trying to address the issue described here:
https://bugzilla.redhat.com/show_bug.cgi?id=1739015
Over all it is adding different types of guards to get around some of the bugs in ansible-runner's generated output.  The commit's go in more detail, but the 3 changes in short are:

Commit 1: Avoid adding the the result of Ansible::Runner::Response.parsed_output anything that isn't a Hash (prevents errors, but data is left out)
Commit 2: Use the artifacts/result/job_events/*.json files instead of stdout
Commit 3: Still use artifacts/result/stdout, but don't read bad lines (non-JSON ones)

Commit 1 is a independent change of 2 & 3, but for the most part 2 & 3 are mutually exclusive, unless we decide to use one as a fallback for the other.  However, that option adds a bit of extra logic that I didn't want to code up in a first pass.
TODO:

[ ] Add some specs
[ ] Look into what might be fixable in ansible-runner

Links

https://bugzilla.redhat.com/show_bug.cgi?id=1739015
Example "bad data": https://gist.github.com/NickLaMuro/92e81799272c8bd439adf51ab61d41b1#file-artifact-dash-result-dash-stdout-L2562
Open issue for ansible-runner: https://github.com/ansible/ansible-runner/issues/89

For commit1, can we create a "fake" line instead by inserting a {"stdout" => line_content}?

I'm confused about commit2...is it just for demonstration and then replaced in commit3?

For commit1, can we create a "fake" line instead by inserting a {"stdout" => line_content}?

No, because otherwise you will get duplicate content.  If you look at the gist line you pointed out a few days ago:
https://gist.github.com/NickLaMuro/92e81799272c8bd439adf51ab61d41b1#file-artifact-dash-result-dash-stdout-L2562
You will notice that all of the "raw" content before it is actually contained in the JSON that starts partway through the line.

I'm confused about commit2...is it just for demonstration and then replaced in commit3?

As mentioned in the PR description:

Commit 1 is a independent change of 2 & 3, but for the most part 2 & 3 are mutually exclusive, unless we decide to use one as a fallback for the other.

So I think what should be done for this PR is to choose between either commit2 or commit3, and it really comes down to a matter of preference.

  Does commit 2 include the "bad" lines, but in a parsable format or does it still contain the "bad" lines?

No, because otherwise you will get duplicate content.

Does that always happen?  That is, is there always a line with the formatted text immediately after the unformatted text?

No, because otherwise you will get duplicate content.

Does that always happen? That is, is there always a line with the formatted text immediately after the unformatted text?

Weeeeeeeellll... with a sample size of one, I don't think I can answer that with confidence 😆

I think I prefer commit 2 over commit 3. Does commit 2 include the "bad" lines, but in a parsable format or does it still contain the "bad" lines?

I do to, but I wanted to provide a solution using artifacts/result/stdout if possible if the fix from ansible-runner ever happens, as that would be easier to switch back to (or rather, there wouldn't be anything to switch).

Okay, did a bit of updates to this one:

Added specs
Swapped the commits for commit2 and commit3

The old order can be found here:
https://github.com/NickLaMuro/manageiq/tree/fix_borked_ansible_runner_output_rendering_old
But the specs were easier to define when switching to the job_events/*.json was the last commit.  And it sounds like that will be the approach we go with, so I will rebase that last to commits when we make that decision.
Going to spend a little more time today looking into my other TODO, but that can also be done after this PR is signed off on and merged as well (not a blocker to merge).

@carbonin Please review

I also don't quite understand the difference between the two approaches from a final result POV. For the error case we're working on do they yield different results?

@carbonin

Also it looks like we don't have a test for the "don't add to parsed_stdout if the thing isn't a hash" case added in the first commit. Is that because that doesn't happen in the job_events files?

Yes, since they are all JSON files, there isn't a "oh, just kidding, this is just plain text" that needed to be replicated, I ended up deleting those specs in the last commit since that isn't a case we need to support when dealing with JSON files.
That said, it might not hurt using actual stubs for the #parsed_stdout specs (not the #stdout ones) to test the case where some bad data is injected in, just to confirm that we still get what we expect.

I also don't quite understand the difference between the two approaches from a final result POV. For the error case we're working on do they yield different results?

So with this, I see the first approach as being very naive and doesn't account for everything under the sun.  For example, if the actual ansible-playbook STDOUT produced a "one line hash", but was followed up by the ansible-runner --json out on the same line:
{"uuid": "d737fa4a", "counter": 1, "stdout": "", "start_line": 0, "end_line": 0}
{"uuid": "080027c4", "counter": 2, "stdout": "\\r\\nPLAY [List Variables] **********************************************************", "start_line": 0, "end_line": 2}
{"uuid": "080027c4", "counter": 3, "stdout": "\\r\\nTASK [Gathering Facts] *********************************************************", "start_line": 2, "end_line": 4}
{"oh noes": "a hash!!"}{"uuid": "7f4409f5", "counter": 4, "stdout": "{\"oh noes\": \"a hash!!\"}", "start_line": 4, "end_line": 4}

I am pretty sure it would fail spectacularly in it's current form.  That said, I don't have a use case where this would happen, so I can really tell you for sure if this is something that would happen or not, nor does writing a spec make sense if we don't have a reproducer example.
With the 2nd approach, the only think I have noticed is there is sometimes no color, but I have also seen that not be the case as well with the stdout file.  So I think it is mostly just a safer bet to use, but unsure if it is what we "should" be using.

@carbonin Well, I guess it is fine.  I was thinking I would rebase out the second commit, but maybe it makes sense just to keep them all for historical purposes.  Up you you and @Fryguy I guess.
If we want to keep all the commits, then yeah, I am probably finished then and can remove the [WIP] label.

Yeah I guess we could remove the second commit. Seeing as how we totally re-implement the feature in the last one I feel like it might just be confusing in the history.

For simplicity, I think I am going to keep it... and saves me having to rebase this one more time 😄
Unless you feel strongly otherwise.

For simplicity, I think I am going to keep it... and saves me having to rebase this one more time :smile:

Unless you feel strongly otherwise.

Not particularly, I only answered because you asked :laughing:

Ivanchuk backport details:
$ git log -1
commit 2c765d8da64f799cba169a0843c45a0f354c7602
Author: Nick Carboni<EMAIL_ADDRESS>Date:   Thu Aug 15 15:05:15 2019 -0400

    Merge pull request #19147 from NickLaMuro/fix_borked_ansible_runner_output_rendering

    [Ansible::Runner]  Handle edge cases from poor `stdout` data from `ansible-runner`

    (cherry picked from commit 2f571a4183e7c857bfb5643d8ae80d7fa0feceb0)

    https://bugzilla.redhat.com/show_bug.cgi?id=1739015


Fix FreeBSD build

Ref https://travis-ci.org/ul/kak-lsp/jobs/591420305

Unfortunately, I have to drop FreeBSD support as https://github.com/rust-embedded/cross dropped it.


DCR balances on the privacy page should be displayed in 8 decimal places.

DCR balances on the privacy page should be displayed in 8 decimal places.

I have tested and it displayed in 8 decimal

l

From your screenshot, your unmixed balance is in 6 decimal places
This is the expected behaviour


losing orange top border on active tab

@sccolbert - On current master (2fbceb105eeab0e2aafe13b52c891011d819a1b7), it seems that when I open a few files, and then open a notebook, the dock area active tab loses the orange top border of the actual tab.
I'll look at this Monday more...

@jasongrout can you post a screen cap so I can reproduce?

Yep, I'll do that Monday.
On Sat, Feb 13, 2016, 12:11 S. Chris Colbert<EMAIL_ADDRESS>wrote:

@jasongrout https://github.com/jasongrout can you post a screen cap so
I can reproduce?
—
Reply to this email directly or view it on GitHub
https://github.com/jupyter/jupyter-js-plugins/issues/69#issuecomment-183704478
.

do you have any exceptions in your console?

No, no exceptions. Does it work for you?

Just to be clear, I did
rm -rf node_modules
rm -rf example/node_modules
npm install
npm run clean
npm run build
cd example
npm install
rm -rf build
npm run build
python main.py

Okay, I'll try to track it down on my end.

works for me on Windows/Chrome

What does your element inspector show for that tab?

This is on OS X.

It works in firefox, not in Chrome
the .p-TabBar-tab.p-mod-current has border-top style 1px solid #F27624, and the computed border shows .909px. both before and after the border disappears
After the border disappears, if I change the border-top style to 2px solid #F27624, the top border reappears with what seems to be the same height, but the computed height is now ...

Edit: it just started working. Very weird.

I'll close this for now, and reopen if it starts happening again.  The only thing I can think of is stale css, but I had the dev tools open, which should eliminate caching.

Ah ok. This is a rendering bug in chrome on retina displays. Sometimes 1px lines are not rendered due to internal rounding errors (assumption). I see this same thing on the dock panel example with the 1px solid panel borders during resizing (sometimes).

Okay, that makes sense.  When I saw the 1px border was being converted to
.909px, I thought it might be a rounding issue.
On Mon, Feb 15, 2016 at 12:46 PM S. Chris Colbert<EMAIL_ADDRESS>wrote:

Ah ok. This is a rendering bug in chrome on retina displays. Sometimes 1px
lines are not rendered due to internal rounding errors (assumption). I see
this same thing on the dock panel example with the 1px solid panel borders
during resizing (sometimes).
—
Reply to this email directly or view it on GitHub
https://github.com/jupyter/jupyter-js-plugins/issues/69#issuecomment-184321828
.

By the way, the screencap and what I was investigating was on a 1440p
monitor, not a retina display.
On Mon, Feb 15, 2016 at 12:47 PM Jason Grout<EMAIL_ADDRESS>wrote:

Okay, that makes sense.  When I saw the 1px border was being converted to
.909px, I thought it might be a rounding issue.
On Mon, Feb 15, 2016 at 12:46 PM S. Chris Colbert <
<EMAIL_ADDRESS>wrote:

Ah ok. This is a rendering bug in chrome on retina displays. Sometimes
1px lines are not rendered due to internal rounding errors (assumption). I
see this same thing on the dock panel example with the 1px solid panel
borders during resizing (sometimes).
—
Reply to this email directly or view it on GitHub
https://github.com/jupyter/jupyter-js-plugins/issues/69#issuecomment-184321828
.

I think chrome might still use the same internal scaling logic on the external display (guess). But that's good to know it's a chrome/mac issue in general, and not display specific.


Enable duplicate function to clone the complete hmac context

REF: #187
Temporary solution to the problem of context clone.
There are not any standard function in mbedtls to clone a complete hmac context,
so use hard code to fix this error.
Signed-off-by: yi1 li<EMAIL_ADDRESS>

Please remove MD2/MD4/MD5/RIPEMD160/SHA1/SHA224.
We only need SHA256/384/512.
Please add ASSERT() for default.

Looks good to me.


Add sync button to other flux objects

Adds sync buttons to the Sources and HelmReleases page:

The clustersserver.go file is getting busy, but organizing it would have made this PR harder to review, so I will save that for later.

@jpellizzari I see that the API packages are very old, what will happen is that when people click on the sync button, all the new fields that we've added to Flux APIs will be removed, imagine someone uses Azure and they've set the git implementation to libgit2, then they click the sync button, the UI will remove that field crashing the whole setup without any chance of recovery...

@jpellizzari I see that the API packages are very old, what will happen is that when people click on the sync button, all the new fields that we've added to Flux APIs will be removed, imagine someone uses Azure and they've set the git implementation to libgit2, then they click the sync button, the UI will remove that field crashing the whole setup without any chance of recovery...

I assume that just means updating the versions to the go.mod will resolve that issue in this case. Should we add some automation on upgrading those dependencies? A check in CI would probably be a good way to go, maybe during the "release" job.

@jpellizzari yes we need to keep the UI in-sync with flux2 release, in the same way we do for terraform provider. Some examples:

https://github.com/fluxcd/flux2/blob/main/.github/workflows/update.yaml
https://github.com/fluxcd/terraform-provider-flux/blob/main/.github/workflows/update.yaml

For this PR, please use the packages from here https://github.com/fluxcd/flux2/blob/v0.13.4/go.mod on the long run we need to automate the go.mod updates and release the UI after each flux2 release.


Deployment Branch

This is a request to merge our heroku deployment branch with our master file.

Coverage decreased (-0.01%) to 79.668% when pulling 484b0544c91d374c02d512f94ea01883b04dad72 on ch-deployment-heroku into 03330632b8fbd4e718a9eabec6bc504d125c325d on master.

Is this an automatic deployment to Heroku or do you have to manually push to Heroku every time?

Hi James, I'm not sure about how to answer your question. From what I understand it's a manual deployment, but again I'm not sure.


blazor localStorage F5 Refresh “Object reference not set to an instance of an object.”

Issue Title
blazor localStorage F5 Refresh “Object reference not set to an instance of an object.”
General
visual studio version:

sdk version:.net core sdk 3.0 rc1
localStorage get set js:

Index.razor set localStorage:

Counter.razor get localStorage:

Reiteration steps：
step1:
step2:

step3:
F5 Refresh or

step4 except:

This issue was moved to aspnet/AspNetCore#14162