Kubernetes provider: should allow the master url to be override

When using Traefik with Kubernetes, there are currently 3 ways to define where the Kubernetes api server is running:

Environment variable: KUBERNETES_SERVICE_HOST
The "/etc/traefik/traefik.toml" config file
The "--kubernetes.endpoint" command line parameter

Currently 1 seems to be used as a priority, regardless of what value is set in 2 or 3. I think the correct priority should be 3(command line) > 2 (config) > 1 (default env var).

I think Kubernetes also has a bug related to this. People who want to use Traefik with high availability kubernetes master should either

Override the kube apiserver url in Traefik config with the load balancer's URL
Wait for this issue to be fixed https://github.com/kubernetes/kubernetes/issues/22609

Yes that sounds reasonable to me.
It might be possible to work around by setting KUBERNETES_SERVICE_HOST in your Traefik PodSpec . . . but perhaps not, I haven't tried.

@errm thanks, I tried, but doesn't seem to work correctly... (i.e. it's not calling the URLs set by the env var)


SQL Execution with Plan Visualizer

New feature request:
SQL Execution with the Plan Visualizer.
like:
http://www.toadworld.com/platforms/oracle/w/wiki/11002.explaining-the-explain-plan-using-pictures
https://help.sap.com/doc/bed8c14f9f024763b0777aa72b5436f6/2.0.00/en-US/c1f281fbbb571014aaf38a264c0e12c4.html
https://www.dbvis.com/features/tour/explain-plan/

Did you try the "Explain execution plan" in DBeaver? (CTRL-Shift-E in teh SQL Editor ), or right click in the SQL Editor, then Execute -> Explain execution plan ?

This option is disabled... even if I enable the query plan execution for my session (by executing query: 'set showplan on').

What database are you using? DB2? Oracle? ...?

Sybase ASE

This feature will be added in #810


There is no possibility to run build for specyfic env

I have to build my app for enviroment diffrent then production.
After looking into react-app-rewired/scripts/build.js i see that there is no such option.

You have misunderstood what the node env (NODE_ENV) is supposed to be used for. The NODE_ENV variable defines the type of build to be done, NOT where the build is to be deployed. (i.e. How, not Where).
There are 3 valid env's:

'test': a node test environment for running tests.
'development': an environment which has not had code stripped, and runs interactively in the Webpack Dev Server to enable easy debugging/reload on save/etc.
'production': a fully pre-built website with code minification, stripping out unused code, etc, for deployment as a website on a server somewhere.
If env wasn't supplied, it's assumed to be 'development'.

There can be multiple 'production' environments for where the site is deployed/hosted. You do not change the node env value for them - you build them with separate environment settings in the .env file.
i.e. if you have a 'staging' and a 'production' deployment, you'd build both sites with 'env' set to production (so that you get the fully pre-built website), but would have different environment variables in your .env files when building the two sites. You can have a separate custom .env file for different sites - e.g. .env.staging, .env.qa, etc.
See CRA's documentation on environment variables and on building for multiple environments with custom .env files.

Yep. I attempt to build staging env without env-cmd installed. I assumed that react-app-rewired can do it by itself. My bead.


Process data

In this Milestone, I made the following additions ➕ 🟢

Created and Updated User, Post, Like, and Comment.

Set up associations between User, Post, Like, and Comment models.
Added a method that returns the 3 most recent posts for a given user to the User model.
Added a method that updates the posts counter for a user to the Post model.
Added a method which returns the 5 most recent comments for a given post to the Post model.
Added a method that updates the comments counter for a post to the Comment model
Added a method that updates the likes counter for a post to the Like method.
Fixed Linter errors 🧰

Thanks for the review 🙇🏿 . I will fix the broken License link too.

Thanks @algerina. Grateful for the approval 👍🏿


Forge not working for iOS

Hello Antoine,
Since today we have the problem that we cannot build apps for iOS.
The forge command does not finish after it was running for 2h.
Is there a known problem?
Maybe a relationship to this case? https://github.com/trigger-corp/forge/issues/48
Thanks for your support!

My apologies for taking so long to get back to you on this, I'm currently away from the office with limited Internet access.
It looks like it was indeed another case of #48 :-(
I've logged the machines back in and everything should be working again.

Thank you @antoinevg !
I can confirm that it's working again.


Apply CSS class to datepicker__input-container

I need to float the input to the left. So I'm trying
<DatePicker className="w-fleft" />

But the above generates the following - unfloated DOM:
<div class="datepicker__input-container">
    <input type="text" class="w-fleft" />
</div>

How can I apply my w-fleft class to that wrapper container?
I don't want to create a CSS rule to float .datepicker__input-container because not all instances will be floated.

What about wrapping the container in a wrapper? I know this sounds a bit odd, but that prevents adding extra functionality.

There is a use case that may be more common as CSS Modules becomes more widely used. Styling child class names you don't control from a css module class requires use of the :global exception.
I ran across this issue when trying to make the date picker input fields be width: 100% for a responsive layout. Simply setting the input width to 100% doesnt work because the wrapper is styled with display: inline-block and no width defined. The following is how we styled the datepicker__input-container class to get this working:
.myDatePickerWrapper {
  width: 100%;
  & :global .datepicker__input-container {
    width: 100%;
  }
}

.myCustomDatePickerInput {
  width: 100%;
}

While this works, we lose some features of CSS Modules within a :global block, like composes. There is also a potential risk of the class name used on the internal wrapper changing on us.
Perhaps surfacing a 'width' property would work, but an option for wrapperClassName would be more flexible. I understand every corner case cannot be covered, but wanted to mention this use case as it may be common for anyone creating responsive layouts and using CSS Modules.
Great component by the way, thank you.

+1 I have just run into this issue with css-modules. Imo being able to add a class to the top-level container is more important than the input itself... As you can always style that with .container-class input


Use more specific selector for name links

Followup https://github.com/go-gitea/gitea/pull/29305. As per discussion in https://github.com/go-gitea/gitea/pull/29666#discussion_r1517506422, make this selector only search in the current .markup document, as there can be multiples displayed at the same time.
@DanielMatiasCarvalho maybe you can review.

I agree with you @silverwind. Tested your code locally and it worked as intended. Besides, this way, since we restrict the search to only the div that has class markup it avoids undesired behavior. My code with .getElementsByName worked, but was too vague and it could have possibly caused future problems.


Feature request: sparklyr equivalent to SparkR::dapply

If sparklyr had the equivalent or similar to SparkR::dapply then we could run R user defined functions on rows of data.  This would allow using package like lubridate at scale and build a very valuable "method of last resort" for solving Spark issues.
The function I want would have a signature like the following:
SparkR::dapply(dataHandle, Rfunction)
The Rfunction source or closure (not sure which is more appropriate) would be shipped to the Spark cluster.  Spark would cut the data represented by dataHandle into reasonable sized contiguous row-intervals and call the Rfunction on each piece as an R data.frame.  The Rfunction must return a data.frame and then Spark would row-bind the pieces together in the same row-block order they were cut up.  This would allow the user to apply an arbitrary row transformation (such as lubridate parsing) very quickly.  This should be much cheaper than cutting up the data and sending it back to the controlling R instance as we are sending data to transient R instances on the cluster (as SparkR already does) and we thus also get parallelism.
I have an example of using the technique in SparkR here: https://github.com/WinVector/BigDataRStrata2017/blob/master/Exercises/solutions/06-Spark-Extension.md (please look for the SparkR:dapply section).
This is a huge capability that I think will greatly enhance Sparklyr.  It also means a lot of other issues (such as https://github.com/rstudio/sparklyr/issues/648 ) could be solved in terms of this operator.

See https://github.com/rstudio/sparklyr/issues/81

Closing this as a duplicate -- we are still optimistic that we can implement this in our next feature push on sparklyr. (For now we just want to manage the transition from dplyr 0.5.0 to dplyr 0.6.0)


Returan data when errors

What

When ParseDataWhenErrors is set to true, the function will return not only errors but also data field by res variable.

ParseDataWhenErrors: true

Why
In the current version of gqlgenc, even if ParseDataWhenErrors is set to true, only err is returned, making it impossible to compare the data field in tests. It's likely that users who set ParseDataWhenErrors to true also want to compare res at the same time.

@daisuke0925m Thanks！


Initial release review [DO NOT MERGE]

Background
nf-core/oncoanalyser is a cancer DNA/RNA analysis and reporting pipeline that implements the hmftools workflow, which is developed by the Hartwig Medical Foundation.
The hmftools workflow provides comprehensive analysis of cancer DNA/RNA data where each component is fine-tuned and optimised to operate in an integrated manner to improve genomic characterisation.
There are certain expectations around reference and input data, and how the hmftools workflow should be used. As such, these expectations have guided certain design decisions in oncoanalyser with some described below to provide further context for the community review.
Overarching design choices
Separation of run modes into workflows. The hmftools workflow is flexible and can be used to analyse different types of data (e.g. WGTS, targeted sequencing), which require specific configuration and reference data. There are also additional modes planned for hmftools that will eventually be implemented in oncoanalyser.
Hence, I have structured oncoanalyser so that the majority of the logic corresponding to different run modes is lifted up into workflows rather than at the subworkflow or module level. While this introduces some code duplication, much of the mode-specific logic is simplified by dividing it into different workflows providing a better maintenance and development experience. Retaining this layout will ease the addition of new run modes in the future.
Arbitrarily run individual tools or enter at any point. A key feature of oncoanalyser is the ability to begin analysis from any point in the pipeline or run just a specific set of tools. The primary use-case for this is to skip variant calling and run new/supplementary/modified downstream analyses. For example, a user can run oncoanalyser from PURPLE so long as they provide the required inputs.
Accordingly, outputs from each tool can be provided in the samplesheet and are recognised by oncoanalyser. When a user provides input for a given tool, it is retrieved in the respective subworkflow and inserted into the appropriate input channel. The feature to arbitrarily select tools to run is implemented by wrapping each tool subworkflow call in a conditional statement that checks whether the corresponding tool should be run.
Strong reference genome recommendations. Hartwig support only the reference genomes they distribute for analysis with the hmftools workflows. Hence, oncoanalyser is configured to provide users with a choice of the Hartwig GRCh37 or GRCh38 genome. While not recommended, custom reference genomes can be used (including those from iGenomes) and oncoanalyser will build all necessary indexes for the target analysis. There is additionally an option to write/publish prepared reference data to the output directory.
No egress fee reference data hosting. Given the use of Hartwig-distributed genomes and size of reference data required to run oncoanalyser, a cloud hosting provider is needed to deliver this data to users. I chose to host all default reference data (genomes, hmftools/panel resource files, and other databases) on Cloudflare R2, which is an object storage service that doesn't charge for egress. I've used Cloudflare R2 for this purpose since Jan 2023 with the nominal hosting costs being covered by our organisation (UMCCR).
Other notes

I will make PRs outside this review to address each comment/request/etc made

I've created issues to continue on-going activities that do not block the initial release:

https://github.com/nf-core/oncoanalyser/issues/50
https://github.com/nf-core/oncoanalyser/issues/51
https://github.com/nf-core/oncoanalyser/issues/71
https://github.com/nf-core/oncoanalyser/issues/79
https://github.com/nf-core/oncoanalyser/issues/80
https://github.com/nf-core/oncoanalyser/issues/81
https://github.com/nf-core/oncoanalyser/issues/82
https://github.com/nf-core/oncoanalyser/issues/83
https://github.com/nf-core/oncoanalyser/issues/84

I've also marked remaining corresponding threads as resolved just to cleanly close off - let's continue discussing in the relevant GH issues or over Slack.

As discussed on the nf-core Slack, all reviewers have given their approval and so we can now conclude the community review. There are several topics additional of discussion / points of action spun out from the review that will progress independently to the initial release (see above comment).
An immense thank you to all of our reviewers - it's been a significant undertaking and I greatly appreciate all the time and feedback you've kindly given for this community review to be successful.

Now closing this PR so I can open the 'Release 1.0.0' PR


NL classifyText samples and client library version update

Ready for review. High priority to merge soon because of a launch.

This is all ready to go! Let's coordinate with the docs change (so the docs don't link to the moved files) and then we can merge these suckers!


As an editor I need an easy way to link new content to a route

Look more into the incoming references. Simeon  suggested a workflow like this:

If a route has a reference to this content, list it in the pane (the way the incoming references plugin works out of the box). If you click on the reference, it will take you to the Route document.
If no routes have references to this content, provide a button like "Use in a Route" . If the editor clicks on this button, he or she will we taken to a new Route document where the referenced content is predefined.

Questions:

How should this work with multiple languages
What if the content is careers for a student campaign and careers main version and the editor wants to change the content of a route to the new  careers for a student campaign. In that case the "Use in a Route" will not be want you want even if that will be the content of the pane. How can this be as easy as possible to understand?

The plugin out of the box

When does it make sense to look at this? @wenche; inputs?

If we had an epic for "Make Sanity as user friendly as possible for editors" it would belong there. @nilsml That might actually be a good idea, since we are focusing heavily on the web and not that much on sanity as a good tool for publishers

If we don't have that epic already then we should make that. There are a couple of issues that relate to it, like for example #368
It's also something that will become more and more important/relevant as we approach a release.

Ok, we can create a new epic at standup.

@SvSven to initiate a discussion

Let's keep this as a future reference, but v3 of the studio might change the suggested workflow we initially got from Simeon.

I would say editors are very familiarised with the current way of doing this. I'd propose we close this @equinor/envis-devs

Agreed, making major changes now would just make things more confusing


Unable to scan code-128 barcode format

I am trying to scan a barcode of format code 128. But the library is not scanning the barcode correctly.
I tried using the demo page:  https://serratus.github.io/quaggaJS/examples/live_w_locator.html
I have attached the barcode.
Environment used:
Mobile : One plus 8
OS: Android 11
Browser: Chrome 90

fwiw, inlite can read it, so the code is good.  i dont have time to fiddle with it in quagga right now, but my suspicion is that quagga might need a little more discernible whitespace around it, although some settings might be tweakable to get there...

@ericblade  can you please let me know what settings i need to tweak?

Same problem here

Whenever I encounter problems with a particular type or on a particular hardware, i take an image of the barcode and feed it to the live demo page, and then start adjusting things.  Sorry i don't have better advice.

Scanning the barcode image on the examples page gives different results (shown below)


.blocking().invalidate(key) doesn't trigger eviction listener

I've spotted that a moka::future::Cache doesn't fire its eviction listener if an entry is manually invalidated with the blocking op, but I can fire the eviction listener if using .invalidate_all() or the sync cache. The below examples should repro this behaviour.
#[tokio::test]
async fn invalidate_all_triggers_listener() {
    let cache = moka::future::Cache::builder()
        .eviction_listener_with_queued_delivery_mode(|k, v, c| {
            println!("evicted key: {}, value: {}, cause: {:?}", k, v, c);
        })
        .build();
    cache.get_with("foo", async { "all" }).await;
    cache.invalidate_all();
    tokio::time::sleep(Duration::from_secs(1)).await;
}

#[tokio::test]
async fn sync_triggers_listener() {
    let cache = moka::sync::Cache::builder()
        .eviction_listener(|k, v, c| {
            println!("evicted key: {}, value: {}, cause: {:?}", k, v, c);
        })
        .build();
    cache.insert("foo", "sync");
    cache.invalidate("foo");
}

#[tokio::test]
async fn blocking_invalidate_should_trigger_listener() {
    let cache = moka::future::Cache::builder()
        .eviction_listener_with_queued_delivery_mode(|k, v, c| {
            println!("evicted key: {}, value: {}, cause: {:?}", k, v, c);
        })
        .build();
    cache.get_with("foo", async { "blocking" }).await;
    cache.blocking().invalidate("foo");
    tokio::time::sleep(Duration::from_secs(1)).await;
}

For these tests the eviction handler only fires for the first two:
running 3 tests
evicted key: foo, value: sync, cause: Explicit
test sync_triggers_listener ... ok
evicted key: foo, value: all, cause: Explicit
test invalidate_all_triggers_listener ... ok
test blocking_invalidate_should_trigger_listener ... ok

My understanding of invalidate is that it is a manually triggered cache eviction, is that correct? If so I think this may be a bug.

Thank you for reporting!

My understanding of invalidate is that it is a manually triggered cache eviction, is that correct? If so I think this may be a bug.

Yes, it is correct. .blocking().invalidate(key) should trigger the listener with RemovalCause::Explicit.
I will fix this bug as soon as I can.


Create Docker headless version

A headless version of the app as a Docker image, so that it can be deployed and used as an endpoint.
I've adapted the Dockerfile from https://github.com/microsoft/TRELLIS/pull/30, and integrated the fix for the FlexiCubes issue from https://github.com/microsoft/TRELLIS/issues/34#issuecomment-2529380460

@microsoft-github-policy-service agree

I've made some updates to the Dockerfile in my fork, shuffled stuff around and made it a bit quicker to rebuild. Should we collaborate on a fork and then do a pull request that's more robust? Seems we have a bit of overlap in how we want to use it, and it'll be harder for the team to merge if we diverge

@bitplane let's do it, and perhaps, what we could do is:

we use yours to land a dockerfile for the Gradio-based app, not to create a headless version
I point my PR to your branch for that, and build off of that

so that we chain it this way:

your PR: lands a dockerfile that dockerizes what the authors had built, and that's it
my PR: extends yours to add the headless version

it will also enable reviewing the changes more effectively and keep the changes separate logically,
thoughts?


Vite 4 Support

Are we able to provide support for Vite 4?
I can't see a reason why this wouldn't work already by updating the dependency version.

Sorry for the delay. This is now fixed in v0.0.13


version 1.8.1 mutually-supporting (2020-09-30) - Deprecation Notices are not correct!

I'm submitting a ...

[ ] regression from 1.7.0
[ ] security issue
[ ] issue caused by a new browser version
[ X] other

In the new release docs:
Deprecated aHrefSanitizationWhitelist. It is now aHrefSanitizationTrustedUri
When I try changing aHrefSanitizationWhitelist to aHrefSanitizationTrustedUri  it I'm getting "TypeError: $compileProvider.aHrefSanitizationTrustedUri is not a function".
For now, aHrefSanitizationWhitelist still works fine.

AngularJS version: 1.8.1
Thanks.

Yeah, the changelog is incorrect. It should say aHrefSanitizationTrustedUrlList & imgSrcSanitizationTrustedUrlList.
Fortunately, at least the docs are correct:

https://docs.angularjs.org/api/ng/provider/$compileProvider#aHrefSanitizationTrustedUrlList
https://docs.angularjs.org/api/ng/provider/$compileProvider#imgSrcSanitizationTrustedUrlList


:pencil: Updating the Readme.md

Updated the document, as given Dependency installation for Debian, Ubuntu, and friends install dev package for python2. Copying that line didn't resolve installation issues for  pdftotext in python3. The updated line did. :)

Coverage remained the same at 97.368% when pulling 5321d919318766d235989b854450349ef05ec6a3 on Shorotshishir:master into cd6f195915bca6da044b3a5040870bf64142545d on jalan:master.

Updated. Thanks!


supporting file correctly in setup.py

We should probably define __file__ around there https://github.com/ros/catkin/blob/indigo-devel/cmake/interrogate_setup_dot_py.py#L244
So that setup.py is used the same way as it would from python cli.
At the moment interrogate_setup_dot_py breaks on simple setup.py :
Interrogating setup.py for package python_tblib into /home/alexv/Projects/python-tblib-rosrelease/build/catkin_generated/setup_py_interrogation.cmake
Traceback (most recent call last):
  File "/opt/ros/indigo/share/catkin/cmake/interrogate_setup_dot_py.py", line 252, in <module>
['/opt/ros/indigo/share/catkin/cmake/interrogate_setup_dot_py.py', 'python_tblib', '/home/alexv/Projects/python-tblib-rosrelease/setup.py', '/home/alexv/Projects/python-tblib-rosrelease/build/catkin_generated/setup_py_interrogation.cmake']
executing /home/alexv/Projects/python-tblib-rosrelease/setup.py
    main()
  File "/opt/ros/indigo/share/catkin/cmake/interrogate_setup_dot_py.py", line 243, in main
    execfile(args.setupfile_path,{})
  File "/home/alexv/Projects/python-tblib-rosrelease/setup.py", line 13, in <module>
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
NameError: name '__file__' is not defined

which can prevent doing third party release of simple python packages.
https://github.com/asmodehn/python-tblib-rosrelease/blob/release/indigo/python_tblib/setup.py
IDLE used to have a similar bug, we might want to get some inspiration from their fix :
http://bugs.python.org/issue8515

I have created #771 to address you use case. Can you please try it with the patched version of catkin and confirm that it solves your use case.

Thanks !
It seems it solves the cmake step :
-- Using CATKIN_DEVEL_PREFIX: /home/alexv/Projects/python-tblib-rosrelease/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/alexv/Projects/python-tblib-rosrelease/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
*** Arguments ['include_package_data', 'zip_safe'] to setup() not supported in catkin devel space in setup.py of python_tblib
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alexv/Projects/python-tblib-rosrelease/build

So this fix is good to go in, I think.
But then make does nothing (because of the warnings about the devel space ?).
make install seems to work fine though, similar output as if I run python setup.py install.
Not sure how this will affect the release...

Good, so the patch seems to work as expected then.
I don't know what you mean with "make does nothing" though. I would expect it to generate the redirects for the Python modules in the devel space or install the Python modules. Since include_package_data is not supported none of the files listed in the MANIFEST.in will be installed though.

Sorry, I just mean make doesn't give any output.
But if i remove the devel/ space ( that has the python redirects indeed ), then make rerun the cmake process, and the python redirects are back into the devel/ folder.
So I guess everything is fine.
About include_package_data, I believe I can rewrite the same behavior via CMakeLists install rules when I patch for release, so it should not be a big problem, I think.

Since this ticket was about supporting __file__ in setup file it was closed when the referenced PR was merged. If you consider to work on implementing support for include_package_data please consider creating a new ticket for it. It might also be good to write a short description how you plan to implement it in order to get some early feedback on the approach.


Command line max length hit.

Is there any chance the command line option defaults could be loaded from a file so that only options that override the preferred defaults need to be on the command line?
I've been hitting the max length of the command line lately (is it 512?, options after ~500 are being ignored) and a lot of these options never change (paths to folders, source preferences, suffixes etc.) they would be better off somewhere else.
I'd suggest somewhere like ~/.scraper.cfg or something could hold all the defaults which could be user edited. This could be loaded in before command line options are processed, allowing command line to override pref file which overrides internal default.

I'm not opposed to the idea of a config file, but 512 bytes seems really small for an ARG_MAX. Also I normally get an error, something like argument too long. If it is ignoring things past a point, that seems odd. Could there be a space or something that isn't escaped?
Either way I can keep this as a feature request for a config file.

This line, does not put videos in ./snap, they go to ./images (the default)
scraper -refresh -download_images -download_marquees -download_videos -console_img "3b,b,cart,s" -console_src "ss,gdb,ovgdb" -extra_ext "car,cue,pbp,chd,dat,svm,dat,z1,z2,z3,z4,z5,sh" -image_dir "./boxart" -image_path "./boxart" -image_suffix "" -img_format "png" -mame_img "s,t" -mame_src "adb,ss,gdb" -marquee_dir "./wheel" -marquee_format png -marquee_path "./wheel" -marquee_suffix "" -max_height 720 -max_width 720 -missing "./unscraped.txt" -skip_check -thumb_suffix "" -use_nointro_name false -video_dir "./snap" -video_path "./snap" -video_suffix "" -workers 4
That puts the -video_dir parameter on cols 501-520. This line, works fine
scraper -refresh -download_marquees -download_videos -console_img "3b,b,cart,s" -console_src "ss,gdb,ovgdb" -image_dir "./boxart" -image_path "./boxart" -image_suffix "" -img_format "png" -mame_img "s,t" -mame_src "adb,ss,gdb" -marquee_dir "./wheel" -marquee_format png -marquee_path "./wheel" -marquee_suffix "" -max_height 720 -max_width 720 -missing "./unscraped.txt" -skip_check -thumb_suffix "" -video_dir "./snap" -video_path "./snap" -video_suffix "" -workers 4
I removed
-download_images
-extra_ext "car,cue,pbp,chd,dat,svm,dat,z1,z2,z3,z4,z5,sh"
-use_nointro_name false

are any of those wrong?

if you change -use_nointro_name false to -use_nointro_name=false it works. I'm not sure why it does that for a bool flag.

Sheesh!
OK keep this open as an enhancement request for the cfg file please


Warn for LastOrDefault without OrderBy

LastOrDefault is still being evaluated locally and spits out a warning about it at runtime:
The LINQ expression LastOrDefault could not be translated and will be evaluated locally.
I'm not seeing evidence (searching in this repo, or listed on the roadmap) that it's on target to get implemented.
Any news?

Can you post the query?

Sure, I've tried multiple versions:
var samurai=_context.Samurais.LastOrDefault();
That results in
SELECT [s].[Id], [s].[Name]
FROM [Samurais] AS [s]
var samurai=_context.Samurais.LastOrDefault(s=>s.Name=="Sampson");
and
var samurai = _context.Samurais.Where(s=>s.Name=="Sampson").LastOrDefault();
result in:
SELECT [s].[Id], [s].[Name]
FROM [Samurais] AS [s]
WHERE [s].[Name] = N'Sampson'

p.s. the warning message is a result of me reporting this a year ago: https://github.com/aspnet/EntityFrameworkCore/issues/6929

Lack of order by is the cause of client eval.
For particular case of LastOrDefault, we invert the ordering for SelectExpression and do Top(1). Since ordering is not present, LastOrDefault client evaluated.
Also Top/Fetch/Offset requires an ordering to be specified in SqlServer, any such operators without order by cannot be translated.
Further, the results of above query are somewhat non-deterministic. The result could vary based on sorting database provider does. SqlServer records are sorted by PK values but the same thing is not true in Postgre. We have warning system for queries with such non-deterministic results but seems like it is buggy.
https://github.com/aspnet/EntityFrameworkCore/blob/b6aed320cc805aaf7449912ad87f674b4879ec66/src/EFCore/Query/EntityQueryModelVisitor.cs#L412-L428
We are checking for Skip/Take/First. We should also issue warning for Last. (Single can be excluded since ordering may not matter)

That makes a lot of sense. I'm just testing the methods so doing random things and in this case, I can now see that my randomness is illogical.
Perhaps the warning message could be clearer as to WHY the method couldn't be translated..that it requires some type of ordering etc .This would also be an EXCELLENT case for some type of compiler warning.

Updating the issue to track adding the OrderBy warning for Last/LastOrDefault/etc.

new title makes sense. thanks

In:
EF Core version: 3.0.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer 3.0.0
I don't get a clear message the exception is being caused by a missing OrderBy, just a message saying:
'The LINQ expression 'LastOrDefault<Nullable<Guid>>(Select<Comment, Nullable<Guid>>(
    source: Where<Comment>(
        source: DbSet<Comment>,
        predicate: (c) => Property<Nullable<Guid>>(EntityShaperExpression:
            EntityType: Post
            ValueBufferExpression:
                ProjectionBindingExpression: EmptyProjectionMember
            IsNullable: False
        , "Id") == Property<Nullable<Guid>>(c, "PostId")),
    selector: (c) => Property<Nullable<Guid>>(c, "Id")))' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to either AsEnumerable(), AsAsyncEnumerable(), ToList(), or ToListAsync(). See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.'

when executing this query:
var manualQuery = context.Users.Select(dtoUser => new User.ViewDto
{
    Id = dtoUser.Id,
    Posts = dtoUser.Posts
        .Select(
            dtoPost => new Object_205617611___LastComment_Id_Text_UserId
            {
                __LastComment = dtoPost.Comments.LastOrDefault(),
                Id = dtoPost.Id,
                Text = dtoPost.Text,
                UserId = dtoPost.UserId
            })
        .Select(
            dtoLet => new Post.ViewDto
            {
                Id = dtoLet.Id,
                LastComment = (dtoLet.__LastComment == null)
                    ? null
                    : new Comment.ViewDto
                    {
                        Id = dtoLet.__LastComment.Id,
                        PostId = dtoLet.__LastComment.PostId,
                        Text = dtoLet.__LastComment.Text
                    },
                Text = dtoLet.Text,
                UserId = dtoLet.UserId
            })
        .ToList()
}).FirstOrDefault(x => x.Id == user.Id);

Can this issue be re-opened for 3.0.0 or do I have to create a new issue?
Reproduce repo: https://github.com/JoasE/AutoMapperRepro
Moved from: https://github.com/aspnet/EntityFrameworkCore/issues/14991


Improvement: Snap-to-Grid Button Layout

Hello! For those of us with OCD, could it be possible to add an option for a Snap-to-Grid feature when editing the on-screen button Layout? That way things align properly? Thanks!

Oh how exciting, thank you! I look forward to it's implementation.

Alright, I've added a grid-snapping option in 64bca5723f99e96466661563cb4674f9999deb41, which defaults to on. The size of the grid can't be changed currently (to avoid adding too many options), but it should be about the right tradeoff between ease of alignment and accuracy of placement. It's also symmetrical around the center of the screen.

Thanks for the suggestion, it's much nicer having properly aligned custom layouts :)

Amazing! Thank you so much <3 Might seem like such a small thing, but it makes me soo happy


feat: FAQ section

Problem
There is no FAQ section for users to get quick answers to frequently asked questions.
Solution
I will add a FAQ component
Please assign this issue to me under gssoc. @thestarsahil

I can help improve the FAQ pages by some of the frequently asked question or can take some review from some people about it so please do assign this issue to me under GSSOC'23

@SINJINI-G and @soorjya
As mentioned by @ShanviJha30, she will be working on implementing the FAQ component. However, we also need a UI design for the FAQ section. It would be great if either of you could work on creating a UI design for the FAQ section, keeping in mind the project's overall design language and user experience.
Once the UI design is ready, we can proceed with the implementation of the FAQ component. Please feel free to collaborate and discuss any design ideas or requirements in the discussion section.

Please assign me under GSSOC 2023


Add generated code

After @olydis explained stuff here https://github.com/Azure/autorest.go/pull/23

publish job


optimize(tests/logs): add newline to format logs

Signed-off-by:<PHONE_NUMBER><EMAIL_ADDRESS>closed PR: https://github.com/dapr/dapr/pull/5338

cc @daixiang0 @artursouza

@1046102779 LGTM overall, please fix conflicts.

Done.

@1046102779 thanks for this contribution, however I don't believe this is needed.
Unlike fmt, log already adds newlines. Example:


.key file to go along with the crt?

My android will only install .p12 files.
Since I only have a ca_bundle.crt I need a .key file to convert it into a .p12
Thanks in advance.

You do know that this isn't meant to be installed on your phone or anything right? The src files dont need to be modified/installed, you just need PHP installed on a computer and knowledge of coding to make it work. This isn't a program to do it for you, its a resource that has part of that program done for you.

The CA_bundle is a package for the library to verify that a ssl cert is
valid. It shouldn't need to be installed on your phone. If you want to do
research, you use a proxy and install that ssl cert on your phone. See
Charles Proxy or Fiddler for more info on that.
Also, nice dubs.
On Jan 11, 2015 9:53 PM, "Dubz"<EMAIL_ADDRESS>wrote:

You do know that this isn't meant to be installed on your phone or
anything right? The src files dont need to be modified/installed, you just
need PHP installed on a computer and knowledge of coding to make it work.
This isn't a program to do it for you, its a resource that has part of that
program done for you.
—
Reply to this email directly or view it on GitHub
https://github.com/JorgenPhi/php-snapchat/issues/84#issuecomment-69527834
.

yeah I done goofed, currently documenting the 42 endpoints I have found :)


WARNING: Failed to download key certificates … 404 Not found

no matter what i do, orchid seems to stuck at
>>> [ 40% ]: Loading authority key certs
i get something like:

WARNING: Failed to download key certificates: Request /tor/keys/fp-sk/49015f787433103580e3b66a1707a00e60f2d15b-3a7aade32cc78a903bf1ea3222b8df61f9d5092b+ed03bb616eb2f60bec80151114bb25cef515b226-92c62b5bfa6c05c4533b839ca5ec2508b3153433+14c131dfc5c6f93646be72fa1401c02a8df2e8b4-6b927b1652524ee77c98eea4160da00b943c7568+e8a9c45ede6d711294fadf8e7951f4de6ca56b58-292252d59020b903943c025d96134575e1245adf to directory (none) returned error code: 404 Not found

all the time. i've tried different java versions (8/7), as well as different orchid versions (1.0.0, this one, and the bitcoinj version).
(i am quite certain, that i've tried orchid-?.?.?.jar in the past and it was actually working as expected).

It's possible the directory server API changed in a non-backwards compatible way.  I haven't really been following Tor development much lately.

hmmm, maybe this: https://lists.torproject.org/pipermail/tor-relays/2014-January/003594.html

which code is more recent, btw?
bitcoinj/orchid or this code here?

BitcoinJ seems to have a private fork of Orchid inside of the code repository of their project.  I don't know much about it.  You'll have to ask them about it or diff the two trees.

https://github.com/bitcoinj/bitcoinj/issues/1064 :-/


Interactive Mode

I'm willing to put together a pull request for interactive mode, but I'd most likely want to depend on junegunn/fzf for the interactive functionality. @pimterry - does that jive with what you were looking to do?

I don't know how distribution is going to work easily if we start bundling in extra packages - I have a very strong preference for being able to pull down and get started in a single command on any system with a standard shell available, and I worry that this would start to break that.
 I want a toolkit of components, not a big blob that does everything.
Is there a practical way this could be layer on top of the command line notes interface? What commands would notes have to provide to make it possible to build a UI separate that called into it to provide this interface? We already just build an autocomplete-style dropdown by just calling notes find with the provided input, I think. Does that sound like a potentially practical direction for what you're imagining?

Something like
$ editor $NOTES_DIRECTORY/$(notes find | fzf)

Does what I'm suggesting. I can dig a little bit to see what it'd take to simplify this. Would you rather me investigate dmenu than fzf? That seems like another viable option to provide interactive mode, and I've done a fair amount of scripting with both.

We could create a new command, one called "notes" and the other called "vnotes" or something, and vnotes would be visual mode.

@primis Yeah, a separate command that wraps notes feels like a good place to start.
@khamer:
I have no preference - build it with whatever you think works best!
Just to focus on your example for a second: in general, we should be avoiding this tool understanding notes internals too much, and it should instead be making calls to the built-in commands. As a case in point, that example using $NOTES_DIRECTORY is going to break if we allow setting the notes directory in config (#21), and doesn't know the default notes directory if that's not set. I know that's just an illustrating example, but just something to watch out for.
That doesn't necessarily mean you can't start with an implementation that knows about those internal details, but it'd be good to keep a note of what information it has to duplicate, so we can eventually expand the built-in notes commands so that that's no longer necessary (in the above example: by completing #23, so you can get the full note paths from notes directly)

I have notes 1.0.0 and vim 8.2.3025
This command works where n is an alias to notes
n o `n ls |fzf`

But this one doesn't work completely
n ls | fzf | n o

There is a warning

Vim: Warning: Input is not from a terminal

The correct file is still opened. But after exiting vim, my bash is messed up: terminal input doesn't show up. Why the 2nd form doesn't work?

I have notes 1.0.0 and vim 8.2.3025
This command works where n is an alias to notes
n o `n ls |fzf`

But this one doesn't work completely
n ls | fzf | n o

There is a warning

Vim: Warning: Input is not from a terminal

The correct file is still opened. But after exiting vim, my bash is messed up: terminal input doesn't show up. Why the 2nd form doesn't work?

Thanks for the info @nosarthur. I've just done some testing, and it seems this was a bug that was introduced in 1.0.0 by this change: https://github.com/pimterry/notes/commit/15f870ed4823f8b217786d8debd3ee62fb31b05e.
That was added to fix GitHub Actions, where /dev/tty is not available. It's actually buggy though, it's using the wrong test, so it effectively disables the </dev/tty part for all cases, which means in some piped cases, as you're seeing, you hit issues.
I think I've fixed this in https://github.com/pimterry/notes/commit/6315323578ca8812e254ce0cd63ac12deb4b69a3. Can you test that out and let me know?

Thanks @pimterry The new commit 6315323 works

Great! Thanks @nosarthur, that fix is now released as v1.0.1.


Update Composer dependencies (2021-09-14-00-11)

Visual regression test passed!
View the visual regression test report


[BBU] Remove Sovrin references

Problem/Concern

link to problem content -- Ledger Data Policies

Proposed Solution

Some references to Sovrin are still pertinent.


Suggestion 403 error

I've done exactly what docs says and Strapi showin 403 error when trying to reach /api/tags.

API and admin are in the same domain.
Collection with tags created.

Any suggestions?
Thank you ;)

@bkreczmer Are you able to run API individually?
Can you share details logs by inspecting the application in the browser?

Yeah. API works fine - Ive git the rights answer, nut when trying to się suggestion from plugin im Strapi logs I see API URL and 403 error. Nothing more :(.Im custom field settings I be tried to idę/api/tags/api/tags?fields[0]=name Of course collection tag is created with field name.23 wrz 2024 15:04 Sumita Canopas @.***> napisał(a):
@bkreczmer Are you able to run API individually?
Can you share details logs by inspecting the application in the browser?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@bkreczmer, can you investigate whether a plugin or some other code causes the issue?

In console I have such issue:
main.ed6b1f6a.js:863 TypeError: ce.filter is not a function
and
content_script.js:1 Uncaught TypeError: Cannot read properties of null (reading 'ControlLooksLikePasswordCredentialField')
it looks like admin can not show suggestions list.
During 403 error in api, an admin works fine.

also the anwser of /api/tags is:
{
"data": [
{
"id": 1,
"attributes": {
"name": "ukulele"
}
},
{
"id": 2,
"attributes": {
"name": "test"
}
}
],
"meta": {
"pagination": {
"page": 1,
"pageSize": 25,
"pageCount": 1,
"total": 2
}
}
}

Without public permissions in console this issue:
{
"message": "Request failed with status code 403",
"name": "AxiosError",
"stack": "AxiosError: Request failed with status code 403\n    at On (https://admin.redge.com/admin/input-component.e7f8d97c.chunk.js:93:1057)\n    at XMLHttpRequest._e (https://admin.redge.com/admin/input-component.e7f8d97c.chunk.js:93:4284)\n    at it.request (https://admin.redge.com/admin/input-component.e7f8d97c.chunk.js:95:3113)\n    at async ge (https://admin.redge.com/admin/input-component.e7f8d97c.chunk.js:96:5662)",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, /"
},
"method": "get",
"url": "/api/tags?populate=deep&fields[0]=name"
},
"code": "ERR_BAD_REQUEST",
"status": 403
}

Oookk .. case closed ;) update your plugin to 1.0.6 fixed the issue ;)


Regional datasets missing in mouse brain

It seems that the mouse brain is not delivering all the regional data features available.
In siibra-python (0.2a2), for example,
import siibra
atlas = siibra.atlases['mouse']
r = atlas.get_region('striatum dorsal')
for f in siibra.get_features(r,'ebrains'):
    print(f.name)

gives
https://nexus.humanbrainproject.org/v0/data/minds/core/dataset/v1.0.0/e174a987-744f-43d2-8b43-3c8cb0a5c13c
Characterization of striatal neurons in Parkinson’s disease patients and healthy individuals using scRNA-seq
https://nexus.humanbrainproject.org/v0/data/minds/core/dataset/v1.0.0/a4d76158-ba11-4f13-aa4b-49d7c7652ce3
In-depth characterization of striatal neurons in non-human primates using single-cell RNA-seq

while selecting the same region in siibra-explorer yields an empty list in the sidepanel.

related to https://github.com/FZJ-INM1-BDA/siibra-python/issues/85
whilst siibra-stable does not use 0.2a2, but 0.1a8 instead, on my local machine, with the correct token, I could fetch the datasets :
curl 'http://localhost:5000/v1_0/atlases/juelich%2Fiav%2Fatlas%2Fv1.0.0%2F2/parcellations/minds%2Fcore%2Fparcellationatlas%2Fv1.0.0%2F39a1384b-8413-4d27-af8d-22432225401f/regions/Striatum%20dorsal%20region%20/features/EbrainsRegionalDataset' | jq 'length'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3922  100  3922    0     0  1276k      0 --:--:-- --:--:-- --:--:-- 1915k
18

Last update I heard was @skoehnen was asking Oli to approve a oidc client to resume the programmatic generation of valid access tokens, which should allow for the queries to resume functioning.

@marcenko @xgui3783 any update here? It is important that the EBRAINS regional datasets are listed reliably for all species. I suggest we have a brief walkthrough this. Maybe it is just a matter of using the latest version of siibra.

should be fixed by https://github.com/FZJ-INM1-BDA/siibra-api/releases/tag/0.0.2


Maintaining this repository

Hi!
Seems you've done quite a bit of work to get to this point!
I don't know if you have also forked tendermint but I would like to make some recommendations about maintaining this code. In my experience maintaining forks of the cosmos SDK, things get tough pretty fast. If I understand correctly, your chain has not yet launched. That is good. I would like to recommend that you try to launch on cosmos SDK 46 derived code.
Over time, the number one issue that I encounter as an infrastructure operator and validator is performance. STK 46 is likely to improve performance a good deal. I am running a public test net on it now.
Typically, the best technique is to merge the foreign code base into this one frequently, so that you can pull in upgrades. It is very important to note that very frequently those upgrades are security related in nature, and that he will want to apply them rapidly. As for whether to build your modules in this repository or in the repository of chains that will be built with this code, that is really a difficult question. Generally speaking my personal practice is to put new functionality inside the chain itself, and make changes in the SDK.
If you are planning to use IBC, you want to keep up with the IBC – go repository as well.
So to summarize:

recommend launching on sdk 46 / tm 45 / ibc-go >v3
recommend that you make it easy for yourselves to merge in updates from the cosmos-sdk
recommend that you do as little original code work in this repository as possible, saving features for chains, and later if desiring to reuse modules, importing them.

Thank you for your kind comments when operating the repository.
As you said, there are many things to consider in many ways to fork and operate comsos-sdk. And if there is a chain that operates even with the latest cosmos-sdk as it is, there are parts that need to be more careful.
We developed a fork at 0.38, and we are monirtoring the progress of 0.46 as there are many changes. And we'll check the change of 0.46 more aggressively.
Thank you.


Add module dependencies

This PR manually adds module dependencies for OrderedCollections, UnicodePlots, and YAML. See also #PR22, #PR23, #PR24.

Codecov Report

Merging #26 (d34bac1) into main (0893cf1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   98.93%   98.93%
=======================================
  Files          35       35
  Lines        1593     1593
=======================================
  Hits         1576     1576
  Misses         17       17

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


[bug] IOS Asset Validation error, missing storyboard?

Describe the bug
When uploading the IPA packet generated using yarn tauri ios build using OSX app 'Transporter' I'm getting an error back that states:
Asset validation failed (90476)
Invalid bundle. Because your app supports Multitasking on iPad, you need to include the LaunchScreen launch storyboard file in your com.******censored*******.app bundle. Use UILaunchScreen instead if the app’s MinimumOSVersion is 14 or higher and you prefer to configure the launch screen without storyboards. For details, see: https://developer.apple.com/documentation/bundleresources/information_property_list/uilaunchstoryboardname (ID: dc66b1a2-1a54-4a07-9066-be20cce9423c)

I'm guessing the error is triggerede by the splashscreen as mentioned? I'll try going forward and use UILaunchScreen as suggested. Or maybe there is a storyboard missing from the IOS template?
Reproduction
No response
Expected behavior
The app should be able to upload using Transporter.
Full tauri info output
warning ../package.json: No license field
$ /Users/jln/src/kw-control-center/node_modules/.bin/tauri info

[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.12.2
    - pnpm: 9.0.6
    - yarn: 1.22.21
    - npm: 10.5.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.18
    - tauri-build [RUST]: 2.0.0-beta.14
    - wry [RUST]: 0.39.4
    - tao [RUST]: 0.27.1
    - tauri-cli [RUST]: 2.0.0-beta.15
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist/spa
    - devUrl: http://localhost:9000/
    - framework: Vue.js (Quasar)
    - bundler: Vite

[-] iOS
    - Developer Teams: Pascal A/S (ID: BL76TU4HQ6)

Stack trace
No response
Additional context
No response

Could you try adding a storyboard file named LaunchScreen to the root folder and see if it can pass the validation?

@pewsheen Yes, and though the default storyboard is ugly, adding LaunchScreen.storyboard works.

@pewsheen Yes, and though the default storyboard is ugly, adding LaunchScreen.storyboard works.

Thanks! I guess they want developers to build their launch screen...


Account for transform pivot when decomposing matrix

#6810
Description of change
This patch has been battle-tested in the @pixi-essentials/transformer package.
Basically, the Matrix#decompose method sets the position assuming the pivot is (0, 0). Obviously, this is not always
the case.
There are either two fixes to this: set pivot to (0, 0) always OR calculate the position so that the pivot does not have to
change. I chose the latter b/c the user does not expect the pivot to change when decomposing a matrix, because it is
not a part of the actual transform.
Reasoning
The reason why this will work is b/c of the way tx, ty are calculated:
https://github.com/pixijs/pixi.js/blob/8f7ed7662949ea1217b6f3b6af470e855cfe0b13/packages/math/src/Transform.ts#L201
Pre-Merge Checklist

[ ] Tests and/or benchmarks are included
[ ] Documentation is changed or added
[ ] Lint process passed (npm run lint)
[ ] Tests passed (npm run test)

Codecov Report

Merging #6820 into dev will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               dev     #6820   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           15        15
  Lines          671       671
=========================================
  Hits           671       671

Continue to review full report at Codecov.

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

Need tests for this @SukantPal

@bigtimebuddy Done! I added a test that would fail without this patch.


New channel requests

Can you add new channels from DaddyLive to Cabernet?
American Heroes Channel: https://daddylivehd.sx/embed/stream-206.php
Boomerang: https://daddylivehd.sx/embed/stream-648.php
CMT: https://daddyhd.com/embed/stream-619.php
Cooking Channel: https://daddylivehd.sx/embed/stream-697.php
Destination America: https://daddylivehd.sx/embed/stream-651.php
Discovery Family: https://daddyhd.com/embed/stream-657.php
Disney Junior: https://daddylivehd.sx/embed/stream-652.php
FXX: https://daddyhd.com/embed/stream-298.php
Hallmark Movies & Mysteries: https://daddylivehd.sx/embed/stream-296.php
HBO2: https://daddyhd.com/embed/stream-689.php
HBO Comedy: https://daddyhd.com/embed/stream-690.php
HBO Family: https://daddyhd.com/embed/stream-691.php
HBO Latino: https://daddyhd.com/embed/stream-692.php
HBO Zone: https://daddyhd.com/embed/stream-694.php
NickToons: https://daddylivehd.sx/embed/stream-649.php
Oxygen: https://daddylivehd.sx/embed/stream-332.php
TCM: https://daddylivehd.sx/embed/stream-644.php
TeenNick: https://daddylivehd.sx/embed/stream-650.php
Universal Kids: https://daddylivehd.sx/embed/stream-668.php
I have a full list of other channels you can try converting as well from this link. (https://insolencetvgo.godaddysites.com/)

Duplicate of #1


Add joystick / gamepad support using distribution html files

Hi,
I noticed this version of the emulator had no joystick / gamepad support, but the WASM version did. So i added joystick / gamepad support to the distribution html files for this version of the emulator.
I keep using RequestAnimationFrame to handle joypad input and i only reset the joypad button state once after not pressing any buttons / axises. If i did not do this keyboard and touch input had problems.
This allowed me to use the emulator on my arcade cabinet as well as on the steamdeck as you can see in the video's below. (basically i used chrome / edge with local html files and made the bin= variable from within the frontends. I also had to disable websecurity to go around CORS issues from loading files using file:// protocol but this is not a problem as everything is done locally
https://user-images.githubusercontent.com/10714776/174579739-3b398b92-f9a5-4f77-9f73-d9aa6742e3f1.mp4
https://user-images.githubusercontent.com/10714776/174578943-fe1384e1-07b3-495f-b980-31d2a922c0d9.mp4

This is amazing!
This was particularly satisfying to see running on an arcade cabinet as I have been building a cabinet myself: https://www.youtube.com/watch?v=jZMGX-tDTWA

Hi thanks, it was already always possible just needed to the scaling a but of tinkering to make the emulator load from a local file and local bin files.
It is indeed seriously fun & cool to see it running, i did the same with arduboy games but arduboy was a bit easier as it would seem retroarch added a core for it. But it was still fairly easy to make it work with your emulator once i added the gamepad support. the only real thing you need to know is to load chrome (or edge) with --disable-web-security --user-data-dir=c:/somedir to make it load it.
Also its very cool you made a cabinet with original motherboard of the original arcade. Mine is has a pc inside it running windows that autoboots into the frontend i use (attract mode).
Now i also tried it on a raspberry pi 4 but the pi 4 was too slow to handle the html5 emulator, or it was chromium not running well on my rpi4. I have the same issue on my old android phone but you can run it also on phones using the scaling things. i tested that and i even released a game on itch.io using those dist files and the wasm version of the emulator. On a phone i load a version with the console skin and touch screen input and on desktop / pc i load it using a fullscreen version.
If you want to see that in action you can check that here try going to the page and pressing run game on a desktop pc / browser as well as on your phone (if it can handle the emulator)


(PUP-10473) Remove legacy auth.conf support

jenkins please test this with servertests

jenkins please test this with servertests

CLA signed by all contributors.

Well that's annoying, the CI check is still showing the first failure, while the actual run is progressing in https://jenkins-platform.delivery.puppetlabs.net/job/platform_puppet-agent-extra_puppet-agent-integration-suite_pr/1844/

I need to rebase this after the app orchestration PR lands due to the /puppet/v3/environment route changes.

jenkins please test this with servertests

This is blocked on https://github.com/puppetlabs/puppet-agent/pull/1970

jenkins please test this on redhat7-64a,ubuntu1804a,windows2019-64a with servertests

jenkins please test this on redhat7-64a,ubuntu1804-64a,windows2019-64a with servertests

This is blocked on https://github.com/puppetlabs/puppetserver/pull/2416

jenkins please test this on redhat7-64a,ubuntu1804-64a,windows2019-64a with servertests


I want to know how to take the remainder

Microsoft PowerToys version
0.37.2
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
When calling the calculator for calculation
I want to know how to take the remainder?
I tried several methods, but no results were obtained.
Finally, I can only use mathematical expressions to calculate
✔ Expected Behavior
98%5=3
I can only calculate this result like this

❌ Actual Behavior
No results returned

Other Software
No response

hoping this can get in for .41, if not .43

@crutkas
Let's add a list of supported operators and functions to docs.microsoft.com.
_cc: @dedavis6797

Resolved.


Update tab highlight to use secondary_color

This is formatted using rustfmt. Let me know if you would like that to be any different.

It's perfect 👍
Thank you for the contribution!
(closes #250 )


getNodeNames failing with lifted node that has > and & in the name

Below is the full example, but more briefly, the problem seems to be that with the following declaration,
mu.c ~ dconstraint(mu1 + mu2 > 0 & mu1 > 1)
we get a lifted node "lifted_mu1_plus_mu2>0&mu1>1"
Because the > is in the string (I'm guessing the & might also be an issue), getNodeNames is choking, in particular, in expandNodeNames, this line fails:
modelDef$nodeName2GraphIDs(nodeNames, !returnScalarComponents)
because in the nodeName2GraphIDs method, this fails:
output <- unique(unlist(sapply(nodeName,
parseEvalNumeric, env = maps$vars2GraphID_functions_and_RHSonly,
USE.NAMES = FALSE)))
because parseEvalNumeric stops when it gets to ">"
I thought our name mangling would have produced something like:
lifted_mu1_plus_mu2_gt_0_and_mu1_gt_1
I'm happy to go into nameMashupFromExpr and add handling for logical operators, but wanted to check first that my diagnosis is correct and I'm not missing a bigger picture thing.
Full example (this could be boiled down but should serve the purpose):
set.seed(0)
code <- nimbleCode ({
for(i in 1:n) {
y1[i] ~ dnorm(mu1, 1)
y2[i] ~ dnorm(mu2, 1)
}
mu1 ~ dunif(-10, 10)
mu2 ~ dunif(-10, 10)
mu.c ~ dconstraint(mu1 + mu2 > 0 & mu1 > 1)
})
mu1 <- 1; mu2 <- -0.5
n <- 10
y1 <- rnorm(n, mu1, 1)
y2 <- rnorm(n, mu2, 1)
data = list(y1 = y1, y2 = y2, mu.c =1)
inits = list(mu1 = 1.5, mu2 = 0.5)
constants = list(n = n)
Rmodel = nimbleModel(code, data = data, inits = inits, constants = constants)
Rmodel$getNodeNames() # fails
Cmodel = compileNimble(Rmodel) # fails

Yeah but we talked about how I haven't merged in fixes on this due to our
devel freeze from Friday, so it's basically the same as the previous issue
on ">" with the added need to make sure "&" gets name-mangled correctly.
Will do.
On Wed, May 13, 2015 at 12:22 PM, Christopher Paciorek <
<EMAIL_ADDRESS>wrote:

Below is the full example, but more briefly, the problem seems to be that
with the following declaration,
mu.c ~ dconstraint(mu1 + mu2 > 0 & mu1 > 1)
we get a lifted node "lifted_mu1_plus_mu2>0&mu1>1"
Because the > is in the string (I'm guessing the & might also be an
issue), getNodeNames is choking, in particular, in expandNodeNames, this
line fails:
modelDef$nodeName2GraphIDs(nodeNames, !returnScalarComponents)
because in the nodeName2GraphIDs method, this fails:
output <- unique(unlist(sapply(nodeName,
parseEvalNumeric, env = maps$vars2GraphID_functions_and_RHSonly,
USE.NAMES = FALSE)))
because parseEvalNumeric stops when it gets to ">"
I thought our name mangling would have produced something like:
lifted_mu1_plus_mu2_gt_0_and_mu1_gt_1
I'm happy to go into nameMashupFromExpr and add handling for logical
operators, but wanted to check first that my diagnosis is correct and I'm
not missing a bigger picture thing.
Full example (this could be boiled down but should serve the purpose):
set.seed(0)
code <- nimbleCode ({
for(i in 1:n) {
y1[i] ~ dnorm(mu1, 1)
y2[i] ~ dnorm(mu2, 1)
}
mu1 ~ dunif(-10, 10)
mu2 ~ dunif(-10, 10)
mu.c ~ dconstraint(mu1 + mu2 > 0 & mu1 > 1)
})
mu1 <- 1; mu2 <- -0.5
n <- 10
y1 <- rnorm(n, mu1, 1)
y2 <- rnorm(n, mu2, 1)
data = list(y1 = y1, y2 = y2, mu.c =1)
inits = list(mu1 = 1.5, mu2 = 0.5)
constants = list(n = n)
Rmodel = nimbleModel(code, data = data, inits = inits, constants =
constants)
Rmodel$getNodeNames() # fails
Cmodel = compileNimble(Rmodel) # fails
—
Reply to this email directly or view it on GitHub
https://github.com/nimble-dev/nimble/issues/59.

right... lost track of what had and hadn't gotten merged in.
also:
|, >=, ==, <=, <, !=
On Wed, May 13, 2015 at 1:16 PM, slope<EMAIL_ADDRESS>wrote:

Yeah but we talked about how I haven't merged in fixes on this due to our
devel freeze from Friday, so it's basically the same as the previous issue
on ">" with the added need to make sure "&" gets name-mangled correctly.
Will do.
On Wed, May 13, 2015 at 12:22 PM, Christopher Paciorek <
<EMAIL_ADDRESS>wrote:

Below is the full example, but more briefly, the problem seems to be that
with the following declaration,
mu.c ~ dconstraint(mu1 + mu2 > 0 & mu1 > 1)
we get a lifted node "lifted_mu1_plus_mu2>0&mu1>1"
Because the > is in the string (I'm guessing the & might also be an
issue), getNodeNames is choking, in particular, in expandNodeNames, this
line fails:
modelDef$nodeName2GraphIDs(nodeNames, !returnScalarComponents)
because in the nodeName2GraphIDs method, this fails:
output <- unique(unlist(sapply(nodeName,
parseEvalNumeric, env = maps$vars2GraphID_functions_and_RHSonly,
USE.NAMES = FALSE)))
because parseEvalNumeric stops when it gets to ">"
I thought our name mangling would have produced something like:
lifted_mu1_plus_mu2_gt_0_and_mu1_gt_1
I'm happy to go into nameMashupFromExpr and add handling for logical
operators, but wanted to check first that my diagnosis is correct and I'm
not missing a bigger picture thing.
Full example (this could be boiled down but should serve the purpose):
set.seed(0)
code <- nimbleCode ({
for(i in 1:n) {
y1[i] ~ dnorm(mu1, 1)
y2[i] ~ dnorm(mu2, 1)
}
mu1 ~ dunif(-10, 10)
mu2 ~ dunif(-10, 10)
mu.c ~ dconstraint(mu1 + mu2 > 0 & mu1 > 1)
})
mu1 <- 1; mu2 <- -0.5
n <- 10
y1 <- rnorm(n, mu1, 1)
y2 <- rnorm(n, mu2, 1)
data = list(y1 = y1, y2 = y2, mu.c =1)
inits = list(mu1 = 1.5, mu2 = 0.5)
constants = list(n = n)
Rmodel = nimbleModel(code, data = data, inits = inits, constants =
constants)
Rmodel$getNodeNames() # fails
Cmodel = compileNimble(Rmodel) # fails
—
Reply to this email directly or view it on GitHub
https://github.com/nimble-dev/nimble/issues/59.

—
Reply to this email directly or view it on GitHub
https://github.com/nimble-dev/nimble/issues/59#issuecomment-101802781.

potentially also
||
&&
%%

I put in all of these cases.  I made a new Rname2CppName that combines old RnameCppName and nameMashupFromExpr, which had a lot of redundancy.

I tested (by modifying some code in the test of dconstraint in
test-trunc.R) and this seems fine and is now part of the test suite.
On Thu, May 14, 2015 at 1:35 PM, perrydv<EMAIL_ADDRESS>wrote:

Closed #59 https://github.com/nimble-dev/nimble/issues/59.
—
Reply to this email directly or view it on GitHub
https://github.com/nimble-dev/nimble/issues/59#event-305241113.


Leaving a Document message

Starting in NAV 2018 and changed a little in BC there is a message stemming from the OnQueryClosePage trigger.  It asks "The Document No. has not been posted...". I have no control in AL to get rid of this functionality.  When we leave a document we do not want a message popping up ever no matter what the state (Open/Released) the order is in.  We go in and out of open documents all the time so I would like this code disabled.
Either can a publisher be added so I can exit before that code is called or can you make this based on a Setup option.  In C/AL easy enough to comment it out, in AL not possible (yet).

We were able to turn this off in My Notifications.  The tweak is described here: https://www.solsyst.com/post/2017/10/11/changing-the-document-has-not-been-posted-notification-in-dynamics-nav
From: Jason Wilder<EMAIL_ADDRESS>Sent: Tuesday, May 14, 2019 12:55 PM
To: microsoft/ALAppExtensions<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [microsoft/ALAppExtensions] Leaving a Document message (#2443)
Starting in NAV 2018 and changed a little in BC there is a message stemming from the OnQueryClosePage trigger. It asks "The Document No. has not been posted...". I have no control in AL to get rid of this functionality. When we leave a document we do not want a message popping up ever no matter what the state (Open/Released) the order is in. We go in and out of open documents all the time so I would like this code disabled.
Either can a publisher be added so I can exit before that code is called or can you make this based on a Setup option. In C/AL easy enough to comment it out, in AL not possible (yet).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/ALAppExtensions/issues/2443?email_source=notifications&email_token=AHFK7D7UM2UEMRWCZ5J5MXDPVMKHZA5CNFSM4HM5EY3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GTYLW4A, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHFK7D56PTSWQ55SP5IRZODPVMKHZANCNFSM4HM5EY3A.
'“As part of the merger of Odyssey Foods LLC and Orca Bay Foods LLC, our name will be Orca Bay Foods LLC beginning on April 1, 2019 – and the domain for our email addresses will be changing to @orcabayfoods.com. Although your emails to me at an @ody.bz domain will get to me, please make a note of my new email address as listed above in this email. Thank you!”'. If the disclaimer can't be applied, take no action.

Perfect!  I totally missed that when tracing through how it worked.  It oddly doesn't use the My Notifications table but another table called User Preference which gets populated from disabling something in the My Notifications table.  This is solved, thanks a lot!


WIP: Replace please with Makefile

This PR removes all please related configuration from the repository and replaces it with Makefile.
Changes include the following:

[ ] Remove all BUILD files
[ ] Remove k3d documentation
[ ] Update kind documentation
[ ] Add documentation about all the components that require to be deployed
[ ] Cleanup example pipelines
[ ] Add files to allow users to deploy examples with helm
[ ] Cleanup openapi tests
[ ] Fix Github code quality checks
[ ] Add Github actions for producing releases based on tags

great job pavlos!


Cisco Parser with BoringSSL?

Hi,
Can we use this parser to test BoringSSL? If yes, is there a documentation where we can get more information?

Sure, however I'm pretty certain there would be some significant code changes in the app code since BoringSSL and OpenSSL have diverged quite a bit. We have not tried to build or test BoringSSL.

Sure, however I'm pretty certain there would be some significant code changes in the app code since BoringSSL and OpenSSL have diverged quite a bit. We have not tried to build or test BoringSSL.

Hello,
Most of our documentation is in acvp.h though looking at the acvp_app implementation is likely the easiest way to gain an understanding of how it is used (I plan to improve the documentation but it is a very low priority at the moment).
If there are any other questions regarding this, please feel free to ask, otherwise I will close this issue. Thanks!
Andrew


OpenSSL 1.1.0 client can send Certificate message on renegotiation although not requested

As seen in https://bugzilla.redhat.com/show_bug.cgi?id=1393579 the openssl 1.1.0 client can send Certificate message although not requested with CertificateRequest on renegotiation. This is regression from 1.0.x.
In the handshake attached to the above Fedora bug you can see that the server requests a renegotiation where it sends CertificateRequest on which the client properly reacts with the Certificate message. Then the server immediately requests another renegotiation but this time without the CertificateRequest - the client in 1.1.0 incorrectly responds with Certificate message and the server (1.0.1) responds with fatal unexpected message alert.

Looks like this is because s->s3->tmp.cert_req (not to be confused with s->s3->tmp.cert_request :-) ) isn't reset to zero anymore. In 1.0.2, this line ended up resetting things.
https://git.openssl.org/gitweb/?p=openssl.git;a=blob;f=ssl/s3_clnt.c;h=218534734dd7e7467a14d1d0914207a77343e218;hb=refs/heads/OpenSSL_1_0_2-stable#l2073
(The state was always reached and then skipped afterwards.)

kk

opl

Unfortunately I do not know where is the most appropriate place to put the reset of the cert_req in the new state machine code.

See fixes in #1982 and #1983


KAFKA-6204, KAFKA-7402: ProducerInterceptor should implement AutoCloseable

As part of KIP-376 we had ConsumerInterceptor implement AutoCloseable
but forgot to do the same for ProducerInterceptor. This fixes the
inconsistency and also fixes KAFKA-6204 at the same time.

Merged! Thanks again, @xvrl .
About the non-green checks, Jenkins for some reason started a second test run with changes from another PR. I'm not sure what that's about, but all the tests passed on the change from this PR (run 1) (https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-11997/1/)


Icon Request: HashiCorp Nomad

Hi; firstly thanks for all the work on the project! I find it really useful and it improves the Atom UI massively.
I work very often with Nomad job specification files which I store; and are documented to use, a .nomad file extension.
Would it be possible to add this using this vector logo?

Hey @jrasell, 👋
I'll see how I fare, but that "N" in the centre might make dealing with the brighter/greener side somewhat interesting. :thinking: I don't think the Gestalt Effect is goanna help here...

Thanks very much for the work @Alhadis


Geometry Engine sample readme improvements

In the Geometry Engine sample, 'How To Use' says "between the intersecting polygons" should be "to the self-intersecting polygon" (singular)

Closing this. I don't understand why the change is needed since we are in fact interesting two polygons.


Make sure at most once Updating Git Machete status background task runs at any given moment

Might be hard to ensure... still, would be a nice optimization on large repositories.

good point! I was about to open the same issue 😆 I have already encountered the situation with +1 tasks running 😞

At least two approaches to be considered:

not allow enqueuing a new task if any is running

plus: old tasks can finish faster, won't get cancelled or get any competition for disk/CPU from newer tasks
minus: old tasks might not reflect the most state of the repo

cancelling the existing task if new one is scheduled

plus: new tasks will reflect the latest state
minus: might take long if an almost-ready task is always getting cancelled in favor of a new task

Might no longer be important once #1395 is released... to be checked on our large repository (650k commits). The early results look promising.

Doesn't seem crucial anymore!

Nopes, it still seems after all 😅 I've just got 6 tasks running at the same time on my large commercial repo.

One thing to consider: sometimes the earlier-triggered background task ends up later, which causes the state displayed to the user to be out of date :/


Missing GT / LT options for ZADD command

Hello,
I'm using Vercel's KV library (which appears to use this library to interface with Redis), and I've noticed that the LT and GT command options for the ZADD operation are not present in the ZAddCommandOptions interface.
type ZAddCommandOptions = ({
    nx: true;
    xx?: never;
} | {
    nx?: never;
    xx: true;
} | {
    nx?: never;
    xx?: never;
}) & {
    ch?: true;
};

Only the NX, XX and CH options are covered here.
Documentation for the options is here: https://redis.io/commands/zadd/

@mnemitz Now you have to let Vercel KV team know that they can bump their version so you can start using LT,GT


Parallel hmm posterior sample

This PR implements a parallel version of HMM posterior sampling using associative scan (see https://github.com/probml/dynamax/issues/341). The scan elements $E_{ij}$ are vectors specifying a sample
z_j ~ p(z_j \mid z_i)

for each possible value of $z_i$. They can be thought of as functions $E : [1,...,n] \to [1,...,n]$ where the associative operator is function composition. This implementation passes the test written for serial sampling (which is commented out for some reason). It starts performing better than serial sampling when the sequence length exceeds a few thousand (I'm a little mystified as to why it takes so long for the crossover to happen).
from dynamax.hidden_markov_model.inference_test import random_hmm_args
from dynamax.hidden_markov_model import hmm_posterior_sample, parallel_hmm_posterior_sample
import matplotlib.pyplot as plt
import jax.numpy as jnp
import jax.random as jr
import numpy as np
import time

num_states = 2
num_iters = 5
timesteps = np.logspace(0,6,10).astype(int)
serial_times, parallel_times = [], []
for num_timesteps in timesteps:
    print(num_timesteps)
    serial_time, parallel_time = 0, 0
    for itr in range(num_iters+1):
        args = random_hmm_args(jr.PRNGKey(itr), num_timesteps, 5)

        t = time.time()
        hmm_posterior_sample(jr.PRNGKey(itr), *args)
        print('s', time.time()-t)
        if itr > 0: serial_time += time.time()-t

        t = time.time()
        parallel_hmm_posterior_sample(jr.PRNGKey(itr), *args)
        print('p', time.time()-t)
        if itr > 0: parallel_time += time.time()-t

    serial_times.append(serial_time/num_iters)
    parallel_times.append(parallel_time/num_iters)

plt.plot(timesteps, serial_times, label='serial')
plt.plot(timesteps, parallel_times, label='parallel')
plt.legend(loc='upper left')
plt.xscale('log')
plt.yscale('log')
plt.ylabel('Runtime (s)')
plt.xlabel('Sequence length')
plt.gcf().set_size_inches((3,2))

Thanks @calebweinreb! To clarify, I would say that the associative operator takes in two sets of samples,
$$z_s \sim p(z_s \mid x_{1:s}, z_{s+1}) $$
and
$$z_t \sim p(z_t \mid x_{1:t}, z_{t+1})$$
for all values of $z_{s+1} \in [K]$ and $z_{t+1} \in [K]$.
Then, assuming $t > s$, the associative operator returns a sample
$$z_s \sim p(z_s \mid x_{1:t}, z_{t+1})$$
for all $z_{t+1} \in [K]$.
The final message is a sample $z_T \sim p(z_T \mid x_{1:T})$, replicated $K$ times so that it is the same shape as the preceding messages.
The output of associative scan thus yields samples of $z_{1:T} \sim p(z_{1:T} \mid x_{1:T})$. The output shape is (T,K), but all columns are identical since they all started with the same final state. Thus, it suffices to take the first column of the output matrix.

This looks really neat @calebweinreb!
One question about the timing results - is that on a cpu or gpu? I remember the behaviour being a bit different for different backends in the context of lgssm inference (for instance results from Adrien).

Hi Scott, thanks for clarifying! I think we landed on a good way of articulating the algorithm over slack. I'll repost here in case others are interested:

Let's assume an HMM with $K$ hidden states and $T$ time-steps.
The initial messages $E_{t,t+1}$ are samples from $p(z_t \mid x_{1:t}, z_{t+1})$ for all possible values of $z_{t+1}$
The initial final message $E_{T}$ is a sample from the last filtering dist, $p(z_T \mid x_{1:T})$, repeated K times so that it's the same shape as the other messages.
In the first iteration, the associative operator gives you samples from $p(z_t \mid x_{1:t+1}, z_{t+2})$ for all values of  $z_{t+2}$ . It does so by sampling $z_{t+1} \sim p(z_{t+1} \mid x_{1:t+1}, z_{t+2})$ then sampling $z_t$ conditioned on $z_{t+1}$.
This step is repeated recursively in the associative scan. At any intermediate point, the message $E_{i,j}$ stores samples  $z_i \sim p(z_i \mid x_{t:j-1}, z_j)$ for each possible value of $z_j$.
The final output is an array of shape (T,K) where the columns (which are all the same because they share the same final state) each contain the final sampled sequence $z_{1:T}$.

This looks really neat @calebweinreb!
One question about the timing results - is that on a cpu or gpu? I remember the behaviour being a bit different for different backends in the context of lgssm inference (for instance results from Adrien).

I ran the test on a GPU. I assume on a CPU, parallel would always do worse?


[Question] Smoothquant data dump?

Description
Hi! I'm recently work on smoothquant test with tllm.
The model output is not reasonable to read(a few words with repeated symbol), so I need to export some intermediate values in tllm to check where the issue is.
But I find that attention.qkv data can be contaminated by subsequent rope embedding process, when using "self.register_network_output()" to register qkv output. As shown below, the data I got from these two places are the same.

This is confusing. I tried to open environment variables “CUDA_LAUNCH_BLOCKING=1”, but still not working.
Test info
Model:
chatglm2_6b
Software:
tensorrt                 9.2.0.post12.dev5
tensorrt-bindings        9.2.0.post12.dev5
tensorrt-libs            9.2.0.post12.dev5
tensorrt-llm             0.9.0.dev2024030500
Hardware:
A100
Cuda & Others:
NVIDIA-SMI 525.89.02    Driver Version: 525.89.02    CUDA Version: 12.1
Test commands:
python3 convert_checkpoint.py --model_dir /hf_model_path/chatglm2-6b/ \
        --smoothquant 0.5 \
        --output_dir ./tmp/Chatglm2/6B/1tp/sq0.5

trtllm-build --checkpoint_dir ./tmp/Chatglm2/6B/1tp/sq0.5 \
        --gemm_plugin float16 \
        --output_dir ./tmp/Chatglm2/6B/1tp/sq0.5/trt_engines/1-gpu \
--enable_debug_output

python3 ../run.py --input_text "What's new in ChatGLM2-6B?" \
        --max_output_len 50 \
        --tokenizer_dir /hf_model_path/chatglm2-6b/ \
        --engine_dir ./tmp/Chatglm2/6B/1tp/sq0.5/trt_engines/1-gpu \
--debug_mode

qkv is not changed between the codes you mark. So, it is expected to get same qkv result. alibi is applied on qkv in gpt_attention.

qkv is not changed between the codes you mark. So, it is expected to get same qkv result. alibi is applied on qkv in gpt_attention.

I have a similar question. However, according to https://github.com/NVIDIA/TensorRT-LLM/blob/118b3d7e7bab720d8ea9cd95338da60f7512c93a/cpp/tensorrt_llm/kernels/unfusedAttentionKernels.h#L109-L119, qkv will be in-place changed when applying RoPE in the context phase. So I wonder how to get the value of qkv before gpt_attention using 'register_network_output()'?

By default, it will use fused context fmha instead of unfused case. And the results of applying alibi are only intermediate results of fused mha and not saved to global memory.


[Bug] Overgeared chapter 58 broken

Device information

Tachiyomi version: App version: 0.10.7 (standard, c87ba62, 53)
Android phone & version:
Android version: 8.0.0 (SDK 26)
Android build ID: LDN-L21 <IP_ADDRESS>(C432)
Device brand: HUAWEI
Device manufacturer: HUAWEI
Device name: HWLDN-Q
Device model: LDN-L21
Device product name: LDN-L21

Steps to reproduce

First step go to manga Overgeared click on chapter 58
Second step get to see some pages of the chapter broken

Expected behavior
This should happen.  not have broken pages
Actual behavior
This happened instead. click on chapter 58 get to see ( the image could not be decoded )
Other details
Additional details and attachments.

can you try clearing the chapter cache in advanced settings then trying again.

can you try clearing the chapter cache in advanced settings then trying again.

i would love to go in advanced settings if my phone did not freeze up the second i click on advanced settings and seconds later have Neko crash

i would love to go in advanced settings if my phone did not freeze up the second i click on advanced settings and seconds later have Neko crash

Nothing I can really do if you can't even access the menu in the app

Nothing I can really do if you can't even access the menu in the app


Add None as a new type of variable

Calling functions and getting properties from None will return None. Right now 0 is used in places where None should be:

getting an invalid property from instance,
void function return,
something else (check thoroughly when implementing)

This is a breaking change

Returning 0 instead of None is better, since getting an nonexistent property throws an exception (unless ?. operator is used)


feat: boards and search

Changes-

Installed packages for backend
made call to database to populate boards on main page
search feature
added random image from lorem picsum

Create a .gitignore for the server as well.


How to test code

Hi thanks for sharing your great work.
How do I run the code on my input images? where do I put my images for testing?
python3 test.py
returns the following error:
TypeError: 'NoneType' object is not subscriptable

Sorry, this code doesn't support your own input images. If you want to test your own images, please format them according to the data folder(image folder + text.txt) and change the input path of src/test.py to your dataset.

Thanks, can you show an example of how to do this?
text.txt shows various numbers while data folder is empty.

create a new folder named 'MY' in the ' data' folder
put your image in the data/MY/image folder
put your label in the data/MY/mask folder
write the image name without suffix into the data/MY/test.txt
change the input path of src/test.py

This code is built to show the results of datasets in the paper. If you have other needs, you may need to read the code and change it according to your requirements.


7.10.0 Push Notifications

implement push notifications support via Firebase SDK
implement a separate extension to enrich the push notification before display
implement UI for choosing wallets and events to track

Release severity: Major
Release version: 7.10.0
Release notes:
Meet Push notifications in our brand new Nova Wallet v7.10.0 update! 🎁
• Enable/Disable Push Notification in Settings
• Added Push notifications support for balance updates, staking rewards, governance, and announcements
• Select up to 3 wallets for receiving notifications
• Customize which notifications you would like to receive
• Tap on Push notification to be navigated at related screen in Nova


Remove output only fields

@tswast @waprin  BigQuery failing for some reason here?

com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 Service Unavailable Sounds to me like a flake. I'll hit retry on Travis.
I'm actually refactoring the BigQuery tests right now. I'll see if I need to add any retry logic while I'm at it.


/var/app/node_modules/sharp/lib/sharp.js:30 throw new Error(help.join('\n'));

I have sharp issue same as others had posted already
Yarn version: 1.22.17
Node version: v14.17.6
Os: Mac Os
I've tried yarn add sharp, npm install sharp, npm install --verbose sharp, remove cache etc..
Is there any other information i should provide?
The log:
yarn run v1.22.15 $ nodemon ./bin/www [nodemon] 2.0.15 [nodemon] to restart at any time, enter rs[nodemon] watching path(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] startingnode ./bin/www`
sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators node_modules/sequelize/lib/sequelize.js:245:13
/var/app/node_modules/sharp/lib/sharp.js:30
throw new Error(help.join('\n'));
^
Error:
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp-linux-x64.node'
Require stack:

/var/app/node_modules/sharp/lib/sharp.js
/var/app/node_modules/sharp/lib/constructor.js
/var/app/node_modules/sharp/lib/index.js
/var/app/utils/file-helper.js
/var/app/controllers/profile.controller.js
/var/app/controllers/users.controller.js
/var/app/validators/user.js
/var/app/validators/index.js
/var/app/bundles/web-kyc/routes/router.js
/var/app/app.js
/var/app/bin/www

Possible solutions:

Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp"
Install for the current runtime: "npm install --platform=linux --arch=x64 sharp"
Consult the installation documentation: https://sharp.pixelplumbing.com/install
at Object. (/var/app/node_modules/sharp/lib/sharp.js:30:9)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (/var/app/node_modules/sharp/lib/constructor.js:8:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (/var/app/node_modules/sharp/lib/index.js:3:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (/var/app/utils/file-helper.js:4:15)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
[nodemon] app crashed - waiting for file changes before starting...
ERROR: 1`

Did you see the documentation relating to installation?
Have you ensured the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime?
Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag?
If you are using npm v7 or later, does the user running npm install own the directory it is run in?
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages?
What is the output of running npx envinfo --binaries --system?

Have you ensured the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime?
Not sure how to check, but i use docker containers
Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest?
It was working without any issues, and then when i pulled latest code it did happen, i tried to install sharp@latest
so, unfortunately i don't know exactly about the two versions that you have mentioned

If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag? using 6. version
no but is it safe to installing with that command
If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag?
yes, same log
What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages?
here is a snippet:
https://gist.github.com/mohammedfellak/fd978616595b44ba78564002ebddd4eb
What is the output of running npx envinfo --binaries --system?
npx: installed 1 in 1.347s

  System:
    OS: macOS 11.6
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 124.85 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.6 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 6.14.15 - /usr/local/bin/npm

Did you see https://sharp.pixelplumbing.com/install#cross-platform ?
You'll either need to run npm install inside the container, or cross-install for the runtime environment.
npm install --platform=linux sharp

I found that doc little bit complicated to understand, especially the first part
when you say inside the container do you mean using docker-compose command?
also, i ran that command and still on same log
all my other friends doesn't have any issue, except me

It looks like you're copying a node_modules directory that has been created by running npm install on macOS into a Linux container and expecting it to work, which won't be the case.
Your choice is either to not copy the node_modules directory and instead create it by running npm install within the container, or, if you want to copy the node_modules directory between platforms, ensuring it is populated for the runtime platform using the command I provided. In either case you'll need to start over, removing any existing node_modules directory.

Sure, i will remove node_modules and run npm install and see
also do you think it matters whether using npm i or yarn add?

It did work this time, Thanks for your great follow up


Update engine_cart to ~> 1.0.1 (fixes #8556, #8557)

Supersedes #268.

 Just walking through the instructions for doing a clean rebuild.
bundle update
rake engine_cart:clean
rake engine_cart:generate

but when I run
rake db:migrate throws an error
../krikri/app/models/krikri/user.rb:6:in `<module:Krikri>': uninitialized constant User (NameError) 	from ../krikri/app/models/krikri/user.rb:2:in `<top (required)>'
This error doesn't seem connected to your PR so I probably have some local issues that need to be addressed and someone else might be a in better position to review this PR in the very short term.

@moltude Do you still have a spec/internal directory?

@anarchivist I do

@moltude The more recent versions of  engine_cart change the generated app to be built in .internal_test_app. Can you try changing the directory and running bundle exec rake db:migrate?

I got this to work against a fresh clone. Tentatively 👍  Anyone else want to review before merging ?

Looks fine to me. The lines that were copied from Engine Cart are quite wide, and we have tried elsewhere try to stick with and 80-character limit.  I'm not sure how common this is in Ruby apps, but there's a lot of logic now in the Gemfile, and it would be nice if a file specifying dependencies could be more data-driven. I know there may be nothing to be done about this here, and that it's Ruby code and is supposed to be evaluated as such; just observing.

@anarchivist We should also update the documentation that refers to spec/internal

@anarchivist I think the CI tests aren't running because the last commit says [ci skip]


HHH-14230 Fix generics to avoid ClassCastException

https://hibernate.atlassian.net/browse/HHH-14230

Hi @quaff thanks for the PR, can you please also provide a test for the issue?

Hi @quaff thanks for the PR, can you please also provide a test for the issue?

Coming soon.

Coming soon.

Thanks

I've approved this PR. I just have one open question here: is it preferable to name testing class by ticket number or descriptive  natural language? I saw coexistence of both in our codebase. Personally I always opt for the latter, though sometimes I found I am facing trouble to come up with terse name restrictive to the ticket's scope.

I've approved this PR. I just have one open question here: is it preferable to name testing class by ticket number or descriptive natural language? I saw coexistence of both in our codebase. Personally I always opt for the latter, though sometimes I found I am facing trouble to come up with terse name restrictive to the ticket's scope.

Naming is difficult, especially for those people don't speak english, you should understand.

I've approved this PR. I just have one open question here: is it preferable to name testing class by ticket number or descriptive natural language? I saw coexistence of both in our codebase. Personally I always opt for the latter, though sometimes I found I am facing trouble to come up with terse name restrictive to the ticket's scope.

Naming is difficult, especially for those people don't speak english, you should understand.

One of the benefits of natural language test class name is for searching by keyword. It is invaluable if someone wanna search to see whether some similar bugs have been fixed.

Thanks! merged

@quaff , I have started an ambitious PR to improve the generics usage in our codebase in v6: https://github.com/hibernate/hibernate-orm/pull/3587. It might take a couple of weeks or even months to have it done.


Plugin init command fails from time to time

What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
clusterctl-operator init -i "" --core cluster-api:capi-system:v1.6.2 -b "" -c ""
Checking that Cert Manager is installed and running.
Installing cert-manager Version="v1.13.2"
Waiting for cert-manager to be available...
Checking that CAPI Operator is installed and running.
Installing CAPI operator Version="latest"
Detected latest operator version Version="v0.9.0"
Waiting for CAPI Operator to be available...
CAPI Operator is successfully installed.
Installing provider Type="core" Name="cluster-api" Version="v1.6.2" Namespace="capi-system"
Error: cannot create core provider: cannot create provider: Internal error occurred: failed calling webhook "vcoreprovider.kb.io": failed to call webhook: Post "https://capi-operator-webhook-service.capi-operator-system.svc:443/mutate-operator-cluster-x-k8s-io-v1alpha2-coreprovider?timeout=10s": dial tcp <IP_ADDRESS>:443: connect: connection refused

What did you expect to happen:
Plugin should successfully initialize providers
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Cluster-api-operator version: v0.9.0
Cluster-api version:
Minikube/KIND version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

/kind bug
/area plugin

/triage accepted


Checkpoint files

Hi,
The links to the checkpoint files for both models point to the same file, wondering if that is intended.
Thanks,

Hi, the checkpoint is indeed the same file. It includes the weight of both diffusion module and confience module. When using different configuration file, the checkpoint will be loaded in different ways - one for vanila DiffPack, and one for DiffPack with confidence selection.