Add Icons to Footer

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
@singodiyashubham87   i would like add rate us on footer so when user click on that they will head to new page as i kept an screenshot before like that page will be appear in an attractive way according to our website still i didn't improved that much only i added rate us option on footer

Use Case
It will make our Website to look Attractive
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I'm a SSOC'24 contributor
[X] I want to work on this issue

Duplicate of #385

Actually i thought i created a new issue but later i understood i raised it in #385
Later i again raised another issue anyway no problem @singodiyashubham87


Make code functional

use reduce not for-loop

Thanks for the help but I've decided not to include this PR based on the above conversation.


Gradle 8: property 'outputDirectory' has @Input annotation used on property of type 'DirectoryProperty'.

Maybe you are already aware but when using JReleaser with Gradle 8 I get:
* What went wrong:
A problem was found with the configuration of task ':jreleaserFullRelease' (type 'JReleaserFullReleaseTask').
  - In plugin 'org.jreleaser' type 'org.jreleaser.gradle.plugin.tasks.JReleaserFullReleaseTask' property 'outputDirectory' has @Input annotation used on property of type 'DirectoryProperty'.

    Reason: A property of type 'DirectoryProperty' annotated with @Input cannot determine how to interpret the file.

    Possible solution: Annotate with @InputDirectory for directories.

    Please refer to https://docs.gradle.org/8.0/userguide/validation_problems.html#incorrect_use_of_input_annotation for more details about this problem.

This was fixed in 978d0148 😅
https://github.com/jreleaser/jreleaser/blob/15dede46e2baaf6458784746e4a9fb3c7e2f2907/plugins/jreleaser-gradle-plugin/src/main/groovy/org/jreleaser/gradle/plugin/tasks/AbstractJReleaserTask.groovy#L64-L65


Points placeholder with shop

*Detailed description of the issue:
The total points and points placeholders on PAPI match after purchasing stuff from the jobs shop with points. The expected behavior is that total stays and only points change. (%jobsr_user_total_points% and %jobsr_user_points%)

Jobs version:  <IP_ADDRESS>
Server Type (Spigot/Paper/etc): Purpur
Server Version (using /ver): Current: git-Purpur-2050 (MC: 1.20.1)
Relevant plugins (Delete if this isn't needed): EssentialsX and Vault: 1.7.3-b131

559fc9d4abe227b49e17b3a779bf7b4cca24c3f6


"Invalid channel ID" exception on unit test by using DialogTestBase

System Information (Required)

SDK Language: C#
SDK Version: 3.8.1
Development Environment: LOCALHOST

Issue Description
I just begin to introduce unit test into my bot.
And I use the project https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Sample.Tests/EchoBotTests.cs by inheriting from the class DialogTestBase to make my test.
But I have an error when I wish to get back the object BotData : Invalid channel ID
Code Example

Have you an idea how I can solve that?
Thx

If you have a look to MakeTestMessage method here, you will see that they setup Test as ChannelId. It is not a valid value, so you will not be able to access BotState for this value, hence the exception.
public static IMessageActivity MakeTestMessage()
{
	return new Activity()
	{
		Id = Guid.NewGuid().ToString(),
		Type = ActivityTypes.Message,
		From = new ChannelAccount { Id = ChannelID.User },
		Conversation = new ConversationAccount { Id = Guid.NewGuid().ToString() },
		Recipient = new ChannelAccount { Id = ChannelID.Bot },
		ServiceUrl = "InvalidServiceUrl",
		ChannelId = "Test",
		Attachments = Array.Empty<Attachment>(),
		Entities = Array.Empty<Entity>(),
	};
}

If you want to use BotData in your tests, you may have to use real channel, so maybe switch to directline for your tests.

Hi @KIBASSA
Note: The default state service is not intended for production bots.  Please use the Azure Extensions, or implement your own state client.  https://github.com/Microsoft/BotBuilder-Azure  Here is a blog post explaining how to use the azure extensions: https://blog.botframework.com/2017/07/18/Saving-State-Azure-Extensions/  (there's a redis implementation here: https://github.com/ankitbko/Microsoft.Bot.Builder.RedisStore )
More directly towards your question:
For testing, you can use the InMemoryDataStore as is done here:
https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Builder.Tests/BotTests.cs#L845
 builder
   .RegisterType<InMemoryDataStore>()
   .Keyed<IBotDataStore<BotData>>(typeof(ConnectorStore))
   .SingleInstance();

The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repo  is the preferred platform for submitting bug fixes and feature requests.

I have closed this issue.  If more clarification is needed, please ask on Stack Overflow so the entire community can benefit.


Not possible to use IMU based extrapolator

Hi all,
I tried to use the IMU based extrapolator. But I get a "Not implemented!" error. It looks like this error still gets thrown if you set the option to true, even so the implementation was added in the mean time. Is this the intended behavior?
https://github.com/cartographer-project/cartographer/blob/018dded2f9a0adb7e77003d05662ada251b541f5/cartographer/mapping/pose_extrapolator_interface.cc#L87-L92
Thanks

@wohe @schwoere From a quick look, this looks like an unnoticed bug in PR #1732 to me because the extrapolator is implemented but it's unreachable code. Can you clarify this?

@wohe @schwoere From a quick look, this looks like an unnoticed bug in PR #1732 to me because the extrapolator is implemented but it's unreachable code. Can you clarify this?

@kfabian @MichaelGrupp You are right, this is not the intended behavior. I sent a PR to fix it. Note though, that the IMU based extrapolator probably needs some testing/tuning to make it useful.

@kfabian @MichaelGrupp You are right, this is not the intended behavior. I sent a PR to fix it. Note though, that the IMU based extrapolator probably needs some testing/tuning to make it useful.

@kfabian As indicated by @wohe, I believe the plan was to remove the CHECK once good parameters for the official datasets were found. Anyway, the implementation itself is complete and was tested with the 3D version of cartographer, so we can remove the CHECK (thanks @wohe for fixing).  Also see TODO in #1732 (https://github.com/cartographer-project/cartographer/pull/1732/files#diff-8d181dbe7716a2ccbf024b6eebc0c8c2ed0bfc3cbe18a2fc151dcdd3ae21195bR72) for the parameter tuning.

@kfabian As indicated by @wohe, I believe the plan was to remove the CHECK once good parameters for the official datasets were found. Anyway, the implementation itself is complete and was tested with the 3D version of cartographer, so we can remove the CHECK (thanks @wohe for fixing).  Also see TODO in #1732 (https://github.com/cartographer-project/cartographer/pull/1732/files#diff-8d181dbe7716a2ccbf024b6eebc0c8c2ed0bfc3cbe18a2fc151dcdd3ae21195bR72) for the parameter tuning.


Improve README for new contributors

The Issue

Not clear that you need to open https://ddev.com.ddev.site:4321/ in your browser

How This PR Solves The Issue

add info
add info for troubleshooting

Manual Testing Instructions
Automated Testing Overview
Related Issue Link(s)
Release/Deployment Notes

Looks good to me, thanks! It does prompt you on ddev start to know what URL to use, and it also shows it in ddev describe. I usually end up using ddev describe a few times. We should probably add an extra launcher custom command or something.

Sure thing 👍
Yeah, I saw the prompt ... but then switched terminals and used ddev launch because I forgot --> this only renders dist/ (also a bit confusing maybe, why a page is suddenly showing up there)
From my personal experience, ddev describe is often unknown or people forget about it (unfortunately). Always trying to educate them of course. :-D


Karma: decentralized reputation and trust

Trust is the ability to predict whether an identity will do what they say they will do in the future. Karma's purpose is to allow identities to establish trust from their first interaction.
History
F2's Karma mechanism is inspired by Freenet's Web of Trust plugin.
Uses

Prevent resource leaching

Design
#[derive(Serialize, Deserialize)]
pub struct TrustLog {
  pub public_key : EcKey<Public>,
  /// Trust entries signed by public_key
  pub log : Vec<(TrustEntry, EcSignature)>,
}

#[derive(Serialize, Deserialize)]
pub struct TrustEntry {
  /// Entry creation time in milliseconds since epoch
  pub timestamp : u64,
  /// What did this entity promise to do, in a standardized but extensible format
  pub promise : str,
  /// Did the entity follow-through on its promise?
  pub kept : bool,
}

Closing as this is made obsolete by other work.


Dropdown opens again after selecting suggestion when getting suggestions asynchronously

Testcase:
http://codepen.io/Esseb/pen/YWomvQ
Expected result:
The input field should be focused and the dropdown should no longer be visible
Actual result:>
The dropdown closes but opens again immediately (I assume after the async result updates this.state.suggestions again)
Further information:
Regression between v5.1.0 and v5.1.1.

Thanks, I'm aware of this unfortunate regression, and working on a fix.

This is fixed in v6.0.0 now.


vscode plugin prompts no-semihosting error

Describe the bug
I am using st-link. Why does the probe-rs plugin of vscode use F5 debugging and prompt a no-semihosting error when it encounters hprintln!, but I can print text normally when I use probe-rs run --chip stm32f103c8 to execute hprintln!
my code
hprintln!("I2C write failed: {:?}", e)

config
{
    "version": "0.2.0",
    "configurations": [

        {
            "type": "probe-rs-debug",
            "request": "launch",
            "name": "probe-rs Test",
            "cwd": "${workspaceFolder}",
            "connectUnderReset": true,
            "chip": "stm32f103c8",
            "probe": "0483:3748",
            "flashingConfig": {
                "flashingEnabled": true,
                "haltAfterReset": false
            },
            "coreConfigs": [
                {
                    "coreIndex": 0,
                    "programBinary": "./target/thumbv7m-none-eabi/debug/${workspaceFolderBasename}"
                }
            ]
        }
    ]
}

To Reproduce
No response
Expected behavior
No response
Stacktrace

Operating System
win11-x64
Additional context
No response

Why did you close this issue, did you figure something out?

Why did you close this issue, did you figure something out?

I raised this issue with the vscode plugin project, but they don't seem to be willing to deal with it.

Ah okay, thanks. Just for tracking purposes, the plugin-side issue is https://github.com/probe-rs/vscode/issues/109
Right now, the recommendation against semihosting is a valid one, we mostly added semihosting prints for embedded-test (probe-rs run printing the messages is a side-effect of that) and the code around it is pretty much terrible. But it would definitely be nice if we could print output to cargo embed and the debugger.

I guess it's an UX question how we can both support it but also nudge the user nicely towards defmt/RTT.
Sorry for the lack of clarity in my comment @eighteen-k-gold-malow.


Make provider/model required inputs for LLMLoader

Description
This PR contains a responsibility shift.
The QueryHelper knows which provider/model (and parameters) wants to use. It is its responsibility to set the correct inputs for LLMLoader.
Resolving if the combo is actually valid input is responsibility the LLMLoader. It gets what provider, model, and additional parameters for llm along with the config against which the values will be validated.
Type of change

[x] Refactor

@bparees @tisnik Before I proceed and update tests, I would like to know if you think it's a good approach.
The follow-up would be to split the LLMLoader into separate modules (for a different provider).
So the end flow would be:
something requests a llm (query helper in our case) -> llm loader validates inputs -> internal llm initialization -> returns llm

Tests updated.
Lowered unit-test coverage target, that is too aggressive. See the note about not covering LLMLoader with unit tests.
Removed test test_post_question_on_noyaml_response_type, it seems like a not really readable duplicate of test_summarize_incorrect_directory.
Some dependency injection was introduced, which allows a bit more straightforward unit testing without patches or mocks.
/assign @bparees

/hold
i think we need to talk some more about the way you are proposing structuring the query helper and the workflow of how a query helper configures+instantiates an llm through llm_loader.

/hold cancel

Rebased and removed the config parameter from llm loader.

/approve
/lgtm

/lgtm


Documentation missing for parameters section in swagger:route

Problem statement
Seemingly it's possible to specify parameters in a swagger:route annotation, the feature was added in this PR: https://github.com/go-swagger/go-swagger/pull/1405/files
The documentation makes no mention that this is possible though. Could you document this feature?

If you want to go that way, you're better off using swagger:route and putting the yaml directly in there.
https://goswagger.io/use/spec/route.html

I submitted a patch for the documentation here: https://github.com/go-swagger/go-swagger.github.io/pull/13

Made sure the aforementioned patch is indeed published.


Image Optimization (without loss)

See d0352d5
https://github.com/dabutvin/ImgBot

Hm, not sure. It's a bot that does it automatically.

No config at all?

You can install it and run it locally, but I just used the GitHub integration of the app. You give it access to the repo, and it scans the images and opens a PR with the optimizations. However, it is a lossless compression algorithm, so there should be no difference (like FLAC for audio vs. WAV)

Oh well, don't mind me then

Hi there! Thanks for trying out ImgBot.
Just wanted to let you know that there is .imgbotconfig
https://imgbot.net/docs#configuration
and specifically you can ignore files https://imgbot.net/docs#ignoring-files
If you are having any problems or would like to see more configuration please feel free to open an issue in https://github.com/dabutvin/ImgBot

Hey, thanks for the clarification and post. My fault there.. Will keep in mind for next time.


Supervisor

htmlSupervisor renamed supervisor
fix collectFiles in @jsenv/filesystem when path contains special chars
rename internal attribute on html
add more stories in dev errors
allow multiple errors during execution
update how error are logged during tests
fix worker type module on firefox during dev
fix data url handling during dev
add logRefresh to executeTestPlan
update @jsenv/assert output
display error overlay on unhandled rejection

Strange that mac-os get stuck on install certificate command because https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#administrative-privileges


Add constant for minimum QR code string length

We can hard code this for now upstream but it would be good to have in the lib

we should also add all the validation we are adding in the WS API to the lib, will add that here

Why does this need to be known?

Generally speaking we try to handle error scenarios within the lib rather than pushing it to the driver

But what about all the other errors that can occur? Why stop at the string length?

If there are easy failure scenarios to handle we should. I can add the 90 prefix as a check for example. I guess it's a grey area as to where we stop but I don't think a PR that added more validation would be rejected

one departure from our conversation on Discord is that instead of calling controller.provision_smart_start_node automatically during an inclusion process when a Smart Start QR code is provided, we raise an exception. It is up to the user of the library to detect when a QR code is a Smart Start one and to call provision_smart_start_node instead of begin_inclusion


How to combine multiple handleActions?

I have an initial state like this and I want to separate each part into its own reducer but I can't seem to combine it redux's combineReducers. It says store is not a valid reducer.
const initialState = {
  app: {
     title: ''
  },
  auth: {
    token: ''
  }
}

const appReducer = handleActions({
}, { app: initialState.app });

const authReducer = handleActions({
}, { app: initialState.auth });

export const store = createStore(
  combineReducers(appReducer, authReducer),
  applyMiddleware(logger)
)

It doesn't seem like you're handling any actions in those reducers. Could that be the reason why createStore is failing?

@pyros2097
This isn't a redux-actions error. It's actually not even a Redux error.
You need to invoke combineReducers with a plain object whose values are reducers. The error message tells you this pretty clearly:

Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.

Wrong
const { handleActions } = require('redux-actions')
const { combineReducers, createStore, applyMiddleware } = require('redux')

const initialState = {
  app: {
     title: ''
  },
  auth: {
    token: ''
  }
}

const appReducer = handleActions({
}, { app: initialState.app });

const authReducer = handleActions({
}, { app: initialState.auth });

const store = createStore(combineReducers(appReducer, authReducer))
console.log(store.getState())

~/code/private/example node test.js
Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.

Right
const { handleActions } = require('redux-actions')
const { combineReducers, createStore, applyMiddleware } = require('redux')

const initialState = {
  app: {
     title: ''
  },
  auth: {
    token: ''
  }
}

const appReducer = handleActions({
}, { app: initialState.app });

const authReducer = handleActions({
}, { app: initialState.auth });

const store = createStore(combineReducers({ app: appReducer, auth: authReducer }))
console.log(store.getState())

~/code/private/example node test.js
{ app: { app: { title: '' } }, auth: { app: { token: '' } } }

Thanks a bunch .. :heart:

I think there's a more elegant way to define your store shape (less verbose and without duplicating keys).
This is in<EMAIL_ADDRESS>const { handleActions } = require('redux-actions')
const { combineReducers, createStore } = require('redux')

const app = handleActions({
}, { title: '' });

const auth = handleActions({
}, { token: '' });

const store = createStore(combineReducers({ app, auth }))
console.log(store.getState())

~/code/private/example node test.js
{ app: { title: '' }, auth: { token: '' } }

Or better yet, using (vertical) reducer composition:
const { handleActions } = require('redux-actions')
const { combineReducers, createStore } = require('redux')

const title = handleActions({
  EXAMPLE(state, action) {
    return action.payload.title
  },
}, '')

const token = handleActions({
  LOGIN(state, action) {
    return action.payload.token
  },
}, '')

const app = handleActions({
  EXAMPLE(state, action) {
    return { title: title(state, action) }
  }
}, { title: null });

const auth = handleActions({
  LOGIN(state, action) {
    return { token: token(state, action) }
  }
}, { token: null });

const store = createStore(combineReducers({ app, auth }))
console.log(store.getState())
store.dispatch({ type: 'EXAMPLE', payload: { title: 'example' } })
console.log(store.getState())
store.dispatch({ type: 'LOGIN', payload: { token: 'secret' } })
console.log(store.getState())

~/code/private/example node test.js
{ app: { title: null }, auth: { token: null } }
{ app: { title: 'example' }, auth: { token: null } }
{ app: { title: 'example' }, auth: { token: 'secret' } }


Add UT for Dashboard related pages

Add UT for Dashboard related pages

@yizheliu-amazon did you want to take a look at this? I'm happy to as well, just let me know. Feels like this is necessary and will highly increase code coverage %

@ohltyler Thanks for offering help. I will start working on this very likely next sprint. Right now I am collecting data of test coverage for each file, and will create issues to distribute tasks of increasing coverage.

Will close, since we will use #191 as our main issue regarding code coverage / adding UT


DynamicRedisPool blocked on wait_for_connect

Description
I am attempting to use a dynamic pool in an actix web app (btw I am using a v4 beta so am on the correct tokio version) and my code hangs on wat_for_connect consistently. I know similar things have happened previously but as those were closed issues I started this one.
Reproduction
To reproduce I am able to just run the code from the example here https://github.com/aembke/fred.rs/blob/main/examples/dynamic_pool.rs
Here is my app main
use fred::pool::DynamicRedisPool;
use fred::prelude::*;

#[tokio::main]
async fn main() -> Result<(), RedisError> {
    let config = RedisConfig {
        // whether to skip reconnect logic when first connecting
        fail_fast: true,
        // server configuration
        server: ServerConfig::new_centralized("<IP_ADDRESS>", 6379),
        // whether to automatically pipeline commands
        pipeline: true,
        // how to handle commands sent while a connection is blocked
        blocking: Blocking::Block,
        // an optional username, if using ACL rules
        username: None,
        // an optional authentication key or password
        password: None,
        // optional TLS settings
        tls: None,
        // whether to enable tracing
    };
    // the max size isn't a hard limit - it just determines the size of the client array when the pool is initialized
    let pool = DynamicRedisPool::new(config, None, 5, 10);

    println!("I am printed");
    let _ = pool.connect();
    println!("Me too");
    let _ = pool.wait_for_connect().await?;
    println!("Not Me :(");

    // modify the size of the pool at runtime
    let (new_client, _) = pool.scale_up().await;
    if let Some(old_client) = pool.scale_down(true).await {
        assert_eq!(new_client.id(), old_client.id());
    }

    for client in pool.clients() {
        println!("Client ID {} in pool.", client.id());
    }

    // due to the locking required by the resizing operations the Deref trait cannot be used with this pool implementation.
    // if modifications to the pool are not required at runtime the static pool is usually easier to use
    let _ = pool.next().get("foo").await?;
    let _ = pool.next().set("foo", "bar", None, None, false).await?;
    let _ = pool.next().get("foo").await?;

    // if the pool can be empty a function exists that will lazily create a new client, if needed.
    // if the pool is not empty this just calls `next` without creating a new client.
    let _ = pool.next_connect(true).await.get("foo").await?;

    let _ = pool.quit_pool().await;
    Ok(())
}

Hope this helps and please ask any questions.
System
MacOS, Redis via Docker, Rust 1.57

Hi @JamesPatrickGill,
Which fred version are you using? There was a bug related to this in versions < 4.2.2.
In the meantime I'll try your repro and see if I can come up with anything.
Also, out of curiosity, what is your use case for the dynamic pool? I spoke to a number of folks recently about this and heard pretty consistent feedback that the dynamic pool is not really useful due to not implementing Deref<Target = RedisClient>, so I was planning on removing it for 5.0.0.

Hi @aembke. Thanks for getting back to me so quickly.
The version of fred is 4.3.1
Honestly I am in just experimenting and was just testing it out. For more context I am currently working on an actix4 web server using a mobc pool to manage my redis connections but the provided redis implementation was a little out of date. When I went looking around and found fred and saw it had some pooling capabilities built in so I thought it was worth a dive.
My use case basically requires a pool that will maintain a number of connections that can be used by different http handlers so that each one doesn't have to create a new client. A key requirement being that this server will be long running so reconnecting dropped connections should be smooth. From my understanding all of this is covered by the static pool so will likely go with that anyway. Was just investigating the other pool as the runtime scaling sounded interesting :).

Ah ok yeah that makes sense. I've seen a few cases where folks see the dynamic pool, they like the flexibility to scale it up or down, but when they go to actually use it they run into a bunch of ergonomics issues due to the lack of the Deref trait implementation.
While I don't want to leave any bugs in versions 4.x I'm about a week away from 5.0.0 coming out, so I might just table this if you're not actively using it. I still need to figure out if it's worth leaving the DynamicPool interface in the code at all, but if I do I'll make sure this kind of thing gets resolved.

@JamesPatrickGill it turns out this was just a broken example. When you call connect on the dynamic pool you need to await the response. I've updated the example in the soon-to-be-released 4.3.2,

Thank you for getting back to me, I should have noticed that!


[BUG] Malformed YAML content produced by "Export Config"

Environment
Self-Hosted (Docker)
Version
2.0.2
Describe the problem
When I export the configuration from the "View / Export Config" modal in the config menu on the web interface, the content sent by the application when I click "Download as File" has a leading space (i.e. 0x20) on the first column, first line of the file.
If I try to place this file at public/conf.yml without appropriate inspection (yes, I know), the build will fail because it fails to appropriately parse the section indentations from the YAML configuration.
Additional info
I am deploying Dashy from a custom template saved in Portainer. My compose file is below:
---
version: "3.8"
services:
  dashy:
    container_name: Dashy
    image: lissy93/dashy:latest
    volumes:
      - dashy:/app
    ports:
      - 4000:80
    environment:
      - NODE_ENV=production
    restart: unless-stopped
    healthcheck:
      test: ['CMD', 'node', '/app/services/healthcheck']
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s
volumes:
  dashy:
    name: dashy

The linter (i.e. yarn validate-config) produces a decent, but somewhat indirect error:
/app/public # yarn validate-config
yarn run v1.22.5
$ node services/config-validator

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Error, unable to validate 'conf.yml'
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Please ensure that your config file is present, has the correct access rights and is parsable. If this warning persists, it may be an issue with the validator function. Please raise an issue, and include the following stack trace:

Stack Trace for config-validator.js:
 YAMLException: end of the stream or a document separator is expected (40:1)

 37 |   disableUpdateChecks: false
 38 |   disableSmartSort: false
 39 |   enableErrorReporting: false
 40 | pageInfo:
------^
 41 |   title: Dashy
 42 |   description: Welcome to your  ...
    at generateError (/app/node_modules/js-yaml/lib/loader.js:183:10)
    at throwError (/app/node_modules/js-yaml/lib/loader.js:187:9)
    at readDocument (/app/node_modules/js-yaml/lib/loader.js:1645:5)
    at loadDocuments (/app/node_modules/js-yaml/lib/loader.js:1688:5)
    at Object.load (/app/node_modules/js-yaml/lib/loader.js:1714:19)
    at Object.<anonymous> (/app/services/config-validator.js:64:23)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12) {
  reason: 'end of the stream or a document separator is expected',
  mark: {
    name: null,
    buffer: ' appConfig:\n' +
      '  theme: one-dark\n' +
< snip >

Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

This should be fixed now, I've replaced my own JSON to YAML parser with the js-yaml module in #488 (released in V2.0.3)


Failed to import games from Epic Games. Object reference not set to an instance of an object.

Hey, whenever i try to import my Epic games i get the Error Message from the Title.
I have seen this issue discussed on Reddit, but the Links have expired, so im trying my luck here.
Diagnostics ID
e15474a8-c138-4a5e-919a-7879173e5a5e

Fixed in 2.17 update. The import should no longer fail, but some games might not be imported, in that case you will need to reinstall those games in Epic client.


Deploy To Heroku Button

It would be super useful if we could get a Deploy to Heroku button which would enable users to easily deploy your software to a Heroku instance without ever leaving the web browser. And with just a little configuration on the users end they'll have something running almost instantly. I propose the button because it is ideal for communities who need to make decisions quickly with the flexibility of something like Heroku.
It's very simple to do, just make sure that an app.json file is located in the repo root directory. More about Heroku deploy buttons here.

I will not advertize a particular hosting service.
On 26 June 2017 17:48:35 GMT+02:00, Spencer Thayer<EMAIL_ADDRESS>wrote:

It would be super useful if we could get a Deploy to Heroku button
which would enable users to easily deploy your software to a Heroku
instance without ever leaving the web browser. And with just a little
configuration on the users end they'll have something running almost
instantly. I propose the button because it is ideal for communities who
need to make decisions quickly with the flexibility of something like
Heroku.
It's very simple to do, just make sure that an app.json file is located
in the repo root directory. More about Heroku deploy buttons
here.

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/untitaker/mysteryshack/issues/71

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Features/page reset password api

Before
Reset Password page

After
Reset Password page

General Changes

implement reset password user API on the Reset Password page

Detail Changes

add postResetPasswordUser function on the users service
implement reset password user API (postResetPasswordUser function) on the Reset Password page

closed due to wrong branch name


Asset paths require trailing slash to be present in the URL

I have added wobserver 0.1.5 to my phoenix app.
My config is
config :wobserver,
  mode: :plug,
  remote_url_prefix: "/wobserver"

and I have added forward "/wobserver", Wobserver.Web.Router to the router.
It seems that if I open
http://localhost:4060/wobserver/ (notice slash at the end) it works fine but if I omit the last slash it tries to fetch assets from http://localhost:4060/app.js etc.

This should be fixed in version 0.1.6 released a while back.


QGB update internal contract ABI

Currently, in the state machine, we're hard coding the QGB internal ABI to be able to pack and encode the data to be submitted to the QGB contract correctly:
https://github.com/celestiaorg/celestia-app/blob/8604be960b0565df66a6c4da79371f713ca62798/x/qgb/types/abi_consts.go#L16-L122
Doesn't it make sense to replace it with:
qgbwrapper.QuantumGravityBridgeMetaData.ABI

?
cc @evan-forbes

yeah that makes sense. I'm unsure of the reason why this added in the first place

I guess it was added before we had the wrappers generated. I will make the changes, thanks a lot :+1:

Aaah, it is for the private functions. These are not included in the ABI, thus, we need to add them manually.
Issue no longer relevant, will close.


Check that all the reference items follow the same example structure

With the code blocks on the right instead of the left.
For example, buckets look like it's not following it properly.

The reason for that inconsistency is that the examples are interleaved with the explanation, and the explanation refers and explain the examples. Maybe it is explained in too much detail, though.

@arianaescobar, can you give us more feedback on this one?

My comment was regarding adding code blocks to the left side of the reference. We have an assigned space on the right that it's only for code and we should leverage that more.
Like here

or here

I think the level of detail is fine @davidmanzanares, I just think we should use the right side of the layout more.
Like we did here

or here


Linux Performance Issues due to Repeated Polling of ObjectManager GetManagedObjects()

I'm working on an application that requires repeated connection, discovery, some minor activity and disconnection.
Every 4-5 seconds or so, the stack locks up for 15 or so more seconds.  Host in question is a Raspberry Pi 1.
My debugging traced this back to GetManagedObjects() being slow to respond and sometimes locking up.
From what I can tell reading the DBus docs on ObjectManager, they never intended for GetManagedObjects() to be called repeatedly -- rather, it is to enable a quick initial sync of the entire state of the endpoint, and then changes are to be communicated by InterfacesAdded and InterfacesRemoved events.
In device.discover() for example, the code calls GetManagedObjects() every second until the endpoints it is looking for appear.  In one sample of my connection through disconnection cycle, there were 13 calls, 5 of which during discover().  As other device enter the system and end up in the device tree, the performance would degrade even faster.
The least invasive change for a big benefit would be to maintain the complete dict returned by GetManagedObjects() inside of the provider, updating it on Interface* events.  For a full and optimized BLE implementation maybe it should be implemented at the Adapter or Device level using the AddWatch mechanism mentioned in the docs.
You guys have implemented the most complete Python BLE library, and out of everything out there it is really the only one to implement it properly for Linux/Bluez i.e. using DBus to bluetoothd and not helper c wrappers.  This could (should) be morphed into the standard Python BLE implementation.
I may take a crack at a proof of concept implementation in the provider.
Cheers

How have you got on with this, @mattthebaker? I'm having the same issues, I think, as it's glacially slow to search for the services and characteristics.
I agree with your assessment that this is the most complete Python BLE library. All the others are useless since they haven't kept up with BlueZ's advancement and don't used the recommended D-Bus APIs. I did my original development on macOS, where it is even more reliable and then switched it over to Linux/Ubuntu for deployment with only a few relatively simple (in hindsight only, mind you!) issues to fix.

@neomanic
I refactored my local copy to avoid the repeated calls to GetManagedObjects(), which improved my first performance problem.
After further testing, I've concluded that D-Bus is worthless for my use case.  Basically, the arbitration overhead of D-Bus makes it woefully inadequate for handling a high volume of messages.
Normally, if you're using a BT SIG standard device, the driver will have been implemented in C as part of BlueZ.  So for example, a BT mouse would not require every data packet to be pushed through D-Bus.  Only the pairing or initial setup would utilize D-Bus.  For that use case it is highly desirable, as you could pair your mouse using the desktop gui and have it work permanently system wide.
I was implementing a custom protocol, so every notification was sent through the D-Bus stack.  The overhead of D-Bus is extreme and performance dismal.  On a Raspberry Pi 1, I could stream data from my device at full speed using bluepy (uses a C slave helper exe linked against bluez) with cpu use at 1% or less.  The same using D-Bus dropped half of my data packets, and the cpu use was 100%.
If I were starting again now, pygattlib (python wrapper for a c++ gatt library) seems promising.  However, they are switching to D-Bus for all future versions as the BTLE backend, so we are back to square one.
We are working on an official python API for our products, and part of that will be officially putting our support behind a python BTLE implementation (which one TBD).

Hey @mattthebaker, sorry for the slow reply, was on leave for the last week. Thanks for sharing your issues, bit sad to hear of the lousy performance.
I tried using pygattlib before I came over to using BluefruitLE (and because I did the original tests on another vendor's nRF51 dev board before switching to the nRF52 Bluefruit), and it failed pretty hard to the point where I gave up. AFAICT pygattlib, and indeed gattlib, and the previous standard bluez tools of hcitool and gatttool have been deprecated.
That said, my application isn't particularly intensive: it's some basic IO operations. Once it's up and running, it goes okay, just takes forever to initialise some times. Any chance you can share your changes to this library for me to leverage off?
(ps having a browse of your e-wall repos... looks very interesting)

Hi John,
We've had good results with pygattlib.
I would say that DBus chokes on 100Hz BLE notifications on a Pi3 which is
pretty sad given a quad core 1Ghz.
I need to squash the commits and remove some proprietary stuff but I will
send you the final versions of the files that were changed via email.
Cheers.

Hello,
I noticed with the latest release of BlueZ (5.46) they have introduced AcquireNotify() and AcquireWrite() to the DBus API which seems to allow the option of data being sent via sockets rather than through DBus in high volume situations.
Would this would allow for faster throughput of data?
Cheers.

This library has been deprecated. Please update to use this new library:
https://github.com/adafruit/Adafruit_Blinka_bleio
If you continue to have this issue, please open a new issue in that repo.


Numeric planners

Hello, does any of these planners do numeric planning? I checked downward and related and they do not.

@tomitrescak That answer your question? If so, please close this one out, and thanks for your interest!

I think, given the range of planners we have in there now, this should be handled. @tomitrescak : do let us know if there's one missing that you'd like to see. For the record, this is the current listing:
Available:
  hpddl2pddl: HTNTranslate: Translate HPDDL to PDDL
  enhsp-2019: ENHSP (2019)
  forbiditerative-topk: Forbid-Iterative top-k planner
  lama: LAMA
  enhsp: ENHSP
  lama-first: LAMA-FIRST
  downward: Fast Downward
  forbiditerative-diverse-sat: Forbid-Iterative diverse satisficing planner
  cerberus-agl: Cerberus planner for agile planning
  cerberus: Cerberus planners for satisficing and agile planning
  enhsp-2018: ENHSP (2018)
  enhsp-2020: ENHSP (2020)
  val: VAL
  forbiditerative-topq: Forbid-Iterative unordered top-q planner
  kstar: K* planner for the top-k planning problem
  smtplan: SMTPlan+
  optic: The OPTIC temporal planner
  tarski: Tarski
  planning.domains: Planning.Domains API
  forbiditerative: Forbid-Iterative (FI) Planner is an Automated PDDL based planner suite that includes planners for top-k, top-quality, and diverse computational tasks
  cerberus-sat: Cerberus planner for satisficing planning
  forbiditerative-diverse-agl: Forbid-Iterative diverse agile planner
  pyperplan: Pyperplan
  delfi: Delfi1 cost-optimal planner, winner of IPC2018
  tfd: The TFD temporal planner


delete cache in runtime type and fix path in jfr-container-action

Invalid cache for runtime type actions because the way of adding cache is not helpful at all. What's more, runtime type actions will not be supported in the future. The introduction of them will also be removed later.
Fix the path problem in jfr-container-action. We can see the difference of cp -r /jenkins_new_plugins /usr/share/jenkins/ref/plugins and cp -r /jenkins_new_plugins/* /usr/share/jenkins/ref/plugins. This bug makes the new installed plugins cannot be used in the /usr/share/jenkins/ref/plugins. I made this error because I did the test on zsh instead of bash and they'll have different results to this command.

What's more, runtime type actions will not be supported in the future

I must say that I like the idea of the runtime action. It would allow using other actions to setup build environments. However, I do understand why you would not want to support it.

What's more, runtime type actions will not be supported in the future

I must say that I like the idea of the runtime action. It would allow using other actions to setup build environments. However, I do understand why you would not want to support it.

@AbhyudayaSharma I also like the idea of the runtime actions so I'll preserve the related codes in this repository and only delete the docs.
I think jfr-container-action also supports the integration with other GitHub Actions.


Update kanela-agent to 1.0.12

Updates io.kamon:kanela-agent from 1.0.8 to 1.0.12.
GitHub Release Notes - Version Diff
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.kamon", artifactId = "kanela-agent" } ]

labels: library-update, semver-patch

Superseded by #268.


Render jupyter book

I have created the jupyter book in the "report" folder, and the final version of the notebook in the same folder. Then updated the toc and config .yml and build the book. Everything is ok locally but the site is not rendering in github some some reason.
The files are on the docs file.
Any ideas how to solve it?
Please note this is not the final version of the report, is just a trial.

I put all files in the html folder into a docs folder on the root and created a.nojekyll in it.
And after that the site rendered correctly 😄

I put all files in the html folder into a docs folder on the root and created a.nojekyll in it.
And after that the site rendered correctly 😄


[BUG] Icon Assets not found after 0.84 update

What happened?
After updating from 83 to 84, the build process errors out due to:
🔴 ERROR  | Failed to resolve './gen-assets/icon16.plasmo.png' from './.plasmo/chrome-mv3.plasmo.manifest.json'
🔴 ERROR  | Cannot load file './gen-assets/icon16.plasmo.png' in './.plasmo'.

🔴 ERROR  | Cannot load file './gen-assets/icon32.plasmo.png' in './.plasmo'.
🟡 22     | Did you mean '__../src/assets/icon.png__'?

Even after deleting .plasmo, the same error occurs.
Looking at .plasmo, there is no gen-assets folder, which seems like the folder is not generated before it is tried to access.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome, Firefox
Relevant log output
🔴 ERROR  | Failed to resolve './gen-assets/icon16.plasmo.png' from './.plasmo/chrome-mv3.plasmo.manifest.json'
🔴 ERROR  | Cannot load file './gen-assets/icon16.plasmo.png' in './.plasmo'.

🔴 ERROR  | Cannot load file './gen-assets/icon32.plasmo.png' in './.plasmo'.
🟡 22     | Did you mean '__../src/assets/icon.png__'?

(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

I was able to temporarily skip this build error by manually adding .pngs with the icon files specified in /.plasmo/chrome-mv3.plasmo.manifest.json. However, still waiting on an official fix/explanation.

Hmm that's very weird... All the E2E build test passed meaning they were able to resolve the icons: https://github.com/PlasmoHQ/plasmo/actions/runs/6822430999/job/18554456871
Can you post the full output of plasmo dev --verbose?

Thanks for the quick feedback.
I changed my source directory from root to /src a while ago (2 weeks), but hadn't had any issue with it yet.
Also, I use type: module.
package.json
🔴 ERROR  | Failed to resolve './gen-assets/icon16.plasmo.png' from './.plasmo/chrome-mv3.plasmo.manifest.json'
🟡 22     | {
  "icons": {
    "16": "./gen-assets/icon16.plasmo.png",
    "32": "./gen-assets/icon32.plasmo.png",
    "48": "./gen-assets/icon48.plasmo.png",
    "64": "./gen-assets/icon64.plasmo.png",
    "128": "./gen-assets/icon128.plasmo.png"
  },
  "manifest_version": 3,
  "action": {
    "default_icon": {
      "16": "./gen-assets/icon16.plasmo.png",
      "32": "./gen-assets/icon32.plasmo.png",
      "48": "./gen-assets/icon48.plasmo.png",
      "64": "./gen-assets/icon64.plasmo.png",
      "128": "./gen-assets/icon128.plasmo.png"
    },
    "default_popup": "./popup.html"
  },
  "background": {
    "service_worker": "./static/background/index.ts"
  },
  "chrome_url_overrides": {
    "newtab": "./newtab.html"
  },
  "permissions": [
    "scripting",
    "tabs"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://www.plasmo.com/*"
      ],
      "js": [
        "static/contents/plasmo-inline.ts"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'"
  },
  "host_permissions": [
    "https://*/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "assets/local-models/**/*"
      ],
      "extension_ids": [
        "*"
      ],
      "matches": [
        "https://*/*",
        "*://*/*",
        "<all_urls>"
      ]
    },
    {
      "resources": [
        "assets/example"
      ],
      "matches": [
        "https://*/*",
        "*://*/*",
        "<all_urls>"
      ]
    }
  ]
}

🟡 23     | /Users/.../.plasmo/chrome-mv3.plasmo.manifest.json:12:13
🔴 ERROR  | Cannot load file './gen-assets/icon16.plasmo.png' in './.plasmo'.
🟡 24     | Did you mean '__../src/assets/icon.png__'?

I encountered the same error when getting started with pnpm create plasmo.

pnpm create plasmo<EMAIL_ADDRESS>in packag.json and node_modules
move all source code files into the src directory including assets folder
update compilerOptions.paths in tsconfig.json
pnpm run dev

@MentalGear It worked for me when I move the assets directory out of the src directory.
https://github.com/PlasmoHQ/plasmo/blob/00fb828df6298beb480783c941b4c970811e46c3/cli/plasmo/src/features/extension-devtools/common-path.ts#L47

Seems to be a definite problem from switching to /src later on. I am still experiencing the error and occasionally have to manually add the gen-assets folder into the .plasmo folder again or it won't compile.
Thx for the input. Do you mean rewriting the assetsDirectory: resolve(projectDirectory, "assets"), line and manually moving the folder out of assets?

On 28 Dec 2023, at 09:43, fukang wang @.***> wrote:
I encountered the same error when getting started with pnpm create plasmo.
pnpm create plasmo: @.*** in packag.json and node_modules
move all source code files into the src directory including assets folder
update compilerOptions.paths in tsconfig.json
pnpm run dev
—
Reply to this email directly, view it on GitHub https://github.com/PlasmoHQ/plasmo/issues/825#issuecomment-1870946472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVUVG6MJSNIIWHHGXAICHDYLUWL3AVCNFSM6AAAAAA7UMM7QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQHE2DMNBXGI.
You are receiving this because you authored the thread.

Seems to be a definite problem from switching to /src later on. I am still experiencing the error and occasionally have to manually add the gen-assets folder into the .plasmo folder again or it won't compile. Thx for the input. Do you mean rewriting the assetsDirectory: resolve(projectDirectory, "assets"), line and manually moving the folder out of assets?
…
On 28 Dec 2023, at 09:43, fukang wang @.> wrote: I encountered the same error when getting started with pnpm create plasmo. pnpm create plasmo: @. in packag.json and node_modules move all source code files into the src directory including assets folder update compilerOptions.paths in tsconfig.json pnpm run dev — Reply to this email directly, view it on GitHub <#825 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVUVG6MJSNIIWHHGXAICHDYLUWL3AVCNFSM6AAAAAA7UMM7QOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQHE2DMNBXGI. You are receiving this because you authored the thread.

Try to move assets from src to projectDirectory directory

There's a weird solution, I add .plasmo directory to git.

Try to move assets from src to projectDirectory directory

That worked for me!

I'm facing the same issue.
I have both src and assets as sibling in the root of the repo.
However, when building, plasmo (v85.2) tries to get the icon inside the src folder:
🔴 ERROR  | ENOENT: no such file or directory, stat 'C:\\path\my-extension\\src\\assets\\icon.png'

If I move the asset folder inside the src folder, I fall into the issue described above.
What did I miss?

Similar issue, I came back to a project that was working and now facing this issue. Moved assets outside of src still having issue.

🟡 19     | Project/extension/.plasmo/chrome-mv3.plasmo.manifest.json:9:13
🔴 ERROR  | Cannot load file './assets/icon16.png' in './.plasmo'.
🟡 20     | Did you mean '../assets/icon16.png'?
🟡 21     | Did you mean '../assets/icon128.png'?

The current solution is as follows: 1. The src folder and the assets folder are at the same level. 2. Add an icon resource to the assets folder, assets/icon.png, make sure your icon file is located in the assets directory, and it is a PNG file with a .png extension. Finally, recompiling to run the tests is no problem


Version 1.16 issues with GPU support, older versions worked just fine

After installing VS 1.16 I get a "black screen" issue.
It is described in the FAQ and when applying the workaround to "DISABLE THE GPU support" it works again.
However this is anoying and due to version 1.16
I reinstalled the older version 1.15 and the issue is gone.

VSCode Version: 1.16 32 bit
OS Version: Windows 10

I got a DELL Latitude E7470 with 2 external screens connected (if taht has anything to say)
Steps to Reproduce:

install new version 1.16
open VS Code -> I get a black screen on startup
context menus in Windows Explorer no longer work

Reproduces without extensions: Yes/No

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders

Doesn't seem to happen with the Insiders Preview!
Thanks!


Incorrect project links on PyPI?

The PyPI project links to the fork https://github.com/CyrilWaechter/python-fcl as the project homepage; links in the “GitHub Statistics” section also go to that project.
Based on the version numbers in https://pypi.org/project/python-fcl/#files, it looks like releases to PyPI are not built from that fork, which has not been updated in some time, but from this repository (https://github.com/BerkeleyAutomation/python-fcl/).
Could the PyPI metadata be updated to link to the correct project?

Fixed by #74 which migrated to a pyproject.toml.


Add tests for the project

Add some tests to the project so when a dev wanna contribute to it after adding the code he runs the tests and he's sure that the code that he added doesn't have errors before creating the PR.

Hi @angeldevildev thanks for creating the first issue in the repo, You're idea is really good. If you're interested in adding the tests then we are open to.
Feel free write a simple proposal on how to implement this, which package to use, etc..

Hi @angeldevildev thanks for creating the first issue in the repo, You're idea is really good. If you're interested in adding the tests then we are open to.
Feel free write a simple proposal on how to implement this, which package to use, etc..

What's the url of the webpage of the blog? I need the link for the cy.visit

This is our official URL: https://auraui.com/
We don't have a blog page for now.


Upgrade to graphql-js 14.0

https://github.com/graphql/graphql-js/releases/tag/v14.0.0

[x] check if @types/graphql has been upgraded too
[ ] wait for fix of result errors typings
[ ] wait for all deps (devDeps) upgrade to v14
[x] upgrade code that use deprecated features (e.g. introspectionQuery)
[ ] add engine entry to package.json + drop support for Node.js 9 in Travis config
[ ] check if all tests pass [there's now type errors and graphql-yoga incompatibility]
[x] investigate the need of switching to peer dependency or reexporting graphql-js internals

ETA: Release 0.15

* [x]  check if `@types/graphql` has been upgraded too

@types/graphql has been update to match with the version 14.x.x
https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql

There is a blocker for now as graphql-yoga is not compatible with graphql-js v14:
https://github.com/prisma/graphql-yoga/issues/449
PR #152 has been closed as there's plenty of type error to fix to even make the tests pass.

I'm in a kind of a deadlock where some of my dependencies require graphql 14.x.x but I can't upgrade because type-graphql doesn't work with it (Error: Cannot use GraphQLSchema "[object Object]" from another module or realm.).
Why is it not possible to upgrade type-graphql's dependencies because graphql-yoga has not updated as graphql-yoga is only used for examples right, the actual code-base does not depend on it?
I don't care if the examples break for a while or maybe the examples could be moved to a separate repository/package and just use the older compatible versions?

I'm in a kind of a deadlock where some of my dependencies require graphql 14.x.x but I can't upgrade because type-graphql doesn't work with it

Why you can't just wait with upgrades until all the graphql ecosystem packages upgrade to v14?

graphql-yoga is only used for examples right

No, it's also used in subscriptions tests.

don't care if the examples break for a while or maybe

But I do care if the tests pass, which is currently not possible due to graphql-yoga dependency in tests and typings issue:
https://github.com/DefinitelyTyped/DefinitelyTyped/commit/202ed3a96dabf1121282505fed59de875ecbf077#commitcomment-30611873

Ok, I'll try to find a working combination and wait for the ecosystem to catch up with v14. Thanks for the explanation.

A workaround to use this package right now is to remove the node_modules inside type-graphql folder.

rm -r node_modules/type-graphql/node_modules

graphql-yoga seems abandoned as Apollo Server 2.0 is doing the same job - putting all the subpackages into one nice single API. I've tested it and looks like only the graphql-subscriptions v1.0 is the blocker for now:
https://github.com/apollographql/apollo-server/pull/1701

@kallaspriit
For me apollo-server feels like a step backward - it's written in typescript but not for typescript consumers in mind:

Looks like I have to find more time for changing to apollo 😞

@19majkel94 are you using apollo-server directly or from the apollo-server-express etc package? It works fine for me with the express flavor.

@kallaspriit So ApolloContext is your custom type? I can't find it in apollo-server packages 😕

Unfortunately yeah
// properties provided to the context function of ApolloServer constructor
export interface ApolloContext {
  req: express.Request;
  [x: string]: any;
}

They should change it so that the ApolloServer constructor would accept the user context as a generic  and merge it with the context available by default for express server etc.

We have another blockers 😆
https://github.com/davidyaha/graphql-redis-subscriptions/issues/127
https://github.com/slicknode/graphql-query-complexity/issues/7#issuecomment-427334091
But I see the light in the end of the tunnel, I hope this week it will be done 😉

I did yarn upgrade but I keep getting:
[19:36:40] Starting compilation in watch mode...

src/index.ts:53:9 - error TS2322: Type 'import("/home/alex/dev/backend/node_modules/@types/graphql/type/schema").GraphQLSchema' is not assignable to type 'import("/home/alex/dev/backend/node_modules/@types/express-graphql/node_modules/@types/graphql/type/schema").GraphQLSchema'.
  Property 'extensionASTNodes' is missing in type 'GraphQLSchema'.

53         schema,
           ~~~~~~

  node_modules/@types/express-graphql/index.d.ts:32:9
    32         schema: GraphQLSchema;
               ~~~~~~
    The expected type comes from property 'schema' which is declared here on type 'OptionsData'

[19:36:53] Found 1 error. Watching for file changes.

How can I solve this properly? Or is this related to this issue?
Right now to solve this I do the following:
rm -rf node_modules/@types/graphql && cp -r node_modules/@types/express-graphql/node_modules/@types/graphql node_modules/@types/.

Released in 0.15.0! 🚀


Invoking 'tasks.fetchTask()' with a type filter fetches all tasks

The Npm Scripts Explorer calls tasks.fetchTask({ type: 'npm' }). This call will also fetch the tasks of type gulp which is expensive. The function should only fetch the tasks from the TaskProvider given as argument.

@alexr00 I've should added some more information about the consequences of the current implementation. I've added more information to the description (see added above).

This ended up being a nice simple change 😊


Update Restore to another server section.

We have a process for this, updated the entry to point to the correct kb.

Already fixed.


v15: Remove the module_error_ty

This PR removes the module error type.
The module error type could be generated by the construct_runtime! macro in substrate.
The [pallet::error] is included as part of the pallet's definition, however the Error information is not part of the explicit declaration via System: frame_system::{Event<T> ..}, nor the implicit declaration via expansion of pallet parts as in System: system.
This would require us to change the way we propagate the error, because declaring errors is optional.
Remove the module error for now to stabilize the V15 metadata, leaving room for us to add it in V16 and onwards.
// @paritytech/subxt-team

Closing this in favor of: https://github.com/paritytech/frame-metadata/pull/62


Feature: list networks on a vm and delete networks from a vm

I've been using the new vm network add command and it works great but I also need to be able to list and delete the networks on a VM.
I can have a go at creating these commands but I need some sample code to work with. Listing networks and deleting networks.
Can anyone help with sample code?

I have done the list networks, still need sample of delete a network from vm

Hey, this'll be a great addition. You'll want to do a ReconfigVM_Task with a spec pointing to a VirtualDeviceSpec with the device set to the network card and the operation set to remove.
I'm not sure how you refer to the device -- the key is required, and if you can get that out of the existing machine info that would be good, otherwise you might have to fill in the backing.

Can I please have some help with listing the name of the networks connected to a NIC?
This code lists the NICs connected to a VM. How do you find the networks connected to the NIC?

vm.config.hardware.device.each.grep(RbVmomi::VIM::VirtualEthernetCard) do |a|
      backing = a.backing
      key = a.key
      puts "#{ui.color('NIC', :cyan)}: #{a.deviceInfo.label}"
    end

I think I need something like this code (lists networks for a dc):

dc.network.each do |network|
  puts "#{ui.color('VLAN', :cyan)}: #{network.name}"
end

To be more specific:

delete the networks on a VM.
should be

delete a NIC from a VM

cool, these are ready

these work nicely


feat: initial WIP of the spec

i'm going to close this PR.  While this was a good idea when we first talked about it, our team has moved our energy and focus to other things.


Dependabot not recreating or rebasing

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
Mix
Package manager version
Hex 2.1.1
Language version
Elixir 1.14.5-otp-26
Manifest location and content before the Dependabot update
No response
dependabot.yml content
version: 2
updates:

package-ecosystem: "mix"
directory: "/"
schedule:
interval: "daily"
labels:

"dependencies"

package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:

"dependencies"

Updated dependency
httpoison from 1.0.0 to 2.2.1
scrivener_ecto from 2.7.0 to 3.1.0
What you expected to see, versus what you actually saw
I have tried running @dependabot rebase and @dependabot recreate and I am consistently seeing Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase. on both of the PRs. It has worked fine in the past.
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

Same issue here: https://github.com/octobuild/octobuild/pull/123

Yep, we are experiencing this, too.  Unfortunately, it means we are having to manually recreate PRs, so Dependabot is not really giving us much value for Elixir projects right now!

yeah, for what seems like roughly a month we have had to manually recreate or fix PRs created by Dependabot when there is a conflict or the pr is out of date. @dependabot rebase and @dependabot recreate don't complete as reported in the issue
Also don't think PR's are closing when a dependency has been updated by a different PR
elixir 1.15.7-otp-25
help 😅


[PLATINUM-225,PLATINUM-264]: Adjust resources and remove PDBs

Fix tonic PDBs to allow scale-down
Reduce Tonic resources

Hello, this PR was created by mistake from my company's private repo. @calexander3 @JSandler @anr-tonic would one of you mind deleting this? Sorry for the trouble!


Glob fails **/node_modules: Warning: Cannot stat: No such file or directory

I'm trying to use ** glob in this plugin and I get the following error
Configuration:
   plugins:
      - gencer/cache#v2.4.10:
          id: node_modules
          backend: s3
          key: "v2-cache-{{ NODE_MODULES_ARTIFACT_HASH }}"
          restore-keys:
            - "v2-cache-{{ NODE_MODULES_ARTIFACT_HASH }}"
          compress: true
          s3:
            # bucket: "{{ BUILDKITE_ARTIFACT_BUCKET }}"
            bucket: "redacted"
          paths:
            - "node_modules"
            - "./workspaces/*/node_modules"
      - docker#v3.5.0:
          image: "{{ DOCKER_REPOSITORY }}/redacted:{{ PLATFORM_IMAGE_TAG_COMMIT }}"
          mount-checkout: true

Error:
[node_modules] - 🔍 Locating source: v2-cache-677a66f676e9203508bc6caf71f45d9e19cfe25a
[node_modules] - 🔍 Locating cache: node_modules ./workspaces/*/node_modules **/node_modules
tar: **/node_modules: Warning: Cannot stat: No such file or directory

Any advice would be appreciated

Hi @mrjackdavis, What is your CI OS and tar version?
Normally, It should work on Ubuntu 18+

Hey @gencer we're on Amazon Linux AMI 2, buildkite-agent/<IP_ADDRESS>31 (linux; amd64)

I find the reason. This is Bash's problem. Need to shopt -s globstar. 😅


Major UI Rehaul!

I am planning a major ui rehaul for the website tailoring it to be a proper social media site... like instagram...
We can divide the tasks in this rehaul into parts so that everyone can contribute...
Those interested can comment below....
For starters I am planning to make the UI like instagram...
you guys can now create a lot more new issues surrounding the frontend to make it better:)

I would like to work on it includes a navigation bar, a home feed, a profile section, and a post card layout.
Can you assign it to me?

sure go ahead

more people can simultaneously work on this...
I need as many features as possible to i will assign this to multiple people.

@NK-Works I am interested to contribute.

Assigned you as well... You can create a PR

okay I will surely try my level best! As I am a beginner.


How to avoid docker-machine from downloading latest boot2docker ISO

Hi
I have a custom boot2docker image and I have put it under /.docker/machine/cache. docker-machine always downloads the latest ISO and I dont see an option to use my custom ISO image. Is there an option to get docker-machine to use the ISO image that is already present?
Following is the version i am running:
$ docker-machine --v
docker-machine version 0.8.0-rc1, build fffa6c9
1 very crude way that I worked around is by disabling network connection that prevents iso download. I would think that there is a better way..
Thanks
Sreenivas

1 very crude way that I worked around is by disabling network connection that prevents iso download. I would think that there is a better way..

Working fine for me too like a hack :smile:

You could try :
dm create --virtualbox-boot2docker-url ~/.docker/machine/cache/boot2docker.iso node1


Added docs support for github actions reusable workflows

what

Add make docs/github-actions-reusable-workflows.md that generates documentation for github action reusable workflows

why

Generate README for reusable workflows

/readme-build

/rebuild-readme


Opening AE with Bodymovin tab creates Untitled project

Well, this is not really a problem, just annoying.
Each time I am opening AE in any workspace with the bodymovin tab open, it asks me to save an Untitled Project, before opening any other project.

Not something extra urgent, but now you know.
Thanks for all the hard work 👍

It should be fixed on the latest build
v4.6.11


✨ Daggerverse: modules should display their engine version

What are you trying to do?
Need to know engine version that a module was built with so can know if a module is compatible with my engine version.
Want to filter for modules by engine version.
Why is this important to you?
Modules created with an engine version different from the one I'm running might not behave properly.
https://discord.com/channels/707636530424053791/1120503349599543376/1227216892691742761
How are you currently working around this?
You can look at the dagger.json in a module's git repo.

Hm, I agree that this is currently an issue, but I don't think the solution is to encourage users to check the engine version in daggerverse.
IMO, if a dagger.json engine version is less than or equal to the engine version, we should always be able to run it - for old versions, we can introduce backwards compatibility to provide an old API for old modules. For newer modules... we could just refuse to run them for now? Something like #7031 but for modules?

That said, that's a longer term commitment to breaking less and to provide a more stable experience - so maybe temporarily having this info in daggerverse might be a good shout?


Live app crashes on launch for some users.

Realm crashes on launch for my app for some users. Log is at below.
#0
Crashed: com.apple.main-thread
SIGABRT ABORT 0x00000001922f3014
Raw Text
0
libsystem_kernel.dylib
__pthread_kill + 8
2
libsystem_c.dylib
abort + 140
3	Groop
realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits, std::__1::allocator >&) + 344064
4	Groop
realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits, std::__1::allocator >&) + 344296
5	libsystem_pthread.dylib
pthread_kill + 112
6	Groop
realm::util::terminate(char const*, char const*, long, std::initializer_listrealm::util::Printable&&) + 344692
7	libsystem_pthread.dylib
pthread_kill + 112
8	Groop
realm_coordinator.cpp line 328
realm::_impl::RealmCoordinator::register_notifier(std::__1::shared_ptrrealm::_impl::CollectionNotifier)
9	Groop
realm::Array::calc_item_count(unsigned long, unsigned long) const + 16580
10	Groop
realm::Array::copy_on_write() + 2688
11	Groop
realm::Array::insert(unsigned long, long long) + 10320
12	Groop
realm::Array::bptree_leaf_insert(unsigned long, long long, realm::TreeInsertBase&) + 18284
13	Groop
bptree.hpp line 811
void realm::BpTree::bptree_insert<realm::BpTree::LeafValueInserter>(unsigned long, realm::BpTreeNode::TreeInsert<realm::BpTree::LeafValueInserter>&, unsigned long)
14	Groop
memory line 2702
realm::Column::insert(unsigned long, long long, unsigned long)
15	Groop
realm::LinkListColumn::insert_rows(unsigned long, unsigned long, unsigned long, bool) + 474084
16	Groop
realm::Table::insert_empty_row(unsigned long, unsigned long) + 41356
17	Groop
RLMObjectStore.mm line 130
createRowForObject(RLMClassInfo const&)
18	Groop
RLMObjectStore.mm line 179
createOrGetRowForObjectWithPrimaryKey(RLMClassInfo const&, objc_object*, bool*)
19	Groop
RLMObjectStore.mm line 249
RLMAddObjectToRealm
20	Groop
ParseHandler.m line 605
-[ParseHandler parseJoinRoomResponse:topic:callback:]
21	Groop
TopicViewController.m line 565
__40-[TopicViewController joinTopicAtIndex:]_block_invoke
22	Groop
XMPPManager.m line 548
__39-[XMPPManager xmppStream:didReceiveIQ:]_block_invoke
23	CoreFoundation
__65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 136
24	CoreFoundation
-[_NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 180
25	Groop
XMPPManager.m line 552
-[XMPPManager xmppStream:didReceiveIQ:]
26
CoreFoundation
invoking + 144
28
CoreFoundation
-[NSInvocation invokeWithTarget:] + 60
29	Groop
GCDMulticastDelegate.m line 283
__42-[GCDMulticastDelegate forwardInvocation:]_block_invoke
30
libdispatch.dylib
_dispatch_call_block_and_release + 24
38
UIKit
UIApplicationMain + 208
39	Groop
main.m line 14
main
40	libdispatch.dylib
(Missing)
#1
Thread
Raw Text
0
libsystem_kernel.dylib
__workq_kernreturn + 8
2
libsystem_pthread.dylib
start_wqthread + 4
#2
Thread
Raw Text
0
libsystem_kernel.dylib
__workq_kernreturn + 8
2
libsystem_pthread.dylib
start_wqthread + 4
#3
com.apple.uikit.eventfetch-thread
Raw Text
0
libsystem_kernel.dylib
mach_msg_trap + 8
11
libsystem_pthread.dylib
thread_start + 4
#4
RLMRealm notification listener
Raw Text
0	libsystem_kernel.dylib
kevent + 8
1	Groop
external_commit_helper.cpp line 199
realm::_impl::ExternalCommitHelper::listen()
2	Groop
future line 2341
std::__1::__async_funcrealm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0::operator()()
3	Groop
future line 1032
std::__1::__async_assoc_state<void, std::__1::__async_funcrealm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0 >::__execute()
4	Groop
memory line 2525
std::__1::__thread_proxy<std::__1::tuple<void (std::__1::__async_assoc_state<void, std::__1::__async_funcrealm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0 >::)(), std::__1::__async_assoc_state<void, std::__1::__async_funcrealm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0 >> >(void*, void*)
5
libsystem_pthread.dylib
 + 240
7
libsystem_pthread.dylib
thread_start + 4

@cemkacmaz Can you share more details? What version of Realm are you using? It seems you are using a little bit old version. Can you share a reproducible project? What is your code around crash occurred?

Hi again,
I am using Realm 2.0.3. I cannot share a reproducible project because it only occured for 10 users so far.
It happens when I try to modify a realm object (add to its rlmarray) or when create realm object

Thanks for reporting this @cemkacmaz. We've made some bug fixes in a few parts of the code since your version (2.0.3) that are involved in this backtrace.
Could you please update to the latest version of Realm (2.1.1) and file a new issue if this persists?
By the way, in the future, it'd be very helpful if you filled out the new issue template and aimed to provide as much information as possible to help us diagnose the issue. Sharing detailed steps explaining how to trigger a crash is often necessary for us to be able to reproduce on our end and subsequently fix. Thanks!

Thank you for quick response @jpsim. We updated the app with the latest version of Realm (2.1.1).
If the problem persists I will write with detailed explanation.


i18n(pt-BR): Add sharing-state.md translation

What kind of changes does this PR include?

Translated content

Description
Add PT-BR sharing-state.md translation.

Thanks @delucis! :raised_hands:


doc edits

Made a bunch of edits to the docs. Looks good to me now so feel free to merge this, then send a PR for upstream.

Great PR, thanks!


Installation instructions

I am missing a readme with some installation instructions. Is that something you could write up?

I did a bit of trial-and-error and managed to install it. You have two main options: Use it in the typst online editor, or locally. Both of them are pretty similar. You should download the source code, and then copy the relevant files (the json and regex ones, the lib.typ one, and the typst.toml one) into a directory. For local use, take a look at https://github.com/typst/packages#local-packages, if you put the files into {data-dir}/local/svg-emoji/0.1.0, then you can use the #import "@local/svg-emoji:0.1.0": setup-emoji, noto, github import as given in the example. For the online editor, you can throw these files into a svg-emoji folder and then import the library with #import "./svg-emoji/lib.typ": setup-emoji, noto, github.
Hope this helps :D

Thanks a bunch. I ended up using some SVG files found online instead of emojis, and they look better anyway. But such installation instruction would do well in the README!

I made a pull request with that, now it is up to the repo owner to look at it. It would be even better if the package got included into the preview repository, but that's also up to the owner in my opinion.

Agreed. Thanks gor looking into it ^_^

Yeah sorry for the late review! I will look at it now

closed with #3


404 when use swagger2-ui with spring-boot-1.5.6

Please take the time to search the repository, if your question has already been asked or answered.
<dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger2</artifactId>
            <version>2.6.1</version>
        </dependency>
        <dependency>
            <groupId>io.springfox</groupId>
            <artifactId>springfox-swagger-ui</artifactId>
            <version>2.6.1</version>
        </dependency>

Get localhost:8080/v2/api-docs is ok, but localhost:8080/swagger-ui.html returns 404 .
Spring-boot version is 1.5.6.RELEASE
Steps to Reproduce

Clone https://github.com/ihappyk/Springboot-practice.git
Change the version of Swagger Jars to 2.6.1 in Pom.xml
Start application via mvn spring-boot:run
Open URL http://localhost:8080/api-docs
Open URL http://localhost:8080/swagger-ui.html

Similar to the issue #1747

Remove this dependencies and update versions to 2.7.0. If you try localhost:8080/swagger-resources/swagger-ui.html you will see work good.

@adiIspas i am still facing the same issue. 👎

You have a 404 response for hole page or for another links from page, for example link to /configuration/ui?

@adiIspas below screenshot has the list of swagger url's that is available when i run the app.

i use spring-boot version 1.5.6.RELEASE,swagger2 2.7.0,has same problem,need add some config in WebConfiguration

    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("swagger-ui.html")
                .addResourceLocations("classpath:/META-INF/resources/");

        registry.addResourceHandler("/webjars/**")
                .addResourceLocations("classpath:/META-INF/resources/webjars/");
    }

it's working

@imkratos  can you share the full class file?

@imkratos if you are using a spring boot application with autoconfiguration, the problem is that you have a @EnableWebMvc and it disables spring boot autoconfiguration.
but I still have the problem even without @EnableWebMvc. I have a custom config so I had to override WebMvcConfigurerAdapter, I'm not sure if it conflicts with swagger-ui. In the end, I also had to add the resource config in my class to load swagger-ui.
@Configuration
@AutoConfigureAfter(DispatcherServletAutoConfiguration.class)
public class WebConfig extends WebMvcConfigurerAdapter {
private static final Logger log = LoggerFactory.getLogger(Application.class);

private static final String[] CLASSPATH_RESOURCE_LOCATIONS = {
       "classpath:/static/" };

@Autowired
private Environment env;

@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
	super.addResourceHandlers(registry);
    /*registry.addResourceHandler("swagger-ui.html")
    	.addResourceLocations("classpath:/META-INF/resources/");

    registry.addResourceHandler("/webjars/**")
    	.addResourceLocations("classpath:/META-INF/resources/webjars/");*/
}

@srouquette it may be an ordering issue.

I have tried with Spring Boot 2.0.0.M5 and also 404 and this workaround doesn't work:
`@Configuration
@AutoConfigureAfter(DispatcherServletAutoConfiguration.class)
public class WebMvcConfig extends WebMvcConfigurationSupport {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
super.addResourceHandlers(registry);
registry
.addResourceHandler("swagger-ui.html")
.addResourceLocations("classpath:/META-INF/resources/");
registry
    .addResourceHandler("/webjars/**")
    .addResourceLocations("classpath:/META-INF/resources/webjars/");

}
}`
I see in logs Mapped URL path [/swagger-ui.html] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] but still have 404.

@denis111 For spring boot you don't need to do the above changes

@dilipkrish Sure, first i tried it without this changes but also had 404 so I don't know what to do more.

@denis111   u can see spring boot starting info log , swagger-ui.html is mapped and check config

@imkratos If i don't add that "addResourceHandlers" it's not mapped in logs and I get 404. If i do log says it's mapped but it seems to be mapped nowhere, I still get 404. BTW I run it as standalone spring boot application (not war).

@denis111 Id ask the question, what is making your application  such that you're having to do the addResourceHandlers manually? Spring boot makes it so that you don't have to.

@dilipkrish I don't have to do addResourceHandlers manually, I just wanted swagger-ui to work and I tried this workaround suggested in this topic. Anyway, today I've done something(maybe updates something) and now it works without addResourceHandlers. Thanks everybody for support.

@denis111 Any idea what you did?
I've been following this tutorial. I added the dependencies
<dependency>
    <groupId>io.springfox</groupId>
    <artifactId>springfox-swagger2</artifactId>
    <version>2.7.0</version>
</dependency>

<dependency>
    <groupId>io.springfox</groupId>
    <artifactId>springfox-swagger-ui</artifactId>
    <version>2.7.0</version>
</dependency>

and created the configuration:
@Configuration
@EnableSwagger2
public class SwaggerConfig {
    @Bean
    public Docket api() {
        return new Docket(DocumentationType.SWAGGER_2)
                .select()
                .apis(RequestHandlerSelectors.any())
                .paths(PathSelectors.any())
                .build();
    }
}

from the logs I see that the swagger endpoints are there:

but like others, I'm getting a 404 when accessing http://localhost:8080/spring-security-rest/api/swagger-ui.html.

@simonamc
u log just swagger api it's mapped,but swagger-ui.html not mapped, it's different, u can check the following
       registry.addResourceHandler("swagger-ui.html")
        	.addResourceLocations("classpath:/META-INF/resources/");

@silentsnooc it is very likely that spring security is interfering with your web jar being visible

@dilipkrish Yes, in fact that was the issue in my case. Thank you :)

@silentsnooc  were you able to get the swagger ui working?

I've also had this issue. Investigating it further I found that I got the 404 when the jar was built on Ubuntu16, but not on Windows or Ubuntu14, or Ubuntu17.
Is Spring Security OS dependent? The effective POMs were identical, and the java and maven versions were the same .targz file manually installed onto fresh VMs.
I do have @EnableWebMvc annotation once, in the WebConfiguration extends WebMvcConfigurerAdapter class. If I remove it, it stops working on all systems.

@NickEngland seems like a classloader issue that is environmental. If yours is a spring boot app you shouldn't have to do an @EnableWebMvc

User Spring Boot add the following code in the Application file can fix.
@Bean
public WebMvcConfigurerAdapter adapter() {
return new WebMvcConfigurerAdapter() {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("swagger-ui.html")
.addResourceLocations("classpath:/META-INF/resources/swagger-ui.html");
registry.addResourceHandler("/webjars/**")
.addResourceLocations("classpath:/META-INF/resources/webjars/");
    super.addResourceHandlers(registry);
  }
};

}
I use spring boot version 1.5.10-REALSE,springfox version 2.8.0.

@oaoit solution worked for me after 2 days of hustling. Many thanks!

Issue for me was what @fredssbr described.
But for the record, I don't find being unable to use root mapping as an acceptable side-effect of Swagger-UI.

Hi I was having the same problem... After applying the below configuration the problem was solved:

Spring Security Configuration - I have a WebSecurityConfig class extending WebSecurityConfigurerAdapter and here I used the configuration below:

WebMvcConfigurerAdapter - I have a WebConfig class extending WebMvcConfigurerAdapter and here I used the configuration below:

@rssarto You don't need step 2 for spring boot applications. Also it would be nice if you pasted code with formatting rather than images. Hard to copy code from an image to replicate the problem

I have tried add addResourceHandlers, but it doesn't work(create bean name error). Then I run application with debug, and look up the log, found this info:

2018-03-26 21:43:47.414  INFO 43267 --- [           main] b.a.s.AuthenticationManagerConfiguration :

Using default security password: 2d2f9a3d-660e-427b-9cad-5ecc3ac46d49
use this password, and username "user", it works!!!

I had the same problem on my own test project today. The root cause of my problem is that there is already a handler mapped at the base URL. (This handler seem to take precedence over the handler of swagger-ui). As a result, the swagger ui is hidden
The solution is simple: I remapped that handler at a different URL and voila, the swagger-ui.html is there!
Relavent dependency (Gradle):
compile("org.springframework.boot:spring-boot-starter-web:1.5.11.BUILD-SNAPSHOT")
compile ("io.springfox:springfox-swagger2:2.7.0")
compile ("io.springfox:springfox-swagger-ui:2.7.0")

@aslackers I dont follow what the problem is, could you perhaps elaborate or state it differently? Also if you believe this is a new issue create one. This ☝ is closed.

@dillipkrish I am facing same issue which u were facing with spring boot and swagger. Can you please tell me what changes you made. And one more question we have micro services project so our rest api is in different module and main class class is in different module. Does it make any difference. Can can you please tell me what changes you made in your application what make it work for you?

What issue are you facing @aditi-goel? Are you seeing a 404 error? Yes different modules should work.
Also take a look at the demos project.

@jonje Somehow spring boot auto configuration for the web is not kicking in. Either you have a configuration bean that overrides it or you have EnableWebMvc. If you haven't done anything special regarding a dynamic servlet or changed the context path, swagger-ui should be available at http://localhost:8080/swagger-ui.html

I removed @EnableWebMvc annotation and /swagger-ui.html worked like a charm.

@dilipkrish Do you know what type of configuration bean could possibly cause this?

There can be many causes for this...

most common is if you enable spring security you need to be careful about either making the springfox resources public or ensuring that if swagger-ui is public it can access the resources (inspecting the browser console should not have 401 errors)
The second cause is if you have a spring boot app and have the EnableWebMvc annotation set. In which case you need to ensure you add the resource handlers for swagger ui manually
Lastly there might a case where another endpoint is already responding to <host:port>/swagger-ui.html because you might have a RequestMapping that is like `@RequestMapping("/{path}") at the root of a controller.

Not sure why it his the case, but I also needed to add a web mvc configurer. I do use a requestmapping at the root of my controller to add /api everywhere. Anyway there is the kotlin + spring 5 version:
@Configuration
@EnableSwagger2
class SwaggerConfig {

    @Bean
    fun api(): Docket = Docket(DocumentationType.SWAGGER_2)
            .select()
            .apis(RequestHandlerSelectors.basePackage("com.github"))
            .build()

    @Bean
    fun adapter(): WebMvcConfigurer = object : WebMvcConfigurer {
        override fun addResourceHandlers(registry: ResourceHandlerRegistry) {
            registry.addResourceHandler("swagger-ui.html")
                    .addResourceLocations("classpath:/META-INF/resources/swagger-ui.html")
            registry.addResourceHandler("/webjars/**")
                    .addResourceLocations("classpath:/META-INF/resources/webjars/")

            super.addResourceHandlers(registry)
        }
    }
}

@Sytten Is your repo shareable? Just curious to see why its needed

@dilipkrish For now it is public: https://github.com/Sytten/degel-backend/

Thank you @Sytten!

@dilipkrish I have simillar issue  to @NickEngland  - I can build it and run on windows fine and there is 404 on ubuntu 16 (not using EnableMVC). Swagger json is fine so it's only the UI that has some issues. Any suggestions on how to solve it?

@wisien92 how are u running the application?

I am using docker to build jar then start the artifact

@wisien92 Its easiest if you can create a minimal repository and build instructions that I can see what the problem might be. Its hard to diagnose a problem without any facts.

@dilipkrish suer - silly of me that I forgot. This setup is working fine on windows machine as well as on Ubuntu17. But I get 404 on Linux Mint 18 Sarah distribution. Swagger Json is fine so I am considering moving UI to seperate docker service - but the configuration is much easier on Spring side.
the basic docker file
FROM maven:3.5-jdk-8 AS build
WORKDIR /app
# Copy sources
COPY src ./src
COPY pom.xml .
# Build app
RUN mvn clean package -DskipTests
FROM maven:3.5-jdk-8 AS app
# Copy files from first container
COPY --from=build /app/target/target.jar .
# Start app
CMD ["java", "-jar", "expo-backend.jar"]

and later in docker compose
 version: '3.4'
 services:
  spring:
    build: .
    ports:
      - "80:8080"
    entrypoint: ["java", "-jar", "expo-backend.jar"]
    volumes:
      - maven_cache:/root/.m2
 volumes:
   maven_cache:

I have upgrade from 2.7.0 to 2.8.0 and I have this same issue, despite of dont use spring boot. :(
Still facing 404 for swagger-ui.html, since configuring the handlers.
2.7.0 works fine.

I pretty much tried everything in the posts above but the issue would stubbornly refuse to go away.
Finally by trial and error,  I commented out the swagger-ui.html mapping(in WebFluxConfig.java) and it worked. I am using

org.springframework.cloud:spring-cloud-dependencie:Finchley.SR1
org.springframework.boot:spring-boot-starter-webflux
org.springframework.boot:spring-boot-starter-web(needed for Swagger)
io.springfox:springfox-swagger2:3.0.0-SNAPSHOT //support for Reactive apps is not in main release yet
io.springfox:springfox-swagger-ui:3.0.0-SNAPSHOT
io.springfox:springfox-spring-webflux:3.0.0-SNAPSHOT

@Configuration
public class WebFluxConfig implements WebFluxConfigurer {
@Bean
public Docket api() {
    return new Docket(DocumentationType.SWAGGER_2)
            .select()
            .apis(RequestHandlerSelectors.any())
            .paths(PathSelectors.any())
            .build();
}

@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {

    //swagger resource
    //registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources");
    registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
    registry.addResourceHandler("/swagger/**").addResourceLocations("classpath:/static/swagger/");
}

}
Hope this helps someone

I created a sample application that uses Spring 5 Reactive WebFlux and Springfox 3.0.0-SNAPSHOT
that gets around the 404 issue for swagger-ui.html
https://github.com/mpanicker/reactive-spring-swagger

I have encountered this problem before and the problem was in the below line in application.properties
spring.resources.add-mappings=false
remove it or change it's value to true

if you has add following code, but still get 404 when get file /webjars/springfox-swagger-ui, you can clean your browser cache then try again, another way is use the google chrome clean mode to open the swagger, command(ctrl) + shift + N can open chrome clean mode, this mode will not use the cache file.
    registry         .addResourceHandler("/swagger-ui.html")         .addResourceLocations("classpath:/META-INF/resources/");     registry         .addResourceHandler("/webjars/**")         .addResourceLocations("classpath:/META-INF/resources/webjars/");

I had the same problem , but removing @enableWebMVC solved it for me


add manipal university jaipur

University's Link: https://www.onlinemanipal.com/np
It Course Link: https://www.onlinemanipal.com/np/bachelor-of-computer-applications
Domain recognition: https://ibb.co/D9HYZPN

@kadariyaujwal Please provide us with the school street address, including city and country.
Also, the screenshot that you have attached does not prove that the university recognizes the domain as official.
Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Thank you!

@kadariyaujwal You might miss my previous comment. Please react.

@philipto Hi, seems like there is not enough information to prove that the school recognizes the domain that i am submitting.
I have an welcome email from domain mujonline.edu.in (this is the domain i want to get approved) that instructs me to login to domain onlinemanipal.com (this is university's domain). Does this work as a proof of linking these domains?
University Address:
Manipal University Jaipur ,
Dehmi Kalan, Off Jaipur-Ajmer Expressway,Jaipur, (Raj.)
Rajasthan 303007.
Phone: +91<PHONE_NUMBER>
Country: India

@kadariyaujwal  Thank you for the clarifications. Pull request merged.
I found some independent materials confirming that the domain you are submitting is recognized by the university. Thank you!


[FlatButton] Css vertical alignment is not correct

When using a link Flat button and a normal Flat button together, the vertical alignment is going wrong.
This happens in the existing documentation website:

The same issue is happening for both Flat button and Raised button.

Duplicate of https://github.com/callemall/material-ui/issues/1586.


Response setJSON body <?php{ problem

name: Bug report
about: Help us improve the framework by reporting bugs!

Direction
Describe the bug
return $this->response->setJSON(['success' => true]);
page result;
<?php{     "success": true,
<?php tag problem?
CodeIgniter 4 version
Current Version not released version.
Context

OS: OSX Mojave
Web server Nginx
PHP version 7.1.23

Forum topic : https://forum.codeigniter.com/thread-72109-post-359299.html

Problem resolved;
another loaded helper.
<?php tag.
php tag not closed.


LangChain Community Removal

This PR removes the LangChain Community package dependency. It ports the remaining small utility classes and helper functions directly into the LangChain Neo4j codebase, reducing external dependencies while maintaining full existing functionality. The classes and functions ported are:
from langchain_community.chains.graph_qa.prompts import (
    CYPHER_GENERATION_PROMPT,
    CYPHER_QA_PROMPT,
)
from langchain_community.graphs.graph_document import GraphDocument, Node, Relationship
from langchain_community.graphs.graph_store import GraphStore
from langchain_community.vectorstores.utils import DistanceStrategy

This PR also replaces an import of the maximal_marginal_relevance function from LangChain Community with one from LangChain Core.

@CodiumAI-Agent /update_changelog

Changelog updates: 🔄
2024-11-20
Changed

Removed dependency on LangChain Community package by integrating necessary components directly into the LangChain Neo4j codebase.
Updated imports to use LangChain Core and LangChain Neo4j modules.

to commit the new content to the CHANGELOG.md file, please type:
'/update_changelog --pr_update_changelog.push_changelog_changes=true'


Do not document SSL_CTX_set1_cert_store()

It does not exist on this branch.
Arguably one should run find-doc-nits against the whole branch, but I did not have time to fight with getting the requisite perl modules checked out right now.

1daf6a2 in 1.1.0, thanks.