No type or protocol name 'FBSDKGraphRequestConnectionDelegate'

My react native app working well. When i tried to import react-native-admob without CocoaPods to my app. I m getting No type or protocol name 'FBSDKGraphRequestConnectionDelegate' error.
I tried to instal fbsdk again and I got this result:
rnpm-link info iOS module react-native-fbsdk is already linked

rnpm-install info Module react-native-fbsdk has been successfully installed & linked

I'm not sure if the problem on my fbsdk or react-native-admob.
Here is the part of my code when I got the error:
#import <RCTBridgeModule.h>
#import <Foundation/Foundation.h>
/*!
 @abstract A RCTFBSDKGraphRequestConnectionContainer object can take in a batch of
.........
 */

> @interface RCTFBSDKGraphRequestConnectionContainer : NSObject<FBSDKGraphRequestConnectionDelegate>

So your app uses react-native-fbsdk and works but as soon as you add react-native-admob it stops working and shows this error?
This could indicate some parts of the teo libraries are not compatible. I have never used fbsdk before so I'm not sure.
Where is the error shown? In the app in the red background or in Xcode while compiling?

On 13.10.2016, at 23:52, Sadık Ay<EMAIL_ADDRESS>wrote:
My react native app working well. When i tried to import react-native-admob without CocoaPods to my app. I m getting No type or protocol name 'FBSDKGraphRequestConnectionDelegate' error.
I tried to instal fbsdk again and I got this result:
rnpm-link info iOS module react-native-fbsdk is already linked
rnpm-install info Module react-native-fbsdk has been successfully installed & linked
I'm not sure if the problem on my fbsdk or react-native-admob.
Here is the part of my code when I got the error:
#import
#import
/*!
@abstract A RCTFBSDKGraphRequestConnectionContainer object can take in a batch of
.........
*/

@interface RCTFBSDKGraphRequestConnectionContainer : NSObject

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @sbugert yeah you got it correctly. The error shown while compiling in the RCTFBSDKGraphRequestConnectionContainer file. Actualy i m not using fbsdk too. It have been created after my  rnpm link command.

I solved the issue by runing rnpm link only for admob:
rnpm link react-native-admob.
Then I got some errors while compiling for missing frameworks. I added them from
Build Phases -> Link Binary With Libraries
AddressBook.framework
libsqlite3.tbd
Then I added -lz to Build Settings -> Other Linker Flags. (See in the screenshoot)

Now my app works well! 👍
Note: Before adding react-native-admob my app was works well without this changes.
Thanks.


istio telemetry envoy filter doesn't work

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
istio telemetry envoy filter doesn't work  when istio config configSources
meshConfig:
accessLogFile: "/dev/stdout"
accessLogEncoding: JSON
enablePrometheusMerge: true
configSources:
- address: "xds://xx.xx.com"
Version
client version: 1.14.5
control plane version: 1.14.5
data plane version: 1.14.5 (3 proxies)

Client Version: v1.26.3
Kustomize Version: v4.5.7
Server Version: v1.20.6

Additional Information
not jus version 1.14.5 , all version has the problem
not just telemetry envoy filter
all envoy filter  will not work when istio configSources:
Affected product area

[ ] Ambient
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[X] Extensions and Telemetry
[ ] Security
[X] Test and Release
[X] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

if remove configSources address it works well.


feat(server): Add dispatcher logic to allow handling requests container OpenApi basePath

Updates the Dispatcher logic to allow requests that contain the OpenApi basePath at the root of the path. For example, if the basePath is /myApi and a consumer of the mock service makes a call to /myApi/someEndpoint the present code will give a 404. This change allows handling of that request just as if the consumer called /someEndpoint. Some consumers in a webpack proxy situation are sending the basePath in the request path and this allows handling that situation.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
2785

Relevant Lines:
3278

💛  - Coveralls


RFC deposit: authors field in article submission form

 Issue by kneczaj
Friday Jun 06, 2014 at 16:03 GMT
Originally opened as https://github.com/jirikuncar/invenio/issues/302

Hello,
I just saw that the design of the author field which I introduced in bootstrap migration commit was reverted. In my opinion the previous version (first screenshot) is not ideal because of two things:

move/remove buttons are really small
there is much space wasted between the inline fields

My design moves also 'move' button to the left to separate it from 'remove' button as the functionality differs much, and misclicking is not welcome here ;) although this is a minor issue, and for sure will get much discussion so I don't insist on it.
I attach both screenshots to discuss on them. Your opinions and other designs are welcome! :)
Design 1 "small buttons" (original):

Design 2 "large buttons" (mine):

Design no. 2 is a fast revert and just presents the general idea, it may need tuning the fields sizes and removing some css glitches.

Issue moved to inveniosoftware/invenio-deposit #100 via ZenHub


Fixed editor gui

Made the GUI stick to the sides of the window and now you can only open one resource at a time.

It's unnecessary to keep a map of editors if only one can be open anyhow. This makes the code needlessly complex.

Tabs everywhere. (Change your Visual Studio settings!)


IDE version 1.8, esp8266 software 2.2.0, how to get LittleFS to work??

See the headline.
How to get LittleFS to work?
(LittleFS.h not found!!)

I used:
name=LittleFS
version=0.1.0
author=Earle F. Philhower, III
maintainer=Earle F. Philhower, III<EMAIL_ADDRESS>sentence=Port of LittleFS to ESP8266 Arduino
paragraph=Replacement for SPIFFS to manage a filesystem in the onboard flash, supporting power fail safety and higher performance than SPIFFS at the cost of a lower maximum number of files.
category=Data Storage
url=https://github.com/esp8266/Arduino/libraries/LittleFS
architectures=esp8266
dot_a_linkage=true

Hi ... thank you for the URL.
But ist a 404 error.
The only LittleFS i can find is part of the Arduino Master tree:
https://github.com/esp8266/Arduino/tree/master/libraries
And this one will not compile with core 2.2.0
Maybe you can share your LittleFS package?

I'm using version 3.1.1 of the ESP8266 toolchain:
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266WiFi
Using library ESPAsyncTCP-master at version 1.2.0 in folder: D:\docs\Arduino\libraries\ESPAsyncTCP-master
Using library ESPAsyncWebServer-master at version 1.2.0 in folder: D:\docs\Arduino\libraries\ESPAsyncWebServer-master
Using library async-mqtt-client-master at version 0.8.1 in folder: D:\docs\Arduino\libraries\async-mqtt-client-master
Using library SPI at version 1.0 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\SPI
Using library Adafruit_GFX_Library at version 1.11.5 in folder: D:\docs\Arduino\libraries\Adafruit_GFX_Library
Using library Adafruit_BusIO at version 1.15.0 in folder: D:\docs\Arduino\libraries\Adafruit_BusIO
Using library Wire at version 1.0 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\Wire
Using library TFT_ILI9163C-master at version 0.9 in folder: D:\docs\Arduino\libraries\TFT_ILI9163C-master
Using library Ticker at version 1.0 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\Ticker
Using library ArduinoOTA at version 1.0 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ArduinoOTA
Using library TinyXML at version 1.0.2 in folder: D:\docs\Arduino\libraries\TinyXML
Using library LittleFS at version 0.1.0 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\LittleFS
Using library Hash at version 1.0 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\Hash
Using library ESP8266mDNS at version 1.2 in folder: C:\Users\hp\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266mDNS

In the "Additional board manager URLs:
http://arduino.esp8266.com/stable/package_esp8266com_index.json

Thank you very much ... :)
3.1.1 toolchain, did it. 👍
What's about IwIP variant? i took v2 higher bandwich or it's better to take sometihng else?

I don't know, just try.
Please consider this for a better version of the radio.

Ok ... i did.
The only stable IwIP build seems to be: "v2 Lower Memory (no features)"
Thank you very much for your help and hints 👍


MethodError: no method matching nameof(::Type{Union{Missing, String}})

Urg, my bad. I suggested nameof in #19 but it turns out it doesn't handle things like unions, as I found out when upgrading and regenerating my diagram. I am not sure the right solution!

On #helpdesk on the Julia slack, user @Chris had the great suggestion to set compact to true, e.g. sprint(print, T; context=:compact=>true) gives a string without qualified names.
I took a look at the printing internals and this seems to work, since isvisible is only called within a block that's turned off for compact printing: https://github.com/JuliaLang/julia/blob/572fa5055ecb709edd3d227a10b46549f82b72b2/base/show.jl#L1039-L1044
I think we should use this for now, and I'll file a feature request to have a Base API to give us this

love it! i agree.


Extension feature request: Show Steamdb rating in the Steam wishlist page

First, thank you for adding the new Steamdb rating score to the extension. This really helps.
In addition to that, I would like to put a request for the new Steamdb rating to also appear in the Steam wishlist page through the extension. I believe this would help to get an idea of how well received a game has been when looking at one's Steam wishlist during sales. This would give the user an overall view of the Steamdb rating score in conjunction with the sale price, which go together anyway. This would also allow users to reorganize their Steam wishlists based on the new Steamdb rating score, which is very helpful when going through very long Steam wishlists.
Thank you and keep up the good work.

Extension has a separate repository: https://github.com/SteamDatabase/BrowserExtension/issues
But implementing this would take some effort, because wishlist page itself does not have any rating data on it, and it would require doing an API call for each game to display it.


Most recent vscode update broke the debugging feature of this extension

Seems that the June VSCode update broke debugging, more info to follow.

Just as an additional data point, debugging is working on 1.47.3 for me.

Ok I pulled together more information. I created a small repo that reproduces the issue:
https://github.com/jim-moody/vscode-jest-debug-issue
And I recorded two videos.
Video 1 - VSCode v1.47 - The debugger skips the breakpoint within the sum function

Video 2 - VSCode v1.46 - The debugger properly stops at the breakpoint within the sum function

Seems that its fixed in 1.48, so the root cause must have been an issue with VSCode


Add schema validation + autocompletion for dfx.json

Enables JSON Schema validation for dfx.json files.
Relevant forum post
Future steps:

Change the default schema URL to https://json.schemastore.org/dfx once available.
Prioritize using schema definition from dfx schema command output.

@ggreif, would you be able to merge this? I still appear to be missing write permissions on a few repositories.


Add Heroku Agent flavor

What does this PR do?
This PR creates a new agent flavor for Heroku dynos. This is a normal agent, so new build is needed.
Motivation
Right now it is very difficult to know which agents are running in a Heroku dyno. With this change we will be able to know which agents are reporting from a Heroku dyno going forward.
Describe your test plan
I have tested this in in a Heroku dyno running the Datadog Heroku buildpack from master (which contains the needed changes in the buildpack side) and the new flavor was reported correctly
cc @jeremy-lq

Note that this will change some metrics reported by the Agent (eg: datadog.agent.running will become datadog.heroku_agent.running) so it could be a small breaking change for some customers.
If you are deploying a regular build of the Agent and the only difference is how you install it, a possible alternative would be to report this as install_info like it's done on the Azure Extension. The fields in the install_info file are read by the Agent and sent as part of the host metadata.


Migrate Channel post List realm

Summary
This is part of the migration to Realm, this PR adds some action types, actions, writers, modification to current models as well as changing the channel post list connector to use Realm instead of Redux.
Next: channel sidebar and a few others components to progressively do the migration
Ticket Link
https://mattermost.atlassian.net/browse/MM-16733

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

@enahum Just to check the process of this PR. Is still work in progress or ready for review?

@hanzei this is part of a BIG BIG epic and it will take time, so no need to be on top of this or anything related to realm.
Thanks though

@hanzei this is not a work in progress, this is ready to be reviewed.. just that is not as high priority as others... please whenever you see the word Realm in the PR leave it as is.
Thank you

Actually whenever you see a long running branch (or feature branch) leave it as is ;)


Added option to disable Google auth

You can now pass disableGoogleAuth to <SignInForm> to disable all Google authentication.
Disabling Google auth is not just a matter of "do not provide googleClientId" because the React components automatically use the default publicly available client ID for known hosts (i.e., "localhost:3000").

Coverage: 93.925% (+0.0007%) from 93.924% when pulling 8b74e189171e3eaf93298dec29828639e570e4d7 on cody-disable-google-auth-option into 8b7c15fdb79dc7fce90c302ccc75405b9ee0b79b on main.


Upgrade netty to 4.1.108

upgrade Netty to 4.1.108
https://netty.io/news/2024/03/21/4-1-108-Final.html
https://mvnrepository.com/artifact/io.netty/netty-bom/4.1.108.Final

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

Why do we need this update?

If this update is based on CVE fix, you need to fix CI. We have skywalking-eyes as CI tool to resolve the dependency versions and license. You need to update them accordingly.
diff --git a/dist-material/release-docs/LICENSE b/dist-material/release-docs/LICENSE
index 1a27f2f..6ddf07c 100644
--- a/dist-material/release-docs/LICENSE
+++ b/dist-material/release-docs/LICENSE
@@ -301,2 +301,2 @@ The text of each license is the standard Apache 2.0 license.
-    https://mvnrepository.com/artifact/io.netty/netty-buffer/4.1.100.Final Apache-2.0
-    https://mvnrepository.com/artifact/io.netty/netty-codec/4.1.100.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-buffer/4.1.108.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-codec/4.1.108.Final Apache-2.0
@@ -305,6 +305,6 @@ The text of each license is the standard Apache 2.0 license.
-    https://mvnrepository.com/artifact/io.netty/netty-codec-http/4.1.100.Final Apache-2.0
-    https://mvnrepository.com/artifact/io.netty/netty-codec-http2/4.1.100.Final Apache-2.0
-    https://mvnrepository.com/artifact/io.netty/netty-codec-socks/4.1.100.Final Apache-2.0
-    https://mvnrepository.com/artifact/io.netty/netty-common/4.1.100.Final Apache-2.0
-    https://mvnrepository.com/artifact/io.netty/netty-handler/4.1.100.Final Apache-2.0
-    https://mvnrepository.com/artifact/io.netty/netty-handler-proxy/4.1.100.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-codec-http/4.1.108.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-codec-http2/4.1.108.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-codec-socks/4.1.108.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-common/4.1.108.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-handler/4.1.108.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-handler-proxy/4.1.108.Final Apache-2.0
@@ -315 +315 @@ The text of each license is the standard Apache 2.0 license.
-    https://mvnrepository.com/artifact/io.netty/netty-tcnative-boringssl-static/2.0.52.Final Apache-2.0
+    https://mvnrepository.com/artifact/io.netty/netty-tcnative-boringssl-static/2.0.65.Final Apache-2.0

Closing as no update.


Adds messenger button

resolves #79

Haven't contributed since we started using fontcustom. Landing a messenger icon to get familiar again.


Add a Color Palette Generator Project

Website that generates color palette for user
Kindly assign this issue to me so that I can start working on it.

The project already exist, Do not be demotivated and raise a new issue.


What if multiple libraries within one project?

Good job on this CMake based c++ template project.
I have been developing a C++ project which contains multiple libraries, and I intend to use this template repo.
My project layout now looks like following:
|── include
│   ├── lib1_headers
│   ├── lib2_headers
│   ├── lib3_headers
└── source
    ├── lib1_srcs
    ├── lib2_srcs
    ├── lib3_srcs

What is the proper way to use this repo and set up my project?
Hope your help...

Yes, this example is  one library per one project at the moment. I was thinking to extend it to multiple libraries.
The code that configure the library is here:
https://github.com/pablospe/cmake-example-library/blob/master/cmake/LibraryConfig.cmake
Basically this code should be a function, and be called per library. Not sure about the alias part. Also I believe the FOO_DEBUG should be move SetEnv.cmake perhaps. Perhaps you could give a try to generate this code as function in PR.
Could you comment more about your project structure? How do you want to use it externally? Something like "Foo::lib1"? I am trying to understand why you need multiple libraries. You could also check in the object libraries and expose one to the external. More about object libraries: https://gitlab.kitware.com/cmake/community/-/wikis/doc/tutorials/Object-Library


Open source? Problem sharing files.

Ok, so i like open source, and in this curricula it's encouraged to share the material generated for the each course.
I really like that, and i try to share as much as possible of what i generate.
Though while doing CS50 i find this restriction on the submitted work:
    Not allowed to:
    Providing or making available solutions to problem sets to individuals who might take this course in the future.

which basically forbids me to share anything i do for the course.
I could wait to finish the course to share what i do, but it says "in the future" so that means nopes.
What do you think about that?

I have also thought about this. I think for CS50 it would be unreasonable to give someone a link directly to your solved problem sets but for Scratch and the final project this would be ok. What do you think?

@dswallow  thanks for commenting.
well i just recently (2 Secs ago) submitted the 1st set. and i noticed there's a quiz at the end. obviously i'm not going to publish my answers for that.
but also i noticed that the scratch site makes your stuff public, and you need to enter the url when submitting, so i think maybe its not a crime to upload the scratch solution to my public repository.
https://scratch.mit.edu/projects/93513819 < this is my submission, if you can see it then it's public.

Yeah its public :). Mine is [here] (https://scratch.mit.edu/projects/86548316/). I will be starting pset5 next week!

I've also noticed this! At least the final project should be freely shareable, I'm working on mine at the moment. :)

https://github.com/mottosso/blur

Hey congratulations to both! I'm going slow because of work and other courses.
I should talk to the teachers, about this, if any of you do it please let me know.

As OSSU is Project Based I think what you need to share is the files of the project or projects you create using the knowledge you got from the course and not the solutions of the problems that are in the course.

@miguel550 exactly!
We treat about this topic here :smile:


Add options to repo.checkout

Add options to repo.checkout to allow things like 'git checkout -B '

It would be nice to follow the convention where options precedes the callback. e.g.
Repo#create_tag(name, [options, ]callback)

Contributed in #84


Conflicts with ZoomPanOptions and token-tooltip-alt

ZoomPanOptions - does not zoom to cursor
token-tooltip-alt - does not display tooltips
https://github.com/itamarcu/ZoomPanOptions
https://github.com/bmarian/token-tooltip-alt

I can't replicate these problems.  Both modules seem to work the same whether or not I have TokensVisible installed.
tested on Foundry 0.7.10  system DnD5 1.2.4


Method initialize is not working when address is not searched before.

If a new ina device is created with 'None' i2c handler, and then an address is given, when initializing it the device would never be found because i2c handler was not being used by the method.

Fixed on version 0.3.0


[ISSUE] The referenced component 'C:\Users\USERNAME.nuget\packages\skiasharp\2.80.3\buildTransitive\xamarinios1.0....\build\xamarinios1.0\libSkiaSharp.framework' could not be found.

Description
I'm trying to compile my Xamarin Forms project  with Visual Studio 2022 and I'm getting the following error:
The referenced component 'C:\Users\USERNAME.nuget\packages\skiasharp\2.80.3\buildTransitive\xamarinios1.0....\build\xamarinios1.0\libSkiaSharp.framework' could not be found.
Code
It seems a problem related to the NuGet package or reference, not a code problem.
Expected Behavior
No warning and able to compile and run the application.
Actual Behavior
Warning and the application does't run.
Basic Information

Version with issue:  2.80.3

Last known good version:  none

IDE:  Visual Studio 2022

Platform Target Frameworks:

Android: 12
iOS:  Default SDK Version (15)

Target Devices:

iPad Air 4th generation

I use Visual Studio 2022 now.
Before I had Visual Studio 2019 and I used to get this warning every time I compiled, but at that time I found an entry in the reference of the iOS project with yellow exclamation mark, and I was able to delete it and recompile.
Now, in Visual Studio 2022 I don't see this entry in the reference and I can't compile.

Screenshots

Reproduction Link

I'm having this exact problem. Is there a solution?

I still having this issue and I am not aware of any fix or workaround.
Warning
The referenced component 'C:\Users\USERNAME.nuget\packages\skiasharp\2.80.3\buildTransitive\xamarinios1.0....\build\xamarinios1.0\libSkiaSharp.framework' could not be found.

Hi, Anyone with the solution?

We had a very similar problem today - as it happened, removing all the skia package folders from C:\Users<username>.nuget\packages and doing a full rebuild in VS resolved it. Random guess: Somehow the native ios package had been corrupted, maybe when it was initially downloaded?

Duplicate of https://github.com/mono/SkiaSharp/issues/2824

The OP issue was probably a corrupted nuget download. Closing this for now, feel free to open a new issue if it returns.


fix: viewpager not initializing when bluetooth not enabled

Fixes #220
Changes:

separated ensureBluetoothEnabled() from prepareScan()
fab listener is set according to the bluetooth state

Screenshots for the change:

@yashk2000 @anhanh11001 Please Review


Add tests that build docker images are working well

No tests exists to ensure that the prod containers actually work (the dev container is running the integration tests).
Add execution of integration tests on both dev and prod containers, after checking that this does not introduce a very lengthy test.

As mentioned, docker-dev is tested, as it is used now for integration tests (see PR #687). This is not a direct test in a sense that errors will be only noted in upcoming pull requests. I think this is reasonable and nothing else is needed.
docker-prod does not contain any testing environment (no pytest; as it is a container for users).
We could call a small set of applications (don't think we need all, maybe even only one?) after the generation of the container, e.g.,
docker run --rm -it --env-file .env \
    -v "$(pwd):/workdir/external" \
    ghcr.io/gammasim/simtools-prod:latest \
    simtools-print-array-elements \
    --input ./simtools/tests/resources/telescope_positions-North-utm.ecsv \
    --export corsika --use_corsika_telescope_height \
    --output_path /workdir/external/

I am hesitating a bit, as these lines look quite fine-tuned and we are still working on configuration parameters / input / etc. This would have to be kept updated (probably ok, just another thing to take care).
Maybe we start the test and then install first as part of the github action workflow pytest and run the application tests?

I agree that the dev docker image is already tested this way and we don't need further tests. not sure about the production docker image. It is not clear to me what should be the differences between these docker images.

See https://gammasim.github.io/simtools/getting_started.html#docker-installation and https://gammasim.github.io/simtools/getting_started.html#docker-environment-for-developers for the two types of docker containers.

Yes, we should make a list of applications going through the different levels of "difficulties": with/without database, with sim-telarray, writing to somewhere.

Quick update:
#713 has all the changes to first build the linux image, then run the tests, then build all other images (linux/arm64/v8) and push
I would like to avoid duplication in running tests, as we would:

run here some applications with typical configurations
plan to add integration tests for all applications with typical configurations

The plan is now to add to the test directory the command line parameters as yaml files. All applications can be configured by e.g., simtools-print-array-elements --config config.yml with config.yml including the command line parameters.
Example for config.yaml:
INPUT: ./tests/resources/telescope_positions-North-utm.ecsv
EXPORT: corsika
USE_CORSIKA_TELESCOPE_HEIGHT: True
OUTPUT_PATH: simtools-tests

I really like this solution.
(and I notice now that this part of the code (reading from config) is broken...need to fix it first)

I also really like the idea of passing command line arguments through yaml file!


Adjust gemspec and test/ci for Rails 5

Now that Rails 5 is out the gemspec for the AR adapter needed to be adjusted. Additionally, I updated all the test/ci stuff to run against rails 5.

refs https://github.com/jnunemaker/flipper/issues/129


Ethash: Abstract and light cache

Hi again,
This PR does not only abstract the ethash algos, it also makes the DAG generation obsolete by only using a light cache only.
I did some research an this is the same behavior as open-ethereum-pool has.
Initially I was a bit concerned the this might have a performance impact, but even the official ethereum wiki mentions that the cache is enough for hash validation.
https://ethereum.org/en/developers/docs/consensus-mechanisms/pow/mining-algorithms/ethash/

Mining involves grabbing random slices of the dataset and hashing them together. Verification can be done with low memory by using the cache to regenerate the specific pieces of the dataset that you need, so you only need to store the cache.

The code was tested on mordor.
Related discussion: https://github.com/oliverw/miningcore/discussions/1586

You've been very busy, do you even sleep sometimes lol
Little clarification though, when i use geth and miningcore on the same server/machine and i set dagDir to the same location where geth automatically generates the DAG files, miningcore actually uses instantly the DAG files already generated and does not generate them.

What's that sleep you're talking about?
From an operations perspective it often doesn't make sense to run geth and miningcore on the same host.
And especially when you are deploying miningcore in a cloud environment like Kubernetes, AWS ECS or whatever fancy solution there is, having miningcore to generate that DAG at each start simply doesn't allow you to run miningcore at scale.
This has been a thorn in my side for some time.

Also I think miningcore will generate DAGs anyway, it has a future cache which stores the DAG for the next epoch and I don't think it can pick that up from a pregenerated file. While mc does that one of your cores kinda goes to waste.

You are definitely right about the different architectures, i don't generate enough money yet to even think running at scale when you can afford a server for every single use-cases: nodes, webserver, stratum-pool, database (master+slave).
Also geth always generates two DAG files: current & future epochs, and trust me miningcore pick them right away since geth named these files exactly like in the code inside miningcore, i tested it multiple times by deleting the files and restarting the node:
ls -allh /home/ceedii/.etchash/
total 4.2G
drwxr-xr-x  2 ceedii ceedii 4.0K Feb  1 14:38 .
drwxr-xr-x 98 ceedii ceedii 4.0K Jan 31 11:34 ..
-rw-r--r--  1 ceedii ceedii 2.1G Feb  1 14:38 full-R23-12d4e805cd0b1eb4
-rw-r--r--  1 ceedii ceedii 2.1G Jan 28 02:43 full-R23-abcd0f131d37fb4c

I never ran so far into DAG generation despite the DEBUG info:
[2023-02-01 14:39:20.1673] [I] [etc1] All daemons online
[2023-02-01 14:39:20.1673] [I] [Core] API Access to /metrics restricted to <IP_ADDRESS>,::1,::ffff:<IP_ADDRESS>
[2023-02-01 14:39:20.1736] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockFoundNotification:
[2023-02-01 14:39:20.1736] [I] [etc1] All daemons synched with blockchain
[2023-02-01 14:39:20.1736] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockUnlockedNotification:
[2023-02-01 14:39:20.1736] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.BlockConfirmationProgressNotification:
[2023-02-01 14:39:20.1736] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.NewChainHeightNotification:
[2023-02-01 14:39:20.1761] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.PaymentNotification:
[2023-02-01 14:39:20.1761] [D] [MessageBus] Listening to Miningcore.Notifications.Messages.HashrateNotification:
[2023-02-01 14:39:20.2055] [I] [etc1] Loading current DAG ...
[2023-02-01 14:39:20.2089] [D] [etc1] Epoch length used: 60000
[2023-02-01 14:39:20.2089] [I] [etc1] No pre-generated DAG available, creating new for epoch 135
[2023-02-01 14:39:20.2089] [I] [etc1] Generating DAG for epoch 135
[2023-02-01 14:39:20.2089] [D] [etc1] Epoch length used: 60000
[2023-02-01 14:39:20.2423] [I] [Core] API access limited to 30 requests per 1s, except from <IP_ADDRESS>
[2023-02-01 14:39:20.2512] [I] [Lifetime] Now listening on: http://<IP_ADDRESS>:4000
[2023-02-01 14:39:20.2512] [I] [Lifetime] Application started. Press Ctrl+C to shut down.
[2023-02-01 14:39:20.2512] [I] [Lifetime] Hosting environment: Production
[2023-02-01 14:39:20.2512] [I] [Lifetime] Content root path: /home/ceedii/miningcore/build/
[2023-02-01 14:39:21.1148] [I] [etc1] Done generating DAG for epoch 135 after 00:00:00.9041033
[2023-02-01 14:39:21.1178] [I] [etc1] Loaded current DAG
[2023-02-01 14:39:21.1289] [I] [etc1] Job Manager Online
[2023-02-01 14:39:21.2805] [I] [etc1] New work at height 8105053 and header 0xc79f231f859b65d6dccf127dbd283617d797154716740b7a93ba04712ea17e5b via [POLL]
[2023-02-01 14:39:21.2805] [I] [etc1] Broadcasting job 00000001
[2023-02-01 14:39:21.2902] [D] [etc1] Loading pool stats
[2023-02-01 14:39:21.3582] [I] [etc1] Pool Online
[2023-02-01 14:39:21.3582] [I] [etc1]

Mining Pool:            etc1
Coin Type:              ETC [ETC]
Network Connected:      Mordor-Mordor
Detected Reward Type:   POW
Current Block Height:   8105053
Current Connect Peers:  1
Network Difficulty:     283.02K
Network Hash Rate:      18.95 KH/s
Stratum Port(s):        3394, 3395
Pool Fee:               0.1%

[2023-02-01 14:39:21.3657] [I] [etc1] Stratum ports <IP_ADDRESS>:3394, <IP_ADDRESS>:3395 online
[2023-02-01 14:39:32.1512] [I] [etc1] New work at height 8105054 and header 0x556e7d9a197adfb191c725c60b06fa319bbbac327bd0d002cd5c9843a1b6db8d via [POLL]
[2023-02-01 14:39:32.1565] [I] [etc1] Broadcasting job 00000002
[2023-02-01 14:39:35.0212] [I] [StatsRecorder] [etc1] Updating Statistics for pool
[2023-02-01 14:39:35.0852] [I] [StatsRecorder] Performing Stats GC
[2023-02-01 14:39:35.1398] [I] [StatsRecorder] [etc1] Reset performance stats for pool
[2023-02-01 14:39:35.1508] [I] [StatsRecorder] Stats GC complete
[2023-02-01 14:39:48.6614] [I] [etc1] New work at height 8105055 and header 0x54b2312392beaaf630bce265dd0f81581ee7375f83fd1bd32b5a709451d8b69e via [POLL]
[2023-02-01 14:39:48.6678] [I] [etc1] Broadcasting job 00000003
[2023-02-01 14:39:51.3906] [D] [etc1] Vardiff Idle Update pass begins
[2023-02-01 14:39:51.4000] [D] [etc1] Vardiff Idle Update pass ends

What's that sleep you're talking about?
From an operations perspective it often doesn't make sense to run geth and miningcore on the same host. And especially when you are deploying miningcore in a cloud environment like Kubernetes, AWS ECS or whatever fancy solution there is, having miningcore to generate that DAG at each start simply doesn't allow you to run miningcore at scale. This has been a thorn in my side for some time.

Yeah, hate to say it but MC's Dag always sucked 👎

Really need some consolidated feedback on this one as I currently lack the infrastructure to give the PR the thorough testing it deserves.

I run miningcore on docker swarm, on a ditributed architecture, and I used the light-cache branche of @jon4hz to deploy my etc-pool. It was a headache to setup a shared volume for the dag between nodes, and the fact was open-etc-pool was easier to deploy as it uses a light cache. With this feature, I can stick with miningcore :)

I haven't had time to give it a try, i'm under with my daily job sadly but i will definitely give it a go as soon as possible :)
@Censseo Even without that feature, i could not even think about using  etc-pool, i just can't stand the nodejs realm lol But very please to hear @jon4hz solution is working properly for you :rocket:

I can understand that but open-etc-pool is written in go 😂 anyway, so far so good, no error from the miningcore part since the launch of the pool, but still no block ^^'

I can understand that but open-etc-pool is written in go joy anyway, so far so good, no error from the miningcore part since the launch of the pool, but still no block ^^'

lol my bad, it's conceal which uses nodejs lol
Why are you not testing on ETC Mordor, it will be way more easy to find blocks and find issues lol Mainnet is really brutal, you will need lot of hash-rate power lol
I have been testing the code on Mordor and so far so good, i will continue and report if i meet any :+1:

I can understand that but open-etc-pool is written in go joy anyway, so far so good, no error from the miningcore part since the launch of the pool, but still no block ^^'

lol my bad, it's conceal which uses nodejs lol
Why are you not testing on ETC Mordor, it will be way more easy to find blocks and find issues lol Mainnet is really brutal, you will need lot of hash-rate power lol
I have been testing the code on Mordor and so far so good, i will continue and report if i meet any 👍

Sorry if I wasn't clear, I obsviouly tested on mordor before going to mainet 😂 I hate surprises in PROD haha
But yeah for the moment our hashrate is really low due to the low profitability of the coin here in France, and of the cost of electricity, so we might take time to take off in hashrate.

I have the ETC up and running. Tested it for 4 hours with 0.25 TH/S to see how it went. Got two blocks with no bugs or errors. The other thing I noticed was the payments were processing properly now as well.

I checked one ethash works but the ping jumps a lot, on my server the delay should be 12ms but with light cache min 18ms - max 35ms

Hmm that's odd. I can't think of anything I changed that would affect general latency.
How did you measure the latency? Simply icmp?

it's just looking in the miner

It would be interesting how the metrics compare. Only the output from the miner isn't really a reliable indicator because it also contains network latency, etc.

But generally speaking I think it makes sense that hashing takes a little longer. From what I understand, the light cache generates the required data on the fly while the full DAG has everything precalculated. A few ms should be ok imo but not too much :sweat_smile:.

this is all of course not very important all the same, it works fine, no need to wait for the dag generation.
I use https://github.com/sencha-dev/powkit in the open-ethereum-pool and there, at the first time, a solution is generated .powcache/cache-ETC-R23-067cd4150c639af0 about 54 mega bytes of them 2 and they are already being checked.

I had some spare time to run a few benchmarks and the results are quite interesting. First of all some disclosure: that was the first time I did some benchmarks on dotnet, so please take a look and correct me if I did any mistakes.
I tested the following things:

miningcore using a full dag
miningcore using a light cache only
go-etchash using a light cache (since this is what open-ethereum-pool, etc. does)

The fasted method (by far) was miningcore using the full dag. Miningcore with the light cache and go-etchash were slower, however the miningcore light cache implementation was slightly faster than go-etchash.
The table below shows the average time it took to calculate the hash.

As you can see, using the light cache is quite a bit slower than using the full dag. However this light cache implementation is still a bit faster than the implementation most ethereum pools use - at least the ones based on open-ethereum-pool.
When I was operating an ethereum pool, the dag generation was always extremely annoying, took ages on a single core and effectively prevent miningcore from horizontal scaling, because a new instance took ~30min to start up.
That's why I'd prefer having the light cache only, even if it means to sacrifice some performance.
What's your opinion on this?
And last but not least, what do you think about having both options in miningcore? It should be possible to add a config option, so the user can choose if they want to generate the full dag or only use the light cache depending on their needs.

Also tested this library suggested by @Konstantin35 and it's approximately the same as go-etchash.
Benchmark code
func BenchmarkLight(b *testing.B) {
	testHeight := uint64(60000)
	testHash := testutil.MustDecodeHex("5fc898f16035bf5ac9c6d9077ae1e3d5fc1ecc3c9fd5bee8bb00e810fdacbaa0")
	testNonce := uint64(0x50377003e5d830ca)

	client := NewEthereum()

	for i := 0; i < b.N; i++ {
		client.Compute(testHash, testHeight, testNonce)
	}
}

Result
goos: linux
goarch: amd64
pkg: github.com/sencha-dev/powkit/ethash
cpu: AMD Ryzen 9 5950X 16-Core Processor
BenchmarkLight
BenchmarkLight-32    	    1368	    892694 ns/op	   19222 B/op	     271 allocs/op
PASS
ok  	github.com/sencha-dev/powkit/ethash	1.317s

I think you should just let the user decides if he wants to use the full DAG or the light cache.
Having more options is always better on an usability stand-point.
In my case scenario for example: miningcore and nodes running on the same server, the nodes are just running on dedicated SSDs, the full DAG is just the perfect choice.
So i'm totally agree that miningcore should provides both choices :)

true, it depends of the infrastructure of the pool, some are just doing old good servers with node and pool on the same machine, so it can use the dag generated by the node.
Good job for the benchmark, I have to admit I was lazy to do it on the fly as I was committed on other things. Interesting results indeed, but I am rdy to let go some performance for the scaling, and I think these performances issues shouldn't be a pb for most unless getting in the top 3 pools with major workloads.

I think you should just let the user decides if she/he wants to use the full DAG or the light DAG. Having more options is always better on an usability stand-point. In my case scenario for example: miningcore and nodes running on the same server, the nodes are just running on dedicated SSDs, the full DAG is just the perfect choice. So i'm totally agree that miningcore should provide both choices :)

i went through this code and attempted some of my own tests.  I'm confused on how you get geth to generate the dag file without the geth node having to allocate a useless thread to start mining.

I think you should just let the user decides if she/he wants to use the full DAG or the light DAG. Having more options is always better on an usability stand-point. In my case scenario for example: miningcore and nodes running on the same server, the nodes are just running on dedicated SSDs, the full DAG is just the perfect choice. So i'm totally agree that miningcore should provide both choices :)

i went through this code and attempted some of my own tests. I'm confused on how you get geth to generate the dag file without the geth node having to allocate a useless thread to start mining.

It's because currently in production, i'm still using the old legacy ethash code from miningcore not the evolution from @jon4hz, which is working fine on my testnet environment so far.
But in my situation, minincore and geth running on the same server (nodes running on a dedicated ssd), the old code works just fine - https://github.com/oliverw/miningcore/discussions/1586 - geth actually generates the DAG files and i pointed the cache dir folder option to that location, miningcore does not generate the files since they already exist.

I think you should just let the user decides if she/he wants to use the full DAG or the light DAG. Having more options is always better on an usability stand-point. In my case scenario for example: miningcore and nodes running on the same server, the nodes are just running on dedicated SSDs, the full DAG is just the perfect choice. So i'm totally agree that miningcore should provide both choices :)

i went through this code and attempted some of my own tests. I'm confused on how you get geth to generate the dag file without the geth node having to allocate a useless thread to start mining.

It's because currently in production, i'm still using the old legacy ethash code from miningcore not the evolution from @jon4hz, which is working fine on my testnet environment so far.
But in my situation, miningcore and geth running on the same server (nodes running on a dedicated ssd), the old code works just fine - #1586 - geth actually generates the DAG files and i pointed the cache dir folder option to that location, miningcore does not generate the files since they already exist.

when you run geth, to get geth to generate the dag file you have to run miner.start(1). which wastes a cpu while the node attempts to cpu mine... unless you know another command that i do not know.

I think you should just let the user decides if she/he wants to use the full DAG or the light DAG. Having more options is always better on an usability stand-point. In my case scenario for example: miningcore and nodes running on the same server, the nodes are just running on dedicated SSDs, the full DAG is just the perfect choice. So i'm totally agree that miningcore should provide both choices :)

i went through this code and attempted some of my own tests. I'm confused on how you get geth to generate the dag file without the geth node having to allocate a useless thread to start mining.

It's because currently in production, i'm still using the old legacy ethash code from miningcore not the evolution from @jon4hz, which is working fine on my testnet environment so far.
But in my situation, miningcore and geth running on the same server (nodes running on a dedicated ssd), the old code works just fine - #1586 - geth actually generates the DAG files and i pointed the cache dir folder option to that location, miningcore does not generate the files since they already exist.

when you run geth, to get geth to generate the dag file you have to run miner.start(1). which wastes a cpu while the node attempts to cpu mine... unless you know another command that i do not know.

I just run the following command-line:
geth --mordor --config /home/ceedii/.ethereum/mordor.toml --http --mine --miner.threads 1 --unlock 0x421Afb2ce225D3A2d3DD6e63Fe57E124B40e20Af --password /home/ceedii/.ethereum/mordor/help/pool.password --allow-insecure-unlock --verbosity 4 --log.debug > /home/ceedii/.ethereum/mordor.log 2>&1

And my mordor.toml looks something like that:
# Note: this config doesn't contain the genesis block.

[Eth]
NetworkId = 1
SyncMode = "snap"
EthDiscoveryURLs =<EMAIL_ADDRESS>SnapDiscoveryURLs =<EMAIL_ADDRESS>NoPruning = false
NoPrefetch = false
TxLookupLimit = 2350000
LightPeers = 100
UltraLightFraction = 75
DatabaseCache = 512
DatabaseFreezer = ""
TrieCleanCache = 153
TrieCleanCacheJournal = "triecache"
TrieCleanCacheRejournal =<PHONE_NUMBER>000
TrieDirtyCache = 256
TrieTimeout =<PHONE_NUMBER>000
SnapshotCache = 102
Preimages = false
EnablePreimageRecording = false
EWASMInterpreter = ""
EVMInterpreter = ""
RPCGasCap = 50000000
RPCEVMTimeout =<PHONE_NUMBER>
RPCTxFeeCap = 1e+00

[Eth.Miner]
Etherbase = "0x421afb2ce225d3a2d3dd6e63fe57e124b40e20af"
GasFloor = 0
GasCeil = 30000000
GasPrice =<PHONE_NUMBER>
Recommit =<PHONE_NUMBER>
Noverify = false

[Eth.Ethash]
CacheDir = "etchash"
CachesInMem = 2
CachesOnDisk = 3
CachesLockMmap = false
DatasetDir = "/home/ceedii/.etchash"
DatasetsInMem = 1
DatasetsOnDisk = 2
DatasetsLockMmap = false
PowMode = 0
NotifyFull = false

[Eth.TxPool]
Locals = []
NoLocals = false
Journal = "transactions.rlp"
Rejournal =<PHONE_NUMBER>000
PriceLimit = 1
PriceBump = 10
AccountSlots = 16
GlobalSlots = 5120
AccountQueue = 64
GlobalQueue = 1024
Lifetime =<PHONE_NUMBER>0000

[Eth.GPO]
Blocks = 20
Percentile = 60
MaxHeaderHistory = 1024
MaxBlockHistory = 1024
MaxPrice =<PHONE_NUMBER>00
IgnorePrice = 2

[Node]
UserIdent = "0x421Afb2ce225D3A2d3DD6e63Fe57E124B40e20Af"
DataDir = "/home/ceedii/.ethereum/classic"
SmartCardDaemonPath = "/run/pcscd/pcscd.comm"
IPCPath = "geth.ipc"
HTTPHost = ""
HTTPPort = 8545
HTTPVirtualHosts = ["localhost"]
HTTPModules = ["net", "web3", "eth"]
AuthAddr = "localhost"
AuthPort = 8551
AuthVirtualHosts = ["localhost"]
WSHost = ""
WSPort = 8546
WSModules = ["net", "web3", "eth"]
GraphQLVirtualHosts = ["localhost"]

[Node.P2P]
MaxPeers = 25
NoDiscovery = false
BootstrapNodes = ["enode://942bf2f0754972391467765be1d98206926fc8ad0be8a49cd65e1730420c37fa63355bddb0ae5faa1d3505a2edcf8fad1cf00f3c179e244f047ec3a3ba5dacd7@<IP_ADDRESS>:30355", "enode://0b0e09d6756b672ac6a8b70895da4fb25090b939578935d4a897497ffaa205e019e068e1ae24ac10d52fa9b8ddb82840d5d990534201a4ad859ee12cb5c91e82@<IP_ADDRESS>:30365", "enode://b9e893ea9cb4537f4fed154233005ae61b441cd0ecd980136138c304fefac194c25a16b73dac05fc66a4198d0c15dd0f33af99b411882c68a019dfa6bb703b9d@<IP_ADDRESS>:30303"]
BootstrapNodesV5 = ["enode://942bf2f0754972391467765be1d98206926fc8ad0be8a49cd65e1730420c37fa63355bddb0ae5faa1d3505a2edcf8fad1cf00f3c179e244f047ec3a3ba5dacd7@<IP_ADDRESS>:30355", "enode://0b0e09d6756b672ac6a8b70895da4fb25090b939578935d4a897497ffaa205e019e068e1ae24ac10d52fa9b8ddb82840d5d990534201a4ad859ee12cb5c91e82@<IP_ADDRESS>:30365", "enode://b9e893ea9cb4537f4fed154233005ae61b441cd0ecd980136138c304fefac194c25a16b73dac05fc66a4198d0c15dd0f33af99b411882c68a019dfa6bb703b9d@<IP_ADDRESS>:30303"]
StaticNodes = []
TrustedNodes = []
ListenAddr = ":30303"
EnableMsgEvents = false

[Node.HTTPTimeouts]
ReadTimeout =<PHONE_NUMBER>0
WriteTimeout =<PHONE_NUMBER>0
IdleTimeout =<PHONE_NUMBER>00

[Metrics]
HTTP = "<IP_ADDRESS>"
Port = 6060
InfluxDBEndpoint = "http://localhost:8086"
InfluxDBDatabase = "geth"
InfluxDBUsername = "test"
InfluxDBPassword = "test"
InfluxDBTags = "host=localhost"
InfluxDBToken = "test"
InfluxDBBucket = "geth"
InfluxDBOrganization = "geth"

Starting the geth client with --mine.threads 1 starts the cpu mining on the node and you lose a cpu core to the process.  How disappointing.
Running 19 different stratums around the world, the latency for a submit hash to the light client, which then has to send it to a light server, which then has to put it on the chain for a 15 second block time seems  like a great way to get uncles.  I could be wrong.

Starting the geth client with --mine.threads 1 starts the cpu mining on the node and you lose a cpu core to the process. How disappointing.
Running 19 different stratums around the world, the latency for a submit hash to the light client, which then has to send it to a light server, which then has to put it on the chain for a 15 second block time seems like a great way to get uncles. I could be wrong.

Hey, i'm just describing a use case scenario here, i understand perfectly there are countless of different infrastructure out there lol
19 different stratums all around, what a "baller" you are :fire: :rocket:
Like i said before, i think both options should remain available in order to cover most case-scenarios as possible.

Starting the geth client with --mine.threads 1 starts the cpu mining on the node and you lose a cpu core to the process. How disappointing.
Running 19 different stratums around the world, the latency for a submit hash to the light client, which then has to send it to a light server, which then has to put it on the chain for a 15 second block time seems like a great way to get uncles. I could be wrong.

Hey, i'm just describing a use case scenario here, i understand perfectly there are countless of different infrastructure out there lol 19 different stratums all around, what a "baller" you are 🔥 🚀 Like i said before, i think both options should remain available in order to cover most case-scenarios as possible.

Sorry didn't mean for it to come across as an attack.  Not my intention at all.  Thank you sir for your suggestions... I agree with you both options should be set in the code.

Starting the geth client with --mine.threads 1 starts the cpu mining on the node and you lose a cpu core to the process. How disappointing.
Running 19 different stratums around the world, the latency for a submit hash to the light client, which then has to send it to a light server, which then has to put it on the chain for a 15 second block time seems like a great way to get uncles. I could be wrong.

Hey, i'm just describing a use case scenario here, i understand perfectly there are countless of different infrastructure out there lol 19 different stratums all around, what a "baller" you are fire rocket Like i said before, i think both options should remain available in order to cover most case-scenarios as possible.

Sorry didn't mean for it to come across as an attack. Not my intention at all. Thank you sir for your suggestions... I agree with you both options should be set in the code.

No worry, it's all good. Have a great week ahead :+1:

Well bad news for me with that PR in core-geth: https://github.com/etclabscore/core-geth/pull/499. I will not be able to enjoy the DAG files generated by geth anymore, since that commit - https://github.com/etclabscore/core-geth/pull/499/files#diff-81dd4f9d1a46a485d74affabbf00bcc61fd98a44bcf785a57d59d87ce50ddb93 - changes the DAG file naming, which no longer match the naming inside miningcore. So miningcore will always regenerate the DAG files for core-geth > 1.12.8


Update europe.json

Previously, when a mouseover event occurs over the Sovereign Countries Spain, France and Italy, the islands of those countries were not considered part of those countries as a whole.
Therefore, the europe.json file has been modified accordingly in order to makes it working in the proper way.

It is great going to merge it, something to take into account when raising PR against David's repo, I would add in the PR description, the lines of the JSON that you have updated and why this would help a lot to speed up that review


Epoll.isAvailable() must return false if sun.misc.Unsafe is not present.

Motivation:
Currently our epoll native transport requires sun.misc.Unsafe and so we need to take this into account for Epoll.isAvailable().
Modifications:
Take into account if sun.misc.Unsafe is present.
Result:
Only return true for Epoll.isAvailable() if sun.misc.Unsafe is present.

@nmittler @Scottmitch PTAL

what linux platforms don't support unsafe? android?

For example if a SecurityManager is used

Am 05.02.2016 um 23:21 schrieb Scott Mitchell<EMAIL_ADDRESS>what linux platforms don't support unsafe? android?
—
Reply to this email directly or view it on GitHub.

I see lgtm

Cherry-picked into 4.0 (5e9611281186a4b5400dc2deea97f10b94867fa4) and 4.1 (f10d66b45e6152f51879c7a6a7bc7f464a2172e4)


Add manifest for WinSCP v5.17.5

Adds WinSCP (v5.17.5)
WinSCP is an open source free SFTP client, FTP client, WebDAV client, S3 client and SCP client for Windows. Its main function is file transfer between a local and a remote computer. Beyond this, WinSCP offers scripting and basic file manager functionality.
Microsoft Reviewers: Open in CodeFlow

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

To whoever looks at this from @microsoft, it would be worth updating the instructions.  Some issues I ran into:

When running the manifest creation tool, it apparently set a weird encoding which caused Git to think my yaml file was binary.  I had to manually convert to UTF-8 via an editor.
It seems the silent and silentwithprogress flags are required to get the validation to pass, alough I had to figure that out for myself because it's not documented or included in the generator tool.
It seems that the installer pulled from the CDN was not downloading properly.  I'm not sure if this is an issue with not following redirects or maybe the host blocking the Azure pipeline IP as an anti-spam effort.  Some additional insight would be great for debugging.

I eventually got it all working but as you can see from my commit history it took several tries.  Hope this feedback can help others!


Feature/history

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Rendering has stopped. Normalized result is not a number

On my desktop application of CesiumJs and in the Sandcastle i run into the same problem:
When moving the camera beneath the earth surface (to watch geological subsurface layers) the rendering stops at at irregular intervals and the app crashes. I have attached a Screenshot of the error in an empty sandcastel. It is the same error report (except that my cesium is stored in node_modules). I am using in my app CesiumJs in Version 1.54, the same as in the Sandcastle.
Error Messaage on screen in the Sandcastle (and in my application):

In the latest Firefox the App just stops without any message.
Sandcastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/
Browser: Chrome 72.0.3626.109 (Official Build) (64-Bit)
Operating System: Linux Mint 19

I believe this is the same issue as https://github.com/AnalyticalGraphicsInc/cesium/issues/6783

Closing as duplicate of #6783


Provide \addmathfontfeature, \mathfontspec etc

Description
In fontspec package, one can use \addfontfeature to add features for a loaded font, and can use \fontspec to specify a font in the document. Could you please consider to add the commands for math font, e.g. \addmathfontfeature and \mathfontspec etc.?
At present, to use different math font or different features, we must use mathversion, which is not convenient.
Check/indicate

[x] Relevant for XeTeX
[x] Relevant for LuaTeX
[ ] Issue tracker has been searched for similar issues?
[ ] Links to <tex.stackexchange.com> discussion if appropriate

Minimal example demonstrating the issue
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{XITS Math}
\begin{document}
% This formula is in XITS Math
\[ a = b \]

% This formula is in Latin Modern Math
{\mathfontspec{Latin Modern Math} \[ a = b \]}

% This formula is in XITS Math with upright integrals (ss08)
{\addmathfontfeature{StylisticSet=8} \[ a = b \]}
\end{document}

Further details

Hmm, I’m not sure about this.
For sure I need to improve the interfaces here, but changing maths font mid-document is a very “heavy” operation and I don’t want to encourage it (in fact, LaTeX is not in any way designed for this, and it’s a bit of a hack that I made it work in unicode-math at all).
OTOH if there are particular use cases (like switching integral style?) maybe there are other ways to accommodate this so I’ll leave the issue open.


Java: Arguably the King of Programming Languages but is it the Best Language for Artificial Intelligence Projects?

Proposed title of article
Java: Arguably the King of Programming Languages but is it the Best Language for Artificial Intelligence Projects?
Introduction paragraph (2-3 paragraphs):
A single, individual language for artificial intelligence has not been invented yet. Nevertheless, developers achieve great results using existing tools.
In many use cases, Java can be named the best language for AI projects. In general, it is one of the most loved and commonly used by programmers languages. If we take Java artificial intelligence programming, it is mostly used to create machine learning solutions, neural networks, search algorithms, genetic programming, and multi-robot systems.
But, how is Java used in AI and what benefits can Java bring to Artificial Intelligence solutions. This article will provide you with an answer to help your queries.
Key takeaways:

How Java is used in AI
Why develop AI in Java?
Java compared to other Artificial Intelligence programming languages

References:
Please list links to any published content/research that you intend to use to support/guide this article.
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@BridgetMwikali
Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours.
Brining in our resident ML/AI expert for more insight @lalith1403

Hello, @jamesomina99.This article is a super helpful and important topic. This article will be putting forward your opinions about why Java is a good language for AI. Make sure to base it with relevant facts and mention any references or proofs required to validate the statements. This should be exciting to read. Topic approved :)

Closed #3128 via #3641


Roadmap to 1.0?

There are only two packages that are required in order to implement the MLJ interface: ScientificTypes.jl and MLJModelInterface.jl.
We now have a 1.0 release of ScientificTypes.jl. 🎉
Would it be feasible to make a 1.0 release of MLJModelInterface?

There are several experimental APIs, but I think it is fine to make breaking changes to an experimental API in a non-breaking release.
See my comment here: https://github.com/alan-turing-institute/MLJ.jl/pull/648#issuecomment-683360181

Yeah, I think once https://github.com/alan-turing-institute/MLJModels.jl/issues/355 is sorted, we could move to 1.0.

Yeah, I think once https://github.com/alan-turing-institute/MLJModels.jl/issues/355 is sorted, we could move to 1.0.

Bump @ablaom @tlienart


Ensure updated_since is a ISO 8601 formatted string

With hours and minutes in the string passed in as 24 hours before today (with minutes e.t.c.)
This caused a response error about an invalidate date format. This no longer happens with this
$date->add(DateInterval::createFromDateString('yesterday'));
echo $date->format('F j, Y') . "\n";
$timeEntries = $client->timeEntries()->all(['updated_since' =>  $date]);

Thank you @stewsnooze, sorry it took a while for someone to get back to you!


[BOT PR] to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: istio-testing
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
If they are not already assigned, you can assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
c17946aece9b1bc757766ecb7b9fb6decf985bfd
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
c17946aece9b1bc757766ecb7b9fb6decf985bfd
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
c17946aece9b1bc757766ecb7b9fb6decf985bfd
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Helpers are still referenced in README and examples

About this issue
In the README of this repo, and in the linked examples, there are references to and usages of helper classes (e.g.: ActionModeHelper) which are not present anymore in the core of this library (e.g.: com.mikepenz.fastadapter.helpers.ActionModeHelper is missing). This should be updated as it could be misleading for potential users.
Besides, what's the provided alternative to those helper classes?
Details

[5.3.2 ] Used library version

@readbeard the helper still exists as part of the utils extension. https://github.com/mikepenz/FastAdapter/blob/develop/library-extensions-utils/src/main/java/com/mikepenz/fastadapter/helpers/ActionModeHelper.kt
it's noted in the dependencies section as a possible addon: https://github.com/mikepenz/FastAdapter#provide-the-gradle-dependency
If you have suggestions to improve the README please feel free to help make the project better by opening a PR please :)


feat: vite config postcss support exclude option

Description

Additional context
Vite config postcss supports exclude options.
Just like loader in webpack, developers can use the exclude option to filter the file which they don't want to process. Something like that:
{
    test: SOMEREG,
    use: ['someLoader'],
    exclude: The exclude function
}

postcss config in vite can also be written by this pattern:
//vite config
{
    ...
    css: {
        ...
        postcss: {
          plugins: ['some postcss plugins'],
          exclude: The exclude function
        },
        ...
    },
    ...
}

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Is there anyone can help me check this pr plz? If there is any problem, please concat me anytime~

Can you explain your usecase for this feature? We don't have a lot of filters setup for our features, e.g. .json, .css, .png (only assetsInclude). I'd imagine if we start with postcss, users would also want for the others, especially preprocessors.
Could your CSS be move to public/ instead too so it's not processed?

Can you explain your usecase for this feature? We don't have a lot of filters setup for our features, e.g. .json, .css, .png (only assetsInclude). I'd imagine if we start with postcss, users would also want for the others, especially preprocessors.
Could your CSS be move to public/ instead too so it's not processed?

Sometimes when a project introduces a third-party component library, there will be some css that has been processed. In some cases, you don’t want to postcss them.
Adding this configuration item can make our project configuration more flexible.
Although many features do not have the filter function yet, I personally think that these functions can be gradually improved through the power of the community. Maybe we can start with the postcss feature?

Thanks for the explanation. I think that make sense especially for postcss as it's transpiling CSS, while preprocessors are compiling to CSS. This reminds of https://github.com/vitejs/vite/issues/4653 which a file parameter can be used to conditionally apply certain postcss plugins (but however that's inefficient).
I'll put this on the team board in case we want to properly pick an API to support this case.

Thanks for the explanation. I think that make sense especially for postcss as it's transpiling CSS, while preprocessors are compiling to CSS. This reminds of #4653 which a file parameter can be used to conditionally apply certain postcss plugins (but however that's inefficient).
I'll put this on the team board in case we want to properly pick an API to support this case.

Thank you for taking it seriously! In fact, I'm a contributor to the taro community. We recently planned to adapt a new compilation mode for our framework for developers to choose, and we chose vite. This feature is very important to us, if it can be merged, then we will be very grateful~

Thanks for the explanation. I think that make sense especially for postcss as it's transpiling CSS, while preprocessors are compiling to CSS. This reminds of #4653 which a file parameter can be used to conditionally apply certain postcss plugins (but however that's inefficient).
I'll put this on the team board in case we want to properly pick an API to support this case.

By the way, not all the postcss plugins have the parameter to filter the files~


Add seccomp default feature blog post

This adds the blog post about the new Kubernetes SeccompDefault alpha feature.
/hold
cc @pi-victor @pmmalinov01 @ashnehete @carlisia @chrisnegus @ritpanjw
Todo

[x] Adjust publishing date

Looks good to review and I don't see a need for a hold (the article is future dated, to a date after the scheduled release).
/hold cancel

Any more feedback or is this OK for LGTM?

i gave this a read way back, LGTM from my side

Hi. Here's some feedback. It's fine to ship this without addressing the style nits I'm mentioning in this review.

Thank you! I addressed all of the review comments.

Once nits are resolved, please reapply lgtm ahead of August 20 publication. Thank you!

All the nits are resolved rn. Can we have apply lgtm on this?

@sftim PTAL

/sig node
/sig security

LGTM (also from https://github.com/kubernetes/website/pull/28951#issuecomment-888525651)
I'd like an accuracy signoff from either SIG Node or SIG Security.

Article preview

@saschagrunert this is a great feature spotlight blog post overall. Thank you for writing this :)
Just added one comment requesting to clarify how this works with privileged containers. Rest seems good!
/sig security

/hold
Publication is due tomorrow and reviews are not yet in place.
If this article goes past the publication date, we should pick a new date, update the article to match that, check all is good, and then remove this hold.

From my point of view the open discussion point has been resolved. Are we good to merge?

@saschagrunert can you point to a signoff that confirms what this PR is saying is technically correct? If that were available, I'd be happy to approve it right away.

@PushkarJ are you willing to add /lgtm here?

@saschagrunert can you point to a signoff that confirms what this PR is saying is technically correct? If that were available, I'd be happy to approve it right away.

I only have source code, container runtimes basically do nothing on privileged containers:
https://github.com/containerd/containerd/blob/cf600abecc27200a3c0e1415cd1f6c325eb05edf/pkg/cri/server/container_create_linux.go#L424
CRI-O behaves in the same way.

From the blog team's perspective, we're looking for a subject matter expert (or someone who is expert enough) to check technical accuracy. SIG Docs can't promise to have the skills for this.

@PushkarJ added the changes. Thank you for the review, PTAL again.
@sftim do you have any suggestion on a new date?

Thank you @saschagrunert for patiently resolving all the comments. Looking forward to this blog post and more people using the feature as a result of that :)
/lgtm

/hold cancel
/approve
borrowing LGTM from https://github.com/kubernetes/website/pull/28951#issuecomment-903934946
/lgtm


Files Changed by Salt States Have 6-digit Random alphanumeric appended to path

This is the from the returner on two different hosts:
...
'change': 'IN_MODIFY',
 'name': 'remove_old_docker_containers_and_imagessDbKBk',
 'path': '/usr/local/bin/remove_old_docker_containers_and_imagessDbKBk',
...

and
...
'change': 'IN_MODIFY'
 'name': 'remove_old_docker_containers_and_imagessDbKBk',
 'path': '/usr/local/bin/remove_old_docker_containers_and_imagessDbKBk',
...

The actual file name does not include these characters.  And, I modify a file manually I don't see this behavior.  Any clue what's going on with that?

I wonder if salt is making tempfiles and moving them into place maybe? Not sure, this is definitely odd.

This issue was moved to hubblestack/hubble-salt#26


fix index for mesh colors

Fix the calculation to determine the index for the colors attribute of mesh structure

Thanks for the fix


MHC support preparation

In preparation for supporting MachineHealthChecks I added a MHC reconciler, and refactored the current MHC Checker (which prevents conflicts between NHC and MHC) to update its status triggered by that reconciler, instead of polling MHCs for every NHC reconcile.
This has no new funtionality yet. The actual remediation based on MHCs will follow in a separate PR. I hope this makes reviews easier.

LGTM Just holding for @beekhof  review, feel free to unhold
/hold
/lgtm

/hold cancel


How to reset the admin password?

Describe the bug
After updating to the latest version of langflow, I was asked to use a username and password to login. However I don't set the password or created any user. How should I create a new user or reset the admin password?
Additional context
I used docker compose to deploy langflow

langflow superuser is what you're looking for;
by the way, you should also change the startup command to langflow run (instead of langflow).

Yes, but maybe not necessary.
Since you seen the login interface, the startup command should be correct.
Use docker exec -it {your langflow container} langflow superuser to create an admin account and you're ready to go.

Yes, but maybe not necessary. Since you seen the login interface, the startup command should be correct. Use docker exec -it {your langflow container} langflow superuser to create an admin account and you're ready to go.

Thank you, problem solved. It was that I couldn't find commands like "superuser". Is there a documentation as such?

Also, in case you are running the frontend/backend locally without docker, you can run the backend command:
% cd langflow/
% make backend
# then kill it once then:
% poetry run langflow superuser
% make backend
# now login with the new super user and password you created

there appears to be no documentation for this anywhere.


Update registry to point it at the right namespace

This udpates the registry in the cico_build_deploy.sh script so that we push to the right namespace/image:tag to ensure we don't overwrite the almighty stuff

Can one of the admins verify this patch?

ok to [test]


After update to new version, I cannot save the package - receive the error "in use"

Hi! Thanks for reporting this feature/bug/question!
Please keep / fill in the relevant info from this template so that we can help you as best as possible.
Bug
Version: <IP_ADDRESS>
Installed from: ClickOnce as update for prev.version
When trying to Open and save (even without changes) same nuget package, I am receiving the following error:
Error message:
NuGet Package Explorer
The process cannot access the file 'C:\projects\logger\Nuget Packages\eToro.Logger.1.3.3.nupkg' because it is being used by another process.
OK
This version of nuget package was created and successfully saved and updated with prev. version of nuget package manager.

Thanks for the report. This is a duplicate of https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/97
Had no time to fix it.


[parser] '@available' attributes written in code should not be 'implicit'

'implicit' implies it was not written by the user. This was preventing printing '@available'
for interfaces of Swift code (e.g. from overlays).
rdar://35778715

@swift-ci smoke test and merge

@swift-ci smoke test linux platform


OP Long creeping with lead car stopped

Describe the bug
When lead car comes to a stop, OP seems to react and come to a stop, but then start to creep forward even when lead car doesn't move. This happens almost every complete stop, regardless of the scene.
What hardware does this issue affect?
comma three
Provide a route where the issue occurs
f1055ddb93ff2d3b|2022-02-28--17-15-08--9
openpilot version
49eb4fb776c0199153b8bf9e274199090c0cb291
Additional info
Additionally, I am on OP long on Honda Bosch. I understand this is experimental, so let me know if this is something that should be resolved with E2E.
I can also get more segments if required.
It appeared that this was being looked into here, however I tried these changes and still experienced the issue. https://github.com/commaai/openpilot/pull/23838

The issue could also come from vision only longitudinal, the lead distances/speeds aren't always self consistent for stopped cars. Closing this issue since it's not expected to work right now.


V2.6.3 - MariaDB failing to install

fix wrong MariaDB binary url

Can you elaborate on the error that you were seeing that motivated this change?
Also, a minor nitpick; we should parametrize the url's by uname instead of hard-coding the architecture.

Hi @mayushko26,
the issue that motivates the change came from this issue, as of 2 weeks ago while I was setting up the repository on my local machine, I cannot build the docker container and downloading the binary for mariadb directly from the dlm.mariadb.com also results in connection time out.
https://github.com/aws/aws-mwaa-local-runner/issues/406
which I check as of today I can build the container image just fine using the dlm.mariadb.com, so the issue seems intermittent.
What do you think? is moving the source from the dlm.mariadb.com to archive.mariadb.org a good idea? as I have found another thread (attached on the issues link that also has problems with the dlm.mariadb.com, as for different reason)

This ticket is related: https://github.com/aws/aws-mwaa-local-runner/pull/419
While that may have resolved it for some architectures, I believe it remains broken for others.
A workaround is to comment out all sections mentioning mariadb in bootstrap.sh, but I expect you'll be out of luck if you need apache-airflow-providers-mysql.
Error
182.0 + sudo mkdir mariadb_rpm
182.0 + sudo chown airflow /mariadb_rpm
182.0 ++ uname -p
182.0 + [[ x86_64 == \a\a\r\c\h\6\4 ]]
182.0 ++ uname -p
182.0 + wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm -P /mariadb_rpm
182.0 --2024-12-05 20:58:27--  https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm
182.1 Resolving mirror.mariadb.org (mirror.mariadb.org)... <IP_ADDRESS>, 2a01:4f8:1c17:e53d::1
182.3 Connecting to mirror.mariadb.org (mirror.mariadb.org)|<IP_ADDRESS>|:443... connected.
182.7 HTTP request sent, awaiting response... 302 Found
182.9 Location: https://mirror.nodesdirect.com/mariadb/mariadb-11.4.4/yum/fedora/38/x86_64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm [following]
182.9 --2024-12-05 20:58:28--  https://mirror.nodesdirect.com/mariadb/mariadb-11.4.4/yum/fedora/38/x86_64/rpms/MariaDB-common-11.4.2-1.fc38.x86_64.rpm
182.9 Resolving mirror.nodesdirect.com (mirror.nodesdirect.com)... <IP_ADDRESS>
183.5 Connecting to mirror.nodesdirect.com (mirror.nodesdirect.com)|<IP_ADDRESS>|:443... connected.
204.5 GnuTLS: The TLS connection was non-properly terminated.
204.5 Unable to establish SSL connection.
------
Dockerfile:35
--------------------
  33 |
  34 |     RUN chmod u+x /systemlibs.sh && /systemlibs.sh
  35 | >>> RUN chmod u+x /bootstrap.sh && /bootstrap.sh
  36 |     RUN chmod u+x /generate_key.sh && /generate_key.sh
  37 |     RUN chmod u+x /run-startup.sh
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh" did not complete successfully: exit code: 4


Fix #10: Actually check the $type is supported by CustomNormalizer.

Fix #10 (Error : Typed property MyEntity::$name must not be accessed before initialization)

Thank you for the report and fix.


CI/CD Creation Ticket

@Pyatakov @danielnorkin @anvabr To further Scope Out this ticket based on our Sprint Grooming Session today, 11/24. This ticket goes hand in hand with Issue#40
Need to Add DOD and Acceptance Criteria.

Duplicate of #116?


js-modern-calendar

Error - [tsc] src/webparts/modernCalendar/ModernCalendarWebPart.ts(17,25): error TS2307: Cannot find module 'jquery'.
[23:35:05] Error - [tsc] src/webparts/modernCalendar/ModernCalendarWebPart.ts(19,25): error TS2307: Cannot find module 'moment'.
[23:35:05] Error - [tsc] src/webparts/modernCalendar/ModernCalendarWebPart.ts(20,24): error TS2307: Cannot find module 'sweetalert2'.
[23:35:05] Error - [tsc] src/webparts/modernCalendar/ModernCalendarWebPart.ts(29,48): error TS2307: Cannot find module 'fullcalendar'.
[23:35:05] Error - [tsc] src/webparts/modernCalendar/ModernCalendarWebPart.ts(30,33): error TS2307: Cannot find module 'fullcalendar/View'.
[23:35:05] Error - 'tsc' sub task errored after 19 s
exited with code 2

@sadanandKr did you tried to install it manually? or maybe they are not imported in ModernCalendarWebPart.ts file? very little information to efficiently help you out :(


Add impulse dynamics algorithm

Coverage increased (+0.2%) to 73.695% when pulling 59bbf5ec2bea66c34a3b8278fea8db39448e7200 on jcarpent:devel into ef07952b0a3ec5b142e69d876511d8e7fee18d28 on stack-of-tasks:devel.


Unable to apply RBAC with multicluster installs

After I install istio with same steps as either
https://istio.io/docs/examples/multicluster/gke/
or
https://istio.io/docs/setup/kubernetes/install/multicluster/gateways/
RBAC authorization will work when servicerolebinding has

user: "*"
but not when it has
user: "cluster.local/ns/default/sa/service-account-name"
After applyig an authorization, I still receive access denied.

Tested with Istio 1.1.2 in GKE cluster 1.12.
I posted in
https://discuss.istio.io/t/unable-to-apply-auth-to-service-accounts/1990/8
My install is like setup-istio-all-gw in https://github.com/fnature/istio/blob/master/setup-clusters.sh
In comparison, I have no issue when installing istio based on
https://istio.io/docs/setup/kubernetes/install/kubernetes/
Am I missing something here to have RBAC working with the multicluster based installs ?
my goal is to have RBAC with multicluster ..

any ideas ?

Please see my reply in https://discuss.istio.io/t/unable-to-apply-auth-to-service-accounts/1990/11
I suspect the mTLS is not used between your 2 clusters that's why the user: "cluster.local/ns/default/sa/service-account-name" doesn't work, as there is no certificate to provide the identity in this case.

Issue resolved after enabling mTLS.
mTLS is not enabled by default in multicluster installation steps.


chore: :wrench: Fix installation instructions for wordpress

auth.json file should be configured before to start the stack, not after the docker has starter

@kuuak I agree with @hsmio. I tried to detail this step on the Notion on how to setup a new project (https://www.notion.so/superhuit/Setup-a-new-project-v3-82ae74700ef843d5a0c1608dec76807d?pvs=4#f43e7822c8c74d0fb7def2a4656205b4) so we still have the infos. We can probably improve this documentation for when starting Superstack project locally

👍 Good point. We then include this only for specific projects


Softlocks discord after sending any file.

after clicking reload, it throws an error again.

I don't have any issues. Make sure both the plugin and Discord is fully-updated. If it still doesn't work, tell me all of your version info as well as the size of the file you were trying to upload.


Initial Release (0.1.0)

This PR adds an initial version of the mosaic package for plotting unstructured MPAS data on it's native mesh. Horizontal plotting is supported at cells, edges, and vertices. Basic package functionality / configuration, but much more will be added soon (e.g. docs, tests).
As a temporary substitute for documentation, the README.md contains developer installation instructions and a minimal working example of plotting on the native meshes.

@andrewdnolan, you should have permission to merge this yourself.  Feel free to do so when you're ready.  After that, tag a release:

I like to list the PRs that are included in a new release and mention the folks involved.  See this example:
https://github.com/MPAS-Dev/MPAS-Tools/releases/tag/0.34.0

When you create a release, the title can be whatever you like.  Charlie Zender gives his releases of NCO creative names:
https://github.com/nco/nco/releases
The tag should just be numbers, i.e. 0.1.0, not v0.1.0.  Some packages put a v in front but that isn't really correct, see:
https://semver.org/#is-v123-a-semantic-version


Mapping by using the RT3000

I'm beginner of the ROS and Autoware.
I make the MAP by using only Lidar, VLP-16.
To synchronize the GPS data and Lidar MAP, I want to use the RT3003 through CAN communication, and
Autoware SW is installed in Laptop PC - Ubuntu 16.04 - Kvaser USB-CAN card.
I saw the YouTube video by using different GPS receiver.
In order to receive GPS position data of RT30003 through CAN comm., how/where can I edit source code and compile ?
It is a totally beginner question.
Please tell me the solution or method/hints to achieve my goal.
Thank you ^^

@Moon-sik Autoware does not support RT3003 through CAN communication now. If you want to use GPS data collected by RT3003 in Autoware, you need to implement the node to convert the can messages into ROS message. The data have to be published in the nmea_msgs/Sentence or sensor_msgs/NavSatFix format.


Userid Management Options › Saved Records page design

Things this page should consider:

Users should be be able to bulk unsave records

The Missing Page error when Saving Search  from Search Results page is fixed and ready for testing in test3


[cli] Command run-android unrecognized.

I'm following the quick start guide to create a RN app, but got the error message:
Command `run-android` unrecognized. Did you mean to run this inside a react-native project?

and the command react-native android is also unrecognized.
Environment:

node v4.0.0 (npm v2.14.2)
RN v0.11.0

thank you eact-native run-android was fine

same issues happens to me also

same issues happens to me also

copy directory "node_modules" to my project fixed.
you can find "node_modules" in demo project.
so i guess we should run "react-native init" or "react-native android" first.

Did you change to your app's folder? Just updated the Getting Started guide to make this clearer:
https://github.com/facebook/react-native/blob/master/docs/GettingStarted.md

i don't think what you have updated is useful to this issue
https://github.com/facebook/react-native/commit/a0ccebc460b42ae2b2517f2118ca0cbfe00d6e98#diff-c427a522f4ea08a4c045a518ac721ce9

Thanks @pcqpcq,  changing directory did fix my problem.

If you are using a version of react-native-cli less than 0.12, any error will get swallowed and you'll see the error "Command run-android unrecognized", regardless of what the actual error is. In my case, I was running the command from the correct directory, but lodash had somehow gotten into a corrupt state. Doing npm uninstall lodash and npm install lodash fixed the problem for me.
The react-native-cli in v0.12.0-rc will not squash errors: https://github.com/facebook/react-native/commit/373c8777f6bad3a935089bd4c59bf2e15896de63.
What I did was hack my installed version of react-native-cli (found using which react-native) so that the error is logged to the console.

Command run-android unrecognized. Did you mean to run this inside a react-native project?
Getting same issue i have tried all possible stuff but still doesn't working

Im getting same thing... it's on an existing project that I just did a fresh npm install on. It worked before, so maybe an updated package broke it?

Had the same issue, it turned out I did not have /node_modules directory inside.
Runningnpm install solved the problem.

miss node_modules  directory

I am learning react native and Trying to run this project https://github.com/FaridSafi/react-native-gifted-messenger
but all the time getting the error
gathole$ react-native run-android
Command `run-android` unrecognized. Did you mean to run this inside a react-native project?

Can someone please help me out to run this project

yep  "npm install"  fix the problem

try react-native android instead of react-native run-android

same issues happens to me also

@vhrv Did you try 'npm install' and after that 'react-native run-android' ? Same issues for me and this, fix the problem. Maybe be patient, because 'npm install' was a bit long !

App is not getting the path of android-sdk, so If you are using  linux (ubuntu), than you need to add a fine named "local.properties" and save it inside the android folder, which is created inside your app folder.
You need to add below line inside local.properties file, which is the path of your android-sdk lies inside your system inside system in order to run the app.
sdk.dir=/opt/android-sdk/
save and rerun the command react-native run-android

I was receiving the error:
  Unrecognized command 'run-andriod'
I followed this guide but I put the line:
# If you installed the SDK via Homebrew, otherwise ~/Library/Android/sdk
export ANDROID_HOME=/usr/local/opt/android-sdk

in my .bash-profile file. When I put it in .bashrc file (and restarted terminal) the command react-native run-andriod worked.

I am was outside the project while running 'run-android' command. I just navigated to to project by below command:
cd AwesomPoject
And then run the command. It worked like a charm.

Are you sure that the correct directory? Look at directory of project.

So, I still can't get it to run... I'm trying to bootstrap it from a Docker image https://github.com/MaximeD/docker-react-native#get-image
dev@kauai:~/app$ echo $ANDROID_HOME
/usr/local/android-sdk-linux

dev@kauai:~/app$ react-native run-android
Scanning 2 folders for symlinks in /home/dev/app/node_modules (0ms)
Android project not found. Maybe run react-native android first?
dev@kauai:~/app$ react-native android
Scanning 2 folders for symlinks in /home/dev/app/node_modules (0ms)

  Unrecognized command 'android'
  Run react-native --help to see list of all available commands

However, I do have the command android...
dev@kauai:~/app$ which android
/usr/local/android-sdk-linux/tools/android

dev@kauai:~/app$ android version
Error: Expected verb after global parameters but found 'version' instead.

       Usage:
       android [global options] action [action options]
       Global options:
  -h --help       : Help on a specific command.
  -v --verbose    : Verbose mode, shows errors, warnings and all messages.
     --clear-cache: Clear the SDK Manager repository manifest cache.
  -s --silent     : Silent mode, shows errors only.
...
...

ok if you have configured your project or machine with yarn and used npm install in your project than your project will break with the same error.
solution - delete node_module flder
than use yarn install followed by react-native run-android

@manjeets12 exactly, my issue is that I had used npm install.
Just running yarn install fixed the error for me.

Had the same issue but then i came across this solution to run yarn add react-native-cli.

Hay Gays i tried to run  react-native run-android
but my terminal told me to install npm so i did that but it give me the following Error --
C:\Users\MohamedSaeed>cd AwesomeProject
C:\Users\MohamedSaeed\AwesomeProject>react-native run-android
Command run-android unrecognized.
C:\Users\MohamedSaeed\AwesomeProject>react-native android
Command android unrecognized.
 Windows_NT 6.2.9200
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code ENOGIT
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\MohamedSaeed\AwesomeProject\npm-debug.log
C:\Users\MohamedSaeed\AwesomeProject>

use yarn instead of npm

using just Yarn command fixes it but unfortunately i have to do it always when i run the emulator and it takes time!

@doukasd Thank you

I am the same issue that all...
I'm on the correct directory (root of my project, the node_modules folder is here).
I added the export in my bashrc
I deleted the node_modules folder and I used yarn install and run "react-native run-android" and "react-native android" ...

npm uninstall lodash and npm install lodash fixed the problem for me

make sure about the android studio or other emulator be opened, when execute this common:
react-native run-android


I cannot apply the optionset to more than 3 columns

Is there a way to change the property of dataset to accommodate more columns... right now it allows only 3

You need the 3 columns only if you want to customize them differently.
If you don't specify any column at all, all the columns in the view will apply the default icon / display mode and will use the colors defined in each optionset column (choice).
Does this solve you issue?

Hello Diana,
Thank you for the reply, it works.  I mis-understood the customization.
Regards,
Priya
From: Diana Birkelbach @.>
Sent: August 12, 2022 1:16 PM
To: brasov2de/ColorfulOptionsetGrid @.>
Cc: Telkar, Priya J @.>; Author @.>
Subject: [EXTERNAL] Re: [brasov2de/ColorfulOptionsetGrid] I cannot apply the optionset to more than 3 columns (Issue #26)
You need the 3 columns only if you want to customize them differently.
If you don't specify any column at all, all the columns in the view will apply the default icon / display mode and will use the colors defined in each optionset column (choice).
Does this solve you issue?
—
Reply to this email directly, view it on GitHubhttps://github.com/brasov2de/ColorfulOptionsetGrid/issues/26#issuecomment-1212828536, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2PGCS5V4RMKC3UGOUSI7ZLVYX6NFANCNFSM56HCOTDQ.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


Improve polling interval

Make it configurable?
Set it to less than 500ms?

Interval decreased to 200ms: https://github.com/voidblaster/reloaded-vibes/commit/83d03e23c179d825d533a3ba4a5e34a77f58a9d7#diff-2b0277bbe0f0dff71b3d7ca8304a433fR138


How to install / get on calculator

How do I get oriam on my calculator? I read the readme but the files are missing.

What? You just transfer them like any other program.

Sigh...
I could give you the link to this article but you would leave another issue "how to click Link"
Download and Install TI Connect CE
In order to send files to your calculator, you are going to need a piece of software called “TI Connect CE”. This software can be downloaded from the following page: TI Connect CE Software DownloadTI-Connect CE Software Screenshot
Download the Calculator Programs
Next up, we need to download the programs you would like to use on your calculator. For the TI-84 Plus CE, you can download math programs, games, and other hacks.CalcPlex TI-84 Plus CE Math Program Library
Ezoic
Extract the Files (if necessary)
Some program downloads come in the form of a .zip file. If this is the case, this means you need to extract the contents of the .zip before we can continue. To do this, open the .zip file and drag all of the files inside onto your Desktop. If the program instead comes in the form of a .8xg or a .8xp file, skip this step!Extracting files from the zip
Send the Program to Your Calculator
Open the TI Connect CE software that you installed earlier. On the sidebar, click on the second option down (the one below the camera), and connect your calculator to your computer using the charging cable. Make sure that your calculator is turned on, and then drag the file(s) into TI Connect CE. Click “SEND”.Send the program using TI Connect CE
Launch the Program
Grab your TI-84 Plus CE calculator and press the “prgm” button. Select the program you would like to open and press enter. Press enter once more to launch it. That’s all there is to it! The program will load up on your calculator and be ready to use.Math program on a TI-84 Plus CE calculator
If everything went as shown, then the program should be installed and ready for use on your TI-84 Plus CE graphing calculator. Don’t forget to share this article with your friends, and have fun with your newfound calculator abilities!

trol warning


[TF-TRT] Change profile strategy for unit tests

The DynamicShapeModeCompatible profile strategy can lead to invalid optimization profiles for the converted TensorRT network. This PR replaces the now deprecated DynamicShapeModeCompatible strategy with a correct optimization strategy for unit tests.

According to TRT user guide: “The shapes defined by the optimization profile must define valid input shapes for the network."
The DynamicShapeModeCompatible strategy was always setting dim[0]=1 for the min profile, which created incorrect min shapes for matmul / einsum ops. While earlier TRT versions tolerated such invalid input, newer TRT versions fail to convert with such inconsistent input. PRs #57592 and #57851 addressed this problem for the converter, and the current PR fixes the unit tests.
cc @bixia1 @meena-at-work @DEKHTIARJonathan


Is [Entity] attribute required?

I'm migrating my models to EF Core and Detached. Do I still need the [Entity] attribute on my model classes or is it handled by EF Core?

No, you don't need to add it.
It is handled by this: https://github.com/leonardoporro/Detached-Mapper/blob/8ae250a52d8c30be1e81f9b87c69fd2b4e0f7e85/src/Detached.Mappers.EntityFramework/Conventions/EFConventions.cs#L21
You may add your own conventions too.

Good. Thanks.


NPE Spammed - Player Disconnect.

When a player leaves/disconnects when they're getting their reward (gui open/moving) the following NPE occurs.
https://pastebin.com/z1SpfcJs

Thanks I fixed that and it will be in the next update.


create-certs and copy-certs are unable to connect to k8s

When starting
./reg-tool.sh install-k8s-reg
The scripts stays in the 'Waiting for job to complete' phase indefinitely.
The logs of the create-certs-20cm2 pod show:
Error from server (Forbidden): User "system:serviceaccount:default:default" cannot delete secrets in the namespace "default". (delete secrets registry-cert)
Error from server (Forbidden): User "system:serviceaccount:default:default" cannot delete secrets in the namespace "kube-system". (delete secrets registry-cert)
Error from server (Forbidden): User "system:serviceaccount:default:default" cannot delete secrets in the namespace "kube-system". (delete secrets registry-key)
Generating a 4096 bit RSA private key
...................................++
.................++
writing new private key to 'certs/domain.key'
-----
Error from server (Forbidden): User "system:serviceaccount:default:default" cannot create secrets in the namespace "default". (post secrets)

If I could pass my ~/.kube/config file with authentication and certificates to the create_certs and copy_certs containers, the operation would succeed.

I´m also having this exact issue...

you can do it by hand..
openssl req -config /in.req -newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key -x509 -days 265 -out certs/ca.crt
in the /registry-tooling-master/images/create_certs directory
and then run from this dir :
kubectl create secret generic registry-cert --from-file=./certs/ca.crt
kubectl create --namespace=kube-system secret generic registry-cert --from-file=./certs/ca.crt
kubectl create --namespace=kube-system secret generic registry-key --from-file=./certs/domain.key
then it is installed.. ;)

add a comment on the following parts in the script:
echo "Creating new registry certificate"
#kubectl create -f k8s/create-certs.yaml
echo
echo -n "Waiting for job to complete"
#while [[ $(kubectl get job create-certs \
-o go-template --template "{{.status.succeeded}}") != 1 ]]
#do
sleep 1
echo -n "."
#done