Different promotion behavior on 1.10 vs 1.11

It seems like there's a different behavior in the promotion rules between 1.10 and 1.11. I wasn't sure if this was intentional or not?
On 1.11:
julia> styled"foo" |> typeof
Base.AnnotatedString{String}

julia> "foo" * styled"foo" |> typeof
Base.AnnotatedString{String}

On 1.10:
julia> styled"foo" |> typeof
StyledStrings.AnnotatedStrings.AnnotatedString{String}

julia> "foo" * styled"foo" |> typeof
String

It was causing some type instabilities in my code as I had presumed everything would be an annotated string after concatenating with strings, but on 1.10 it seems that a regular String overpowers the annotations.

I think this also means this example from the docs:
julia> str * str2 == annotatedstring(str, str2) # *-concatenation works
true

Is true, but not really true on v1.10:
julia> StyledStrings.annotatedstring("foo", styled"foo") |> typeof
StyledStrings.AnnotatedStrings.AnnotatedString{String}

julia> "foo" * styled"foo" |> typeof
String

i.e., they are actually different

I just read https://github.com/JuliaLang/StyledStrings.jl/issues/57 by @kimikage @tecosaur. I think I understand the issue a bit more. I agree that avoiding method overwriting is a higher priority than fixing this issue.
Perhaps a way to avoid method overwriting while also enabling * to work on the LTS version of Julia is to define the following methods?
for i in 0:10
    front = [Symbol('s', j) for j in 1:i]
    front_typed = [:($s::Union{AbstractChar,AbstractString}) for s in front]
    @eval function Base.:*($(front_typed...), s_annot::AnnotatedString, s::Union{AbstractChar,AbstractString}...)
        annotatedstring($(front...), s_annot, s...)
    end
end

this would generate the following code:
Base.:*(s_annot::AnnotatedString, s::Union{AbstractChar,AbstractString}...) = annotatedstring(s_annot, s...)
Base.:*(s1::Union{AbstractChar,AbstractString}, s_annot::AnnotatedString, s::Union{AbstractChar,AbstractString}...) = annotatedstring(s1, s_annot, s...)
Base.:*(s1::Union{AbstractChar,AbstractString}, s2::Union{AbstractChar,AbstractString}, s_annot::AnnotatedString, s::Union{AbstractChar,AbstractString}...) = annotatedstring(s1, s2, s_annot, s...)
Base.:*(s1::Union{AbstractChar,AbstractString}, s2::Union{AbstractChar,AbstractString}, s3::Union{AbstractChar,AbstractString}, s_annot::AnnotatedString, s::Union{AbstractChar,AbstractString}...) = annotatedstring(s1, s2, s3, s_annot, s...)
Base.:*(s1::Union{AbstractChar,AbstractString}, s2::Union{AbstractChar,AbstractString}, s3::Union{AbstractChar,AbstractString}, s4::Union{AbstractChar,AbstractString}, s_annot::AnnotatedString, s::Union{AbstractChar,AbstractString}...) = annotatedstring(s1, s2, s3, s4, s_annot, s...)

and so on.
This would avoid type piracy on Base.
However, the issue with this is that it would only work up to whatever limit you use, after which it would fall back to the same String-creating behavior that currently occurs.

Hi Miles,
I'm sorry to say that the notification for this issue slipped past me 🙈. I did try exactly this (with PrecompileTools as well), but unfortunately it still turned out to be highly invalidating 😔.
I'm really not a fan of this difference in behaviour, but since things aren't looking (as) pretty is generally preferable to a major latency spike every Julia session, I don't see a better path forwards than waiting until 1.11+ becomes the norm (as long as that will be).


[nifconverter] Make TIKA converter a filter

In #75 @fsasaki suggested to use the TIKA nifconverter without a pipeline. So with a single API call with informat=TIKAFile can convert e.g. PDF to Turtle and enrich it.
This will require us to write a filter that becomes active whenever informat=TIKAFile.
So this API request should be possible:
http://{{baseUrl}}/e-entity/freme-ner/documents?language=en&dataset=dbpedia&mode=all&nif-version=2.1&informat=TIKAFile&filename=test.pdf
In one API request the system converts the PDF to Turtle and runs FREME NER.
The filter can do a HTTP request to call the nif-converter controller to convert the document.

This is finished now, see the code.
It does not work in combination with the url filter, unfortunately i couldn't find out why it does not work.

Does not work for me.
request:
curl -X POST -H "Cache-Control: no-cache" -H "Postman-Token: 18ea10b6-fdf9-e597-5066-ed7fb86fefbe" "http://rv1443.1blu.de/current/e-entity/freme-ner/documents?language=en&dataset=dbpedia&mode=all&nif-version=2.1&informat=TIKAFile&filename=test.pptx"
response:
{
  "exception": "eu.freme.common.exception.BadRequestException",
  "path": "/e-entity/freme-ner/documents",
  "message": "parameter informat has invalid value \"TIKAFile\". Please use one of the registered serialization format values: rdf-xml, application/xml, application/ld+json, n-triples, application/x-turtle, application/json, turtle, n3, application/rdf+xml, text/xml, text/turtle, text/html, application/json+ld, xml, json, html, text, text/n3, application/x-openoffice, json-ld, application/n-triples, text/plain, application/x-xliff+xml",
  "error": "Bad Request",
  "status": 400,
  "timestamp":<PHONE_NUMBER>834
}


Quick Accent layover stuck

Microsoft PowerToys version
0.79.0
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
Quick Accent
Steps to reproduce
I haven't been able to reproduce this bug or catch any screenshots yet. But multiple times when i am gaming or generally have a lot of keyboard inputs the Quick accent overlay is displayed on the top of the screen and i cannot close it in any way.
✔ Expected Behavior
The accent overlay disappearing after use
❌ Actual Behavior
The accent overlay is stuck on the top of the screen and the only way to close it is by shutting down the application.
Other Software
No response

This happens to me as well.  It's more common when I am connected by remote-desktop to the machine (the remote machine has PowerToys installed).  Here is a screenshot of such an occurrence a few minutes ago:

Note that it's impossible to close this.  Pressing space doesn't cycle it, and it cannot be clicked.

At the very least, the Quick Accent popup should respond to mouse clicks and close itself after it's clicked a few times.

I've had this happen when typing rapidly. I've had success with closing the pop-up by writing another accent afterwards, taking care to hold the keys long enough.
My guess is that it keys are released at the exact moment the pop-up appears, so it doesn't register the input and keeps the pop-up open.

I've had this issue since ages.
Typing another accent is definitely the quickest way to close it.
Annoying nonetheless

I don't think this is a duplicate of #32047 but is probably related.
I think what may be happening is because of #32047 and the accidental opening of it, if the trigger key is let go before the UI appears, then I believe that it's just getting in the state of waiting for input or something?
Basically, a timing issue between when it's been triggered to appear and its normal expected behavior/usage maybe?
Definitely hard to reproduce in an intentional manner. I've only seen it getting stuck/hung for a couple of seconds when I've been accidentally triggering it due to #32047...

i solved this uninstalling powertools

This happens to me regularly after reboot, when pressing the first QuickAccent key combo.
I have to repeat the key combo to make it disappear.
After that, it works correctly.


Broken Link

The new website looks great.  Please note that the NMF Audio Mosaicing link is broken on the front page.

Yes, sorry. I started the notebook and was busy making some demo improvements. I'll fix that.


Broken images in lectures/flow/ifs

https://github.com/princomp/princomp.github.io/blob/0d923a06743e326758087d757aa12bcd0898987f/source/lectures/flow/ifs.md?plain=1#L29
https://github.com/princomp/princomp.github.io/blob/0d923a06743e326758087d757aa12bcd0898987f/source/lectures/flow/ifs.md?plain=1#L107
https://github.com/princomp/princomp.github.io/blob/0d923a06743e326758087d757aa12bcd0898987f/source/lectures/flow/ifs.md?plain=1#L138

https://github.com/princomp/princomp.github.io/commit/ddd2cd04c4b8b16ed777cfc5436c267a2f7c7451 will solve that.


[CW-23118] feat(dot): support on lite in sdk

PR Summary by Typo
Summary:

Multiple pull requests with dependency updates and integrity checks.
Changes include new versions of "@types" packages, SHA-512 integrities, and dependency removals/additions.

Key Points:

Dependency updates for several packages, including "@types" and core libraries.
Integrity checks and SHA-512 hashes added to some packages.
Dependency removal and addition, such as "@noble/secp256k1" and "@polkadot/keyring".

To turn off PR summary, please visit Notification settings.

Task linked: CW-23118 SDK 調整為新版寫法


Change dependencies to peerDependencies

Using dependencies will result in a separate version installed under the modules node_modules. This means that for example the moment we use in our project is not the same as the one used by bootstrap -datepicker, so we can not load locales beforehand.
With peerDependencies this will not happen, instead it will print a warning if the versions do not match. But of course (at least with npm3) you have to install the dependencies by yourself.

We also need this chance...


Issue with Service_test.go

In init() method of main.go file we are calling rest.InClusterConfig() which basically expect few env variables in k8s cluster, issue is when I run service_test.go, this init gets called and it looks for those env variables and token and fails the test.
My query is, how can we mock this restConfig object in service_test.go and then pass same to main.go so that other parts are skipped..  tried setting in init() of service_test.go but control is going to main.go first and then to test class..
any way to get in?

@manikesh are you sure you are creating issue in correct repository? Selenoid does not support Kubernetes. Are you speaking about Moon?

Closing this because of inactivity. Feel free to reopen if still having questions.


Detections

COMPILED TO EXE WITH PYINSTALLER

Any possible way to lower the detections like all that file does is print("Hello there !") not sure if it's pyinstaller or obfuscator

Any possible way to lower the detections like all that file does is print("Hello there !") not sure if it's Pyinstaller or obfuscator

I am pretty sure its PyInstaller. I haven't seen many Pyinstaller packed programs that are FUD.


Fix 6875 for Get-DbaDependency

Fixes #6875 by changing the log level to 'Important' since 'Host' is not a valid level. ‘Important’ has the same numeric value that was intended by Host (level 2).
Added basic integration tests.
Removed the documentation for the switch param 'IncludeScript' since it is not implemented in the command.

Type of Change

[x] Bug fix (non-breaking change, fixes #6875 )
[ ] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[x] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[x] Adding code coverage to existing functionality
[x] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[x] Documentation
[ ] Build system

Purpose

Minor change to update the log level.

loving the tests, thanks so much! will merge this one. still waiting for claudio for the review of the other one. he should have it done by thursday or friday. thank you for your patience 💯


Add platform integration tests

This performs integrations tests for:

Linux x86_64
Linux ARM
Windows x86_64
Darwin x86_64

This fixes #116

This includes two Python 3 issues, and disables printing HTTP response (as this is quite large in the case of recovery.conf).

Unit tests for ARM are still failing on my system. I suspect I just don't have enough free disk space.
But I always get a very short traceback:
FAIL: test_check_inputstream_mpd_again (test.test_ishelper_lin_arm.LinuxARMTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/test/script.module.inputstreamhelper/test/test_ishelper_lin_arm.py", line 29, in test_check_inputstream_mpd_again
    self.assertTrue(is_installed, True)
AssertionError: True

Is there an option to get a longer traceback?

@mediaminister You have to scroll up to identify which method failed and look at the cause there. I don't like how this was designed either ;-) But it runs all tests, even if some fail, and only the assertion is displayed.
I have an issue with the ARMTests on my system too, and it is related to:
Debug: [script.module.inputstreamhelper-1.2.3]: Failed to calculate losetup offset.

My interpretation is that this was designed to work on Linux operating systems with a specific set of tools (like busybox) and doesn't work if the output is different. I still need to investigate this.

It was indeed a disk space issue, Chrome OS is downloading now.

BTW I may disable the ARMTests if it is not running on Travis because of the large download.
Also, I hope we can disable GitHub running alle checks on Travis twice (in fact since we test for 3 Python versions, we are downloading this 6x now).
@emilsvennesson Can you look into disabling one of the two Travis checks? They both work on the PR level, so doing it twice has no real advantage (except it takes longer for everything to finish).

@dagwieers Do you want to disable "Build pushed branches" or "Build pushed pull requests"?
https://docs.travis-ci.com/user/web-ui/#build-pushed-branches

@emilsvennesson I don't know :-) I don't understand the difference, it looks the same to me.

@dagwieers Haha, I'm also confused. I have disabled "Build pushed pull requests" now so let's see what happens. :-)

@mediaminister Maybe we ought to add Android as well, and we may want to test faking Krypton too.

Okay, but I didn't completed the current unit tests yet.
Now, I'm stuck on this:
  File "/home/test/script.module.inputstreamhelper/lib/inputstreamhelper.py", line 829, in _check_widevine
    if config.WIDEVINE_ARCH_MAP_X86[self._arch()] != wv_config['arch']:
TypeError: list indices must be integers, not unicode

@dagwieers Auto Cancellation maybe?

@mediaminister That looks like another Python 3 issue ? :-)

@emilsvennesson No, auto cancelation is quite useful. Can you try to disable this repository in Travis altogether? I think the other integration will keep on working.

@dagwieers That kills it altogether. :-/

@Can I try ?

@dagwieers Done.

Let me clarify, I think we have 2 kinds of integration enabled now. One that is linked to your account, and one that is linked to GitHub directly.

Seems to work fine: https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/104

@emilsvennesson And Travis seems to be completely disabled now ? :-( Not sure why it worked for some window (i.e. #104)

kay, but I didn't completed the current unit tests yet.
Now, I'm stuck on this:
  File "/home/test/script.module.inputstreamhelper/lib/inputstreamhelper.py", line 829, in _check_widevine
    if config.WIDEVINE_ARCH_MAP_X86[self._arch()] != wv_config['arch']:
TypeError: list indices must be integers, not unicode

Ok, I found the cause for this. The code is using wv_config for 2 different types of data:

On ARM it consists of recovery.conf in JSON format (a list of dictionaries)
On non-ARM it is the widevine.conf from the ZIP file (a dictionary).

Now how come on x86 it gets a list in _check_widevine()? Because both are stored in the same exact filename, and when we are running tests, a previous ARM file may still be around. So this should be done better. We should store different content in different filenames, on ARM → recovery.conf.json.


PMID:29967244

abnormal chromatin organization during recovery from glucose starvation
normal histone H3-K4 deacetylation during recovery from glucose starvation

abnormal chromatin organization during recovery from glucose starvation FYPO:0006620
normal H3-K4 deacetylation during recovery from glucose starvation FYPO:0006621
edit file: 0ac528b14f75e5f8dab2c368f6361786fdf7327d
release: ed34ce74d1e2c18cf32e12deaa9efa80eed0d566


Update README.md

Enhancement of contributor's guidelines.
Fixes: #125

This are the screenshot's of how it looks.


About the "--block-area" option

I set the "--block-area" ,input a file name, follow the format.
However, it doesn't work.
Do ioPlacer actually realize this function?

@eder-matheus is this resolved?

@maliberty @sjchanson The "-exclude" option is responsible for this functionality now.


Reactions.remove can't remove an Emoji

Description
We're interested in utilizing a slack bot to remove emojis, however frequently our bot runs into the issue where an emoji isn't accessible for removal. This is pretty annoying considering our bot is unable to perform its tasks correctly, and we're unable to manually remove it via the api as well.
To note, this error keeps recurring but only on specific threads and timestamps. Most processes that call the Reactions.remove endpoint work, however I estimate that about 20% of the calls run into the 'no_reaction' error even though the emojis are listed via the Reactions.get endpoint.
What type of issue is this? (place an x in one of the [ ])

[X] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 2.1.1
node version: 11
OS version(s): macOS Catalina v10.15.7
Steps to reproduce:

Call reactions.get api to get a list of emojis. Results as expected - 'map-inqueue' emoji is visible.

Copy of call: https://slack.com/api/reactions.get?channel=CR37NGSH1&timestamp=1625762114.153100&pretty=1
Copy of response (redacted for clarity):
{
    "ok": true,
    "type": "message",
    "message": {
        "client_msg_id": "d65dd4d5-911d-47be-b948-7e714b66464b",
        ...
        "user_profile": { ... },
        "blocks": [ { ... } ]
        "reactions": [
            {
                "name": "map-inqueue",   // the emoji we desire to remove
                "users": [
                    "U01DJ88HWJ3" // non-bot user ID
                ],
                "count": 1
            },
            {
                "name": "map-resolved",
                "users": [
                    "U024K5D1Z98" // bot user ID
                ],
                "count": 1
            }
        ],
        "permalink": "..."
    },
    "channel": "CR37NGSH1"
}

Attempt to remove 'map-inqueue' emoji via User Token. Unable to remove because 'no reaction exists'.

Copy of call: https://slack.com/api/reactions.remove?name=map inqueue&channel=CR37NGSH1&timestamp=1625762114.153100&pretty=1
Copy of response:
{
    "ok": false,
    "error": "no_reaction"
}

Additional attempt made via Bot Token (even though its not a bot-placed emoji) and it also failed with the same response as #2.
Expected result:
What you expected to happen
I expected the call Reactions.remove called with a User Token to remove a user placed emoji, especially when the API has the emoji registered on Reactions.get call.
Actual result:
What actually happened
When attempting to remove a user's emoji using a UserID Token (via manual calls or bot processes) on specific threads it fails with a 'no_reaction' error (saying no reaction exists) despite the reaction being registered on the previous Reactions.get call.
Attempts to remove the emoji via Bot Token also fail (but that's expected since its not a bot-placed token).
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

Hi @jcpalmer108! Thanks for writing in, and for providing so much detail. Let me play around with the bot and user tokens on my end and see if I am able to reproduce the issue you're seeing. I'll report back with what I've found
In the meantime, one thing I'd love to doublecheck with you - is the User Token you're using the same token that's being used to add the emoji? Based on the api documentation, an incorrect emoji / user combination can also result in the no_reaction error.

Thanks for the quick response! The emoji was added by a random user in our slack channel - so I believe it used some variation of the user token, however I didn't physically place it there if that makes sense.
The context is that we use a slack bot to manage support requests in our support-related slack channel. Since we treat every thread like a support ticket, we mark its status with special emojis ('map' being our product name). In this case a user randomly put one of our 'special' emojis on this thread and I was hoping to remove it, but its inaccessible.
The general use-case where we see this error when is when we attempt to automatically replace one of our 'special' emojis placed by a member of our team (usually) with the same emoji via our bot. We replace these user-placed special emojis with a bot-placed emoji so that our bot can manipulate the status via its homepage dashboard and however someone interacts with it.
The process of replacing the emoji though is pretty simple - check and see if the emoji exists, if it does then remove it (with the user token). If it fails to remove it, that's fine. Place a new emoji as a bot anyway. Since our app only tracks bot-placed emojis as status, our work has largely been unaffected by this bug but its still bothersome enough to bring up.
Here are 3 examples of the 'failure to remove' emoji on 2 separate threads:

And here's an example of it working fine:

Like i said, this bug isn't seen on every thread and it works more often than not. We just have 2/10 threads where there's 2 emojis on everything so the bug is happening often enough to want to bring it to your attention. Does that help flesh it out more?
Also, if this is related to your incorrect emoji/user combination I'm wondering why it happens so intermittently. There's no consistent way to tell if the emoji will be successfully removed or not, but often times it is. I just don't know what makes the other emojis special enough to not get removed. Their users usually don't have anything in common (from what I can tell).

Hi @jcpalmer108! Thanks for writing in, and for providing so much detail. Let me play around with the bot and user tokens on my end and see if I am able to reproduce the issue you're seeing. I'll report back with what I've found
In the meantime, one thing I'd love to doublecheck with you - is the User Token you're using the same token that's being used to add the emoji? Based on the api documentation, an incorrect emoji / user combination can also result in the no_reaction error.

@jcpalmer108 - this is so helpful, thank you.

Also, if this is related to your incorrect emoji/user combination I'm wondering why it happens so intermittently. There's no consistent way to tell if the emoji will be successfully removed or not, but often times it is. I just don't know what makes the other emojis special enough to not get removed. Their users usually don't have anything in common (from what I can tell).

it sounds like, sometimes, a Person-A authorized User-token is able to remove a reaction added by Person B, and sometimes not. If that's the case, that's indeed puzzling.
The reminders:write scopes on User Token (xoxp), gives your app permissions to use the reminders.remove and reminders.add reminders on behalf of the user that has authorized the app, but not on behalf of other users in a team. So when an unrelated user adds a reaction, it seems like the expected behavior would be that you can't remove their reaction (i.e. what you're seeing in those cases where you get the no_reaction error).
I tried recreating this with a User-scoped token that had been authorized by one of my test users (Person A), and then in my test Slack environment, I reacted to a message with another test user (Person B). Then with Person A's User-scoped token, I tried to reactions.remove and got the same error you were seeing {     "ok": false,     "error": "no_reaction" }
I'll double check this behavior with my team mates later (am in AEST, and team mates are in PST so they're off work), but wanted to put that out as possible reason for what you're seeing in case you're still actively troubleshooting at the moment.

Yep, confirmed internally that a User Token xoxp should only be able to use the reminders.remove and reminders.add` functions on behalf of the user that has authorized the application, not on behalf of other users in a workspace.
Zooming out a bit for a second here, that kind of specificity in the permissions model is sensible because a user needs to provide their consent when apps act on their behalf.
Unfortunately, that means the behavior you're seeing where user react with the same emojis your app uses and you can't remove it on their behalf is expected. If you're able to remove their emojis, that'd be a bug and I'd be happy to report that internally.

Our docs on api.slack.com could be improved to make the method documentation on clearer for reactions.add and reactions.remove clearer, so I'll submit a request to clarify the behavior. Really appreciate you submitting this issue! 🙇♀

@jcpalmer108 - If there aren't further questions, I'll go ahead and close this issue after a few days.

@srajiang No more questions! Thank you for the clarification! Currently I am able to remove users emojis via my bot, so I guess that could be considered a bug. But one that works in my favor at this moment. Do with that information what you will! But thank you for answering my questions!


Added log entries for stage start/finish in MAPL.GENERIC

It sounds like upstream version of this PR (https://github.com/GEOS-ESM/MAPL/pull/1009) is going to go ahead, so I'm going to merge this.
FYI @lizziel


Refactor SetupService and get rid of duplicate version in ImportExport

The fundamental difference between the two SetupService classes in Orchard.Setup and Orchard.ImportExport is the way the setup service is being fed the recipe to execute.
In the case of Orchard.Setup, the recipe is provided as a recipe name, which the setup service then selets from the available list of recipes.
In the case of Orchard.ImportExport, the recipe is provided as an XML string, which is parsed into a Recipe object.
Unifying the two should therefore be relatively easy and improve overall code maintenance.

:+1:


Testing repo permissions

Empty commit.
@StoicJester try to merge this guy in.
@scottferg

Great success!


Feature/multi-step-scatter-gather

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Call to undefined method PhpCsFixer\Config::setParallelConfig()

Pint Version
1.18.0
PHP Version
8.2
Description
I can't run pint on v1.18.0; it worked on v1.17.x.
> ./vendor/bin/pint

In ConfigurationFactory.php line 46:

  Call to undefined method PhpCsFixer\Config::setParallelConfig()

Script ./vendor/bin/pint handling the pint event returned with error code 1

Steps To Reproduce

composer require laravel/pint --dev
run ./vendor/bin/pint

This is happening in PHP 8.3 too, with V1.18 only.

Can confirm getting:
In ConfigurationFactory.php line 46:

  Call to undefined method PhpCsFixer\Config::setParallelConfig()

PHP 8.3 and Pint v1.18.0

Fixed the issue by locking to:
"laravel/pint": "1.17",

Would like a fix for this

Can confirm too!

This was fixed in v1.18.1!

The error may be gone but it still isn't using multiple threads.


Refactor stan according to issue #33

Implemented the code improvements suggested by Bob Carpenter in #33.
Problems

The function does not seem to work and throws the error

so I temporarily used the original loops as a placeholder (so that it works when tested on ubuntu and docker)

Was thinking of converting the convolution routine into a function too, similar to the expected_deaths, as it is used twice

I didn't quite get the suggestion
mu = 2.4 + kappa * mu_std;
why does the centred parameterisation work better?

@flaxter @s-mishra is it okay to use y_raw ~ exponential(1);  // implies y ~ exponential(1 / tau); instead of   target += -sum(y_raw);  // ... as suggested? I don't think much speed will be sacrificed.

More helpful comments should be used in the stan code.

Thanks again to Bob Carpenter for the helpful comments

Which function isn't working?
If you can figure out a reusable function for the convolution, that'd be great.   I couldn't see it easily because the use wasn't quite parallel in the two instances.

why does the centred parameterisation work better?

The centered parameterization will work better when there's enough data to make the posterior roughly normal (it's not just quantity of data, but how low variance it is and how consistent it is with the prior).  Before that, the non-centered parameterization works better.  The reason is that the non-centered parameterization dissociates the hierarchical and lower level parameters in the prior.  There's a discussion in the user's guide around Neal's funnel example.
P.S.  I'd also strongly suggest using spaces arond operators like +, -, = and adding space between ){.  It maks the code easier to read when symbols aren't all jammed up.

Thanks for the prompt reply - @bob-carpenter -  the expected_deaths function. I've commented it out for the moment in the stan file. The deaths calculation looks a bit messy right now because I was thinking of debugging the function first and using that instead.
Okay I see - will check out the funnel example!
And yes I've tried my best to add in the spaces - let me know if there's anything that doesn't look right! :smile:

@harrisonzhu508  is it ok if we close this? We already got faster and optimzed version from @MansMeg!

Sure, I'll close this :)


RadzenDataGrid Filter and Sort don't work with ComplexType

Blazor project: https://github.com/Andrey-2021/RadzenDataGrid
Describe the bug
In RadzenDataGrid dont't work sort and filter with [ComplexType]
first class:
`public class PriceListService
{
[Key]
public int Id { get; set; }
[Required]
public PriceListServiceBase ServiceBase { get; set; } = new();

}
second class:
[ComplexType]
public class PriceListServiceBase
{
public int Index { get; set; }
public string? Code { get; set; }
public string? ServiceName { get; set; }
}
`
**RadzenDataGrid **

We have
Exception: Comparing complex types to null is not supported.

To Reproduce
Steps to reproduce the behavior:

Load project https://github.com/Andrey-2021/RadzenDataGrid
Config db connection string 'DefaultConnection' in appsettings.json
Run project
Click button 'First step -> Add Data to Db'
try sort column Index or Code or Name in RadzenDataGrid
we get an error: Exception: Comparing complex types to null is not supported.

Screenshots

Since you are using LoadData the sorting is at your premises in the event handler:

If the EF cannot translate such sort expression to SQL you can use ToList() for your data to sort in-memory.

System.Linq.Dynamic.Core today don't work with [ComplexType]
We must use [Owned]
Additional information: https://github.com/zzzprojects/System.Linq.Dynamic.Core/issues/778


Better way to count number of zero elements across a dimension?

I was wondering whether there is a nicer way to count the number of zero elements across a given dimension? Looking through the API the closest result is tf.unique_with_counts (link) but this operation returns the values in order of occurrence so I first would need to find the index of the zero-element. The solution that I am currently using is not very elegant:
x = np.asarray([[0, 0, 1], [1, 0, 3], [1, 2, 3]])

a = tf.Variable(x)
zero_elements = tf.equal(a, tf.zeros_like(a))
count_zeros_per_row = tf.reduce_sum(tf.to_int32(zero_elements), reduction_indices=1)

# result => [2, 1, 0]

Would be nice to have operations to count the (non-)zero elements across a given dimension.

This is a question better suited for StackOverflow. Please ask it there and tag it with the tensorflow tag.


chore: optimize profile dir creation

Summary
fixes #6453

append pid to the default profile dir so that one could known the profile dir path with glob .rspack-profile-*-$!
create dir for every output file but not only the default dir

Checklist

[x] Tests updated (or not required).
[x] Documentation updated (or not required).

LGTM, CI needs pass

Done


Lens 5.4.0 (20220301.1) Multiple Log tabs not working

Describe the bug
Opening multiple log tabs to different pods fails to load
To Reproduce
Steps to reproduce the behavior:

Go to 'Pods'
Click on a pod
Click the 'Pod Logs' button
A new tab should appear with the pod logs. (working)
Now click on a different pod
Click the 'Pod Logs' button
Another tab should appear with the pod logs. (spinning wheel, no data loads)

Expected behavior
All pod logs appear in new tabs and scroll at independent rates (as new log messages appear/independent interval)
Screenshots

Environment (please complete the following information):

Lens Version: 5.4.0 (20220301.1)
OS: macOS Monterey
Installation method (e.g. snap or AppImage in Linux): autoupdate from Lens - Original install from dmg.

Logs:
Not running from command line
Additional context

Thanks for the report. This is a duplicate of #4958, and has been fixed in 5.4.1


Safari TP 165: full image-set & modulepreload

https://webkit.org/blog/13932/release-notes-for-safari-technology-preview-165/:

Added support for x units in calc() function (260678@main)
Added support to image-set() for resolution and type as optional arguments (260796@main)
…
Added support for link rel=modulepreload (260761@main, 260709@main, 260659@main)

https://tests.caniuse.com/css-image-set
https://wpt.fyi/results/css/css-images/image-set?label=experimental&label=master&aligned=&q=image-set

https://tests.caniuse.com/link-rel-modulepreload:

and also wpt presumably here.
Draft because I wasn't able to test yet.
🎉

Thanks!


Side-loading data using success action results in negative pending

Sometimes I want to load the same data as with a requests action, from a difference source, in my case, EventSource.
So I tried to just put the FETCH_DATA_SUCCESS action with the same payload as usual, however that results in a negative pending.
I am not sure it's a very smart way to go about it, but my plan is to push actions directly from the server with SSE and avoid having to do additional processing on the client side... Not sure I could go about it some other way...
Why not just make sure that pending can never be <0?

We need pending implemented as counter this way. See explanation in https://github.com/klis87/redux-saga-requests#reducers-arrow_up in pending attribute. You can adjust onSuccess not to reduce counter for a reducer if you need to thought, as well as onRequest, onError and onAbort
Regarding the exact problem and a potential solution, I would need more information. But I guess this is related to server side rendering. Note that I am going to add first class support for SSR in this library. I already made some prototype, which u can see here: https://github.com/klis87/redux-saga-requests/tree/ssr

btw, alternatively you could just dispatch FETCH_DATA just before FETCH_DATA_SUCCESS. If you use watchRequests, you could add action.meta.runByWatcher = false, then it won't trigger any request, but you pending counter will be correct

Closing due to inactivity.


Order of JS events might be wrong

On master, it seems that upload:complete is being fired before upload:success or upload:failure. Is this the right behaviour, or a bug? I think it makes more sense for complete to fire after. I've created a pull request to address this issue.

I believe this is the right behaviour (many other javascript libraries use the same order). The server returns success or error, and then the process is complete. It can't be complete if it is unknown whether the upload was a success or if there was an error.
For reference, here is the jQuery ajax events page: http://api.jquery.com/Ajax_Events/
A few other ajax/upload libraries I have looked at also use the same order/terminology.

@trentclowater so this is a bug then? Because as it stands complete is being fired before success or failure, not after.

Sorry, read your comment wrong. If complete is being fired before success or failure, then that does seem to be a different order than any other javascript libraries I have ever used.
Probably also explains why when I was first implementing direct uploads in my application, I was confused why it wasn't working. But then I switched the event and it worked, and I had to move on to other things...

PR merged, thanks @abitdodgy!


Feature request: gRPC layer

I've been looking around for an embedded distributed database library like this for C#, and when I came across olric I saw it fitted my use case quite very well - essentially I want an API that can provide a "control plane" to enable a client application to act as a node in the "data plane" of a distributed database, similar to Cassandra.
Exposing the olric operations over gRPC could allow me to build this with C#, and any other client language - olricd could run in a gRPC mode listening for client requests.
In my use case, the client application would run with olric as a sidecar in a kubernetes pod - where all the olric containers are clustered - and use it to determine which partition of a working dataset it needs to load into memory, so it can in turn accept requests (HTTP, etc) to either perform work over its dataset, or re-route requests the other nodes of the cluster which contain the other partitions (again by querying olric for other members).
This can be extended to further operations like synchronizing updates between replicas of the partitioned dataset, performing leader-election, etc.
Effectively, this would allow a stateless application (backed by a database) to itself become a horizontally scalable database a la Cassandra/MongoDB, keeping the records in memory and scaling by spreading partitions across nodes.

Hello,
Thank you for your interest. The future versions of Olric are going to use Redis Protocol. You can try out it on experimental/redcon.
It's almost ready for experimenting. For example:
redis-cli -p 3320
<IP_ADDRESS>:3320> DM.PUT my-dmap my-key my-value
OK
<IP_ADDRESS>:3320> DM.GET my-dmap my-key
"my-value"
<IP_ADDRESS>:3320>

gRPC is not a good choice for Olric. It's too heavyweight and slow for a distributed caching and data structure server. If you still want to use it, you can easily build a compatibility layer over Olric API or Redis protocol implementation.


Move comments above variables in .env

Some env variables had an inline comment next to them. The comment is included in the value though, not considered a comment. Some numbers and booleans are considered invalid and the ad space became a list of 2 values: # csv ad image filepaths or urls and extensions can choose to honor. Moving the comments above the variables fixes this.

Codecov Report

Merging #992 (056c7f3) into main (c5cc65a) will decrease coverage by 1.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #992      +/-   ##
==========================================
- Coverage   43.20%   42.07%   -1.13%
==========================================
  Files         244      244
  Lines       13542    13542
==========================================
- Hits         5851     5698     -153
- Misses       7691     7844     +153

Impacted Files
Coverage Δ

lnbits/extensions/boltz/mempool.py
60.34% <0.00%> (-32.76%)
:arrow_down:

lnbits/wallets/cln.py
19.00% <0.00%> (-29.76%)
:arrow_down:

lnbits/wallets/lndrest.py
17.09% <0.00%> (-29.06%)
:arrow_down:

lnbits/extensions/boltz/boltz.py
49.75% <0.00%> (-18.91%)
:arrow_down:

lnbits/db.py
80.80% <0.00%> (-9.61%)
:arrow_down:

lnbits/wallets/macaroon/macaroon.py
27.53% <0.00%> (-5.80%)
:arrow_down:

lnbits/extensions/boltz/crud.py
81.53% <0.00%> (-3.08%)
:arrow_down:

lnbits/bolt11.py
78.57% <0.00%> (-2.39%)
:arrow_down:

lnbits/extensions/boltz/views_api.py
64.46% <0.00%> (-1.66%)
:arrow_down:

lnbits/commands.py
72.85% <0.00%> (-1.43%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Had this fix also included in PR #912.

thanks for the PR but closing in favor of https://github.com/lnbits/lnbits/pull/912


fix: AccountData seed fix

Closes #349.
This fix defines RpoRandomCoin as the canonical RNG for Falcon keys for AccountData descriptions. A small doc update was issued for the enum here: https://github.com/0xPolygonMiden/miden-base/pull/689.
This was tested with the client and node on next and issuing transactions worked fine.

Superseded by #357


Emoji Support

Hello 👋 This is a really great tool you built! 😄
I found a related issue (#4) but the solution is to add a custom font in the .fonts directory.
Which font would I use to get emoji support? Have you had any success with rendering emoji? 🤔

@styfle I suppose Noto Emoji is what you need, specifically the Noto Color Emoji font.
I haven't had the need to use custom fonts yet, but if you try it, let me know how it goes. :smile:

@j Even compressed, the TTF file is still over 7MB in size (no surprise there) and given that the main purpose of this package is to be as lightweight as possible, I'd rather delegate that choice to the end-user.

@alixaxel That Noto Color Emoji font worked, thanks! 🎉 🎉 🎉
If anyone is interested how to add this font, see these two pull requests (I missed a couple things on the first one 😉 )
https://github.com/styfle/og-image/pull/52
https://github.com/styfle/og-image/pull/54

@styfle Did you try adding the font under $HOME/.fonts/ and it didn't work?

@alixaxel No, I did not try that because that doesn’t work very nicely for local development (putting font files in the user’s home dir) and then deployment would require an additional build step to copy to the home dir.

@styfle Not sure if you still need it, but I figured the newest addition might be interesting to you:
https://github.com/alixaxel/chrome-aws-lambda#fonts

@alixaxel Thanks for adding that method!
I'm currently reading the file as base64 and injecting into css font-face.
With this new function, how do you specify the name of the font-face so that it can be used in css classes below?

@styfle Fonts have their font-face name encoded in the file itself (don't ask me specifics tho!).

@alixaxel Alright! I'll have to give this a try and see if it performs better than my css solution.
Does this only work with URLs or can I give it a relative path to the font file?

Just URLs (and HTTPS ones).

@styfle did you ever try the chromium.font method? i cant seem to get it to work, sometimes it seems to run fine but the font is not reflected, other times i get a symlink err ERREXIST or something,

For anyone still coming up here:

as for fonts support, I've had better success in building my page with @font-face than trying to use chromium.font(). Mainly because the font would not be loaded on the first load but on successive loads..
as for emoji support, the easiest is to build your page with https://github.com/twitter/twemoji

(I have no idea sorry)


Show helpful error when SauceLabs is down

SauceLabs is having a full outage currently.  The way this manifested itself in our build was:
00:07:07.808 Magellan-nightwatch test iterator found nightwatch configuration at: conf/nightwatch.json
00:07:07.973 Error initializing reporters:
00:07:07.974 SyntaxError: Unexpected token <
00:07:07.974 SyntaxError: Unexpected token <
00:07:07.974     at Object.parse (native)
00:07:07.974     at Request._callback (/data1/home/jenkins/workspace/Magellan_Cart_Checkout_Master_Tier_1/automation/magellan/node_modules/testarmada-magellan/node_modules/guacamole/src/browsers.js:398:23)

We should detect this, and perhaps have some retry logic, and fall back to a clear error message if all else fails.

This is a good idea.


Add support for remote use

If you set up the Agent LLM on a remote machine and join the website, it will try to connect to localhost instead the remote IP.

Edit: I didn't find any support for edit the IPs of the website nor the API. I find out that running next start -p {port} can change the port of the website but don't find how to change the API one.

Create a file frontend/.env.local with something like:
NEXT_PUBLIC_API_URI=https://YOUR.DOMAIN:PORT

Then run npm run build in frontend directory.

Don't know if it's related, but I keep getting "network error" from the frontend
both frontend and backend are running on <IP_ADDRESS>
client is connecting from <IP_ADDRESS>

Don't know if it's related, but I keep getting "network error" from the frontend both frontend and backend are running on <IP_ADDRESS> client is connecting from <IP_ADDRESS>

That issue should be have been fixed by the updates that went out this morning. You may need to pull latest changes.

I'm on git abd538e30729cea3bf30d1b66811842c657c3243 and docker-compose pulls tag 1.0.2
I'm no expert, definitely doing something wrong

You'll want to update to 1.0.3.  I've been doing lots of updating, testing, and bug fixing this morning.  More to come.

The latest commit has an update to the docker-compose file to fix this issue and allow you to customize your URL if the back end is on a different machine.

Here what I did:
added frontend/.env.local --> NEXT_PUBLIC_API_URI=https://moppio.local:5000
then docker-compose up -d --build --> pulled 1.0.4
still same result

Add API_URI=https://moppio.local:5000 too

running without docker, built with npm - same result
There's something I'm missing but I cannot understand what :(

UPDATE:
if I run with python/npm - backend listens on <IP_ADDRESS> and frontend on <IP_ADDRESS> --> connecting from laptopt won't reach backend
fule frontend/.env.local
      NEXT_PUBLIC_API_URI: http://moppio.local:5000
      API_URI: http://moppio.local:5000

Running with docker:
added to docker-compose.yml
    environment:
      NEXT_PUBLIC_API_URI: http://moppio.local:5000
      API_URI: http://moppio.local:5000

same issue


Missing URL for "manage source editors" on source-detail page

It should link to the corresponding page in Django admin.

Presumably this should not be visible to all logged-in users. Should it be available only to managers?

Then can you make it so that the links are visible only to those who are actually allowed to edit the sources?


Create configuration to automatically generate release notes

Github provides an API for automatically generating release notes.
The structure of these release notes can be configured with a yml file.
This PR is experimental and a step toward creating better release notes.
This is a work in progress and subject to change as we understand how we want to organize the information provided.

So if I'm reading https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes right, merging this will NOT generate any releases, but allow an option when manually creating a GitHub release to generate the notes?

@christopherfujino no releases will be generated.  This will allow us to utilize the API to generate release notes based on the parameters specified in the config file.

When using the rest API, this config file can be specified as a parameter to generate notes.

Ah, cool - I didn't see there was a REST API - I thought this file just controlled the text for when you create a release (having an API definitely makes this github provided functionality more useful).
We can always consider writing our own tool here, to gather PRs or commits since the last release, and emit a markdown file for our changelog.


AWS service provisioning fails: "Properties/Instance Type' is required"

Subject.
Investigating further.

Can you elaborate more on this? I provisioned an AWS service and it worked. Could this be related to a service dialog perhaps?


ESLint 8

fixes #52

[x] Add meta.hasSuggestions to rules
[x] https://github.com/typescript-eslint/typescript-eslint/issues/3738

We are ready! Just waiting for releases:

typescript-eslint v5
eslint v8

typescript-eslint@5 and eslint@8 were released :)

typescript-eslint@5 and eslint@8 were released :)

Thanks!
Actually, 0.4.0 has already supported ESLint 8. So, you can upgrade ESLint in your project.
This PR affects only tests.


Add version to installer apt

The command should be like apt-get install apache2=2.3.35-4ubuntu1.
So
apt-get install package=version.

Thanks for pointing this out. I've addressed this in #79 and will release it in v0.5.0.


Adding different loss to tf.estimator.Head

Hi all,
I seek to optimize an ensemble for binary classification. My established baseline uses the binary_crossentropy loss provided by keras. Using the same notation yields unsupported callable, because it seems the base_head.Head()does not tie into the default tf implementation.
What can I do train with the binary crossetropy?

Have you tried tf.estimator.BinaryClassHead()? I believe it uses the same loss under the hood, specifically sigmoid_cross_entropy.

Well, I figured that out in the meantime.
But a problem persists:
BinaryClassHead It uses the correct loss but when I predict using a simple_dnn AdaNet of three iterations  via estimator.predict() the network always predicts with class 0.
The same head works on the canned tf.estimator.LinearClassifier  which I would suspect to be a problem regarding an incorrect loss function. I can't troubleshoot the AdaNet estimator any deeper than this. I will take any help I can!


Not able to create  vertical lines and  recognize clusters

I have run catalog_30s.py, on one of my pdfs which has some text on the top and bottom and a table with 2 columns at the center like below Screen.

I changed these parameters in the script
N_COL_BORDERS = 3
MIN_COL_WIDTH = 687
The output was
page 1: detecting lines in image file 'data/sample.pdf-1_1.png'...

found 38 lines
saving image with detected lines to 'generated_output/sample.pdf-1_1-lines-orig.png'
saving image with detected lines to 'generated_output/sample.pdf-1_1-lines.png'
WARNING:root:no vertical lines found
no page rotation / skew found
found 0 clusters
Traceback (most recent call last):
File "sample.py", line 140, in
img_w_clusters = iproc_obj.draw_line_clusters(imgproc.DIRECTION_VERTICAL, vertical_clusters)
File "build/bdist.macosx-10.12-intel/egg/pdftabextract/imgproc.py", line 395, in draw_line_clusters
ZeroDivisionError: integer division or modulo by zero

Why is the script not able to recognise the vertical lines ? What could be the issue.

You should get acquainted with the parameters of OpenCV's hough transform and probably experiment with the hough_votes_thresh parameter of the detect_lines method (see the example), i.e. probably set it lower in order to detect more lines. The canny_* parameters can also be helpful, but a lower value of hough_votes_thresh should be enough.
Another note: MIN_COL_WIDTH should be the approx. minimum expected column width in pixels, measured in the scanned page image. I guess your left column's width is smaller, isn't it?

@internaut Thanks for your reply.
MIN_COL_WIDTH is the width of left column measured in pixels using GIMP measurement tool. It gave me that value.
Sure, I will experiment with lowering the value of hough_votes_thresh.
Is it possible to extract tables like this, a table with only horizontal lines and no vertical lines. To a human eye, this looks like a table and can be read. Can the script  help to extract such tables?

When there are no column borders, they can of course not be detected by Computer Vision algorithms like Hough transform.
You'll probably have to use the distribution of x/y coordinates of the text boxes in order to find regularities (i.e. they will cluster together around certain x-positions) and hence detect the columns.


Removed add/cancel buttons when searching between control/actions

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

@skateman While testing, I noticed that after a search, the Actions tree is disabled, so there is not an obvious way to choose another action (can be done, but not easily).  Please fix in this PR or open another BZ.  I did verify that the original bug has been fixed with this PR.

@dclarizio https://bugzilla.redhat.com/show_bug.cgi?id=1230689


Added user info to song

Added user info to song and inserted updated object into the centrifugo function for song endpoint

errors on 179 down to some lines. you didn't resolve your pull from dev and you didn't test after pulling. the code has errors from pull from dev. crosscheck


docs(i18n-id): translate declaration.md and several config section into Indonesia

Overview
This is part of #1147
Changes
Translate the following files

[x] declaration.md

LGTM

Terima kasih atas kontribusinya @R1dwanMaulana 🙌
Jangan bosen 🏃


Beta 1: docs implementation.

I have implemented the docs for basic and feedback section.
Please check the new updates.
Hope you like it 😃.

@sherifzaher I changed the way we write docs, sorry for the inconsistency;
I'll fix the conflict in your PR, and starting of now you can write docs in plain MD (not MDX) and only the lib's components will be written in MDX.
Here's an example:
# Text

## Variants

This will be a description of the variants section...

<Grid>
  <Text variant="h1">h1</Text>
  <Text variant="p">p</Text>
</Grid>

<br />

    ```mdx
    const Demo = () => (
      <Grid>
        <Text variant="h1">h1</Text>
        <Text variant="p">p</Text>
      </Grid>
    );
    ```

Here goes the rest of the docs...

Notice that I'm using regular MD syntax even for the code-block instead of the <CodeBlock /> element!


Cyd/account details

There is code that probably needs to be moved around, specifically the total percent row/col AccountsInput.tsx, it should only show when an account has been added. I couldn't figure out how to get it to do that without it being all red

And the static text needs to be hooked up/changed to be dynamic

Don't we want the account name?


python3Packages.amcrest: 1.9.3 -> 1.9.4

Motivation for this change
https://github.com/tchellomello/python-amcrest/releases/tag/1.9.4
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 158732 run on x86_64-linux 1

2 packages built:

python310Packages.amcrest
python39Packages.amcrest


Cache parsed trees and code blocks in SCGI server

The server parses a script every time it's called. It would be better to have a cache so subsequent requests wouldn't have to parse the file. There would need to be a mod time check so a cached script can be invalidated when it's been changed. This cache could be used application wide, even in the interpreter.
Current SCGI benchmark: ab -n 50000 -c 8 http://localhost:8081/cgi/index.ni: 2700 requests/sec.

The benchmark went to 3600 for the same ab command. I'd say that's a good improvement.

I want to retest this with the VM using a code block cache.

Final results:

Version
Reqs/sec

Interpreter, no cache
2,700

Interpreter, with cache
3,600

VM, no cached bytecode
4,200

VM, cached bytecode
4,300-4,500

I'm gonna say that's not too bad. Mind you this is a very simple page that just prints the environment, but it definitely shows the improvement between the interpreter and VM and cache vs no cache.


HBase conf

Hi all,
I've been very interested in pinpoint, and did some test with it : my work is to do load tests.
Pinpoint works well, but it seems that HBase base conf is somewhat insufficient, it crashes from time to time, I have to restart it.
So, I had to increase HBase heap to 2 GB, add the "CMSClassUnloading" option to prevent full gc to happen, and set the "MaxMetaSpace" to 384 MB, but I'm still not sure that's enough. The JVM thoughput has increased from 90 to 99,8 %, but I'm still watching the JVM closely because it seems to retain lots of data in its old gen.
Did anyone else have to alter HBase JVM conf, and how ? I'm not sure a 2 GB heap will be enough.

Hi @YouriAndropov
If you're running hbase standalone (ie the one we use in our quickstart), it won't scale very well. I suggest looking into running hbase in distributed mode if you're trying to run Pinpoint in any scale.
How to set up hbase in distributed mode is beyond our scope so I can't help you much in this. That said, there are a lot of great articles out there on this very topic, and you can also install/manage hbase clusters using hbase management systems from Cloudera, Hortonworks, etc (this will save you a lot of time and trouble).


🚀 Automate Connections with GitHub Actions!

We can implement github workflows for the following things:
Auto comment on issue Closed and Opened
Auto comment on PR mergs
Auto comment on PR raises
Using this workflows makes you'r repo more interactive !
please assign me and i'm expecting a level3 with gssoc-ext and hacktoberfest-accepted label

@amiya-cyber, proceed.


docs: mention vike-react-styled-components

I just created a PR to update the docs and mention the new vike-react-styled-components extension.
Please take a look and review this PR.
Which release docs do we need to update ?

The latest unpublished one, so the same than the last PR
On Wed 4. Dec 2024 at 03:52, Muhammad @.***> wrote:

I just created a PR to update the docs and mention the new
vike-react-styled-components extension.
Please take a look and review this PR.
Which release docs do we need to update ?
You can view, comment on, or merge this pull request online at:
https://github.com/vikejs/vike/pull/1999
Commit Summary

90f6c81
https://github.com/vikejs/vike/pull/1999/commits/90f6c819c7a1bda016e5975ec4725eb0d64f0f65
docs: mention vike-react-styled-components

File Changes
(2 files https://github.com/vikejs/vike/pull/1999/files)

M docs/pages/extensions/+Page.mdx
https://github.com/vikejs/vike/pull/1999/files#diff-d18a7df5800ff23694c47764672eb3a0933f04d9f04c44ddb270d0fe35da5730
(1)
M docs/pages/styled-components/+Page.mdx
https://github.com/vikejs/vike/pull/1999/files#diff-04f80e3ddd76856a2bb8e7b8a3d27287f6e2a4eb3eff420287c566e4fb26eef8
(14)

Patch Links:

https://github.com/vikejs/vike/pull/1999.patch
https://github.com/vikejs/vike/pull/1999.diff

—
Reply to this email directly, view it on GitHub
https://github.com/vikejs/vike/pull/1999, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHVQRSK4QR3AQXICJOSKB32DZU7FAVCNFSM6AAAAABS7DKFAKVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YTMNBTGI3DGMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'll update all pages that are using <CommunityNote> component

Done : https://github.com/vikejs/vike/pull/1999/commits/e62b96094e25d11bf7657411a71d5dab5ebaeda6

Is the PR ready for review?

Is the PR ready for review?

Yes, please

I've made all the requested changes. Let me know if I missed anything.

There are still a lot of duplicated links. (I've removed some but there are still some left.)

@brillout, it's my pleasure too! I've learned a lot, thanks to you and the Vike team

Idea: how about we define a new prop <CummunityNote hasExtension>?
Believe it or not, I thought something similar, just with an additional component. I like your approach more. 💯

:100: Let's do it!
(The idea of making it a prop instead of a separate component occurred to me while writing my comment :smirk:)


Inaccurate Authenticode hash calculations

5CC4A75354719C10460C6881A822DA38.zip

PS C:\Users\Root\Desktop> cd C:\sss
PS C:\sss> Get-CiFileHashes -FilePath "C:\sss\5CC4A75354719C10460C6881A822DA38"

SHA1Page SHA256Page SHa1Authenticode                         SHA256Authenticode
-------- ---------- ----------------                         ------------------
                    50E201C5815BC2A4D01475C34431F09A377D1558<PHONE_NUMBER>6D93DC62BA1B6D0E8DCF08E7D7E264B5B0562EED890B30C0EA87D3

PS C:\sss> .\ahc64.exe 5CC4A75354719C10460C6881A822DA38
PS C:\sss>
AuthHashCalc v<IP_ADDRESS>2 built at Thu Feb 22 08:44:22 2024

File: 5CC4A75354719C10460C6881A822DA38

Authenticode hashes:
MD5:    A1E9B8C88EEF2D8B326AE234F0D4FBA5
SHA1:   EE3513A4F8DA799912D1CBAD5A94B17D41F1BA66
SHA256: D13551E2DA882E6135497FA639DFBE9160AB62BD5AD529D8582A2E7B20134C6F
SHA384: 94BD4C4342EA2AA4172E74D6212E5AEF959D13A0076A030332CE856577FC8BADA67D8319EC5EAEC1309BE6EF43496A60
SHA512: F7FFDB956C91E1C52EFBC430C4E7CBA1221B2EC5F71C425CE4D862AF18D90EEAD04429B40B9869333CD3ECAC631A8C92F183E2175C6AD033E0D1AE9725FEF0AF

First page hash:
SHA1:   7509BBDA365AA1459FDE5B5722E8FFC5CEB75D16
SHA256: 7B8CF6AA9EB1D4A806BEF5C8C42070440E1885AABC11D1EBFE13B8B817F9C031

Completed.

This file is a corrupted memory dump.

This file is a corrupted memory dump.

However, I have fortuitously discovered that your AuthHashCalc computes a SHA256 value that coincides with one in the catalog directory. May I kindly inquire if there are any plans to adjust the logic to avert such occurrences? For instance, by filtering out those files that may be corrupted. Thank you!

CodeIntegrity.zip

The file you submitted first is a raw memory dump including some part of Kingsoft AV binary data. The actual PE file in this raw dump has ~20KB in size and it is apiset stub dll with authenticode hash d13551e2da882e6135497fa639dfbe9160ab62bd5ad529d8582a2e7b20134c6f. I don't know what should I fix there. Probably it's Get-CiFileHashes should fix it behaviour and not calculate all kind of beyond what is actually PE file.


[SPARK-34375][CORE][K8S][TEST] Replaces 'Mockito.initMocks' with 'Mockito.openMocks'

What changes were proposed in this pull request?
Mockito.initMocks(Object) is a deprecated api, should use Mockito.openMocks(Object) instead.
Why are the changes needed?
Cleanup deprecation api usage.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass the Jenkins or GitHub Action

Test build #134929 has started for PR 31487 at commit bbc82d8.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39512/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39512/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39512/

Test build #134929 has finished for PR 31487 at commit bbc82d8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134929/

Test build #135001 has started for PR 31487 at commit 0ecf1a2.

Test build #135002 has started for PR 31487 at commit a8ebb43.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39584/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39585/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39584/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39585/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39585/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39584/

Test build #135002 has finished for PR 31487 at commit a8ebb43.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #135001 has finished for PR 31487 at commit 0ecf1a2.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
 implicit class MetadataColumnHelper(attr: Attribute)

Merged to master.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135002/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135001/

thx ~ @HyukjinKwon


Impossible to pull image from docker repository

coreos01 core # docker pull oraclelinux
Pulling repository oraclelinux
8a2b759d9dd8: Error pulling image (latest) from oraclelinux, HTTP code 400
8c3e49cb06dc: Download complete
90fed8b1ceab: Error pulling dependent layers
FATA[0078] Error pulling image (latest) from oraclelinux, HTTP code 400

This is an upstream issue on the Docker Hub. I'll log an issue there. It may take a while to fix, given that everyone is at Dockercon today.

https://github.com/docker-library/official-images/issues/844
Note that I can't reproduce this issue on Oracle Linux 6 using Docker 1.6.1.

Note that neither the Docker team nor I can reproduce this. If it happens again, please log a direct request with Docker at http://support.docker.com so they can ask for more detailed logs.


HOP-4192 Fixed org.eclipse.swt.graphics.Color compatibility

which OS was this tested on and can I get before and after pictures, makes the PR simpler to evaluate.

web HopGui:

docker run -it -p 8081:8080 apache/hop-web:2.1.0-SNAPSHOT
open url:http://localhost:8081/ui

ah, an error in Hop Web! thanks!


Clarifications for directionless parameters, and parameters with type…

… int

This PR is intended to be a clarification of the existing specification, not a change in the meaning of anything.  I am not expecting that it should be made before the next release.  I wrote it as a response to this p4c issue: https://github.com/p4lang/p4c/pull/2360

Please change "compile time" to "compile-time".
Maybe, you can mention a reason why an int is not support as parameter to an action?  P4Runtime allows only bit<W> and int<W>.

Done on the changes to 'compile-time'.  That is definitely more consistent with the rest of the spec.
Regarding this: "Maybe, you can mention a reason why an int is not support as parameter to an action?"
I believe the reason is that there is no way for actions to specify that one of their parameters must be a compile-time known value.  For controls, parsers, functions, etc. there is a way: make a parameter directionless.  For actions, directionless parameters mean something different.
That is explained in one of the parts of the text that is changed by this PR.  I believe those changes are just another way of saying what was already there, but hopefully more explicit.

Small test program demonstrating that latest p4c handles run-time variable expressions as arguments to correspond with an action parameter declared as directionless, when the action is called directly from a control.
try3.p4.txt

I think we had to do this because initially there were no functions, and some actions may be both inserted by the control-plane and called by other actions. But functions and actions are still different, e.g., you cannot call exit in functions, so we need to preserve this use case. Your clarifications are reasonable.

Make sure this covers extern instances.

Make sure this covers extern instances.

I added a cross-reference to the section on compile-time known values, which includes this as one of the cases: "Instances constructed by instance declarations (Section 10.3) and constructor invocations."

Should we merge this?

I should probably do a small amount of editing first to make some of the text more consistent with this already-merged change: https://github.com/p4lang/p4-spec/commit/563e727ba238e0ffb4912d76e79d59ef58a83bbf
i.e. add some more words about where directionless parameters for an action can come from, and perhaps a cross section to the section added in the commit I just linked for a full list of possibilities.

@mbudiu-vmw Please take a look at the changes with my latest commit added on 2021-Jun-02, to see if it looks clear and correct.  It includes a mention of the term "action data", which was added in the last few months to the spec.

I think that this can be merged at any time, since it is a clarification and not a change.

@jnfoster @mbudiu-vmw Wanted to call attention to this PR in case we think it is worth any other discussion in a LDWG meeting, and/or whether we think it is ready to be merged into the spec.

Thanks. We agreed to take this small clarification already. Merging it....


Add additional tests for valid SQS attr values

Following the SQS docs, attr values can have any valid SQS body char. Those are shown here:
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html
#x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

Since Ѱ = #x470 = 0x470 is in the range #x20 to #xD7FF the new tests should pass.

@Jeffail Both the new tests for ISO date and the valid character Ѱ failed the build. Thus this check is still dropping valid SQS attr values.
I am going to remove the check on the value. The only other option I see is implimenting the proper unicode range check, and I'm unsure how to do that in Go.

@Jeffail This should be good to merge now. Even you want to implement the char code validation I suggest you merge this first to restore working SQS functionality and add the new feature independently so it can pass against the new regression tests.

Looks good, thanks @razor-x!


FileNotFoundError: [Errno 2] No such file or directory: 'mongod': 'mongod'

I had the following error when running autotune.py
Traceback (most recent call last):
File "", line 7, in
File "scvi/scVI-master/scvi/inference/autotune.py", line 358, in auto_tune_scvi_model
multiple_hosts=multiple_hosts,
File "scvi/scVI-master/scvi/inference/autotune.py", line 492, in _auto_tune_parallel
stdout=mongo_logfile,
File "/software/apps/python/3.7/lib/python3.7/subprocess.py", line 756, in init
restore_signals, start_new_session)
File "/software/apps/python/3.7/lib/python3.7/subprocess.py", line 1499, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'mongod': 'mongod'

Hi, have you installed mongodb on your computer?

If this is the problem, we might want to add this to the readme file of the repo :)

Had the same error, fixed by running installing mongodb through conda (conda install -c anaconda mongodb). Thought at first that I needed to install MongoDB from their website but so far this seems to be working.

Thanks! I am using a computing cluster and it appears that mongodb is not installed. I have contacted the maintainer of the cluster and it seems that installing mongodb is not possible for now. Is there any workaround that I can still use the autotune function without mongodb (for example, some simple for loops to check whether parameter has the best cross validation performance)?

Hi @zji90, thank you for your interest in scVI.
Unfortunately, the parallel autotuning process relies on mongodb for communication between the works and the trial generator. One workaround could be to try to patch these calls with calls to another service that you have installed. But, I am afraid that would take a lot of research/work.
I’d recommend you maybe insist on installing MongoDb on your machine :)


Full code and experiments on other datasets

Dear authors,
Thanks for your code releasing. I note that your released code do not contains the full experiments of your paper, will your experiments on Replica and LLFF datasets be released (source code and data splits)? Also, the code for render the background and foreground separately shown in the right of your figure 1. in the paper.
Thanks in advance
Regards.

Thank you for your kind question!
I'm sorry that I have not planned it now. While I hoped, due to time constraints, I failed to have enough time to make the codebase easy and accessible to everyone.
An excuse is that I don't think that DFFs are difficult implementations or of rigorous forms; it is just a general technique. When people wanna perform some experiments comparing DFFs-related baselines with their proposed method, self-reproduction is good enough or even more fair in their experiments, I guess.

Thanks for your reply.
I have tried to understand and run your rendering and Decomposing code with the example dataset provided by your project.
I have tried to change the query.yaml to check whether it can be decomposed by different text. What I do is to change the query.yaml from original
query: query_type: "text" texts: ["apple", "banana", "vegetables", "floor"]
to the following
query: query_type: "text" texts: ["apple", "banana"]
But the rendering results have no difference, the rendering results is following
Original results:

Results after change the query.yaml:

It seems that there are no difference. Therefore, I wonder if it is the same as your experiments results. If I want to decompose the apple and banana seperately, How should I change the editing configs.
Thanks ,
Regards.

Thank you for your understanding.
Hmm. The results were not matched with mine. It seems that decomposition is not performed well even during train.py with CLIPNeRF optimization; that is, it seems not an issue with render.py or query.yaml.
I guess that DFF training is not converged well. Could you try --num_epochs 8 instead of --num_epochs 4 when running train.py?

Sorry but still do not work.
 (Triggered internally at  /opt/conda/conda-bld/pytorch_1639180588308/work/aten/src/ATen/native/TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
100%|███████████████████████████████████████████████████████████████████████████████| 120/120 [00:36<00:00,  3.29it/s]

Could you please give me some other advices?
Thanks
Regards

The Encode Features by Teacher Network
is the same as your README.md
python -u encode_images.py --backbone clip_vitl16_384 --weights demo_e200.ckpt --widehead --no-scaleinv --outdir ../../sample_dataset/rgb_feature_langseg --test-rgb-dir ../../sample_dataset/images
Regards

Hi
I check the outputs from  LSeg model in rgb_feature_langseg is like this:

There is no apple, banana, vegetable in the segmentation results, is this different with you?

Thank you for providing the details. They will help a lot to improve this repo!
Note: I'll further investigate after I return from NeurIPS next week.

There is no apple, banana, vegetable in the segmentation results

This behavior itself is correct. The LSeg script just uses prepared label sets, which may not contain apples, etc.
But the result seems largely different from mine. So, something wrong may happen in encode_images.py.
An example of mine is as follows:

Hi
Thanks for your detail feedback and kindly reply.
With your comments, I check the encode_images.py, and I found the error is that I change the line from this
clip_pretrained, _ = clip.load("ViT-B/32", device='cuda', jit=False)
to
clip_pretrained, _ = clip.load("ViT-B/32", device='cpu', jit=False)
After I change back to cuda, I can get the similar results as yours.

Now, I used your defalt query.yaml and got the results like this.

However in your defalt query.yaml. That is like here:
query:
query_type: "text"
texts: ["apple", "banana", "vegetables", "floor"]
positive_ids: [0] # indices of target texts
score_threshold: # empty means None. use argmax.
edit:
operations:
`- edit_type: "extraction"`

Is this similar as yours? The video in your README is extract by four query words? Since based on my understanding, the decomposed results in your README should be only with only one query words "apple"?
Thanks for your reply.

Great! Thank you for your explorations!
This yaml is a little tricky.

texts: ["apple", "banana", "vegetables", "floor"]
positive_ids: [0] # indices of target texts

texts shows a set of query words. And, positive_ids shows which of the queries are "positive" (= target-object) queries. Other queries (here, [1, 2, 3] = ["banana", "vegetables", "floor"]) are used as negative queries.
A coordinate is classified as positive (= apple) if and only if the score of "apple" is larger than any of ["banana", "vegetables", "floor"]. This negative-example-based classification is often effective and easier than score-threshold-based binary classification.
So, for example, if you want to extract banana, set "positive_ids: [1]" or "texts: ["banana", "apple", "vegetables", "floor"] with [0]".

Thanks for your explanation, now, with your comments, I can extract the banana.

One more question, If the extract text query is still texts: ["apple", "banana", "vegetables", "floor"], and I want to extract apple and banana at the same time, I found that using "positive_ids: [0, 1]" can not directly achieve this. Does the current implement version only support single-object decomposition?
Regards.

Great!!
Oh, really? It might be a bug. I'll check it later.

@zhao-yiqun @soskek well, I didn't change the code
clip_pretrained, _ = clip.load("ViT-B/32", device='cuda', jit=False)
but I still got a some wrong label result as you changed:

Hmm, it's strange behavior. While it could be out of my understanding, I'll check it later too. Thank you for reporting.

Thansk for that! And I have another question that how should I input a different size of image?
I mean the code in LSeg were:
base_size = 520 and crop_size=480, which are make sense when we input the 1920 x 1080, which means a crop down scale of 4 times, but when I tried to chang it to like 400? because the blender dataset are 800 x 800, I will get a error of tensor shape. I can crop the images, but I cannot get a new transofrm_matrix of blender dataset unless I render again in blender with 1920 x 1080.
And another key is how does the llff dataset process under such situation.

@soskek Is the reason about multi-GPU? I run the encoding code on single GPU,  because when I tried to run on 2 or more GPU, the error shows:
  File "encode_images.py", line 546, in <module>     test(args)   File "encode_images.py", line 424, in test     outputs = evaluator.parallel_forward(image)   File "/root/code/pycode/DreamNeRF/distilled-feature-fields/lseg_encoder/additional_utils/encoding_models.py", line 64, in parallel_forward     outputs = self.parallel_apply(replicas, inputs, kwargs)   File "/root/anaconda3/envs/LSeg/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 178, in parallel_apply     return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])   File "/root/anaconda3/envs/LSeg/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 40, in parallel_apply     assert len(modules) == len(kwargs_tup) AssertionError

Well，I found this code can be training for CLIP very well, but cannot directly use on DINO feature for training, which will give a lot of noise and a worse feature map（down to 3 d by PCA). In another aspect, when I use the original NeRF model, which can reporduce the DINO results very well, this is very wierd.
I also tried on the code  torch-ngp, which also shows a bad results.
Here is the gt of DINO

And here is the result of this code for feature

here is the gt of CLIP

and here is the result of CLIP for feature.

I dont know why this is happend, it does not make any sense.

@StarsTesla
Thank you for the great experiments! It is also new to me. The NGP-based DFF implementation is a little different from the vanilla NeRF-based ones. I described some of them here: https://github.com/pfnet-research/distilled-feature-fields/issues/5#issuecomment-1332039782
One of them could harm training DINO-based DFF. Especially, the simplest "non-volumetric rendering" of features could be a risk.
And, DINO features tend to be higher frequency and have more diversity than CLIP features. This may affect PCA appearances. Even if it looks worse and non-cluster in 3 dim, it cloud be nice in high dim, I guess.

Thanks for reply, so I will keeping using the vanilla NeRF-based model for DINO version in my task, and CLIP version for this.
By the way, I found if I change the parameter scales of the "encoding_image.py", would change the results of the problem we mentioned above, but still bad and different from the results of yours, I thought maybe it could be some bug of this? I dont know.

@zhao-yiqun @soskek well, I didn't change the code clip_pretrained, _ = clip.load("ViT-B/32", device='cuda', jit=False) but I still got a some wrong label result as you changed:

What does "paramter scales" mean?
This one? https://github.com/pfnet-research/distilled-feature-fields/blob/master/encoders/lseg_encoder/encode_images.py#L353
It is actually important. It could worsen results if bad values are selected.
If bad results with unchanged values, it's a still mystery. I'll retry it later when I find the time.

Yeah,if this problem cannot be solved, the "apple" or "banana" cannot be extract.
Here I crop a patch of the feature and compare the mean feature of the patch with the whole image feature learned by dff, I set the sim threshold of 0.99, still got alot of noise feature, instead of only apple.

And if the DINO version for hash grid NeRF trained well should be like below(hotdog dataset):

I recall maybe I add direction as input, but it's not reasonable, I also test it on other dataset, gave me a worse results, now the vanilla NeRF still the best choice but slow one.

@soskek Hi,there, did you find the solution? cauz this very important to me.

Hi. I was waiting for your response after I asked and forgot this.
I'll check it.

@StarsTesla
Sorry. Could clarify the issues again? What is solved and what is unsolved? I am a little confused when reading your comments now.
When I retried the installation and run encoding_image.py, the result was nice.

I'm glad that the problem was solved!
I also modified encoders/lseg_encoder/data/__init__.py as you suggested, thanks a lot!


Enable to post messages to Slack

Is your feature request related to a problem? Please describe.
Support submissions to the new service.
Describe the solution you'd like
Allow messages to be sent to Slack
Describe alternatives you've considered
None in particular

I think we'll get to it within the week.


add set.seed arg to ld_pruning.R

I haven't checked that this produces a consistent SNP list, but it was suggested in the SISG module....
or, start.pos = "first" ?

We've never done this in production code, as I think for something that is inherently random, we want to allow it to actually be random rather than assigning a particular value. SISG is a different situation because I wanted the examples used by the students to always give the same result.


Suggestion For Clone.

Add status like do not disturb so you don't get bombarded with messages and maybe group chats and maybe like files but maybe not files because of legal reasons.
Mabye when you can servers with channels roles and banning and kicking and leaving
Can you also make it so you can change email and it sends verification.
Also maybe banning and admin accounts that can ban and see support requests when support comes and see message links.

mabye also make changing user icon working.

Add status like do not disturb so you don't get bombarded with messages and maybe group chats and maybe like files but maybe not files because of legal reasons.
Mabye when you can servers with channels roles and banning and kicking and leaving
Can you also make it so you can change email and it sends verification.
Also maybe banning and admin accounts that can ban and see support requests when support comes and see message links.

Thanks for the suggestions, sadly I'm too busy and haven't been able to continue working on my side projects. I don't know when I can continue with this 😔

Ok!

When servers can happen you should evenutally add API for bots and add a new tab called Developer and add Bots. Same thing with status when you click on a user it shows mutual friends, servers and a about me,


Crashes with compactor and optimization-counter

Unsuccessful attempts to narrow down opt-counter+compactor crashes @rmacnak-google

Another crash with opt-counter + compactor:
FAILED: dartk-vm release_ia32 standalone_2/fragmentation_test
Expected: Pass
Actual: Crash

--- Command "vm" (took 01.000958s):
DART_CONFIGURATION=ReleaseIA32 out/ReleaseIA32/dart --concurrent_mark --use_compactor --optimization-counter-threshold=5 --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/standalone_2/fragmentation_test.dart

exit code:
-6

stderr:
Class Id: 0
../../runtime/vm/raw_object.cc: 298: error: unreachable code
Dumping native stack trace for thread 7654
  [0x010892ac] dart::Profiler::DumpStackTrace(void*)
  [0x010892ac] dart::Profiler::DumpStackTrace(void*)
  [0x012857e4] Dart_DumpNativeStackTrace
  [0x01286edb] dart::Assert::Fail(char const*, ...)
  [0x0109aae6] dart::RawObject::VisitPointersPredefined(dart::ObjectPointerVisitor*, int)
  [0x01248cef] Unknown symbol
  [0x01248c01] Unknown symbol
  [0x01248f8e] Unknown symbol
  [0x01111c2a] dart::ThreadPool::Worker::Loop()
  [0x01111aee] dart::ThreadPool::Worker::Main(unsigned int)
  [0x01085763] Unknown symbol
  [0xf7744f72] Unknown symbol
-- End of DumpStackTrace

--- Re-run this test:
python tools/test.py -m release -a ia32 -n dartk-optcounter-linux-release-ia32 standalone_2/fragmentation_test

A Class Id: 0 ?
For reference, previous crash in a different file with a different stack strace:
FAILED: dartk-vm release_ia32 service/dominator_tree_user_test
Expected: Pass
Actual: Crash

--- Command "vm" (took 01.000958s):
DART_CONFIGURATION=ReleaseIA32 out/ReleaseIA32/dart --use_compactor --optimization-counter-threshold=5 --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/runtime/observatory/tests/service/dominator_tree_user_test.dart

exit code:
-6

stderr:
===== CRASH =====
version=2.1.0-edge.81d899ac30bd9e71ac4a67006fe18172e9b75e3e (Fri Nov 16 22:25:24 2018 +0000) on "linux_ia32"
si_signo=Segmentation fault(11), si_code=1, si_addr=0x72657468
Dumping native stack trace for thread 4ad9
  [0x01248c73] Unknown symbol
  [0x01248c73] Unknown symbol
  [0x01248b41] Unknown symbol
  [0x01248ece] Unknown symbol
  [0x01111c2a] dart::ThreadPool::Worker::Loop()
  [0x01111aee] dart::ThreadPool::Worker::Main(unsigned int)
  [0x01085763] Unknown symbol
  [0xf7726f72] Unknown symbol
-- End of DumpStackTrace

--- Re-run this test:
python tools/test.py -m release -a ia32 -n dartk-optcounter-linux-release-ia32 service/dominator_tree_user_test

And another crash, in that same file, but with the same stack trace as the most recent crash:
FAILED: dartk-vm release_ia32 service/dominator_tree_vm_test
Expected: Pass
Actual: Crash

--- Command "vm" (took 27.000341s):
DART_CONFIGURATION=ReleaseIA32 out/ReleaseIA32/dart --use_compactor --optimization-counter-threshold=5 --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/runtime/observatory/tests/service/dominator_tree_vm_test.dart

exit code:
-6

stdout:
** Launching SERVICE_TEST_TESTEE=true out/ReleaseIA32/dart -DDART_SERVICE_USE_AUTH=false --profiler --use_compactor --optimization-counter-threshold=5 --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages --enable-vm-service:0 /b/s/w/ir/runtime/observatory/tests/service/dominator_tree_vm_test.dart
>testee>out> Observatory listening on http://<IP_ADDRESS>:40473/
** Signaled to run test queries on http://<IP_ADDRESS>:40473/
>testee>out>
Loading VM...
Done loading VM
Running dominator_tree_vm_test.dart [1/1]

stderr:
Class Id: 0
../../runtime/vm/raw_object.cc: 298: error: unreachable code
Dumping native stack trace for thread 3b74
  [0x0108883c] dart::Profiler::DumpStackTrace(void*)
  [0x0108883c] dart::Profiler::DumpStackTrace(void*)
  [0x01286054] Dart_DumpNativeStackTrace
  [0x0128774b] dart::Assert::Fail(char const*, ...)
  [0x0109a07d] dart::RawObject::VisitPointersPredefined(dart::ObjectPointerVisitor*, int)
  [0x0124948f] Unknown symbol
  [0x012493a1] Unknown symbol
  [0x0124972e] Unknown symbol
  [0x011115da] dart::ThreadPool::Worker::Loop()
  [0x0111149e] dart::ThreadPool::Worker::Main(unsigned int)
  [0x01084cf3] Unknown symbol
  [0xf76b3f72] Unknown symbol
-- End of DumpStackTrace

--- Re-run this test:
python tools/test.py -m release -a ia32 -n dartk-optcounter-linux-release-ia32 --write-logs service/dominator_tree_vm_test

Duplicate of #34934


C-API/Common: a few usage examples of error repoting infra.

commit a4d4b6570bcb2c451f8f4ff83bd2c63fd9289ec6 (HEAD -> capi/err5, fork/capi/err5, capi/err4)
Author: MyungJoo Ham<EMAIL_ADDRESS>Date:   Tue Oct 26 13:47:19 2021 +0900
C-API/Common: a few usage examples of error repoting infra.

A few usage examples of error reporting infra added.
More functions will be using this soon.
Unit test cases will follow later.

Signed-off-by: MyungJoo Ham<EMAIL_ADDRESS>
commit c549bb01c0b0db17071acd5f8d36a63b12669c34
Author: MyungJoo Ham<EMAIL_ADDRESS>Date:   Tue Oct 26 13:46:41 2021 +0900
C-API/Common: macro for formatting error messages.

New macros for error reporting infrastructure with some more info.

Signed-off-by: MyungJoo Ham<EMAIL_ADDRESS>

:octocat: cibot: @myungjoo, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer-api/ci/repo-workers/pr-checker/102-202111021912440.81723594665527-a127f98f72f7cd499367ba11d52c2b113c8d9164/.

:octocat: cibot: @myungjoo, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer-api/ci/repo-workers/pr-checker/102-202111031236110.56455898284912-6702af512acf1b3470790398defa8025c4dc5460/.

:octocat: cibot: @myungjoo, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer-api/ci/repo-workers/pr-checker/102-202111031318540.44798493385315-dc59a9e6681bb4be313145890cd003275cc399ca/.

:octocat: cibot: @myungjoo, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nnstreamer-api/ci/repo-workers/pr-checker/102-202111031714190.3720600605011-4270b6edc6984cfc8909c7546709324d9ca4482a/.

DO NOT MERGE. vsnprintf usage has an error. will fix soon.


Explore better integration with eleventy and other systems

Description
consider auto-rendering of matching div.class
consider rendering flow data in a pre
consider how to handle html escaped JSON

@ZJvandeWeg I think we can close this when 0.3.0 is released?
The new auto layout features and the eleventy macro you devised are enough for the time being right?


fix: Add if condition for empty hash_extra

Description
We suddenly ran into an issue in our work where we get the error:
Error: External Program Execution Failed

where the root cause of the error was:
│     content_hash.update(hash_extra.encode())
│                         ^^^^^^^^^^^^^^^^^
│ AttributeError: 'NoneType' object has no attribute 'encode'

We do not use the hash_extra variable, and looking in the code we noted that it was the only variable which is able to be the empty string on which the Python str.encode() function is used. In order to circumvent this issue, I simply added an if condition to make sure that it was populated before running the .encode().
Motivation and Context

Breaking Changes
It should not.
How Has This Been Tested?
Only local testing

[x] I have executed pre-commit run -a on my pull request

This is breaking us as well. Explicitly setting that param resolves, but something like this is probably the better fix.

Hi all, this appeared to be a bit more upstream, see here. With the latest provider version this issue was fixed for us.

Same. The upstream issue and subsequent release resolved for us. Thanks to @alabonne-ca for pointing us that way.

closing since the root issue has been resolved and nobody has suggested we merge this one :)


move install shell script in Vagrantfile to a standalone script

using config.vm.provision "shell", inline: <<-SHELL at this  line works fine but the content of the shell script should go into a standalone script that can be used to configure a different VM as Jenkins or Travis.

sure, could put it in devel/CCPPETMR_VM/scripts/. Note that it is debian-specific.
This is of course https://github.com/CCPPETMR/SIRF-SuperBuild/issues/91


ZH-TW

ok

iirc the standard we use does not support traditional chinese.

Closing this because the standard we use sadly does not support traditional chinese.


Refactor AbstractMessageChannelBinder

allow the use of the destination reference returned by
createProducerDestinationIfNecessary when invoking createProducerMessageHandler

Fixes #614

LGTM; merged


Weird shutdowns coming out of nowhere

Operating system
Debian 12 inside Proxmox LXC
Description
After running completely fine for some weeks ( after unsuccessful snapshot backup ) under load ( 2TB backup running from another Synology box ) container just shuts down, tried re-installing system and porting just data partitions but didn't help. I would really appreciate help with where the shutdown could be coming from :)
Docker compose
docker run -d --name=new_gracious_murdock --hostname=1b7a2dc5b318 --mac-address=02:42:ac:11:00:02 --env=DISK_SIZE=32G --env=DISK2_SIZE=8T --env=DISK_FMT=qcow2 --env=ALLOCATE=N --env=CPU_CORES=2 --env=RAM_SIZE=4096M --volume=/vdsm/storage2:/storage2 --volume=/vdsm/storage1:/storage --cap-add=NET_ADMIN --network=bridge --expose=139 --expose=22 --expose=445 -p 5000:5000 -p 5001:5001 --restart=unless-stopped --device /dev/kvm:/dev/kvm --device /dev/net/tun:/dev/net/tun --device /dev/vhost-net:/dev/vhost-net --runtime=runc vdsm/virtual-dsm:latest
Docker log
❯ -----------------------------------------------------------
❯  You can now login to DSM at port 5000
❯ -----------------------------------------------------------
vdsm login: [   24.794750] fuse init (API version 7.23)
[   25.087103] findhostd uses obsolete (PF_INET,SOCK_PACKET)
[   25.407548] ip_tables: (C) 2000-2006 Netfilter Core Team
[   25.413299] audit: type=1325 audit(1723643481.405:2): table=filter family=2 entries=0
[   25.418900] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[   25.543634] audit: type=1325 audit(1723643481.535:3): table=nat family=2 entries=0
[   25.613793] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   25.626458] audit: type=1325 audit(1723643481.618:4): table=filter family=10 entries=0
[   25.646939] aufs 4.4-20160328
[   25.654404] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[   25.659781] Bridge firewalling registered
[   25.662800] audit: type=1325 audit(1723643481.654:5): table=mangle family=2 entries=0
[   25.669616] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[   25.670296] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[   25.671059] IPVS: Creating netns size=2104 id=0
[   25.671513] IPVS: ipvs loaded.
[   25.674409] IPVS: [rr] scheduler registered.
[   26.256819] audit: type=1325 audit(1723643482.248:6): table=nat family=2 entries=5
[   26.261736] audit: type=1325 audit(1723643482.253:7): table=filter family=2 entries=4
[   26.268054] audit: type=1325 audit(1723643482.259:8): table=filter family=2 entries=6
[   26.272885] audit: type=1325 audit(1723643482.264:9): table=filter family=2 entries=8
[   26.278644] audit: type=1325 audit(1723643482.270:10): table=filter family=2 entries=10
[   26.284560] audit: type=1325 audit(1723643482.276:11): table=filter family=2 entries=11
[   26.292488] Initializing XFRM netlink socket
[   26.296602] Netfilter messages via NETLINK v0.30.
[   26.352490] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[   26.354743] IPVS: Creating netns size=2104 id=1
[   31.213855] tcmu daemon: command reply support 1.
❯ ERROR: Forcefully terminating QEMU process, reason: 0...
❯ Shutdown completed!
Screenshots (optional)
No response

Is there some way to display internal logs from syno machine ( log center displays nothing ) I am suspecting it choses to shut down on its own for some reason :(