unlink not working on android

Trying to delete images on android device. Works on iOS.
"react": "16.0.0-alpha.6",
"react-native": "0.44.0",
"react-native-fetch-blob": "0.10.5",

I can create and list files but unlink doesn't work. Added then() and catch(). 'file is deleted' is printed in the console.
Example path to delete
file:///data/user/0/se.myapp.name/files/selfie-1496323533962.jpg
Code used
var imageDir = (Platform.OS === 'ios') ? dirs.DocumentDir : 'file://' + dirs.DocumentDir;

RNFetchBlob.fs.unlink(imageDir + '/' + file)
.then(() => console.log("file is deleted"))
.catch(err => console.log("err", err))

Note: Running the delete in an array (multiple files that I want to delete)

In a group project I'm working on we tried to use the normalizePath-method (from RNFetchBlobFS.java) inside the unlink-method (from RNFetchBlobFS.java), just like I now see that even #389 suggests, and it worked.
I guess just like #389 suggests it should be applied in other methods too.

A quick and dirty work around for this is just to knock 'file://' off of the beginning of the file path.

Why is "file://" even there? I would not expect it. The method expects a path, and "file://" is not part of a path. I don't do any mobile development (it is purely accidental that I ended up contributing a tiny bit of code here) so I don't know if there's anything I'm missing about those platforms, but a URI is not a path.
Documentation for unlink: https://github.com/wkh237/react-native-fetch-blob/wiki/File-System-Access-API#unlinkpathstringpromise

I can create and list files but unlink doesn't work. Added then() and catch(). 'file is deleted' is printed in the console.

Can you try the 0.10.9 tree: https://github.com/wkh237/react-native-fetch-blob/tree/0.10.9
It should throw an error, the code was updated.
Code to delete a file on Android, as you can see it has been extended to have better error reporting:

0.10.8: https://github.com/wkh237/react-native-fetch-blob/blob/0.10.8/android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java#L418

0.10.9: https://github.com/wkh237/react-native-fetch-blob/blob/0.10.9/android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java#L470

Sorry for late update. Been away on another project.
Upgraded to 0.10.8, WORKS PERFECT 👍
var imageDir = dirs.DocumentDir;
RNFetchBlob.fs.unlink(imageDir+'/'+file).then(() => { console.log("file is deleted") }).catch((err) => { console.log("err",err) })

Hi! there. I trying to delete on android device
Example path: ```
/storage/emulated/0/Pictures/image-1dae47e4-6bf3-4370-a613-266f0c80412f.jpg
Code used

```JS
RNFetchBlob.fs.unlink(path).then(() => { console.log("Succeeded") }).catch((err) => { console.log("err",err) })

it also reports Succeeded, but the file is still there. How do I really delete the files?


contiv cni plugin for mesos.

Contiv CNI plug-in for Mesos &
Vagrant demo with Mesos 1.0 & Marathon 1.2
Signed-off-by: Ranjith<EMAIL_ADDRESS>

@jainvipin @jojimt @shaleman  PTAL

LGTM, other than the minor comments

LGTM other than minor comments
We can merge this after listing changes..


Yii doesn't add "has-error" class when template option is used in ActiveForm

I need to display my form fields in a table, so I use ActiveForm's template option like this:
$form->field($user, 'user_email', [
    'template' => '
{label}
{input}{hint}{error}

',
    'inputOptions' => []
 ])->label('Email:');

But then if there is an error, the class "has-error" is not set on
 by Yii. Is this a bug in Yii's ActiveForm or am I doing something wrong?

I guess you're doing it in the wrong way. The template key is for to align the items inside the container and the has-error class will be added to the container tag which is by default div tag & default class form-group.
/**
* @var string the template that is used to arrange the label, the input field, the error message and the hint text.
* The following tokens will be replaced when [[render()]] is called: `{label}`, `{input}`, `{error}` and `{hint}`.
*/
public $template = "{label}\n{input}\n{hint}\n{error}";

You can try the following or you may try in a different way according to your HTML markup.
<?= $form->field($user, 'user_email', [
    'options' => [
        'tag' => 'tr'
    ],
    'template' => '{label}
{input}{hint}{error}
	',
]) ?>


Expose internal connected flag as Camera::isConnected()

Expose the connected flag as a public isConnected() method. A tiny little change that was helpful in allowing a photo booth app to fall back to the webcam when the DSLR was not plugged in.

Thanks! In general, I suggest following the code style of repos that you submit to as closely as possible. In the case of ofxEdsdk, even the shortest functions are not defined in the header files. Obviously this isn't a big deal in this one case, but over time with lots of little changes it can make a big difference.


Implemented extended timer

Implemented a new feature which simplifies timing and measurement tasks by allowing the use of a single timer to gauge multiple context blocks—both collectively and individually.
>>> from cm_time import timer
>>> import requests

# Create a timer
>>> request_timer = timer()

# Start timing the first context block
>>> with request_timer:
...     requests.get('https://www.google.com')

# Get elapsed time for the first block
>>> request_timer.elapsed
0.6406652669975301

# Start timing the second context block
>>> with request_timer:
...     requests.get('https://www.google.com')

# Get elapsed time for the second block
>>> request_timer.elapsed
0.7218053240067093

# Get the total elapsed time
>>> request_timer.total_elapsed
1.3624705910042394

# Get individual interval times
>>> request_timer.intervals
[0.6406652669975301, 0.7218053240067093]

If the user wanted to reset and use the same timer
# Continuation from previous example
>>> request_timer.intervals
[0.6406652669975301, 0.7218053240067093]

# Clear intervals
>>> request_timer.clear_intervals()

# Start timing a new context block
>>> with request_timer:
...     requests.get('https://www.google.com')

# Get elapsed time for the new block
>>> request_timer.elapsed
0.5754496199951973

# Get the total elapsed time for the new block
>>> request_timer.total_elapsed
0.5754496199951973

# Get individual interval times for the new block
>>> request_timer.intervals
[0.5754496199951973]

I am sorry, but I would like to reject this change, as I doubt that it is really necessary, though very interesting. I recommend that you create your own library if necessary.


Problem connecting with mumbai testnet

Describe the bug
Faced an issue while using ocean.py with mumbai testnet (here).
The fix is here but, would it be possible to apply the fix in ocean.py itself?
The issue might be reproducible for polygon mainnet (needs further testing).
To Reproduce
Steps to reproduce the behavior:

Try using ocean.py with mumbai testnet

Logs already copied at https://github.com/oceanprotocol/docs/issues/1096
Expected behavior
No issue in interacting with any supported networks using ocean.py.
Screenshots
NA
Desktop (please complete the following information):
NA
Smartphone (please complete the following information):
NA
Additional context
NA

This is fixed by increasing the number of workers to 4

Opening the issue again as discussed.

@calina-c After discussing with Akshay, we realised that the problem is not related to the number of workers.

I re-discovered this issue in #920.
I fixed that issue (and therefore this one) as part of
https://github.com/oceanprotocol/ocean.py/commit/a4fb91153891e2b68be90d4a5a7558bbb44e14d4
It's the changes in util.py


failed to install the ipa on ios 15.1 with AsTools signed

Describe the bug
Using AsTools(爱思助手最新版) to sign the ipa with my own apple account, after signing, i try to install the ipa, but it failed.
Expected behavior
ipa could be installed successfully
Screenshots

Please complete the following information:

Device:  iPhone Xr
OS: 15.1
App Version:  v1.3.6_b117

Additional context
用爱思助手签名之后安装失败，是不是我下载的版本不对？提示的是越狱版。

I'm not sure if EhPanda works fine with iOS 15.1 beta.
Can you try this build? v1.3.1
Anyway, normally I don't answer questions about installation, so I'm closing this issue.
Please feel free to reopen it if you have a good reason to think that there's problems with the ipa file.

[ ![2021-10-07 13-24-46 的屏幕截图](https://user-images.githubusercontent.com/85727393/136324897-f7d1ab2c-8186-46d0-a8ea-f16085208c73.png) ](url)

linux, ubuntu 18, libimobiledevice
command:
ideviceinstaller -i ./EhPanda.ipa -o my_iphone_uuid

Did you resign the ipa file? 🤔

Sideloadly和爱思助手都无法安装。
Sideloadly提示：
FAILED: Call to afc_file_close failed: AFC_E_MUX_ERROR

爱思助手提示：
AppexBundleIDNotPrefixed

不知道这些信息有没有用

Sideloadly和爱思助手都无法安装。 Sideloadly提示：
FAILED: Call to afc_file_close failed: AFC_E_MUX_ERROR

爱思助手提示：
AppexBundleIDNotPrefixed

不知道这些信息有没有用

iOS 15.5 19F77 未越狱


Trend reports are based on distribution/donation/purchase issued date

Resolves #4738
Description
There was a difference between the data shown on the Distributions page and the Distributions Trend Report. The Distribution page was showing quantities per distribution's issued date, while the Trend Report page was showing quantities per line item's creation date.
The trend report uses HistorialTrendService to build the data that will be displayed. Modifying this service also fixed trend reports for donations and purchases.
Type of change

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

How Has This Been Tested?
Modified and added tests to HistoricalTrendService.
Also visually confirmed results by comparing trend report to filtered data (refer to screenshots below).
Screenshots
Distribution trend report from before:

After:

Filtered data
Trend report

Distributions

Donations

Purchases

Looks good, thanks!


[Fixed] Formatting in quick-start-with-vim-go.md

Signed-off-by: Utkarsh Gupta (@utkarsh2102) <EMAIL_ADDRESS>
What this PR does / why we need it: This PR formats the quick-start-with-vim-go.md file with appropriate changes, as asked.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #1553
Also, fixes #1518
Special notes for your reviewer: An issue for this has been raised and the appropriate changes are being made for the same.
CC: @kmova @NisantaSahoo.

@kmova,
Certain changes in the PR has been made in reference to this document, as also provided in the above changed file.


Release 1.36.0

📚 Context
Add docs for release 1.36.0
🧠 Description of Changes

Add st.Page and st.navigation
Add guides for MPAv2
Add tutorial for MPAv2
Additional updates for deprecated legacy caching, customer components, and vertical alignment

🌐 References
Notion task: Docs for release 1.36.0
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

Waiting on one final merge into the release branch: #1097


[Quality] Use a make_insert_query function in test_sql.py

Current Situation
https://github.com/WordPress/openverse-catalog/pull/196#discussion_r719781512
We are currently crafting the insert string every time we need one.
See WordPress/openverse-catalog#196
Suggested Improvement

We could potentially move this into a utility function so we don't have to define the SQL every time we need it.
Benefit
Reduced LOC, single point of change in the future.
Additional context

Implementation

[ ] 🙋 I would be interested in implementing this feature.

Hi! will have a go at this.


Making angular.mock.inject return stuff

Do you want to request a feature or report a bug?
I would like to request the feature in the angular-mocks module, angular.mock.inject function.
What is the current behavior?
Right now test case functions that are passed into it() could also be wrapped using angular.mock.inject function. Some of those test case functions could return something when they finish execution. The angular.mock.inject function does not do anything with those values returned from test functions.
What is the expected behavior?
Is it possible to pass returned values to the "outside" from angular.mock.inject function? Usually there is only one function that is passed into it. So is it possible to return that value from the inject function? I see that inject function also supports multiple test functions, so in that case maybe array of results could be returned?
What is the motivation / use case for changing the behavior?
This feature would allow for integration with jasmine-promises module. The module expect that the test case function will return the promise, so that it can seamlessly attach .then(done).catch(done.fail) on the promise, so the test case can finish or fail successfully.
Other information (e.g. stacktraces, related issues, suggestions how to fix)
Suggestions how to implement fix are provided in the expected behavior section. Also note that jasmine-promises module does not support the case where the test function returns an array. In this scenario, jasmine-promises will have to be extended to support arrays.

Looks like a dupe of https://github.com/angular/angular.js/issues/13584
I think this should be easy to support, barring any issues that I cannot foresee.


Update image.md

Consider removing the fresco:animated-base-support dependency since React Native no longer supports Android versions before API level 14? This line was breaking my release builds while upgrading to React Native 0.73 and the bump to Fresco 3.1.3.

since React Native no longer supports Android versions before API level 14?

That line is still needed if your specifically targets versions before API level 14 though

@cortinico I suppose that is fair. For some reason, that line was breaking my release builds. But it may just be unique to my project.


Django 1.9 compatibility

Updated the model to refer to settings.AUTH_USER_MODEL
Moved model import into method to prevent app init issues where models are imported before the app has been loaded.

LGTM


Added the ability to hide panels on report

GoAccess provides a lot of information in the reports, which is very useful and serves many users. Therefore, reports contain multiple panels, some of them may not be useful for some users or at a given time. There are already options to control the displayed panels, but they can only be set when generating the report.
This PR allows users to toggle panels on reports at any time by clicking on a icon on the sidebar panel list.

Merged. Thanks so much for submitting this PR, this is awesome!


Add reset() to thread local ContextVar and no-op copy_context()

Improves the capabilities of our threadlocal context variables, we use when no "real" context variables are available (for example in old Python versions)

Adds a no-op copy_context function to use in environments without context vars
Adds reset functionality to our threadlocal based context vars.

This is preparation work for refactoring how we deal with Hubs and Scopes in the future.

Following this MR 👍🏼 looking forward to the updates


Action 'Post_your_own_adaptive_card_as_the_Flow_bot_to_a_channel' failed

Flow: Staff Check-ins Adhoc Schedules
Team connection uses a service account which not member of any teams. (Do I need to add the service account to teams to make it work or the flow should run based on the context of the current user who created the check-ins?)

Hi @kenny-bui , yes you will have to add the service account as team member. Flow while sending the notification checks internally (I guess) whether you are a valid team member or not.
Can you try it once.


[cider-D] Could not find pyciderevalcap in "Microsoft COCO Caption Evaluation"

Hi,
In Microsoft COCO Caption Evaluation,there only exists pycocoevalcap, no pyciderevalcap
I'm new to the caption metrics, does the cider means cider-D?
(1)  from pyciderevalcap.ciderD.ciderD import CiderD    yours
(2)from pycocoevalcap.cider.cider import CiderD  mine
Can i import CiderD in the form of (2)?  or where can i find the pyciderevalcap code?  since i can't find it in github...

https://github.com/ruotianluo/self-critical.pytorch#train-using-self-critical
I used a slightly-modified cider which is more efficient.

Thanks a lot!


Transfer funds no longer works

There was an update on the code over the weekend which broke "Transfer funds" functionality. It was working fine on Friday. Here is the screenshot of the error I am seeing when pushing "Send" button:

Thanks! Fixing in 8121
We moved all sorts of symbols around so webpack code splitting could work right. If you notice any other issues like this is probably a broken import path in the ui if you'd like to PR (or feel free to just file a ticket).


GraphQL navbar overflowing into Graphiql

Fixes: #715

New CSS class and modified max-width attributes to increase the width for when items disappear.
I think this is only a temporary fix as when more plugins add top level items this will need to be changed again.
I think a permanent fix will need some design conversations.
/* Hide the username in the navigation menu on displays less than 1400px wide */
@media (max-width: 1399px) {
    #navbar_user {
        display: none;
    }
}

/* Hide the search bar in the navigation menu on displays less than 1440px wide */
@media (max-width: 1439px) {
    #navbar_search {
        display: none;
    }
}

/* Hide the queries tab in the navigation menu on displays less than 1250px wide */
@media (max-width: 1249px) {
    #navbar_queries {
        display: none;
    }
}

Per our latest chat, let's try to make the "Queries" menu item a button in the GraphiQL built-in nav menu as a button matching the look/feel to the right (see the red circle):


Optional wiring of checks array as an object keyed by the health check name

Design proposal
Optional wiring of checks array as an object keyed by the health check name
Description
Inspired by https://github.com/eclipse/microprofile-health/issues/110 we can add different formatting of the /health/* outputs according to the description in the spec issue which could be enabled/disabled by an MP Config property io.smallrye.health.response.checks-as-object=true (the name is open to discussion).
Dates
Proposal submitted: 2020-08-07
Bake time end: 2020-08-11 (2 working days)
Reviewers
@smallrye/health-check

Ok with the idea


Trying to set HttpSysOptions.Authentication.Schemes to contain AuthenticationSchemes.Kerberos leads to mysterous failure

This issue is in the documentation, and probably should be addressed in the XML comment documentation.
When using UseHttpSys(), if you set HttpSysOptions.Authentication.Schemes to contain AuthenticationSchemes.Kerberos and the machine is not on a domain you get a mysterious error
fail: Microsoft.AspNetCore.Server.HttpSys.HttpSysListener[0]
SetUrlGroupProperty
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (0x80004005): A specified authentication package is unknown
fail: Microsoft.AspNetCore.Server.HttpSys.HttpSysListener[0]
Start
Microsoft.AspNetCore.Server.HttpSys.HttpSysException (0x80004005): A specified authentication package is unknown
at Microsoft.AspNetCore.Server.HttpSys.UrlGroup.SetProperty(HTTP_SERVER_PROPERTY property, IntPtr info, UInt32 infosize, Boolean throwOnError)
at Microsoft.AspNetCore.Server.HttpSys.AuthenticationManager.SetUrlGroupSecurity()
at Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.Apply(UrlGroup urlGroup, RequestQueue requestQueue)
at Microsoft.AspNetCore.Server.HttpSys.HttpSysListener.Start()
The problem is requesting Kerberos when not on a domain. To have a ghost of a chance requires reading the source code of UrlGroup.SetProperty to find the native method and then reading the documentation of the native method to determine what it's trying to do.
The apparent use of HttpSysOptions.Authentication.Schemes is to provide the list of acceptable authentication schemes. The actual meaning is try to initialize all of these and fail if any don't work.
Getting "X is unknown" from an enum argument is pretty hard to understand as it is. The documentation needs to call it out because of the bad error message.

Thanks for the info.

Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough  👍 responses, we’ll reconsider.


No AuthorizationManager set

I'm getting the "No AuthorizationManager set" error.
However I'm configuring the authorization manager in my Startup.cs:
    public void Configuration(IAppBuilder app)
        {
            ConfigureOAuth(app);
            var config = new HttpConfiguration();
            WebApiConfig.Register(config);
            app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);
            app.UseWebApi(config);
            app.UseResourceAuthorization(new TestAuthorization());
            RegisterIoCDependencies(app, config);
        }

And my controller:
    [Authorize]
    [RoutePrefix("api/test")]
    [ResourceAuthorize(TestResources.View, TestResources.Test)]
    public class TestController: ApiController
    {
        private readonly ITestService _testService;

        public TestController(ITestService testService)
        {
            testService= _testService;
        }

        [Authorize]
        [ResourceAuthorize(TestResources.Add, TestResources.Test)]
        public HttpResponseMessage Post([FromBody] TestContract payload)
        {

        }
    }

Am I doing something wrong?
Thank you

Order matters. Move the resource authZ before the Web API

Perfect. Thanks.


ash-window: Upgrade to raw-window-handle 0.4.2

Note that this depends on one of the many winit 0.25 example upgrades (though we'll require 0.26 to make raw-window-handle 0.4 work) in order to succeed compilation on the examples.

Not sure about the timing on this one: raw-window-handle just came out, and winit 0.26 too.  There's a compatibility in 0.3.4 that allows consumers like this ash-window crate to consume the 0.4 handle (because the trait is implemented for it) produced by ie. winit, so there's a good reason to stay on 0.3.4 for longer to have wider adoption before migrating the ash-window crate - which is unfortunately tied in to the ash version!  This just provides a git branch/rev for crate authors to use if they desire to deduplicate their raw-window-handle dependency in the crate graph.
I wonder if we can use a lower and upper version bound on ash and just perform minor releases of ash-window to increase that upper bound whenever a new, compatible version of ash is released.  A bit like the proposed fixes for vma.  We can keep two ash-window major releases in parallel, but that's going to get hairy as soon as there's a breaking change in ash (in fact the unreleased "Support linking vulkan directly" PR changes our API surface already).

The match arms are not guarded by cfg anymore, allowing us to compile-test these simple arms on every system whenever our Ash extension helpers and types are not guarded by cfg attributes either.  This applies to every platform except Mac/IOS where the symbols and external raw-window-metal crate are themselves guarded by cfg's.
CC @msiglreith, seems like we need an update to https://github.com/norse-rs/raw-window-metal before this could even work :)

Thanks @msiglreith, seems we can update to https://github.com/norse-rs/raw-window-metal/pull/4 (v0.2) without any other changes (though the CI doesn't build-test a mac/ios build afaik).

What is this waiting on?

@dvc94ch As long as we stick on 0.3.4, this crate can be used with both the 0.3.4 and and 0.4.1 window handles. When we upgrade that fallback to 0.3.4 is gone, so it actually makes sense to just stay on 0.3.4 - until we start missing functionality.

Not quite sure what you mean, this is the error I get with the winit provided handle:
error[E0308]: mismatched types
   --> piet-gpu-hal/src/vulkan.rs:176:70
    |
176 |                 for ext in ash_window::enumerate_required_extensions(*handle)? {
    |                                                                      ^^^^^^^ expected trait `raw_window_handle::HasRawWindowHandle`, found trait `HasRawWindowHandle`
    |
    = note: expected reference `&dyn raw_window_handle::HasRawWindowHandle`
               found reference `&dyn HasRawWindowHandle`
    = note: perhaps two different versions of crate `raw_window_handle` are being used?

error[E0308]: mismatched types
   --> piet-gpu-hal/src/vulkan.rs:226:76
    |
226 |                     surface: ash_window::create_surface(&entry, &instance, handle, None)?,
    |                                                                            ^^^^^^ expected trait `raw_window_handle::HasRawWindowHandle`, found trait `HasRawWindowHandle`
    |
    = note: expected reference `&dyn raw_window_handle::HasRawWindowHandle`
               found reference `&dyn HasRawWindowHandle`
    = note: perhaps two different versions of crate `raw_window_handle` are being used?

@dvc94ch I think https://github.com/MaikKlein/ash/pull/553 may be of interest to you.


Add variations to fold_many functions that don't require Clone on resulting type

Then modify the related macros to use them so that the macros can be used without clone
I and a friend were trying to use Nom in our code to write a parser and were frustrated when it required that our parsed type implement Clone, when there didn't seem like there needed to be any reason to clone it. I took a look inside fold_many0! macro and realized that it didn't need to, so I set out to change it.
fold_many0 the function, in its current form, requires cloning the initial value so that the parser closure it returns can be called multiple times with different inputs. fold_many0 the macro, however, only calls that closure once, so it could be an FnOnce instead of an FnMut. This would allow it to not need to clone its initial input.
The existing function fold_many0 is already public and changing its return type to an FnOnce would be a breaking change, so instead I add a new variation of the function, and factor out common implementation details into a private helper.
Other approach
One other possible interface would be to have the functions take in a repeatably callable closure that generates the initial value. This would also work well for non-Clone types if they have a fairly simple to generate initial value, and would allow returning a repeatably callable FnMut, but if the initial value came from some arbitrarily complex sub-expression this wouldn't work well.

I am open to suggestions for better function names, as well as suggestions for how to modify the old and new example code to show the differences between the old and new functions

Thinking about this further, I realize there's probably no reason the *_once functions need to return an FnOnce at all instead of just taking in an input immediately. i'm working on a change to this pull request to do that, that I'll push to branch when ready.

the combinators were fixed in #1354


Add lopi-py/luau-lsp.nvim

Repo URL:
https://github.com/lopi-py/luau-lsp.nvim
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!


Cannot login using username in the production server

User cannot login using username in the production server. There is a message shown as attached below:

Done by certificate renewal.


VSCode themes not applied consistently (with how VSCode does it)

When using a VSCode theme, certain elements are not styled the way VSCode does. This mainly concerns the Explorer, the Tabs and the bar on the bottom.
For Dark themes, this seems to be no issue, but for light themes, the contrast on those elements is problematic.
Please see attached Screenshot, taken with "Winter is Coming (Light)" from https://vscodethemes.com/e/johnpapa.winteriscoming applied to both editors.

@glennsl Couldn't this issue be closed now?

Ah, yes! Seems like I fat-fingered the close word on that PR. Thanks for the heads up!

Thanks @glennsl for fixing this so quickly


Sending SES emails using SourceARN property does not work when the SES service for the account TEAM is deployed to is still in sandbox mode

If TEAM is deployed to specific account as per the recommendations in the documentation, it is unlikely that SES would be configured in this account and use of the SourceArn attribute to send as a verified identity in another account is helpful since it allows you to make use of a pre-configured SES implementation that has all the correct security and anti-forgery setup already.
However, this does work. There is no error reported but the emails do not get delivered. If you look into the lambda logs you will see that the "from" and "to" addresses need to be verified. However, what is not clear is verified where .In my case they were already verified in our SES production account (by virtue of the entire domain being verified). After a fair bit of troubleshooting and reading the document here: Sending emails for the identity owner for Amazon SES sending authorization - Amazon Simple Email Service it says "Additionally, the AWS accounts of both the identity owner and the delegate sender have to be removed from the sandbox"
Therefore you need to verify the source address that the emails will come from (you can do this by attaching the smtp address to your inbox if you have access to do this and then AWS send you a link to click) or verify the entire domain via DNS. Then you need to ask AWS to take the account out of sandbox mode.
Just to be clear, you may already have SES in a production or other account that is already out of sandbox but this is not enough. You need to get SES service in the account where TEAM is deployed to also be out of sandbox.
Also, if you have not seen the other issue I raised around SES regions it is worth also looking at it: https://github.com/aws-samples/iam-identity-center-team/issues/200

It is really disappointing to take to investigate and report an issue which receives not a single comment from any of the maintainers then is closed due to it being stale. This does not encourage people to get involved.  Do you have any thoughts on this @tawoyinfa

@reidca one of the prerequisites documented for using SES as a notification source for TEAM is to move SES out of sandbox mode..  This requirement is not controlled by TEAM itself but a function of the SES service.
From your comment, I understand that you have moved the primary SES account out of sandbox mode. Are you struggling to do the same for the account where TEAM has been deployed as well ?

No, I have this working now.
However it is not clear, at least to me, from the documentation that when using the SourceArn which specifies an identity in a different account that both that account and the account where TEAM is deployed need to be taken out of sandbox.
This is pretty confusing if you consider the emails are not being sent from the TEAM account in this situation. Logically it would seem that the client is just connecting directly to the other account but the sandbox requirement exists for both accounts nonetheless.
I am not suggesting this is a fault with TEAM but the documentation could be clearer under these scenarios.

@reidca makes sense.  We would update the documentation to make this clearer


container 0.32 stops reposnding after a few minutes

After updating komf deployment to the latest 0.32 version, it stops responding to requests after a few minutes. Trying curl to the address hangs forever.
No messages appear in log.
Explore-logs-2024-02-29 12 26 52.txt
Version 0.31.8 does not have the issue.
Container is deployed on a raspberry pi 4, with k3s, ram used is around 300Mb
apiVersion: apps/v1
kind: Deployment
metadata:
  name: komf
  namespace: kavita
spec:
  replicas: 1
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app: komf
  template:
    metadata:
      labels:
        app: komf
    spec:
      containers:
      - name: komf
        image: sndxr/komf:latest
        ports:
        - name: komf
          containerPort: 8085
        envFrom:
        - configMapRef:
            name: kavita-env
        volumeMounts:
        - name: komf-data
          mountPath: /config
        resources:
          requests:
            cpu: 100m
            memory: 128Mi
          limits:
            cpu: 1000m
            memory: 2Gi
      volumes:
      - name: komf-data
        persistentVolumeClaim:
          claimName: komf-data

environment:
apiVersion: v1
kind: ConfigMap
metadata:
  name: kavita-env
  namespace: kavita
data:
  TZ: Europe/Rome
  SMTP_HOST: my.mail.host
  SMTP_PORT: "25"
  SEND_ADDR: <snip>
  DISP_NAME: <snip>
  ALLOW_SENDTO: "false"
  KOMF_KOMGA_BASE_URI: http://komga:25600
  KOMF_KOMGA_USER: <snip>
  KOMF_KOMGA_PASSWORD: <snip>
  KOMF_LOG_LEVEL: DEBUG

Can confirm. Ubuntu 22.04 with newest docker compose. Having the same issue.

for me its not after a few minutes tho, it never works to begin with.

Not sure what might be causing this.
The only significant change was a switch to jre-21 in docker image causing server to use loom virtual threads by default that for some reason get completely blocked
Might be fixed in https://github.com/Snd-R/komf/releases/tag/0.33.0

0.33 seems fine


Resize to 224 instead of 256

After the latest update the image should be resized to 224 square (instead of 256).

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

ID: 754dd7d5-dd8b-4a75-5d79-0ba621a847cd
Version Independent ID: 3cca3535-1c16-2da1-46c6-421cbf808bc3
Content: Tutorial: Run TensorFlow model in Python - Custom Vision Service
Content Source: articles/cognitive-services/Custom-Vision-Service/export-model-python.md
Service: cognitive-services
GitHub Login: @areddish
Microsoft Alias: areddish

Hi @ajakupov
The intermediate resize to 256x256 is still the correct behavior. Depending on your model the logic to determine network_size may crop different sizes from that region but the source still needs to be 256x256 to produce the intended result.

@ajakupov
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


stable/chartmuseum: Allow to define a schedulerName

What this PR does / why we need it:
Allows to define a schedulerName
example: https://github.com/libopenstorage/stork

@Smana since this is a feature addition, can you change version to 2.13.0?

@jdolitsky done

/ok-to-test

/lgtm


Aqcu 1194: Treat any date prior to 1700 as open-ended

Coverage remained the same at 98.919% when pulling 52e8a78a0486b83bf6f13ee20fde7f35098db72f on mhines-usgs:AQCU-1194 into 85a9a2ea23256a2562c8e16c0a979f691dc921c0 on USGS-R:master.


Make mmap_allocator allocate @safe

This is a subset of the old #5879

Looks fine to me

@wilzbach  @aG0aep6G Can we make make mmap and VirtualAlloc pure?

@edi33416 have a look at https://github.com/dlang/druntime/pull/1718


Create a reducer function using Redux

Added Redux Toolkit.
Used the feature folder structure for this redux src and used the duck pattern.

...
/src
    |---/components
    |---/redux
        |--- /books
                | books.js
        |--- /categories
                | categories.js
        | configureStore.js
    | index.js

Defined action types for adding and removing a book.

I set the initial state to be an empty array of books.

Exported Action Creators for your actions.

Created reducer and export it as default.
Defined state changes for the actions that you created.

Defined an action type for checking the status.

I set the initial state to be an empty array of categories.

Imported the necessary methods from Redux Toolkit.

Combined both reducers into a root reducer by using configureStore function.

@smunozmo  Thank you for the amazing review.


should /notes/{id} throw an error if the noteid doesnt exist?

Currently an empty array is returned, should an error be thrown instead?

The schema defines correctly that a 404 status code must be returned.
https://sage-bionetworks.github.io/nlp-sandbox-schemas/data-node/edge/docs/#operation/notes.read
Update
I'm preparing the release 0.1.2 for the nlp-sandbox-schemas that now specify that a JSON object must be returned when a note is not found.

Depends on https://github.com/Sage-Bionetworks/nlp-sandbox-schemas/pull/39.

picky picky ;-)

An error object with the following properties is now returned when the specified note is not found:


CSS+HTML doesn't work

Hi,
Firstly Hi to anyone who's reading this. I am new at this forum. I am also a beginner in HTML+CSS.
So you know i just wanted to make my own website via Atom. But you know I don't know how i am gonna make the connection between CSS+HTML. For example when i put a <div class="header" to h1, it should be able to change the color on CSS. But it isn't doing that. I also put the <link command into html.
The code which i did put:

I dont get it.
Thanks,

Is this really an Atom question?
(have you linked your CSS file in the HTML header?)


Suggestions for documentation clarifications

Over the past few months, @moxcodes and I have been working to add load balancing and checkpoint/restart in SpECTRE.
Here's a list of some things we've encountered in the Charm++ documentation that we felt could be clarified, as well as some questions that we thought would be useful to have addressed by the documentation. This list is a bit lengthy, so we've done our best to organize it by section and break it up into smaller items that can be checked off.
We're happy to discuss any items where we haven't made ourselves/our questions clear!
Based on Charm++ v6.11.0-beta1, and documentation from https://charm.readthedocs.io/en/latest/index.html as of late Oct 2020.

2.2.6 - Load Balancing
<IP_ADDRESS>

[ ] First sentence: our understanding is that singletons cannot migrate either, in which case the statement should be restricted to array chares only.

[ ] Are LB measurements done for every charm application, or only in cases where the user "turns on" LB by linking in a LB module or calling charm functions or using command-line args? If one of the latter, which?

[ ] Can the documentation state (here or in a different section, if more appropriate) when LB measurements start? Do measurements start as soon as the application starts up, or later? In other words, will startup costs enter into the LB decision on the first LB invocation? Does the answer depend on whether periodic, at sync, or manual LB is used?

[ ] Does the load balancing database get reset after a LB invocation? Does this depend on whether any chares are actually migrated by the LB?

<IP_ADDRESS>

[ ] Since v6.11 will be gathering several LBs under TreeLB and eliminating other LBs, it would help discoverability and usability if the documentation were updated to provide an accurate listing of available LBs. Specific concerns:

[ ] [Already in #3131] Given that many LBs are implemented within TreeLB, it would be nice to improve their discoverability. Ideally these sub-balancers would once again appear in the output from running exec +balancer help, but providing a detailed listing of the sub-balancers implemented by TreeLB in the main documentation would also be very helpful. This information would be useful not just for running in "legacy" mode, but also for setting up the TreeLB config file.

[ ] Relatedly, since TreeLB exposes the ability to configure the individual LB strategies, it would be helpful to document the parameters for each of the strategies. Ideally, these would be listed in the documentation but also in the command-line help text so that if the documentation isn't updated, at least the command line utility can report details of the current branch of the code.

[ ] The documentation lists some LBs that appear to have been removed, e.g., TopoCentLB. We suggest removing from this listing any LBs that are not actually available.

[ ] The documentation uses phrases like

Listed below are some of the available non-trivial...
Listed below are some of the communication-aware load balancers;

which imply the existence of even more LBs. It would be helpful —and perhaps easier now that 6.11 has fewer LBs?— to ensure all LBs are listed in the documentation.

[ ] There are numerous mentions of the SCOTCH load-balancer. Is it still available? If it is still supported, it would be very helpful if more detailed build instructions could be provided for it, especially in light of #3136.

[ ] It would be helpful to note the existence of the LIBS and/or everylb build targets, and specify which LBs are only built through these targets.

[ ] What is the format for a Metabalancer model? The gzips provided in charm/src/ck-ldb/rf_model are both long ascii files of numeric parameters, so don't help a user in understanding what the models are or how to train one for their own purposes.

<IP_ADDRESS>

[ ] The sentence

However, in one scenario, those automatic load balancers will fail to work - when array elements are created by dynamic insertion.

implies to us that dynamic insertion and LB cannot be used in the same application. But we understand this is actually okay, as long as they occur at different times and using doneInserting to indicate insertions are finished. This is mentioned in "<IP_ADDRESS>.5. Dynamic Insertion". Can the main LB documentation clarify this behavior?

[ ] Can an application dynamically insert several elements, call doneInserting, run for a significant period of time while load balancing, but then insert new elements? If this is possible, then followup clarifications:

[ ] Is there an additional call that is required to notify the charm runtime that insertion will resume? For example, is it necessary to wrap the dynamic insertion events with TurnManualLBOn and TurnManualLBOff?

[ ] Is this compatible with periodic or at sync load balancing? Is this process acceptable if it can be assured that no element calls AtSync while any elements are being inserted?

subsection "2. At sync mode"

[ ] The at sync documentation says

When all local elements call AtSync the load balancer is triggered

Is it the case that if only a subset of the elements on a core call AtSync, those elements will wait indefinitely for the rest of the elements on the same core to also call AtSync?

[ ] If an application has multiple chare arrays, and usesAtSync is set to true in the elements of one array only, what happens? Will that one chare array use at sync LB while the others use periodic LB?

[ ] The at sync documentation notes that

the minimum time for a AtSync() load balancing to occur is controlled by the LBPeriod

Can the documentation clarify how AtSync and +LBPeriod interact? E.g., if the elements call AtSync but a full LBPeriod has not elapsed since the last AtSync call, does the runtime wait until the LBPeriod clock is ready and then invoke the LB? or does the runtime skip LB and go straight to ResumeFromSync?

subsection "3. Manual mode"

[ ] In manual mode, how are the measurements for the LB database gathered? Are the measurements automatic, or are they manually started by TurnManualLBOn or by CkStartLB?

[ ] After calling CkStartLB, how do we know if/when load balancing is done? or is it just perpetual? It would be nice to clarify whether this does "one iteration" of LB, or continuous LB as controlled by +LBPeriod until TurnManualLBOff is called.

[ ] Is there some way to specify a callback to invoke after CkStartLB load balancing is complete?

<IP_ADDRESS>
subsection 2. Building individual load balancers

[ ] [Already in #3136] This section advertises a way of building individual LBs, that does not work on v6.11.0-beta1. Delete this section?

2.3.12 - Checkpoint/Restart-Based Fault Tolerance

[ ] How does the initialization sequence given here change when restarting from a checkpoint? Do the different types of chares still get initialized in the order (mainchare -> group/nodegroup chares -> array chares)? Are dependencies (as specified when starting up from the mainchare's CkArgMsg constructor) between groups/nodegroups maintained in a restart from checkpoint? It would be helpful to clarify these questions in either the initialization or the checkpoint/restart documentation... even if just to say the behavior is unknown or undefined.

[ ] How do readonly variables interact with checkpoint/restarting? Are they automatically saved and restored? Should they be pup'd by the mainchare? Or should the value be reassigned in the CkMigrateMessage mainchare constructor, mirroring how they are assigned in the first program startup?

[ ] If a chare holds a CProxy as a member variable, how does this member variable interact with checkpoint/restart? Is the CProxy after the restart immediately in a valid state (though all the array elements the proxy may "contain" aren't yet) or do we need to somehow set the CProxy after restart? If we need to set the CProxy after restart, how do we do that since nothing can communicate without the CProxy's being set?

Pinging @moxcodes and @nilsdeppe to follow along


Refactor code to remove version from the PySiddhi name

Purpose
This PR renames PySiddhi4 to PySiddhi by removing the version from the component name.
Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

@grainier Can you please help with reviewing this?


Event::fire has been removed.

PHP Error:  Call to undefined method Illuminate/Events/Dispatcher::fire() in /var/www/nya/vendor/rinvex/laravel-cacheable/src/CacheableEloquent.php on line 222
source: https://github.com/rinvex/laravel-cacheable/blob/7112fc4375e39f7876fe82df1f0a4bde4702f90b/src/CacheableEloquent.php#L220-L222

There has been an hot fix https://github.com/rinvex/laravel-cacheable/commit/7112fc4375e39f7876fe82df1f0a4bde4702f90b without an hot fix at all, just bumping the release ;- D

@schranzer235 thanks for pointing that out, I hope you mentioned it earlier 🙂
The fix was pushed only to develop three days ago, and been missed out from master.
Not it's fixed, for real! cbbb3863524a01646eb12f17ad78aa238eee0789


GEODE-2891 connect-timeout violation in C++ Native Client

The fix enables to interpret the time measure unit in handshake as milliseconds rather than seconds.

I suggest to fix the issue by defining handshake pseudo message within the range probably defined for such pseudo messages by original design i.e.:
typedef enum {
/* Server couldn't read message; handle it like a server side
exception that needs retries */
HANDSHAKE = -3
NOT_PUBLIC_API_WITH_TIMEOUT = -2,
WDYT?
Thanks,
Dr. Gregory Turovets
"…We're all mad here. I'm mad. You're mad."
"How do you know I'm mad?" said Alice.
"You must be," said the Cat, "or you wouldn't have come here."
Alice's Adventures in Wonderland by Lewis Carrollhttp://www.livelib.ru/author/157108.
From: Jacob Barrett<EMAIL_ADDRESS>Sent: Sunday, July 02, 2017 17:46
To: apache/geode-native<EMAIL_ADDRESS>Cc: Gregory Turovets<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [apache/geode-native] GEODE-2891 connect-timeout violation in C++ Native Client (#105)
@pivotal-jbarrett requested changes on this pull request.
Please rebase your changes on develop rather than merge.
Do not include comments with ticket numbers.
Do not include comments with your name or initials.
Do not leave sources commented out, delete or delete not.
Please follow the C++ style of the community.
I am concerned with the approach of trying to define a pseudo message for handshaking to get a different timeout unit. This may bite us in the future when added new messages to the protocol.
There are a few tickets in flight, or soon to be in flight, that address this problem.
https://issues.apache.org/jira/browse/GEODE-3136
https://issues.apache.org/jira/browse/GEODE-3137
I have begun some experiments with GEODE-3136 and should start committing to it in a few days. All API exposed timeouts will be based on std::chrono::duration so you can clearly see what unit of time your time is and the code behind that API doesn't have to guess. GEODE-3137 will address on use cases internally that aren't addressed when updating the public API. Any configuration files that specify timeout will be updated to take a duration string as well in the format of "1234s", "1234ms", etc.

In src/cppcache/src/TcrConnection.cpphttps://github.com/apache/geode-native/pull/105#discussion_r125184790:

@@ -318,7 +318,9 @@ bool TcrConnection::InitTcrConnection(

LOGFINE("Attempting handshake with endpoint %s for %s%s connection", endpoint,
       isClientNotification ? (isSecondary ? "secondary " : "primary ") : "",

       isClientNotification ? "subscription" : "client");

ConnErrType error = sendData(data, msgLengh, connectTimeout, false);

// GT GEODE-2891

Do not include comments with your name or the ticket number.

In src/cppcache/src/TcrConnection.cpphttps://github.com/apache/geode-native/pull/105#discussion_r125184798:

@@ -318,7 +318,9 @@ bool TcrConnection::InitTcrConnection(

LOGFINE("Attempting handshake with endpoint %s for %s%s connection", endpoint,
       isClientNotification ? (isSecondary ? "secondary " : "primary ") : "",

       isClientNotification ? "subscription" : "client");

ConnErrType error = sendData(data, msgLengh, connectTimeout, false);

// GT GEODE-2891

//ConnErrType error = sendData( data, msgLengh, connectTimeout, false );

Do not leave commented out sources, this is what revision control is for.

In src/cppcache/src/TcrConnection.cpphttps://github.com/apache/geode-native/pull/105#discussion_r125184917:

 // then app has set timeout in millis, change it to microSeconds

 sendTimeoutSec = sendTimeoutSec * 1000;

 isPublicApiTimeout = true;

 LOGDEBUG("sendData2 %d ", sendTimeoutSec);

} else {

 sendTimeoutSec = sendTimeoutSec * 1000;

}

  notPublicApiWithTimeout == TcrMessage::EXECUTE_REGION_FUNCTION_SINGLE_HOP ||

         // GT GEODE-2891

         notPublicApiWithTimeout == TcrMessage::HANDSHAKE)

  {

      // then app has set timeout in millis, change it to microSeconds

      sendTimeoutSec = sendTimeoutSec * 1000;

      isPublicApiTimeout = true;

      LOGDEBUG("sendData2 %d ", sendTimeoutSec);

  }

Formatting does not conform to Google C++ Style Guidehttps://google.github.io/styleguide/cppguide.html.

In src/cppcache/src/TcrMessage.hpphttps://github.com/apache/geode-native/pull/105#discussion_r125184959:

@@ -171,7 +173,8 @@ class CPPCACHE_EXPORT TcrMessage {

 GET_DURABLE_CQS_DATA_ERROR = 106,

 GET_ALL_WITH_CALLBACK = 107,

 PUT_ALL_WITH_CALLBACK = 108,

REMOVE_ALL = 109

  REMOVE_ALL = 109,

  HANDSHAKE = 110

These numbers correspond to protocol message numbers on the server. We can just add one here and expect it not cause issues later.

In src/cppcache/src/TcrMessage.hpphttps://github.com/apache/geode-native/pull/105#discussion_r125184965:

@@ -44,6 +44,8 @@

#include
#include
+//
Clean this up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/apache/geode-native/pull/105#pullrequestreview-47551893, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbZcfm-Wvg_K8tzwTd2ACFihvkB1aQLaks5sJ60jgaJpZM4OLjA1.
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer https://www.amdocs.com/about/email-disclaimer

I suggest to fix the issue by defining handshake pseudo message within the range probably defined for such pseudo messages by original design i.e.:
typedef enum {
/* Server couldn't read message; handle it like a server side
exception that needs retries */
HANDSHAKE = -3
NOT_PUBLIC_API_WITH_TIMEOUT = -2,

I think that would certainly work better but I think ultimately the fix is to remove the ambiguity between the C++ API and the Server API by strongly typing the duration values as addressed in the mentioned tickets. All duration values can be cast to the internal API supported unit without any ambiguity. After which there is no need to create this pseudo message to change the unit of the ambiguous int value.

@gregt5259 please close this pull request since you opened #106.

Closed by Ernie Burghardt request as duplicated #106


[Feature]: Creating deployed urls for each environment

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Currently, the only way to perform testing is in edit. The preview mode seems to have a bug as reported here. However, the app that is deployed when embedded in another website, there is no way to test the app. It would be a good idea if by a query param or subdomain url we can have a live version of each environment.
Why should this be worked on?
When using embedding, there is no way to test the application.

@sonali-humanedge in the deployed mode, you can just change the query param to environment=staging and it will load the staging version of the application

@Nikhil-Nandagopal I have tried multiple times to add the query param environment=staging. But this doesn't work.

@sonali-humanedge apologies this is an issue on our end. We're currently fixing this you can track #31266


feat!: spring cleaning

Includes release notes for v2.0.0-next.1
Closes #131 #172 #183 #184 #191

Would it be better to enable extend_background_behind_borders by default? I understand new releases can have breaking changes but I think this will come surprising to users when they found out telescope window has disjointed background colors

I don’t mind setting that to true by default. Will update later today :)
For other feedback please add to the related discussion: https://github.com/rose-pine/neovim/discussions/195


RUMM-1447 let the bridge configure the SDK verbosity

What does this PR do?
Let the bridge and cross platform SDKs configure the verbosity of the native library, to be able to get info/warning/error in the logcat

Codecov Report

Merging #28 (feb9eec) into main (c644846) will decrease coverage by 1.54%.
The diff coverage is 60.00%.

@@             Coverage Diff              @@
##               main      #28      +/-   ##
============================================
- Coverage     79.59%   78.05%   -1.54%
- Complexity       70       76       +6
============================================
  Files             8        8
  Lines           196      205       +9
  Branches         21       23       +2
============================================
+ Hits            156      160       +4
- Misses           29       33       +4
- Partials         11       12       +1

Impacted Files
Coverage Δ

...n/com/datadog/android/bridge/internal/BridgeSdk.kt
91.53% <60.00%> (-6.47%)
:arrow_down:

...n/com/datadog/android/bridge/internal/BridgeRum.kt
74.03% <0.00%> (-1.30%)
:arrow_down:


Adds Metric Tracking using Google Analytics

@DanielJMaher we want to put the google analytics account ID in github?

@FBRTMaka Yea, this is a junk account that i don't care about.  it doesn't hold any importance.  I can delete it if it gets abused.
I would never put the official OOI GA tracking code.  That would be a bad time.

@DanielJMaher That's cool...as for this approach it seems that doing it at the app level may be better.  Take a look at this for an idea: https://github.com/citruspi/Flask-Analytics
This will save the terrible terrible task of manually updating each URL.  Also, the config variable could be set as an environment variable so it's plug and play.

Not saying that's THE solution, but just the approach may be simpler.

@FBRTMaka I'm afraid that it would flood the GA account.  I only put it in for the pages I want to track.  If we did it on the app level wouldn't it hit for EVERY page?

@DanielJMaher Well that's the idea, and GA is quite capable of handling it.  There are far bigger sites than ours that use it on every page.

@FBRTMaka I'm not worried about GA not handling it, I'm worried about reading the results.  Either rate, i'm going to leave it this way for now and get some feedback on the metrics from Rutgers and COL.  If they want more data, I'll look into doing it at the app level.

Cool beans.

@oceanzus Review and merge if you agree??? Also, note the change to the config file for deployments

ANYONE?


Compilation fails when using adding a toBuilder() method

Given this class:
@AutoValue
public abstract class Test {
    public abstract int value();

    public abstract Builder toBuilder();

    public static Builder builder() {
        return new AutoValue_Test.Builder();
    }

    @AutoValue.Builder
    public interface Builder {
        Builder value(int value);

        Test build();
    }
}

I get this error:
Error:(71, 14) error: constructor AutoValue_Test in class AutoValue_Test cannot be applied to given types;
required: int,Builder
found: Integer
reason: actual and formal argument lists differ in length

If I remove toBuilder() it compiles fine.

This is an issue with AutoValue itself https://github.com/google/auto/issues/281
As a workaround you can manually implement toBuilder for now:
public Builder toBuilder() {
    return new AutoValue_Contact.Builder();
}

This is a known issue in AutoValue.  Check this issue for a workaround.

Ah, thanks for the workaround.


PromotedActionCategories in PageExtensions

So when I set the PromotedActionCategories property in a page extension, because I want a new toolbar category for the action I'm adding, it doesn't seem to take effect?
Actually don't we need to rethink how this works? Should I be able to set the full list in my extensions and what will that do to other extensions for the same page that add a Action Category as well?
Would it not be better to have a 'ActionCategory()' which I can add captions to etc. following an addafter() so following the same pattern we have for fields and actions themselves?

I just saw BC not bothering to apply the new caption added in PromotedActionCategories, and after testing found that the correct caption was shown when viewing in English (US) language, but it reverted to Category9 when changed to English (UK).


internal/migrate-clarin-dspace5-to-clarin-dspace7

Problem description
Create the analysis how to migrate the data from CLARIN-DSpace 5 to CLARIN-DSpace 7.2.

Probably use the REST API
Useful link: https://wiki.lyrasis.org/display/DSDOC7x/Migrating+DSpace+to+a+new+server

data_migration.docx

This issue is very wide and abstract, it must be divided into more concrete issues


Correct free5gc exercise

Remove edge1, edge2 and regional repos in the output from kubectl get repositories command
For R2, free5GC tests moved from test-infra/e2e/tests to test-infra/e2e/tests/free5gc directory

Correct path for yaml files
Correct file name from 003-network.yaml to 002-network.yaml
Correct file name from 003-secret.yaml to 002-secret.yaml

/assign @arora-sagar

/lgtm

/approve


office-365-apps-np@office: decompress error

When trying to install office-365-apps-np with the command:
$ scoop install office-365-apps-np

I got this error:
Installing 'office-365-apps-np' (office) [64bit]
officedeploymenttool_13426-20370.exe (3.4 MB) [=================================] 100%
Checking hash of officedeploymenttool_13426-20370.exe ... ok.
Extracting dl.7z ... ERROR Exit code was 2!
Failed to extract files from C:\Users\Oki\scoop\apps\office-365-apps-np\office\dl.7z.
Log file:
  ~\scoop\apps\office-365-apps-np\office\7zip.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/scoop-nonportable/issues/new?title=office-365-apps-np%40office%3a+decompress+error

This is the content of the log file ~\scoop\apps\office-365-apps-np\office\7zip.log:

7-Zip 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26

Scanning the drive for archives:
1 file, 3534440 bytes (3452 KiB)

Extracting archive: C:\Users\Oki\scoop\apps\office-365-apps-np\office\dl.7z
WARNING:
C:\Users\Oki\scoop\apps\office-365-apps-np\office\dl.7z
Cannot open the file as [7z] archive
The file is open as [PE] archive

[0]
WARNINGS:
There are data after the end of archive

--
Path = C:\Users\Oki\scoop\apps\office-365-apps-np\office\dl.7z
Open WARNING: Cannot open the file as [7z] archive
Type = PE
Physical Size = 3534440
CPU = x86
Characteristics = Executable 32-bit
Created = 2020-12-10 00:41:02
Headers Size = 1024
Checksum = 3588707
Image Size = 356352
Section Alignment = 4096
File Alignment = 512
Code Size = 220160
Initialized Data Size = 123904
Uninitialized Data Size = 0
Linker Version = 14.24
OS Version = 6.1
Image Version = 0.0
Subsystem Version = 6.1
Subsystem = Windows GUI
DLL Characteristics = Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
Comment =
{
FileVersion: 16.0.13426.20370
FileVersion: 16.0.13426.20352
ProductVersion: 16.0.13426.20370
ProductVersion: 16.0.13426.20352
CompanyName: Microsoft Corporation
LegalTrademarks1: Microsoftr is a registered trademark of Microsoft Corporation.
LegalTrademarks2: Windowsr is a registered trademark of Microsoft Corporation.
FileDescription:
InternalName:
OriginalFilename:
ProductName:
}
----
Path = [0]
Size = 3180768
Packed Size = 3180768
Virtual Size = 3180768
Offset = 345088
--
Path = [0]
Type = Cab
WARNINGS:
There are data after the end of archive
Physical Size = 3180751
Tail Size = 17
Method = MSZip
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 0

Sub items Errors: 3

Archives with Errors: 1

Warnings: 1

Sub items Errors: 3
ERROR: Incorrect reparse stream : configuration-Office2019Enterprise.xml
ERROR: Incorrect reparse stream : configuration-Office365-x64.xml
ERROR: Incorrect reparse stream : configuration-Office365-x86.xml

Please note the same happens with office-365-apps-minimal-np

By the way, it seems it is downloading an old version (16.0.13426.20370) of Office instead of the latest one (16.0.15225.20204)

Seems like others people are also facing this problem #278


refactor: convert fs paths to uris in test file utils

refactor: convert filesystem paths to uris in test file utils
Refactored the current test file utils to use URIs instead of filesystem paths.
Changes

convertFsPathToTestFile -> convertFileUriToTestFileUri
Updated method signatures to use URI instead of strings
Updated tests to construct URI objects
Generate new file requests using URI.parse instead of strings

Test plan

all current tests are passing
the /unit command (behind cody.internal.unstable config) works as expected

@abeatrix Just noticed this when calling vscode.Uri.joinPath on a vscode-uri.URI value as the first arg. Will get it merged soon, and you might find it useful to rebase this PR on that for your tests.
https://github.com/sourcegraph/cody/pull/2772


Error in AzureIoTHubClient_ProcessLoop

Please provide us with the following information:

This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Integrate the mbedTLS library in azure middleware to use TLS_send and TLS_recv.
execute the code and connect to IoT hub, wait for AzureIoTHubClient_ProcessLoop function to execute.

Any log messages given by the failure

[2024-01-05_15:29:42:471][ERROR] [TlsTransport] [transport_tls_socket_using_mbedtls.c:904] Failed to read data: mbedTLSError[-8]=  : BIGNUM - The buffer is too small to write to.
[2024-01-05_15:29:42:471][ERROR] [MQTT] [core_mqtt_serializer.c:2394] A single byte was not read from the transport: transportStatus=-8.
[2024-01-05_15:29:42:493][ERROR] [MQTT] [core_mqtt.c:1319] Receiving incoming packet length failed. Status=MQTTRecvFailed
[2024-01-05_15:29:42:493][ERROR] [MQTT] [core_mqtt.c:2191] Exiting process loop due to failure: ErrorStatus=MQTTRecvFailed

Expected/desired behavior

It should be process the received data and complete the workflow of data receive from cloud/sender.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
I am working on stm32u585 board and integrated azure middleware.
to work with TLS_send and TLS_recv I have integrated the mbedTLS 3.4.0 in it.

Versions

mbedTLS 3.4.0

Mention any other details that might be useful

Thanks! We'll be in touch soon.

This error is coming from the BIGNUM lib in the mbed TLS stack, which is an external component to this repo.
This might be relevant.
https://forums.mbed.com/t/bignum-the-buffer-is-too-small-to-write-to/11693

Thanks for your reply !!
here are the detailed logs:
basically the processloop error is caused by timeout.
[2024-02-19_11:08:15:556]ip4_output_if: call netif->output()
[2024-02-19_11:08:15:582]pbuf_alloc(length=0)
[2024-02-19_11:08:15:582]pbuf_alloc(length=0) == 0x2000e75c
[2024-02-19_11:08:15:582]lwip_recv_tcp: netconn_recv err=-3, 073581.lwip_recv_tcp: p == NULL, error is "Timeout."!
[2024-02-19_11:08:15:582]lwip_recvfrom(0):  addr=<IP_ADDRESS> port=8883 len=-1
[2024-02-19_11:08:15:582]in_left: zu, nb_want: zu
[2024-02-19_11:08:15:632][ERROR] [TlsTransport] [transport_tls_socket_using_mbedtls.c:906] Failed to read data: mbedTLSError[-1]=  : ERROR - Generic error.
[2024-02-19_11:09:02:097]pbuf_alloc(length=1)
[2024-02-19_11:09:02:097]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:09:02:097]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:09:02:097]pbuf_free(0x2000e54c)
[2024-02-19_11:09:02:097]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:09:02:838][ERROR] [MQTT] [core_mqtt_serializer.c:2394] A single byte was not read from the transport: transportStatus=-1.
[2024-02-19_11:09:16:383]pbuf_alloc(length=1)
[2024-02-19_11:09:16:383]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:09:16:383]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:09:16:383]pbuf_free(0x2000e54c)
[2024-02-19_11:09:16:383]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:09:33:264]pbuf_alloc(length=1)
[2024-02-19_11:09:33:264]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:09:33:264]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:09:33:264]pbuf_free(0x2000e54c)
[2024-02-19_11:09:33:264]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:09:34:541][ERROR] [MQTT] [core_mqtt.c:1319] Receiving incoming packet length failed. Status=MQTTRecvFailed
[2024-02-19_11:09:49:731][ERROR] [MQTT] [core_mqtt.c:2191] Exiting process loop due to failure: ErrorStatus=MQTTRecvFailed
[2024-02-19_11:10:19:922]pbuf_alloc(length=1)
[2024-02-19_11:10:19:922]pbuf_alloc(length=1) == 0x2000e54c
[2024-02-19_11:10:19:922]tcpip_inpkt: PACKET 0x2000e54c/0x20007498
[2024-02-19_11:10:19:922]pbuf_free(0x2000e54c)
[2024-02-19_11:10:19:922]pbuf_free: deallocating 0x2000e54c
[2024-02-19_11:10:20:239]Wait for properties sub ack failed: error=0x00000001
if there is no data from cloud to device, then how the azure middleware will handle the processloop timeout error?


Winforms source updater for HighDPISetting

Fixes #785
Also addresses #805

@twsouthwick I think the reason for not using Roslyn here is because some of the updates depend on non-source files (like app.config) that are harder to reach from Roslyn. I agree there should be unit tests, though.

That makes sense about not easily accessible. However, we can work around that fairly easily if we want to keep source manipulation to source analyzers (I'd prefer that as a matter of principal, but fine with well defined exceptions). Some thoughts on how to enable it with roslyn:

For the diagnostic to be available when using just the nupkg, we'd want to add a targets file that would add any config files to additional files (this is a pattern a number of analyzers do to ensure files are available)
For the diagnostic to work as a source analyzer in the context of UA, we'd want to update the runner to be aware of globbing patterns to add as additional files.

Regardless, I'd like to see tests to catch any regressions. If you continue down this path of non-Roslyn based, it would be nice to introduce some abstractions to the IProject to read/replace files (I've seen requests for that anyway) so you're not using System.IO.File static methods directly (this will help a ton with testing).


Add jupyter notebook version of caching_nodes example

Add jupyter notebook version of caching_nodes example #247
Changes

Add jupyter notebook version of caching_nodes example
Add "examples/**/hamilton-env" to .gitignore to ignore the autogenerated virtual environments.

How I tested this
Manually ran through the notebook and verified results
Notes
Checklist

[ ] PR has an informative and human-readable title (this will be pulled into the release notes)
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

@alti-tude see https://github.com/DAGWorks-Inc/hamilton/blob/main/developer_setup.md for setting up pre-commit locally.

@alti-tude see https://github.com/DAGWorks-Inc/hamilton/blob/main/developer_setup.md for setting up pre-commit locally.
Otherwise looking good, thanks!

Yep. Fixed it. Thanks!

Thanks! Merged!


Cleanup Test Output

make test Tests spill out hundreds of lines under ===A=== and ===B===, amongst others. I have no idea what these are but certainly add to the confusion. IMHO tests should output name of test and pass/fail.

This is due to #11 with a test failing, the A and B being the two outputs compared - otherwise the output is not so verbose. We can have them output to files instead on failure?


add Promscale logo

Description
I've added our new logo and also links to our website, community slack, forum, etc. Once we complete moving the docs we can put a link there as well.

Could the image be put under docs/assets/ with the rest of images?

I thought about that but I also thought that we are moving docs to docs.timescale.com and that folder may go away in the future and thought it would be better to have /images.
If you feel strongly it's better to have it in docs/assets I'll put it there.

I don't have a strong opinion on this. We can proceed with PR as is.


Add floor to verse

got 2 failure
features/meta-video-feature-tests.html
meta-video
when initilize
sets the dimension of the object ‣
Error: width: expected 3 to equal 2.4
Context. at /test/spec.js:105
adds another mesh in group when frame-width is included in meta-style ‣
Error: expected 1 to equal 2
Context. at meta-video-feature-tests.html:48
Open in immersive mode

all specs pass now, texture repeat logic changed according to the size of the meta component


[5.7] Toggle entire tree when clicking while pressing alt key on title symbol at Navigator

Rationale: Toggle entire tree when clicking while pressing alt key on title symbol at Navigator
Risk: Low
Risk Detail: Only affects a small interaction in the navigator
Reward: Low
Reward Details: Users will be able to toggle the entire tree in a new interaction, similar to the macOS experience
Original PR: https://github.com/apple/swift-docc-render/pull/389
Issue: rdar://94150776
Code Reviewed By: @hqhhuang @dobromir-hristov
Testing Details: Tested manually in the browser and added relevant unit tests

@swift-ci test


isEqualToObject: between RLMObject that has persisted and non-RLMObject object causes a crash

Related:
https://github.com/realm/realm-cocoa/pull/1548
https://github.com/realm/realm-cocoa/issues/1547
Problem
isEqualToObject: between RLMObject that has persisted and non-RLMObject object causes a crash.
Since the RLMObject that has persisted try to compare each realm property, the non-RLMObject do not have realm property, that causes unrecognized selector exception.
Reproduce
Dog *mydog = [[Dog alloc] init];
mydog.name = @"Rex";
mydog.age = 9;

RLMRealm *realm = [RLMRealm defaultRealm];
[realm transactionWithBlock:^{
    [realm addObject:mydog];
}];

[mydog isEqualToObject:[NSObject new]]; // Crash

Stack trace
2015-03-12 06:23:36.999 Simple[4486:597542] -[NSObject realm]: unrecognized selector sent to instance 0x7f9b5844d500
2015-03-12 06:23:37.011 Simple[4486:597542] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSObject realm]: unrecognized selector sent to instance 0x7f9b5844d500'
*** First throw call stack:
(
	0   CoreFoundation                      0x0000000104b83f35 __exceptionPreprocess + 165
	1   libobjc.A.dylib                     0x000000010481cbb7 objc_exception_throw + 45
	2   CoreFoundation                      0x0000000104b8b04d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x0000000104ae327c ___forwarding___ + 988
	4   CoreFoundation                      0x0000000104ae2e18 _CF_forwarding_prep_0 + 120
	5   Simple                              0x0000000102aa6ec5 -[RLMObjectBase isEqualToObject:] + 65
	6   Simple                              0x0000000102aa5734 -[RLMObject isEqualToObject:] + 39
	7   Simple                              0x0000000102a97af4 -[AppDelegate application:didFinishLaunchingWithOptions:] + 1108
	8   UIKit                               0x000000010355f475 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 234
	9   UIKit                               0x000000010355ffbc -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2463
	10  UIKit                               0x0000000103562d2c -[UIApplication _runWithMainScene:transitionContext:completion:] + 1350
	11  UIKit                               0x0000000103561bf2 -[UIApplication workspaceDidEndTransaction:] + 179
	12  FrontBoardServices                  0x00000001070912a3 __31-[FBSSerialQueue performAsync:]_block_invoke + 16
	13  CoreFoundation                      0x0000000104ab953c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	14  CoreFoundation                      0x0000000104aaf285 __CFRunLoopDoBlocks + 341
	15  CoreFoundation                      0x0000000104aaea43 __CFRunLoopRun + 851
	16  CoreFoundation                      0x0000000104aae486 CFRunLoopRunSpecific + 470
	17  UIKit                               0x0000000103561669 -[UIApplication _run] + 413
	18  UIKit                               0x0000000103564420 UIApplicationMain + 1282
	19  Simple                              0x0000000102a97de3 main + 115
	20  libdyld.dylib                       0x0000000105108145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

@kishikawakatsumi what version of Realm is this with?

In all versions. Need to add:
 if (![otherObject isKindOfClass:RLMObjectBase.class])) {
    return NO;
}

and a test.

Feel free to make a pr with a fix

Actually, I'm not sure we should. isEqualToObject should only take an RLMObject, whereas isEqual should take id.

The problem is we assume that an RLMObject actually is an RLMObject. In the case it isn't (which can easily happen in objc) we crash. I assume that is the issue here.

Right, but isn't that just user error?

You are right it is a user error and it should throw an exception. On al-swift though we will crash instead as we access the ivar directly.  So on al-swift we should have this check and throw rather than crashing.

This has been fixed on master.

so do you have a sample of how to campare realm objects with non-realm objects?


Add unit to Sensor

Right now, we leave that column empty, see weatherforecast/utils/Sensor.py.

wrong project ...


Liquid Exception: undefined method `to_liquid'

Jekyll version - 3.7.3
custom theme configured in _config.xml
theme: jekyll-theme
I have been building the project without issues but when i add jekyll-data plugin (in Gemfile and plugins section on _config) and build, I see the following error
Liquid Exception: undefined method to_liquid for #<Jekyll::Theme:0x007fd2e18e3cb0> in assets/css/styles.cs

Hi @shankarho :wave:
First of all, thank you very much for trying this plugin.
Apologies, if this plugin is indeed the cause. This is quite unexpected.
Please post the entire trace output from running bundle exec jekyll build --trace to help me debug the situation.

Hi @ashmaroli
Thanks for the quick response and support.  Please find stack trace below.  If I remove the plugin, i don't get this error and the site builds fine.   Please let me know if you want me to try out few other things.
Incremental build: disabled. Enable with --incremental
Generating...
Liquid Exception: undefined method to_liquid' for #<Jekyll::Theme:0x007fe8fb989a18> in assets/css/styles.css bundler: failed to load command: jekyll (/usr/local/bin/jekyll) NoMethodError: undefined method to_liquid' for #Jekyll::Theme:0x007fe8fb989a18
/Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/variable_lookup.rb:49:in block in evaluate'   /Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/variable_lookup.rb:38:in each_index'
/Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/variable_lookup.rb:38:in evaluate'   /Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/context.rb:159:in evaluate'
/Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/variable.rb:76:in render'   /Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:109:in render_node'
/Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:88:in block in render'   /Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:75:in each'
/Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/block_body.rb:75:in render'   /Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/template.rb:208:in block in render'
/Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/template.rb:242:in with_profiling'   /Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/template.rb:207:in render'
/Library/Ruby/Gems/2.3.0/gems/liquid-4.0.0/lib/liquid/template.rb:220:in render!'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/liquid_renderer/file.rb:30:in block (2 levels) in render!'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/liquid_renderer/file.rb:42:in measure_bytes'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/liquid_renderer/file.rb:29:in block in render!'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/liquid_renderer/file.rb:49:in measure_time'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/liquid_renderer/file.rb:28:in render!'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/renderer.rb:123:in render_liquid'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/renderer.rb:76:in render_document'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/renderer.rb:62:in run'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/site.rb:473:in block in render_pages'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/site.rb:471:in each'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/site.rb:471:in render_pages'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/site.rb:191:in render'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/site.rb:73:in process'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/command.rb:28:in process_site'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/commands/build.rb:65:in build'
/Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/commands/build.rb:36:in process'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/lib/jekyll/commands/build.rb:18:in block (2 levels) in init_with_program'
/Library/Ruby/Gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in block in execute'   /Library/Ruby/Gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in each'
/Library/Ruby/Gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in execute'   /Library/Ruby/Gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in go'
/Library/Ruby/Gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in program'   /Library/Ruby/Gems/2.3.0/gems/jekyll-3.7.3/exe/jekyll:15:in <top (required)>'
/usr/local/bin/jekyll:22:in load'   /usr/local/bin/jekyll:22:in <top (required)>'

I do not see a reference to this plugin in the trace output. Therefore, I suggest you provide me with a link to your repository (Or, a minimal, reproducible version that I can test myself)

Sure, I'll make it a minimal repo and get back.

I have it here - https://github.com/shankarho/jekyll-issue-debug

@shankarho Thanks for reporting this issue and for the test repository.
I have traced the and bug and will come up with a fix in the near future.
If you wish to continue using the plugin in the interim, the workaround is to replace {{ site.theme }} with  your theme's name manually.
- @import "{{ site.theme }}"
+ @import "my_theme"


Salief/update to protocol changes

cc: @jawndiego @0xTranqui

can we confirm that well be able to access the data thats getting passed into the setup function (other function as well) which is what wed need to be able to know what the logic and renderer contracts for a given Press??
Im optimistic well be able to, since that input data is returned on etherscan (factory init) , but not 100% sure we can get that from the viem event logging

can we confirm that well be able to access the data thats getting passed into the setup function (other function as well) which is what wed need to be able to know what the logic and renderer contracts for a given Press??
Im optimistic well be able to, since that input data is returned on etherscan (factory init) , but not 100% sure we can get that from the viem event logging

Yeah, we'll need to confirm this. On a side note, are there individual events emitted when the Logic and Renderer contracts are updated? Or is that just included in PressDataUpdated

logic and renderer updates will be recorded in logic + renderer routers that well set up. they wont be in the router tho bc its too sspeciic for that level imo

logic and renderer updates will be recorded in logic + renderer routers that well set up. they wont be in the router tho bc its too sspeciic for that level imo
to be clear, logic + renderer update events will not come from the router. well need to be running extra indexing on the logic and renderers we setup. and also well need to come up with a solution for picking up "Collected" events which are emitted at the Press level. maybe Goldsky just for that?

Hmm okay, good to know. We could probably lump the Router and Logic events in with the general indexing, but for indexing individual Press contracts yeah we might need to turn to something that supports factories.


peewee not in Pyodide Package List

Even after the PR was merged successfully:

https://github.com/pyodide/pyodide/pull/3897
https://github.com/brightway-lca/brightway-hub/issues/8

peewee does not show up in the Pyodide package list and can't be installed using await piplite.install("peewee").
See also:

My question in the pyodide/community Gitter chat
https://github.com/pyodide/pyodide/discussions/4081

...will be part of the 0.24.0 release, according to

https://github.com/pyodide/pyodide/discussions/4081


Update README.md

Added item "- easyui - Collection of 50+ Next.js Website Templates built using React, Tailwind CSS, Shadcn/ui, Framer Motion and more. "

name: feat: Easy UI
about: Add Easy UI (https://easyui.pro)
labels: boilerplates/templates

Describe the awesome thing you want to add
What is it?
Easy UI is a collection of 50+ high quality Next.js templates. Built using React, Next.js, Tailwind CSS, Shadcn/ui, Framer Motion and more.
What category does it belong to? (Libs and Components, Apps, Ports, Design System, Boilerplates/Templates)
Boilerplates/Templates
Anything else? (optional) (e.g. screenshots, additional information, etc.)

Checklist

[✅I checked that it is in alphabetical order.
[✅ ] I have checked that the awesome thing is not already listed.
[✅ ] I have provided a clear and concise description of the awesome thing.
[✅ ] I have provided a link to the awesome thing.
[✅ ] I have assigned the correct category to the awesome thing.

Please note: If you are adding a new category, you will need to create a new section in the README.md file. Please make sure to update the table of contents as well.
Important: The idea of this repository is to bring together free projects for open-source contributions. If the proposed addition is an entirely paid project, the PR will be closed.

Please put in alphabetical order

Hi,
Thanks for the mail. I updated it in alphabetical order. Just sent a new
PR. Please check.
On Mon, Aug 5, 2024 at 3:29 PM João Inácio Neto @.***>
wrote:

Please put in alphabetical order
—
Reply to this email directly, view it on GitHub
https://github.com/birobirobiro/awesome-shadcn-ui/pull/89#issuecomment-2269763531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7JGXK7IFLEZB6ZEN7B7HDZP7HBRAVCNFSM6AAAAABMAWYC5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRZG43DGNJTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Some Default VSCode Settings GUI Descriptions not using MarkdownText for code

Issue Type: Bug

VSCode Version: 1.29.0-exploration and insiders
OS Version: Windows 10 1803 17134.345

Steps to Reproduce:

Open Settings GUI
Search carefully and look for backticks   ` in descriptiosn which don't change into markdown.

I have left out extensions obviously as it's based on the authors to fix it.
Locations:

CSS > Lint: Font Face Properties | @font-face rule must define src and font-family properties
CSS › Lint: Important | Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.

@roblourens

Does this issue occur when all extensions are disabled?: Yes/No

Thanks, we had to find these one by one and missed a couple...


Added support for getting an external variable kind

Hello @wcandillon , could you quickly review this? It is a very small extension of the static context api to fix a bug in sausalito.
Thanks
Federico


New package: CyberArkPVWAClient v0.1.2

Registering package: CyberArkPVWAClient
Repository: https://github.com/noahbliss/CyberArkPVWAClient.jl
Created by: @noahbliss
Version: v0.1.2
Commit: eb7d90c699fb058dec68bb8e71f08f2b55a74575
Reviewed by: @noahbliss
Reference: https://github.com/noahbliss/CyberArkPVWAClient.jl/commit/eb7d90c699fb058dec68bb8e71f08f2b55a74575#commitcomment-44011942

@noahbliss you need to add a compat version also for Julia
[noblock]

Gotcha, will update it.


allow question mark usage in expr

Pretty much what it says on the tin. If you like this I should probably port it to the loop and loop/count templates as well (which I never use personally).

Updated to make the test pass on 1.6.0, using a build script hack.

I also made a change to how the error is reported, and made the script return a non-zero exit code.


Update home_assistant.rs

Added EPS voltage and Battery temperature sensors

Uhm.. this looks different to the last time I suggested additional sensors. Apologies if I messed something up, I'm clueless when it comes to programming and github.

Yeah I reworked a lot of this to make it easier to add new ones :)
This looks good, tests will probably fail but I can fix those if you like. They're just a bit tedious, it'll need some copy/paste from the new MQTT messages that get produced I think.


How to destroy and initialize cropper again after closing modal?

Hi,
I wanted to know how to re-initialize the entire cropper to accept new images when the user cancels the modal. Below is the code I am using to destroy the cropper on close function of the modal. Kindly help me with the initialization of cropper. Thanks
var $image = $(".img-container");

$(".modal-branding-logo").on("click", function(){
    $("#brandingLogoModalDialog").modalWindow();
    $("#brandingLogoModalDialog").dialog({
        height:588,
        width:500,
        close:function () {
            $image.cropper("destroy");
            //initialize and build cropper again
        }
    });
    $("#brandingLogoModalDialog").dialog("open");
});

Initialize the cropper when the modal is shown completely!
Destroy the cropper when the modal is hidden completely!

Hi fengyuanchen,
It is very great plugin and i m love to use this
I have three different images to crop and rotate.
Whenever i rotate or zoom one image and click on reset from another image toolbar it reset all three images .
Please help me to resolve this prolem

@maiaurkya It is the problem of your own code, not cropper.

code:
$image.cropper('destroy').cropper(options);
From official code and path is docs\v3.1.6\js\main.js, row number 104, Hope you help! .

@DataZhenTech Do you try the latest version?

Cropper v4.0.0!
| |
丁青青
<EMAIL_ADDRESS>|
签名由 网易邮箱大师 定制
On 10/24/2018 21:58, Fengyuan Chen wrote:
@DataZhenTech Do you try the latest version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

code:
$image.cropper('destroy').cropper(options);
From official code and path is docs\v3.1.6\js\main.js, row number 104, Hope you help! .

I did $image.cropper('destroy');
and it worked for me as if e latest version of Jquery Cropper


Use more specific callable types in DSL hooks

What:
Adding more accurate type hints than simply using Callable everywhere.
Why:
Because... accurate typing is a Good Thing(tm).
How:
Using NoReturn from typing module and creating a type alias ExampleFunction with a full type-signature to be used in all of the hooks around examples.
Risks:
Test continue to pass :-)
Checklist:

[ ] Added tests, if you've added code that should be tested (N/A)
[ ] Updated the documentation, if you've changed APIs (N/A)
[x] Ensured the test suite passes
[x] Made sure your code lints
[x] Completed the Contributor License Agreement ("CLA")

@donkey-hotei  it seems like mypy tests are failing for this PR. can you please address these? to check locally you can use make tests on your checkout

Closing this PR and opened another https://github.com/facebook/TestSlide/pull/320 as I struggled with git to update the PR using the commit on my fork. Been using hg for too long


ntfy CLI

The CLI could consist of 3 features:
Server
Just like today, possibly rename command to ntfy serve
Subscribe to topics
Just like curl:
$ ntfy subscribe mytopic1,mytopic2
{"id":"UiLWPRJAi1","time":1639044609,"event":"message","topic":"mytopic1","message":"It is Thu Dec 09 2021 17:10:09 GMT+0700 (Western Indonesia Time). This is a test."}
{"id":"idFle3ak4S","time":1639074191,"event":"message","topic":"mytopic2","message":"Test"}
...

With a hook:
$ ntfy subscribe mytopic1,mytopic2 --hook 'notify-send "{{.Message}}'

As part of the daemon
$ cat config.yml
subscribe:
   -
     - topic: ntfy.sh/mytopic
     - hook: 'notify-send "{{.Message}}'

$ ntfy serve # runs daemon

Send messages
ntfy send mytopic "This is a message"
...

I am still working on this with great progress. It's just taking longer than expected.

Done in 1.8.0


Publish to nuget

What's missing for publishing of the nuget package?
The Attributes already are accepting Property, but the version in nuget not.
What can I do to help?

Not all of them. Some of them, like FieldIgnoredAttribute, only can be applied to fields.
There's a milestone defined here, but apparently is not ready yet.

[ ] Testing Excel package in alpha package on appveyor
[ ] Publishing beta to nuget.org
[ ] Publishing stable to nuget.org
[ ] Creating release notest
[ ] Update of filehelpers.net to version 3.2.6

Hi Pablo
Thank you for offering your help to make the 3.2.6 release happen!
It would be very helpful, if you could test the Excel (Excel COM based, not NPOI based) nuget package.

Download and install it from https://ci.appveyor.com/nuget/filehelpers
Do some imports / exports maybe similar to
FileHelpers/FileHelpers.Tests/Tests/DataLink/ExcelStorageTests.cs

Let me know, if it worked for you!
Matthias

Excel package unfortunately not running yet on computer with installed MS Excel.
I need to find out, what Excel / Interop version needs to be installed.

Matt,
Why don't you use EPPlus for Excel Generation, instead of Excel / Interop?
Excel / Interop is not good for Cloud Environments.
On Mon, Oct 16, 2017 at 3:00 PM, Matthias Cavigelli <
<EMAIL_ADDRESS>wrote:

Excel package unfortunately not running yet on computer with installed MS
Excel.
I need to find out, what Excel / Interop version needs to be installed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MarcosMeli/FileHelpers/issues/259#issuecomment-337019606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABcX3BzE5_mjra9t07vRyLXGZS4-TD4Nks5ss7X4gaJpZM4PQRVs
.

Hi Cigano
Thank you for your comment: for compiling we used version 12, but the nuget package already referenced version 15. That did not work. Now the nuget package also references version 12.
We are aware of the problems that Excel / Interop presents.
For the release 3.2.6 I still want to keep the behaviour identic to release 3.1.5.
Matthias

An alpha version (3.2.6-alpha) is available on nuget.org.
Let me know if it works for you or if you have any problems.
Thank you for your testing, Matthias

Uploaded 3.2.7 final to nuget.org!

Website is updated.
That was the release 3.2.7!


TWILIO_WORKSPACE_SID value not working

I was almost successful in getting the app set up, but the TWILIO_WORKSPACE_SID value in the config (which does match my Twilio settings) doesn't work.  (I followed the instructions precisely, and triple checked everything)
Oh snap!
The environment variable TWILIO_WORKSPACE_SID is not set or incorrect. If you are on Heroku please update your application settings.

Maybe something has changed at Twilio? (possibly additional settings inside of Twilio -- perhaps to Channels or Workers or something?)
Thanks!

The workspaceSid starts with WS..., are you sure you copied the right Sid from https://www.twilio.com/console/taskrouter/dashboard to the settings? The error is returned if this expression is true !process.env.TWILIO_WORKSPACE_SID || process.env.TWILIO_WORKSPACE_SID.length !== 34

Thanks for the quick reply. :)
Yes, 34 chars copied/pasted from Workspace properties page:

Can you try to open /setup on your setup and check if it correctly fetches the Twilio Workspace? The error message is just a notification to know something is wrong.

Sure thing.  When accessing the /setup page, I get a similar error message.  And here's what the console looks like. (just a temporary dev server, so I don't mind having the URLs in the screenshot)  :P

As you can see from your debug log, the workspaceSid is undefined, please check your current settings, either the .env file or the way you initialise the variables is wrong. I checked with my setup, and it worked without any issue.
I would recommend debugging it locally and ensure process.env.TWILIO_WORKSPACE_SID is available to the Node server.

Noted!  I'll get to work on that.  Thanks!

Success!  Looks like I simply needed to add those yaml vars to .env.
(I'm very new to APIs, frameworks, etc. btw!)
Thanks!!! =D


[AIEngine] AI stutters after jumpscare

@Sythivo
hey there, I made the mimic AI using AIEngine and I wanted to know how I could fix this bug.
basically, the AI starts stuttering [during movement] after the jumpscare.
All I do is set the walk speed of the AI using AI.Movement:SetWalkSpeed(...).
Start Event

Jumpscare Mechanism

Here is the issue

If you ever Anchor the AI, the network ownership can reset, from server to automatic, make sure after Unanchoring the AI, you SetNetworkOwner.

My current AIEngine code doesn't anchor the HumanoidRootPart, but this solution resolved it.
Thank you.

OTHER REFERENCES TRUNCATED


Validate ml.stop_datafeed Request

as titled.

good catch with allow_no_datafeeds, removed it and added allow_no_match - I assume the tests don't cover this property.
force must be also present in the query params as one of the tests requests it to be in query:
  workbench/xpack-Test_force_stop_datafeed_6_request.json.test-d.ts:5:2
  ✖  5:2  Argument of type { "datafeed_id": string; "force": boolean; } is not assignable to parameter of type StopDatafeedRequest.
  Object literal may only specify known properties, and "force" does not exist in type StopDatafeedRequest.