run setup and teardown

Hi,
I have a promise setup and teardown function that I have to run. Any ideas how to do it?
Of course I can't do runsync as in .NET code.

    module End2End.Program

    open Fable.Mocha

    let allTests =
        testList "End2End tests" [
            SoundCheck.allTests
        ]

    promise {
        printfn "Init"
        do! TestHelper.init()

        Mocha.runTests allTests |> ignore

        printfn "Cleanup"
        do! TestHelper.cleanup()
        printfn "Done"
    }
    |> ignore

this seems to work. But is it the correct way?

ok it's not working. it's not running my tests

Hello @forki, I will take a look at it when I am back home after work. Meanwhile maybe you could try out the following:
[<Emit("before($0)")>]
let before (callback: unit -> Promise<unit>) = jsNative

[<Emit("after($0)")>]
let after(callback: unit -> Promise<unit>) = jsNative

let allTests = testList "End2End tests" [ SoundCheck.allTests ]

before (fun () -> TestHelper.init())
Mocha.runTests allTests |> ignore
after (fun () -> TestHelper.cleanup())

This should do the setup/tear down according to Mocha's API but you should be able to do it manually on a per-test basis by writing a helper function around testCasePromise that takes an IDisposable and does the setup/tear down internally.
In any case, please try it out and let me know how it goes!

yes that works!

in other words: would be cool to have the following in the box
[<Emit("before($0)")>]
let before (callback: unit -> Promise) = jsNative
[<Emit("after($0)")>]
let after(callback: unit -> Promise) = jsNative
[<Emit("beforeEach($0)")>]
let beforeEach (callback: unit -> Promise) = jsNative
[<Emit("afterEach ($0)")>]
let afterEach (callback: unit -> Promise) = jsNative

Thoth.Fetch is using mocha for the tests. I don't use yet Fable.Moche so I have my own bindings in it. I am writing just this just as another reference.
Declaration
Usage
The difference I see is that I use unit -> unit instead of Promise<unit>, but it's not a big deal could use Promise<unit> if mocha support it too.

@forki Yeah we could add those here but I am not sure if there is a better syntax to match Expecto's API and I don't know how far we want to stay compatible with it. @TheAngryByrd Do you have any ideas on the matter?

could use Promise if mocha support it too.
@MangelMaxime Mocha supports it indeed, but I guess if I implement it, I would implement both unit -> unit and unit -> Promise<unit> using function overloads

I think as long as we don't touch the current API, any additions we make wouldn't affect it. (cc @AnthonyLloyd).
I've added my own helper functions to do similar things with setup/teardowns and IDisposables, so I think it's a good idea to add more if we can.
Maybe a slightly different but longer discussion is we need to break this into two libraries, Fable.Mocha which has exclusive wrappers for Mocha stuff and a Fable.Mocha.Expecto library which tries to keep an API compatible with Expecto.

Thinking about it, IDisposable might not be a good idea here since Dispose is a synchronous call. I'm not sure if F#/Fable has a story around IAsyncDisposable yet.

I am writing test for a Database library and it would be really useful to have before, beforeEach, after, afterEach available in the library.
For example, it would make it possible to setup the database or clean it after running the tests. Right now, we can only have a before and after at the top level of the application as Fable.Mocha is using an internal "representation" to handle what needs to be done.
Is there plan for adding those functions? Should someone try to contribute it? If yes, what would be the way to go?

@MangelMaxime PRs are always welcome. I think implementing something like Test fixtures from Expecto would be a good way to go, what do you think?

I suppose Test fixtures is something use to "mock" part of the application. Like if you want to keep the client connection or have a file based database like sqlite for exemple.
In my case, I would need the function I listed to prepared and clean the database for the tests. For example, it would allow me to create a schema, populate it with some data, etc. and then remove it from the database to maintain the database in a "neutral" state.
I don't think Expecto have an equivalent to what Fable.Mocha offer. The closer thing I see is: https://github.com/haf/expecto#setup-and-teardown where it is actually "just code" doing the job. I need to do more test locally to see if the Expecto approach can work and be an alternative to adding beforeEach, afterEach, etc. Because, I suppose Fable.Mocha doesn't aim to provide 100% of the Mocha API but probably more the sweet spot allowing the user to switch between Expecto and Fable.Mocha easily. I can be wrong ^^

Second though, because Fable.Mocha is a DSL on top of Mocha and does some code "transformation" I don't think I can have a a function called at the beginning and the end of a testList block.
Still need to test the beforeEach, afterEach case.

At work I just implemented a function that allows for a setup/tear down to a testList for Expecto. I’d be willing to share that implantation (when I get to my computer) and see if aligning on the same signature is possible.

    open System
    open Expecto
    open FSharp.Data.Adaptive

    let integrationTestFixtureList name oneTimeSetup tests =
      let myBase = cval Unchecked.defaultof<'a>
      let setupTest = testCaseAsync "Setup" <| async {
        let! result = oneTimeSetup
        myBase.UpdateTo result
      }
      let teardownTest = testCaseAsync "Teardown" <| async {
        // match box myBase with
        // | :? IDisposable as d -> d.Dispose()
        // | :? IAsyncDisposable as d -> do! d.DisposeAsync().AsTask() |> Async.AwaitTask
        // | _ -> ()
        // (myBase :> IDisposable).Dispose()
        do! (myBase.Value :> IAsyncDisposable).DisposeAsync().AsTask() |> Async.AwaitTask
      }
      let tests = [
        setupTest
        yield! tests |> Seq.map(fun t -> t myBase)
        teardownTest
      ]
      testSequencedGroup name (testListConditional (fun () -> runIntegrationTests) name tests)

I create a setup and teardown test set each.  I created a specific setup test because I needed the setup to be lazy, otherwise it would try to run at testList enumeration which would cause it to run even if it tests were to be skipped. At work I ended up using FSharp.Data.Adaptive for this but we might be able to get away with a MailboxProcessor and inject a lazy Async<'MySetupType>.  For the teardown I went with IAsyncDisposeable but I'm not completely tied to that implementation either.  I have IDiseposeable for other ideas/usages.
Usage:
type DbConnections = {
  ConnStr : string
  Props : Sql.SqlProps
}

let setup = async {
  let connStr = getFromEnvVar("TEST_CONNECTION_STRING")
  let props =   Sql.connect connStr
  return {
    ConnStr = connStr
    Props = props
  }
}

let testList =
  integrationTestFixtureList "Some Database Stuff" setup [
    fun (conn : cval<AssetExpirationBase>) -> testCaseAsync "Test 1" <| async {
      let conn = conn.Value
      let expected = insertTestUser "13" conn.Props
      let actual = Repository.getUser conn.Props "13"
      Expect.equal actual expected ""
    }
  ]

I haven't made this suggestion to Expecto proper as of yet since we're still trying it at work and I'd like it to be robust before I do.


Support LIS3DH

Description
https://github.com/rosmo-robot/smartcar_shield/tree/master/src/sensors/heading
Add LIS3DH support to the lib
Definition of Done
Sensor data from LIS3DH is available

This one seems more tricky as the sensor's output is in m/s^2 and not in degrees.
This means that some maths are needed and I am not personally interested in trying to figure that part out. Also, if I am not mistake this is only an accelerometer meaning that it is not good or suitable for determining the heading of a vehicle.

Hmm, thanks. We included this  ~$1 component without a great deal of research. It may be better to replace it with a ~$3 L3G4200D or MPU6050. I'll go and investigate a hardware change.


Build error

I get this error when I run cargo build:
error: failed to run custom build command for protobuf-examples v0.0.0 (/home/fiono/rust-protobuf/protobuf-examples)
Caused by:
process didn't exit successfully: /home/fiono/rust-protobuf/target/debug/build/protobuf-examples-7474ebb7ebeae36a/build-script-build (exit status: 101)
--- stderr
thread 'main' panicked at 'protoc binary not found: cannot find binary path', protoc/src/lib.rs:298:17
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed

I have the same error too.

I had an issue with the protobuf installation and reinstalled using snap (Linux).

protoc binary not found: cannot find binary path

When non-pure codegen is used, protoc binary is required. Documentation is updated to make it more clear now.


What about PSR-1, PSR-2 and PSR-12 codestyle?

Do you plan to format your code to a single php global recommendations?
If not, why not?

Hey @SerafimArts! We'll probably to standardize on PSR-12, with a couple explicit exceptions (the biggest one being that opening braces should be on the same line everywhere both because it increases consistency within the codebase, and because it helps to keep the code "tighter" which I find is especially helpful for this project in particular.)

with a couple explicit exceptions

Once the new standard from Microsoft... Сan once you begin to follow all recommendations? :D

@nikic It would be interesting nevertheless interesting to hear your opinion why you pooschraesh violation of generally accepted norms

@SerafimArts It's a curly brace, not PSR-Microsoft-Update-2-Professional-Edition. Can we please keep these conversations constructive and refrain from blowing things out of proportion? Thanks :heart:

@SerafimArts Because I don't think it's a big deal to deviate from a coding standard on specific points, and I can certainly empathize with the reasons outlined elsewhere. A coding standard is a means to an end, not an end in itself. Furthermore, I consider your comment, at least in its in initial form, to be in poor taste.


added implementation to resolve enum values

see issue #19. Implementation for resolving enum values was missing.

Good catch - thanks for this!

When will nuget package with this fix be available?

Version 0.3.5 is available on NuGet with this fix.

@epitka If you have the time, would you mind adding a test for this fix?

ok, let me see what I can put together...

I created a branch with tests, but when I tried to create pull request I am getting message that I do not have permission to push the changes ?

Which branch are you trying to push to? It sounds like you might be trying to push to this repo, whereas you should be pushing to your own repo first and then creating a PR. It's either that or you're failing to authenticate with Github when trying to push changes.


points_indices but for layers

In GitLab by @tomvansteijn1 on Feb 15, 2021, 09:28
Get the layer number for a given value of Z, similar to select.points_indices. Input DataArray with the Layer dimension and points with Z-coordinate. I think this would be a useful addition to the current selection capabilities in imod-python.
More elaborate, but also useful, is the capability to add well screens to a model based on geometry and transmissivity values, similar to iMOD MKWELLIPF. Returns a well screen fraction per well per model layer.

In GitLab by @JoerivanEngelen on May 15, 2023, 17:02
I just realized, this functionality was added in this giant merge request:
https://gitlab.com/deltares/imod/imod-python/-/merge_requests/191#5df5a670ced56d4c1d8c00640ae590ac5848001c
There is now an assign_wells function in the imod.prepare.wells module. This basically covers both options. Method 1 can be done by providing a grid with constant k values. I see it's not included in the API documentation so will make sure that this is done.


Removed difference in behaviour of @preact/signals and @preact/signal…

…s-react
Added oportunity to render jsx using preact signal
#383

@andrewiggins i think it has no performance overhead in case of rendering string into Text nodes directly, but adds oprtunity to render jsx inside signal.
Researching preact source code was fun.
There are oprtunity when chaning signal type jsx -> string, to directly create Text node and replace it in this.base and this.__v.__e, but i am not sure will it give real performance boost

I will add changeset after review

@JoviDeCroock please check this PR 🙏🙏🙏

Fixed comments @JoviDeCroock

This also needs a changeset and probably a rebase/merge so the netlify checks start succeeding

@JoviDeCroock please check)


Update specs2-core to 5.5.1

About this PR
📦 Updates org.specs2:specs2-core from 5.0.7 to 5.5.1
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2", artifactId = "specs2-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.specs2", artifactId = "specs2-core" }
}]

labels: test-library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

I think we need to update scala 3 version first.


⚠ Bofrost.de has degraded performance

In aad07eb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1370 ms

Resolved: Bofrost.de performance has improved in 860d46f after 28 minutes.


🐛 [firebase_storage] example does not upload the file

Bug report
Describe the bug
I tried to upload a file with the firebase_storage example. However, it's always stuck at 0 bytes.
https://user-images.githubusercontent.com/24459435/223843053-1239cca4-542e-4e73-b9f6-bf1a674ec135.mov
Steps to reproduce
Steps to reproduce the behavior:

Use example
Try to upload a file (I tested it via web)

Expected behavior
Should upload the file.
Sample project
Use the example of firebase_storage or https://zapp.run/edit/firebasestorage-11015-zj6y060aj6z0?entry=lib/main.dart&file=lib/main.dart

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Flutter 3.7.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 12cb4eb7a0 (7 days ago) • 2023-03-01 10:29:26 -0800
Engine • revision ada363ee93
Tools • Dart 2.19.3 • DevTools 2.20.1

Thanks for the report. I am seeing same behavior running the example on web:

While, on mobile (iOS simulator), I get below:

flutter: [firebase_storage/unknown] An unknown error occurred, please check the server response.


allow renewable site ids to be non-integer

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2  👈
#1
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NLaws and the rest of your teammates on  Graphite


Start sending canned application ID with chat user agent

What

Adds a canned application ID to the chat user agent.
Still need to figure out the right way to extract our own package version, but for now this will let us validate the pipeline end-to-end.

Do we currently send telemetry when doing development work? (don't want to impact signals gathered from this telemetry)

Do we currently send telemetry when doing development work? (don't want to impact signals gathered from this telemetry)

Telemetry from development / test work is OK as long as we have a handle on the connection strings being used. Those can then be excluded from analysis.

LGTM! Reset my vote if you add the correct version collection in this PR and not a seperate one

Thanks much. I'm lazy, I'm not going to add correct version collection in this PR. I want something in for end-to-end testing, and that thing you ask for -- it's work, sir, it's work indeed.


removed public/ (now in gh-pages branch)

also removed CNAME (also in gh-pages branch now)

dohjs.png still in master?

dohjs.png still in master?

Kind of. Hope you like what I did lol

That's one way to do it. Good with me


Fix bugs in MSIDAccountCacheItemTests from MSAL C++

Proposed changes
In the past, we disabled these tests in MSAL C++ because of the account type discrepancy issue. Currently, after resolving that problem, we are willing to run these tests in our CI.
And there are three bugs which will fail the tests on our side:

The home_account_id should be in UUID format.
MSAIAccountInternal requires nonnull values, so we need to add all of the values while comparing the accountCacheItem with expectedDictionary.
localAccountId, realm, and username cannot be nil while creating an account.

According to these bugs, I made this PR. If there is any problem, please let me know.
Type of change

[ ] Feature work
[ ] Bug fix
[ ] Documentation
[x] Engineering change
[x] Test
[ ] Logging/Telemetry

Risk

[ ] High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
[ ] Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
[x] Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)

Additional information

@oldalton I don't have permission to merge the PR. Could you please help me with that?


each tasks.json target_metadata.target_keys.target should be a string, but is a list of strings

Hi Folks. I believe the target_metadata sections of the file hub-config/tasks.json are invalid. IIUC each target_metadata.target_keys.target should be a string, but in this repo each is a list of strings. For example:
                    "target_metadata": [
                        {
                            "target_id": "flu hosp rate change",
                            "target_name": "week ahead weekly influenza hospitalization rate change",
                            "target_units": "rate per 100,000 population",
                            "target_keys": {
                                "target": [
                                    "wk flu hosp rate change"
                                ]
                            },
                            ...
                        }
                    ]
                },

Instead, I think this example should be:
                    "target_metadata": [
                        {
                            "target_id": "flu hosp rate change",
                            "target_name": "week ahead weekly influenza hospitalization rate change",
                            "target_units": "rate per 100,000 population",
                            "target_keys": {
                                "target": "wk flu hosp rate change"
                            },
                            ...
                        }
                    ]
                },

My references are:

The docs' Target metadata section.
The example-complex-forecast-hub's tasks.json's - first entry:

                    "target_metadata": [
                        {
                            "target_id": "wk flu hosp rate category",
                            "target_name": "week ahead weekly influenza hospitalization rate category",
                            "target_units": "rate per 100,000 population",
                            "target_keys": {
                                "target": "wk flu hosp rate category"
                            },...
                        }
                    ]
                },

I wonder if this is/should be checked by https://github.com/hubverse-org/hubAdmin/blob/main/R/validate_config.R ?
Thank you.

Thank you for pointing out this issue! We've been trying to follow the documentation and are wondering about the relationship between this change and using v 3.0.0 vs. v 4.0.0. We haven't had any validation errors with the config file so far, but it seems like this might change if we start using v 4.0.0? Are there any foreseeable issues to removing the brackets if we are planning to use v3.0.0? We've tested validate_config() with the brackets removed and received indication of "valid", but just want to make sure we aren't missing any potential complications. @Annabella-Hines

Hi Rebecca. Tagging @annakrystalli to answer your question.

Hi @rborchering !
Removing the brackets will be fine in both v3.0.0 and v4.0.0. If you don't remove the square brackets though you will start getting validation errors in v4.0.0 because we've made the schema more stringent in order to be able to detect [].
See issue https://github.com/hubverse-org/schemas/issues/97#issuecomment-2416201732 and related PR https://github.com/hubverse-org/schemas/pull/108  for more details.

I should probably add a bit more context. Brackets will not cause validation errors (of the config or of model output submissions) in any R functionality. However, as arrays are encoded differently in e.g. python vs R, not fixing the brackets will cause problems for python functionality like the visualisation software @matthewcornell is working on.
Overall I recommend removing the square brackets as technically they are not allowed. Initially we just weren't sure how to encode the restriction in the schema (and have fallen back on documentation), hence they managed to slip passed validation. We're trying to fix this in v4.0.0

Thanks Anna and Matt! That's really helpful context. We'll go ahead and remove the brackets. Thanks again for identifying this misalignment!


[boost-container] Build error on x86-windows

Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>Detecting compiler hash for triplet x86-windows...
Restored 0 package(s) from P:\VCPKG-CACHE in 876 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached boostorg-container-boost-1.84.0.tar.gz.
-- Cleaning sources at E:/vcpkg/buildtrees/boost-container/src/ost-1.84.0-f9f7c1b921.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/vcpkg/downloads/boostorg-container-boost-1.84.0.tar.gz
-- Using source at E:/vcpkg/buildtrees/boost-container/src/ost-1.84.0-f9f7c1b921.clean
CMake Error at installed/x64-windows/share/boost-build/boost-modular-build.cmake:39 (message):
Could not find b2 in E:/vcpkg/installed/x64-windows/tools/boost-build
Call Stack (most recent call first):
ports/boost-container/portfile.cmake:12 (boost_modular_build)
scripts/ports.cmake:175 (include)
error: building boost-container:x86-windows failed with: BUILD_FAILED
Elapsed time to handle boost-container:x86-windows: 585 ms
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-container
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[boost-container]+Build+error+on+x86-windows&body=Copy+issue+body+from+E%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Cannot build any package which depends on Boost-container

PS G:\vcpkg> ./vcpkg version
vcpkg package management program version 2024-03-14-7d353e869753e5609a1f1a057df3db8fd356e49d

See LICENSE.txt for license information.

Sorry I can't repro your issue.
PS G:\vcpkg> ./vcpkg install boost-container:x86-windows
Computing installation plan...
Found a constraint violation:
  warning: dependency boost-uninstall:x64-windows was expected to be at least version 1.84.0, but is currently 1.83.0.
Found a constraint violation:
  warning: dependency boost-modular-build-helper:x64-windows was expected to be at least version 1.84.0, but is currently 1.83.0#1.
The following packages will be built and installed:
  *<EMAIL_ADDRESS><EMAIL_ADDRESS>Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
Detecting compiler hash for triplet x86-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x86/cl.exe
Restored 0 package(s) from C:\Users\v-liumonica\AppData\Local\vcpkg\archives in 809 us. Use --debug to see more details.
Installing 1/2<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Downloading https://github.com/boostorg/build/archive/boost-1.84.0.tar.gz -> boostorg-build-boost-1.84.0.tar.gz...
-- Extracting source G:/vcpkg/downloads/boostorg-build-boost-1.84.0.tar.gz
-- Applying patch 0002-fix-get-version.patch
-- Applying patch 0003-fix-emscripten.patch
-- Applying patch 0004-workaround-MSVC-codegen-bug-in-17.5-on-ARM64.patch
-- Using source at G:/vcpkg/buildtrees/boost-build/src/ost-1.84.0-af9524982d.clean
-- Using cached boost_LICENSE_1_0.txt.
-- Downloading https://raw.githubusercontent.com/boostorg/boost/boost-1.84.0/boostcpp.jam -> boost-1.84.0-boostcpp.jam...
-- Installing: G:/vcpkg/packages/boost-build_x64-windows/share/boost-build/copyright
-- Bootstrapping...
-- Performing post-build validation
Stored binaries in 1 destinations in 5.5 s.
Elapsed time to handle boost-build:x64-windows: 32 s
boost-build:x64-windows package ABI: 45a374c672fb09d676c339f11601da0188f184da4751845449bb7be5cc0ade21
Installing 2/2<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached boostorg-container-boost-1.84.0.tar.gz.
-- Cleaning sources at G:/vcpkg/buildtrees/boost-container/src/ost-1.84.0-f9f7c1b921.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source G:/vcpkg/downloads/boostorg-container-boost-1.84.0.tar.gz
-- Using source at G:/vcpkg/buildtrees/boost-container/src/ost-1.84.0-f9f7c1b921.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x86-windows
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
-- Copying headers
-- Copying headers done
-- Installing: G:/vcpkg/packages/boost-container_x86-windows/share/boost-container/usage
-- Installing: G:/vcpkg/packages/boost-container_x86-windows/share/boost-container/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 202 ms.
Elapsed time to handle boost-container:x86-windows: 22 s
boost-container:x86-windows package ABI: 142ce9d02ab57b9e5cd2c575e36873830b6ed3b837f981c7e80b547712f615a1
Total install time: 54 s
The package boost is compatible with built-in CMake targets:

    find_package(Boost REQUIRED [COMPONENTS <libs>...])
    target_link_libraries(main PRIVATE Boost::boost Boost::<lib1> Boost::<lib2> ...)

Please try the following commands:
./vcpkg remove boost-build:x64-windows boost-build:x86-windows boost-container:x86-windows --recurse
./vcpkg install boost-container:x86-windows

We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.


RuntimeError: dim() called on undefined Tensor

Hi @dutran, thank you for releasing the code.
I am trying to run hmdb finetuning.
But I got this error.
Ignoring @/caffe2/caffe2/contrib/nccl:nccl_ops as it is not a valid file.
Ignoring @/caffe2/caffe2/contrib/gloo:gloo_ops as it is not a valid file.
Ignoring @/caffe2/caffe2/contrib/gloo:gloo_ops_gpu as it is not a valid file.
[E init_intrinsics_check.cc:43] CPU feature avx is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
INFO:train_net:Namespace(base_learning_rate=0.0002, batch_size=4, clip_length_of=8, clip_length_rgb=32, crop_size=112, cudnn_workspace_limit_mb=64, db_type='pickle', display_iter=10, do_flow_aggregation=0, epoch_size=40000, file_store_path='.', flow_data_type=0, frame_gap_of=2, gamma=0.1, get_video_id=0, gpus='0', input_type=0, is_checkpoint=0, model_depth=18, model_name='r2plus1d', num_channels=3, num_decode_threads=4, num_epochs=8, num_gpus=1, num_labels=51, pred_layer_name=None, pretrained_model='/mnt/disks/data/models/r2plus1d/kinetics/l32/r2.5d_d18_l32.pkl', profiling=0, sampling_rate_of=2, sampling_rate_rgb=1, scale_h=128, scale_w=171, step_epoch=2, test_data='/mnt/disks/data/dataset/hmdb51/lmdb/hmdb51_test01', train_data='/mnt/disks/data/dataset/hmdb51/lmdb/hmdb51_train01', use_cudnn=1, use_dropout=0, use_local_file=0, weight_decay=0.005)
INFO:model_builder:Validated: r2plus1d with 18 layers
INFO:model_builder:with input 32x112x112
INFO:train_net:Running on GPUs: [0]
INFO:train_net:Using epoch size: 40000
WARNING:root:[====DEPRECATE WARNING====]: you are creating an object from CNNModelHelper class which will be deprecated soon. Please use ModelHelper object with brew module. For more information, please refer to caffe2.ai and python/brew.py, python/brew_test.py for more information.
INFO:train_net:train set has 3570 examples
INFO:data_parallel_model:Parallelizing model for devices: [0]
INFO:data_parallel_model:Create input and model training operators
INFO:data_parallel_model:Model for GPU : 0
INFO:model_helper:outputing rgb data
INFO:model_builder:creating r2plus1d, depth=18...
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 230
INFO:video_model:Number of middle filters: 288
INFO:video_model:Number of middle filters: 288
INFO:video_model:Number of middle filters: 288
INFO:video_model:Number of middle filters: 460
INFO:video_model:Number of middle filters: 576
INFO:video_model:Number of middle filters: 576
INFO:video_model:Number of middle filters: 576
INFO:video_model:Number of middle filters: 921
INFO:video_model:Number of middle filters: 1152
INFO:video_model:Number of middle filters: 1152
INFO:video_model:Number of middle filters: 1152
INFO:data_parallel_model:Adding gradient operators
INFO:data_parallel_model:Add gradient all-reduces for SyncSGD
INFO:data_parallel_model:Post-iteration operators for updating params
INFO:data_parallel_model:Add initial parameter sync
WARNING:data_parallel_model:------- DEPRECATED API, please use data_parallel_model.OptimizeGradientMemory() -----
WARNING:memonger:NOTE: Executing memonger to optimize gradient memory
INFO:memonger:Memonger memory optimization took 0.0146450996399 secs
INFO:train_net:----- Create test net ----
WARNING:root:[====DEPRECATE WARNING====]: you are creating an object from CNNModelHelper class which will be deprecated soon. Please use ModelHelper object with brew module. For more information, please refer to caffe2.ai and python/brew.py, python/brew_test.py for more information.
INFO:train_net:test set has 1530 examples
INFO:data_parallel_model:Parallelizing model for devices: [0]
INFO:data_parallel_model:Create input and model training operators
WARNING:data_parallel_model:
WARNING:data_parallel_model:############# WARNING #############
WARNING:data_parallel_model:Model r2plus1d_test/<caffe2.python.cnn.CNNModelHelper object at 0x7feedb2721d0> is used for testing/validation but
WARNING:data_parallel_model:has init_params=True!
WARNING:data_parallel_model:This can conflict with model training.
WARNING:data_parallel_model:Please ensure model = ModelHelper(init_params=False)
WARNING:data_parallel_model:####################################
WARNING:data_parallel_model:
INFO:data_parallel_model:Model for GPU : 0
INFO:model_helper:outputing rgb data
INFO:model_builder:creating r2plus1d, depth=18...
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 144
INFO:video_model:Number of middle filters: 230
INFO:video_model:Number of middle filters: 288
INFO:video_model:Number of middle filters: 288
INFO:video_model:Number of middle filters: 288
INFO:video_model:Number of middle filters: 460
INFO:video_model:Number of middle filters: 576
INFO:video_model:Number of middle filters: 576
INFO:video_model:Number of middle filters: 576
INFO:video_model:Number of middle filters: 921
INFO:video_model:Number of middle filters: 1152
INFO:video_model:Number of middle filters: 1152
INFO:video_model:Number of middle filters: 1152
INFO:data_parallel_model:Parameter update function not defined --> only forward
WARNING:caffe2.python.workspace:Original python traceback for operator 0 in network r2plus1d_test in exception above (most recent call last):
WARNING:caffe2.python.workspace:  File "tools/train_net.py", line 501, in
WARNING:caffe2.python.workspace:  File "tools/train_net.py", line 496, in main
WARNING:caffe2.python.workspace:  File "tools/train_net.py", line 334, in Train
WARNING:caffe2.python.workspace:  File "/home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/data_parallel_model.py", line 34, in Parallelize_GPU
WARNING:caffe2.python.workspace:  File "/home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/data_parallel_model.py", line 231, in Parallelize
WARNING:caffe2.python.workspace:  File "tools/train_net.py", line 326, in test_input_fn
WARNING:caffe2.python.workspace:  File "/home/sharepds_gmail_com/src/VMZ/lib/utils/model_helper.py", line 131, in AddVideoInput
Traceback (most recent call last):
File "tools/train_net.py", line 501, in
main()
File "tools/train_net.py", line 496, in main
Train(args)
File "tools/train_net.py", line 337, in Train
workspace.CreateNet(test_model.net)
File "/home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/workspace.py", line 172, in CreateNet
StringifyProto(net), overwrite,
File "/home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/workspace.py", line 198, in CallWithExceptionIntercept
return func(args, kwargs)
RuntimeError: dim() called on undefined Tensor (dim at /home/sharepds_gmail_com/pkg/caffe2_2/c10/core/UndefinedTensorImpl.cpp:24)
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) + 0x6a (0x7fefbe94831a in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libc10.so)
frame #1: c10::UndefinedTensorImpl::dim() const + 0xca (0x7fefbe94404a in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libc10.so)
frame #2: bool c10::TensorImpl::SetDimsTemplate<long, void>(c10::ArrayRef) + 0x147 (0x7fefd4a3cff7 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #3: caffe2::VideoInputOpcaffe2::CUDAContext::VideoInputOp(caffe2::OperatorDef const&, caffe2::Workspace) + 0x1c79 (0x7fefc002ef39 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2_gpu.so)
frame #4:  + 0x104612e (0x7fefc003012e in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2_gpu.so)
frame #5: std::_Function_handler<std::unique_ptr<caffe2::OperatorBase, std::default_deletecaffe2::OperatorBase > (caffe2::OperatorDef const&, caffe2::Workspace), std::unique_ptr<caffe2::OperatorBase, std::default_deletecaffe2::OperatorBase > ()(caffe2::OperatorDef const&, caffe2::Workspace*)>::_M_invoke(std::_Any_data const&, caffe2::OperatorDef const&, caffe2::Workspace*&&) + 0x23 (0x7fefd6629143 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/caffe2_pybind11_state_gpu.so)
frame #6:  + 0x17008dd (0x7fefd47e08dd in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #7:  + 0x17030c9 (0x7fefd47e30c9 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #8: caffe2::CreateOperator(caffe2::OperatorDef const&, caffe2::Workspace*, int) + 0x3b9 (0x7fefd47e3549 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #9: caffe2::dag_utils::prepareOperatorNodes(std::shared_ptr<caffe2::NetDef const> const&, caffe2::Workspace*) + 0xe3a (0x7fefd47fe61a in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #10: caffe2::AsyncNetBase::AsyncNetBase(std::shared_ptr<caffe2::NetDef const> const&, caffe2::Workspace*) + 0x23f (0x7fefd478085f in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #11: caffe2::AsyncSchedulingNet::AsyncSchedulingNet(std::shared_ptr<caffe2::NetDef const> const&, caffe2::Workspace*) + 0x9 (0x7fefd478a7c9 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #12:  + 0x16ac18e (0x7fefd478c18e in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #13:  + 0x16ac043 (0x7fefd478c043 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #14: caffe2::CreateNet(std::shared_ptr<caffe2::NetDef const> const&, caffe2::Workspace*) + 0xab9 (0x7fefd478f659 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #15: caffe2::Workspace::CreateNet(std::shared_ptr<caffe2::NetDef const> const&, bool) + 0xfd (0x7fefd47a509d in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #16: caffe2::Workspace::CreateNet(caffe2::NetDef const&, bool) + 0x8f (0x7fefd47a64df in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/../../torch/lib/libcaffe2.so)
frame #17:  + 0x50d90 (0x7fefd661ed90 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/caffe2_pybind11_state_gpu.so)
frame #18:  + 0x50fee (0x7fefd661efee in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/caffe2_pybind11_state_gpu.so)
frame #19:  + 0x90f90 (0x7fefd665ef90 in /home/sharepds_gmail_com/anaconda3/envs/caffe2_p2.7_2/lib/python2.7/site-packages/caffe2/python/caffe2_pybind11_state_gpu.so)

frame #35: __libc_start_main + 0xf0 (0x7fefe4a3c830 in /lib/x86_64-linux-gnu/libc.so.6)
Do you have any solution to this?

Same issue here.
Which Caffe2 version should I use?
I use Ubuntu 18.04, CUDA 9.2, built OpenCV from source with CUDA support,
I built Caffe2 as instructed on the official webpage, but added the options this project had specified.
I tried with the master branch and it succeeded, but have the same issue when running the code.
I tried checking out to v0.4.1 or v1.0.1 but failed during compilation.
Any help would be appreciated.

caffe2/video/video_input_op.h, line 487
prefetched_label_.Resize(
    vector<int64_t>(1, batch_size_ * clip_per_video_ * multi_crop_count_));

change to:
ReinitializeTensor(
    &prefetched_label_,
    vector<int64_t>(1, batch_size_ * clip_per_video_ * multi_crop_count_),
    at::dtype<int>().device(CPU))

@zzjbug I will try to do it. But can you explain briefly why the error happens, and what did you change to fix it? I mean, why does changing the resizing function to reinitialising fix the error?

I traced that the exception is thrown by this line of code.
There are a few tensors being initialized in this method: prefetched_clip_rgb_, prefetched_clip_of_, and prefetched_label_. Only this line is using the Resize method while all the others are using ReinitializeTensor.
I have read from another post that the caffe2 tensor interface has changed, probably due to the merge of caffe2 and pytorch. If you check the same file in pytorch 0.4.1, you'll notice that it is using Tensor.Resize everywhere. My guess is that ReinitializeTensor is the new interface to follow, but the porting of video_input_op is not completed yet.

Wow, that's promising. Thanks for the explanation and suggestion. I'm building the modified source code, and I'll let you know the result.

I traced that the exception is thrown by this line of code.
There are a few tensors being initialized in this method: prefetched_clip_rgb_, prefetched_clip_of_, and prefetched_label_. Only this line is using the Resize method while all the others are using ReinitializeTensor.
I have read from another post that the caffe2 tensor interface has changed, probably due to the merge of caffe2 and pytorch. If you check the same file in pytorch 0.4.1, you'll notice that it is using Tensor.Resize everywhere. My guess is that ReinitializeTensor is the new interface to follow, but the porting of video_input_op is not completed yet.

Yes, this is mainly due to tensor interface is changed. We should have an updated VideoInput soon.

@zzjbug i have confronted with the same error in this subject, it runs according to you solutions,thanks very much!!

@zzjbug Thank you so much. That also solved the issue for me.

Same here, thanks @zzjbug

This PR in pytorch should fix this https://github.com/pytorch/pytorch/pull/15884

Sorry, that PR correct one place in 485, but not 487.

should be fixed now.


HV-1207 - HV-1208 Cache the ValueExtractor determination in the metadata, per constraint unwrapping and implicit unwrapping

https://hibernate.atlassian.net/browse/HV-1207
https://hibernate.atlassian.net/browse/HV-1208

Note: it doesn't compile on CI as it needs the related BV changes: https://github.com/beanvalidation/beanvalidation-api/pull/77 .

@gunnarmorling I just pushed a version addressing all your comments.

@gunnarmorling updated to use payload and fixed all your comments.


typeError: IDB.getDatabaseNames is not a function

error message when CREATE INDEXEDDB DATABASE test

Hi Peter. Thanks for sharing. Looks like getDatabaseNames got depricated in chrome. Did you use chrome for this test?

Hmm. Looks like indexedDB is not part of node - but a browser thing.
https://www.npmjs.com/package/indexeddb-js


searching for records

the sdk does not seem to support searching by name/regex as detailed in the api documenation https://www.infoblox.com/wp-content/uploads/infoblox-deployment-infoblox-rest-api.pdf. is that the case, or am i missing something?
e.g. curl -k -u admin:infoblox -X GET "https://grid-master/wapi/v2.12/record:a?name~=host1.info.com&_return_as_object=1"

poke @skudriavtsev

Hi @fawaf , Please try with command with syntax below, it is working for fetching/searching records.
With record fqdn:
curl -k1 -u admin:infoblox -X GET "https://grid-master/wapi/v2.11/record:a?name~=infoblox.test.com&_return_fields=name&_return_as_object=1"
With record zone name:
curl -k1 -u admin:infoblox -X GET "https://grid-master/wapi/v2.11/record:a?name~=test.com&_return_fields=name&_return_as_object=1"

Hi @fawaf , In the infoblox-go-client, there is function with GetARecord to which DNSView , recordName and ipv4addr is mandatory to pass as arguments, this function works fine for searching the record

Hi @fawaf , there is an go client generator which will add the function that supports this searching for records feature which is under review, so once that gets into the go client, then this function will work as per wapi api documentation.

any updates yet @hemanthKa677

Hi @fawaf , I am writing a code for this, just with zone name passed, will return the existing a records belong to the zone, in a day or two. I will create a PR, try to merge it asap.

Hi @fawaf , here is PR below for this issue ,
https://github.com/infobloxopen/infoblox-go-client/pull/201
I guess this will solve the get a records with passing just zone name returns list of a records

the pr isn't supporting the "contains" method that the infoblox api supports afaict as the screenshot in the original issue shows. it looks like it is just listing all A records?

@hemanthKa677 any updates?

Hi @fawaf , I will try to fix this issue in couple of weeks.


Invalid memory address or nil pointer dereference

Details
Hi, I am getting this when I try to run baal runs in companion mode
time=2024-04-02T23:38:20.956+03:00 level=INFO msg="Starting Game #0. Run list: Companion"
time=2024-04-02T23:38:20.956+03:00 level=INFO msg="Running: Companion"
time=2024-04-02T23:38:24.378+03:00 level=WARN msg="Game finished with errors, reason: fatal error detected, Koolo will try to exit game and create a new one: runtime error: invalid memory address or nil pointer dereference. Game total time: 3.39s"

In short, the second instance comes into play and immediately exists
companion:
  enabled: true
  leader: false
  leaderName: 'Set'
  attack: false
  gameNameTemplate: custom
  gamePassword: xxx

Version
v0.4.0-beta4

Heyho,
With the latest improvements from
Add a couple of improvements in companion (https://github.com/hectorgimenez/koolo/pull/147)

It works quite well
I had to modify locally baal.go on line 35.
When the leader moves to ThroneOfDestruction to go right away to throne bottom corner and open tp
s.builder.MoveToArea(area.ThroneOfDestruction),
s.builder.MoveToCoords(data.Position{
    X: 15116,
    Y: 5071,
}),
s.builder.OpenTPIfLeader(),
s.builder.MoveToCoords(baalThronePosition),

By doing this, the companion also helps clear the throne room
I am not able to make it to kill baal, the leader enters the worldstone chamber and does nothing.
A few moments later the companion exists the game.
I suspect something is wrong with companionTPRequested in bot.go, but not sure though.
This thing with companion TP requested is also weird
if companionTPRequested {
		companionTPRequested = false
		actions = append([]action.Action{b.ab.OpenTPIfLeader()}, actions...)
}

The leaders starts the run and in level 3 opens a TP for the companion, then the companion enters, but cannot catch-up with the leader, goes to town and wait for a portal..
One last thing before the recent changes, the companion didn't engage with monsters much, with the recent changes "Add a few enhancements to the companion" this is resolved, but now the leader is slow and not much monster action.
CC: @hectorgimenez, @13413j1j13j5315n13


Prefix Generation Strategy

I am currently implementing a solution that automates the process of saving models in Redis through event-sourcing.
The challenge is to make setting the prefixes dynamic. I have created a special implementation that generates ids, and does not inherit from RedisOM IdGenerationStrategy.
This special generator is also responsible for creating the prefixes, however, there is no way for me to set the prefixes dynamically. I was able to workaround the limitations in many cases, however, these limitations are breaking our ability to build indexes with the CreateIndexAsync method.
My suggestion is to refrain from using attributes and rather use abstract class that holds the prefix. Thus, giving the developers the  ability to manage prefixes dynamically.
I would love to hear back and collaborate with you to implement such behavior.

Hi @slorello89,
Really appreciate your response!
Let me better demonstrate our use case with more concrete example. Your work has saved us a great hustle in many cases! So thank you for that!
Now, we are building a product that utilizes Redis as the read side from CQRS POV. The write side uses Postgres with Event Sourcing. The framework that we build listens to domain events and builds Json Documents in Redis automatically.
The concept that we had in mind when we started implementing this project is to provide a base class that developers can inherit from which will eliminate the need of developers to add the attribute or even know that there is Redis from behind the  scenes.
For instance, this is the IdGenerationStrategy that we developed:
public class DefaultLinkedIdConstructionStrategy<TRedisLinkedModel, TModel, TId> : ILinkedIdConstructionStrategy<TRedisLinkedModel, TModel, TId>
        where TModel : EntityBase<TId>
        where TId : IComparable, IComparable<TId>, IEquatable<TId>
        where TRedisLinkedModel : IRedisModel
    {
        private readonly IConfiguration _configuration;

        /// <inheritdoc/>
        public string Prefix { get; } = null;

        public DefaultLinkedIdConstructionStrategy(IConfiguration configuration)
        {
            _configuration = configuration;
            var redisConfig = _configuration.GetRedisConfig();
            Prefix = redisConfig.KeyPrefix;
        }

        /// <inheritdoc/>
        public string Construct(TId sourceId)
        {
            var builder = new StringBuilder();
            if (!string.IsNullOrEmpty(Prefix))
            {
                builder.Append(Prefix.Trim());
            }
            builder.Append(typeof(TModel).Name.ToLowerInvariant());
            builder.Append(':');
            builder.Append(sourceId.ToString().ToLowerInvariant());
            return builder.ToString();
        }

        /// <summary>
        /// Deconstruct Redis key into <typeparamref name="TId"/>, currently supported
        /// <typeparamref name="TId"/> types are: <see cref="Guid"/>, <see cref="long"/>,
        /// and <see cref="int"/>
        /// </summary>
        /// <param name="key">Redis key.</param>
        /// <returns></returns>
        public TId Deconstruct(string key)
        {
            if (typeof(TId).IsAssignableFrom(typeof(Guid)))
            {
                return (TId)Convert.ChangeType(Guid.Parse(key.Split(':').Last()), typeof(TId));
            }
            if (typeof(TId).IsAssignableFrom(typeof(long)))
            {
                return (TId)Convert.ChangeType(long.Parse(key.Split(':').Last()), typeof(TId));
            }
            if (typeof(TId).IsAssignableFrom(typeof(int)))
            {
                return (TId)Convert.ChangeType(int.Parse(key.Split(':').Last()), typeof(TId));
            }
            throw new UnsupportedIdTypeException($"No deconstruction logic for type {typeof(TId).Name}");
        }
    }

Now, by defining which Postgres models we want to have this Redis Model linked to, we can dynamically build the full key, with conjunction of provided top-level prefix.
Top-level prefix is provided by configuration, that should be shared across all models, as it is used by Redis Cluster to provide namespace isolation, which enables having multiple APIs using the same cluster without interfering with each other through ACL. One of the issues with the DocumentAttribute approach is that, if we need to change that top-level prefix, we would need to do a full rebuild and redeployment, which is a sub-optimal solution.
Additionally, we want client application to be agnostic to Redis Keys structure, and rather send standard Guid/Long Ids that are generated by Postgres, then, IdGenerationStrategy would manage the construction of full Redis keys.
This whole concept is inspired mainly by Entity Framework Core Fluent API, and how entities can be configured through registration of configuration classes.
I would say that, this project can support both approaches, as for simple use cases, developers can use attributes, where for more advanced functionality, a different dynamic approach might be supported.
What are your thoughts? I am willing to provide more details, if above explanation is not sufficient.


pt_BR Zend\Validator\GreaterThan

Missing the word to

Missing the word to

Right, but the error is present in some more language files. Example: En


solve buggy bar item rendering

I try to solve the bug of kitchen sink's bar page, but not able to find it. I doubt it maybe a bug in React diff  engine or something. so I did a simple change to avoid it for now. please consider merge it.

Check it again, I think I got this fixed. It was a flexbox issue, not setting WebkitFlexGrow to the icon.

(by check again I mean it should be fixed on the kitchen sink demo now)


Fix failed tests and crash on MinGW.

Fix failed tests (MinGW default sprintf precision).
Fix crash (use of incompatible MSVC x64 pseudo-inline assembly).

Tested with following compilers:

clang 10.0.0 and GCC 9.3.0 on Ubuntu 20.04
clang 10.0.0 and GCC 10.1.0 on MSYS2 MinGW
MSVC 2019 (cl 19.25.28614) on Windows 10

Fixes #9

Excellent. Thanks for the fixes!


Fix misspelling: proxys/proxies

Why:
Fix small misspelling: proxys/proxies

What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).  (not sure if this is applicable?)
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@dubaaron
Thanks so much for opening a PR! I'll get this triaged for review :zap:


Change behavior and text for some of the OptionsForm buttons

To persist the changes you make in the Options dialog you have to click the Save button. That is not like how it works in other programs and it is probably confusing since settings won't be kept between sessions if you don't click Save.
The OK button should save the settings to disk and then do the same things as before.
Instead the Save button should moved up to the right corner to be besides the new Open button. That way you can see your changes in the file(s) if you click Save and then Open.

Hi @ErikMogensen I'm good with that, this should be an easy one, let's do it at the next round of changes :)

Looking further into this - I suggest:

Renaming the Save button to Apply
Contrary to what I wrote previously, let the Apply stay at the bottom of the dialog
Switch places between the Apply and the Default buttons


Adding https://www.ecolint.ch

@FlorianGirardEIG Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


fix: specify spingus version

This wasnt the issue, i guess i just have to purge the Cargo.lock file when there is an update (idk if you can find a way to do that automatically?)

The issue is that before it just required any version, however, that allowed the usage of old versions. By specifying it sets it as a minimum.


Arrow Keys Cause Enterbox to Return NoneType

When using an enterbox(), if the user uses arrow keys to navigate the text within the text field, an AttributeError is thrown and the return is NoneType. Stacktrace:
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\Joel\AppData\Local\Programs\Python\Python38-32\lib\tkinter\__init__.py", line 1883, in __call__
    return self.func(*args)
  File "C:\Users\Joel\AppData\Local\Programs\Python\Python38-32\lib\site-packages\easygui\boxes\base_boxes.py", line 27, in tabLeft
    boxRoot.event_generate("<Shift-Tab>")
AttributeError: 'NoneType' object has no attribute 'event_generate'

I am getting the same error on my Windows PC running python. All the arrow keys still work in the text box except for the exception being thrown whenever I press the arrow keys.
Thank you.

I also am seeing this error.  Is there a fix out somewhere?  Or at least a way to suppress this error message?

Hi! I think I found a solution to it (PR #222).
@zadacka


Using a button as dropdown trigger results in nested buttons

This results in a console error:
Warning: validateDOMNesting(...): <button> cannot appear as a descendant of <button>.

Fixed but I don't know in which release


Update tableau-reader to 10.2.2

After making all changes to the cask:

[x] `brew cask audit --download {{cask_file}}` is error-free.
[x] `brew cask style --fix {{cask_file}}` left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as c98c8e6df9e91992fa7360e777b11d25097137ac. Your contribution is still credited to you.


tf.math.floormod performance issue

Issue type
Performance
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
v2.13.0-rc2-7-g1cb1a030a62 2.13.0
Custom code
No
OS platform and distribution
20.04.1-Ubuntu
Mobile device
No response
Python version
3.8.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA Version: 11.6
GPU model and memory
Tesla V100
Current behavior?
Dear Tensorflow support,
I found that the tf.math.floormod function is very slow for the tensors of float dtype, even if the size of the tensor is very small, in my case, only 6. The platform is a powerful server with GPU acceleration, but the performance is much slower than an old laptop.
Output on server, 20.04.1-Ubuntu, GPU accelerated, TensorFlow version 2.13.0

tf.math.floormod float cost: 1.0610415935516357 seconds
tf.math.floormod int cost: 0.005458354949951172 seconds

Output on laptop, Windows 10, cpu-only, TensorFlow version 2.10.0 :

tf.math.floormod float cost: 0.002992391586303711 seconds
tf.math.floormod int cost: 0.006021261215209961 seconds

Could you please check this issue?
Thanks!
Standalone code to reproduce the issue
import tensorflow as tf
import time
PI = 3.141592653589793

random_tensor = tf.random.uniform(shape=(1, 6), minval=-PI*2, maxval=PI*2, dtype=tf.float32)
start_time = time.time()
random_tensor = tf.math.floormod(random_tensor+PI, 2*PI)-PI
print(f"tf.math.floormod float cost: {time.time() - start_time} seconds")

random_tensor = tf.random.uniform(shape=(1, 6), minval=-200, maxval=200, dtype=tf.int32)
start_time = time.time()
random_tensor = tf.math.floormod(random_tensor+100, 2*100)-100
print(f"tf.math.floormod int cost: {time.time() - start_time} seconds")

Relevant log output
No response

@JinJiefeng,
I tried to execute the mentioned code on latest tensorflow v2.15 and observed that the output for both GPU and CPU are not much difference for tf.math.floormod float and int. Kindly find the gist of it here. Thank you!


implement DoubleEndedStream

Ref #129. This is the most basic version of the DoubleEndedStream trait. Because there is no counterpart in futures-rs we allow this to be implementable (not sure if we should though?).
This is not a high-priority trait to implement, with probably the most useful addition being the blanket impl over std::iter::Fuse (where we should have a Fuse counterpart for Stream also).
So I'm taking this one step at the time, and this PR introduces just the bare minimum to get things working. Thanks!
r? @stjepang @taiki-e
Refs

https://doc.rust-lang.org/std/iter/trait.DoubleEndedIterator.html
#129

By the way, I wonder -- do you perhaps have an example use case for double-ended streams?

Not anything concretely; but it generally seems like a nice thing to have.
One could imagine having a stream of tables queried from a database. In which case sometimes we want to go forward, but sometimes also backwards. This would allow us to implement that conveniently.

Implemented the feedback and marked this API as unstable so we get some wiggle room to change things even after 1.0.

bors r+


gii generators generate broken code

Most (if not all) classes generated by with Gii are broken because separators are missing in the generated code. A typical result is invalide PHP code like this :
namespaceapp\modules\users;

classModuleextends \yii\base\Module
     {
    [etc...]

NB : I'm going to fix it in my own current project. I'll send you a pull request here asap if the issue is still unaffected

Are you sure? I've just tried generating module with Gii and resulting class was OK.

Yes, I'm sure. I've set up a fresh install this morning with composer (basic app) and the bug shows.
I fixed the files in the gii extension in my project & now it works fine.
BTW, I've just spotted the yiisoft/yii2-gii sub-project, I should have opened the issue there...
What version do you have ?

OK, I cloned & checked yiisoft/yii2-gii and the files are OK.
OTOH, it looks like my editor (PHPStorm) removes spaces before the <?= tag when reformating the code. My bad.
You can close this issue, then.


Handle Ethiopic wordspace U+1361

Ethiopic text does not look so great yet in SILE; could it be fixed?
The main problem is the (non)treatment of the Ethiopic wordspace character U+1361. Similar to Latin whitespace, it should get some glue in line layout. See http://www.unicode.org/L2/L2015/15148-ethiopic-wordspace.pdf for a nice overview.
Authors can probably work around the lack of support for Ethiopic whitespace by artificially inserting U+0020 before/after U+1361 into the document sources. But it would be nice if SILE could handle Ethiopic wordspace without such hacks. Ideally, SILE would automatically handle U+1361 correctly, without having to load any special code modules or depending on the declared language.
Here’s a sample document to reproduce the problem. Text is from Unicode UDHR project, fonts from Noto.
\begin{document}
% https://noto-website-2.storage.googleapis.com/pkgs/NotoSansEthiopic-unhinted.zip
\font[language=am,filename=NotoSansEthiopic-Regular.ttf]
አንቀጽ፡፩፤የሰው፡ልጅ፡ሁሉ፡ሲወለድ፡ነጻና፡በክብርና፡በመብትም፡እኩልነት፡ያለው፡ነው።፡የተፈጥሮ፡ማስተዋልና፡ሕሊና፡ስላለው፡አንዱ፡ሌላውን፡በወንድማማችነት፡መንፈስ፡መመልከት፡ይገባዋል።አንቀጽ፡፪፤እያንዳንዱ፡ሰው፡የዘር፡የቀለም፡የጾታ፡የቋንቋ፡የሃይማኖት፡የፖለቲካ፡ወይም፡የሌላ፡ዓይነት፡አስተሳሰብ፡የብሔራዊ፡ወይም፡የኀብረተሰብ፡ታሪክ፡የሀብት፡የትውልድ፡ወይም፡የሌላ፡ደረጃ፡ልዩነት፡ሳይኖሩ፡በዚሁ፡ውሳኔ፡የተዘረዘሩት፡መብቶችንና፡ነጻነቶች፡ሁሉ፡እንዲከበሩለት፡ይገባል።ከዚህም፡በተቀረ፡አንድ፡ሰው፡ከሚኖርበት፡አገር፡ወይም፡ግዛት፡የፖለቲካ፡የአገዛዝ፡ወይም፡የኢንተርናሽናል፡አቋም፡የተነሳ፡አገሩ፡ነጻም፡ሆነ፡በሞግዚትነት፡አስተዳደር፡ወይም፡እራሱን፡ችሎ፡የማይተዳደር፡አገር፡ተወላጅ፡ቢሆንም፡በማንኛውም፡ዓይነት፡ገደብ፡ያለው፡አገዛዝ፡ሥር፡ቢሆንም፡ልዩነት፡አይፈጸምበትም።አንቀጽ፡፫፤እያንዳንዱ፡ሰው፡የመኖር፣፡በነጻነትና፡በሰላም፡የመኖሩ፡መጠበቅ፡መብት፡አለው።አንቀጽ፡፬፤ማንም፡ሰው፡ቢሆን፡በባርነት፡አይገዛም።፡ባርነትና፡የባሪያ፡ንግድም፡በማንኛውም፡ዓይነት፡ክልክል፡ነው።አንቀጽ፡፭፤ማንም፡ሰው፡ቢሆን፡የጭካኔ፡ስቃይ፡እንዳይደርስበት፡ወይም፡ከሰብዓዊ፡አፈጻጸም፡ውጭ፡የሆነ፡የተዋረድ፡ተግባር፡ወይም፡ቅጣት፡አይፈጸምበትም።አንቀጽ፡፮፤እያንዳንዱ፡ሰው፡በሕግ፡ፊት፡በሰው፡ዘርነቱ፡የመታወቅ፡መብት፡አለው።አንቀጽ፡፯፤ሰው፡ሁሉ፡በሕግ፡ፊት፡እኩል፡ነው።፡ያለአንዳች፡ልዩነትም፡ሕጉ፡ደህንነቱን፡እንዲጠበቅለት፡እኩል፡የሆነ፡መብት፡አለው።፡ይህንን፡ውሳኔ፡በመጣስ፡ከሚደረግ፡ልዩነት፡ለማድረግ፡ከሚነሳሳ፡እንዲጠበቅ፡ሁሉም፡የእኩል፡መብት፡አለው።፡አንቀጽ፡፰፤እያንዳንዱ፡ሰው፡በሕገ፡መንግስቱ፡ወይም፡በሕግ፡የተሰጡትን፡መሠረታዊ፡መብቶች፡ከሚጥሱ፡ድርጊቶች፡ከፍተኛ፡በሆኑ፡ብሔራዊ፡የፍርድ፡ባለስልጣኖች፡ፍጹም፡በሆነ፡መንገድ፡እንዲወገድለት፡መብት፡አለው።አንቀጽ፡፱፤ማንም፡ሰው፡ያለፍርድ፡ተይዞ፡እንዲታሰር፡ወይም፡በግዛት፡እንዲኖር፡አይደረግም።አንቀጽ፡፲፤እያንዳንዱ፡ሰው፡በመብቶቹና፡በግዴታዎቹ፡አፈጻጸም፡እንዲሁም፡በሚከሰስበት፡ማንኛውም፡ዓይነት፡የወንጀል፡ክስ፡ነጻ፡በሆነና፡በማያዳላ፡የፍርድ፡ሸንጎ፡በትክክለኛና፡በይፋ፡ጉዳዩ፡እንዲሰማለት፡የሙሉ፡እኩልነት፡መብት፡አለው።አንቀጽ፡፲፩፤በወንጀል፡ክስ፡የተከሰሰ፡ማንኛውም፡ሰው፡ለመከላከያው፡አስፈላጊዎች፡የሆኑትን፡ሁሉ፡አቅርቦ፡በሚከራከርበት፡የይፋ፡ፍርድ፡ቤት፡በሕግ፡መሠረት፡ወንጀለኛ፡መሆኑ፡እስቲረጋገጥበት፡ድረስ፡ከወንጀል፡ነጻ፡እንደሆነ፡የመቆጠር፡መብት፡አለው።ማንም፡ሰው፡በብሔራዊ፡ወይም፡በኢንተርናሽናል፡ሕግ፡አንድ፡ነገር፡ወንጀል፡ሆኖ፡ባልተደነገገበት፡ጊዜ፡በፈጸመው፡ወይም፡ባልፈጸመው፡ማንኛውም፡ሥራ፡ወንጀለኛ፡ሆኖ፡አይከሰስም።፡ወይም፡ወንጀሉ፡በተፈጸመበት፡ጊዜ፡ከተደነገገው፡ቅጣት፡ይበልጥ፡አይፈረድበትም።አንቀጽ፡፲፪፤ማንም፡ሰው፡በግል፡ኑሮው፡በቤተሰቡ፡ውስጥ፡በቤቱ፡ወይም፡በሚጻጻፈው፡ደብዳቤ፡በፍርድ፡ያልተለየ፡ጣልቃ፡ገብነት፡ወይም፡ክብሩን፡የሚነካና፡ስሙን፡የሚያጎድፍ፡ተቃውሞ፡አይፈጸምበትም።፡እያንዳንዱ፡ሰው፡ከእንደዚህ፡ያለ፡ጣልቃ፡ገብነት፡ወይም፡የሚጎዳ፡ተግባር፡ሕግ፡እንዲከላከልለት፡መብት፡አለው።፡አንቀጽ፡፲፫፤እያንዳንዱ፡ሰው፡በየብሔራዊ፡ወሰን፡ክልሉ፡የመዘዋወርና፡የመኖር፡ነጻነት፡መብት፡አለው።እያንዳንዱ፡ሰው፡ከማንኛውም፡አገር፡ሆነ፡ከራሱ፡አገር፡ወጥቶ፡እንደገና፡ወደ፡አገሩ፡የመመለስ፡መብት፡አለው።አንቀጽ፡፲፬፤እያንዳንዱ፡ሰው፡ከጭቆና፡ሸሽቶ፡በሌሎች፡አገሮች፡ጥገኝነትን፡የመጠየቅና፡በደህና፡የመኖር፡መብት፡አለው።ፖለቲካዊ፡ካልሆኑ፡ወንጀሎች፡ወይም፡የተባበሩት፡መንግሥታት፡ድርጅት፡ዋና፡ዓላማዎችን፡ከሚቃረኑ፡ሥራዎች፡የተነሳ፡በሚደርሱ፡ክሶች፡ምክንያት፡ከሆነ፡ይህ፡መብት፡ሊያገለግል፡አይችልም።አንቀጽ፡፲፭፤እያንዳንዱ፡ሰው፡የዜግነት፡መብት፡አለው።ማንም፡ሰው፡ያለፍርድ፡ዜግነቱ፡አይወሰድበትም፡ወይም፡ዜግነቱን፡የመለወጥ፡መብት፡አይነፈገውም።

% https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-unhinted.zip
\font[language=en,filename=NotoSans-Regular.ttf]
For contrast, here is a long paragraph in English that gets justified
very nicely. Universal Declaration of Human Rights Preamble Whereas
recognition of the inherent dignity and of the equal and inalienable
rights of all members of the human family is the foundation of
freedom, justice and peace in the world, Whereas disregard and
contempt for human rights have resulted in barbarous acts which have
outraged the conscience of mankind, and the advent of a world in which
human beings shall enjoy freedom of speech and belief and freedom from
fear and want has been proclaimed as the highest aspiration of the
common people, Whereas it is essential, if man is not to be compelled
to have recourse, as a last resort, to rebellion against tyranny and
oppression, that human rights should be protected by the rule of law,
Whereas it is essential to promote the development of friendly
relations between nations, Whereas the peoples of the United Nations
have in the Charter reaffirmed their faith in fundamental human
rights, in the dignity and worth of the human person and in the equal
rights of men and women and have determined to promote social progress
and better standards of life in larger freedom, Whereas Member States
have pledged themselves to achieve, in co‐operation with the United
Nations, the promotion of universal respect for and observance of
human rights and fundamental freedoms, Whereas a common understanding
of these rights and freedoms is of the greatest importance for the
full realization of this pledge, Now, therefore, The General Assembly
Proclaims this Universal Declaration of Human Rights as a common
standard of achievement for all peoples and all nations, to the end
that every individual and every organ of society, keeping this
Declaration constantly in mind, shall strive by teaching and education
to promote respect for these rights and freedoms and by progressive
measures, national and international, to secure their universal and
effective recognition and observance, both among the peoples of Member
States themselves and among the peoples of territories under their
jurisdiction.  Article 1 All human beings are born free and equal in
dignity and rights. They are endowed with reason and conscience and
should act towards one another in a spirit of brotherhood.  Article 2
Everyone is entitled to all the rights and freedoms set forth in this
Declaration, without distinction of any kind, such as race, colour,
sex, language, religion, political or other opinion, national or
social origin, property, birth or other status.  Furthermore, no
distinction shall be made on the basis of the political,
jurisdictional or international status of the country or territory to
which a person belongs, whether it be independent, trust,
non‐self‐governing or under any other limitation of sovereignty.
Article 3 Everyone has the right to life, liberty and the security of
person.  Article 4 No one shall be held in slavery or servitude;
slavery and the slave trade shall be prohibited in all their forms.
Article 5 No one shall be subjected to torture or to cruel, inhuman or
degrading treatment or punishment.  Article 6 Everyone has the right
to recognition everywhere as a person before the law.  Article 7 All
are equal before the law and are entitled without any discrimination
to equal protection of the law. All are entitled to equal protection
against any discrimination in violation of this Declaration and
against any incitement to such discrimination.

\end{document}

Here is the PDF, as rendered by current SILE.
Bug-280-U1361.pdf

The problem here is that SILE does the correct thing according to the Unicode definition of U+1361, which is that it is a break-after non-spacing character, and that Unicode is busted; the proposal you mentioned explained why this gives undesirable output. But I don't think SILE should unilaterally fix Unicode's bugs on a character-by-character basis - that's neither smart nor sustainable.
So while it would be lovely to be able to fix this without any special treatment, we need some special treatment somewhere and I think the right place to do that would be in an Ethiopic tokenizer. Implementing language-specific typesetting expectations is precisely what the language support system is for, so I suggest we use it. :-)

Have a look at your example using the latest HEAD. I also plan to support the "centered-style" justification mentioned in the Unicode proposal. To me, the fact that there are multiple possibilities for how Amharic should be justified (and an option that we should expose to the user) really confirms that this is something best handled at the language support layer.


Custom Toolbar wraps to new line with wide content

When we add an item to the custom toolbar that is too wide it causes the buttons to wrap down to the next line.
Expected Behavior
When there is plenty of whitespace available to keep the button on the same line, it should not wrap to a new line.
Current Behavior
Because the flex properties are set the way they are, there is wrapping.  Here is the relevant code:
https://github.com/gregnb/mui-datatables/blob/master/src/components/TableToolbar.js#L21-L27
Is there any reason why these properties are set this way?  How about something like this:
  left: {
    flex: '1 1 auto',
  },
  actions: {
    flex: '0 0 auto',
    textAlign: 'right',
  },

Steps to Reproduce (for bugs)
https://codesandbox.io/s/l3143o787?fontsize=14

Took the code sandbox example from the documentation
Added a wide item as a custom toolbar

Your Environment

Tech
Version

Material-UI
^3.9.2

MUI-datatables
2.0.0-beta.56

React
16.6

browser
Chrome

@rossknudsen No good reason. Can you send in a PR?

No problem, here you go.

PR merged.  Thanks heaps.


add code cov

#15

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c9e6aaf). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #16   +/-   ##
=========================================
  Coverage          ?   10.76%
=========================================
  Files             ?        6
  Lines             ?      353
  Branches          ?       12
=========================================
  Hits              ?       38
  Misses            ?      311
  Partials          ?        4

Impacted Files
Coverage Δ

src/wrapper/runnable.ts
0% <ø> (ø)

src/wrapper/esmodule.ts
100% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9e6aaf...ffaf61c. Read the comment docs.


Fix transform origin

The typescript type on transformOrigin is very weak
  transformOrigin?: Array<string | number> | string | undefined;

https://github.com/facebook/react-native/blob/4165884b700341ba549ed8385480fd98128e7bb1/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts#L296
Compare to the processTransformOrigin function that analyse the transformOrigin value on DEV mode
https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/StyleSheet/processTransformOrigin.js

Ok, I get the split in x and y 👍, but can't we keep | @as("left") Left instead of | @as("0%") Left?

No because I found that those keywords aren't handled in the array syntax :(
(that's why I split the change in 2  different commits)
I'll open an issue on the react-native repo, but, since the processTransformOrigin function transform those keywords to 0%, 50% and 100% for the string syntax. I think it's ok to be handled these way, instead of removing the keywords.


Double comments

Sometimes the bot makes two source comments.

https://www.reddit.com/r/ImagesOfIndia/comments/4fa09w
https://www.reddit.com/r/ImagesOfIndia/comments/4fa0ne

https://www.reddit.com/r/ImagesOfWisconsin/comments/4gizhy/madison_wisconsin_north_carroll_street_ca_1890/

https://www.reddit.com/r/ImagesOfDelaware/comments/4go8x1/greeks_mourning_their_dead_after_turks_set_fire/

sighs
https://www.reddit.com//r/ImagesOfVermont/comments/4h1use/university_of_vermont_burlington_vermont_ca_1903/

#27 Doesn't seem to have fixed this:

https://www.reddit.com/r/ImagesOfGeorgia/comments/4hhm7p/pulaski_house_savannah_georgia_1906_pulaski_house/

https://www.reddit.com/r/ImagesOfCalifornia/comments/4hhtze/on_the_ruins_april_1906_chinatown_san_francisco/


runtests-watch runs nothing in modern Node

Bug Report
🔎 Search Terms
runtests-watch, uv_signal_start EINVAL, SIGKILL
🕗 Version & Regression Information
Haven't bothered to try this outside of main, as it's only a tooling issue.
⏯ Playground Link
N/A, purely dev tooling.
💻 Code
$ hereby runtests-watch --tests=tests/cases/compiler/2dArrays.ts

🙁 Actual behavior
Errors immediately and runs nothing:
Using ~/git/TypeScript/Herebyfile.mjs to run runtests-watch
Starting generate-diagnostics
> /Users/peeja/.nvm/versions/node/v16.14.2/bin/node scripts/processDiagnosticMessages.mjs src/compiler/diagnosticMessages.json
Starting lib
Reading diagnostics from src/compiler/diagnosticMessages.json
Finished lib in 78ms
Finished generate-diagnostics in 126ms
Starting watch-tests
Warning: watch mode is incomplete and may not work as expected. Use at your own risk.
Finished watch-tests in 13ms
[watch] build finished, watching for changes...
Starting runtests-watch
Error in runtests-watch in 5ms
Error: uv_signal_start EINVAL
Completed runtests-watch with errors in 145ms

🙂 Expected behavior
Runs the tests:
Using ~/git/TypeScript/Herebyfile.mjs to run runtests-watch
Starting generate-diagnostics
> /Users/peeja/.nvm/versions/node/v16.14.2/bin/node scripts/processDiagnosticMessages.mjs src/compiler/diagnosticMessages.json
Starting lib
Reading diagnostics from src/compiler/diagnosticMessages.json
Finished lib in 79ms
Finished generate-diagnostics in 110ms
Starting watch-tests
Warning: watch mode is incomplete and may not work as expected. Use at your own risk.
[watch] build finished, watching for changes...
Finished watch-tests in 14ms
Starting runtests-watch
[watch] cleaning test directories...
[watch] running tests...
<...test output...>

Reason
Error: uv_signal_start EINVAL is throwing because we're trying to listen for a SIGKILL, which is nonsensical (as your handler will never have a chance to run) and expressly disallowed in newer Node versions.

And by "newer Node versions" it seems you mean "anything from 2013 or later" 😜


Fuzz test against rustc

This is a long shot and I have absolutely no expectation that it will be implemented, but it is a cool idea, if nothing else.  Feel free to close it if you don’t think it would be a good use of time.
The idea is to fuzz-test mrustc against rustc.  If mrustc rejects a program rustc accepts, or if they produce different outputs for the same code, either one of them is buggy or the source program has UB.  But safe Rust cannot have UB, so as long as all of the fuzz inputs do not use unsafe, all such differences will be bugs.

if they produce different outputs for the same code, either one of them is buggy or the source program has UB. But safe Rust cannot have UB, so as long as all of the fuzz inputs do not use unsafe, all such differences will be bugs.

It is not an accurate conclusion that absence of UB implies totally reproducible behavior across different toolchains, or even across consecutive invocations of mrustc or rustc. Example: random number generators. Or simpler: it would be extremely unusual for the following program to print the same number across different toolchains:
fn main() {
    println!("{}", main as usize);
}

It may be possible to compare them without needing the binaries to be bit-for-bit identical. main may have a different address, but if one compiler builds the program successfully and the other one raises an error that would be an indication of a problem.
It may be possible to do some more advanced analysis than that too, but I'd have to think about it.

It may be possible to compare them without needing the binaries to be bit-for-bit identical. main may have a different address, but if one compiler builds the program successfully and the other one raises an error that would be an indication of a problem.
It may be possible to do some more advanced analysis than that too, but I'd have to think about it.

I believe that if we ban converting pointers to integers, the results (for safe Rust) should be deterministic in a significant fraction of cases.

A potentially interesting way of finding compiler crashes, but definitely not something for the near/medium future (where correctness is the goal - which isn't really something fuzzable, see the main as usize above).
Closing mostly to keep the issue list clear.


Fix table spacing

Remove right padding from last table cells.
I also removed the color declaration as it isn't necessary.
What problem does the pull request solve?
This is a design-y problem. Can a designer please fill this section in and explain what the problem is? @edwardhorsford raised it.
Ed: it makes things look neater, and matches the padding (or lack thereof) used on the other side.
Screenshots
Before

After

What type of change is it?

Bug fix (non-breaking change which fixes an issue)

I'm not 100% sure if it's a breaking change? If it is, it's only breaking things minimally.

Thanks @selfthinker & @edwardhorsford 👍


Move all translation from pl-PL to master

It was supposed to be inside organization the repository
Accidental click, sorry for the confusion


When are going to get the ASE terraform environment plan

We are waiting for it

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

ID: fb26c6d6-dfeb-fc3d-b511-a0677abdcb44
Version Independent ID: be6048bf-bf9b-9e48-f24a-9e3df8141013
Content: Plan Azure virtual networks
Content Source: articles/virtual-network/virtual-network-vnet-plan-design-arm.md
Service: virtual-network
GitHub Login: @jimdial
Microsoft Alias: jdial

@rifaterdemsahin Just to clarify, are you asking when Terraform will support App Service Environments?

@rifaterdemsahin We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Adding a cask for nbviewer-app

Hi.
This app is really useful and I love it :)
However downloading nbviewer-app.zip to install and update the app is little inconvenient.
I think it would be great if installation and upgrade could be done with homebrew-cask.
Could you please support it?

Good point. I just submitted a PR: https://github.com/caskroom/homebrew-cask/pull/39756.

Thank you!

@tuxu, can you document this in the README? I was searching for brew cask search nbviewer when I first came across this app. thanks!

@AlJohri Done!


[Bug]: Backup now working at all

Is there an existing issue already for this bug?

[x] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[x] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[x] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
No response
Version
1.24.0
What version of Kubernetes are you using?
1.31
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
YAML manifest
What happened?
Just setup the most basic cluster with backup using s3 from hetzner
Cluster resource
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: timescaledb-prod-cluster
  namespace: telemetry-harbor-prod-db
spec:
  description: "Production-ready TimescaleDB Cluster with Longhorn Storage"
  imageName: ghcr.io/clevyr/cloudnativepg-timescale:16
  instances: 3
  storage:
    storageClass: longhorn-postgres-replica-storage
    size: 10Gi

  nodeMaintenanceWindow:
    reusePVC: false # rebuild from other replica instead

  postgresql:
    shared_preload_libraries:
      - timescaledb
    parameters:
      shared_buffers: 2GB
      work_mem: "128MB"
      maintenance_work_mem: "256MB"
      effective_cache_size: "6GB"
      max_worker_processes: "8"
      max_parallel_workers_per_gather: "4"
      max_parallel_workers: "8"
      random_page_cost: "1.1" # Optimized for SSD
      effective_io_concurrency: "200" # Optimized for SSD
      timescaledb.max_background_workers: "16"
      timescaledb.max_parallel_workers: "8"
      timescaledb.last_tune_version: "3.0.2"
    pg_hba:
      - host all all <IP_ADDRESS>/0 md5

  enableSuperuserAccess: true
  superuserSecret:
    name: timescaledb-superuser

  bootstrap:
    initdb:
      postInitTemplateSQL:
        - CREATE EXTENSION IF NOT EXISTS timescaledb;
      database: harbor
      owner: ship
      secret:
        name: timescaledb-app-user

  backup:
    barmanObjectStore:
      destinationPath: s3://timescaledb-backup/
      endpointURL: https://telemetryharbor1.hel1.your-objectstorage.com
      s3Credentials:
        accessKeyId:
          name: backup-creds
          key: ACCESS_KEY_ID
        secretAccessKey:
          name: backup-creds
          key: ACCESS_SECRET_KEY
      wal:
        compression: gzip
      data:
        compression: gzip
        immediateCheckpoint: true
        jobs: 4 # Increased for better performance
    retentionPolicy: "30d"

Relevant log output
{"level":"info","ts":"2024-12-12T15:39:50.526713962Z","msg":"WAL archiving is working","logging_pod":"timescaledb-prod-cluster-2"}
{"level":"info","ts":"2024-12-12T15:39:50.55687239Z","msg":"Starting barman-cloud-backup","backupName":"timescaledb-prod-cluster","backupNamespace":"telemetry-harbor-prod-db","logging_pod":"timescaledb-prod-cluster-2","options":["--user","postgres","--name","backup-20241212153950","--endpoint-url","https://telemetryharbor1.hel1.your-objectstorage.com","--cloud-provider","aws-s3","s3://timescaledb-backup/","timescaledb-prod-cluster"]}
{"level":"info","ts":"2024-12-12T15:39:56.432437112Z","msg":"Backup completed","backupName":"timescaledb-prod-cluster","backupNamespace":"timescaledb-prod-cluster","logging_pod":"timescaledb-prod-cluster-2"}
{"level":"error","ts":"2024-12-12T15:39:57.359607147Z","logger":"barman","msg":"Can't extract backup id","backupName":"timescaledb-prod-cluster","backupNamespace":"telemetry-harbor-prod-db","logging_pod":"timescaledb-prod-cluster-2","command":"barman-cloud-backup-show","options":["--format","json","--endpoint-url","https://telemetryharbor1.hel1.your-objectstorage.com","--cloud-provider","aws-s3","s3://timescaledb-backup/","timescaledb-prod-cluster","backup-20241212153950"],"stdout":"","stderr":"2024-12-12 15:39:57,223 [16113] ERROR: Barman cloud backup show exception: Unknown backup 'backup-20241212153950' for server 'timescaledb-prod-cluster'\n","error":"exit status 4","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\tpkg/mod/github.com/cloudnative-pg/machinery@v0.0.0-20241014090714-c27747f9974b/pkg/log/log.go:125\ngithub.com/cloudnative-pg/barman-cloud/pkg/command.executeQueryCommand\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/command/backuplist.go:88\ngithub.com/cloudnative-pg/barman-cloud/pkg/command.GetBackupByName\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/command/backuplist.go:141\ngithub.com/cloudnative-pg/barman-cloud/pkg/backup.(*Command).GetExecutedBackupInfo\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/backup/backup.go:153\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres.(*BackupCommand).takeBackup\n\tpkg/management/postgres/backup.go:244\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres.(*BackupCommand).run\n\tpkg/management/postgres/backup.go:173"}
{"level":"error","ts":"2024-12-12T15:39:57.359748503Z","msg":"Backup failed","backupName":"timescaledb-prod-cluster","backupNamespace":"timescaledb-prod-cluster","logging_pod":"timescaledb-prod-cluster-2","error":"exit status 4","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\tpkg/mod/github.com/cloudnative-pg/machinery@v0.0.0-20241014090714-c27747f9974b/pkg/log/log.go:125\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres.(*BackupCommand).run\n\tpkg/management/postgres/backup.go:177"}
{"level":"info","ts":"2024-12-12T15:39:57.402395221Z","msg":"Applying backup retention policy","backupName":"timescaledb-prod-cluster","backupNamespace":"timescaledb-prod-cluster","logging_pod":"timescaledb-prod-cluster-2","retentionPolicy":"30d"}

Code of Conduct

[x] I agree to follow this project's Code of Conduct

Let's format the logs for easier understanding
{
  "level": "info",
  "ts": "2024-12-12T15:39:50.55687239Z",
  "msg": "Starting barman-cloud-backup",
  "backupName": "timescaledb-prod-cluster",
  "backupNamespace": "telemetry-harbor-prod-db",
  "logging_pod": "timescaledb-prod-cluster-2",
  "options": [
    "--user",
    "postgres",
    "--name",
    "backup-20241212153950",
    "--endpoint-url",
    "https://telemetryharbor1.hel1.your-objectstorage.com",
    "--cloud-provider",
    "aws-s3",
    "s3://timescaledb-backup/",
    "timescaledb-prod-cluster"
  ]
}
{
  "level": "info",
  "ts": "2024-12-12T15:39:56.432437112Z",
  "msg": "Backup completed",
  "backupName": "timescaledb-prod-cluster",
  "backupNamespace": "timescaledb-prod-cluster",
  "logging_pod": "timescaledb-prod-cluster-2"
}
{
  "level": "error",
  "ts": "2024-12-12T15:39:57.359607147Z",
  "logger": "barman",
  "msg": "Can't extract backup id",
  "backupName": "timescaledb-prod-cluster",
  "backupNamespace": "telemetry-harbor-prod-db",
  "logging_pod": "timescaledb-prod-cluster-2",
  "command": "barman-cloud-backup-show",
  "options": [
    "--format",
    "json",
    "--endpoint-url",
    "https://telemetryharbor1.hel1.your-objectstorage.com",
    "--cloud-provider",
    "aws-s3",
    "s3://timescaledb-backup/",
    "timescaledb-prod-cluster",
    "backup-20241212153950"
  ],
  "stdout": "",
  "stderr": "2024-12-12 15:39:57,223 [16113] ERROR: Barman cloud backup show exception: Unknown backup 'backup-20241212153950' for server 'timescaledb-prod-cluster'\n",
  "error": "exit status 4",
  "stacktrace": "github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\tpkg/mod/github.com/cloudnative-pg/machinery@v0.0.0-20241014090714-c27747f9974b/pkg/log/log.go:125\ngithub.com/cloudnative-pg/barman-cloud/pkg/command.executeQueryCommand\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/command/backuplist.go:88\ngithub.com/cloudnative-pg/barman-cloud/pkg/command.GetBackupByName\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/command/backuplist.go:141\ngithub.com/cloudnative-pg/barman-cloud/pkg/backup.(*Command).GetExecutedBackupInfo\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/backup/backup.go:153\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres.(*BackupCommand).takeBackup\n\tpkg/management/postgres/backup.go:244\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres.(*BackupCommand).run\n\tpkg/management/postgres/backup.go:173"
}

From these logs, it looks like the just-completed backup is not present in the S3-compatible storage provided by Hetzner. My first guess is that something in the Hetzner implementation doesn't match the backup system expectations. Can you try to execute a backup using a different cloud service provider? To be on the safe side, I suggest testing with AWS S3.

Let's format the logs for easier understanding
{
"level": "info",
"ts": "2024-12-12T15:39:50.55687239Z",
"msg": "Starting barman-cloud-backup",
"backupName": "timescaledb-prod-cluster",
"backupNamespace": "telemetry-harbor-prod-db",
"logging_pod": "timescaledb-prod-cluster-2",
"options": [
"--user",
"postgres",
"--name",
"backup-20241212153950",
"--endpoint-url",
"https://telemetryharbor1.hel1.your-objectstorage.com",
"--cloud-provider",
"aws-s3",
"s3://timescaledb-backup/",
"timescaledb-prod-cluster"
]
}
{
"level": "info",
"ts": "2024-12-12T15:39:56.432437112Z",
"msg": "Backup completed",
"backupName": "timescaledb-prod-cluster",
"backupNamespace": "timescaledb-prod-cluster",
"logging_pod": "timescaledb-prod-cluster-2"
}
{
"level": "error",
"ts": "2024-12-12T15:39:57.359607147Z",
"logger": "barman",
"msg": "Can't extract backup id",
"backupName": "timescaledb-prod-cluster",
"backupNamespace": "telemetry-harbor-prod-db",
"logging_pod": "timescaledb-prod-cluster-2",
"command": "barman-cloud-backup-show",
"options": [
"--format",
"json",
"--endpoint-url",
"https://telemetryharbor1.hel1.your-objectstorage.com",
"--cloud-provider",
"aws-s3",
"s3://timescaledb-backup/",
"timescaledb-prod-cluster",
"backup-20241212153950"
],
"stdout": "",
"stderr": "2024-12-12 15:39:57,223 [16113] ERROR: Barman cloud backup show exception: Unknown backup 'backup-20241212153950' for server 'timescaledb-prod-cluster'\n",
"error": "exit status 4",
"stacktrace": "github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\tpkg/mod/github.com/cloudnative-pg/machinery@v0.0.0-20241014090714-c27747f9974b/pkg/log/log.go:125\ngithub.com/cloudnative-pg/barman-cloud/pkg/command.executeQueryCommand\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/command/backuplist.go:88\ngithub.com/cloudnative-pg/barman-cloud/pkg/command.GetBackupByName\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/command/backuplist.go:141\ngithub.com/cloudnative-pg/barman-cloud/pkg/backup.(*Command).GetExecutedBackupInfo\n\tpkg/mod/github.com/cloudnative-pg/barman-cloud@v0.0.0-20240924124724-92831d48562a/pkg/backup/backup.go:153\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres.(*BackupCommand).takeBackup\n\tpkg/management/postgres/backup.go:244\ngithub.com/cloudnative-pg/cloudnative-pg/pkg/management/postgres.(*BackupCommand).run\n\tpkg/management/postgres/backup.go:173"
}
From these logs, it looks like the just-completed backup is not present in the S3-compatible storage provided by Hetzner. My first guess is that something in the Hetzner implementation doesn't match the backup system expectations. Can you try to execute a backup using a different cloud service provider? To be on the safe side, I suggest testing with AWS S3.

This my guess, I have been working on this for two days. Tried EVERYTHING. I will test aws now.

We're backing up to Hetzner Object Storage and it works just fine.
You need to correct your endpoint configuration though, the correct manifest should be:
  backup:
    barmanObjectStore:
      destinationPath: s3://telemetryharbor1/timescaledb-backup/
      endpointURL: https://hel1.your-objectstorage.com

That is, you don't include your bucket name in the endpoint URL but put it in the destination instead.

We're backing up to Hetzner Object Storage and it works just fine.
You need to correct your endpoint configuration though, the correct manifest should be:
backup:
barmanObjectStore:
destinationPath: s3://telemetryharbor1/timescaledb-backup/
endpointURL: https://hel1.your-objectstorage.com
That is, you don't include your bucket name in the endpoint URL but put it in the destination instead.

OMG, it worked! it was the endpoint that was making me problems. I wish it was mentioned somewhere. I spent days trying to figure it out. All I saw either error 4 which us related to perms or back up complete but not found. Thank you so much man!


Updated Readme to reflect name changes and status

Signed-off-by: Kelly Olson<EMAIL_ADDRESS>

:( need the sign off @ineffectualproperty .  Can you amend that last commit? Don't add a new commit.


CRTImageDrawer-DedFishy

This is a combination of two different algorithms. First, I have a Python script that will be given an image and output a text document containing monochrome data of that image. It can be configured to different thresholds of whiteness and blackness. Secondly, the JavaScript that runs on the blot will read this image data, generate a map of lines that represent rows of black pixels, and draw them onto the canvas. Due to how much processing is required to create the final image, I feel that this doesn't count as just "dropping an SVG" on the canvas. I know it's not as cool as the actual freaking raytracer that somebody made somehow, but I think that there's a lot of value in this project.
As for me, I began learning with Python, eventually getting into web development as well. This meant that coming into this, I had a lot of experience with JavaScript and Python. I also have learned Java, C#, SQL, and a few other languages.
Here's Rick Astley (it probably is impractical to draw, but there are other images that would work better):

It's cool to demonstrate the rasterization techniques with Blot. Could you implement the image processing in a single HTML file?
There is a similar example here:
https://github.com/hackclub/blot/blob/main/art/BitMap-AdityaPV/Image_to_array_coverter.html

Unfortunately, I am fairly certain it is not possible to make the Blot accept an image file and just print that out without preprocessing.
I am using the Blot editor, so I don't have access to the ability to just write HTML. If there's a way to use a normal HTML document to make Blot programs, that would be cool, but the website is purely JS. A side effect of this is that the necessary functions and classes are not available. To even load an image, I need to create an HTML Image object to put the SRC into and print to an HTML canvas, but neither the Image class or Document class are exposed, so I can't construct one with new Image() or document.createElement('img'). That's why I have a preprocessor, and the example you've linked unfortunately uses document.createElement to accomplish what its doing. If you know how I can write the script with HTML in the Blot editor (perferably since I like to work on this stuff at school, where I only have a locked down Chromebook), please let me know.

@leomcelroy I finally understood what you meant. I've reimplemented the data generation algorithm in HTML. All you have to do is put an image named image.png inside the HTML file's working directory, and open the page. It will generate the blot code and put it on the screen as soo as it loads the image, and then you just need to paste the blot code into a text document for the blot algorithm to read. This should be what you suggested, right?

Can you make sure the files it uses are in the same folder? Also your project.js should be index.js

@leomcelroy I've renamed the file. I'm not sure what you mean by making sure the files it uses are in the same folder. If you mean the data it reads, I still don't know how to add those documents along with the file, and including the data in the JS directly makes the file too big. To fix this, I've been loading the raw files from another GitHub repo: https://github.com/DedFishy/Cheese
Is there a way to include files like that in the Blot editor?

 I've uploaded the files that I used as examples.

@leomcelroy It's been three weeks, any updates on this?

The snapshot is still missing the .png extension.

@leomcelroy I think you're looking at the txt files that contain the image data. The snapshots have a .png extension:

The .txt files are the data output by the preprocessing algorithm I rewrote in JS.

The blot website uses the js file's Metadata to obtain the snapshots for the gallery. There needs to be the extension otherwise the file won't be found

Oh, thanks @BrightTheBackpack ! I have just updated that.
@leomcelroy it all should be up to standard now, I think.

You can order your Blot here.


User Unable to Login - Login Looping

Describe the bug in current situation
A user from economy sector team reported being unable to login after repeated attempts. When user was brought to IDIR login page, they would enter credentials, and would be sent back to the IDIR login page.
User attempted to clear cache, try new browser windows and other common fixes. Issue was eventually resolved on its own, as a developer cleared the user's  sessions from keycloak.
It is unclear how to trigger this bug, as only one user has reported this and have been unable to replicate. User had this issue in both chrome and edge.
Link bug to the User Story
Impact of this bug
So far impacting 1 user - impact to user is high, as they are unable to login and complete tasks when the issue is present.
Chance of Occurring (Unclear)
Unable to replicate - but have visually seen the bug through screensharing. User is not doing anything outside the ordinary, they are using the correct URL and logging in through IDIR as expected
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to production link
Login through IDIR
Get taken back to Login through IDIR

Actual/ observed behaviour/ results
Expected behaviour
GIVEN a user has entered valid credentials for the application
WHEN they login to the system
THEN they will be taken to their Queue homepage
AND the queue will be defaulted to 'My Requests'
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

User reports that he no longer has the issue.


[Feature Request]: Resize netwoks on the fly

Hi,
Do you plan to change the present paradigm about tensorflow neural network that make the networks size to be static after using run ?
Is it plan to be able to resize on the fly the network shape (number of kernels, type of activation function, type of down sampling) during the training for instance.
Thanks.

I can't speak authoritatively on this subject, but I'm not aware of any such plans at the moment. I also can't say for certain whether or not it would be possible.
I might be able to help you better if you shared a specific example of something you want to do with TensorFlow, but currently can't do, unless the paradigm changes.

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


Update specs2-core, specs2-scalacheck to 4.9.2

Updates

org.specs2:specs2-core
org.specs2:specs2-scalacheck

from 4.3.6 to 4.9.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

labels: test-library-update, semver-minor

Superseded by #103.

Superseded by #103.